feat(ai-harness-cli): run a harness from the terminal, with optional ACP, MCP, and dashboard modes #1768
feat/harness-core fromrefs/pull/1768/head·merged by jherr View on GitHubWith 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, auiscreen on a session view,-p/--output ndjson,--serve,--acp,--mcp, and--dashboard.- Line mode:
/commands, approvals, questions, secret answers hidden while you type,@pathfiles, and a media folder. --serve: the session protocol over HTTP behind a bearer token. With@tanstack/ai-mcpand 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):
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.- A missing package, or an installed one without harness support (no
./agent,./harness, or./connectexport), givesundefined. The flag then fails with--acp needs @tanstack/ai-acp with harness support.--serveserves no/mcp. - Small local interfaces type the few functions the CLI calls. A type guard checks that each one is a function.
@tanstack/ai-acpand@tanstack/ai-mcpare optional peers.@tanstack/ai-dashboardis 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):
- The
@tanstack/ai-harnessbuild wroteexport ... from './session.js', butsessionis now a folder, soHarnessSessionwasanyfor every consumer of the built types, and this package failedbuild. The fix (./session/indeximports) is now in the core PR too, and this stack has it through plain merges. --serverefuses a request body without the token before it reads the body. Signed media URLs are GET requests, so they still work.--servestreams a response withpipeline, so a client that leaves does not crash the server.@tanstack/ai-persistenceis 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 inlineconnect:acmeplugin that asks a secret question. - The
/mcpserve case anddashboard.test.tsneed the MCP and dashboard harness PRs, so they are not here. - These review findings are as in #1555:
/mcpdoes not get the--serveprincipal (the MCP harness API has no such option),--mcpwaits for the end ofprocess.stdin, notoptions.stdin, andloadOptionaltreats 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
runCliwith piped stdin, a real host, and a real--serveserver.
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) andconnect.md(the link to the CLI page). - The CLI session source passes
answerandsetConfigthrough as one object./answer,/config, and the tests use the new session and credential shapes. - The Ink screen in
examples/harness-clinow asks each item ofstate.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.jsonlisted "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.
- Write
cli.tswithprocess.exitCode = await runCli(defineHarness({ name: 'demo', adapter: openaiText('gpt-6.1-sol') })). - Run
node cli.ts -p "Say hi". It prints the answer and exits 0. - Run
node cli.ts --acpwithout@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
View your CI Pipeline Execution ↗ for commit c288d6976a0ae474440ea4718e7655209f026b76
Command Status Duration Result nx affected --targets=test:sherif,test:knip,tes...✅ Succeeded 11m 49s View ↗ nx run-many --targets=test:coverage --projects=...✅ Succeeded 5s View ↗ nx run-many --targets=test:coverage --projects=...✅ Succeeded 4m 44s View ↗ nx run-many --targets=build --exclude=examples/...✅ Succeeded 2m 40s View ↗
☁️ Nx Cloud last updated this comment at
2026-10-15 17:47:45UTC@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@1768commit:
c288d69Coverage#
✅ 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.package statements branches functions lines ai 91.66% (0.00) 85.47% (0.00) 92.42% (0.00) 93.28% (0.00) ok ai-acp 82.32% (0.00) 71.27% (0.00) 77.08% (0.00) 83.97% (0.00) ok ai-angular 74.10% (0.00) 62.20% (0.00) 61.65% (0.00) 75.60% (0.00) ok ai-anthropic 92.00% (0.00) 86.73% (0.00) 95.57% (0.00) 92.41% (0.00) ok ai-bedrock 90.11% (0.00) 82.82% (0.00) 94.20% (0.00) 91.33% (0.00) ok ai-byteplus 97.06% (0.00) 91.66% (0.00) 98.27% (0.00) 98.49% (0.00) ok ai-claude-code 88.93% (0.00) 76.88% (0.00) 86.88% (0.00) 90.40% (0.00) ok ai-client 87.96% (0.00) 80.38% (0.00) 87.13% (0.00) 90.26% (0.00) ok ai-cloudflare 85.55% (0.00) 76.44% (0.00) 85.48% (0.00) 86.79% (0.00) ok ai-code-mode 92.71% (0.00) 85.66% (0.00) 89.06% (0.00) 93.51% (0.00) ok ai-code-mode-snippets 87.13% (0.00) 75.67% (0.00) 91.11% (0.00) 88.39% (0.00) ok ai-codex 94.55% (0.00) 85.10% (0.00) 89.28% (0.00) 95.56% (0.00) ok ai-cohere 88.97% (0.00) 88.37% (0.00) 85.71% (0.00) 91.80% (0.00) ok ai-compaction 97.38% (0.00) 92.79% (0.00) 100.00% (0.00) 98.88% (0.00) ok ai-devtools 83.13% (0.00) 72.77% (0.00) 87.07% (0.00) 85.22% (0.00) ok ai-durable-stream 86.70% (0.00) 82.25% (0.00) 92.30% (0.00) 88.72% (0.00) ok ai-elevenlabs 74.68% (0.00) 69.59% (0.00) 59.13% (0.00) 75.46% (0.00) ok ai-event-client 56.83% (0.00) 46.87% (0.00) 68.96% (0.00) 57.89% (0.00) ok ai-fal 91.10% (0.00) 82.63% (0.00) 92.40% (0.00) 91.60% (0.00) ok ai-gemini 68.33% (0.00) 67.88% (0.00) 64.62% (0.00) 68.93% (0.00) ok ai-grok 48.85% (0.00) 53.49% (0.00) 56.46% (0.00) 49.67% (0.00) ok ai-grok-build 79.19% (0.00) 63.56% (0.00) 77.39% (0.00) 81.02% (0.00) ok ai-groq 52.54% (0.00) 47.73% (0.00) 67.39% (0.00) 54.66% (0.00) ok ai-harness 93.17% (0.00) 87.65% (0.00) 93.38% (0.00) 94.72% (0.00) ok ai-harness-cli 84.10% 80.27% 80.34% 84.63% new ai-isolate-cloudflare 94.11% (0.00) 70.66% (0.00) 100.00% (0.00) 93.96% (0.00) ok ai-isolate-daytona 90.25% (0.00) 80.59% (0.00) 100.00% (0.00) 90.15% (0.00) ok ai-isolate-e2b 92.11% (0.00) 82.22% (0.00) 97.36% (0.00) 95.05% (0.00) ok ai-isolate-node 84.00% (0.00) 43.39% (0.00) 100.00% (0.00) 83.78% (0.00) ok ai-isolate-quickjs 89.07% (0.00) 76.41% (0.00) 90.90% (0.00) 90.30% (0.00) ok ai-isolate-quickjs-bun 7.76% (0.00) 8.08% (0.00) 5.00% (0.00) 8.33% (0.00) ok ai-llmgateway 97.67% (0.00) 100.00% (0.00) 88.88% (0.00) 97.67% (0.00) ok ai-lovable 73.21% (0.00) 55.63% (0.00) 85.07% (0.00) 73.96% (0.00) ok ai-mcp 96.71% (0.00) 91.77% (0.00) 96.86% (0.00) 98.66% (0.00) ok ai-memory 73.87% (0.00) 52.70% (0.00) 79.74% (0.00) 76.04% (0.00) ok ai-mistral 84.82% (0.00) 79.88% (0.00) 92.59% (0.00) 85.46% (0.00) ok ai-octane 90.67% (0.00) 67.74% (0.00) 86.66% (0.00) 90.79% (0.00) ok ai-ollama 92.73% (0.00) 78.15% (0.00) 90.62% (0.00) 92.68% (0.00) ok ai-ollaya 86.84% (0.00) 89.28% (0.00) 85.71% (0.00) 91.66% (0.00) ok ai-openai 65.34% (0.00) 65.72% (0.00) 66.66% (0.00) 65.63% (0.00) ok ai-opencode 69.04% (0.00) 60.82% (0.00) 65.26% (0.00) 70.87% (0.00) ok ai-openrouter 87.88% (0.00) 73.00% (0.00) 90.78% (0.00) 89.79% (0.00) ok ai-perplexity 91.34% (0.00) 90.43% (0.00) 100.00% (0.00) 93.87% (0.00) ok ai-persistence 91.94% (0.00) 81.08% (0.00) 98.01% (0.00) 95.72% (0.00) ok ai-preact 85.62% (0.00) 70.81% (0.00) 85.96% (0.00) 87.02% (0.00) ok ai-react 72.95% (0.00) 51.89% (0.00) 73.77% (0.00) 73.07% (0.00) ok ai-reactor 94.91% (0.00) 83.33% (0.00) 93.33% (0.00) 96.55% (0.00) ok ai-remix 36.70% (0.00) 22.69% (0.00) 34.18% (0.00) 39.04% (0.00) ok ai-sandbox 77.53% (0.00) 82.84% (0.00) 74.58% (0.00) 78.03% (0.00) ok ai-sandbox-blaxel 87.64% (0.00) 77.18% (0.00) 82.26% (0.00) 89.71% (0.00) ok ai-sandbox-boxd 95.86% (0.00) 87.12% (0.00) 95.31% (0.00) 98.17% (0.00) ok ai-sandbox-cloudflare 67.91% (0.00) 57.47% (0.00) 71.79% (0.00) 69.62% (0.00) ok ai-sandbox-daytona 82.70% (0.00) 81.89% (0.00) 67.14% (0.00) 85.18% (0.00) ok ai-sandbox-docker 80.15% (0.00) 71.49% (0.00) 77.38% (0.00) 82.13% (0.00) ok ai-sandbox-e2b 94.42% (0.00) 88.97% (0.00) 93.24% (0.00) 98.63% (0.00) ok ai-sandbox-local-process 68.00% (0.00) 53.59% (0.00) 75.86% (0.00) 68.88% (0.00) ok ai-sandbox-railway 94.75% (0.00) 92.68% (0.00) 90.90% (0.00) 97.59% (0.00) ok ai-sandbox-sprites 73.23% (0.00) 59.70% (0.00) 73.83% (0.00) 76.17% (0.00) ok ai-sandbox-upstash-box 94.82% (0.00) 91.52% (0.00) 91.04% (0.00) 97.76% (0.00) ok ai-sandbox-vercel 44.67% (0.00) 38.18% (0.00) 35.18% (0.00) 45.76% (0.00) ok ai-skills 83.39% (0.00) 68.53% (0.00) 87.36% (0.00) 85.48% (0.00) ok ai-solid 52.13% (0.00) 38.29% (0.00) 49.82% (0.00) 56.87% (0.00) ok ai-svelte 73.76% (0.00) 54.59% (0.00) 69.15% (0.00) 78.33% (0.00) ok ai-typesafe 78.04% (0.00) 84.61% (0.00) 66.66% (0.00) 82.05% (0.00) ok ai-utils 75.34% (0.00) 74.00% (0.00) 85.71% (0.00) 75.38% (0.00) ok ai-vercel-gateway 75.97% (0.00) 55.63% (0.00) 85.41% (0.00) 79.38% (0.00) ok ai-vertex 96.77% (0.00) 97.22% (0.00) 100.00% (0.00) 96.77% (0.00) ok ai-vue 60.07% (0.00) 34.10% (0.00) 59.34% (0.00) 61.04% (0.00) ok ai-worldlabs 79.62% (0.00) 71.50% (0.00) 91.42% (0.00) 82.66% (0.00) ok openai-base 90.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.
🦋 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
Name Type @tanstack/ai-harness-cli Minor 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
github-actions[bot](GitHub profile, opens in a new tab) assignedtombeckenham
github-actions[bot](GitHub profile, opens in a new tab) added labelswaiting-on: maintainer
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
Diff Package Supply Chain
SecurityVulnerability Quality Maintenance License npm/ink@7.1.1 github-actions[bot](GitHub profile, opens in a new tab) added labelsmerge-conflicts
github-actions[bot](GitHub profile, opens in a new tab) added labelswaiting-on: author
github-actions[bot](GitHub profile, opens in a new tab) removed labelswaiting-on: maintainer
github-actions[bot](GitHub profile, opens in a new tab) added labelswaiting-on: maintainer
github-actions[bot](GitHub profile, opens in a new tab) removed labelswaiting-on: author
github-actions[bot](GitHub profile, opens in a new tab) removed labelsmerge-conflicts
Added a short "Serve over HTTP safely" section to
docs/harness/cli.md(fba476c01).During review it came up that
--servemakes an implicit trust decision that wasn't documented: one bearer token, one principal ({ id: 'cli' }), andcanAccess: () => 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.0exposes, and points readers who need per-user auth or thread rules tocreateHarnessHandler.Docs-only,
test:docsis green. Left the PR description anddocs/config.jsondates as-is since the page is new in this PR and hasn't shipped.jherr approved these changes
LGTM
jherr merged thiscf2d558
jherr closed this
Sign in to join this conversation.
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.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
90733648-f8cd-4d76-aae9-596c6fc1dcddYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
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