chore(peer): mark @tangle-network/sandbox optional (0.25.2)#63
Merged
Conversation
Closes Phase A of the external-agent wedge (docs/design/external-agent-wedge.md in agent-eval): an external agent builder can run agent-runtime + agent-eval self-improvement loop entirely on their own backend without our sandbox. Source-side this was already true — every sandbox import is type-only (import type / export type across loops/, mcp/, profiles/). The Backend seam already ships createOpenAICompatibleBackend (pure LLM) and createIterableBackend (BYO producer) next to createSandboxPromptBackend. But the peer manifest still required @tangle-network/sandbox so strict installers warned and the manifest implied it was load-bearing. Mark sandbox as optional in peerDependenciesMeta. Foreign consumers can now install agent-runtime without sandbox and the type imports are discarded at compile time. Internal consumers (creative, gtm, legal, tax, agent-builder, physim) still install sandbox alongside — no behavior change for them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes Phase A of the external-agent wedge: foreign agent builders can install
@tangle-network/agent-runtime+ run the self-improvement loop entirely on their own backend, without our sandbox.Source-side this was already true (every sandbox import is type-only across
loops/,mcp/,profiles/; the Backend seam shipscreateOpenAICompatibleBackend+createIterableBackendnext tocreateSandboxPromptBackend). The manifest just hadn't caught up —@tangle-network/sandboxwas still listed as a required peer, so strict installers warned and the manifest implied sandbox was load-bearing.Marks sandbox optional in
peerDependenciesMeta. Foreign consumers install without sandbox; type imports compile to nothing. Internal consumers (creative, gtm, legal, tax, agent-builder, physim) all install sandbox alongside — no behavior change for them.✅
pnpm typecheckgreen✅
pnpm build(tsup) green✅
npm publish—@tangle-network/agent-runtime@0.25.2live;peerDependenciesMeta.@tangle-network/sandbox: { optional: true }verified on registry