@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.
@@ -2577,6 +2577,16 @@ var init_agent_start_schema = __esm({
2577
2577
  ])
2578
2578
  ).optional().describe(
2579
2579
  `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")}`
2580
+ ),
2581
+ // CONTROLLER-INTERNAL (issue #1647) — NOT for tool callers. The device
2582
+ // sandbox proxy (`bootSandboxAgentSession`, session-spawn.ts) stamps it
2583
+ // when it forwards an explicit `workspaceSlug` across the /device-spawn
2584
+ // bridge, so the TARGET daemon's `agent_start` treats the slug as
2585
+ // bridge-ffi: registry-first, no active-workspace fallback — an
2586
+ // unresolvable slug fails loudly (`device_bridge_workspace_unknown`)
2587
+ // instead of silently landing wherever the target happens to have active.
2588
+ deviceBridge: mcpBool.optional().describe(
2589
+ "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."
2580
2590
  )
2581
2591
  };
2582
2592
  agentStartInputSchema = z.object(agentStartInputShape);