gestalt-mobile 0.68.2 → 0.68.3

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.
@@ -149,7 +149,15 @@ export class CodexPlaywright {
149
149
  : binding.reason
150
150
  ? 'unavailable'
151
151
  : 'idle',
152
- ...(pending ? { boundary: 'owned-runtime-resume' } : {}),
152
+ ...(pending
153
+ ? {
154
+ boundary: 'owned-runtime-resume',
155
+ nextAction: 'next-root-turn',
156
+ message: desired
157
+ ? 'Activation cannot complete during this turn. Keep the start request pending, finish independent work, then end the turn. Mobile will apply it before the next authorized root turn when the root and children are idle. If no continuation is already authorized, explain that the user can send a follow-up message. Do not poll or stop the request while browser work remains.'
158
+ : 'Release will complete before the next authorized root turn when the root and children are idle. End this turn after independent work; polling during this turn cannot detach the browser.',
159
+ }
160
+ : {}),
153
161
  ...(binding.reason ? { reason: binding.reason } : {}),
154
162
  ...(binding.version ? { packageVersion: binding.version } : {}),
155
163
  packageStatus: binding.packageStatus,
@@ -356,7 +364,7 @@ export class CodexPlaywright {
356
364
  },
357
365
  };
358
366
  if (instructions !== undefined)
359
- config.developer_instructions = withCapabilityInstructions(instructions, 'playwright', '<gestalt_playwright_unavailable>Browser guidance is inactive until this host verifies connected standard tools. Use gestalt_managed_playwright for session-scoped requests. Installation or a plan declaration never grants consent. Pending activation requires a safe owned-runtime resume.</gestalt_playwright_unavailable>');
367
+ config.developer_instructions = withCapabilityInstructions(instructions, 'playwright', '<gestalt_playwright_unavailable>Browser guidance is inactive until this host verifies connected standard tools. Use gestalt_managed_playwright for session-scoped requests. Installation or a plan declaration never grants consent. Pending activation cannot complete within the requesting turn: keep the request pending, finish independent work and end the turn. Mobile applies it before the next already-authorized root turn at a safe idle boundary. If none is authorized, explain that the user can send a follow-up message. Do not poll or stop while browser work remains; no manual session restart is required.</gestalt_playwright_unavailable>');
360
368
  else
361
369
  delete config.developer_instructions;
362
370
  return config;
@@ -14,7 +14,7 @@ export const managedPlaywrightRequestSchema = z
14
14
  export const gestaltManagedPlaywrightDynamicTool = {
15
15
  type: 'function',
16
16
  name: 'gestalt_managed_playwright',
17
- description: 'Request, inspect or release managed browser access for this root session. Profile consent is required. Start/stop may remain pending until a safe owned-runtime resume; tools and browser guidance are usable only after connected verification. Never starts a turn or clears Manual Off or attention. No commands, paths or environment accepted.',
17
+ description: 'Request, inspect or release managed browser access for this root session. Profile consent is required. Pending start/stop cannot complete within this turn: finish independent work and end the turn; Mobile applies the request before the next authorized root turn at a safe idle boundary. Keep a pending start while browser work remains. No manual restart is required. Tools and guidance require connected verification. Never starts a turn or clears Manual Off or attention. No commands, paths or environment accepted.',
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  additionalProperties: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gestalt-mobile",
3
- "version": "0.68.2",
3
+ "version": "0.68.3",
4
4
  "description": "Mobile-first web relay for durable Codex development sessions",
5
5
  "keywords": [
6
6
  "codex",