Skip to content

fix(harness): avoid using peer dependencies for underlying harness and sandbox SDKs - #16029

Merged
felixarntz merged 3 commits into
mainfrom
fa/fix-harness-deps
Jun 11, 2026
Merged

fix(harness): avoid using peer dependencies for underlying harness and sandbox SDKs#16029
felixarntz merged 3 commits into
mainfrom
fa/fix-harness-deps

Conversation

@felixarntz

Copy link
Copy Markdown
Collaborator

Background

The harness-* and sandbox-* adapters were using peer dependencies for their underlying SDKs, which is not right.

Summary

  • the sandbox adapters now have their underlying SDK as a regular (prod) dependency
  • the Claude Code and Codex harness adapters only have the underlying SDK as a dev dependency because the SDK is only used inside the sandbox (i.e. not on the host environment) with the bridge; the dev dependency is only used so that types etc. resolve
  • the Pi harness has its underlying SDK as regular (prod) dependency, because unlike Claude Code and Codex it runs on the host machine and only operates on the sandbox, but from the outside

Manual Verification

Run the existing harness examples.

Checklist

  • All commits are signed (PRs with unsigned commits cannot be merged)
  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

@felixarntz
felixarntz merged commit e551763 into main Jun 11, 2026
48 checks passed
@felixarntz
felixarntz deleted the fa/fix-harness-deps branch June 11, 2026 18:14
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Published in:

Package Version
ai 7.0.0-canary.172 github npm
@ai-sdk/alibaba 2.0.0-canary.59 github npm
@ai-sdk/amazon-bedrock 5.0.0-canary.84 github npm
@ai-sdk/angular 3.0.0-canary.172 github npm
@ai-sdk/anthropic 4.0.0-canary.66 github npm
@ai-sdk/anthropic-aws 1.0.0-canary.7 github npm
@ai-sdk/assemblyai 3.0.0-canary.50 github npm
@ai-sdk/azure 4.0.0-canary.75 github npm
@ai-sdk/baseten 2.0.0-canary.56 github npm
@ai-sdk/black-forest-labs 2.0.0-canary.50 github npm
@ai-sdk/bytedance 2.0.0-canary.51 github npm
@ai-sdk/cerebras 3.0.0-canary.56 github npm
@ai-sdk/cohere 4.0.0-canary.52 github npm
@ai-sdk/deepgram 3.0.0-canary.49 github npm
@ai-sdk/deepinfra 3.0.0-canary.56 github npm
@ai-sdk/deepseek 3.0.0-canary.54 github npm
@ai-sdk/devtools 1.0.0-canary.30 github npm
@ai-sdk/elevenlabs 3.0.0-canary.49 github npm
@ai-sdk/fal 3.0.0-canary.49 github npm
@ai-sdk/fireworks 3.0.0-canary.56 github npm
@ai-sdk/gateway 4.0.0-canary.104 github npm
@ai-sdk/gladia 3.0.0-canary.49 github npm
@ai-sdk/google 4.0.0-canary.81 github npm
@ai-sdk/google-vertex 5.0.0-canary.107 github npm
@ai-sdk/groq 4.0.0-canary.53 github npm
@ai-sdk/harness 1.0.0-canary.7 github npm
@ai-sdk/harness-claude-code 1.0.0-canary.3 github npm
@ai-sdk/harness-codex 1.0.0-canary.3 github npm
@ai-sdk/harness-pi 1.0.0-canary.3 github npm
@ai-sdk/huggingface 2.0.0-canary.56 github npm
@ai-sdk/hume 3.0.0-canary.49 github npm
@ai-sdk/klingai 4.0.0-canary.50 github npm
@ai-sdk/langchain 3.0.0-canary.172 github npm
@ai-sdk/llamaindex 3.0.0-canary.172 github npm
@ai-sdk/lmnt 3.0.0-canary.49 github npm
@ai-sdk/luma 3.0.0-canary.49 github npm
@ai-sdk/mcp 2.0.0-canary.63 github npm
@ai-sdk/mistral 4.0.0-canary.54 github npm
@ai-sdk/moonshotai 3.0.0-canary.56 github npm
@ai-sdk/open-responses 2.0.0-canary.53 github npm
@ai-sdk/openai 4.0.0-canary.73 github npm
@ai-sdk/openai-compatible 3.0.0-canary.56 github npm
@ai-sdk/otel 1.0.0-canary.118 github npm
@ai-sdk/perplexity 4.0.0-canary.52 github npm
@ai-sdk/policy-opa 1.0.0-canary.9 github npm
@ai-sdk/prodia 2.0.0-canary.52 github npm
@ai-sdk/provider-utils 5.0.0-canary.48 github npm
@ai-sdk/quiverai 2.0.0-canary.5 github npm
@ai-sdk/react 4.0.0-canary.175 github npm
@ai-sdk/replicate 3.0.0-canary.50 github npm
@ai-sdk/revai 3.0.0-canary.50 github npm
@ai-sdk/rsc 3.0.0-canary.173 github npm
@ai-sdk/sandbox-just-bash 1.0.0-canary.7 github npm
@ai-sdk/sandbox-vercel 1.0.0-canary.7 github npm
@ai-sdk/svelte 5.0.0-canary.172 github npm
@ai-sdk/togetherai 3.0.0-canary.56 github npm
@ai-sdk/tui 1.0.0-canary.7 github npm
@ai-sdk/valibot 3.0.0-canary.48 github npm
@ai-sdk/vercel 3.0.0-canary.56 github npm
@ai-sdk/voyage 2.0.0-canary.23 github npm
@ai-sdk/vue 4.0.0-canary.172 github npm
@ai-sdk/workflow 1.0.0-canary.89 github npm
@ai-sdk/xai 4.0.0-canary.74 github npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/harness related to the harness layer task-merge-tracking-no-issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants