Skip to content

chore(peer): mark @tangle-network/sandbox optional (0.25.2)#63

Merged
tangletools merged 1 commit into
mainfrom
chore/sandbox-peer-optional
May 26, 2026
Merged

chore(peer): mark @tangle-network/sandbox optional (0.25.2)#63
tangletools merged 1 commit into
mainfrom
chore/sandbox-peer-optional

Conversation

@tangletools
Copy link
Copy Markdown
Contributor

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 ships createOpenAICompatibleBackend + createIterableBackend next to createSandboxPromptBackend). The manifest just hadn't caught up — @tangle-network/sandbox was 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 typecheck green
pnpm build (tsup) green
npm publish@tangle-network/agent-runtime@0.25.2 live; peerDependenciesMeta.@tangle-network/sandbox: { optional: true } verified on registry

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.
@tangletools tangletools merged commit 2d25697 into main May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants