@agentproto/runtime 5.6.0 → 5.8.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.
@@ -2562,6 +2562,16 @@ var init_agent_start_schema = __esm({
2562
2562
  ])
2563
2563
  ).optional().describe(
2564
2564
  `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")}`
2565
+ ),
2566
+ // CONTROLLER-INTERNAL (issue #1647) — NOT for tool callers. The device
2567
+ // sandbox proxy (`bootSandboxAgentSession`, session-spawn.ts) stamps it
2568
+ // when it forwards an explicit `workspaceSlug` across the /device-spawn
2569
+ // bridge, so the TARGET daemon's `agent_start` treats the slug as
2570
+ // bridge-ffi: registry-first, no active-workspace fallback — an
2571
+ // unresolvable slug fails loudly (`device_bridge_workspace_unknown`)
2572
+ // instead of silently landing wherever the target happens to have active.
2573
+ deviceBridge: mcpBool.optional().describe(
2574
+ "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."
2565
2575
  )
2566
2576
  };
2567
2577
  agentStartInputSchema = z.object(agentStartInputShape);