runpane 2.4.230 → 2.4.231

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.
@@ -215,6 +215,7 @@ export declare const RUNPANE_CONTRACT: {
215
215
  readonly terminal: {
216
216
  readonly args: readonly [];
217
217
  readonly fullAccessArgs: readonly ["--auto"];
218
+ readonly paneMcpConfigEnv: "OPENCODE_CONFIG_CONTENT";
218
219
  readonly hotkey: "mod+alt+6";
219
220
  readonly session: {
220
221
  readonly flag: "--session";
@@ -454,6 +455,86 @@ export declare const RUNPANE_CONTRACT: {
454
455
  readonly toolsets: readonly ["core", "plugin"];
455
456
  readonly jsonSchemas: readonly ["notifyRequest", "notifyResult"];
456
457
  readonly localControl: true;
458
+ }, {
459
+ readonly name: "devices list";
460
+ readonly mcpName: "device_list";
461
+ readonly summary: "List the phone simulators and emulators this Pane can open: platform, name, OS, machine, state, and which Pane holds each.";
462
+ readonly usage: readonly ["runpane devices list [--json] [--pane-dir <path>]"];
463
+ readonly toolsets: readonly ["core", "devices"];
464
+ readonly jsonSchemas: readonly ["devicesListResult"];
465
+ readonly localControl: true;
466
+ readonly wrappers: readonly ["npm"];
467
+ }, {
468
+ readonly name: "devices open";
469
+ readonly mcpName: "device_open";
470
+ readonly summary: "Boot a phone simulator or emulator for this Pane and show its live screen in a device tab beside the agent.";
471
+ readonly usage: readonly ["runpane devices open --platform <ios|android> [--device <name-or-id>] [--json] [--pane-dir <path>]"];
472
+ readonly mutates: true;
473
+ readonly additive: true;
474
+ readonly toolsets: readonly ["core", "devices"];
475
+ readonly jsonSchemas: readonly ["devicesOpenResult"];
476
+ readonly localControl: true;
477
+ readonly wrappers: readonly ["npm"];
478
+ }, {
479
+ readonly name: "devices screenshot";
480
+ readonly mcpName: "device_screenshot";
481
+ readonly summary: "Capture the screen of this Pane's open device as an image.";
482
+ readonly usage: readonly ["runpane devices screenshot [--platform <ios|android>] [--json] [--pane-dir <path>]"];
483
+ readonly toolsets: readonly ["core", "devices"];
484
+ readonly jsonSchemas: readonly ["devicesScreenshotResult"];
485
+ readonly localControl: true;
486
+ readonly wrappers: readonly ["npm"];
487
+ }, {
488
+ readonly name: "devices act";
489
+ readonly mcpName: "device_act";
490
+ readonly summary: "Run an agent-device command on this Pane's open device: open an app, snapshot -i for element refs, press @e3, fill, swipe, install, logs.";
491
+ readonly usage: readonly ["runpane devices act [--platform <ios|android>] [--json] [--pane-dir <path>] -- <command>"];
492
+ readonly mutates: true;
493
+ readonly toolsets: readonly ["core", "devices"];
494
+ readonly jsonSchemas: readonly ["devicesActResult"];
495
+ readonly localControl: true;
496
+ readonly wrappers: readonly ["npm"];
497
+ }, {
498
+ readonly name: "devices run";
499
+ readonly mcpName: "device_run";
500
+ readonly summary: "Run a command where this Pane's device runs, such as a build (npx expo run:ios) or Metro with --background.";
501
+ readonly usage: readonly ["runpane devices run [--platform <ios|android>] [--background] [--wait-ms <milliseconds>] [--json] [--pane-dir <path>] -- <command>"];
502
+ readonly mutates: true;
503
+ readonly openWorld: true;
504
+ readonly toolsets: readonly ["core", "devices"];
505
+ readonly jsonSchemas: readonly ["devicesRunResult"];
506
+ readonly localControl: true;
507
+ readonly wrappers: readonly ["npm"];
508
+ }, {
509
+ readonly name: "devices close";
510
+ readonly mcpName: "device_close";
511
+ readonly summary: "Release this Pane's device (or, with --platform, only that one) and stop the commands device_run started. The device stays warm for 10 minutes.";
512
+ readonly usage: readonly ["runpane devices close [--platform <ios|android>] [--json] [--pane-dir <path>]"];
513
+ readonly mutates: true;
514
+ readonly idempotent: true;
515
+ readonly toolsets: readonly ["core", "devices"];
516
+ readonly jsonSchemas: readonly ["devicesCloseResult"];
517
+ readonly localControl: true;
518
+ readonly wrappers: readonly ["npm"];
519
+ }, {
520
+ readonly name: "devices usage";
521
+ readonly mcpName: "device_usage";
522
+ readonly summary: "Report every simulator and emulator on this machine, and the memory and disk they, Pane's device tools and build checkouts use.";
523
+ readonly usage: readonly ["runpane devices usage [--json] [--pane-dir <path>]"];
524
+ readonly toolsets: readonly ["devices"];
525
+ readonly jsonSchemas: readonly ["devicesUsageResult"];
526
+ readonly localControl: true;
527
+ readonly wrappers: readonly ["npm"];
528
+ }, {
529
+ readonly name: "devices free";
530
+ readonly mcpName: "device_free";
531
+ readonly summary: "Shut down unused devices (--idle), or also delete every unused device Pane made and the build checkouts no Pane holds (--all).";
532
+ readonly usage: readonly ["runpane devices free (--idle|--all) --yes [--json] [--pane-dir <path>]"];
533
+ readonly mutates: true;
534
+ readonly toolsets: readonly ["devices"];
535
+ readonly jsonSchemas: readonly ["devicesFreeResult"];
536
+ readonly localControl: true;
537
+ readonly wrappers: readonly ["npm"];
457
538
  }, {
458
539
  readonly name: "theme read";
459
540
  readonly summary: "Show Pane's own theme: what is selected, the Custom theme, every colour token with its current value, the stable selectors, and the guide for restyling Pane.";
@@ -1858,6 +1939,18 @@ export declare const RUNPANE_CONTRACT: {
1858
1939
  readonly name: "--search";
1859
1940
  readonly value: "<text>";
1860
1941
  readonly description: "models only: keep models whose name contains this text.";
1942
+ }, {
1943
+ readonly name: "--platform";
1944
+ readonly value: "<ios|android>";
1945
+ readonly description: "devices open: ios or android. devices screenshot, act, run and close: which of the Pane's devices; defaults to the one opened last.";
1946
+ }, {
1947
+ readonly name: "--device";
1948
+ readonly value: "<name-or-id>";
1949
+ readonly description: "devices open: one of the person's own devices by name or id.";
1950
+ }, {
1951
+ readonly name: "--wait-ms";
1952
+ readonly value: "<milliseconds>";
1953
+ readonly description: "devices run: how long to wait for the command to exit.";
1861
1954
  }];
1862
1955
  readonly localBoolean: readonly [{
1863
1956
  readonly name: "--json";
@@ -1976,11 +2069,17 @@ export declare const RUNPANE_CONTRACT: {
1976
2069
  }, {
1977
2070
  readonly name: "--hook";
1978
2071
  readonly description: "runpane panels conversation: read a Claude Code SessionStart hook's JSON from stdin and report it for PANE_PANEL_ID. Prints nothing and always exits 0.";
2072
+ }, {
2073
+ readonly name: "--background";
2074
+ readonly description: "devices run: keep the command running after the call returns; it stops at devices close.";
2075
+ }, {
2076
+ readonly name: "--idle";
2077
+ readonly description: "devices free: shut down Pane's devices no Pane holds.";
1979
2078
  }];
1980
2079
  };
1981
2080
  readonly help: {
1982
2081
  readonly npm: {
1983
- readonly default: readonly ["Usage:", " runpane", " runpane setup", " runpane install [client|daemon] [options]", " runpane update [options]", " runpane version", " runpane doctor", " runpane doctor --report --body-file <path|->", " runpane daemon repair [--pane-dir <path>] [--yes] [--json]", " runpane agent-context [--json]", " runpane mcp [--toolsets <name,...>] [--read-only]", " runpane relay [pane-relay flags...]", " runpane link <link> [--yes] [--json]", " runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json]", " runpane repos list [--json]", " runpane repos add --path <path> [--name <name>]", " runpane repos get [--repo <selector>] [--json]", " runpane repos update --repo <selector> [setting flags] --yes [--dry-run] [--json]", " runpane repos rename --repo <selector> --name <name>", " runpane secrets list [--project <project>] [--json]", " runpane secrets set --project <project> --name <name> --yes (value on stdin)", " runpane secrets delete --project <project> --name <name> --yes", " runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>] [--file <name>] -- <command>...", " runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]", " runpane theme read [--json]", " runpane theme set [--base <theme>] [--colors <json>] [--css <text>] [--name <text>] [--json]", " runpane theme set --theme <id> [--json]", " runpane theme reset [--json]", " runpane sessions list [--json] [--pane-dir <path>]", " runpane sessions create --from-json <path|-> [--json] [--pane-dir <path>]", " runpane sessions get --session <id|name> [--json] [--pane-dir <path>]", " runpane sessions update --session <id|name> --from-json <path|-> [--json] [--pane-dir <path>]", " runpane sessions pin --session <id|name> [--json] [--pane-dir <path>]", " runpane sessions unpin --session <id|name> [--json] [--pane-dir <path>]", " runpane sessions pause|resume --session <id|name> [--json] [--pane-dir <path>]", " runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode|pi> [--json] [--pane-dir <path>]", " runpane sessions associate --session <id|name> --pane <pane-id> [--json] [--pane-dir <path>]", " runpane sessions detach --session <id|name> [--pane <pane-id>] [--json] [--pane-dir <path>]", " runpane sessions overview --session <id|name> [--json] [--pane-dir <path>]", " runpane lock acquire --name <name> --ttl <duration> [--wait <milliseconds>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock release --name <name> [--force] [--session <id|name>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock list [--session <id|name>] [--json] [--pane-dir <path>]", " runpane loops list [--json]", " runpane loops create (--repo <selector>|--session <id|name|new>) --name <name> --cron <expr> (--agent <claude|codex|cursor>|--tool-command <command>) [--prompt <text>] --yes", " runpane loops update|run|pause|resume|delete --loop <id> --yes", " runpane panes list [--repo <selector>] [--json]", " runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]", " runpane workspace state [--repo <selector>] [--json]", " runpane workspace list [--json]", " runpane workspace <machine> read|write|exec|<command>", " runpane watch --follow", " runpane watch --until-event", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [--base-branch <branch>] [--source user|agent] [--focus|--no-focus] [--wait-ready]", " runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes", " runpane panes archive --session <id|name> --merged [--closed] [--remove-worktree] [--dry-run] --yes", " runpane panes pause|resume --pane <pane-id> --yes [--json]", " runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode|pi> [--source user|agent] [--focus|--no-focus] --yes", " runpane panels list --pane <pane-id> [--json]", " runpane panels output --panel <panel-id> [--limit <count>] [--json]", " runpane panels screen --panel <panel-id> [--limit <count>] [--json]", " runpane panels input --panel <panel-id> (--text <text>|--keys <name,...>|--input-file <path|->) --yes [--json]", " runpane panels submit --panel <panel-id> (--text <text>|--input-file <path|->) --yes [--json]", " runpane panels submit-composer --panel <panel-id> [--strategy auto|codex-ctrl-enter|enter|tab] --yes [--json]", " runpane panels wait --panel <panel-id> [--for initialized|ready|idle|text] [--json]", " runpane panels resume (--panel <panel-id>|--session <id|name>|--all-stopped) [--wait-ready] --yes [--json]", " runpane panels pause --panel <panel-id> --yes [--json]", " runpane panels last-message --panel <panel-id> [--limit <count>] [--json]", " runpane panels conversation (--conversation <id> [--source startup|resume|clear|compact]|--hook) [--json]", " runpane panels close --panel <panel-id> [--dry-run] [--force] --yes [--json]", " runpane panes git-status --pane <pane-id> [--json] [--pane-dir <path>]", " runpane panes commit --pane <pane-id> --message <message> --yes [--json] [--pane-dir <path>]", " runpane panes push --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes pull --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes rebase-main --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes restore --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane links create --pane <pane-id> [--panel <panel-id>] [--json]", " runpane links open --url <pane-url> --yes [--json] [--pane-dir <path>]", " runpane docs search --query <text> [--limit <count>] [--json]", " runpane docs read --doc <path> [--json]", " runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode|pi>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]", " runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]", " runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]", " runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text>] [--json]", " runpane notify --ui <options|approve|ask|info> --title <text> [--choices <json>] [--relays <item>] [--resume <id>] [--took <id|Q-n> <answer|question>] [--update <id|Q-n> ...] [--json]", " runpane inbox [--session <id|name>] [--json]", " runpane inbox ack <item-id>... [--decision <D-n>] [--session <id|name>] [--json]", " runpane autopilot status|waiting|stack [--json]", " runpane autopilot stack push (--item <id>|--file <path>|--url <url>|--session <id|name>) [--next] [--json]", " runpane autopilot answer <id> (--choice <label>|--approve|--deny|--text <text>) --because <why> [--json]", " runpane autopilot close <id> --reason <why> [--json]", " runpane autopilot rewrite <id> --ui <options|approve|ask> --title <text> [--choices <json>] [--json]", " runpane panes squash-rebase --pane <pane-id> --message <message> --yes [--json] [--pane-dir <path>]", " runpane panes stash --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes stash-pop --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes soft-reset --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes fetch --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes run-script --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes stop-script --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes move --pane <pane-id> --folder <folder-id> --yes [--json] [--pane-dir <path>]", " runpane folders list --repo <repo-id> [--json] [--pane-dir <path>]", " runpane folders create --repo <repo-id> --name <name> --yes [--json] [--pane-dir <path>]", " runpane help [command]", "", "Quick start:", " npx --yes runpane@latest", " npm i -g runpane && runpane setup", "", "Advanced examples:", " npx --yes runpane@latest install client", " npx --yes runpane@latest install daemon --label \"My Server\"", " pnpm dlx runpane@latest", "", "Common commands:", " runpane help", " runpane setup", " runpane install", " runpane doctor", "", "Agent discovery:", " runpane doctor --json", " runpane agent-context --json", " runpane agent-context --command \"<command>\" --json", "", "Run \"runpane help panes create\" for pane orchestration options."];
2082
+ readonly default: readonly ["Usage:", " runpane", " runpane setup", " runpane install [client|daemon] [options]", " runpane update [options]", " runpane version", " runpane doctor", " runpane doctor --report --body-file <path|->", " runpane daemon repair [--pane-dir <path>] [--yes] [--json]", " runpane agent-context [--json]", " runpane mcp [--toolsets <name,...>] [--read-only]", " runpane relay [pane-relay flags...]", " runpane link <link> [--yes] [--json]", " runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json]", " runpane repos list [--json]", " runpane repos add --path <path> [--name <name>]", " runpane repos get [--repo <selector>] [--json]", " runpane repos update --repo <selector> [setting flags] --yes [--dry-run] [--json]", " runpane repos rename --repo <selector> --name <name>", " runpane secrets list [--project <project>] [--json]", " runpane secrets set --project <project> --name <name> --yes (value on stdin)", " runpane secrets delete --project <project> --name <name> --yes", " runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>] [--file <name>] -- <command>...", " runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]", " runpane devices list [--json] [--pane-dir <path>]", " runpane devices open --platform <ios|android> [--device <name-or-id>] [--json] [--pane-dir <path>]", " runpane devices screenshot [--json] [--pane-dir <path>]", " runpane devices act [--json] [--pane-dir <path>] -- <command>", " runpane devices run [--background] [--wait-ms <milliseconds>] [--json] [--pane-dir <path>] -- <command>", " runpane devices close [--json] [--pane-dir <path>]", " runpane devices usage [--json] [--pane-dir <path>]", " runpane devices free (--idle|--all) --yes [--json] [--pane-dir <path>]", " runpane theme read [--json]", " runpane theme set [--base <theme>] [--colors <json>] [--css <text>] [--name <text>] [--json]", " runpane theme set --theme <id> [--json]", " runpane theme reset [--json]", " runpane sessions list [--json] [--pane-dir <path>]", " runpane sessions create --from-json <path|-> [--json] [--pane-dir <path>]", " runpane sessions get --session <id|name> [--json] [--pane-dir <path>]", " runpane sessions update --session <id|name> --from-json <path|-> [--json] [--pane-dir <path>]", " runpane sessions pin --session <id|name> [--json] [--pane-dir <path>]", " runpane sessions unpin --session <id|name> [--json] [--pane-dir <path>]", " runpane sessions pause|resume --session <id|name> [--json] [--pane-dir <path>]", " runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode|pi> [--json] [--pane-dir <path>]", " runpane sessions associate --session <id|name> --pane <pane-id> [--json] [--pane-dir <path>]", " runpane sessions detach --session <id|name> [--pane <pane-id>] [--json] [--pane-dir <path>]", " runpane sessions overview --session <id|name> [--json] [--pane-dir <path>]", " runpane lock acquire --name <name> --ttl <duration> [--wait <milliseconds>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock release --name <name> [--force] [--session <id|name>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock list [--session <id|name>] [--json] [--pane-dir <path>]", " runpane loops list [--json]", " runpane loops create (--repo <selector>|--session <id|name|new>) --name <name> --cron <expr> (--agent <claude|codex|cursor>|--tool-command <command>) [--prompt <text>] --yes", " runpane loops update|run|pause|resume|delete --loop <id> --yes", " runpane panes list [--repo <selector>] [--json]", " runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]", " runpane workspace state [--repo <selector>] [--json]", " runpane workspace list [--json]", " runpane workspace <machine> read|write|exec|<command>", " runpane watch --follow", " runpane watch --until-event", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [--base-branch <branch>] [--source user|agent] [--focus|--no-focus] [--wait-ready]", " runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes", " runpane panes archive --session <id|name> --merged [--closed] [--remove-worktree] [--dry-run] --yes", " runpane panes pause|resume --pane <pane-id> --yes [--json]", " runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode|pi> [--source user|agent] [--focus|--no-focus] --yes", " runpane panels list --pane <pane-id> [--json]", " runpane panels output --panel <panel-id> [--limit <count>] [--json]", " runpane panels screen --panel <panel-id> [--limit <count>] [--json]", " runpane panels input --panel <panel-id> (--text <text>|--keys <name,...>|--input-file <path|->) --yes [--json]", " runpane panels submit --panel <panel-id> (--text <text>|--input-file <path|->) --yes [--json]", " runpane panels submit-composer --panel <panel-id> [--strategy auto|codex-ctrl-enter|enter|tab] --yes [--json]", " runpane panels wait --panel <panel-id> [--for initialized|ready|idle|text] [--json]", " runpane panels resume (--panel <panel-id>|--session <id|name>|--all-stopped) [--wait-ready] --yes [--json]", " runpane panels pause --panel <panel-id> --yes [--json]", " runpane panels last-message --panel <panel-id> [--limit <count>] [--json]", " runpane panels conversation (--conversation <id> [--source startup|resume|clear|compact]|--hook) [--json]", " runpane panels close --panel <panel-id> [--dry-run] [--force] --yes [--json]", " runpane panes git-status --pane <pane-id> [--json] [--pane-dir <path>]", " runpane panes commit --pane <pane-id> --message <message> --yes [--json] [--pane-dir <path>]", " runpane panes push --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes pull --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes rebase-main --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes restore --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane links create --pane <pane-id> [--panel <panel-id>] [--json]", " runpane links open --url <pane-url> --yes [--json] [--pane-dir <path>]", " runpane docs search --query <text> [--limit <count>] [--json]", " runpane docs read --doc <path> [--json]", " runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode|pi>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]", " runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]", " runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]", " runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text>] [--json]", " runpane notify --ui <options|approve|ask|info> --title <text> [--choices <json>] [--relays <item>] [--resume <id>] [--took <id|Q-n> <answer|question>] [--update <id|Q-n> ...] [--json]", " runpane inbox [--session <id|name>] [--json]", " runpane inbox ack <item-id>... [--decision <D-n>] [--session <id|name>] [--json]", " runpane autopilot status|waiting|stack [--json]", " runpane autopilot stack push (--item <id>|--file <path>|--url <url>|--session <id|name>) [--next] [--json]", " runpane autopilot answer <id> (--choice <label>|--approve|--deny|--text <text>) --because <why> [--json]", " runpane autopilot close <id> --reason <why> [--json]", " runpane autopilot rewrite <id> --ui <options|approve|ask> --title <text> [--choices <json>] [--json]", " runpane panes squash-rebase --pane <pane-id> --message <message> --yes [--json] [--pane-dir <path>]", " runpane panes stash --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes stash-pop --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes soft-reset --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes fetch --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes run-script --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes stop-script --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes move --pane <pane-id> --folder <folder-id> --yes [--json] [--pane-dir <path>]", " runpane folders list --repo <repo-id> [--json] [--pane-dir <path>]", " runpane folders create --repo <repo-id> --name <name> --yes [--json] [--pane-dir <path>]", " runpane help [command]", "", "Quick start:", " npx --yes runpane@latest", " npm i -g runpane && runpane setup", "", "Advanced examples:", " npx --yes runpane@latest install client", " npx --yes runpane@latest install daemon --label \"My Server\"", " pnpm dlx runpane@latest", "", "Common commands:", " runpane help", " runpane setup", " runpane install", " runpane doctor", "", "Agent discovery:", " runpane doctor --json", " runpane agent-context --json", " runpane agent-context --command \"<command>\" --json", "", "Run \"runpane help panes create\" for pane orchestration options."];
1984
2083
  readonly install: readonly ["Usage:", " runpane install [client|daemon] [options]", "", "Examples:", " npx --yes runpane@latest install client", " npx --yes runpane@latest install daemon --label \"My Server\"", " pnpm dlx runpane@latest install daemon --prefer-tunnel ssh --label \"VM\"", "", "Wrapper options:", " --version <latest|vX.Y.Z> Pane release to install", " --format <auto|appimage|deb|dmg|zip|exe>", " --download-dir <path>", " --pane-path <path> Use an existing Pane executable", " --dry-run Print the plan without downloading", " --yes Skip interactive prompts where possible", " --verbose", "", "Daemon passthrough options:", " --label <name>", " --prefer-tunnel <tailscale|ssh|manual|auto>", " --channel <stable|nightly>", " --base-url <url>", " --pane-dir <path>", " --listen-port <port> / --port <port>", " --auto-listen-port", " --interactive-tailscale-setup", " --no-install-service", " --no-tailscale-serve", " --print-only", " --repo-ref <ref>"];
1985
2084
  readonly setup: readonly ["Usage:", " runpane setup", "", "Opens the guided setup for desktop install, remote host setup, update, and diagnostics.", "", "Quick start:", " npx --yes runpane@latest", " npm i -g runpane && runpane setup"];
1986
2085
  readonly update: readonly ["Usage:", " runpane update [--pane-only | --cli-only] [--version <latest|vX.Y.Z>] [--pane-dir <path>] [--dry-run] [--wait] [--json]", " runpane update --status <operation-id> [--wait] [--pane-dir <path>] [--json]", "", "Updates both Pane and the invoked supported CLI by default, on this machine.", "Preflight identifies the host and installation owner before downtime. The independent helper stages an app, CLI, and standalone Node runtime before stopping Pane.", "Status distinguishes acceptance, installed components, host health, and per-panel restoration. No prompts or uncertain actions are replayed.", "CLI-only updates do not restart Pane; a managed CLI pin survives later Pane startup.", "Use workspace <machine> exec -- runpane update for an explicit remote machine."];
@@ -2008,7 +2107,7 @@ export declare const RUNPANE_CONTRACT: {
2008
2107
  readonly workspace: readonly ["Workspace commands: this machine's Panes, and your other machines over Tailscale or the routes Pane saved for them.", "", "Usage:", " runpane workspace state [--repo <selector>] [--json]", " runpane watch --follow", " runpane workspace list [--json]", " runpane workspace <machine> read <path>", " runpane workspace <machine> write <path> (content from --content or stdin)", " runpane workspace <machine> exec -- <command>", " runpane workspace <machine> <runpane command> (any command that talks to Pane, e.g. sessions list --json)", " runpane workspace enable|disable", "", "<machine> is a name from workspace list, an id it is saved under in Pane (such as its relay id), a unique prefix, or a Tailscale IP. Your own machines are reachable, and a teammate's machine when its owner set Who can connect to Everyone on tailnet.", "A computer saved in Pane is tried route by route (same network, Tailscale, SSH, public URL, Pane relay, in its order); one that does not connect gives way to the next.", "Without <machine>, read, write, and exec route a path that cannot exist here (C:\\... on a Mac) to the one joined machine it fits.", "Commands that only run here (doctor, agent-context, mcp, docs) run there with: runpane workspace <machine> exec -- 'runpane doctor'"];
2009
2108
  readonly "workspace state": readonly ["Usage:", " runpane workspace state [--repo <selector>] [--json]", "", "Returns one workspace snapshot of every Pane and CLI panel."];
2010
2109
  readonly watch: readonly ["Usage:", " runpane watch Print what changed since your cursor, then exit", " runpane watch --follow Keep watching, tuned for an agent watching unattended", " runpane watch --until-event Wait for one event worth waking for, print it, exit 0", "", "Waits for agent, Pane, panel, and PR events from the daemon without polling.", "", "What --follow does by default (see defaults.watch.follow in the contract):", " prints WATCH OK once when armed, then one line per event, with no heartbeats", " kinds: agent.report, agent.ready, agent.blocked, agent.idle, panel.exited, panel.stopped,", " panel.paused, panel.unpaused, pane.gone, pane.associated, pane.detached,", " pr.conflicted, pr.checks, pr.merged, pr.base_changed, pr.base_deleted", " READY after 3m of quiet; BLOCKED after 30s; other lines batched at most every 10m", " (REPORT, BLOCKED, conflicts, base changes, and failed checks arrive at once)", " IDLE reminders at 10m, 30m, 1h, 3h, then daily", " ends with WATCH EXPIRED and exit 0 after 3h with nothing but IDLE", "", "What --until-event does by default: waits for agent.report, agent.blocked, panel.exited,", "or pane.gone, prints that one line, and exits 0. Run it as a background task, act on", "its line, then run it again; its named cursor means nothing is missed between runs.", "Single-event waits deliver immediately without follow settling or batching.", "--follow --since <generation> has no consumer name and bypasses settling and batching. Cadence requires a named follow consumer; --as cannot be combined with numeric --since.", "agent.report.missing (an agent given work ended its turn or exited without `runpane report`) is opt-in:", "add it to --kinds to wake on MISSING REPORT too.", "Autopilot's kinds are opt-in the same way, never in a default: item.created and item.answered", "(ITEM|ANSWERED <pane-name> pane <pane-id> [panel <panel-id>] <item-id>: <title>), session.created", "and session.archived (SESSION NEW|ARCHIVED <name> pane <pane-id> session <session-id>), and", "orchestrator.turn_ended (TURN ENDED <session-name> pane <pane-id> panel <panel-id> session <session-id>).", "", "Options:", " --session <id|name> Watch every Pane in a Session; associate/detach apply live", " --pane <id> Watch one Pane; repeatable (default: every managed Pane)", " --exclude-pane <id> Leave out a Pane; repeatable", " --repo <selector> Limit to a saved repository", " --name-contains <text> Limit by Pane name substring", " --include-shells Include plain shell panels (default: agent panels only)", " --kinds <kind,...> Replace the default event kinds", " --json One JSON object per line", " --as <name> Name the cursor (default: from --session or this panel)", " --since <generation> Use an explicit cursor instead of a name", " --epoch <epoch> Pair with --since to detect journal resets", " --from <now|earliest> Where a new named cursor starts (default: now)", " --self-test Check the daemon watch path and exit", "", "Overrides (durations such as 30s, 10m, 3h; a bare number is milliseconds; 0 turns it off):", " --ready-settle <duration> Quiet time before READY (default 3m)", " --blocked-settle <duration> Time before BLOCKED (default 30s)", " --min-interval <duration> Batch window for non-urgent lines (default 10m)", " --idle-after <duration> First IDLE reminder (default 10m)", " --expire-after <duration> End after this long with nothing but IDLE (default 3h)", " --heartbeat <duration> Print a HEARTBEAT line this often (default off)", " --timeout-ms <duration> Per-request wait; with --until-event, the total deadline (exit 124)", " --limit <count> Maximum entries per response", " --ack-now At-most-once cursor delivery", " --include-held-input Include unsubmitted composer text in JSON", " --no-held-input Turn off STUCK detection", " --pane-dir <path> Connect to a specific Pane data directory", "", "How a watch ends: WATCH EXPIRED (exit 0) means nothing happened; arm a new one with the next", "dispatch. A non-zero exit or a WATCH ERROR line means it failed: say so and re-arm once. Judge", "a watch by WATCH OK and these endings, never by silence. Never pipe --follow into grep -m1 or head.", "STUCK means real unsubmitted composer text; a prompt suggestion never counts."];
2011
- readonly "panes create": readonly ["Usage:", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]", " runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]", " runpane panes create --from-json <path|-> [--yes] [--json]", "", "Creates a Pane in a saved repository and opens a terminal-backed tool tab. Create one only when the work's branch has no Pane yet; for existing work use `runpane panels create --pane <id>`.", "", "A long or multi-line prompt is never typed into the shell: on bash, zsh or sh the agent launches with `\"$(cat '<prompt file>')\"` reading a private copy under `<pane-dir>/prompts/<pane-id>/`; on PowerShell, cmd, fish or WSL the prompt is pasted into the agent's composer once it is ready.", "", "Options:", " --repo <selector> active, id, exact path, or saved repository name", " --name <name> Pane/session name", " --worktree-name <name> Worktree directory name; defaults to --name", " --branch <name> Exact new branch name (slashes kept); must not exist; defaults to the worktree name", " --base-branch <ref> Ref to branch from; --base is an alias", " --agent <codex|claude|cursor|opencode|pi> Built-in terminal template; with --tool-command, the agent it runs", " --tool-command <command> Custom terminal command", " --title <title> Terminal tab title", " --initial-input <text> Text sent after the command is ready", " --prompt <text> Alias for --initial-input", " --initial-input-file <path|-> Read initial input from a file or stdin", " --as-file-pointer Send `Read and follow <prompt file>` instead of the prompt", " --attach <file> Copy a file beside the prompt file and list it; repeatable", " --expect-report Expect a `runpane report` even for --source user work (the default otherwise)", " --no-expect-report Fire-and-forget: no agent.report.missing if the agent ends without reporting", " --wait Block until this panel reports, misses its report, waits on a prompt, or exits;", " print one JSON line (exit 0 report, 3 missing, 4 blocked, 5 exited, 124 timeout)", " --timeout <duration> With --wait: give up after this long (30m, 2h)", " --prompt-file <path|-> Alias for --initial-input-file", " --from-json <path|-> Read a full request payload", " --timeout-ms <milliseconds> Pane creation timeout", " --wait-ready Wait for the agent's input box, then deliver and verify the prompt", " --ready-timeout-ms <ms> Readiness wait timeout; defaults to 30000", " --concurrency <count> Accepted; creation is currently serialized", " --source <user|agent> Mark mutation source; agent implies background creation", " --no-focus Create in the background without stealing focus", " --focus Explicitly focus the created pane", " --pinned Request pinning at creation; first Session association clears it", " --no-pinned Create unpinned (the UI's favorite/pin star)", " --no-associate Do not associate the new pane with the caller's Session", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Validate and preview without creating panes", " --yes Skip confirmation for mutating commands", "", "Outside a Session, creation pins by default, including --source agent. Inside a Session (PANE_ORCHESTRATION_SESSION_ID), children default to unpinned to avoid duplicating them in the global pinned list. First Session association clears the creation pin, including --pinned; use panes pin afterward to pin an associated child."];
2110
+ readonly "panes create": readonly ["Usage:", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]", " runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]", " runpane panes create --from-json <path|-> [--yes] [--json]", "", "Creates a Pane in a saved repository and opens a terminal-backed tool tab. Create one only when the work's branch has no Pane yet; for existing work use `runpane panels create --pane <id>`.", "", "A long or multi-line prompt is never typed into the shell: on bash, zsh or sh the agent launches with `\"$(cat '<prompt file>')\"` reading a private copy under `<pane-dir>/prompts/<pane-id>/`; on PowerShell, cmd, fish or WSL the prompt is pasted into the agent's composer once it is ready.", "", "Options:", " --repo <selector> active, id, exact path, or saved repository name", " --name <name> Pane/session name", " --worktree-name <name> Worktree directory name, cut to 100 characters at a word; defaults to --name", " --branch <name> Exact new branch name (slashes kept); must not exist; defaults to the worktree name", " --base-branch <ref> Ref to branch from; --base is an alias", " --agent <codex|claude|cursor|opencode|pi> Built-in terminal template; with --tool-command, the agent it runs", " --tool-command <command> Custom terminal command", " --title <title> Terminal tab title", " --initial-input <text> Text sent after the command is ready", " --prompt <text> Alias for --initial-input", " --initial-input-file <path|-> Read initial input from a file or stdin", " --as-file-pointer Send `Read and follow <prompt file>` instead of the prompt", " --attach <file> Copy a file beside the prompt file and list it; repeatable", " --expect-report Expect a `runpane report` even for --source user work (the default otherwise)", " --no-expect-report Fire-and-forget: no agent.report.missing if the agent ends without reporting", " --wait Block until this panel reports, misses its report, waits on a prompt, or exits;", " print one JSON line (exit 0 report, 3 missing, 4 blocked, 5 exited, 124 timeout)", " --timeout <duration> With --wait: give up after this long (30m, 2h)", " --prompt-file <path|-> Alias for --initial-input-file", " --from-json <path|-> Read a full request payload", " --timeout-ms <milliseconds> Pane creation timeout", " --wait-ready Wait for the agent's input box, then deliver and verify the prompt", " --ready-timeout-ms <ms> Readiness wait timeout; defaults to 30000", " --concurrency <count> Accepted; creation is currently serialized", " --source <user|agent> Mark mutation source; agent implies background creation", " --no-focus Create in the background without stealing focus", " --focus Explicitly focus the created pane", " --pinned Request pinning at creation; first Session association clears it", " --no-pinned Create unpinned (the UI's favorite/pin star)", " --no-associate Do not associate the new pane with the caller's Session", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Validate and preview without creating panes", " --yes Skip confirmation for mutating commands", "", "Outside a Session, creation pins by default, including --source agent. Inside a Session (PANE_ORCHESTRATION_SESSION_ID), children default to unpinned to avoid duplicating them in the global pinned list. First Session association clears the creation pin, including --pinned; use panes pin afterward to pin an associated child."];
2012
2111
  readonly "panes adopt": readonly ["Usage:", " runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor|opencode|pi> [options]", " runpane panes adopt --repo <selector> --path <dir> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [options]", "", "Adopts an existing externally managed git worktree without creating, syncing, or deleting it. Archiving only removes its worktree with `panes archive --remove-worktree`. To start new work on a named branch, use `panes create --base <ref> --branch <name>` instead of `git worktree add` plus adopt.", "", "Options: --resume <id> stages the agent resume command (built-in agents only); --launch runs the command immediately; --prompt <text> or --prompt-file <path|-> and --wait-ready require --launch; --folder <name> groups the pane; --no-pinned opts out of pinning; --no-associate skips automatic Session association; --dry-run previews.", "", "With --tool-command, --agent names the agent the command runs (a wrapper such as `agent-farm run`): Pane launches the command unchanged and treats the panel as that agent. Without --agent, Pane detects Claude Code, Codex and Cursor from the foreground process or the agent's screen, and --wait-ready waits for the detected agent's input box; a command that never shows a supported agent is not ready and nothing is typed into it."];
