Skip to content
Source
Sign inSign up
TanStack/ai

feat(ai-harness-cli): run a harness from the terminal, with optional ACP, MCP, and dashboard modes #1768

MergedAlemTuzlakmerged 41 commits intofeat/harness-core fromrefs/pull/1768/headmerged by jherr View on GitHub

AlemTuzlakcommented

With this PR, runCli(harness) from the new @tanstack/ai-harness-cli package runs a harness from the terminal. You get line mode (or your own screen), -p for scripts and CI, NDJSON output, and an HTTP server. The ACP, MCP, and dashboard modes load their packages only when you use the flag.

This PR targets feat/harness-view (#1761), which stacks on feat/harness-transport (#1757) and the core harness PR #1755 (feat/harness-core). It is split out of #1555. The example PR stacks on this branch.

🎯 Changes

New package packages/ai-harness-cli, ported from #1555:

  • runCli(harness, options): line mode, a ui screen on a session view, -p / --output ndjson, --serve, --acp, --mcp, and --dashboard.
  • Line mode: / commands, approvals, questions, secret answers hidden while you type, @path files, and a media folder.
  • --serve: the session protocol over HTTP behind a bearer token. With @tanstack/ai-mcp and its harness support, also MCP at /mcp.
  • README with the TanStack AI banner, tsconfig.json, vite.config.ts, and a minimal lockfile importer (no other lockfile change).

Optional packages stay optional (src/optional.ts):

  1. loadOptional(specifier, ...functionNames) imports with a variable specifier. So the build, tsc, and knip never need @tanstack/ai-acp, @tanstack/ai-mcp, or @tanstack/ai-dashboard.
  2. A missing package, or an installed one without harness support (no ./agent, ./harness, or ./connect export), gives undefined. The flag then fails with --acp needs @tanstack/ai-acp with harness support. --serve serves no /mcp.
  3. Small local interfaces type the few functions the CLI calls. A type guard checks that each one is a function.
  4. @tanstack/ai-acp and @tanstack/ai-mcp are optional peers. @tanstack/ai-dashboard is not a peer yet, because this branch does not have the package. The dashboard PR (#1766) can add it.

Changes from #1555 (from the code review):

  1. The @tanstack/ai-harness build wrote export ... from './session.js', but session is now a folder, so HarnessSession was any for every consumer of the built types, and this package failed build. The fix (./session/index imports) is now in the core PR too, and this stack has it through plain merges.
  2. --serve refuses a request body without the token before it reads the body. Signed media URLs are GET requests, so they still work.
  3. --serve streams a response with pipeline, so a client that leaves does not crash the server.
  4. @tanstack/ai-persistence is a dev dependency only. No source file imports it.

Not changed (decisions):

  • The tests do not use providerKeys(), because the plugins are in another PR. The secret-answer and principal cases use a small inline connect:acme plugin that asks a secret question.
  • The /mcp serve case and dashboard.test.ts need the MCP and dashboard harness PRs, so they are not here.
  • These review findings are as in #1555: /mcp does not get the --serve principal (the MCP harness API has no such option), --mcp waits for the end of process.stdin, not options.stdin, and loadOptional treats an import that throws as a missing package.
  • No E2E spec. This is a terminal program, and the E2E app is a web app. The unit tests run runCli with piped stdin, a real host, and a real --serve server.

Docs. New page docs/harness/cli.md ("Run in the terminal", addedAt 2026-10-13) and a docs/config.json entry. connect.md ends with a link to it again. Readers: agent builders who want a terminal app or a CI step. Tone: matches the existing pages. The page says that --acp and --mcp need their package with harness support. It has no providerKeys or MCP-server links, because those pages come with other PRs.

Update: merged transport with #1779. feat/harness-transport now has the squash-merged session view (#1761), MCP (#1763), and the one-object params from core (#1779).

  • The merge took the transport copy of the view files, view tests, and view changeset. The CLI had an older copy of them. It kept the CLI lines in custom-ui.md (the Ink screen) and connect.md (the link to the CLI page).
  • The CLI session source passes answer and setConfig through as one object. /answer, /config, and the tests use the new session and credential shapes.
  • The Ink screen in examples/harness-cli now asks each item of state.interrupts (for example a tool that waits for an answer of its own shape). Before, the view put those into approvals. Now they have their own list, and the screen showed nothing for them.
  • Line mode no longer prints old tool lines or saves old media again when a reopened thread loads the saved parts of a finished child. The view now loads those parts after ready.
  • docs/config.json listed "Build your own UI" twice after the merge. It is listed once now.

Changeset. @tanstack/ai-harness-cli minor (new package).

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested code changes locally with pnpm run test:pr, or these tests do not apply to this pull request.
  • I fully understand the code in this pull request, including any code generated with AI assistance.
  • Docs: I updated docs/ for this change, or this change is not user-facing.
  • Changeset: I added a changeset (pnpm changeset), or this PR does not change a published package.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

Testing

Commands run.

After the merge (Node 24.8.0):

  • nx run-many -t test:types test:oxlint test:lib -p @tanstack/ai-harness @tanstack/ai-harness-cli harness-cli-example: pass. CLI 7 files, 52 tests. Harness 996 tests.
  • nx run-many -t test:types -p "examples/**" "testing/**": pass (28 projects).
  • pnpm test:docs, kiira check docs/harness (48 snippets), pnpm test:knip, pnpm test:sherif: pass.
  • Two code review passes. The second found no issues.
  • Not run locally: E2E and the full pnpm test:pr.

Known and not changed here: line mode prints a question without its url, and the Ink screen does not run client tools. Both were like this before the merge.

Manual test.

  1. Write cli.ts with process.exitCode = await runCli(defineHarness({ name: 'demo', adapter: openaiText('gpt-6.1-sol') })).
  2. Run node cli.ts -p "Say hi". It prints the answer and exits 0.
  3. Run node cli.ts --acp without @tanstack/ai-acp/agent. It prints --acp needs @tanstack/ai-acp with harness support. and exits 1.

How this PR makes testing easy. 7 unit test files in packages/ai-harness-cli/tests. optional.test.ts is new: a missing package, a module without the function, and a --dashboard run without the package. printer.test.ts has a case for the saved parts of a finished child on a reopened thread.

Risk / rollback

A new, unreleased package. The only change outside it is a link in connect.md and a docs nav entry. Revert the PR to remove it.

    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Auto reviews are disabled on base/target branches other than the default branch.

      Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration
      • Configuration used: Repository: TanStack/ai/.coderabbit.yaml
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: 90733648-f8cd-4d76-aae9-596c6fc1dcdd

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands.
    2. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit c288d6976a0ae474440ea4718e7655209f026b76

      CommandStatusDurationResult
      nx affected --targets=test:sherif,test:knip,tes...✅ Succeeded11m 49sView ↗
      nx run-many --targets=test:coverage --projects=...✅ Succeeded5sView ↗
      nx run-many --targets=test:coverage --projects=...✅ Succeeded4m 44sView ↗
      nx run-many --targets=build --exclude=examples/...✅ Succeeded2m 40sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-10-15 17:47:45 UTC

    3. pkg-pr-new[bot](GitHub profile, opens in a new tab)commented

      Open in StackBlitz

      @tanstack/ai

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai@1768

      @tanstack/ai-acp

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-acp@1768

      @tanstack/ai-angular

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-angular@1768

      @tanstack/ai-anthropic

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-anthropic@1768

      @tanstack/ai-bedrock

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-bedrock@1768

      @tanstack/ai-byteplus

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-byteplus@1768

      @tanstack/ai-claude-code

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-claude-code@1768

      @tanstack/ai-client

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-client@1768

      @tanstack/ai-cloudflare

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-cloudflare@1768

      @tanstack/ai-code-mode

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-code-mode@1768

      @tanstack/ai-code-mode-snippets

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-code-mode-snippets@1768

      @tanstack/ai-codex

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-codex@1768

      @tanstack/ai-cohere

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-cohere@1768

      @tanstack/ai-compaction

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-compaction@1768

      @tanstack/ai-devtools-core

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-devtools-core@1768

      @tanstack/ai-durable-stream

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-durable-stream@1768

      @tanstack/ai-elevenlabs

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-elevenlabs@1768

      @tanstack/ai-event-client

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-event-client@1768

      @tanstack/ai-fal

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-fal@1768

      @tanstack/ai-gemini

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-gemini@1768

      @tanstack/ai-grok

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-grok@1768

      @tanstack/ai-grok-build

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-grok-build@1768

      @tanstack/ai-groq

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-groq@1768

      @tanstack/ai-harness

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-harness@1768

      @tanstack/ai-harness-cli

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-harness-cli@1768

      @tanstack/ai-isolate-cloudflare

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-isolate-cloudflare@1768

      @tanstack/ai-isolate-daytona

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-isolate-daytona@1768

      @tanstack/ai-isolate-e2b

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-isolate-e2b@1768

      @tanstack/ai-isolate-node

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-isolate-node@1768

      @tanstack/ai-isolate-quickjs

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-isolate-quickjs@1768

      @tanstack/ai-isolate-quickjs-bun

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-isolate-quickjs-bun@1768

      @tanstack/ai-llmgateway

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-llmgateway@1768

      @tanstack/ai-lovable

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-lovable@1768

      @tanstack/ai-mcp

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-mcp@1768

      @tanstack/ai-memory

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-memory@1768

      @tanstack/ai-mistral

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-mistral@1768

      @tanstack/ai-octane

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-octane@1768

      @tanstack/ai-ollama

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-ollama@1768

      @tanstack/ai-ollaya

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-ollaya@1768

      @tanstack/ai-openai

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-openai@1768

      @tanstack/ai-opencode

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-opencode@1768

      @tanstack/ai-openrouter

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-openrouter@1768

      @tanstack/ai-perplexity

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-perplexity@1768

      @tanstack/ai-persistence

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-persistence@1768

      @tanstack/ai-preact

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-preact@1768

      @tanstack/ai-react

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-react@1768

      @tanstack/ai-react-ui

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-react-ui@1768

      @tanstack/ai-reactor

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-reactor@1768

      @tanstack/ai-remix

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-remix@1768

      @tanstack/ai-sandbox

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox@1768

      @tanstack/ai-sandbox-blaxel

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-blaxel@1768

      @tanstack/ai-sandbox-boxd

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-boxd@1768

      @tanstack/ai-sandbox-cloudflare

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-cloudflare@1768

      @tanstack/ai-sandbox-daytona

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-daytona@1768

      @tanstack/ai-sandbox-docker

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-docker@1768

      @tanstack/ai-sandbox-e2b

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-e2b@1768

      @tanstack/ai-sandbox-local-process

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-local-process@1768

      @tanstack/ai-sandbox-railway

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-railway@1768

      @tanstack/ai-sandbox-sprites

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-sprites@1768

      @tanstack/ai-sandbox-upstash-box

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-upstash-box@1768

      @tanstack/ai-sandbox-vercel

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-vercel@1768

      @tanstack/ai-skills

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-skills@1768

      @tanstack/ai-solid

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-solid@1768

      @tanstack/ai-solid-ui

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-solid-ui@1768

      @tanstack/ai-svelte

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-svelte@1768

      @tanstack/ai-typesafe

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-typesafe@1768

      @tanstack/ai-utils

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-utils@1768

      @tanstack/ai-vercel-gateway

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-vercel-gateway@1768

      @tanstack/ai-vertex

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-vertex@1768

      @tanstack/ai-vue

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-vue@1768

      @tanstack/ai-vue-ui

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-vue-ui@1768

      @tanstack/ai-worldlabs

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-worldlabs@1768

      @tanstack/openai-base

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/openai-base@1768

      @tanstack/preact-ai-devtools

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/preact-ai-devtools@1768

      @tanstack/react-ai-devtools

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/react-ai-devtools@1768

      @tanstack/solid-ai-devtools

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/solid-ai-devtools@1768

      @tanstack/svelte-ai-devtools

      npm i https://pkg.pr.new/TanStack/ai/@tanstack/svelte-ai-devtools@1768

      commit: c288d69

    4. github-actions[bot](GitHub profile, opens in a new tab)commented

      Coverage

      ✅ Coverage held across 69 compared package(s).

      Each package is measured twice in this job — on this PR and on its merge-base with main — and compared. A metric fails only when it is at or above 60% on the merge-base and under 60% on this PR. Other drops are listed but do not fail. Packages your PR doesn't affect are not measured and not listed.

      packagestatementsbranchesfunctionslines
      ai91.66% (0.00)85.47% (0.00)92.42% (0.00)93.28% (0.00)ok
      ai-acp82.32% (0.00)71.27% (0.00)77.08% (0.00)83.97% (0.00)ok
      ai-angular74.10% (0.00)62.20% (0.00)61.65% (0.00)75.60% (0.00)ok
      ai-anthropic92.00% (0.00)86.73% (0.00)95.57% (0.00)92.41% (0.00)ok
      ai-bedrock90.11% (0.00)82.82% (0.00)94.20% (0.00)91.33% (0.00)ok
      ai-byteplus97.06% (0.00)91.66% (0.00)98.27% (0.00)98.49% (0.00)ok
      ai-claude-code88.93% (0.00)76.88% (0.00)86.88% (0.00)90.40% (0.00)ok
      ai-client87.96% (0.00)80.38% (0.00)87.13% (0.00)90.26% (0.00)ok
      ai-cloudflare85.55% (0.00)76.44% (0.00)85.48% (0.00)86.79% (0.00)ok
      ai-code-mode92.71% (0.00)85.66% (0.00)89.06% (0.00)93.51% (0.00)ok
      ai-code-mode-snippets87.13% (0.00)75.67% (0.00)91.11% (0.00)88.39% (0.00)ok
      ai-codex94.55% (0.00)85.10% (0.00)89.28% (0.00)95.56% (0.00)ok
      ai-cohere88.97% (0.00)88.37% (0.00)85.71% (0.00)91.80% (0.00)ok
      ai-compaction97.38% (0.00)92.79% (0.00)100.00% (0.00)98.88% (0.00)ok
      ai-devtools83.13% (0.00)72.77% (0.00)87.07% (0.00)85.22% (0.00)ok
      ai-durable-stream86.70% (0.00)82.25% (0.00)92.30% (0.00)88.72% (0.00)ok
      ai-elevenlabs74.68% (0.00)69.59% (0.00)59.13% (0.00)75.46% (0.00)ok
      ai-event-client56.83% (0.00)46.87% (0.00)68.96% (0.00)57.89% (0.00)ok
      ai-fal91.10% (0.00)82.63% (0.00)92.40% (0.00)91.60% (0.00)ok
      ai-gemini68.33% (0.00)67.88% (0.00)64.62% (0.00)68.93% (0.00)ok
      ai-grok48.85% (0.00)53.49% (0.00)56.46% (0.00)49.67% (0.00)ok
      ai-grok-build79.19% (0.00)63.56% (0.00)77.39% (0.00)81.02% (0.00)ok
      ai-groq52.54% (0.00)47.73% (0.00)67.39% (0.00)54.66% (0.00)ok
      ai-harness93.17% (0.00)87.65% (0.00)93.38% (0.00)94.72% (0.00)ok
      ai-harness-cli84.10%80.27%80.34%84.63%new
      ai-isolate-cloudflare94.11% (0.00)70.66% (0.00)100.00% (0.00)93.96% (0.00)ok
      ai-isolate-daytona90.25% (0.00)80.59% (0.00)100.00% (0.00)90.15% (0.00)ok
      ai-isolate-e2b92.11% (0.00)82.22% (0.00)97.36% (0.00)95.05% (0.00)ok
      ai-isolate-node84.00% (0.00)43.39% (0.00)100.00% (0.00)83.78% (0.00)ok
      ai-isolate-quickjs89.07% (0.00)76.41% (0.00)90.90% (0.00)90.30% (0.00)ok
      ai-isolate-quickjs-bun7.76% (0.00)8.08% (0.00)5.00% (0.00)8.33% (0.00)ok
      ai-llmgateway97.67% (0.00)100.00% (0.00)88.88% (0.00)97.67% (0.00)ok
      ai-lovable73.21% (0.00)55.63% (0.00)85.07% (0.00)73.96% (0.00)ok
      ai-mcp96.71% (0.00)91.77% (0.00)96.86% (0.00)98.66% (0.00)ok
      ai-memory73.87% (0.00)52.70% (0.00)79.74% (0.00)76.04% (0.00)ok
      ai-mistral84.82% (0.00)79.88% (0.00)92.59% (0.00)85.46% (0.00)ok
      ai-octane90.67% (0.00)67.74% (0.00)86.66% (0.00)90.79% (0.00)ok
      ai-ollama92.73% (0.00)78.15% (0.00)90.62% (0.00)92.68% (0.00)ok
      ai-ollaya86.84% (0.00)89.28% (0.00)85.71% (0.00)91.66% (0.00)ok
      ai-openai65.34% (0.00)65.72% (0.00)66.66% (0.00)65.63% (0.00)ok
      ai-opencode69.04% (0.00)60.82% (0.00)65.26% (0.00)70.87% (0.00)ok
      ai-openrouter87.88% (0.00)73.00% (0.00)90.78% (0.00)89.79% (0.00)ok
      ai-perplexity91.34% (0.00)90.43% (0.00)100.00% (0.00)93.87% (0.00)ok
      ai-persistence91.94% (0.00)81.08% (0.00)98.01% (0.00)95.72% (0.00)ok
      ai-preact85.62% (0.00)70.81% (0.00)85.96% (0.00)87.02% (0.00)ok
      ai-react72.95% (0.00)51.89% (0.00)73.77% (0.00)73.07% (0.00)ok
      ai-reactor94.91% (0.00)83.33% (0.00)93.33% (0.00)96.55% (0.00)ok
      ai-remix36.70% (0.00)22.69% (0.00)34.18% (0.00)39.04% (0.00)ok
      ai-sandbox77.53% (0.00)82.84% (0.00)74.58% (0.00)78.03% (0.00)ok
      ai-sandbox-blaxel87.64% (0.00)77.18% (0.00)82.26% (0.00)89.71% (0.00)ok
      ai-sandbox-boxd95.86% (0.00)87.12% (0.00)95.31% (0.00)98.17% (0.00)ok
      ai-sandbox-cloudflare67.91% (0.00)57.47% (0.00)71.79% (0.00)69.62% (0.00)ok
      ai-sandbox-daytona82.70% (0.00)81.89% (0.00)67.14% (0.00)85.18% (0.00)ok
      ai-sandbox-docker80.15% (0.00)71.49% (0.00)77.38% (0.00)82.13% (0.00)ok
      ai-sandbox-e2b94.42% (0.00)88.97% (0.00)93.24% (0.00)98.63% (0.00)ok
      ai-sandbox-local-process68.00% (0.00)53.59% (0.00)75.86% (0.00)68.88% (0.00)ok
      ai-sandbox-railway94.75% (0.00)92.68% (0.00)90.90% (0.00)97.59% (0.00)ok
      ai-sandbox-sprites73.23% (0.00)59.70% (0.00)73.83% (0.00)76.17% (0.00)ok
      ai-sandbox-upstash-box94.82% (0.00)91.52% (0.00)91.04% (0.00)97.76% (0.00)ok
      ai-sandbox-vercel44.67% (0.00)38.18% (0.00)35.18% (0.00)45.76% (0.00)ok
      ai-skills83.39% (0.00)68.53% (0.00)87.36% (0.00)85.48% (0.00)ok
      ai-solid52.13% (0.00)38.29% (0.00)49.82% (0.00)56.87% (0.00)ok
      ai-svelte73.76% (0.00)54.59% (0.00)69.15% (0.00)78.33% (0.00)ok
      ai-typesafe78.04% (0.00)84.61% (0.00)66.66% (0.00)82.05% (0.00)ok
      ai-utils75.34% (0.00)74.00% (0.00)85.71% (0.00)75.38% (0.00)ok
      ai-vercel-gateway75.97% (0.00)55.63% (0.00)85.41% (0.00)79.38% (0.00)ok
      ai-vertex96.77% (0.00)97.22% (0.00)100.00% (0.00)96.77% (0.00)ok
      ai-vue60.07% (0.00)34.10% (0.00)59.34% (0.00)61.04% (0.00)ok
      ai-worldlabs79.62% (0.00)71.50% (0.00)91.42% (0.00)82.66% (0.00)ok
      openai-base90.31% (0.00)78.28% (0.00)97.66% (0.00)92.36% (0.00)ok

      No coverage on the base commit, so nothing to compare against: ai-harness-cli.

    5. changeset-bot[bot](GitHub profile, opens in a new tab)commented

      🦋 Changeset detected

      Latest commit: c288d6976a0ae474440ea4718e7655209f026b76

      The changes in this PR will be included in the next version bump.

      This PR includes changesets to release 1 package
      NameType
      @tanstack/ai-harness-cliMinor

      Not sure what this means? Click here to learn what changesets are.

      Click here if you're a maintainer who wants to add another changeset to this PR

    6. github-actions[bot](GitHub profile, opens in a new tab) added labelswaiting-on: maintainer

    7. socket-security[bot](GitHub profile, opens in a new tab)commented

      Review the following changes in direct dependencies. Learn more about Socket for GitHub.

      Diff Package Supply Chain
      Security
      Vulnerability Quality Maintenance License
      Addednpm/​ink@​7.1.19810010093100

      View full report

    8. github-actions[bot](GitHub profile, opens in a new tab) added labelsmerge-conflicts

    9. github-actions[bot](GitHub profile, opens in a new tab) added labelswaiting-on: author

    10. github-actions[bot](GitHub profile, opens in a new tab) removed labelswaiting-on: maintainer

    11. github-actions[bot](GitHub profile, opens in a new tab) added labelswaiting-on: maintainer

    12. github-actions[bot](GitHub profile, opens in a new tab) removed labelswaiting-on: author

    13. github-actions[bot](GitHub profile, opens in a new tab) removed labelsmerge-conflicts

    14. Added a short "Serve over HTTP safely" section to docs/harness/cli.md (fba476c01).

      During review it came up that --serve makes an implicit trust decision that wasn't documented: one bearer token, one principal ({ id: 'cli' }), and canAccess: () => true, so any token holder can open or drive any thread, including the host-side tools (shell, file edits). The new section spells that boundary out, notes what --host 0.0.0.0 exposes, and points readers who need per-user auth or thread rules to createHarnessHandler.

      Docs-only, test:docs is green. Left the PR description and docs/config.json dates as-is since the page is new in this PR and hasn't shipped.

    15. jherr approved these changes

      LGTM

    16. jherr merged thiscf2d558

    17. jherr closed this

Sign in to join this conversation.