@agentproto/runtime 5.6.0 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config-schema.mjs +10 -0
- package/dist/config-schema.mjs.map +1 -1
- package/dist/config.mjs +10 -0
- package/dist/config.mjs.map +1 -1
- package/dist/index.d.ts +399 -5
- package/dist/index.mjs +3799 -2685
- package/dist/index.mjs.map +1 -1
- package/dist/resume-strategies.mjs.map +1 -1
- package/dist/session-presence.mjs +10 -0
- package/dist/session-presence.mjs.map +1 -1
- package/dist/{sessions-DMzCgTVy.d.ts → sessions-DHSLsPHA.d.ts} +69 -0
- package/dist/user-presets.d.ts +1 -1
- package/package.json +5 -5
package/dist/config.mjs
CHANGED
|
@@ -2572,6 +2572,16 @@ var init_agent_start_schema = __esm({
|
|
|
2572
2572
|
])
|
|
2573
2573
|
).optional().describe(
|
|
2574
2574
|
`Isolate this session in its OWN git worktree instead of \`cwd\`. \`true\` provisions one on a fresh \`wt/<slug>\` branch; \`{ slug, base, async }\` pins details. ROOT spawns only (rejected on a nested spawn \u2014 use \`sandbox\` there); ignored when \`cwd\` isn't a git repo. NOT auto-removed on session close \u2014 tear down with \`agentproto worktree rm\`. ${help("worktree")}`
|
|
2575
|
+
),
|
|
2576
|
+
// CONTROLLER-INTERNAL (issue #1647) — NOT for tool callers. The device
|
|
2577
|
+
// sandbox proxy (`bootSandboxAgentSession`, session-spawn.ts) stamps it
|
|
2578
|
+
// when it forwards an explicit `workspaceSlug` across the /device-spawn
|
|
2579
|
+
// bridge, so the TARGET daemon's `agent_start` treats the slug as
|
|
2580
|
+
// bridge-ffi: registry-first, no active-workspace fallback — an
|
|
2581
|
+
// unresolvable slug fails loudly (`device_bridge_workspace_unknown`)
|
|
2582
|
+
// instead of silently landing wherever the target happens to have active.
|
|
2583
|
+
deviceBridge: mcpBool.optional().describe(
|
|
2584
|
+
"Internal: set by the controller's device-sandbox bridge when this spawn crossed a device pairing. Do not set \u2014 an explicit `workspaceSlug` that the target daemon has not registered fails instead of falling back to its active workspace."
|
|
2575
2585
|
)
|
|
2576
2586
|
};
|
|
2577
2587
|
agentStartInputSchema = z.object(agentStartInputShape);
|