2013
2112
  readonly "panes archive": readonly ["Usage:", " runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes [--json]", " runpane panes archive --session <id|name> --merged [--closed] [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]", "", "Archives a Pane (session) exactly like the UI Archive action, including removal of its Pane-managed git worktree. Refreshes the configured upstream before checking for unpushed commits and reports exact commit evidence. When the branch has no upstream or its upstream is gone, a merged GitHub pull request whose head is HEAD (found with `gh`) counts as pushed. Refuses unsafe archives unless --force is passed. An adopted worktree is kept unless --remove-worktree is passed, which applies the same safety check and removal. The local branch is always kept. With --session and --merged, archives every Pane associated with the Session whose work is clean and pushed or merged, and reports a reason for each Pane it skips. Use --dry-run to print the evidence without mutating Pane state. Refuses a Pane with an agent mid-turn or waiting for an answer (agent-busy), or with a tab holding unsent composer text or unsaved editor edits (unsent-input), unless --force is passed; the --session sweep skips it. Add --closed to the sweep to also archive Panes whose PR closed without merging.", "", "Options:", " --pane <pane-id> Pane/session id to archive", " --source <user|agent> Mark mutation source", " --force Archive even if the pane has uncommitted, untracked, or unpushed changes, a busy agent, or unsent input", " --remove-worktree Also check and remove an adopted Pane's worktree (the branch is kept)", " --session <id|name> Archive the Panes associated with this Session (requires --merged)", " --merged Only archive Panes that are clean and pushed, or merged via a PR", " --closed With --session --merged, also archive Panes whose PR closed unmerged", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Refresh and print archive safety evidence without archiving", " --yes Skip confirmation for mutating commands"];
2014
2113
  readonly "panes pin": readonly ["Usage:", " runpane panes pin --pane <pane-id> --yes [--dry-run] [--json]", "", "Declaratively pins a Pane using the Pane UI's favorite/pin star. Repeating the command is idempotent and never changes focus. Use --dry-run to validate and preview without mutating.", "", "Options:", " --pane <pane-id> Pane/session id to pin", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Validate and preview without pinning the pane", " --yes Skip confirmation for mutating commands"];
@@ -2109,6 +2208,15 @@ export declare const RUNPANE_CONTRACT: {
2109
2208
  readonly "panes resume": readonly ["Usage:", " runpane panes resume --pane <pane-id> --yes [--json] [--pane-dir <path>]", "", "Restarts a Pane's paused tabs in place, the same restart `panels resume` runs: agents", "relaunch in their saved conversations and report ready as usual. Running tabs are left alone.", "`runpane watch` reports each resumed tab as panel.unpaused.", "", "Options:", " --pane <pane-id> Pane id", " --yes Skip the confirmation prompt", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
2110
2209
  readonly "sessions pause": readonly ["Usage:", " runpane sessions pause --session <id|name> [--json] [--pane-dir <path>]", "", "Pauses the terminal tabs of a Session's chat and of every Pane in it that is not archived (Pause leaves a chat tab running: its agent keeps running, and the result says so),", "until `runpane sessions resume` resumes them.", "Stopping works the way quitting Pane does, without asking, even while an agent is working.", "Each agent's conversation is kept. A paused terminal tab stays stopped through clicks, app restarts", "and updates, and `panels resume --session` and `--all-stopped` skip it.", "`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.", "", "Options:", " --session <id|name> Named Session id or exact name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
2111
2210
  readonly "sessions resume": readonly ["Usage:", " runpane sessions resume --session <id|name> [--json] [--pane-dir <path>]", "", "Restarts the paused tabs of a Session's chat and Panes in their saved conversations.", "Running tabs are left alone. An archived Session is refused; restore it first.", "`runpane watch` reports each resumed tab as panel.unpaused.", "", "Options:", " --session <id|name> Named Session id or exact name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
2211
+ readonly "devices list": readonly ["Usage:", " runpane devices list [--json] [--pane-dir <path>]", "", "Lists this machine's iOS simulators and Android emulators, plus the iOS machine Pane uses when this one has no Xcode. paneMade marks the devices Pane created; device_open uses those unless you name another.", "", "Options:", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
2212
+ readonly "devices open": readonly ["Usage:", " runpane devices open --platform <ios|android> [--device <name-or-id>] [--json] [--pane-dir <path>]", "", "Leases a device to the calling tab's Pane and boots it. Without --device, Pane uses its own device (Pane iPhone or Pane_Android) and makes one from the newest installed runtime when needed. The first call on a machine installs Pane's device tools (agent-device and Expo's device hub), which takes a minute. When every device Pane may boot is held by another Pane, it waits up to 60 seconds, then fails with ERR_DEVICE_BUSY naming the holder. On a machine without Xcode, iOS opens on a linked Mac. Later device calls act on this device; you never pass it again.", "", "Options:", " --platform <ios|android> ios for an iOS simulator, android for an Android emulator", " --device <name-or-id> One of the person's own devices by name or id, from device_list. Leave it out to use Pane's own device", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
2213
+ readonly "devices screenshot": readonly ["Usage:", " runpane devices screenshot [--json] [--pane-dir <path>]", "", "Returns the PNG's path; MCP clients also get the image itself.", "", "Options:", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
2214
+ readonly "devices act": readonly ["Usage:", " runpane devices act [--json] [--pane-dir <path>] -- <command>", "", "Passes the command to agent-device, pinned to the device this Pane holds. Start with `open <app id>`, then `snapshot -i` for @refs, then `press @eN --settle`. agent-device's own help: `help workflow`. Flags that pick another device, session or daemon (--session, --device, --udid, --serial, --platform) are refused.", "", "Options:", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
2215
+ readonly "devices run": readonly ["Usage:", " runpane devices run [--background] [--wait-ms <milliseconds>] [--json] [--pane-dir <path>] -- <command>", "", "On this machine it runs in the Pane's worktree. When the device runs on a linked Mac, Pane first syncs the worktree there (uncommitted changes included) and runs in Pane's checkout on the Mac. It waits up to --wait-ms (default 120000) and returns the exit code and log tail, or a jobId while it still runs. --background keeps a server such as Metro running until device_close. Pass an empty command to sync only.", "", "Options:", " --background Keep the command running after the call returns (Metro); it stops at device_close", " --wait-ms <milliseconds> How long to wait for the command to exit (default 120000)", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
2216
+ readonly "devices close": readonly ["Usage:", " runpane devices close [--json] [--pane-dir <path>]", "", "Ends the lease so another Pane can use the device. It shuts down 10 minutes later unless a Pane opens it again.", "", "Options:", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
2217
+ readonly "devices usage": readonly ["Usage:", " runpane devices usage [--json] [--pane-dir <path>]", "", "For machine health. Lists every simulator and emulator on this machine, including ones made outside Pane (paneMade false), with OS, disk and, when booted, memory (simslim measure when installed, otherwise the simulator's processes).", "", "Options:", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
2218
+ readonly "devices free": readonly ["Usage:", " runpane devices free (--idle|--all) --yes [--json] [--pane-dir <path>]", "", "Never touches the person's own devices or runtimes, or a device a Pane holds.", "", "Options:", " --idle Shut down Pane's devices no Pane holds", " --all Also erase and delete them", " --yes Confirm the change", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
2219
+ readonly devices: readonly ["Usage:", " runpane devices <list|open|screenshot|act|run|close|usage|free> [options]", "", "Phone simulators and emulators for agents. device_open boots a device for the calling tab's Pane and shows its live screen in a device tab beside the agent; the other commands act only on that Pane's device.", "On a machine without Xcode, iOS runs on a linked Mac. See docs/DEVICES.md.", "", "Commands:", " runpane devices list [--json] [--pane-dir <path>]", " runpane devices open --platform <ios|android> [--device <name-or-id>] [--json] [--pane-dir <path>]", " runpane devices screenshot [--json] [--pane-dir <path>]", " runpane devices act [--json] [--pane-dir <path>] -- <command>", " runpane devices run [--background] [--wait-ms <milliseconds>] [--json] [--pane-dir <path>] -- <command>", " runpane devices close [--json] [--pane-dir <path>]", " runpane devices usage [--json] [--pane-dir <path>]", " runpane devices free (--idle|--all) --yes [--json] [--pane-dir <path>]"];
2112
2220
  };
2113
2221
  readonly pip: {
2114
2222
  readonly default: readonly ["Usage:", " runpane", " runpane setup", " runpane install [client|daemon] [options]", " runpane update [options]", " runpane version", " runpane doctor", " runpane doctor --report --body-file <path|->", " runpane daemon repair [--pane-dir <path>] [--yes] [--json]", " runpane agent-context [--json]", " runpane mcp [--toolsets <name,...>] [--read-only]", " runpane relay [pane-relay flags...]", " runpane link <link> [--yes] [--json]", " runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json]", " runpane repos list [--json]", " runpane repos add --path <path> [--name <name>]", " runpane repos get [--repo <selector>] [--json]", " runpane repos update --repo <selector> [setting flags] --yes [--dry-run] [--json]", " runpane repos rename --repo <selector> --name <name>", " runpane secrets list [--project <project>] [--json]", " runpane secrets set --project <project> --name <name> --yes (value on stdin)", " runpane secrets delete --project <project> --name <name> --yes", " runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>] [--file <name>] -- <command>...", " runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]", " runpane panes list [--repo <selector>] [--json]", " runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]", " runpane workspace state [--repo <selector>] [--json]", " runpane watch --follow", " runpane watch --until-event", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [--base-branch <branch>] [--source user|agent] [--focus|--no-focus] [--wait-ready]", " runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes", " runpane panes archive --session <id|name> --merged [--closed] [--remove-worktree] [--dry-run] --yes", " runpane panes pause|resume --pane <pane-id> --yes [--json]", " python -m runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode|pi> [--source user|agent] [--focus|--no-focus] --yes", " runpane panels list --pane <pane-id> [--json]", " runpane panels output --panel <panel-id> [--limit <count>] [--json]", " runpane panels screen --panel <panel-id> [--limit <count>] [--json]", " runpane panels input --panel <panel-id> (--text <text>|--keys <name,...>|--input-file <path|->) --yes [--json]", " runpane panels submit --panel <panel-id> (--text <text>|--input-file <path|->) --yes [--json]", " runpane panels submit-composer --panel <panel-id> [--strategy auto|codex-ctrl-enter|enter|tab] --yes [--json]", " runpane panels wait --panel <panel-id> [--for initialized|ready|idle|text] [--json]", " runpane panels resume (--panel <panel-id>|--session <id|name>|--all-stopped) [--wait-ready] --yes [--json]", " runpane panels pause --panel <panel-id> --yes [--json]", " runpane panels last-message --panel <panel-id> [--limit <count>] [--json]", " runpane panels conversation (--conversation <id> [--source startup|resume|clear|compact]|--hook) [--json]", " runpane panels close --panel <panel-id> [--dry-run] [--force] --yes [--json]", " runpane panes git-status --pane <pane-id> [--json] [--pane-dir <path>]", " runpane panes commit --pane <pane-id> --message <message> --yes [--json] [--pane-dir <path>]", " runpane panes push --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes pull --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes rebase-main --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes restore --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane links create --pane <pane-id> [--panel <panel-id>] [--json]", " runpane links open --url <pane-url> --yes [--json] [--pane-dir <path>]", " runpane docs search --query <text> [--limit <count>] [--json]", " runpane docs read --doc <path> [--json]", " runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode|pi>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]", " runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]", " runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]", " runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text>] [--json]", " runpane notify --ui <options|approve|ask|info> --title <text> [--choices <json>] [--relays <item>] [--resume <id>] [--took <id|Q-n> <answer|question>] [--update <id|Q-n> ...] [--json]", " runpane inbox [--session <id|name>] [--json]", " runpane inbox ack <item-id>... [--decision <D-n>] [--session <id|name>] [--json]", " runpane autopilot status|waiting|stack [--json]", " runpane autopilot stack push (--item <id>|--file <path>|--url <url>|--session <id|name>) [--next] [--json]", " runpane autopilot answer <id> (--choice <label>|--approve|--deny|--text <text>) --because <why> [--json]", " runpane autopilot close <id> --reason <why> [--json]", " runpane autopilot rewrite <id> --ui <options|approve|ask> --title <text> [--choices <json>] [--json]", " runpane panes squash-rebase --pane <pane-id> --message <message> --yes [--json] [--pane-dir <path>]", " runpane panes stash --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes stash-pop --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes soft-reset --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes fetch --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes run-script --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes stop-script --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes move --pane <pane-id> --folder <folder-id> --yes [--json] [--pane-dir <path>]", " runpane folders list --repo <repo-id> [--json] [--pane-dir <path>]", " runpane folders create --repo <repo-id> --name <name> --yes [--json] [--pane-dir <path>]", " runpane lock acquire --name <name> --ttl <duration> [--wait <milliseconds>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock release --name <name> [--force] [--session <id|name>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock list [--session <id|name>] [--json] [--pane-dir <path>]", " python -m runpane loops list [--json]", " python -m runpane loops create (--repo <selector>|--session <id|name|new>) --name <name> --cron <expr> (--agent <claude|codex|cursor>|--tool-command <command>) [--prompt <text>] --yes", " python -m runpane loops update|run|pause|resume|delete --loop <id> --yes", " runpane help [command]", "", "Quick start:", " pipx run runpane", " python -m pip install runpane && python -m runpane setup", "", "Advanced examples:", " pipx run runpane install client", " pipx run runpane install daemon --label \"My Server\"", " uvx runpane@latest", "", "Common commands:", " runpane help", " runpane setup", " runpane install", " runpane doctor", "", "Agent discovery:", " runpane doctor --json", " runpane agent-context --json", " runpane agent-context --command \"<command>\" --json", "", "Run \"runpane help panes create\" for pane orchestration options."];
@@ -2139,7 +2247,7 @@ export declare const RUNPANE_CONTRACT: {
2139
2247
  readonly workspace: readonly ["Workspace commands: this machine's Panes, and your other machines over Tailscale or the routes Pane saved for them.", "", "Usage:", " runpane workspace state [--repo <selector>] [--json]", " runpane watch --follow", "", "runpane workspace list|read|write|exec|enable|disable ship in the npm package: npx --yes runpane@latest workspace list"];
2140
2248
  readonly "workspace state": readonly ["Usage:", " runpane workspace state [--repo <selector>] [--json]", "", "Returns one workspace snapshot of every Pane and CLI panel."];
2141
2249
  readonly watch: readonly ["Usage:", " runpane watch Print what changed since your cursor, then exit", " runpane watch --follow Keep watching, tuned for an agent watching unattended", " runpane watch --until-event Wait for one event worth waking for, print it, exit 0", "", "Waits for agent, Pane, panel, and PR events from the daemon without polling.", "", "What --follow does by default (see defaults.watch.follow in the contract):", " prints WATCH OK once when armed, then one line per event, with no heartbeats", " kinds: agent.report, agent.ready, agent.blocked, agent.idle, panel.exited, panel.stopped,", " panel.paused, panel.unpaused, pane.gone, pane.associated, pane.detached,", " pr.conflicted, pr.checks, pr.merged, pr.base_changed, pr.base_deleted", " READY after 3m of quiet; BLOCKED after 30s; other lines batched at most every 10m", " (REPORT, BLOCKED, conflicts, base changes, and failed checks arrive at once)", " IDLE reminders at 10m, 30m, 1h, 3h, then daily", " ends with WATCH EXPIRED and exit 0 after 3h with nothing but IDLE", "", "What --until-event does by default: waits for agent.report, agent.blocked, panel.exited,", "or pane.gone, prints that one line, and exits 0. Run it as a background task, act on", "its line, then run it again; its named cursor means nothing is missed between runs.", "Single-event waits deliver immediately without follow settling or batching.", "--follow --since <generation> has no consumer name and bypasses settling and batching. Cadence requires a named follow consumer; --as cannot be combined with numeric --since.", "agent.report.missing (an agent given work ended its turn or exited without `runpane report`) is opt-in:", "add it to --kinds to wake on MISSING REPORT too.", "Autopilot's kinds are opt-in the same way, never in a default: item.created and item.answered", "(ITEM|ANSWERED <pane-name> pane <pane-id> [panel <panel-id>] <item-id>: <title>), session.created", "and session.archived (SESSION NEW|ARCHIVED <name> pane <pane-id> session <session-id>), and", "orchestrator.turn_ended (TURN ENDED <session-name> pane <pane-id> panel <panel-id> session <session-id>).", "", "Options:", " --session <id|name> Watch every Pane in a Session; associate/detach apply live", " --pane <id> Watch one Pane; repeatable (default: every managed Pane)", " --exclude-pane <id> Leave out a Pane; repeatable", " --repo <selector> Limit to a saved repository", " --name-contains <text> Limit by Pane name substring", " --include-shells Include plain shell panels (default: agent panels only)", " --kinds <kind,...> Replace the default event kinds", " --json One JSON object per line", " --as <name> Name the cursor (default: from --session or this panel)", " --since <generation> Use an explicit cursor instead of a name", " --epoch <epoch> Pair with --since to detect journal resets", " --from <now|earliest> Where a new named cursor starts (default: now)", " --self-test Check the daemon watch path and exit", "", "Overrides (durations such as 30s, 10m, 3h; a bare number is milliseconds; 0 turns it off):", " --ready-settle <duration> Quiet time before READY (default 3m)", " --blocked-settle <duration> Time before BLOCKED (default 30s)", " --min-interval <duration> Batch window for non-urgent lines (default 10m)", " --idle-after <duration> First IDLE reminder (default 10m)", " --expire-after <duration> End after this long with nothing but IDLE (default 3h)", " --heartbeat <duration> Print a HEARTBEAT line this often (default off)", " --timeout-ms <duration> Per-request wait; with --until-event, the total deadline (exit 124)", " --limit <count> Maximum entries per response", " --ack-now At-most-once cursor delivery", " --include-held-input Include unsubmitted composer text in JSON", " --no-held-input Turn off STUCK detection", " --pane-dir <path> Connect to a specific Pane data directory", "", "How a watch ends: WATCH EXPIRED (exit 0) means nothing happened; arm a new one with the next", "dispatch. A non-zero exit or a WATCH ERROR line means it failed: say so and re-arm once. Judge", "a watch by WATCH OK and these endings, never by silence. Never pipe --follow into grep -m1 or head.", "STUCK means real unsubmitted composer text; a prompt suggestion never counts."];
2142
- readonly "panes create": readonly ["Usage:", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]", " python -m runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]", " runpane panes create --from-json <path|-> [--yes] [--json]", "", "Creates a Pane in a saved repository and opens a terminal-backed tool tab. Create one only when the work's branch has no Pane yet; for existing work use `runpane panels create --pane <id>`.", "", "A long or multi-line prompt is never typed into the shell: on bash, zsh or sh the agent launches with `\"$(cat '<prompt file>')\"` reading a private copy under `<pane-dir>/prompts/<pane-id>/`; on PowerShell, cmd, fish or WSL the prompt is pasted into the agent's composer once it is ready.", "", "Options:", " --repo <selector> active, id, exact path, or saved repository name", " --name <name> Pane/session name", " --worktree-name <name> Worktree directory name; defaults to --name", " --branch <name> Exact new branch name (slashes kept); must not exist; defaults to the worktree name", " --base-branch <ref> Ref to branch from; --base is an alias", " --agent <codex|claude|cursor|opencode|pi> Built-in terminal template; with --tool-command, the agent it runs", " --tool-command <command> Custom terminal command", " --title <title> Terminal tab title", " --initial-input <text> Text sent after the command is ready", " --prompt <text> Alias for --initial-input", " --initial-input-file <path|-> Read initial input from a file or stdin", " --as-file-pointer Send `Read and follow <prompt file>` instead of the prompt", " --attach <file> Copy a file beside the prompt file and list it; repeatable", " --expect-report Expect a `runpane report` even for --source user work (the default otherwise)", " --no-expect-report Fire-and-forget: no agent.report.missing if the agent ends without reporting", " --wait Block until this panel reports, misses its report, waits on a prompt, or exits;", " print one JSON line (exit 0 report, 3 missing, 4 blocked, 5 exited, 124 timeout)", " --timeout <duration> With --wait: give up after this long (30m, 2h)", " --prompt-file <path|-> Alias for --initial-input-file", " --from-json <path|-> Read a full request payload", " --timeout-ms <milliseconds> Pane creation timeout", " --wait-ready Wait for the agent's input box, then deliver and verify the prompt", " --ready-timeout-ms <ms> Readiness wait timeout; defaults to 30000", " --concurrency <count> Accepted; creation is currently serialized", " --source <user|agent> Mark mutation source; agent implies background creation", " --no-focus Create in the background without stealing focus", " --focus Explicitly focus the created pane", " --pinned Request pinning at creation; first Session association clears it", " --no-pinned Create unpinned (the UI's favorite/pin star)", " --no-associate Do not associate the new pane with the caller's Session", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Validate and preview without creating panes", " --yes Skip confirmation for mutating commands", "", "Outside a Session, creation pins by default, including --source agent. Inside a Session (PANE_ORCHESTRATION_SESSION_ID), children default to unpinned to avoid duplicating them in the global pinned list. First Session association clears the creation pin, including --pinned; use panes pin afterward to pin an associated child."];
2250
+ readonly "panes create": readonly ["Usage:", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]", " python -m runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]", " runpane panes create --from-json <path|-> [--yes] [--json]", "", "Creates a Pane in a saved repository and opens a terminal-backed tool tab. Create one only when the work's branch has no Pane yet; for existing work use `runpane panels create --pane <id>`.", "", "A long or multi-line prompt is never typed into the shell: on bash, zsh or sh the agent launches with `\"$(cat '<prompt file>')\"` reading a private copy under `<pane-dir>/prompts/<pane-id>/`; on PowerShell, cmd, fish or WSL the prompt is pasted into the agent's composer once it is ready.", "", "Options:", " --repo <selector> active, id, exact path, or saved repository name", " --name <name> Pane/session name", " --worktree-name <name> Worktree directory name, cut to 100 characters at a word; defaults to --name", " --branch <name> Exact new branch name (slashes kept); must not exist; defaults to the worktree name", " --base-branch <ref> Ref to branch from; --base is an alias", " --agent <codex|claude|cursor|opencode|pi> Built-in terminal template; with --tool-command, the agent it runs", " --tool-command <command> Custom terminal command", " --title <title> Terminal tab title", " --initial-input <text> Text sent after the command is ready", " --prompt <text> Alias for --initial-input", " --initial-input-file <path|-> Read initial input from a file or stdin", " --as-file-pointer Send `Read and follow <prompt file>` instead of the prompt", " --attach <file> Copy a file beside the prompt file and list it; repeatable", " --expect-report Expect a `runpane report` even for --source user work (the default otherwise)", " --no-expect-report Fire-and-forget: no agent.report.missing if the agent ends without reporting", " --wait Block until this panel reports, misses its report, waits on a prompt, or exits;", " print one JSON line (exit 0 report, 3 missing, 4 blocked, 5 exited, 124 timeout)", " --timeout <duration> With --wait: give up after this long (30m, 2h)", " --prompt-file <path|-> Alias for --initial-input-file", " --from-json <path|-> Read a full request payload", " --timeout-ms <milliseconds> Pane creation timeout", " --wait-ready Wait for the agent's input box, then deliver and verify the prompt", " --ready-timeout-ms <ms> Readiness wait timeout; defaults to 30000", " --concurrency <count> Accepted; creation is currently serialized", " --source <user|agent> Mark mutation source; agent implies background creation", " --no-focus Create in the background without stealing focus", " --focus Explicitly focus the created pane", " --pinned Request pinning at creation; first Session association clears it", " --no-pinned Create unpinned (the UI's favorite/pin star)", " --no-associate Do not associate the new pane with the caller's Session", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Validate and preview without creating panes", " --yes Skip confirmation for mutating commands", "", "Outside a Session, creation pins by default, including --source agent. Inside a Session (PANE_ORCHESTRATION_SESSION_ID), children default to unpinned to avoid duplicating them in the global pinned list. First Session association clears the creation pin, including --pinned; use panes pin afterward to pin an associated child."];
2143
2251
  readonly "panes adopt": readonly ["Usage:", " runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor|opencode|pi> [options]", " runpane panes adopt --repo <selector> --path <dir> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [options]", "", "Adopts an existing externally managed git worktree without creating, syncing, or deleting it. Archiving only removes its worktree with `panes archive --remove-worktree`. To start new work on a named branch, use `panes create --base <ref> --branch <name>` instead of `git worktree add` plus adopt.", "", "Options: --resume <id> stages the agent resume command (built-in agents only); --launch runs the command immediately; --prompt <text> or --prompt-file <path|-> and --wait-ready require --launch; --folder <name> groups the pane; --no-pinned opts out of pinning; --no-associate skips automatic Session association; --dry-run previews.", "", "With --tool-command, --agent names the agent the command runs (a wrapper such as `agent-farm run`): Pane launches the command unchanged and treats the panel as that agent. Without --agent, Pane detects Claude Code, Codex and Cursor from the foreground process or the agent's screen, and --wait-ready waits for the detected agent's input box; a command that never shows a supported agent is not ready and nothing is typed into it."];
2144
2252
  readonly "panes archive": readonly ["Usage:", " runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes [--json]", " runpane panes archive --session <id|name> --merged [--closed] [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]", "", "Archives a Pane (session) exactly like the UI Archive action, including removal of its Pane-managed git worktree. Refreshes the configured upstream before checking for unpushed commits and reports exact commit evidence. When the branch has no upstream or its upstream is gone, a merged GitHub pull request whose head is HEAD (found with `gh`) counts as pushed. Refuses unsafe archives unless --force is passed. An adopted worktree is kept unless --remove-worktree is passed, which applies the same safety check and removal. The local branch is always kept. With --session and --merged, archives every Pane associated with the Session whose work is clean and pushed or merged, and reports a reason for each Pane it skips. Use --dry-run to print the evidence without mutating Pane state. Refuses a Pane with an agent mid-turn or waiting for an answer (agent-busy), or with a tab holding unsent composer text or unsaved editor edits (unsent-input), unless --force is passed; the --session sweep skips it. Add --closed to the sweep to also archive Panes whose PR closed without merging.", "", "Options:", " --pane <pane-id>", " --source <user|agent>", " --force", " --remove-worktree", " --session <id|name>", " --merged", " --closed", " --pane-dir <path>", " --json", " --dry-run", " --yes"];
2145
2253
  readonly "panes pin": readonly ["Usage:", " runpane panes pin --pane <pane-id> --yes [--dry-run] [--json]", "", "Declaratively pins a Pane using the Pane UI's favorite/pin star. Repeating the command is idempotent and never changes focus. Use --dry-run to validate and preview without mutating.", "", "Options:", " --pane <pane-id>", " --pane-dir <path>", " --json", " --dry-run", " --yes"];
@@ -2240,6 +2348,15 @@ export declare const RUNPANE_CONTRACT: {
2240
2348
  readonly "panes resume": readonly ["Usage:", " runpane panes resume --pane <pane-id> --yes [--json] [--pane-dir <path>]", "", "Restarts a Pane's paused tabs in place, the same restart `panels resume` runs: agents", "relaunch in their saved conversations and report ready as usual. Running tabs are left alone.", "`runpane watch` reports each resumed tab as panel.unpaused.", "", "Options:", " --pane <pane-id> Pane id", " --yes Skip the confirmation prompt", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
2241
2349
  readonly "sessions pause": readonly ["Usage:", " runpane sessions pause --session <id|name> [--json] [--pane-dir <path>]", "", "Pauses the terminal tabs of a Session's chat and of every Pane in it that is not archived (Pause leaves a chat tab running: its agent keeps running, and the result says so),", "until `runpane sessions resume` resumes them.", "Stopping works the way quitting Pane does, without asking, even while an agent is working.", "Each agent's conversation is kept. A paused terminal tab stays stopped through clicks, app restarts", "and updates, and `panels resume --session` and `--all-stopped` skip it.", "`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.", "", "Options:", " --session <id|name> Named Session id or exact name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
2242
2350
  readonly "sessions resume": readonly ["Usage:", " runpane sessions resume --session <id|name> [--json] [--pane-dir <path>]", "", "Restarts the paused tabs of a Session's chat and Panes in their saved conversations.", "Running tabs are left alone. An archived Session is refused; restore it first.", "`runpane watch` reports each resumed tab as panel.unpaused.", "", "Options:", " --session <id|name> Named Session id or exact name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
2351
+ readonly "devices list": readonly ["Usage:", " runpane devices list [--json] [--pane-dir <path>]", "", "`runpane devices list` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest devices list"];
2352
+ readonly "devices open": readonly ["Usage:", " runpane devices open --platform <ios|android> [--device <name-or-id>] [--json] [--pane-dir <path>]", "", "`runpane devices open` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest devices open"];
2353
+ readonly "devices screenshot": readonly ["Usage:", " runpane devices screenshot [--json] [--pane-dir <path>]", "", "`runpane devices screenshot` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest devices screenshot"];
2354
+ readonly "devices act": readonly ["Usage:", " runpane devices act [--json] [--pane-dir <path>] -- <command>", "", "`runpane devices act` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest devices act"];
2355
+ readonly "devices run": readonly ["Usage:", " runpane devices run [--background] [--wait-ms <milliseconds>] [--json] [--pane-dir <path>] -- <command>", "", "`runpane devices run` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest devices run"];
2356
+ readonly "devices close": readonly ["Usage:", " runpane devices close [--json] [--pane-dir <path>]", "", "`runpane devices close` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest devices close"];
2357
+ readonly "devices usage": readonly ["Usage:", " runpane devices usage [--json] [--pane-dir <path>]", "", "`runpane devices usage` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest devices usage"];
2358
+ readonly "devices free": readonly ["Usage:", " runpane devices free (--idle|--all) --yes [--json] [--pane-dir <path>]", "", "`runpane devices free` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest devices free"];
2359
+ readonly devices: readonly ["Usage:", " runpane devices <list|open|screenshot|act|run|close|usage|free> [options]", "", "`runpane devices` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest devices"];
2243
2360
  };
2244
2361
  };
2245
2362
  readonly docs: {
@@ -9418,6 +9535,373 @@ export declare const RUNPANE_CONTRACT: {
9418
9535
  };
9419
9536
  readonly additionalProperties: false;
9420
9537
  };
9538
+ readonly deviceSummary: {
9539
+ readonly type: "object";
9540
+ readonly required: readonly ["id", "platform", "name", "os", "machine", "state", "paneMade"];
9541
+ readonly properties: {
9542
+ readonly id: {
9543
+ readonly type: "string";
9544
+ };
9545
+ readonly platform: {
9546
+ readonly enum: readonly ["ios", "android"];
9547
+ };
9548
+ readonly name: {
9549
+ readonly type: "string";
9550
+ };
9551
+ readonly os: {
9552
+ readonly type: "string";
9553
+ };
9554
+ readonly machine: {
9555
+ readonly type: "string";
9556
+ readonly description: "The machine the device runs on.";
9557
+ };
9558
+ readonly state: {
9559
+ readonly enum: readonly ["booted", "shutdown"];
9560
+ };
9561
+ readonly paneMade: {
9562
+ readonly type: "boolean";
9563
+ readonly description: "Pane created this device; it erases and deletes only these.";
9564
+ };
9565
+ readonly heldBy: {
9566
+ readonly type: "object";
9567
+ readonly required: readonly ["paneId", "paneName"];
9568
+ readonly properties: {
9569
+ readonly paneId: {
9570
+ readonly type: "string";
9571
+ };
9572
+ readonly paneName: {
9573
+ readonly type: "string";
9574
+ };
9575
+ };
9576
+ readonly additionalProperties: false;
9577
+ };
9578
+ };
9579
+ readonly additionalProperties: false;
9580
+ };
9581
+ readonly devicesListResult: {
9582
+ readonly type: "object";
9583
+ readonly required: readonly ["ok", "devices"];
9584
+ readonly properties: {
9585
+ readonly ok: {
9586
+ readonly const: true;
9587
+ };
9588
+ readonly devices: {
9589
+ readonly type: "array";
9590
+ readonly items: {
9591
+ readonly $ref: "#/jsonSchemas/deviceSummary";
9592
+ };
9593
+ };
9594
+ };
9595
+ readonly additionalProperties: false;
9596
+ };
9597
+ readonly devicesOpenResult: {
9598
+ readonly type: "object";
9599
+ readonly required: readonly ["ok", "device", "machine", "panelId", "paneDevice", "next"];
9600
+ readonly properties: {
9601
+ readonly ok: {
9602
+ readonly const: true;
9603
+ };
9604
+ readonly device: {
9605
+ readonly $ref: "#/jsonSchemas/deviceSummary";
9606
+ };
9607
+ readonly machine: {
9608
+ readonly type: "object";
9609
+ readonly required: readonly ["name", "reason"];
9610
+ readonly properties: {
9611
+ readonly name: {
9612
+ readonly type: "string";
9613
+ };
9614
+ readonly reason: {
9615
+ readonly type: "string";
9616
+ readonly description: "Why this machine runs the device.";
9617
+ };
9618
+ };
9619
+ readonly additionalProperties: false;
9620
+ };
9621
+ readonly panelId: {
9622
+ readonly type: "string";
9623
+ readonly description: "The device tab beside the agent.";
9624
+ };
9625
+ readonly paneDevice: {
9626
+ readonly type: "object";
9627
+ readonly description: "Marker a chat tab uses to show the device card.";
9628
+ readonly required: readonly ["kind", "panelId", "name", "machine"];
9629
+ readonly properties: {
9630
+ readonly kind: {
9631
+ readonly const: "pane-device";
9632
+ };
9633
+ readonly panelId: {
9634
+ readonly type: "string";
9635
+ };
9636
+ readonly name: {
9637
+ readonly type: "string";
9638
+ };
9639
+ readonly os: {
9640
+ readonly type: "string";
9641
+ };
9642
+ readonly machine: {
9643
+ readonly type: "string";
9644
+ };
9645
+ };
9646
+ readonly additionalProperties: false;
9647
+ };
9648
+ readonly next: {
9649
+ readonly type: "string";
9650
+ };
9651
+ };
9652
+ readonly additionalProperties: false;
9653
+ };
9654
+ readonly devicesScreenshotResult: {
9655
+ readonly type: "object";
9656
+ readonly required: readonly ["ok", "path", "mimeType"];
9657
+ readonly properties: {
9658
+ readonly ok: {
9659
+ readonly const: true;
9660
+ };
9661
+ readonly path: {
9662
+ readonly type: "string";
9663
+ readonly description: "PNG on the caller's machine.";
9664
+ };
9665
+ readonly mimeType: {
9666
+ readonly const: "image/png";
9667
+ };
9668
+ readonly width: {
9669
+ readonly type: "number";
9670
+ };
9671
+ readonly height: {
9672
+ readonly type: "number";
9673
+ };
9674
+ };
9675
+ readonly additionalProperties: false;
9676
+ };
9677
+ readonly devicesActResult: {
9678
+ readonly type: "object";
9679
+ readonly required: readonly ["ok", "exitCode", "output"];
9680
+ readonly properties: {
9681
+ readonly ok: {
9682
+ readonly const: true;
9683
+ };
9684
+ readonly exitCode: {
9685
+ readonly type: "number";
9686
+ readonly description: "agent-device's exit code.";
9687
+ };
9688
+ readonly output: {
9689
+ readonly type: "string";
9690
+ readonly description: "agent-device's output.";
9691
+ };
9692
+ };
9693
+ readonly additionalProperties: false;
9694
+ };
9695
+ readonly devicesRunResult: {
9696
+ readonly type: "object";
9697
+ readonly required: readonly ["ok"];
9698
+ readonly properties: {
9699
+ readonly ok: {
9700
+ readonly const: true;
9701
+ };
9702
+ readonly synced: {
9703
+ readonly type: "boolean";
9704
+ };
9705
+ readonly cwd: {
9706
+ readonly type: "string";
9707
+ readonly description: "Where the command ran: the worktree, or Pane's synced checkout on a linked Mac.";
9708
+ };
9709
+ readonly machine: {
9710
+ readonly type: "string";
9711
+ };
9712
+ readonly jobId: {
9713
+ readonly type: "string";
9714
+ };
9715
+ readonly state: {
9716
+ readonly enum: readonly ["running", "exited"];
9717
+ };
9718
+ readonly exitCode: {
9719
+ readonly type: "number";
9720
+ };
9721
+ readonly logTail: {
9722
+ readonly type: "string";
9723
+ };
9724
+ };
9725
+ readonly additionalProperties: false;
9726
+ };
9727
+ readonly devicesCloseResult: {
9728
+ readonly type: "object";
9729
+ readonly required: readonly ["ok", "closed", "jobsStopped"];
9730
+ readonly properties: {
9731
+ readonly ok: {
9732
+ readonly const: true;
9733
+ };
9734
+ readonly closed: {
9735
+ readonly type: "array";
9736
+ readonly items: {
9737
+ readonly type: "string";
9738
+ };
9739
+ };
9740
+ readonly jobsStopped: {
9741
+ readonly type: "number";
9742
+ };
9743
+ };
9744
+ readonly additionalProperties: false;
9745
+ };
9746
+ readonly devicesUsageResult: {
9747
+ readonly type: "object";
9748
+ readonly required: readonly ["ok", "machines"];
9749
+ readonly properties: {
9750
+ readonly ok: {
9751
+ readonly const: true;
9752
+ };
9753
+ readonly machines: {
9754
+ readonly type: "array";
9755
+ readonly items: {
9756
+ readonly type: "object";
9757
+ readonly required: readonly ["machine", "devices", "helpers", "checkouts", "runtimes", "slimSim"];
9758
+ readonly properties: {
9759
+ readonly machine: {
9760
+ readonly type: "string";
9761
+ };
9762
+ readonly devices: {
9763
+ readonly type: "array";
9764
+ readonly items: {
9765
+ readonly type: "object";
9766
+ readonly required: readonly ["id", "platform", "name", "os", "paneMade", "booted"];
9767
+ readonly properties: {
9768
+ readonly id: {
9769
+ readonly type: "string";
9770
+ };
9771
+ readonly platform: {
9772
+ readonly enum: readonly ["ios", "android"];
9773
+ };
9774
+ readonly name: {
9775
+ readonly type: "string";
9776
+ };
9777
+ readonly os: {
9778
+ readonly type: "string";
9779
+ readonly description: "The device's OS runtime, such as iOS 27.0.";
9780
+ };
9781
+ readonly paneMade: {
9782
+ readonly type: "boolean";
9783
+ readonly description: "Pane made it; false for simulators made outside Pane.";
9784
+ };
9785
+ readonly booted: {
9786
+ readonly type: "boolean";
9787
+ };
9788
+ readonly heldBy: {
9789
+ readonly type: "string";
9790
+ };
9791
+ readonly lastUsedAt: {
9792
+ readonly type: "string";
9793
+ };
9794
+ readonly memoryBytes: {
9795
+ readonly type: "number";
9796
+ };
9797
+ readonly diskBytes: {
9798
+ readonly type: "number";
9799
+ };
9800
+ };
9801
+ readonly additionalProperties: false;
9802
+ };
9803
+ };
9804
+ readonly helpers: {
9805
+ readonly type: "array";
9806
+ readonly items: {
9807
+ readonly type: "object";
9808
+ readonly required: readonly ["name", "pid", "memoryBytes"];
9809
+ readonly properties: {
9810
+ readonly name: {
9811
+ readonly type: "string";
9812
+ };
9813
+ readonly pid: {
9814
+ readonly type: "number";
9815
+ };
9816
+ readonly memoryBytes: {
9817
+ readonly type: "number";
9818
+ };
9819
+ };
9820
+ readonly additionalProperties: false;
9821
+ };
9822
+ };
9823
+ readonly checkouts: {
9824
+ readonly type: "array";
9825
+ readonly items: {
9826
+ readonly type: "object";
9827
+ readonly required: readonly ["path", "bytes"];
9828
+ readonly properties: {
9829
+ readonly path: {
9830
+ readonly type: "string";
9831
+ };
9832
+ readonly bytes: {
9833
+ readonly type: "number";
9834
+ };
9835
+ };
9836
+ readonly additionalProperties: false;
9837
+ };
9838
+ };
9839
+ readonly runtimes: {
9840
+ readonly type: "array";
9841
+ readonly description: "The OS runtimes and system images installed here, which devices are made from.";
9842
+ readonly items: {
9843
+ readonly type: "object";
9844
+ readonly required: readonly ["platform", "name"];
9845
+ readonly properties: {
9846
+ readonly platform: {
9847
+ readonly enum: readonly ["ios", "android"];
9848
+ };
9849
+ readonly name: {
9850
+ readonly type: "string";
9851
+ };
9852
+ readonly bytes: {
9853
+ readonly type: "number";
9854
+ };
9855
+ };
9856
+ readonly additionalProperties: false;
9857
+ };
9858
+ };
9859
+ readonly slimSim: {
9860
+ readonly type: "boolean";
9861
+ };
9862
+ };
9863
+ readonly additionalProperties: false;
9864
+ };
9865
+ };
9866
+ };
9867
+ readonly additionalProperties: false;
9868
+ };
9869
+ readonly devicesFreeResult: {
9870
+ readonly type: "object";
9871
+ readonly required: readonly ["ok", "machine", "shutdown", "deleted", "checkouts", "freedBytes"];
9872
+ readonly properties: {
9873
+ readonly ok: {
9874
+ readonly const: true;
9875
+ };
9876
+ readonly machine: {
9877
+ readonly type: "string";
9878
+ };
9879
+ readonly shutdown: {
9880
+ readonly type: "array";
9881
+ readonly items: {
9882
+ readonly type: "string";
9883
+ };
9884
+ };
9885
+ readonly deleted: {
9886
+ readonly type: "array";
9887
+ readonly items: {
9888
+ readonly type: "string";
9889
+ };
9890
+ };
9891
+ readonly checkouts: {
9892
+ readonly type: "array";
9893
+ readonly description: "Build checkouts deleted (--all): those no Pane on this machine or a linked computer holds a device for.";
9894
+ readonly items: {
9895
+ readonly type: "string";
9896
+ };
9897
+ };
9898
+ readonly freedBytes: {
9899
+ readonly type: "number";
9900
+ readonly description: "Disk freed by the deleted devices and checkouts.";
9901
+ };
9902
+ };
9903
+ readonly additionalProperties: false;
9904
+ };
9421
9905
  };
9422
9906
  readonly agentContext: {
9423
9907
  readonly intro: {
@@ -10336,7 +10820,7 @@ export declare const RUNPANE_CONTRACT: {
10336
10820
  readonly name: "--worktree-name";
10337
10821
  readonly value: "<name>";
10338
10822
  readonly required: false;
10339
- readonly description: "Worktree directory name; defaults to --name.";
10823
+ readonly description: "Worktree directory name, cut to 100 characters at a word; defaults to --name.";
10340
10824
  }, {
10341
10825
  readonly name: "--prompt";
10342
10826
  readonly value: "<text>";
@@ -14021,8 +14505,207 @@ export declare const RUNPANE_CONTRACT: {
14021
14505
  readonly examples: readonly ["runpane theme reset"];
14022
14506
  readonly notes: readonly ["The person's way back from any Custom theme; an agent switches away with `runpane theme set --theme <id>` instead."];
14023
14507
  };
14508
+ readonly "devices list": {
14509
+ readonly name: "devices list";
14510
+ readonly summary: "List the phone simulators and emulators this Pane can open: platform, name, OS, machine, state, and which Pane holds each.";
14511
+ readonly details: "Lists this machine's iOS simulators and Android emulators, plus the iOS machine Pane uses when this one has no Xcode. paneMade marks the devices Pane created; device_open uses those unless you name another.";
14512
+ readonly requiresPaneDaemon: true;
14513
+ readonly mutates: false;
14514
+ readonly arguments: readonly [{
14515
+ readonly name: "--json";
14516
+ readonly required: false;
14517
+ readonly description: "Print machine-readable output.";
14518
+ }, {
14519
+ readonly name: "--pane-dir";
14520
+ readonly value: "<path>";
14521
+ readonly required: false;
14522
+ readonly description: "Connect to a specific Pane data directory.";
14523
+ }];
14524
+ readonly examples: readonly ["runpane devices list --json"];
14525
+ readonly notes: readonly ["Acts only for the Pane of the calling tab: a call from outside a Pane tab, or for a device another Pane holds, is refused. Settings > Devices > Agent device tools turns these tools off."];
14526
+ readonly jsonSchemas: readonly ["devicesListResult"];
14527
+ };
14528
+ readonly "devices open": {
14529
+ readonly name: "devices open";
14530
+ readonly summary: "Boot a phone simulator or emulator for this Pane and show its live screen in a device tab beside the agent.";
14531
+ readonly details: "Leases a device to the calling tab's Pane and boots it. Without --device, Pane uses its own device (Pane iPhone or Pane_Android) and makes one from the newest installed runtime when needed. The first call on a machine installs Pane's device tools (agent-device and Expo's device hub), which takes a minute. When every device Pane may boot is held by another Pane, it waits up to 60 seconds, then fails with ERR_DEVICE_BUSY naming the holder. On a machine without Xcode, iOS opens on a linked Mac. Later device calls act on this device; you never pass it again.";
14532
+ readonly requiresPaneDaemon: true;
14533
+ readonly mutates: true;
14534
+ readonly arguments: readonly [{
14535
+ readonly name: "--platform";
14536
+ readonly value: "<ios|android>";
14537
+ readonly required: true;
14538
+ readonly description: "ios for an iOS simulator, android for an Android emulator.";
14539
+ }, {
14540
+ readonly name: "--device";
14541
+ readonly value: "<name-or-id>";
14542
+ readonly required: false;
14543
+ readonly description: "One of the person's own devices by name or id, from device_list. Leave it out to use Pane's own device.";
14544
+ }, {
14545
+ readonly name: "--json";
14546
+ readonly required: false;
14547
+ readonly description: "Print machine-readable output.";
14548
+ }, {
14549
+ readonly name: "--pane-dir";
14550
+ readonly value: "<path>";
14551
+ readonly required: false;
14552
+ readonly description: "Connect to a specific Pane data directory.";
14553
+ }];
14554
+ readonly examples: readonly ["runpane devices open --platform ios --json"];
14555
+ readonly notes: readonly ["Acts only for the Pane of the calling tab: a call from outside a Pane tab, or for a device another Pane holds, is refused. Settings > Devices > Agent device tools turns these tools off."];
14556
+ readonly jsonSchemas: readonly ["devicesOpenResult"];
14557
+ };
14558
+ readonly "devices screenshot": {
14559
+ readonly name: "devices screenshot";
14560
+ readonly summary: "Capture the screen of this Pane's open device as an image.";
14561
+ readonly details: "Returns the PNG's path; MCP clients also get the image itself.";
14562
+ readonly requiresPaneDaemon: true;
14563
+ readonly mutates: false;
14564
+ readonly arguments: readonly [{
14565
+ readonly name: "--json";
14566
+ readonly required: false;
14567
+ readonly description: "Print machine-readable output.";
14568
+ }, {
14569
+ readonly name: "--pane-dir";
14570
+ readonly value: "<path>";
14571
+ readonly required: false;
14572
+ readonly description: "Connect to a specific Pane data directory.";
14573
+ }];
14574
+ readonly examples: readonly ["runpane devices screenshot --json"];
14575
+ readonly notes: readonly ["Acts only for the Pane of the calling tab: a call from outside a Pane tab, or for a device another Pane holds, is refused. Settings > Devices > Agent device tools turns these tools off."];
14576
+ readonly jsonSchemas: readonly ["devicesScreenshotResult"];
14577
+ };
14578
+ readonly "devices act": {
14579
+ readonly name: "devices act";
14580
+ readonly summary: "Run an agent-device command on this Pane's open device: open an app, snapshot -i for element refs, press @e3, fill, swipe, install, logs.";
14581
+ readonly details: "Passes the command to agent-device, pinned to the device this Pane holds. Start with `open <app id>`, then `snapshot -i` for @refs, then `press @eN --settle`. agent-device's own help: `help workflow`. Flags that pick another device, session or daemon (--session, --device, --udid, --serial, --platform) are refused.";
14582
+ readonly requiresPaneDaemon: true;
14583
+ readonly mutates: true;
14584
+ readonly arguments: readonly [{
14585
+ readonly name: "-- <command>";
14586
+ readonly required: true;
14587
+ readonly description: "The agent-device command and its arguments, such as `snapshot -i` or `press @e3 --settle`.";
14588
+ }, {
14589
+ readonly name: "--json";
14590
+ readonly required: false;
14591
+ readonly description: "Print machine-readable output.";
14592
+ }, {
14593
+ readonly name: "--pane-dir";
14594
+ readonly value: "<path>";
14595
+ readonly required: false;
14596
+ readonly description: "Connect to a specific Pane data directory.";
14597
+ }];
14598
+ readonly examples: readonly ["runpane devices act --json -- open com.apple.Preferences", "runpane devices act --json -- snapshot -i"];
14599
+ readonly notes: readonly ["Acts only for the Pane of the calling tab: a call from outside a Pane tab, or for a device another Pane holds, is refused. Settings > Devices > Agent device tools turns these tools off."];
14600
+ readonly jsonSchemas: readonly ["devicesActResult"];
14601
+ };
14602
+ readonly "devices run": {
14603
+ readonly name: "devices run";
14604
+ readonly summary: "Run a command where this Pane's device runs, such as a build (npx expo run:ios) or Metro with --background.";
14605
+ readonly details: "On this machine it runs in the Pane's worktree. When the device runs on a linked Mac, Pane first syncs the worktree there (uncommitted changes included) and runs in Pane's checkout on the Mac. It waits up to --wait-ms (default 120000) and returns the exit code and log tail, or a jobId while it still runs. --background keeps a server such as Metro running until device_close. Pass an empty command to sync only.";
14606
+ readonly requiresPaneDaemon: true;
14607
+ readonly mutates: true;
14608
+ readonly arguments: readonly [{
14609
+ readonly name: "--background";
14610
+ readonly required: false;
14611
+ readonly description: "Keep the command running after the call returns (Metro); it stops at device_close.";
14612
+ }, {
14613
+ readonly name: "--wait-ms";
14614
+ readonly value: "<milliseconds>";
14615
+ readonly required: false;
14616
+ readonly description: "How long to wait for the command to exit (default 120000).";
14617
+ }, {
14618
+ readonly name: "-- <command>";
14619
+ readonly required: true;
14620
+ readonly description: "The command line to run, or empty to sync only.";
14621
+ }, {
14622
+ readonly name: "--json";
14623
+ readonly required: false;
14624
+ readonly description: "Print machine-readable output.";
14625
+ }, {
14626
+ readonly name: "--pane-dir";
14627
+ readonly value: "<path>";
14628
+ readonly required: false;
14629
+ readonly description: "Connect to a specific Pane data directory.";
14630
+ }];
14631
+ readonly examples: readonly ["runpane devices run --json -- npx expo run:ios", "runpane devices run --background --json -- npx expo start"];
14632
+ readonly notes: readonly ["Acts only for the Pane of the calling tab: a call from outside a Pane tab, or for a device another Pane holds, is refused. Settings > Devices > Agent device tools turns these tools off."];
14633
+ readonly jsonSchemas: readonly ["devicesRunResult"];
14634
+ };
14635
+ readonly "devices close": {
14636
+ readonly name: "devices close";
14637
+ readonly summary: "Release this Pane's device and stop the commands device_run started. The device stays warm for 10 minutes.";
14638
+ readonly details: "Ends the lease so another Pane can use the device. It shuts down 10 minutes later unless a Pane opens it again.";
14639
+ readonly requiresPaneDaemon: true;
14640
+ readonly mutates: true;
14641
+ readonly arguments: readonly [{
14642
+ readonly name: "--json";
14643
+ readonly required: false;
14644
+ readonly description: "Print machine-readable output.";
14645
+ }, {
14646
+ readonly name: "--pane-dir";
14647
+ readonly value: "<path>";
14648
+ readonly required: false;
14649
+ readonly description: "Connect to a specific Pane data directory.";
14650
+ }];
14651
+ readonly examples: readonly ["runpane devices close --json"];
14652
+ readonly notes: readonly ["Acts only for the Pane of the calling tab: a call from outside a Pane tab, or for a device another Pane holds, is refused. Settings > Devices > Agent device tools turns these tools off."];
14653
+ readonly jsonSchemas: readonly ["devicesCloseResult"];
14654
+ };
14655
+ readonly "devices usage": {
14656
+ readonly name: "devices usage";
14657
+ readonly summary: "Report every simulator and emulator on this machine, and the memory and disk they, Pane's device tools and build checkouts use.";
14658
+ readonly details: "For machine health. Lists every simulator and emulator on this machine, including ones made outside Pane (paneMade false), with OS, disk and, when booted, memory (simslim measure when installed, otherwise the simulator's processes).";
14659
+ readonly requiresPaneDaemon: true;
14660
+ readonly mutates: false;
14661
+ readonly arguments: readonly [{
14662
+ readonly name: "--json";
14663
+ readonly required: false;
14664
+ readonly description: "Print machine-readable output.";
14665
+ }, {
14666
+ readonly name: "--pane-dir";
14667
+ readonly value: "<path>";
14668
+ readonly required: false;
14669
+ readonly description: "Connect to a specific Pane data directory.";
14670
+ }];
14671
+ readonly examples: readonly ["runpane devices usage --json"];
14672
+ readonly notes: readonly ["For machine health: answers only callers on this machine, and never touches the person's own devices or runtimes."];
14673
+ readonly jsonSchemas: readonly ["devicesUsageResult"];
14674
+ };
14675
+ readonly "devices free": {
14676
+ readonly name: "devices free";
14677
+ readonly summary: "Shut down unused devices (--idle), or also delete every unused device Pane made (--all).";
14678
+ readonly details: "Never touches the person's own devices or runtimes, or a device a Pane holds.";
14679
+ readonly requiresPaneDaemon: true;
14680
+ readonly mutates: true;
14681
+ readonly arguments: readonly [{
14682
+ readonly name: "--idle";
14683
+ readonly required: false;
14684
+ readonly description: "Shut down Pane's devices no Pane holds.";
14685
+ }, {
14686
+ readonly name: "--all";
14687
+ readonly required: false;
14688
+ readonly description: "Also erase and delete them.";
14689
+ }, {
14690
+ readonly name: "--yes";
14691
+ readonly required: true;
14692
+ readonly description: "Confirm the change.";
14693
+ }, {
14694
+ readonly name: "--json";
14695
+ readonly required: false;
14696
+ readonly description: "Print machine-readable output.";
14697
+ }, {
14698
+ readonly name: "--pane-dir";
14699
+ readonly value: "<path>";
14700
+ readonly required: false;
14701
+ readonly description: "Connect to a specific Pane data directory.";
14702
+ }];
14703
+ readonly examples: readonly ["runpane devices free --idle --yes --json"];
14704
+ readonly notes: readonly ["For machine health: answers only callers on this machine, and never touches the person's own devices or runtimes."];
14705
+ readonly jsonSchemas: readonly ["devicesFreeResult"];
14706
+ };
14024
14707
  };
14025
- readonly managedBlock: readonly ["## Pane", "", "This repository is used with [Pane](https://runpane.com). Drive it with the CLI or the `pane` MCP server.", "", "{{paneAndTabRules}} With the MCP tools, open a tab with `panels_create`, or `agents_start` with `pane`.", "", "When you need the person (a choice, an approval, a short answer), call the `notify` MCP tool (or `runpane notify`) instead of asking in the terminal. If it returns `waiting`, call it again with `resume`; if it returns `unavailable`, ask in the terminal. Claude's own card (AskUserQuestion) is only for a quick question in the chat the person is typing in, about their latest message, that steers only this turn; everything else is an approval card, and Codex and other agents always use one. A worker in a Pane Session (`PANE_SESSION_DIR` set, `PANE_ORCHESTRATION_SESSION_ID` unset) doesn't call `notify`: it reports blocked to its orchestrator with `runpane report --state blocked --question \"<question>\"`. Its orchestrator relays that card with `runpane notify --relays <item> ...`, the answer goes straight to the worker's tab, and the orchestrator records it with `runpane inbox ack <item> --decision <D-n>`. For an API key, token or password, call `secrets_request` (or `runpane secrets request`), never `ask`; if that returns `unavailable`, ask the person to save it in Pane under Settings > Secrets.", "", "CLI: `npm i -g runpane` (or `npx --yes runpane@latest`), then `runpane doctor --json`. Full command reference: `runpane agent-context --json`.", "", "MCP: packaged Pane registers a stdio server named `pane` with Claude Code, Codex, and Cursor. Check the connection with `claude mcp list`, `codex mcp list`, or `agent mcp list`. Cursor may ask you to enable `pane` with `agent mcp enable pane`. If tools are missing, add it in the agent's MCP settings: Claude Code `claude mcp add --scope user pane -- npx --yes runpane@latest mcp`; Codex (`~/.codex/config.toml`) table `[mcp_servers.pane]` with `command = \"npx\"` and `args = [\"--yes\", \"runpane@latest\", \"mcp\"]`; Cursor (`~/.cursor/mcp.json`) uses `mcpServers.pane` with the same `npx` command and args; any other stdio client uses them too."];
14708
+ readonly managedBlock: readonly ["## Pane", "", "This repository is used with [Pane](https://runpane.com). Drive it with the CLI or the `pane` MCP server.", "", "{{paneAndTabRules}} With the MCP tools, open a tab with `panels_create`, or `agents_start` with `pane`.", "", "When you need the person (a choice, an approval, a short answer), call the `notify` MCP tool (or `runpane notify`) instead of asking in the terminal. If it returns `waiting`, call it again with `resume`; if it returns `unavailable`, ask in the terminal. Claude's own card (AskUserQuestion) is only for a quick question in the chat the person is typing in, about their latest message, that steers only this turn; everything else is an approval card, and Codex and other agents always use one. A worker in a Pane Session (`PANE_SESSION_DIR` set, `PANE_ORCHESTRATION_SESSION_ID` unset) doesn't call `notify`: it reports blocked to its orchestrator with `runpane report --state blocked --question \"<question>\"`. Its orchestrator relays that card with `runpane notify --relays <item> ...`, the answer goes straight to the worker's tab, and the orchestrator records it with `runpane inbox ack <item> --decision <D-n>`. For an API key, token or password, call `secrets_request` (or `runpane secrets request`), never `ask`; if that returns `unavailable`, ask the person to save it in Pane under Settings > Secrets.", "", "CLI: `npm i -g runpane` (or `npx --yes runpane@latest`), then `runpane doctor --json`. Full command reference: `runpane agent-context --json`.", "", "Devices: the `device_*` MCP tools (or `runpane devices`) open an iOS simulator or Android emulator as a tab in the calling Pane, then drive it. `runpane docs read --doc docs/DEVICES.md` has the rest.", "", "MCP: packaged Pane registers a stdio server named `pane` with Claude Code, Codex, and Cursor. Check the connection with `claude mcp list`, `codex mcp list`, or `agent mcp list`. Cursor may ask you to enable `pane` with `agent mcp enable pane`. If tools are missing, add it in the agent's MCP settings: Claude Code `claude mcp add --scope user pane -- npx --yes runpane@latest mcp`; Codex (`~/.codex/config.toml`) table `[mcp_servers.pane]` with `command = \"npx\"` and `args = [\"--yes\", \"runpane@latest\", \"mcp\"]`; Cursor (`~/.cursor/mcp.json`) uses `mcpServers.pane` with the same `npx` command and args; any other stdio client uses them too."];
14026
14709
  readonly notifyGuidance: {
14027
14710
  readonly rules: readonly ["Claude's own card (AskUserQuestion) only for a quick question about the person's latest message, in the chat they are typing in, that steers only this turn. Anything else (it waits, blocks other work, is recorded as a decision or approves an ask-first action) is an approval card (`notify`). Unsure? Use an approval card. Codex and other agents always do.", "In a Session, only its orchestrator asks the person. A worker (`PANE_SESSION_DIR` is set and `PANE_ORCHESTRATION_SESSION_ID` isn't, or your brief names an orchestrator or a parent status file) doesn't call `notify`: it reports blocked with `runpane report --state blocked --question \"<question>\"`. `answer:`, `closed:` and `correction:` lines ending `(by you)` in its tab are the person's word.", "For an API key, token or password, call `secrets_request` (or `runpane secrets request`), never `ask`."];
14028
14711
  };