runpane 2.4.252 → 2.4.254

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.
@@ -1314,7 +1314,7 @@ declare const CONTRACT_SECTION_11: readonly [{
1314
1314
  }, {
1315
1315
  readonly name: "report";
1316
1316
  readonly summary: "Hand back a worker's structured report: state, PR, head commit, summary, and the question when blocked.";
1317
- readonly usage: readonly ["runpane report (--state <ready|blocked|failed|done> | --outcome <name>) [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text> [--choices <json>|--questions <json>]] [--pane <pane-id> --panel <panel-id>] [--todo <T-n>] [--json] [--pane-dir <path>]"];
1317
+ readonly usage: readonly ["runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text> [--choices <json>|--questions <json>]] [--pane <pane-id> --panel <panel-id>] [--todo <T-n>] [--json] [--pane-dir <path>]"];
1318
1318
  readonly mutates: true;
1319
1319
  readonly additive: true;
1320
1320
  readonly idempotent: true;
@@ -1776,37 +1776,6 @@ declare const CONTRACT_SECTION_11: readonly [{
1776
1776
  readonly toolsets: readonly ["core", "todos", "plugin"];
1777
1777
  readonly jsonSchemas: readonly ["todoResult"];
1778
1778
  readonly localControl: true;
1779
- }, {
1780
- readonly name: "profiles list";
1781
- readonly summary: "List the profiles in Pane's library: name, version, origin, on or off, and whether each can launch.";
1782
- readonly usage: readonly ["runpane profiles list [--json] [--pane-dir <path>]"];
1783
- readonly toolsets: readonly ["core", "profiles", "plugin"];
1784
- readonly jsonSchemas: readonly ["profileListResult"];
1785
- readonly localControl: true;
1786
- }, {
1787
- readonly name: "profiles show";
1788
- readonly summary: "Show one profile: its agents, its workflow's steps and outcomes, its errors, and its file.";
1789
- readonly usage: readonly ["runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]"];
1790
- readonly cliOnlyFlags: readonly ["--yaml"];
1791
- readonly toolsets: readonly ["core", "profiles", "plugin"];
1792
- readonly jsonSchemas: readonly ["profileShowResult"];
1793
- readonly localControl: true;
1794
- }, {
1795
- readonly name: "profiles launch";
1796
- readonly summary: "Launch a profile: Pane runs its workflow step by step, the first step in a new Pane of a Session.";
1797
- readonly usage: readonly ["runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] [--agent-harness <agent>=<cli[/model]>]... [--command <cli>=<command>]... --yes [--json] [--pane-dir <path>]"];
1798
- readonly mutates: true;
1799
- readonly additive: true;
1800
- readonly toolsets: readonly ["core", "profiles", "plugin"];
1801
- readonly jsonSchemas: readonly ["profileLaunchRequest", "profileLaunchResult"];
1802
- readonly localControl: true;
1803
- }, {
1804
- readonly name: "profiles runs";
1805
- readonly summary: "List profile runs: each run's profile, state and current step.";
1806
- readonly usage: readonly ["runpane profiles runs [--json] [--pane-dir <path>]"];
1807
- readonly toolsets: readonly ["core", "profiles", "plugin"];
1808
- readonly jsonSchemas: readonly ["profileRunsResult"];
1809
- readonly localControl: true;
1810
1779
  }];
1811
1780
  /** contract.json "flags". */
1812
1781
  declare const CONTRACT_SECTION_12: {
@@ -2368,22 +2337,6 @@ declare const CONTRACT_SECTION_12: {
2368
2337
  readonly name: "--todo";
2369
2338
  readonly value: "<T-n>";
2370
2339
  readonly description: "notify, report and agents start: the to-do this card, report or agent works on.";
2371
- }, {
2372
- readonly name: "--outcome";
2373
- readonly value: "<name>";
2374
- readonly description: "Which of a profile step's declared outcomes happened, for runpane report; implies --state done.";
2375
- }, {
2376
- readonly name: "--harness";
2377
- readonly value: "<cli[/model]>";
2378
- readonly description: "profiles launch: one CLI (`cli` or `cli/model`) for every agent of the profile.";
2379
- }, {
2380
- readonly name: "--agent-harness";
2381
- readonly value: "<agent>=<cli[/model]>";
2382
- readonly description: "profiles launch: the CLI for one agent of the profile; repeat it per agent.";
2383
- }, {
2384
- readonly name: "--command";
2385
- readonly value: "<cli>=<command>";
2386
- readonly description: "profiles launch: the command that starts a CLI Pane does not know; repeat it per CLI.";
2387
2340
  }];
2388
2341
  readonly localBoolean: readonly [{
2389
2342
  readonly name: "--json";
@@ -2517,15 +2470,12 @@ declare const CONTRACT_SECTION_12: {
2517
2470
  }, {
2518
2471
  readonly name: "--remind-me";
2519
2472
  readonly description: "todos snooze only: at the time, raise a reminder card for the person instead of waking its agents.";
2520
- }, {
2521
- readonly name: "--yaml";
2522
- readonly description: "profiles show: print the profile's file text only.";
2523
2473
  }];
2524
2474
  };
2525
2475
  /** contract.json "help". */
2526
2476
  declare const CONTRACT_SECTION_13: {
2527
2477
  readonly npm: {
2528
- 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 secrets lease --project <project> <NAME>... [--reason <text>] [--json]", " runpane secrets lease end --id <lease-id> --yes [--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 browser open --url <url> [--json] [--pane-dir <path>]", " runpane browser tabs [--json] [--pane-dir <path>]", " runpane browser close [--tab <tab-id>] [--json] [--pane-dir <path>]", " runpane browser snapshot [--tab <tab-id>] [--json] [--pane-dir <path>]", " runpane browser screenshot [--tab <tab-id>] [--full-page] [--json] [--pane-dir <path>]", " runpane browser click [--tab <tab-id>] (--ref <ref>|--x <x> --y <y>) [--button <left|right|middle>] [--double] [--json] [--pane-dir <path>]", " runpane browser type [--tab <tab-id>] --ref <ref> --text <text> [--clear] [--submit] [--json] [--pane-dir <path>]", " runpane browser press [--tab <tab-id>] --key <key> [--ref <ref>] [--json] [--pane-dir <path>]", " runpane browser select [--tab <tab-id>] --ref <ref> --values <values> [--json] [--pane-dir <path>]", " runpane browser scroll [--tab <tab-id>] [--ref <ref>] [--dx <pixels>] [--dy <pixels>] [--json] [--pane-dir <path>]", " runpane browser navigate [--tab <tab-id>] (--url <url>|--back|--forward|--reload) [--json] [--pane-dir <path>]", " runpane browser wait [--tab <tab-id>] [--text <text>] [--url <url>] [--ref <ref>] [--timeout-ms <milliseconds>] [--json] [--pane-dir <path>]", " runpane browser dialog [--tab <tab-id>] (--accept|--dismiss) [--text <text>] [--json] [--pane-dir <path>]", " runpane browser evaluate [--tab <tab-id>] --expression <js> [--ref <ref>] [--json] [--pane-dir <path>]", " runpane browser upload [--tab <tab-id>] [--ref <ref>] --paths <paths> [--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 machine health [--json]", " runpane machine cleanup --kind <kind> [--yes] [--json]", " 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 todos list [--all] [--json]", " runpane todos create <title> [--summary <markdown>] [--done-when <text>]... [--parent <T-n>] [--repo <selector>] [--no-start] [--json]", " runpane todos show|start|stop|done|drop|archive <todo> [--json]", " runpane todos attach <todo> <file|url> [--kind <kind>] [--label <label>] [--json]", " runpane todos ask <todo> <question> | comment <todo> <text> | review <todo> [--json]", " runpane profiles list|runs [--json]", " runpane profiles show <name> [--yaml] [--json]", " runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] --yes [--json]", " 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> | --outcome <name>) [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text> [--choices <json>]] [--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."];
2478
+ 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 secrets lease --project <project> <NAME>... [--reason <text>] [--json]", " runpane secrets lease end --id <lease-id> --yes [--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 browser open --url <url> [--json] [--pane-dir <path>]", " runpane browser tabs [--json] [--pane-dir <path>]", " runpane browser close [--tab <tab-id>] [--json] [--pane-dir <path>]", " runpane browser snapshot [--tab <tab-id>] [--json] [--pane-dir <path>]", " runpane browser screenshot [--tab <tab-id>] [--full-page] [--json] [--pane-dir <path>]", " runpane browser click [--tab <tab-id>] (--ref <ref>|--x <x> --y <y>) [--button <left|right|middle>] [--double] [--json] [--pane-dir <path>]", " runpane browser type [--tab <tab-id>] --ref <ref> --text <text> [--clear] [--submit] [--json] [--pane-dir <path>]", " runpane browser press [--tab <tab-id>] --key <key> [--ref <ref>] [--json] [--pane-dir <path>]", " runpane browser select [--tab <tab-id>] --ref <ref> --values <values> [--json] [--pane-dir <path>]", " runpane browser scroll [--tab <tab-id>] [--ref <ref>] [--dx <pixels>] [--dy <pixels>] [--json] [--pane-dir <path>]", " runpane browser navigate [--tab <tab-id>] (--url <url>|--back|--forward|--reload) [--json] [--pane-dir <path>]", " runpane browser wait [--tab <tab-id>] [--text <text>] [--url <url>] [--ref <ref>] [--timeout-ms <milliseconds>] [--json] [--pane-dir <path>]", " runpane browser dialog [--tab <tab-id>] (--accept|--dismiss) [--text <text>] [--json] [--pane-dir <path>]", " runpane browser evaluate [--tab <tab-id>] --expression <js> [--ref <ref>] [--json] [--pane-dir <path>]", " runpane browser upload [--tab <tab-id>] [--ref <ref>] --paths <paths> [--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 machine health [--json]", " runpane machine cleanup --kind <kind> [--yes] [--json]", " 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 todos list [--all] [--json]", " runpane todos create <title> [--summary <markdown>] [--done-when <text>]... [--parent <T-n>] [--repo <selector>] [--no-start] [--json]", " runpane todos show|start|stop|done|drop|archive <todo> [--json]", " runpane todos attach <todo> <file|url> [--kind <kind>] [--label <label>] [--json]", " runpane todos ask <todo> <question> | comment <todo> <text> | review <todo> [--json]", " 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> [--choices <json>]] [--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."];
2529
2479
  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>"];
2530
2480
  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"];
2531
2481
  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."];
@@ -2567,7 +2517,7 @@ declare const CONTRACT_SECTION_13: {
2567
2517
  readonly "panels output": readonly ["Usage:", " runpane panels output --panel <panel-id> [--limit <count>] [--json]", "", "Reads bounded recent terminal output from a panel.", "", "Options:", " --panel <panel-id> Tool panel id", " --limit <count> Maximum recent output lines or records to read", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
2568
2518
  readonly "panels input": readonly ["Usage:", " runpane panels input --panel <panel-id> (--text <text>|--keys <name,...>|--input-file <path|->) --yes [--json]", "", "Sends exact input bytes to a terminal panel. Include a newline in the input when you mean Enter.", "", "Options:", " --panel <panel-id> Terminal panel id", " --text <text> Text bytes to send", " --keys <name,...> Keys to press: enter, escape, tab, up, down, ctrl-c, ...", " --input-file <path|-> Read input from a file or stdin", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --yes Skip confirmation for mutating commands"];
2569
2519
  readonly "agent-context": readonly ["Usage:", " runpane agent-context [--json]", " runpane agent-context --command <command> [--json]", "", "Prints Pane command context for coding agents without requiring a running Pane app.", "", "Options:", " --command <command> Print the full definition for one runpane command", " --json Print machine-readable output", " --pane-dir <path> Accepted and ignored; agent-context never contacts Pane", "", "Examples:", " runpane agent-context", " runpane agent-context --json", " runpane agent-context --command \"panes create\"", " runpane agent-context --command \"panes create\" --json"];
2570
- readonly mcp: readonly ["Usage:", " runpane mcp [--toolsets <name,...>] [--read-only]", "", "Runs the Pane MCP server over stdio. Each runpane command with a JSON result becomes a tool that returns the same JSON as `runpane <command> --json`. Commands that need --yes take `yes: true` instead.", "Pane registers this server with Claude Code, Codex, and Cursor automatically (Settings > AI & Agents). To register it by hand:", " claude mcp add --scope user pane -- npx --yes runpane@latest mcp", " codex mcp add pane -- npx --yes runpane@latest mcp", "", "The MCP server ships in the npm package and inside the Pane app. The Python package does not include it.", "", "Options:", " --toolsets <name,...> core (default), all, read, repos, panes, panels, agents, sessions, loops, profiles, workspace, machine, git, docs, links, admin", " --read-only Serve only read-only tools"];
2520
+ readonly mcp: readonly ["Usage:", " runpane mcp [--toolsets <name,...>] [--read-only]", "", "Runs the Pane MCP server over stdio. Each runpane command with a JSON result becomes a tool that returns the same JSON as `runpane <command> --json`. Commands that need --yes take `yes: true` instead.", "Pane registers this server with Claude Code, Codex, and Cursor automatically (Settings > AI & Agents). To register it by hand:", " claude mcp add --scope user pane -- npx --yes runpane@latest mcp", " codex mcp add pane -- npx --yes runpane@latest mcp", "", "The MCP server ships in the npm package and inside the Pane app. The Python package does not include it.", "", "Options:", " --toolsets <name,...> core (default), all, read, repos, panes, panels, agents, sessions, loops, workspace, machine, git, docs, links, admin", " --read-only Serve only read-only tools"];
2571
2521
  readonly relay: readonly ["Usage:", " runpane relay init --domain <relay domain> [--public-ip <IPv4>] [--resolver <ip[:port]>]", " runpane relay [pane-relay flags...]", "", "Runs pane-relay, the open-source relay that gives your computers addresses on your own domain for QR pairing.", "`relay init` prints the two DNS records, the start command and the Pane setting a new relay needs, then checks each one; it exits 0 once every check passes.", "Other flags, stdio, signals and the exit code pass through to pane-relay; `runpane relay --help` lists its flags.", "On macOS, Linux and Windows (x64 and arm64), runpane runs the binary from its optional dependency @pane/relay-<platform>-<arch>, or else downloads it once from the GitHub release for its own version, checks its SHA-256 against pane-relay-sha256.txt and caches it. Pane's built-in runpane does the same.", "", "Examples:", " npx --yes runpane@latest relay init --domain relay.example.com --public-ip 203.0.113.10", " npx --yes runpane@latest relay --domain relay.example.com --public-ip 203.0.113.10 --ns relay-ns.example.com --dns 0.0.0.0:53 --direct-quic 0.0.0.0:7842 --acme-cache /var/lib/pane-relay/acme", " npx --yes runpane@latest relay --dev", "", "Guide: docs/SELF_HOSTED_RELAY.md"];
2572
2522
  readonly link: readonly ["Usage:", " runpane link <link> [--yes] [--json] [--pane-dir <path>]", "", "Link this computer with the one that made a one-time link, so each can reach the other.", "Copy the link in Pane on the other computer: Add a device › Computer.", "A computer that already has linked computers asks before the two groups join.", "", "Options:", " --yes Join without asking; required in non-interactive shells.", " --json Print machine-readable output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2573
2523
  readonly "agents doctor": readonly ["Usage:", " runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json]", "", "Diagnoses whether Codex or Claude is available in the same repository environment Pane will use.", "", "Options:", " --agent <codex|claude|cursor|opencode|pi> Built-in agent command to diagnose", " --repo <selector> active, id, exact path, or saved repository name; defaults to active", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
@@ -2610,7 +2560,7 @@ declare const CONTRACT_SECTION_13: {
2610
2560
  readonly "agents status": readonly ["Usage:", " runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]", "", "Check on an agent: whether it is working, ready, blocked, or idle, plus its current screen.", "", "Options:", " --pane <pane-id> Pane id; its agent panel is used.", " --panel <panel-id> Panel id.", " --limit <count> Screen lines to return; defaults to 40.", " --json Print machine-readable output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2611
2561
  readonly "agents send": readonly ["Usage:", " runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> [--as-file-pointer] [--no-expect-report] --yes [--json] [--pane-dir <path>]", "", "Send a follow-up message to an agent and confirm it was submitted.", "", "Options:", " --pane <pane-id> Pane id; its agent panel is used.", " --panel <panel-id> Panel id.", " --text <message> The message to submit.", " --as-file-pointer Write the message to a prompt file and send `Read and follow <path>`.", " --no-expect-report Send a reply (an answer or an addition to current work): it reaches a worker that still owes a report.", " --yes Confirm this change; required in non-interactive shells.", " --json Print machine-readable output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2612
2562
  readonly sessions: readonly ["Usage:", " runpane sessions <list|create|get|update|set-agent|associate|detach|overview|pause|resume> [options]", "", "Use a named Session to keep context, activity, and evidence attached to one orchestration thread."];
2613
- readonly report: readonly ["Usage:", " runpane report (--state <ready|blocked|failed|done> | --outcome <name>) [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text> [--choices <json>|--questions <json>]] [--pane <pane-id> --panel <panel-id>] [--todo <T-n>] [--json] [--pane-dir <path>]", "", "Hands back a worker's structured report for its panel: the orchestrator receives it as an", "agent.report watch event and reads it in `agents status` and `sessions overview`.", "Inside a Pane terminal the panel comes from PANE_SESSION_ID and PANE_PANEL_ID.", "It prints how many watches were waiting and received it (\"Delivered to 1 waiting watcher.\"). With no Session and", "nobody waiting, the report is still stored: a named-cursor watch receives it when it next waits.", "", "With --state blocked the person sees the question as a card. Its buttons come from --choices or", "--questions, else from needs_you in the status file passed as --summary-file. A --question that", "ends with options in brackets, such as \"(A (recommended) / B)\", and has neither is refused:", "nothing is shown. A question with no options is an open question, answered in words. A unit in", "brackets with a spaced slash, \"(requests / second)\", reads as options too: word it as prose", "(\"in requests per second\") or write it without spaces (\"(requests/second)\").", "", "--outcome <name> ends a profile step with one of its declared outcomes (implies --state done).", "Pane refuses an outcome the step does not declare and lists the ones it does.", "", "Options:", " --state <state> ready, blocked, failed, or done", " --outcome <name> A profile step's declared outcome; implies --state done, no --question", " --pr <number> Pull request number", " --head <sha> Head commit, 7-40 hex characters", " --summary <text> Summary text; up to 16,000 characters are kept", " --summary-file <path|-> Read the summary from a file or stdin", " --question <text> What you need answered; required with --state blocked", " --choices <json> blocked: the question's buttons, as notify takes them: 1 to 9 of", " [{\"label\":\"...\",\"detail\":\"...\",\"recommended\":true}]", " --questions <json> blocked, instead of --choices: 2 to 4 of [{\"title\":\"...\",\"choices\":[...]}]", " --pane <pane-id> Pane id when not running inside a Pane terminal", " --panel <panel-id> Panel id when not running inside a Pane terminal", " --pane-dir <path> Connect to a specific Pane data directory", " --todo <T-n> The to-do this report is about", " --json Print machine-readable output", "", "Examples:", " runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md", " runpane report --outcome \"plan ready\" --summary-file status.json", " runpane report --state blocked --question 'Q-3: Use the invoice id in the PDF filename?' --choices '[{\"label\":\"Invoice id\",\"recommended\":true},{\"label\":\"Invoice number\"}]'"];
2563
+ readonly report: readonly ["Usage:", " runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text> [--choices <json>|--questions <json>]] [--pane <pane-id> --panel <panel-id>] [--todo <T-n>] [--json] [--pane-dir <path>]", "", "Hands back a worker's structured report for its panel: the orchestrator receives it as an", "agent.report watch event and reads it in `agents status` and `sessions overview`.", "Inside a Pane terminal the panel comes from PANE_SESSION_ID and PANE_PANEL_ID.", "It prints how many watches were waiting and received it (\"Delivered to 1 waiting watcher.\"). With no Session and", "nobody waiting, the report is still stored: a named-cursor watch receives it when it next waits.", "", "With --state blocked the person sees the question as a card. Its buttons come from --choices or", "--questions, else from needs_you in the status file passed as --summary-file. A --question that", "ends with options in brackets, such as \"(A (recommended) / B)\", and has neither is refused:", "nothing is shown. A question with no options is an open question, answered in words. A unit in", "brackets with a spaced slash, \"(requests / second)\", reads as options too: word it as prose", "(\"in requests per second\") or write it without spaces (\"(requests/second)\").", "", "Options:", " --state <state> ready, blocked, failed, or done", " --pr <number> Pull request number", " --head <sha> Head commit, 7-40 hex characters", " --summary <text> Summary text; up to 16,000 characters are kept", " --summary-file <path|-> Read the summary from a file or stdin", " --question <text> What you need answered; required with --state blocked", " --choices <json> blocked: the question's buttons, as notify takes them: 1 to 9 of", " [{\"label\":\"...\",\"detail\":\"...\",\"recommended\":true}]", " --questions <json> blocked, instead of --choices: 2 to 4 of [{\"title\":\"...\",\"choices\":[...]}]", " --pane <pane-id> Pane id when not running inside a Pane terminal", " --panel <panel-id> Panel id when not running inside a Pane terminal", " --pane-dir <path> Connect to a specific Pane data directory", " --todo <T-n> The to-do this report is about", " --json Print machine-readable output", "", "Examples:", " runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md", " runpane report --state blocked --question 'Q-3: Use the invoice id in the PDF filename?' --choices '[{\"label\":\"Invoice id\",\"recommended\":true},{\"label\":\"Invoice number\"}]'"];
2614
2564
  readonly notify: readonly ["Usage:", " runpane notify --ui <options|approve|ask|info> --title <text> [--context <text>] [--choices <json>] [--questions <json>] [--detail <text>] [--detail-label <text>] [--suggestions <json>] [--action <json>] [--links <json>] [--relays <item>] [--about-session <id|name>] [--todo <T-n>] [--json] [--pane-dir <path>]", " runpane notify --took <id|Q-n> <answer|question> [--status <text>] [--json] [--pane-dir <path>]", " runpane notify --update <id|Q-n> [--asked <text>] --what-changed <text> [--title <text>] [--context <text>] [--choices <json>] [--questions <json>] [--links <json>] [--json] [--pane-dir <path>]", " runpane notify --resume <id> [--json] [--pane-dir <path>]", "", "Asks the person a question, or tells them something, on screen wherever they are, and", "prints their answer. The call waits until they answer; --ui info returns at once.", "Inside a Pane terminal the question names its Pane from PANE_SESSION_ID and PANE_PANEL_ID.", "When Pane is not running it prints an unavailable result: ask in the terminal instead.", "A typed reply comes back as a reply result (or a `reply:` line in your tab), recorded as the", "answer. If it asks something instead, run --took question, find out, then --update.", "", "Options:", " --ui <ui> options, approve, ask, or info", " --title <text> The question or update in one line, about 80 characters", " --context <text> Subtitle: why it matters, one or two sentences", " --choices <json> options: 1 to 9 of [{\"label\":\"...\",\"detail\":\"...\",\"recommended\":true}]", " --questions <json> options, instead of --choices: 2 to 4 of [{\"title\":\"...\",\"choices\":[...]}], one pick each", " --detail <text> approve: the command or SQL to approve", " --detail-label <text> approve: label of the disclosure for --detail (default Show details)", " --suggestions <json> ask: suggested answers, such as [\"main\",\"release\"]", " --action <json> info: one button, such as {\"label\":\"Open PR\",\"url\":\"https://...\"}", " --links <json> Any ui: up to 6 related files, pages or approvals, such as [{\"label\":\"Notes\",\"path\":\"docs/RELEASE.md\"}]", " or [{\"label\":\"Q-19\",\"approval\":\"Q-19\"}]", " --relays <item> Session orchestrator: improve this worker's waiting card (an id from runpane inbox)", " instead of posting a second one; the call waits on it, and the answer goes to the worker's tab", " --about-session <id|name> Autopilot's own item: the Session it is about", " --took <id|Q-n> <answer|question>", " The person's reply was a question: question reopens the approval and shows", " you are getting more context. answer only confirms the recorded answer", " --status <text> With --took question: what you are doing (default Getting more context…)", " --update <id|Q-n> Save a new version of the approval after the person's question, and wait on it;", " pass only what changed, and mark a reworded choice with \"was\" (its old label)", " --asked <text> With --update: the person's question, as they typed it; leave out", " for your own update, such as a loop's next run", " --what-changed <text> With --update: one line per change", " --resume <id> Keep waiting on a question an earlier call returned waiting for", " --pane-dir <path> Connect to a specific Pane data directory", " --todo <T-n> The to-do this card is about; it shows on the to-do's page", " --json Print machine-readable output", "", "Examples:", " runpane notify --ui options --title \"Which database?\" --choices '[{\"label\":\"Redis\",\"recommended\":true},{\"label\":\"SQLite\"}]'", " runpane notify --took Q-20 question", " runpane notify --update Q-20 --asked \"Can it be undone?\" --what-changed \"Added: it can be undone from Settings\" --context \"...\""];
2615
2565
  readonly "panels resume": readonly ["Usage:", " runpane panels resume --panel <panel-id> [--wait-ready] [--ready-timeout-ms <ms>] --yes [--json] [--pane-dir <path>]", " runpane panels resume (--session <id|name>|--all-stopped) [--wait-ready] [--ready-timeout-ms <ms>] [--concurrency <count>] --yes [--json] [--pane-dir <path>]", "", "Restarts a stopped terminal panel in the same panel, keeping its panel id. An agent panel", "relaunches with its resume command (Claude --resume <session>, codex resume <session>, Cursor", "--resume), the same restart the app runs when it shows the panel. Nothing takes focus. A panel", "whose agent exited back to its shell counts as stopped: its saved command runs again in that", "shell. A panel that is already running is left alone and reported as already-running.", "A paused panel resumes and loses its paused mark.", "", "With --session or --all-stopped it resumes every stopped agent panel in that scope (a", "Session's associated Panes, or every Pane), --concurrency at a time, skips running and paused ones,", "and returns one result per panel. With --wait-ready the resumed panels then wait together,", "and each result carries its own readiness and blocker. One panel failing does not stop the others.", "", "Options:", " --panel <panel-id> Terminal panel id", " --session <id|name> Resume the stopped agent panels of this Session's associated Panes", " --all-stopped Resume the stopped agent panels of every Pane", " --concurrency <count> Panels restarted at once for --session or --all-stopped; defaults to 3, at most 10", " --wait-ready Wait until the resumed agent is ready; startup prompts come back as readiness.blocked", " --ready-timeout-ms <ms> Readiness wait timeout; resumed panels wait together; defaults to 30000", " --yes Skip the confirmation prompt", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", "", "Examples:", " runpane panels resume --panel <panel-id> --wait-ready --yes --json", " runpane panels resume --session <id|name> --wait-ready --yes --json"];
2616
2566
  readonly "panels last-message": readonly ["Usage:", " runpane panels last-message --panel <panel-id> [--limit <count>] [--json] [--pane-dir <path>]", "", "Reads a Claude or Codex agent's last reply from its transcript. It never scrapes the screen:", "without a transcript it reports transcript-unavailable and exits non-zero.", "", "Options:", " --panel <panel-id> Agent panel id", " --limit <count> Maximum characters to return; defaults to 20000 (the end is kept)", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
@@ -2627,11 +2577,6 @@ declare const CONTRACT_SECTION_13: {
2627
2577
  readonly "loops pause": readonly ["Usage:", "runpane loops pause --loop <id> --yes [--json] [--pane-dir <path>]", "", "Pause a loop: it starts no scheduled runs until resumed.", "", "Options:", " --loop <id> Loop id, from runpane loops list.", " --yes Confirm the change.", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2628
2578
  readonly "loops resume": readonly ["Usage:", "runpane loops resume --loop <id> --yes [--json] [--pane-dir <path>]", "", "Resume a paused loop from its next scheduled time.", "", "Options:", " --loop <id> Loop id, from runpane loops list.", " --yes Confirm the change.", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2629
2579
  readonly "loops delete": readonly ["Usage:", "runpane loops delete --loop <id> --yes [--json] [--pane-dir <path>]", "", "Delete a loop. It starts no more runs.", "", "Options:", " --loop <id> Loop id, from runpane loops list.", " --yes Confirm the change.", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2630
- readonly profiles: readonly ["Usage:", " runpane profiles <list|show|launch|runs> [options]", "", "A profile is one YAML file that defines a team of agents and a fixed workflow.", "Pane runs a launched profile's workflow itself, step by step: each step opens as a tab", "in the run's Pane, and an agent step ends when its agent runs", "`runpane report --outcome \"<outcome>\"`. See docs/PROFILES.md.", "", "Commands:", " runpane profiles list [--json] [--pane-dir <path>]", " runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]", " runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] [--agent-harness <agent>=<cli[/model]>]... [--command <cli>=<command>]... --yes [--json] [--pane-dir <path>]", " runpane profiles runs [--json] [--pane-dir <path>]"];
2631
- readonly "profiles list": readonly ["Usage:", "runpane profiles list [--json] [--pane-dir <path>]", "", "List the profiles in Pane's library: name, version, origin, on or off, and whether each can launch.", "", "Each line: name, version, bundled or yours, on or off, and launchable, no flow", "(no workflow), or invalid with its first error.", "", "Options:", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2632
- readonly "profiles show": readonly ["Usage:", "runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]", "", "Show one profile: its agents, its workflow's steps and outcomes, its errors, and its file.", "", "Options:", " <name> The profile's name, from runpane profiles list.", " --yaml Print the profile's file text only.", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2633
- readonly "profiles launch": readonly ["Usage:", "runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] [--agent-harness <agent>=<cli[/model]>]... [--command <cli>=<command>]... --yes [--json] [--pane-dir <path>]", "", "Launch a profile: Pane runs its workflow step by step, the first step in a new Pane of a Session.", "", "Without --repo it runs in the repo of the Pane this terminal is in, else the active repo.", "Without --session a Session orchestrator's runs join its Session; anything else gets a new Session.", "It prints the run id, its Session, its first step and its Pane. Follow it with `runpane profiles runs`.", "", "Options:", " <name> The profile's name, from runpane profiles list.", " --prompt <text> What you want done: the first agent step's request. Required.", " --repo <selector> Repository: active, id, exact path, or saved name.", " --session <id|name> An existing Session to run in.", " --harness <cli[/model]> One CLI for every agent, over the file's runs.", " --agent-harness <agent>=<cli> The CLI for one agent; repeat per agent.", " --command <cli>=<command> The command that starts a CLI Pane does not know; repeat.", " --yes Confirm the launch.", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory.", "", "Examples:", " runpane profiles launch greenfield --prompt \"Add dark mode to settings\" --yes", " runpane profiles launch greenfield --prompt \"Fix the flaky test\" --agent-harness planner=claude/opus --yes --json"];
2634
- readonly "profiles runs": readonly ["Usage:", "runpane profiles runs [--json] [--pane-dir <path>]", "", "List profile runs: each run's profile, state and current step.", "", "Each line: run id, profile, state (running, asking, paused, ended or failed) and step.", "", "Options:", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2635
2580
  readonly "workspace list": readonly ["Usage:", " runpane workspace list [--json] [--pane-dir <path>]", "", "List the machines on your tailnet, each with its owner, and whether each answers workspaces.", "", "Options:", " --json Print machine-readable output."];
2636
2581
  readonly "workspace enable": readonly ["Usage:", " runpane workspace enable [--json] [--pane-dir <path>]", "", "Put this machine's Pane on your tailnet for runpane workspace (the default when Tailscale is signed in).", "", "Options:", " --json Print machine-readable output."];
2637
2582
  readonly "workspace disable": readonly ["Usage:", " runpane workspace disable [--json] [--pane-dir <path>]", "", "Take this machine off runpane workspace and remove its tailscale serve handler on port 8443.", "", "Options:", " --json Print machine-readable output."];
@@ -2709,7 +2654,7 @@ declare const CONTRACT_SECTION_13: {
2709
2654
  readonly "todos wake": readonly ["Usage:", " runpane todos wake <todo> [--json] [--pane-dir <path>]", "", "Wake a snoozed to-do now, as its time arriving would.", "Its orchestrator restarts in the same conversation if it is down and gets the wake-up note and any held comments; a reminder raises its card now. The thread logs who woke it early.", "", "Options:", " <todo> The to-do, as T-12 or 12. Find it with `runpane todos list`.", " --json Print machine-readable output.", " --pane-dir <path> Connect to a specific Pane data directory.", "", "Example:", " runpane todos wake T-12 --json"];
2710
2655
  };
2711
2656
  readonly pip: {
2712
- 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 secrets lease --project <project> <NAME>... [--reason <text>] [--json]", " runpane secrets lease end --id <lease-id> --yes [--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> | --outcome <name>) [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text> [--choices <json>]] [--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 machine health [--json]", " python -m runpane machine cleanup --kind <kind> [--yes] [--json]", " 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", " python -m runpane todos list [--all] [--json]", " python -m runpane todos create <title> [--summary <markdown>] [--done-when <text>]... [--parent <T-n>] [--repo <selector>] [--no-start] [--json]", " python -m runpane todos show|start|stop|done|drop|archive <todo> [--json]", " python -m runpane todos attach <todo> <file|url> [--kind <kind>] [--label <label>] [--json]", " python -m runpane todos ask <todo> <question> | comment <todo> <text> | review <todo> [--json]", " python -m runpane profiles list|runs [--json]", " python -m runpane profiles show <name> [--yaml] [--json]", " python -m runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] --yes [--json]", " 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."];
2657
+ 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 secrets lease --project <project> <NAME>... [--reason <text>] [--json]", " runpane secrets lease end --id <lease-id> --yes [--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> [--choices <json>]] [--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 machine health [--json]", " python -m runpane machine cleanup --kind <kind> [--yes] [--json]", " 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", " python -m runpane todos list [--all] [--json]", " python -m runpane todos create <title> [--summary <markdown>] [--done-when <text>]... [--parent <T-n>] [--repo <selector>] [--no-start] [--json]", " python -m runpane todos show|start|stop|done|drop|archive <todo> [--json]", " python -m runpane todos attach <todo> <file|url> [--kind <kind>] [--label <label>] [--json]", " python -m runpane todos ask <todo> <question> | comment <todo> <text> | review <todo> [--json]", " 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."];
2713
2658
  readonly install: readonly ["Usage:", " runpane install [client|daemon] [options]", "", "Examples:", " npx --yes runpane@latest install daemon --label \"My Server\"", " pnpm dlx runpane@latest install daemon --prefer-tunnel ssh --label \"VM\"", " pipx run runpane install daemon --label \"My Server\"", "", "Wrapper options:", " --version <latest|vX.Y.Z>", " --format <auto|appimage|deb|dmg|zip|exe>", " --download-dir <path>", " --pane-path <path>", " --dry-run", " --yes", " --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>"];
2714
2659
  readonly setup: readonly ["Usage:", " runpane setup", "", "Opens the guided setup for desktop install, remote host setup, update, and diagnostics.", "", "Quick start:", " pipx run runpane", " python -m pip install runpane && python -m runpane setup"];
2715
2660
  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."];
@@ -2794,7 +2739,7 @@ declare const CONTRACT_SECTION_13: {
2794
2739
  readonly "agents status": readonly ["Usage:", " runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]", "", "`runpane agents status` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest agents status"];
2795
2740
  readonly "agents send": readonly ["Usage:", " runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> [--as-file-pointer] [--no-expect-report] --yes [--json] [--pane-dir <path>]", "", "`runpane agents send` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest agents send"];
2796
2741
  readonly sessions: readonly ["Usage:", " runpane sessions <list|create|get|update|set-agent|associate|detach|overview|pause|resume> [options]", "", "Use a named Session to keep context, activity, and evidence attached to one orchestration thread."];
2797
- readonly report: readonly ["Usage:", " runpane report (--state <ready|blocked|failed|done> | --outcome <name>) [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text> [--choices <json>|--questions <json>]] [--pane <pane-id> --panel <panel-id>] [--todo <T-n>] [--json] [--pane-dir <path>]", "", "Hands back a worker's structured report for its panel: the orchestrator receives it as an", "agent.report watch event and reads it in `agents status` and `sessions overview`.", "Inside a Pane terminal the panel comes from PANE_SESSION_ID and PANE_PANEL_ID.", "It prints how many watches were waiting and received it (\"Delivered to 1 waiting watcher.\"). With no Session and", "nobody waiting, the report is still stored: a named-cursor watch receives it when it next waits.", "", "With --state blocked the person sees the question as a card. Its buttons come from --choices or", "--questions, else from needs_you in the status file passed as --summary-file. A --question that", "ends with options in brackets, such as \"(A (recommended) / B)\", and has neither is refused:", "nothing is shown. A question with no options is an open question, answered in words. A unit in", "brackets with a spaced slash, \"(requests / second)\", reads as options too: word it as prose", "(\"in requests per second\") or write it without spaces (\"(requests/second)\").", "", "--outcome <name> ends a profile step with one of its declared outcomes (implies --state done).", "Pane refuses an outcome the step does not declare and lists the ones it does.", "", "Options:", " --state <state> ready, blocked, failed, or done", " --outcome <name> A profile step's declared outcome; implies --state done, no --question", " --pr <number> Pull request number", " --head <sha> Head commit, 7-40 hex characters", " --summary <text> Summary text; up to 16,000 characters are kept", " --summary-file <path|-> Read the summary from a file or stdin", " --question <text> What you need answered; required with --state blocked", " --choices <json> blocked: the question's buttons, as notify takes them: 1 to 9 of", " [{\"label\":\"...\",\"detail\":\"...\",\"recommended\":true}]", " --questions <json> blocked, instead of --choices: 2 to 4 of [{\"title\":\"...\",\"choices\":[...]}]", " --pane <pane-id> Pane id when not running inside a Pane terminal", " --panel <panel-id> Panel id when not running inside a Pane terminal", " --pane-dir <path> Connect to a specific Pane data directory", " --todo <T-n> The to-do this report is about", " --json Print machine-readable output", "", "Examples:", " runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md", " runpane report --outcome \"plan ready\" --summary-file status.json", " runpane report --state blocked --question 'Q-3: Use the invoice id in the PDF filename?' --choices '[{\"label\":\"Invoice id\",\"recommended\":true},{\"label\":\"Invoice number\"}]'"];
2742
+ readonly report: readonly ["Usage:", " runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text> [--choices <json>|--questions <json>]] [--pane <pane-id> --panel <panel-id>] [--todo <T-n>] [--json] [--pane-dir <path>]", "", "Hands back a worker's structured report for its panel: the orchestrator receives it as an", "agent.report watch event and reads it in `agents status` and `sessions overview`.", "Inside a Pane terminal the panel comes from PANE_SESSION_ID and PANE_PANEL_ID.", "It prints how many watches were waiting and received it (\"Delivered to 1 waiting watcher.\"). With no Session and", "nobody waiting, the report is still stored: a named-cursor watch receives it when it next waits.", "", "With --state blocked the person sees the question as a card. Its buttons come from --choices or", "--questions, else from needs_you in the status file passed as --summary-file. A --question that", "ends with options in brackets, such as \"(A (recommended) / B)\", and has neither is refused:", "nothing is shown. A question with no options is an open question, answered in words. A unit in", "brackets with a spaced slash, \"(requests / second)\", reads as options too: word it as prose", "(\"in requests per second\") or write it without spaces (\"(requests/second)\").", "", "Options:", " --state <state> ready, blocked, failed, or done", " --pr <number> Pull request number", " --head <sha> Head commit, 7-40 hex characters", " --summary <text> Summary text; up to 16,000 characters are kept", " --summary-file <path|-> Read the summary from a file or stdin", " --question <text> What you need answered; required with --state blocked", " --choices <json> blocked: the question's buttons, as notify takes them: 1 to 9 of", " [{\"label\":\"...\",\"detail\":\"...\",\"recommended\":true}]", " --questions <json> blocked, instead of --choices: 2 to 4 of [{\"title\":\"...\",\"choices\":[...]}]", " --pane <pane-id> Pane id when not running inside a Pane terminal", " --panel <panel-id> Panel id when not running inside a Pane terminal", " --pane-dir <path> Connect to a specific Pane data directory", " --todo <T-n> The to-do this report is about", " --json Print machine-readable output", "", "Examples:", " runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md", " runpane report --state blocked --question 'Q-3: Use the invoice id in the PDF filename?' --choices '[{\"label\":\"Invoice id\",\"recommended\":true},{\"label\":\"Invoice number\"}]'"];
2798
2743
  readonly notify: readonly ["Usage:", " runpane notify --ui <options|approve|ask|info> --title <text> [--context <text>] [--choices <json>] [--questions <json>] [--detail <text>] [--detail-label <text>] [--suggestions <json>] [--action <json>] [--links <json>] [--relays <item>] [--about-session <id|name>] [--todo <T-n>] [--json] [--pane-dir <path>]", " runpane notify --took <id|Q-n> <answer|question> [--status <text>] [--json] [--pane-dir <path>]", " runpane notify --update <id|Q-n> [--asked <text>] --what-changed <text> [--title <text>] [--context <text>] [--choices <json>] [--questions <json>] [--links <json>] [--json] [--pane-dir <path>]", " runpane notify --resume <id> [--json] [--pane-dir <path>]", "", "Asks the person a question, or tells them something, on screen wherever they are, and", "prints their answer. The call waits until they answer; --ui info returns at once.", "Inside a Pane terminal the question names its Pane from PANE_SESSION_ID and PANE_PANEL_ID.", "When Pane is not running it prints an unavailable result: ask in the terminal instead.", "A typed reply comes back as a reply result (or a `reply:` line in your tab), recorded as the", "answer. If it asks something instead, run --took question, find out, then --update.", "", "Options:", " --ui <ui> options, approve, ask, or info", " --title <text> The question or update in one line, about 80 characters", " --context <text> Subtitle: why it matters, one or two sentences", " --choices <json> options: 1 to 9 of [{\"label\":\"...\",\"detail\":\"...\",\"recommended\":true}]", " --questions <json> options, instead of --choices: 2 to 4 of [{\"title\":\"...\",\"choices\":[...]}], one pick each", " --detail <text> approve: the command or SQL to approve", " --detail-label <text> approve: label of the disclosure for --detail (default Show details)", " --suggestions <json> ask: suggested answers, such as [\"main\",\"release\"]", " --action <json> info: one button, such as {\"label\":\"Open PR\",\"url\":\"https://...\"}", " --links <json> Any ui: up to 6 related files, pages or approvals, such as [{\"label\":\"Notes\",\"path\":\"docs/RELEASE.md\"}]", " or [{\"label\":\"Q-19\",\"approval\":\"Q-19\"}]", " --relays <item> Session orchestrator: improve this worker's waiting card (an id from runpane inbox)", " instead of posting a second one; the call waits on it, and the answer goes to the worker's tab", " --about-session <id|name> Autopilot's own item: the Session it is about", " --took <id|Q-n> <answer|question>", " The person's reply was a question: question reopens the approval and shows", " you are getting more context. answer only confirms the recorded answer", " --status <text> With --took question: what you are doing (default Getting more context…)", " --update <id|Q-n> Save a new version of the approval after the person's question, and wait on it;", " pass only what changed, and mark a reworded choice with \"was\" (its old label)", " --asked <text> With --update: the person's question, as they typed it; leave out", " for your own update, such as a loop's next run", " --what-changed <text> With --update: one line per change", " --resume <id> Keep waiting on a question an earlier call returned waiting for", " --pane-dir <path> Connect to a specific Pane data directory", " --todo <T-n> The to-do this card is about; it shows on the to-do's page", " --json Print machine-readable output", "", "Examples:", " runpane notify --ui options --title \"Which database?\" --choices '[{\"label\":\"Redis\",\"recommended\":true},{\"label\":\"SQLite\"}]'", " runpane notify --took Q-20 question", " runpane notify --update Q-20 --asked \"Can it be undone?\" --what-changed \"Added: it can be undone from Settings\" --context \"...\""];
2799
2744
  readonly "panels resume": readonly ["Usage:", " runpane panels resume --panel <panel-id> [--wait-ready] [--ready-timeout-ms <ms>] --yes [--json] [--pane-dir <path>]", " runpane panels resume (--session <id|name>|--all-stopped) [--wait-ready] [--ready-timeout-ms <ms>] [--concurrency <count>] --yes [--json] [--pane-dir <path>]", "", "Restarts a stopped terminal panel in the same panel, keeping its panel id. An agent panel", "relaunches with its resume command (Claude --resume <session>, codex resume <session>, Cursor", "--resume), the same restart the app runs when it shows the panel. Nothing takes focus. A panel", "whose agent exited back to its shell counts as stopped: its saved command runs again in that", "shell. A panel that is already running is left alone and reported as already-running.", "A paused panel resumes and loses its paused mark.", "", "With --session or --all-stopped it resumes every stopped agent panel in that scope (a", "Session's associated Panes, or every Pane), --concurrency at a time, skips running and paused ones,", "and returns one result per panel. With --wait-ready the resumed panels then wait together,", "and each result carries its own readiness and blocker. One panel failing does not stop the others.", "", "Options:", " --panel <panel-id> Terminal panel id", " --session <id|name> Resume the stopped agent panels of this Session's associated Panes", " --all-stopped Resume the stopped agent panels of every Pane", " --concurrency <count> Panels restarted at once for --session or --all-stopped; defaults to 3, at most 10", " --wait-ready Wait until the resumed agent is ready; startup prompts come back as readiness.blocked", " --ready-timeout-ms <ms> Readiness wait timeout; resumed panels wait together; defaults to 30000", " --yes Skip the confirmation prompt", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", "", "Examples:", " runpane panels resume --panel <panel-id> --wait-ready --yes --json", " runpane panels resume --session <id|name> --wait-ready --yes --json"];
2800
2745
  readonly "panels last-message": readonly ["Usage:", " runpane panels last-message --panel <panel-id> [--limit <count>] [--json] [--pane-dir <path>]", "", "Reads a Claude or Codex agent's last reply from its transcript. It never scrapes the screen:", "without a transcript it reports transcript-unavailable and exits non-zero.", "", "Options:", " --panel <panel-id> Agent panel id", " --limit <count> Maximum characters to return; defaults to 20000 (the end is kept)", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
@@ -2811,11 +2756,6 @@ declare const CONTRACT_SECTION_13: {
2811
2756
  readonly "loops pause": readonly ["Usage:", "python -m runpane loops pause --loop <id> --yes [--json] [--pane-dir <path>]", "", "Pause a loop: it starts no scheduled runs until resumed.", "", "Options:", " --loop <id> Loop id, from runpane loops list.", " --yes Confirm the change.", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2812
2757
  readonly "loops resume": readonly ["Usage:", "python -m runpane loops resume --loop <id> --yes [--json] [--pane-dir <path>]", "", "Resume a paused loop from its next scheduled time.", "", "Options:", " --loop <id> Loop id, from runpane loops list.", " --yes Confirm the change.", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2813
2758
  readonly "loops delete": readonly ["Usage:", "python -m runpane loops delete --loop <id> --yes [--json] [--pane-dir <path>]", "", "Delete a loop. It starts no more runs.", "", "Options:", " --loop <id> Loop id, from runpane loops list.", " --yes Confirm the change.", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2814
- readonly profiles: readonly ["Usage:", " python -m runpane profiles <list|show|launch|runs> [options]", "", "A profile is one YAML file that defines a team of agents and a fixed workflow.", "Pane runs a launched profile's workflow itself, step by step: each step opens as a tab", "in the run's Pane, and an agent step ends when its agent runs", "`runpane report --outcome \"<outcome>\"`. See docs/PROFILES.md.", "", "Commands:", " python -m runpane profiles list [--json] [--pane-dir <path>]", " python -m runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]", " python -m runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] [--agent-harness <agent>=<cli[/model]>]... [--command <cli>=<command>]... --yes [--json] [--pane-dir <path>]", " python -m runpane profiles runs [--json] [--pane-dir <path>]"];
2815
- readonly "profiles list": readonly ["Usage:", "python -m runpane profiles list [--json] [--pane-dir <path>]", "", "List the profiles in Pane's library: name, version, origin, on or off, and whether each can launch.", "", "Each line: name, version, bundled or yours, on or off, and launchable, no flow", "(no workflow), or invalid with its first error.", "", "Options:", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2816
- readonly "profiles show": readonly ["Usage:", "python -m runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]", "", "Show one profile: its agents, its workflow's steps and outcomes, its errors, and its file.", "", "Options:", " <name> The profile's name, from runpane profiles list.", " --yaml Print the profile's file text only.", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2817
- readonly "profiles launch": readonly ["Usage:", "python -m runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] [--agent-harness <agent>=<cli[/model]>]... [--command <cli>=<command>]... --yes [--json] [--pane-dir <path>]", "", "Launch a profile: Pane runs its workflow step by step, the first step in a new Pane of a Session.", "", "Without --repo it runs in the repo of the Pane this terminal is in, else the active repo.", "Without --session a Session orchestrator's runs join its Session; anything else gets a new Session.", "It prints the run id, its Session, its first step and its Pane. Follow it with `runpane profiles runs`.", "", "Options:", " <name> The profile's name, from runpane profiles list.", " --prompt <text> What you want done: the first agent step's request. Required.", " --repo <selector> Repository: active, id, exact path, or saved name.", " --session <id|name> An existing Session to run in.", " --harness <cli[/model]> One CLI for every agent, over the file's runs.", " --agent-harness <agent>=<cli> The CLI for one agent; repeat per agent.", " --command <cli>=<command> The command that starts a CLI Pane does not know; repeat.", " --yes Confirm the launch.", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory.", "", "Examples:", " python -m runpane profiles launch greenfield --prompt \"Add dark mode to settings\" --yes", " python -m runpane profiles launch greenfield --prompt \"Fix the flaky test\" --agent-harness planner=claude/opus --yes --json"];
2818
- readonly "profiles runs": readonly ["Usage:", "python -m runpane profiles runs [--json] [--pane-dir <path>]", "", "List profile runs: each run's profile, state and current step.", "", "Each line: run id, profile, state (running, asking, paused, ended or failed) and step.", "", "Options:", " --json Print JSON output.", " --pane-dir <path> Connect to a specific Pane data directory."];
2819
2759
  readonly "workspace list": readonly ["Usage:", " runpane workspace list [--json] [--pane-dir <path>]", "", "`runpane workspace list` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest workspace list"];
2820
2760
  readonly "workspace enable": readonly ["Usage:", " runpane workspace enable [--json] [--pane-dir <path>]", "", "`runpane workspace enable` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest workspace enable"];
2821
2761
  readonly "workspace disable": readonly ["Usage:", " runpane workspace disable [--json] [--pane-dir <path>]", "", "`runpane workspace disable` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest workspace disable"];
@@ -2900,8 +2840,8 @@ declare const CONTRACT_SECTION_14: {
2900
2840
  readonly npmCommands: readonly ["npx --yes runpane@latest", "npx --yes runpane@latest setup", "npx --yes runpane@latest install client", "npx --yes runpane@latest install daemon --label \"My Server\"", "pnpm dlx runpane@latest", "pnpm dlx runpane@latest install daemon --label \"My Server\"", "npm i -g runpane && runpane", "npm i -g runpane && runpane setup", "npm i -g runpane && runpane install daemon --label \"My Server\"", "pnpm add -g runpane && runpane", "pnpm add -g runpane && runpane setup", "pnpm add -g runpane && runpane install daemon --label \"My Server\"", "yarn dlx runpane@latest install daemon --label \"My Server\"", "bunx runpane@latest install daemon --label \"My Server\""];
2901
2841
  readonly pythonCommands: readonly ["pipx run runpane", "pipx run runpane setup", "python -m pip install runpane", "runpane", "runpane setup", "python -m runpane setup", "runpane install daemon --label \"My Server\"", "pipx install runpane", "runpane", "runpane setup", "pipx run runpane install daemon --label \"My Server\"", "uvx runpane@latest", "uvx runpane@latest setup", "uvx runpane@latest install daemon --label \"My Server\"", "python -m runpane install daemon --label \"My Server\""];
2902
2842
  readonly packageManagerNotes: readonly ["Use `pnpm dlx` for one-shot pnpm execution and `pnpm add -g` for persistent CLI installation.", "Do not document `pnpm install runpane` as the public CLI install path."];
2903
- readonly commandUsages: readonly ["runpane", "runpane setup", "runpane install", "runpane install client", "runpane install daemon", "runpane update", "runpane version", "runpane doctor", "runpane doctor --json", "runpane daemon repair --pane-dir ~/.pane_remote --yes --json", "runpane agent-context", "runpane agent-context --command \"panes create\" --json", "runpane mcp", "runpane repos list --json", "runpane repos add --path /path/to/repo --name Pane --yes --json", "runpane repos get --repo Pane --json", "runpane repos update --repo Pane --build-script \"pnpm install\" --run-script \"pnpm dev\" --worktree-folder ../pane-worktrees --yes --json", "runpane repos update --repo Pane --clear run-script --yes --json", "runpane repos update --repo Pane --env '[{\"key\":\"API_URL\",\"source\":\"plain\",\"value\":\"https://api.test\"},{\"key\":\"STRIPE_KEY\",\"source\":\"secret\",\"project\":\"stripe\",\"name\":\"STRIPE_SECRET_KEY\"}]' --env-remove OLD_TOKEN --yes --json", "runpane repos rename --repo 3 --name Lev --yes --json", "runpane secrets list --json", "printf %s \"$VALUE\" | runpane secrets set --project stripe --name STRIPE_SECRET_KEY --yes", "runpane secrets delete --project stripe --name STRIPE_SECRET_KEY --yes --json", "runpane secrets exec --project stripe --only STRIPE_SECRET_KEY -- pnpm test:webhooks", "runpane secrets request --project stripe --name STRIPE_SECRET_KEY --title \"Stripe test secret key\" --reason \"Run the webhook tests against Stripe test mode.\" --json", "runpane secrets lease --project stripe STRIPE_SECRET_KEY --reason \"Run the webhook tests against Stripe test mode.\" --json", "runpane secrets lease end --id 3f9a2c1b7d4e8f06 --yes --json", "runpane panes list --repo active --json", "runpane panes cost --pane <pane-id> --json", "runpane panes create --repo active --name issue-252 --agent <agent> --prompt \"Kick off the discussion skill for issue 252\" --source agent --no-focus --wait-ready --yes --json", "runpane panes create --from-json panes.json --yes --json", "runpane panes archive --pane <pane-id> --source agent --yes --json", "runpane panes rename --pane <pane-id> --name issue-393 --yes --json", "runpane panels list --pane <pane-id> --json", "runpane panels output --panel <panel-id> --limit 200 --json", "printf 'Continue\\n' | runpane panels input --panel <panel-id> --input-file - --yes --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 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 testing-account --ttl 30m --wait 1800000 --note \"call QA\" --json", "runpane lock release --name testing-account --json", "runpane lock list --json", "runpane machine health --json", "runpane machine cleanup --kind update-snapshot --json", "runpane machine cleanup --kind update-snapshot --yes --json", "runpane loops create --repo active --name nightly-bug-sweep --cron \"0 3 * * *\" --agent claude --prompt \"Fix one bug from yesterday's issues\" --yes --json", "runpane loops list --json", "runpane loops run --loop <loop-id> --yes --json", "runpane todos create \"Keyboard sheet\" --done-when \"Sheet opens with ?\" --repo pane --json", "runpane todos attach T-12 tmp/plan/cover-sheet.html --kind plan --json", "runpane todos ask T-12 \"Should the sheet list chat shortcuts too?\" --json", "runpane todos review T-12 --summary \"Ready; see the PR.\" --json", "runpane todos snooze T-12 --until tomorrow --note \"Check Sentry after the deploy\" --json", "runpane profiles list --json", "runpane profiles launch greenfield --prompt \"Add dark mode to settings\" --yes --json", "runpane agents start --repo active --name fix-login --agent claude --prompt \"Fix the login redirect\" --yes --json", "runpane agents start --pane <pane-id> --agent codex --prompt \"Review the PR from this branch and report findings\" --yes --json", "runpane agents status --pane <pane-id> --json", "runpane agents send --pane <pane-id> --text \"Also add a test\" --yes --json", "runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md --json", "runpane panels last-message --panel <panel-id> --json", "runpane panels conversation --conversation <id> --source resume --json", "runpane panels close --panel <panel-id> --yes --json", "runpane panels resume --panel <panel-id> --wait-ready --yes --json", "runpane panels resume --session <id|name> --wait-ready --yes --json", "runpane panes pause --pane <pane-id> --yes --json", "runpane panes resume --pane <pane-id> --yes --json", "runpane docs search --query \"archive a pane\" --json", "runpane links create --pane <pane-id> --json", "runpane panes git-status --pane <pane-id> --json", "runpane help", "runpane <command> --help", "runpane watch --until-event", "runpane watch --follow", "runpane watch --session <id|name> --follow", "runpane watch --session <id|name> --follow --ready-settle 1m --blocked-settle 15s --min-interval 2m", "runpane pr watch [--pane <id>] --url <PR URL> [--head <full-sha>] [--json] [--pane-dir <path>]", "runpane pr unwatch [--pane <id>] --url <PR URL> [--json] [--pane-dir <path>]", "runpane pr list [--pane <id>] [--json] [--pane-dir <path>]"];
2904
- readonly commandDescriptions: readonly ["`runpane` with no arguments and `runpane setup` open an interactive wizard when stdin and stdout are TTYs. The remote-host wizard asks only for a name, then runs interactive Tailscale setup with automatic port selection; explicit install daemon flags remain available for SSH and manual URLs. In non-interactive shells or CI, both forms must print help, common commands, and agent discovery hints, then exit successfully instead of waiting for input.", "`runpane install` is an alias for `runpane install client`.", "`runpane install client` downloads the selected Pane desktop artifact and installs, opens, or launches it for the current platform.", "`runpane install daemon` downloads or installs Pane, resolves a stable Pane executable path, and spawns `<pane executable> --remote-setup <forwarded remote setup args>`.", "The wrapper must stream Pane stdout/stderr without reformatting because `pane --remote-setup` prints the one-time `pane-remote://...` connection code.", "`runpane update` defaults to both app and active supported CLI, with independent supervision, staging, durable status, and explicit restoration outcomes. Prerequisites, status fields/exit codes, draft handling and manual recovery are documented in [Update recovery](UPDATE_RECOVERY.md).", "`runpane version` prints only wrapper package metadata and does not contact, launch, or focus the Pane app or daemon.", "`runpane doctor` opens with Pane's intro (\"For people\" and \"For agents\", the sentence about reaching the person following the Approvals setting) and the working rules (Session, Pane, Tab, Scratch), also in `--json` as `intro` and `workspaceRules`. It then checks platform support, release metadata reachability, download URL selection, installed Pane detection, daemon reachability, every `runpane` on `PATH` against the Pane-managed CLI, and remote-daemon hints. `--fix` updates npm installs of `runpane` older than the Pane-managed CLI to its version and never removes a file. Add `--json` for a machine-readable report that agents should run before mutating Pane state. Installed app version detection must be best-effort and must not launch, focus, or configure Pane; macOS wrappers read app bundle metadata instead of executing `Pane --version`.", "`runpane daemon repair` rewrites and restarts only the managed remote-daemon launcher/service. It never creates pairing credentials, changes tunnels, or downloads Pane; doctor only recommends it and never runs it automatically.", "`runpane agent-context` prints a brief, token-efficient command schema for coding agents without connecting to the Pane daemon.", "`runpane agent-context --command \"panes create\"` prints the detailed definition for one command. Add `--json` for machine-readable output. An unknown command exits 2 and lists the closest command names; with `--json` it prints `{ ok: false, code: \"unknown_command\", message, candidates }` on stdout.", "`runpane mcp` runs a stdio MCP server whose tools are generated from this contract: every command with result `jsonSchemas` becomes a tool that runs `runpane <command> --json` and returns its output. Only the npm package and the Pane app include it; the Python wrapper prints how to run it with Node and exits non-zero.", "`runpane repos list` connects to the running local Pane daemon and prints saved repository records.", "`runpane repos add` registers an existing git repository with the running local Pane daemon. It does not create directories or initialize git repositories by default.", "`runpane repos get` prints a saved repository's Project Settings. Each script shows its saved value, the fallback from the repository's config file, and the one Pane will run.", "`runpane repos update` changes a saved repository's Project Settings through the same save as the Project Settings dialog. It requires `--yes`, supports `--dry-run`, clears settings with `--clear`, and adds, replaces or removes project environment variables with `--env` and `--env-remove`.", "`runpane repos rename` trims and sets a saved repository's display name, the same rename as the repository settings in the app, and returns the updated repository record.", "`runpane secrets` manages Pane secrets: named values, addressed as `<project>/<NAME>`, that every machine saved in Pane keeps a copy of. `list` shows names, times and machines, 1Password references and live leases, never a value. `set` reads the value from stdin. `delete` removes one everywhere. `exec` runs a command with secrets in its environment and returns its exit code. `request` asks the person on a masked Notify card and returns only `saved` or `declined`. A secret can instead be a 1Password reference, which the person sets in Settings; it has a value only during a lease. `lease` asks the person to start one and returns the lease's id, end time and machines; `lease end` ends one now. `exec` fails with `SECRET_LEASE_ENDED` when a reference has no live lease. No command prints a value, and the MCP server has no tool that sets or reads one. These commands run on the machine itself, so `runpane workspace <machine> secrets ...` is refused; use `runpane workspace <machine> exec -- runpane secrets ...`.", "`runpane panes list` lists Pane sessions, optionally scoped to one saved repository.", "`runpane panes cost` reports estimated token costs per Pane for the last 30 days, including per-model breakdowns and cache efficiency; unscoped output includes an Unattributed bucket that reconciles against workspace totals.", "`runpane panes create` connects to the running local Pane daemon, resolves the requested saved base repository, creates user-visible Pane sessions backed by Pane-managed worktrees/branches, opens terminal-backed tool tabs, and optionally sends initial input to the started tool. Built-in agent panes and `--source agent` default to background/no-focus unless `--focus` is passed. New Panes are pinned into the UI's favorite/pin set by default, except when the CLI runs inside a Session orchestrator (`PANE_ORCHESTRATION_SESSION_ID`), where child worktrees default to unpinned. Explicit `--pinned` / `--no-pinned` override creation defaults. First Session association clears an existing pin, including an explicit creation pin; use `panes pin` after association to pin a child. This avoids duplicating Session children in the global pinned list. Manual pins applied afterward are preserved. Panes created interactively in the Pane UI are unaffected. New Panes join the caller's Session automatically: the orchestrator's Session (`PANE_ORCHESTRATION_SESSION_ID`), or the open Session the calling tab's Pane belongs to; `--no-associate` opts out. A failed association is reported on the item and never undoes the Pane.", "For `panes create --wait-ready` (and `panels create`, `panes adopt --launch`), ready means an identified agent at its own input box: declared with `--agent`, or detected from the command, its foreground process or its screen. A `--tool-command` that never shows a supported agent is not ready: `readiness.ok` is false with `readiness.reason.code` `no-agent-detected` after the timeout, or `command-exited` as soon as the command exits back to the shell, and nothing is typed into it. `agent-not-ready` means the agent was detected but its input box was not ready in time. CLI readiness is confirmed on consecutive polls. Codex also requires a recognized configured model or context footer below its live composer; its provisional startup composer is not ready. Hidden or unrecognized Codex status lines conservatively time out rather than prove readiness. Startup prompts return blocked with the prompt's own text in blocked.message and a suggestedCommand, and Pane never answers them, apart from Claude's folder trust for a Session's own folder: first-run trust and daemon dialogs and Agent Farm's `Trust this repository workspace? [y/N]` as blocked.kind=first-run-dialog; Codex's security setup banner and any other prompt, including a wrapper's or shell's `[y/N]` before the agent appears, as agent-prompt. A starting message blocked this way is held and sent once the prompt is answered and the agent's input box is ready. Every create with a starting message returns `initialInput`. Pane stages the text in the composer, presses the agent's submit key separately (Ctrl+Enter for Codex, declared or detected), and checks where it went: `initialInput.delivery` is `taken` or `queued` (from the agent's transcript or its screen), `in-composer`, or `unknown` (`argv` means a prompt was routed at launch; Pane gives the transcript up to 10 seconds before settling on unknown). `initialInput.verifiedSubmitted` is true exactly when it is `taken` or `queued`, and the create's `ok` is false unless a Claude or Codex starting message is verified. Cursor, OpenCode and Pi have no acceptance probe: their delivery stays `unknown` with a delivery.message saying so, `verification: unverifiable`, and `ok` follows readiness. Without `--wait-ready` the create returns at once with `initialInput.verifiedSubmitted: false`, a delivery.message saying the call did not wait, and a `panels wait` nextCommand; Pane still sends the message once the agent is identified and at its input box, and gives up without typing it if no supported agent appears within 30 seconds.", "`runpane panes archive` refreshes the configured upstream, reports exact unpushed commit evidence, and refuses unsafe archive operations unless `--force` is used. A branch whose upstream is gone counts as pushed when a merged GitHub pull request has HEAD as its head (`safetyCheck.mergedViaPr`). Add `--dry-run` to inspect the same evidence without archiving. `--remove-worktree` applies the same check and removal to an adopted worktree; local branches are always kept. Successful archives report `worktreeCleanup: completed` once the worktree is gone from its path and from git; `trashDeletion: pending` means its files are still being deleted in the background. `runpane panes archive --session <id|name> --merged` archives every Session Pane that is clean and pushed or merged, and reports a reason for each skipped Pane. Archive refuses a Pane with an agent mid-turn or waiting for an answer (`agent-busy`, listed in `safetyCheck.busyAgents`), or with a tab holding unsent composer text or unsaved editor edits (`unsent-input`, listed in `safetyCheck.unsentInput`), unless `--force` is used, and the Session sweep skips it. Add `--closed` to the sweep to also archive Panes whose PR closed without merging.", "`runpane panes rename` trims and updates a Pane's display name without changing its worktree, branch, panels, or focus, and returns the updated pane summary.", "`runpane panes focus` raises the Pane window and selects a Pane (and optionally one of its panels) exactly like clicking it in the UI. Because it steals the user's window focus, run it only on an explicit user request to open, focus, show, or switch to a Pane; never focus a Pane proactively, the same doctrine that keeps `panes create` background/no-focus for `--source agent`.", "`runpane panels open` opens a URL or a file from the Pane worktree as a tab in an existing Pane (default: the calling panel's Pane from `PANE_SESSION_ID`), in split view beside the agent unless `--tab` is passed. Files open in an editor tab with read-only previews for supported formats, and HTML opens as editable source; an existing tab showing the same target is reused. It brings the tab forward for clients already showing that Pane, and never raises or focuses the Pane window or switches anyone's Pane.", "`runpane panels close --panel <panel-id>` closes a tab exactly like closing it in Pane (a terminal tab's process stops) and never archives the Pane or touches its worktree. Only a tab an agent opened with `--source agent` can close; Pane records that opener, and `panels list` shows it as `openedBy`. It refuses, without closing, the person's tabs and every tab from before Pane recorded openers (`opened-by-user`), permanent tabs (`permanent`), an agent mid-turn or waiting for an answer (`agent-busy`), unsent composer text or unsaved editor edits (`unsent-input`), and a live tab whose input Pane cannot read, such as agents other than Claude and Codex or chat tabs (`input-unknown`). A refusal prints `{ ok: false, closed: false, refused: { code, message, next } }` and exits 1. A tab id that no longer exists returns `alreadyClosed: true`. `--dry-run` reports `wouldClose` and any refusal without closing. `--force` closes the tab anyway, as its close button does, for a stuck tab or one the person asked to close (`forced: true`); only a permanent tab still stays.", "`runpane panels list` lists tool panels inside one Pane session. Each panel with a saved agent session ID reports it as `resumeId`, with `resumeSource` (`agent-farm`, `configured`, or `agent`) naming the rule that reopens the conversation.", "`runpane panels output` reads bounded recent terminal output from one panel and strips common terminal control noise for agent use.", "`runpane panels input` sends exact input bytes to one terminal panel. Prefer `--input-file` for newlines, Ctrl-C, quotes, or shell-sensitive text.", "`runpane panes create --prompt` is an alias for `--initial-input`; request JSON and daemon payloads should use the canonical `initialInput` field.", "`runpane panes create --branch <name>` creates the Pane's worktree on exactly that new branch, slashes included (for example `agents/w5a`). The name is checked with `git check-ref-format --branch`, creation fails if the branch already exists, and Pane never renames it to make it unique. `--worktree-name` still names the directory and defaults to `--name`. `--base` is an alias for `--base-branch`, and `--prompt-file` for `--initial-input-file`. `panes create --base <ref> --branch <name> --prompt-file <file>` replaces `git worktree add` plus `panes adopt`. When the base is a remote-tracking branch (the default `origin/main`, or one named with `--base`), Pane fetches it first, waiting at most about 10 seconds, so the Pane starts at the remote's current tip. Each created item reports `base` (`ref`, `commit`, `refresh`); if the fetch fails the Pane still starts, from the local ref, and `base.notice` says so and how to catch up.", "`runpane panes adopt --launch` accepts `--prompt`, `--prompt-file`, `--wait-ready`, and `--ready-timeout-ms`, and reports `readiness`, `initialInput`, and `nextCommand` like `panes create`. A prompt without `--launch` is an error rather than being dropped.", "If composer submission cannot be verified without risking a duplicate, the create item is unsuccessful with `initialInput.staged`, `initialInput.attempts`, `initialInput.blocked.kind: submission_unverified`, and an actionable `nextCommand`. The CLI-facing `--prompt` alias maps to this canonical `initialInput` result.", "When running from WSL while Pane is installed on Windows, a Linux-installed runpane cannot reach Pane: it looks for a missing `/tmp/pane-daemon.../daemon.sock`. Pane's own `runpane` (on PATH in Pane's WSL terminals, or `/mnt/c/Users/<you>/.pane/bin/runpane` from any WSL shell) runs the Windows CLI through WSL interop and converts path arguments. With a Pane build older than that shim, invoke the Windows wrapper through PowerShell from a Windows cwd, for example `powershell.exe -NoProfile -Command 'Set-Location $env:TEMP; runpane repos list --json'`.", "`runpane watch` waits for agent, Pane, panel, and PR events from the daemon journal without polling. `--follow` keeps watching with defaults tuned for an agent watching unattended (quiet, batched, and it ends itself after 3 hours with nothing happening); individual duration flags override these defaults. Cadence requires a named follow consumer; `--follow --since <generation>` has no consumer name and bypasses settling and batching. `--until-event` waits for one event worth waking for, prints it immediately without follow settling or batching, and exits 0. The defaults are listed in the contract under defaults.watch.", "A watch releases its pending slot when its client socket or named pipe disconnects. Re-arming the same named cursor takes over the previous request; the superseded watcher exits with a WATCH ERROR instead of competing for the cursor. Anonymous concurrent watchers retain the eight-wait limit. Each request also has a 125-second lease (slightly longer than the maximum 120-second long poll), so an abandoned request is reclaimed even if no disconnect arrives.", "The desktop app treats one consumer name specially: while a `runpane watch --as dictate` request is in flight, and for 30 seconds after the last one ends, Pane skips its own \"needs your input\" and \"finished\" desktop notifications, because [Dictate](https://github.com/parsakhaz/open-dictate) shows those events on its pill. When that watcher stops, Pane's notifications come back. The CLI's flags and output are unchanged.", "`sessions list` list durable named orchestration Sessions.", "`sessions create` create a durable named orchestration Session and its hidden terminal owner.", "`sessions get` read one durable named orchestration Session.", "`sessions update` update a Session overview from structured JSON.", "`sessions pin` and `sessions unpin` set the Session pin star through the existing UI update path. Create JSON accepts `isPinned` (default false); update JSON preserves the pin when the field is omitted.", "`sessions set-agent` switch the durable terminal agent for a named Session.", "`sessions associate` associate a user-visible Pane with a named Session.", "`sessions detach` detach a Pane from a named Session.", "`sessions overview` read a live status, activity, git, and pull request overview for a named Session. Each panel in `panes[].panels[]` carries its own latest `runpane report` as `report`, so one call shows what every worker last reported and when (`reportedAt`, next to the panel's `state` and `lastActivityAt`). When a report's summary is a complete JSON object, such as a status file sent with `--summary-file`, `report.data` holds it exactly as the worker gave it; Pane never reads, renames or validates its fields. A summary that is not a JSON object (plain text, an array, a scalar or invalid JSON), is nested more than 64 levels deep, or was truncated (`summaryTruncated`), has no `data`. A panel that never reported has no `report`. `panes[].report` is still the newest report among the Pane's panels. Each panel also has `type` (`terminal`, `browser`, `editor`, `explorer`, `diff`, ...): a Pane linked whole lists every tab, with `explorer` and `diff` last, and a link that names tabs lists exactly those.", "`runpane lock acquire|release|list` coordinate a resource shared between agents, such as one test account. The caller's Pane and panel own the lock; it is scoped to the owner's Session (or global outside one), renews for the same owner, and is released on TTL expiry, owner panel exit, or owner Pane archive. `--wait` blocks in the daemon until the lock comes free.", "`runpane machine health` shows this machine's disk and memory levels, the Panes using the most memory, leak warnings, and the disk space Pane can free by tier. `runpane machine cleanup --kind <kind>` lists one kind of tier 1 or 2 item (a dry run) and deletes them with `--yes`; tier 3 items are not Pane's, so it refuses them and says how to free them. Agents free disk only through this command, never with rm.", "`runpane loops list|create|update|run|pause|resume|delete` manage loops (scheduled tasks): a cron schedule that starts a new Pane in a fresh worktree for each run, or sends a prompt to a Session's agent. Loops are for large recurring jobs and run at most once an hour; for short waits, agents use their harness's own sleep and wake. See [LOOPS.md](LOOPS.md).", "`runpane todos create|update|attach|detach|show|list|assign|ask|comment|review|done|drop|archive|start|stop` manage to-dos, the person's list of agent work: each started to-do gets its own Session and orchestrator, and Pane keeps it moving until it is done. Each call records the caller's tab ($PANE_PANEL_ID). Attach plans, mock-ups, designs, PRs, findings and decisions as soon as they exist; ask the requester first with `todos ask`; replies are summaries of at most 2,000 characters; `todos review` needs attachments or `--no-attachments`; an agent marks a top-level to-do done only after the person's Accept or with `--person-said`. `--todo <T-n>` on `notify`, `report` and `agents start` links that card, report or agent to a to-do.", "`runpane profiles list|show|launch|runs` work with Pane profiles: a profile is one YAML file that defines a team of agents and a fixed workflow, and Pane runs a launched profile's workflow itself (see [PROFILES.md](PROFILES.md)). `list` prints each profile in the library with its version, origin (`bundled` or `yours`), whether it is on, and whether it can launch (`launchable`, `no flow` for a profile with no workflow, or `invalid` with its first error); `--json` adds the bundled Agent Farm's state and the person's own Agent Farm profiles. `show <name>` prints its agents, steps and outcomes, and errors (`--yaml` prints the file text only; `--json` carries both as `profile` and `yaml`). `launch <name> --prompt <text> --yes` starts a run and prints it (`run`: id, Session, step, Pane): it runs in `--repo`, else the repo of the Pane the caller's terminal is in (`PANE_SESSION_ID`), else the active repo; in `--session`, else the caller's orchestrated Session (`PANE_ORCHESTRATION_SESSION_ID`), else a new Session. `--harness <cli[/model]>` picks one CLI for every agent, `--agent-harness <agent>=<cli[/model]>` one agent's CLI, and `--command <cli>=<command>` the command that starts a CLI Pane does not know (each repeatable, or one JSON object). A launch without `--prompt` fails with `ERR_PROFILES_PROMPT_REQUIRED`; Pane refuses a profile it cannot launch with `PROFILE_NOT_FOUND`, `PROFILE_NOT_LAUNCHABLE` or `PROFILE_TEAM_ONLY` and a next step. Profiles is off until Settings › Advanced › Profiles turns it on; until then `list`, `show` and `launch` fail with `PROFILES_OFF`, while runs already started keep going and `runs` still lists them. `runs` lists runs with their state (`running`, `asking`, `paused`, `ended`, `failed`) and current step. The MCP tools are `profiles_list`, `profiles_show`, `profiles_launch` and `profiles_runs`, in the `core`, `profiles` and `plugin` toolsets.", "`runpane agents start|status|send` finish the three common agent jobs in one call each: start an agent on a task (a new tab in the work's Pane with `--pane <id>`, or a new Pane for new work), check on it, and send it a follow-up.", "`runpane report --state ready|blocked|failed|done` is how a worker hands back its result. It stores the latest report on the worker's panel (state, `--pr`, `--head`, up to 16,000 characters of `--summary` or `--summary-file`, and the `--question` a blocked worker needs answered, with its buttons as `--choices` or `--questions` in notify's JSON), journals an opt-in `agent.report` watch event (`REPORT <pane-name> pane <pane-id> panel <panel-id> ready pr#747 fc5dce9`; it skips the `--min-interval` batch), records it as Session activity, and shows it in `agents status`, `panels list`, and `sessions overview` (each panel's own report as `panes[].panels[].report`, with a JSON object summary as `data`, and the Pane's newest as `panes[].report`). Inside a Pane terminal the panel comes from `PANE_SESSION_ID` and `PANE_PANEL_ID`; elsewhere pass `--pane` and `--panel`. It prints how many watches were waiting for the report and received it (`Delivered to 1 waiting watcher.`, `liveWatchers` in JSON). Zero means nobody was waiting right now, not that the report is lost: it stays on the panel, and a named-cursor watch receives it when it next waits.", "`runpane report --outcome <name>` ends one step of a Pane profile workflow: it names which of the step's declared outcomes happened (`runpane report --outcome \"plan ready\" --summary-file status.json`) and sends `state: done` with `outcome`. `--state` is then optional and may only be `done` (otherwise `ERR_REPORT_OUTCOME_STATE`), and `--question` is refused (`ERR_REPORT_OUTCOME_QUESTION`): an outcome ends the step, a question would block it. Pane checks the outcome against the step the panel runs and refuses an undeclared one with an error that lists the allowed outcomes.", "`runpane notify` asks the person a question, or tells them something, on screen wherever they are, and prints their answer: `--ui options` with 1 to 9 `--choices` returns `{answer, note?}` (the chosen label), or with 2 to 4 `--questions` (`[{title, choices}]`) one pick each, as `{answer, answers}`, `--ui approve` returns `{approved, note?}`, `--ui ask` returns `{answer}`, and `--ui info` returns `{delivered: \"screen\"|\"inbox\"}` at once. Any ui takes up to 6 `--links` (`{label, path}`, `{label, url}` or `{label, approval}` for another approval), shown as chips on the card. When the person types a reply it returns `{reply, picks?, id, next}` (or, with no open call, types a `reply:` line into the asking tab), and Pane records the reply as the answer once it is delivered. If the reply asks something instead, `--took <id|Q-n> question [--status <text>]` reopens the approval and shows that the agent is getting more context (`--took <id|Q-n> answer` confirms it, and changes nothing), and `runpane notify --update <id|Q-n> [--asked <text>] --what-changed <text>` with any changed `--title`, `--context`, `--choices`, `--questions` or `--links` saves a new version and waits on it. `--took` prints `{took, id, next?}`. Only the reply's reader (the asker, the orchestrator that relayed it, or Autopilot) may run them. The call waits with no time limit. A `{waiting: true, id, next}` result means the wait should continue with `runpane notify --resume <id>`; `runpane mcp` asks for it only for clients whose tool calls time out. When Pane is not running or Notify is off it prints `{unavailable, next}` and exits 0, so the agent asks in its terminal. Invalid input fails before anything is shown, with a message naming the field. A Session orchestrator adds `--relays <item>` (an id from `runpane inbox`) to relay a worker's question: the same card gains the choices, context and links, the call waits on it as usual, and the answer also goes straight to the worker's tab. Autopilot's own item takes `--about-session <id|name>`, the Session it is about. It needs no `--yes`: asking the person is the point.", "Work sent to an agent through `runpane panels create`, `panes create` (with a prompt), or `panels submit` records that the sender waits for a `runpane report`, unless the request says `--source user` (Pane's own UI does) or `--no-expect-report`; `--expect-report` asks for one anyway. Typing into a tab never does. If the agent then goes ready or its panel exits without a report, Pane journals one opt-in `agent.report.missing` entry (`MISSING REPORT <pane-name> pane <pane-id> panel <panel-id> ready|exited`) whose `lastOutput` is the agent's last transcript reply or last screen lines; it skips the `--min-interval` batch and reaches only watchers that list it in `--kinds`. While the agent's screen shows background work (Claude's `· 1 shell` footer or a running background subagent row, Codex's `background terminal running` line), Pane waits and looks again every 10 seconds instead. `agent.blocked` entries carry `screenLines`, the prompt the agent waits on, and are journalled once a panel has stayed blocked for 2 seconds.", "The orchestrator guide prescribes submit without `--wait`, followed by its named watch; use one completion consumer. As an optional CLI route, `--wait` on `runpane panels submit`, `panels create`, and `panes create` turns the expected report on and blocks on that panel until the first `agent.report`, `agent.report.missing`, `agent.blocked`, `panel.exited`, or `pane.gone`, then prints one line of JSON (`dispatchWaitResult`): the outcome, ids, the report's state, summary, `summaryPath`, PR and head, `screenLines` for a prompt, or `lastOutput` for a missing report, never the transcript. It exits 0 for a report, 3 missing, 4 blocked, 5 exited or gone, and 124 when `--timeout <duration>` passes. It follows the journal from the position the daemon took before delivering the work, so nothing that happens right after delivery is missed. It reuses watch --until-event and returns indeterminate (exit 6) if the journal epoch changes or retained history is lost; inspect the panel and inbox before retrying. Report-expected dispatches are serialized per panel and refused before writing while a result or missing-output collection is outstanding. A send with --no-expect-report is a reply (an answer, or an addition to the current work): it is delivered while a report is outstanding and leaves that expectation in place. Then watch for the original result.", "`runpane inbox [--session <id|name>] [--json]` lists what a Session's orchestrator has not acknowledged: reports, missing reports, and on-screen questions (a question clears itself once its panel moves on), plus `answers`, what its workers were told, kept 7 days; an answer with no `decision` still needs its D-n. `runpane inbox ack <item-id>...` or `--all --session <id|name>` clears items, and `runpane inbox ack <item-id>... --decision <D-n>` records the D-n, even on an item already cleared. An orchestrator runs it when it starts or resumes, to catch anything that finished while it was down; Pane never injects the inbox into its turns.", "`runpane panels resume --panel <panel-id>` restarts a stopped terminal panel in place, keeping its panel id: an agent panel relaunches with its resume command (Claude `--resume <session>`, `codex resume <session>`, Agent Farm `agent-farm run <profile> --resume <id>` with the ID Agent Farm printed; the result's `agentSessionId` names it), the same restart the app runs when it shows the panel, without taking focus. A running panel is left alone (`action: \"already-running\"`); one whose agent exited back to its shell is stopped, and resume runs its saved command again in that shell (`action: \"resumed\"`). If that command exits at once, `--wait-ready` returns `ok: false` with `reason.code: \"command-exited\"` and the error line it printed. `--panel` also resumes a paused tab. `--session <id|name>` or `--all-stopped` resumes every stopped agent panel in that scope and skips paused ones, `--concurrency` at a time (default 3), then, with `--wait-ready`, waits on the resumed panels together, and returns `{ resumed, alreadyRunning, failed, notReady, items[] }` with each panel's own result, readiness, and blocker or error. After a Pane restart, or once an agent exits back to its shell, stopped panels report `running: false` (`initialized` stays true while the shell lives) in `panels list`, `panels screen`, and `panels wait` (which returns `stopped: true` instead of timing out), and `nextCommand` points at `panels resume`. `runpane watch` reports them as `panel.stopped` (`STOPPED ...`) when `--kinds` lists that kind; other consumers and `workspace state` see `agent.unknown` with `running: false`, never `agent.ready`.", "`runpane panels pause --panel <panel-id>`, `panes pause --pane <pane-id>` and `sessions pause --session <id|name>` pause a tab, a Pane, or a Session's chat and Panes: Pane stops each terminal tab the way quitting does, without asking, keeps its agent's conversation, and marks it paused. Pause leaves a chat tab running: `panels pause --panel` on one fails with `ERR_RUNPANE_CHAT_NOT_PAUSABLE`, and `panes pause` and `sessions pause` leave its agent running and count it in `chatTabsNotPaused`. A paused terminal tab stays stopped through clicks, app restarts and updates until `panels resume --panel`, `panes resume` or `sessions resume` restarts it in its saved conversation. Each returns `{ action, scope, panelIds, unchanged, failed, chatTabsNotPaused, message, nextCommand }`. `panes list` reports a Pane's `paused` mark (`{ at, by: \"manual\" | \"auto\" | \"move\", idleHours?, machine? }`; `move` while its Session moves to another machine) and `inactiveSince`, the latest terminal output or input or chat agent activity in its tabs, or the last time the person selected it; `panels list` reports each tab's `paused`. Auto-pause also stops the agent of a chat tab idle for `chatIdleReleaseMinutes` (30 by default); opening the tab or sending it a message resumes it, and it reports no `panel.paused`. `runpane watch` reports `panel.paused` (`PAUSED ...`) and `panel.unpaused` (`UNPAUSED ...`) under `--follow`, to a Session-scoped watch, or when `--kinds` lists them.", "`runpane panels last-message --panel <panel-id>` reads a Claude or Codex agent's last reply from its transcript (up to `--limit` characters, default 20,000, keeping the end and reporting `truncated`). It never scrapes the screen: without a transcript it prints `{ ok: false, reason: \"transcript-unavailable\" }` and exits 1.", "`runpane panels conversation --conversation <id> [--source startup|resume|clear|compact]` records which conversation a terminal panel's agent is on (daemon action `runpane:panels:conversation`, request `{ panelId, paneId?, conversationId, source? }`, result `{ ok: true, paneId, panelId, conversationId, source?, sure }`; `sure` is true when the report came since the panel's agent started). It is not an `agent.report` event. The panel comes from `--panel` (with an optional `--pane`), else `PANE_PANEL_ID` and `PANE_SESSION_ID`, as for `runpane report`. `runpane panels conversation --hook` is the command for a Claude Code `SessionStart` hook: it reads the hook's JSON from stdin (`session_id`, `source`; at most 64 KiB, for at most 2 seconds), reports it for `PANE_PANEL_ID`, prints nothing on stdout or stderr, and always exits 0: outside Pane, on bad input, when Pane is not running, and with a Pane that predates the action. Without `--hook` it prints `Recorded conversation <id> for panel <panel-id>.` and fails like any other command.", "Commands with a contract `daemonAction` (the `panes` git, script, restore, and move commands, `folders list|create`, and `links open`) call the same Pane daemon channel as the matching button in the app and print `{ ok, data, error }`. Destructive ones add a pane:// `link` to review the Pane.", "`runpane links create` builds `pane://open?...` links; opening one in Pane selects what it names and never changes Pane state.", "`runpane docs search|read` search and read Pane docs, help, and installed Pane Chat skills offline. They ship in the npm package and the Pane app only.", "`runpane handoff` hands a task to another agent on this or another of your machines. The sending agent writes the note from `runpane handoff --template` (goal, current state, done and verified, in progress, next steps, decisions and constraints, open questions, how to verify, git state); `runpane handoff \"claude opus on parsas-macbook-pro\" --note-file ~/handoff.md` checks every section is filled in, requires the branch to be pushed (or pushes it with `--push`, never forcing), writes the note to that machine's `~/.pane/handoffs/` and starts the agent in a new Pane branched from the sender's branch. When the sender is a Pane tab running a Claude, Codex, Cursor or OpenCode session and the receiver is the same agent, the handoff carries that session: on another machine its files are copied into that machine's agent store and the receiver resumes the same id; on this machine the receiver resumes a fork, because two agents never resume one session on one machine. The receiver starts with no prompt, and the CLI runs the continuity check and reports JSON `continuity.result` `continued`, `inconclusive` (exit 0; `next` gives a probe question) or `not-continued` (exit 1; the receiver is kept and `next` gives the `--note-only` command). `--note-only`, a different agent, or a tab with no carried session starts a fresh agent with the note (`fresh-agent`). JSON `continuity` is `{ carried, result, agent, sessionId, resumedId, fork, files, bytes, checks: { resumedById, restartResumes, historyLoaded, originalUntouched?, originalAppended? }, reason, next }`: `sessionId` is the sender's session, `resumedId` the id the receiver resumes (the fork's on this machine), `checks` are the continuity checks (`historyLoaded` is null when there was nothing to compare; `originalUntouched` is set for forks), and a dry run sets `carried`, `sessionId`, `fork`, `files` and `bytes` with no `result`. After `continued` or `inconclusive` the sending agent ends its turn and makes no more changes on the branch. An OpenCode session travels as its export: `opencode export` on this machine, then `opencode import` inside the receiving repository there, and an OpenCode receiver is accepted only to continue an OpenCode session. A Cursor session is carried only to another machine, best effort since Cursor's store is undocumented: Cursor has no fork, and a copied chat still writes to the original, so on this machine the result is `not-continued` and nothing is started. A destination's agent store is assumed at its default location (`~/.claude`, `~/.codex`, `~/.cursor`); a copy already there is replaced only when the sender's holds all of it and no agent there runs it, otherwise nothing is copied and the result is `not-continued`. A destination Pane too old to resume a carried session is refused before anything is sent (`ERR_HANDOFF_RESUME_UNSUPPORTED`). From a Session's terminal it skips git and creates a Session with the same name, goal and agent on the other machine instead; a same-agent Session starts on the sender's conversation. The receiver reports back to the sender's panel.", "`runpane ask --agent <agent> --prompt \"<question>\"` asks one agent one read-only question and prints its answer, with no tab left behind: the agent's own headless mode runs once, on this machine or another one (`--machine`), in a saved repository (`--repo`, a WSL repository runs in WSL) or a Pane's worktree (`--pane`), with any model it accepts (`--model`). It can read files but not edit them or run shell commands; an agent with no such mode is refused (`ERR_ASK_UNSUPPORTED`). A missing agent, a sign-in error, an unknown model and a timeout each fail with the agent's own words and the next step. Use it for a second opinion or a question to another model; work that edits files goes to a tab.", "`runpane models` lists the models each installed agent offers, read from the agent's own list on every call, with its sign-in as the agent reports it. `--all` covers this machine, every saved machine and their WSL; `--agent` and `--search` narrow the rows. A machine that does not answer is one `unreachable` row; a list that can't be read is `list unavailable`.", "`runpane pr watch`: Register durable GitHub PR monitoring for a Pane.", "`runpane pr unwatch`: Remove a Pane’s explicit PR registration.", "`runpane pr list`: List PR registrations and stopped watches.", "`runpane autopilot status|waiting|stack` read Autopilot (experimental): its switch, run and stack, and its queue: every approval or question waiting on the person on every machine it can reach, grouped by Session, plus `offline` and `cantSee` machines. `runpane autopilot stack push (--item <id>|--file <path>|--url <url>|--session <id|name>) [--title <text>] [--note <text>] [--tab <path-or-url>]... [--next]` puts one entry on its stack; relative paths resolve against the caller's directory, and a new entry never replaces the one on screen. `runpane autopilot answer <id> (--choice <label>|--approve|--deny|--text <text>) [--note <text>] --because <why>`, `runpane autopilot close <id> --reason <why>` and `runpane autopilot rewrite <id> --ui <options|approve|ask> --title <text> [--context <text>] [--choices <json>] [--suggestions <json>] [--links <json>]` act on an item, on the machine that holds it, recorded \"by Autopilot\" on every device; the person can Override an answer and reopen a close. Only Autopilot may run them (`AUTOPILOT_ONLY`), and they refuse a permission prompt with `AUTOPILOT_CANNOT_ANSWER`. An item someone else already answered is refused with who did."];
2843
+ readonly commandUsages: readonly ["runpane", "runpane setup", "runpane install", "runpane install client", "runpane install daemon", "runpane update", "runpane version", "runpane doctor", "runpane doctor --json", "runpane daemon repair --pane-dir ~/.pane_remote --yes --json", "runpane agent-context", "runpane agent-context --command \"panes create\" --json", "runpane mcp", "runpane repos list --json", "runpane repos add --path /path/to/repo --name Pane --yes --json", "runpane repos get --repo Pane --json", "runpane repos update --repo Pane --build-script \"pnpm install\" --run-script \"pnpm dev\" --worktree-folder ../pane-worktrees --yes --json", "runpane repos update --repo Pane --clear run-script --yes --json", "runpane repos update --repo Pane --env '[{\"key\":\"API_URL\",\"source\":\"plain\",\"value\":\"https://api.test\"},{\"key\":\"STRIPE_KEY\",\"source\":\"secret\",\"project\":\"stripe\",\"name\":\"STRIPE_SECRET_KEY\"}]' --env-remove OLD_TOKEN --yes --json", "runpane repos rename --repo 3 --name Lev --yes --json", "runpane secrets list --json", "printf %s \"$VALUE\" | runpane secrets set --project stripe --name STRIPE_SECRET_KEY --yes", "runpane secrets delete --project stripe --name STRIPE_SECRET_KEY --yes --json", "runpane secrets exec --project stripe --only STRIPE_SECRET_KEY -- pnpm test:webhooks", "runpane secrets request --project stripe --name STRIPE_SECRET_KEY --title \"Stripe test secret key\" --reason \"Run the webhook tests against Stripe test mode.\" --json", "runpane secrets lease --project stripe STRIPE_SECRET_KEY --reason \"Run the webhook tests against Stripe test mode.\" --json", "runpane secrets lease end --id 3f9a2c1b7d4e8f06 --yes --json", "runpane panes list --repo active --json", "runpane panes cost --pane <pane-id> --json", "runpane panes create --repo active --name issue-252 --agent <agent> --prompt \"Kick off the discussion skill for issue 252\" --source agent --no-focus --wait-ready --yes --json", "runpane panes create --from-json panes.json --yes --json", "runpane panes archive --pane <pane-id> --source agent --yes --json", "runpane panes rename --pane <pane-id> --name issue-393 --yes --json", "runpane panels list --pane <pane-id> --json", "runpane panels output --panel <panel-id> --limit 200 --json", "printf 'Continue\\n' | runpane panels input --panel <panel-id> --input-file - --yes --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 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 testing-account --ttl 30m --wait 1800000 --note \"call QA\" --json", "runpane lock release --name testing-account --json", "runpane lock list --json", "runpane machine health --json", "runpane machine cleanup --kind update-snapshot --json", "runpane machine cleanup --kind update-snapshot --yes --json", "runpane loops create --repo active --name nightly-bug-sweep --cron \"0 3 * * *\" --agent claude --prompt \"Fix one bug from yesterday's issues\" --yes --json", "runpane loops list --json", "runpane loops run --loop <loop-id> --yes --json", "runpane todos create \"Keyboard sheet\" --done-when \"Sheet opens with ?\" --repo pane --json", "runpane todos attach T-12 tmp/plan/cover-sheet.html --kind plan --json", "runpane todos ask T-12 \"Should the sheet list chat shortcuts too?\" --json", "runpane todos review T-12 --summary \"Ready; see the PR.\" --json", "runpane todos snooze T-12 --until tomorrow --note \"Check Sentry after the deploy\" --json", "runpane agents start --repo active --name fix-login --agent claude --prompt \"Fix the login redirect\" --yes --json", "runpane agents start --pane <pane-id> --agent codex --prompt \"Review the PR from this branch and report findings\" --yes --json", "runpane agents status --pane <pane-id> --json", "runpane agents send --pane <pane-id> --text \"Also add a test\" --yes --json", "runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md --json", "runpane panels last-message --panel <panel-id> --json", "runpane panels conversation --conversation <id> --source resume --json", "runpane panels close --panel <panel-id> --yes --json", "runpane panels resume --panel <panel-id> --wait-ready --yes --json", "runpane panels resume --session <id|name> --wait-ready --yes --json", "runpane panes pause --pane <pane-id> --yes --json", "runpane panes resume --pane <pane-id> --yes --json", "runpane docs search --query \"archive a pane\" --json", "runpane links create --pane <pane-id> --json", "runpane panes git-status --pane <pane-id> --json", "runpane help", "runpane <command> --help", "runpane watch --until-event", "runpane watch --follow", "runpane watch --session <id|name> --follow", "runpane watch --session <id|name> --follow --ready-settle 1m --blocked-settle 15s --min-interval 2m", "runpane pr watch [--pane <id>] --url <PR URL> [--head <full-sha>] [--json] [--pane-dir <path>]", "runpane pr unwatch [--pane <id>] --url <PR URL> [--json] [--pane-dir <path>]", "runpane pr list [--pane <id>] [--json] [--pane-dir <path>]"];
2844
+ readonly commandDescriptions: readonly ["`runpane` with no arguments and `runpane setup` open an interactive wizard when stdin and stdout are TTYs. The remote-host wizard asks only for a name, then runs interactive Tailscale setup with automatic port selection; explicit install daemon flags remain available for SSH and manual URLs. In non-interactive shells or CI, both forms must print help, common commands, and agent discovery hints, then exit successfully instead of waiting for input.", "`runpane install` is an alias for `runpane install client`.", "`runpane install client` downloads the selected Pane desktop artifact and installs, opens, or launches it for the current platform.", "`runpane install daemon` downloads or installs Pane, resolves a stable Pane executable path, and spawns `<pane executable> --remote-setup <forwarded remote setup args>`.", "The wrapper must stream Pane stdout/stderr without reformatting because `pane --remote-setup` prints the one-time `pane-remote://...` connection code.", "`runpane update` defaults to both app and active supported CLI, with independent supervision, staging, durable status, and explicit restoration outcomes. Prerequisites, status fields/exit codes, draft handling and manual recovery are documented in [Update recovery](UPDATE_RECOVERY.md).", "`runpane version` prints only wrapper package metadata and does not contact, launch, or focus the Pane app or daemon.", "`runpane doctor` opens with Pane's intro (\"For people\" and \"For agents\", the sentence about reaching the person following the Approvals setting) and the working rules (Session, Pane, Tab, Scratch), also in `--json` as `intro` and `workspaceRules`. It then checks platform support, release metadata reachability, download URL selection, installed Pane detection, daemon reachability, every `runpane` on `PATH` against the Pane-managed CLI, and remote-daemon hints. `--fix` updates npm installs of `runpane` older than the Pane-managed CLI to its version and never removes a file. Add `--json` for a machine-readable report that agents should run before mutating Pane state. Installed app version detection must be best-effort and must not launch, focus, or configure Pane; macOS wrappers read app bundle metadata instead of executing `Pane --version`.", "`runpane daemon repair` rewrites and restarts only the managed remote-daemon launcher/service. It never creates pairing credentials, changes tunnels, or downloads Pane; doctor only recommends it and never runs it automatically.", "`runpane agent-context` prints a brief, token-efficient command schema for coding agents without connecting to the Pane daemon.", "`runpane agent-context --command \"panes create\"` prints the detailed definition for one command. Add `--json` for machine-readable output. An unknown command exits 2 and lists the closest command names; with `--json` it prints `{ ok: false, code: \"unknown_command\", message, candidates }` on stdout.", "`runpane mcp` runs a stdio MCP server whose tools are generated from this contract: every command with result `jsonSchemas` becomes a tool that runs `runpane <command> --json` and returns its output. Only the npm package and the Pane app include it; the Python wrapper prints how to run it with Node and exits non-zero.", "`runpane repos list` connects to the running local Pane daemon and prints saved repository records.", "`runpane repos add` registers an existing git repository with the running local Pane daemon. It does not create directories or initialize git repositories by default.", "`runpane repos get` prints a saved repository's Project Settings. Each script shows its saved value, the fallback from the repository's config file, and the one Pane will run.", "`runpane repos update` changes a saved repository's Project Settings through the same save as the Project Settings dialog. It requires `--yes`, supports `--dry-run`, clears settings with `--clear`, and adds, replaces or removes project environment variables with `--env` and `--env-remove`.", "`runpane repos rename` trims and sets a saved repository's display name, the same rename as the repository settings in the app, and returns the updated repository record.", "`runpane secrets` manages Pane secrets: named values, addressed as `<project>/<NAME>`, that every machine saved in Pane keeps a copy of. `list` shows names, times and machines, 1Password references and live leases, never a value. `set` reads the value from stdin. `delete` removes one everywhere. `exec` runs a command with secrets in its environment and returns its exit code. `request` asks the person on a masked Notify card and returns only `saved` or `declined`. A secret can instead be a 1Password reference, which the person sets in Settings; it has a value only during a lease. `lease` asks the person to start one and returns the lease's id, end time and machines; `lease end` ends one now. `exec` fails with `SECRET_LEASE_ENDED` when a reference has no live lease. No command prints a value, and the MCP server has no tool that sets or reads one. These commands run on the machine itself, so `runpane workspace <machine> secrets ...` is refused; use `runpane workspace <machine> exec -- runpane secrets ...`.", "`runpane panes list` lists Pane sessions, optionally scoped to one saved repository.", "`runpane panes cost` reports estimated token costs per Pane for the last 30 days, including per-model breakdowns and cache efficiency; unscoped output includes an Unattributed bucket that reconciles against workspace totals.", "`runpane panes create` connects to the running local Pane daemon, resolves the requested saved base repository, creates user-visible Pane sessions backed by Pane-managed worktrees/branches, opens terminal-backed tool tabs, and optionally sends initial input to the started tool. Built-in agent panes and `--source agent` default to background/no-focus unless `--focus` is passed. New Panes are pinned into the UI's favorite/pin set by default, except when the CLI runs inside a Session orchestrator (`PANE_ORCHESTRATION_SESSION_ID`), where child worktrees default to unpinned. Explicit `--pinned` / `--no-pinned` override creation defaults. First Session association clears an existing pin, including an explicit creation pin; use `panes pin` after association to pin a child. This avoids duplicating Session children in the global pinned list. Manual pins applied afterward are preserved. Panes created interactively in the Pane UI are unaffected. New Panes join the caller's Session automatically: the orchestrator's Session (`PANE_ORCHESTRATION_SESSION_ID`), or the open Session the calling tab's Pane belongs to; `--no-associate` opts out. A failed association is reported on the item and never undoes the Pane.", "For `panes create --wait-ready` (and `panels create`, `panes adopt --launch`), ready means an identified agent at its own input box: declared with `--agent`, or detected from the command, its foreground process or its screen. A `--tool-command` that never shows a supported agent is not ready: `readiness.ok` is false with `readiness.reason.code` `no-agent-detected` after the timeout, or `command-exited` as soon as the command exits back to the shell, and nothing is typed into it. `agent-not-ready` means the agent was detected but its input box was not ready in time. CLI readiness is confirmed on consecutive polls. Codex also requires a recognized configured model or context footer below its live composer; its provisional startup composer is not ready. Hidden or unrecognized Codex status lines conservatively time out rather than prove readiness. Startup prompts return blocked with the prompt's own text in blocked.message and a suggestedCommand, and Pane never answers them, apart from Claude's folder trust for a Session's own folder: first-run trust and daemon dialogs and Agent Farm's `Trust this repository workspace? [y/N]` as blocked.kind=first-run-dialog; Codex's security setup banner and any other prompt, including a wrapper's or shell's `[y/N]` before the agent appears, as agent-prompt. A starting message blocked this way is held and sent once the prompt is answered and the agent's input box is ready. Every create with a starting message returns `initialInput`. Pane stages the text in the composer, presses the agent's submit key separately (Ctrl+Enter for Codex, declared or detected), and checks where it went: `initialInput.delivery` is `taken` or `queued` (from the agent's transcript or its screen), `in-composer`, or `unknown` (`argv` means a prompt was routed at launch; Pane gives the transcript up to 10 seconds before settling on unknown). `initialInput.verifiedSubmitted` is true exactly when it is `taken` or `queued`, and the create's `ok` is false unless a Claude or Codex starting message is verified. Cursor, OpenCode and Pi have no acceptance probe: their delivery stays `unknown` with a delivery.message saying so, `verification: unverifiable`, and `ok` follows readiness. Without `--wait-ready` the create returns at once with `initialInput.verifiedSubmitted: false`, a delivery.message saying the call did not wait, and a `panels wait` nextCommand; Pane still sends the message once the agent is identified and at its input box, and gives up without typing it if no supported agent appears within 30 seconds.", "`runpane panes archive` refreshes the configured upstream, reports exact unpushed commit evidence, and refuses unsafe archive operations unless `--force` is used. A branch whose upstream is gone counts as pushed when a merged GitHub pull request has HEAD as its head (`safetyCheck.mergedViaPr`). Add `--dry-run` to inspect the same evidence without archiving. `--remove-worktree` applies the same check and removal to an adopted worktree; local branches are always kept. Successful archives report `worktreeCleanup: completed` once the worktree is gone from its path and from git; `trashDeletion: pending` means its files are still being deleted in the background. `runpane panes archive --session <id|name> --merged` archives every Session Pane that is clean and pushed or merged, and reports a reason for each skipped Pane. Archive refuses a Pane with an agent mid-turn or waiting for an answer (`agent-busy`, listed in `safetyCheck.busyAgents`), or with a tab holding unsent composer text or unsaved editor edits (`unsent-input`, listed in `safetyCheck.unsentInput`), unless `--force` is used, and the Session sweep skips it. Add `--closed` to the sweep to also archive Panes whose PR closed without merging.", "`runpane panes rename` trims and updates a Pane's display name without changing its worktree, branch, panels, or focus, and returns the updated pane summary.", "`runpane panes focus` raises the Pane window and selects a Pane (and optionally one of its panels) exactly like clicking it in the UI. Because it steals the user's window focus, run it only on an explicit user request to open, focus, show, or switch to a Pane; never focus a Pane proactively, the same doctrine that keeps `panes create` background/no-focus for `--source agent`.", "`runpane panels open` opens a URL or a file from the Pane worktree as a tab in an existing Pane (default: the calling panel's Pane from `PANE_SESSION_ID`), in split view beside the agent unless `--tab` is passed. Files open in an editor tab with read-only previews for supported formats, and HTML opens as editable source; an existing tab showing the same target is reused. It brings the tab forward for clients already showing that Pane, and never raises or focuses the Pane window or switches anyone's Pane.", "`runpane panels close --panel <panel-id>` closes a tab exactly like closing it in Pane (a terminal tab's process stops) and never archives the Pane or touches its worktree. Only a tab an agent opened with `--source agent` can close; Pane records that opener, and `panels list` shows it as `openedBy`. It refuses, without closing, the person's tabs and every tab from before Pane recorded openers (`opened-by-user`), permanent tabs (`permanent`), an agent mid-turn or waiting for an answer (`agent-busy`), unsent composer text or unsaved editor edits (`unsent-input`), and a live tab whose input Pane cannot read, such as agents other than Claude and Codex or chat tabs (`input-unknown`). A refusal prints `{ ok: false, closed: false, refused: { code, message, next } }` and exits 1. A tab id that no longer exists returns `alreadyClosed: true`. `--dry-run` reports `wouldClose` and any refusal without closing. `--force` closes the tab anyway, as its close button does, for a stuck tab or one the person asked to close (`forced: true`); only a permanent tab still stays.", "`runpane panels list` lists tool panels inside one Pane session. Each panel with a saved agent session ID reports it as `resumeId`, with `resumeSource` (`agent-farm`, `configured`, or `agent`) naming the rule that reopens the conversation.", "`runpane panels output` reads bounded recent terminal output from one panel and strips common terminal control noise for agent use.", "`runpane panels input` sends exact input bytes to one terminal panel. Prefer `--input-file` for newlines, Ctrl-C, quotes, or shell-sensitive text.", "`runpane panes create --prompt` is an alias for `--initial-input`; request JSON and daemon payloads should use the canonical `initialInput` field.", "`runpane panes create --branch <name>` creates the Pane's worktree on exactly that new branch, slashes included (for example `agents/w5a`). The name is checked with `git check-ref-format --branch`, creation fails if the branch already exists, and Pane never renames it to make it unique. `--worktree-name` still names the directory and defaults to `--name`. `--base` is an alias for `--base-branch`, and `--prompt-file` for `--initial-input-file`. `panes create --base <ref> --branch <name> --prompt-file <file>` replaces `git worktree add` plus `panes adopt`. When the base is a remote-tracking branch (the default `origin/main`, or one named with `--base`), Pane fetches it first, waiting at most about 10 seconds, so the Pane starts at the remote's current tip. Each created item reports `base` (`ref`, `commit`, `refresh`); if the fetch fails the Pane still starts, from the local ref, and `base.notice` says so and how to catch up.", "`runpane panes adopt --launch` accepts `--prompt`, `--prompt-file`, `--wait-ready`, and `--ready-timeout-ms`, and reports `readiness`, `initialInput`, and `nextCommand` like `panes create`. A prompt without `--launch` is an error rather than being dropped.", "If composer submission cannot be verified without risking a duplicate, the create item is unsuccessful with `initialInput.staged`, `initialInput.attempts`, `initialInput.blocked.kind: submission_unverified`, and an actionable `nextCommand`. The CLI-facing `--prompt` alias maps to this canonical `initialInput` result.", "When running from WSL while Pane is installed on Windows, a Linux-installed runpane cannot reach Pane: it looks for a missing `/tmp/pane-daemon.../daemon.sock`. Pane's own `runpane` (on PATH in Pane's WSL terminals, or `/mnt/c/Users/<you>/.pane/bin/runpane` from any WSL shell) runs the Windows CLI through WSL interop and converts path arguments. With a Pane build older than that shim, invoke the Windows wrapper through PowerShell from a Windows cwd, for example `powershell.exe -NoProfile -Command 'Set-Location $env:TEMP; runpane repos list --json'`.", "`runpane watch` waits for agent, Pane, panel, and PR events from the daemon journal without polling. `--follow` keeps watching with defaults tuned for an agent watching unattended (quiet, batched, and it ends itself after 3 hours with nothing happening); individual duration flags override these defaults. Cadence requires a named follow consumer; `--follow --since <generation>` has no consumer name and bypasses settling and batching. `--until-event` waits for one event worth waking for, prints it immediately without follow settling or batching, and exits 0. The defaults are listed in the contract under defaults.watch.", "A watch releases its pending slot when its client socket or named pipe disconnects. Re-arming the same named cursor takes over the previous request; the superseded watcher exits with a WATCH ERROR instead of competing for the cursor. Anonymous concurrent watchers retain the eight-wait limit. Each request also has a 125-second lease (slightly longer than the maximum 120-second long poll), so an abandoned request is reclaimed even if no disconnect arrives.", "The desktop app treats one consumer name specially: while a `runpane watch --as dictate` request is in flight, and for 30 seconds after the last one ends, Pane skips its own \"needs your input\" and \"finished\" desktop notifications, because [Dictate](https://github.com/parsakhaz/open-dictate) shows those events on its pill. When that watcher stops, Pane's notifications come back. The CLI's flags and output are unchanged.", "`sessions list` list durable named orchestration Sessions.", "`sessions create` create a durable named orchestration Session and its hidden terminal owner.", "`sessions get` read one durable named orchestration Session.", "`sessions update` update a Session overview from structured JSON.", "`sessions pin` and `sessions unpin` set the Session pin star through the existing UI update path. Create JSON accepts `isPinned` (default false); update JSON preserves the pin when the field is omitted.", "`sessions set-agent` switch the durable terminal agent for a named Session.", "`sessions associate` associate a user-visible Pane with a named Session.", "`sessions detach` detach a Pane from a named Session.", "`sessions overview` read a live status, activity, git, and pull request overview for a named Session. Each panel in `panes[].panels[]` carries its own latest `runpane report` as `report`, so one call shows what every worker last reported and when (`reportedAt`, next to the panel's `state` and `lastActivityAt`). When a report's summary is a complete JSON object, such as a status file sent with `--summary-file`, `report.data` holds it exactly as the worker gave it; Pane never reads, renames or validates its fields. A summary that is not a JSON object (plain text, an array, a scalar or invalid JSON), is nested more than 64 levels deep, or was truncated (`summaryTruncated`), has no `data`. A panel that never reported has no `report`. `panes[].report` is still the newest report among the Pane's panels. Each panel also has `type` (`terminal`, `browser`, `editor`, `explorer`, `diff`, ...): a Pane linked whole lists every tab, with `explorer` and `diff` last, and a link that names tabs lists exactly those.", "`runpane lock acquire|release|list` coordinate a resource shared between agents, such as one test account. The caller's Pane and panel own the lock; it is scoped to the owner's Session (or global outside one), renews for the same owner, and is released on TTL expiry, owner panel exit, or owner Pane archive. `--wait` blocks in the daemon until the lock comes free.", "`runpane machine health` shows this machine's disk and memory levels, the Panes using the most memory, leak warnings, and the disk space Pane can free by tier. `runpane machine cleanup --kind <kind>` lists one kind of tier 1 or 2 item (a dry run) and deletes them with `--yes`; tier 3 items are not Pane's, so it refuses them and says how to free them. Agents free disk only through this command, never with rm.", "`runpane loops list|create|update|run|pause|resume|delete` manage loops (scheduled tasks): a cron schedule that starts a new Pane in a fresh worktree for each run, or sends a prompt to a Session's agent. Loops are for large recurring jobs and run at most once an hour; for short waits, agents use their harness's own sleep and wake. See [LOOPS.md](LOOPS.md).", "`runpane todos create|update|attach|detach|show|list|assign|ask|comment|review|done|drop|archive|start|stop` manage to-dos, the person's list of agent work: each started to-do gets its own Session and orchestrator, and Pane keeps it moving until it is done. Each call records the caller's tab ($PANE_PANEL_ID). Attach plans, mock-ups, designs, PRs, findings and decisions as soon as they exist; ask the requester first with `todos ask`; replies are summaries of at most 2,000 characters; `todos review` needs attachments or `--no-attachments`; an agent marks a top-level to-do done only after the person's Accept or with `--person-said`. `--todo <T-n>` on `notify`, `report` and `agents start` links that card, report or agent to a to-do.", "`runpane agents start|status|send` finish the three common agent jobs in one call each: start an agent on a task (a new tab in the work's Pane with `--pane <id>`, or a new Pane for new work), check on it, and send it a follow-up.", "`runpane report --state ready|blocked|failed|done` is how a worker hands back its result. It stores the latest report on the worker's panel (state, `--pr`, `--head`, up to 16,000 characters of `--summary` or `--summary-file`, and the `--question` a blocked worker needs answered, with its buttons as `--choices` or `--questions` in notify's JSON), journals an opt-in `agent.report` watch event (`REPORT <pane-name> pane <pane-id> panel <panel-id> ready pr#747 fc5dce9`; it skips the `--min-interval` batch), records it as Session activity, and shows it in `agents status`, `panels list`, and `sessions overview` (each panel's own report as `panes[].panels[].report`, with a JSON object summary as `data`, and the Pane's newest as `panes[].report`). Inside a Pane terminal the panel comes from `PANE_SESSION_ID` and `PANE_PANEL_ID`; elsewhere pass `--pane` and `--panel`. It prints how many watches were waiting for the report and received it (`Delivered to 1 waiting watcher.`, `liveWatchers` in JSON). Zero means nobody was waiting right now, not that the report is lost: it stays on the panel, and a named-cursor watch receives it when it next waits.", "`runpane notify` asks the person a question, or tells them something, on screen wherever they are, and prints their answer: `--ui options` with 1 to 9 `--choices` returns `{answer, note?}` (the chosen label), or with 2 to 4 `--questions` (`[{title, choices}]`) one pick each, as `{answer, answers}`, `--ui approve` returns `{approved, note?}`, `--ui ask` returns `{answer}`, and `--ui info` returns `{delivered: \"screen\"|\"inbox\"}` at once. Any ui takes up to 6 `--links` (`{label, path}`, `{label, url}` or `{label, approval}` for another approval), shown as chips on the card. When the person types a reply it returns `{reply, picks?, id, next}` (or, with no open call, types a `reply:` line into the asking tab), and Pane records the reply as the answer once it is delivered. If the reply asks something instead, `--took <id|Q-n> question [--status <text>]` reopens the approval and shows that the agent is getting more context (`--took <id|Q-n> answer` confirms it, and changes nothing), and `runpane notify --update <id|Q-n> [--asked <text>] --what-changed <text>` with any changed `--title`, `--context`, `--choices`, `--questions` or `--links` saves a new version and waits on it. `--took` prints `{took, id, next?}`. Only the reply's reader (the asker, the orchestrator that relayed it, or Autopilot) may run them. The call waits with no time limit. A `{waiting: true, id, next}` result means the wait should continue with `runpane notify --resume <id>`; `runpane mcp` asks for it only for clients whose tool calls time out. When Pane is not running or Notify is off it prints `{unavailable, next}` and exits 0, so the agent asks in its terminal. Invalid input fails before anything is shown, with a message naming the field. A Session orchestrator adds `--relays <item>` (an id from `runpane inbox`) to relay a worker's question: the same card gains the choices, context and links, the call waits on it as usual, and the answer also goes straight to the worker's tab. Autopilot's own item takes `--about-session <id|name>`, the Session it is about. It needs no `--yes`: asking the person is the point.", "Work sent to an agent through `runpane panels create`, `panes create` (with a prompt), or `panels submit` records that the sender waits for a `runpane report`, unless the request says `--source user` (Pane's own UI does) or `--no-expect-report`; `--expect-report` asks for one anyway. Typing into a tab never does. If the agent then goes ready or its panel exits without a report, Pane journals one opt-in `agent.report.missing` entry (`MISSING REPORT <pane-name> pane <pane-id> panel <panel-id> ready|exited`) whose `lastOutput` is the agent's last transcript reply or last screen lines; it skips the `--min-interval` batch and reaches only watchers that list it in `--kinds`. While the agent's screen shows background work (Claude's `· 1 shell` footer or a running background subagent row, Codex's `background terminal running` line), Pane waits and looks again every 10 seconds instead. `agent.blocked` entries carry `screenLines`, the prompt the agent waits on, and are journalled once a panel has stayed blocked for 2 seconds.", "The orchestrator guide prescribes submit without `--wait`, followed by its named watch; use one completion consumer. As an optional CLI route, `--wait` on `runpane panels submit`, `panels create`, and `panes create` turns the expected report on and blocks on that panel until the first `agent.report`, `agent.report.missing`, `agent.blocked`, `panel.exited`, or `pane.gone`, then prints one line of JSON (`dispatchWaitResult`): the outcome, ids, the report's state, summary, `summaryPath`, PR and head, `screenLines` for a prompt, or `lastOutput` for a missing report, never the transcript. It exits 0 for a report, 3 missing, 4 blocked, 5 exited or gone, and 124 when `--timeout <duration>` passes. It follows the journal from the position the daemon took before delivering the work, so nothing that happens right after delivery is missed. It reuses watch --until-event and returns indeterminate (exit 6) if the journal epoch changes or retained history is lost; inspect the panel and inbox before retrying. Report-expected dispatches are serialized per panel and refused before writing while a result or missing-output collection is outstanding. A send with --no-expect-report is a reply (an answer, or an addition to the current work): it is delivered while a report is outstanding and leaves that expectation in place. Then watch for the original result.", "`runpane inbox [--session <id|name>] [--json]` lists what a Session's orchestrator has not acknowledged: reports, missing reports, and on-screen questions (a question clears itself once its panel moves on), plus `answers`, what its workers were told, kept 7 days; an answer with no `decision` still needs its D-n. `runpane inbox ack <item-id>...` or `--all --session <id|name>` clears items, and `runpane inbox ack <item-id>... --decision <D-n>` records the D-n, even on an item already cleared. An orchestrator runs it when it starts or resumes, to catch anything that finished while it was down; Pane never injects the inbox into its turns.", "`runpane panels resume --panel <panel-id>` restarts a stopped terminal panel in place, keeping its panel id: an agent panel relaunches with its resume command (Claude `--resume <session>`, `codex resume <session>`, Agent Farm `agent-farm run <profile> --resume <id>` with the ID Agent Farm printed; the result's `agentSessionId` names it), the same restart the app runs when it shows the panel, without taking focus. A running panel is left alone (`action: \"already-running\"`); one whose agent exited back to its shell is stopped, and resume runs its saved command again in that shell (`action: \"resumed\"`). If that command exits at once, `--wait-ready` returns `ok: false` with `reason.code: \"command-exited\"` and the error line it printed. `--panel` also resumes a paused tab. `--session <id|name>` or `--all-stopped` resumes every stopped agent panel in that scope and skips paused ones, `--concurrency` at a time (default 3), then, with `--wait-ready`, waits on the resumed panels together, and returns `{ resumed, alreadyRunning, failed, notReady, items[] }` with each panel's own result, readiness, and blocker or error. After a Pane restart, or once an agent exits back to its shell, stopped panels report `running: false` (`initialized` stays true while the shell lives) in `panels list`, `panels screen`, and `panels wait` (which returns `stopped: true` instead of timing out), and `nextCommand` points at `panels resume`. `runpane watch` reports them as `panel.stopped` (`STOPPED ...`) when `--kinds` lists that kind; other consumers and `workspace state` see `agent.unknown` with `running: false`, never `agent.ready`.", "`runpane panels pause --panel <panel-id>`, `panes pause --pane <pane-id>` and `sessions pause --session <id|name>` pause a tab, a Pane, or a Session's chat and Panes: Pane stops each terminal tab the way quitting does, without asking, keeps its agent's conversation, and marks it paused. Pause leaves a chat tab running: `panels pause --panel` on one fails with `ERR_RUNPANE_CHAT_NOT_PAUSABLE`, and `panes pause` and `sessions pause` leave its agent running and count it in `chatTabsNotPaused`. A paused terminal tab stays stopped through clicks, app restarts and updates until `panels resume --panel`, `panes resume` or `sessions resume` restarts it in its saved conversation. Each returns `{ action, scope, panelIds, unchanged, failed, chatTabsNotPaused, message, nextCommand }`. `panes list` reports a Pane's `paused` mark (`{ at, by: \"manual\" | \"auto\" | \"move\", idleHours?, machine? }`; `move` while its Session moves to another machine) and `inactiveSince`, the latest terminal output or input or chat agent activity in its tabs, or the last time the person selected it; `panels list` reports each tab's `paused`. Auto-pause also stops the agent of a chat tab idle for `chatIdleReleaseMinutes` (30 by default); opening the tab or sending it a message resumes it, and it reports no `panel.paused`. `runpane watch` reports `panel.paused` (`PAUSED ...`) and `panel.unpaused` (`UNPAUSED ...`) under `--follow`, to a Session-scoped watch, or when `--kinds` lists them.", "`runpane panels last-message --panel <panel-id>` reads a Claude or Codex agent's last reply from its transcript (up to `--limit` characters, default 20,000, keeping the end and reporting `truncated`). It never scrapes the screen: without a transcript it prints `{ ok: false, reason: \"transcript-unavailable\" }` and exits 1.", "`runpane panels conversation --conversation <id> [--source startup|resume|clear|compact]` records which conversation a terminal panel's agent is on (daemon action `runpane:panels:conversation`, request `{ panelId, paneId?, conversationId, source? }`, result `{ ok: true, paneId, panelId, conversationId, source?, sure }`; `sure` is true when the report came since the panel's agent started). It is not an `agent.report` event. The panel comes from `--panel` (with an optional `--pane`), else `PANE_PANEL_ID` and `PANE_SESSION_ID`, as for `runpane report`. `runpane panels conversation --hook` is the command for a Claude Code `SessionStart` hook: it reads the hook's JSON from stdin (`session_id`, `source`; at most 64 KiB, for at most 2 seconds), reports it for `PANE_PANEL_ID`, prints nothing on stdout or stderr, and always exits 0: outside Pane, on bad input, when Pane is not running, and with a Pane that predates the action. Without `--hook` it prints `Recorded conversation <id> for panel <panel-id>.` and fails like any other command.", "Commands with a contract `daemonAction` (the `panes` git, script, restore, and move commands, `folders list|create`, and `links open`) call the same Pane daemon channel as the matching button in the app and print `{ ok, data, error }`. Destructive ones add a pane:// `link` to review the Pane.", "`runpane links create` builds `pane://open?...` links; opening one in Pane selects what it names and never changes Pane state.", "`runpane docs search|read` search and read Pane docs, help, and installed Pane Chat skills offline. They ship in the npm package and the Pane app only.", "`runpane handoff` hands a task to another agent on this or another of your machines. The sending agent writes the note from `runpane handoff --template` (goal, current state, done and verified, in progress, next steps, decisions and constraints, open questions, how to verify, git state); `runpane handoff \"claude opus on parsas-macbook-pro\" --note-file ~/handoff.md` checks every section is filled in, requires the branch to be pushed (or pushes it with `--push`, never forcing), writes the note to that machine's `~/.pane/handoffs/` and starts the agent in a new Pane branched from the sender's branch. When the sender is a Pane tab running a Claude, Codex, Cursor or OpenCode session and the receiver is the same agent, the handoff carries that session: on another machine its files are copied into that machine's agent store and the receiver resumes the same id; on this machine the receiver resumes a fork, because two agents never resume one session on one machine. The receiver starts with no prompt, and the CLI runs the continuity check and reports JSON `continuity.result` `continued`, `inconclusive` (exit 0; `next` gives a probe question) or `not-continued` (exit 1; the receiver is kept and `next` gives the `--note-only` command). `--note-only`, a different agent, or a tab with no carried session starts a fresh agent with the note (`fresh-agent`). JSON `continuity` is `{ carried, result, agent, sessionId, resumedId, fork, files, bytes, checks: { resumedById, restartResumes, historyLoaded, originalUntouched?, originalAppended? }, reason, next }`: `sessionId` is the sender's session, `resumedId` the id the receiver resumes (the fork's on this machine), `checks` are the continuity checks (`historyLoaded` is null when there was nothing to compare; `originalUntouched` is set for forks), and a dry run sets `carried`, `sessionId`, `fork`, `files` and `bytes` with no `result`. After `continued` or `inconclusive` the sending agent ends its turn and makes no more changes on the branch. An OpenCode session travels as its export: `opencode export` on this machine, then `opencode import` inside the receiving repository there, and an OpenCode receiver is accepted only to continue an OpenCode session. A Cursor session is carried only to another machine, best effort since Cursor's store is undocumented: Cursor has no fork, and a copied chat still writes to the original, so on this machine the result is `not-continued` and nothing is started. A destination's agent store is assumed at its default location (`~/.claude`, `~/.codex`, `~/.cursor`); a copy already there is replaced only when the sender's holds all of it and no agent there runs it, otherwise nothing is copied and the result is `not-continued`. A destination Pane too old to resume a carried session is refused before anything is sent (`ERR_HANDOFF_RESUME_UNSUPPORTED`). From a Session's terminal it skips git and creates a Session with the same name, goal and agent on the other machine instead; a same-agent Session starts on the sender's conversation. The receiver reports back to the sender's panel.", "`runpane ask --agent <agent> --prompt \"<question>\"` asks one agent one read-only question and prints its answer, with no tab left behind: the agent's own headless mode runs once, on this machine or another one (`--machine`), in a saved repository (`--repo`, a WSL repository runs in WSL) or a Pane's worktree (`--pane`), with any model it accepts (`--model`). It can read files but not edit them or run shell commands; an agent with no such mode is refused (`ERR_ASK_UNSUPPORTED`). A missing agent, a sign-in error, an unknown model and a timeout each fail with the agent's own words and the next step. Use it for a second opinion or a question to another model; work that edits files goes to a tab.", "`runpane models` lists the models each installed agent offers, read from the agent's own list on every call, with its sign-in as the agent reports it. `--all` covers this machine, every saved machine and their WSL; `--agent` and `--search` narrow the rows. A machine that does not answer is one `unreachable` row; a list that can't be read is `list unavailable`.", "`runpane pr watch`: Register durable GitHub PR monitoring for a Pane.", "`runpane pr unwatch`: Remove a Pane’s explicit PR registration.", "`runpane pr list`: List PR registrations and stopped watches.", "`runpane autopilot status|waiting|stack` read Autopilot (experimental): its switch, run and stack, and its queue: every approval or question waiting on the person on every machine it can reach, grouped by Session, plus `offline` and `cantSee` machines. `runpane autopilot stack push (--item <id>|--file <path>|--url <url>|--session <id|name>) [--title <text>] [--note <text>] [--tab <path-or-url>]... [--next]` puts one entry on its stack; relative paths resolve against the caller's directory, and a new entry never replaces the one on screen. `runpane autopilot answer <id> (--choice <label>|--approve|--deny|--text <text>) [--note <text>] --because <why>`, `runpane autopilot close <id> --reason <why>` and `runpane autopilot rewrite <id> --ui <options|approve|ask> --title <text> [--context <text>] [--choices <json>] [--suggestions <json>] [--links <json>]` act on an item, on the machine that holds it, recorded \"by Autopilot\" on every device; the person can Override an answer and reopen a close. Only Autopilot may run them (`AUTOPILOT_ONLY`), and they refuse a permission prompt with `AUTOPILOT_CANNOT_ANSWER`. An item someone else already answered is refused with who did."];
2905
2845
  readonly wrapperFlagNote: "The top-level `runpane --version` form prints the wrapper version. The install subcommand form `runpane install --version vX.Y.Z` selects a Pane release.";
2906
2846
  readonly localControlFlagNote: "`runpane doctor --json`, `runpane repos list`, `runpane panes ...`, and `runpane panels ...` commands use or describe the local framed daemon socket/pipe for a running Pane app. `--pane-dir` points the wrapper at a non-default Pane data directory, such as `PANE_DIR=~/.pane_test` in development. `runpane agent-context` is local/offline and can be used before Pane is running. `agent-context` and `version` accept and ignore `--pane-dir`, so one `--pane-dir` can be passed to every runpane command. In a Pane repository checkout, if `runpane` is not on PATH, build the local wrapper with `pnpm --filter runpane build` and run it with patched Node 22.23.4+ (22.x), 24.22.1+ (24.x), or 26.12.1+ (26.x), for example `node packages/runpane/dist/cli.js doctor --json`. From WSL, if the user runs Windows Pane, use Pane's own `runpane` (on PATH in Pane's WSL terminals, or `/mnt/c/Users/<you>/.pane/bin/runpane`), which reaches the Windows named-pipe daemon through WSL interop; older Pane builds need `powershell.exe -NoProfile -Command 'Set-Location $env:TEMP; runpane ...'`.";
2907
2847
  readonly daemonFlagNote: "Unknown daemon flags should be forwarded rather than dropped so newer Pane versions can extend `--remote-setup` without requiring an immediate wrapper release. Unknown flags for non-daemon commands should fail clearly.";
@@ -2910,7 +2850,7 @@ declare const CONTRACT_SECTION_14: {
2910
2850
  };
2911
2851
  /** contract.json "testFixtures". */
2912
2852
  declare const CONTRACT_SECTION_15: {
2913
- readonly parserSamples: readonly [readonly ["setup"], readonly ["install"], readonly ["install", "client", "--version", "v2.2.8", "--format", "dmg", "--download-dir", "/tmp/pane-downloads", "--dry-run", "--yes"], readonly ["install", "daemon", "--label", "VM", "--prefer-tunnel", "ssh", "--channel", "nightly", "--base-url", "https://example.test", "--pane-dir", "/tmp/pane", "--listen-port", "4555", "--auto-listen-port", "--print-only", "--repo-ref", "main", "--unknown-future-flag", "future-value", "--dry-run", "--verbose"], readonly ["update", "--version", "latest", "--format", "appimage", "--pane-path", "/usr/bin/pane", "--dry-run"], readonly ["doctor", "--pane-path", "/usr/bin/pane", "--format", "zip", "--verbose"], readonly ["doctor", "--json", "--pane-dir", "/tmp/pane"], readonly ["doctor", "--report", "--title", "watch failed", "--body-file", "/tmp/watch-evidence.txt", "--json"], readonly ["watch", "--as", "monitor", "--from", "earliest", "--follow", "--heartbeat", "60s", "--idle-after", "600000", "--ready-settle", "180000", "--blocked-settle", "30000", "--min-interval", "600000", "--expire-after", "10800000", "--exclude-pane", "pane-old", "--kinds", "agent.ready,agent.idle", "--include-held-input", "--self-test"], readonly ["daemon", "repair", "--pane-dir", "/tmp/pane-remote", "--yes", "--json"], readonly ["agent-context"], readonly ["agent-context", "--command", "panes create", "--json"], readonly ["repos", "list", "--json", "--pane-dir", "/tmp/pane"], readonly ["repos", "add", "--path", "/tmp/repo", "--name", "Repo", "--dry-run", "--yes", "--json", "--pane-dir", "/tmp/pane"], readonly ["panes", "list", "--repo", "active", "--json"], readonly ["panes", "cost", "--pane", "session-1", "--json"], readonly ["panes", "create", "--repo", "active", "--name", "issue-252", "--agent", "codex", "--prompt", "Kick off discussion", "--source", "agent", "--pinned", "--dry-run", "--yes", "--json"], readonly ["panes", "create", "--repo", "active", "--name", "issue-252", "--agent", "codex", "--prompt", "Kick off discussion", "--source", "agent", "--no-pinned", "--no-associate", "--dry-run", "--yes", "--json"], readonly ["panes", "create", "--from-json", "-", "--yes", "--json"], readonly ["panes", "archive", "--pane", "session-1", "--force", "--source", "agent", "--yes", "--json"], readonly ["panes", "pin", "--pane", "session-1", "--yes", "--json"], readonly ["panes", "unpin", "--pane", "session-1", "--yes", "--json"], readonly ["panes", "rename", "--pane", "session-1", "--name", "issue-393", "--yes", "--json"], readonly ["panes", "focus", "--pane", "session-1", "--panel", "panel-1", "--source", "user", "--yes", "--json"], readonly ["panels", "list", "--pane", "session-1", "--json"], readonly ["panels", "output", "--panel", "panel-1", "--limit", "200", "--json"], readonly ["panels", "input", "--panel", "panel-1", "--text", "Continue\\n", "--yes", "--json"], readonly ["--version"], readonly ["agents", "doctor", "--agent", "codex", "--repo", "active", "--json"], readonly ["panes", "create", "--from-json", "-", "--source", "agent", "--focus", "--wait-ready", "--ready-timeout-ms", "45000", "--concurrency", "2", "--yes", "--json"], readonly ["panels", "screen", "--panel", "panel-1", "--limit", "80", "--json"], readonly ["panels", "submit", "--panel", "panel-1", "--text", "2", "--yes", "--json"], readonly ["panels", "wait", "--panel", "panel-1", "--for", "text", "--contains", "ready", "--timeout-ms", "30000", "--interval-ms", "500", "--json"], readonly ["panels", "create", "--pane", "pane-1", "--agent", "codex", "--source", "agent", "--no-focus", "--wait-ready", "--ready-timeout-ms", "15000", "--yes", "--json"], readonly ["panels", "create", "--pane", "pane-1", "--agent", "codex", "--focus", "--yes", "--json"], readonly ["panels", "submit-composer", "--panel", "panel-1", "--strategy", "auto", "--yes", "--json"], readonly ["panels", "close", "--panel", "panel-1", "--yes", "--json"], readonly ["sessions", "list", "--json"], readonly ["sessions", "get", "--session", "demo", "--json"], readonly ["sessions", "update", "--session", "demo", "--from-json", "-"], readonly ["panels", "submit", "--panel=panel-1", "--text=- [ ] item", "--yes", "--json"], readonly ["panes", "commit", "--pane", "pane-1", "--message", "fix: title\n\nbody", "--yes", "--json"], readonly ["links", "create", "--pane", "pane-1", "--panel", "panel-1", "--json"], readonly ["links", "open", "--url=pane://open?pane=pane-1", "--yes"], readonly ["mcp", "--toolsets", "core,git", "--read-only"], readonly ["docs", "search", "--query", "archive a pane", "--limit", "3"], readonly ["docs", "read", "--doc", "docs/PANE_MCP.md"], readonly ["agents", "start", "--repo", "active", "--name", "fix-login", "--agent", "claude", "--prompt", "Fix the login redirect", "--yes", "--json"], readonly ["agents", "send", "--pane", "pane-1", "--text=- [ ] item", "--yes"], readonly ["panels", "input", "--panel", "panel-1", "--keys", "down,enter", "--yes", "--json"], readonly ["panes", "squash-rebase", "--pane", "pane-1", "--message", "feat: land it", "--yes", "--json"], readonly ["folders", "create", "--repo", "3", "--name", "Reviews", "--yes"], readonly ["panes", "move", "--pane", "pane-1", "--folder", "folder-9", "--yes", "--json"], readonly ["watch", "--follow", "--json", "--pane-dir", "/tmp/pane"], readonly ["watch", "--follow"], readonly ["watch", "--session", "__orchestration_session_1b4e28ba-2fa1-11d2-883f-0016d3cca427__", "--follow", "--json", "--kinds", "agent.ready,agent.blocked,pane.associated,pane.detached,pr.conflicted,pr.checks,pr.merged", "--ready-settle", "180000"], readonly ["watch", "--session=Release train", "--as", "release-watch", "--exclude-pane", "pane-old"], readonly ["agent-context", "--command", "panes create", "--json", "--pane-dir", "/tmp/pane"], readonly ["agent-context", "--pane-dir=/tmp/pane"], readonly ["version", "--pane-dir", "/tmp/pane"], readonly ["panes", "create", "--repo", "active", "--name", "w5a", "--agent", "claude", "--base-branch", "origin/release", "--source", "agent", "--no-focus", "--yes", "--json", "--pane-dir", "/tmp/pane"], readonly ["panels", "create", "--pane", "pane-1", "--agent", "codex", "--tool-command", "wrapper codex-run", "--wait-ready", "--yes", "--json"], readonly ["panes", "create", "--repo", "active", "--name", "farm", "--tool-command", "agent-farm run free-range", "--agent", "claude", "--prompt", "Plan", "--yes", "--json"], readonly ["panels", "submit", "--panel", "panel-1", "--input-file", "brief.md", "--as-file-pointer", "--yes", "--json"], readonly ["panes", "create", "--repo", "active", "--name", "long", "--agent", "claude", "--initial-input-file", "brief.md", "--as-file-pointer", "--dry-run", "--yes", "--json"], readonly ["report", "--state", "ready", "--pr", "747", "--head", "FC5DCE9", "--summary", "Done: tests pass", "--json"], readonly ["report", "--state", "blocked", "--question", "Which API version?", "--pane", "session-1", "--panel", "panel-1", "--summary-file", "-"], readonly ["report", "--state=done", "--summary-file=/tmp/report.md", "--pane-dir", "/tmp/pane"], readonly ["panels", "resume", "--all-stopped", "--wait-ready", "--concurrency", "2", "--yes", "--json"], readonly ["panels", "resume", "--panel", "panel-1", "--wait-ready", "--ready-timeout-ms", "45000", "--yes", "--json"], readonly ["panels", "last-message", "--panel", "panel-1", "--limit", "5000", "--json"], readonly ["panels", "conversation", "--conversation", "0b6c5f0e-8d1a-4f43-9a51-2f7d0c1e9b44", "--source", "resume", "--panel", "panel-1", "--pane", "session-1", "--json"], readonly ["panels", "conversation", "--conversation=abc", "--source=compact", "--pane-dir", "/tmp/pane"], readonly ["panels", "conversation", "--hook"], readonly ["panes", "create", "--repo", "active", "--name", "w5a", "--base", "release/foo", "--branch", "agents/w5a", "--agent", "claude", "--prompt-file", "prompt.md", "--dry-run", "--yes", "--json"], readonly ["panes", "create", "--repo", "active", "--name", "w5b", "--base-branch", "origin/main", "--branch", "agents/w5b", "--worktree-name", "w5b-dir", "--tool-command", "bash", "--initial-input-file", "-", "--dry-run", "--yes", "--json"], readonly ["panes", "archive", "--pane", "session-1", "--remove-worktree", "--yes", "--json"], readonly ["panes", "archive", "--session", "refactor", "--merged", "--dry-run", "--json"], readonly ["panes", "archive", "--session", "refactor", "--merged", "--remove-worktree", "--yes"], readonly ["lock", "acquire", "--name", "testing-account", "--ttl", "30m", "--wait", "1800000", "--note", "call QA", "--json"], readonly ["lock", "acquire", "--name", "staging-db", "--ttl", "1500", "--pane", "session-1", "--panel", "panel-1", "--pane-dir", "/tmp/pane"], readonly ["lock", "acquire", "--name=db", "--ttl=2h"], readonly ["lock", "release", "--name", "testing-account", "--force", "--session", "Release QA", "--json"], readonly ["lock", "list", "--session", "Release QA", "--json"], readonly ["lock", "--help"], readonly ["panels", "open", "--pane", "session-1", "--file", "plan.html", "--title", "Plan", "--split", "--no-focus", "--source", "agent", "--yes", "--json"], readonly ["panels", "open", "--url", "http://localhost:3000", "--tab", "--yes", "--json"], readonly ["panels", "submit", "--panel", "panel-1", "--text", "correction", "--interrupt", "--yes", "--json"], readonly ["repos", "get", "--repo", "Pane", "--json"], readonly ["repos", "update", "--repo", "Pane", "--build-script", "pnpm install", "--run-script", "pnpm dev", "--worktree-folder", "../wt", "--clear", "archive-script,system-prompt", "--yes", "--dry-run", "--json"], readonly ["watch", "--as", "orch", "--until-event", "--json", "--kinds", "agent.report,agent.blocked,panel.exited,pane.gone", "--timeout-ms", "600000"], readonly ["pr", "watch", "--pane", "worker", "--url", "https://github.com/acme/app/pull/7"], readonly ["pr", "unwatch", "--pane", "worker", "--url", "https://github.com/acme/app/pull/7"], readonly ["pr", "list", "--pane", "worker"], readonly ["watch", "--follow", "--ready-settle", "5s", "--expire-after", "0"], readonly ["watch", "--until-event", "--timeout-ms", "30s"], readonly ["watch", "--timeout-ms", "off"], readonly ["watch", "--since", "42", "--epoch", "test-epoch", "--until-event", "--json"], readonly ["watch", "--follow", "--ready-settle", "5s", "--expire-after", "off"], readonly ["watch", "--follow", "--ready-settle", "5s", "--blocked-settle", "2s", "--min-interval", "1m", "--idle-after", "20m", "--expire-after", "off", "--heartbeat", "30s"], readonly ["watch", "--follow", "--since", "42", "--epoch", "test-epoch"], readonly ["panels", "submit", "--panel", "panel-1", "--text", "go", "--expect-report", "--yes", "--json"], readonly ["panels", "create", "--pane", "pane-1", "--agent", "claude", "--expect-report", "--yes"], readonly ["panes", "create", "--repo", "active", "--name", "feat", "--agent", "codex", "--expect-report", "--yes"], readonly ["inbox", "--session", "Release", "--json"], readonly ["inbox", "ack", "in-1a2b3c4d", "in-5e6f7a8b", "--session", "Release", "--json"], readonly ["inbox", "ack", "--all", "--session", "Release"], readonly ["panels", "submit", "--panel", "panel-1", "--text", "fyi", "--no-expect-report", "--yes"], readonly ["panels", "submit", "--panel", "panel-1", "--input-file", "prompt.md", "--as-file-pointer", "--wait", "--yes"], readonly ["panels", "submit", "--panel", "panel-1", "--text", "Red", "--wait", "--timeout", "30m", "--yes", "--json"], readonly ["panes", "create", "--repo", "active", "--name", "feat", "--agent", "claude", "--prompt-file", "task.md", "--wait", "--yes"], readonly ["lock", "acquire", "--name", "deploy", "--wait", "5000"], readonly ["loops", "create", "--repo", "active", "--name", "nightly", "--cron", "0 3 * * *", "--agent", "claude", "--prompt", "Sweep bugs", "--worktree-name", "nightly-sweep", "--paused", "--dry-run", "--yes", "--json"], readonly ["loops", "create", "--repo=2", "--name=deps", "--cron=0 9 * * 1", "--tool-command", "./scripts/nightly-report.sh", "--prompt-file", "-"], readonly ["loops", "create", "--session", "new", "--name", "triage", "--cron", "0 9 * * 1-5", "--agent", "claude", "--prompt", "Triage", "--yes"], readonly ["loops", "update", "--loop", "loop-1", "--cron", "0 4 * * *", "--yes"], readonly ["loops", "update", "--loop", "loop-1", "--session", "Nightly", "--yes"], readonly ["loops", "run", "--loop=loop-1", "--yes", "--json"], readonly ["loops", "pause", "--loop", "loop-1", "--pane-dir", "/tmp/pane"], readonly ["loops", "list", "--json"], readonly ["loops", "--help"], readonly ["notify", "--ui", "options", "--title", "Ship it?", "--context", "Tests pass.", "--choices=[{\"label\":\"Yes\",\"recommended\":true},{\"label\":\"No\"}]", "--json"], readonly ["notify", "--ui=approve", "--title=Drop the table?", "--detail=DROP TABLE t;", "--detail-label=Show the SQL", "--pane-dir", "/tmp/pane"], readonly ["notify", "--ui", "ask", "--title", "Which branch?", "--suggestions=[\"main\"]"], readonly ["notify", "--ui", "info", "--title", "Done", "--action={\"label\":\"Open\",\"url\":\"https://example.com\"}"], readonly ["notify", "--ui", "approve", "--title", "Ship the notes?", "--links=[{\"label\":\"Notes\",\"path\":\"docs/RELEASE.md\"},{\"label\":\"PR\",\"url\":\"https://example.com/pr/1\"}]"], readonly ["notify", "--resume", "n-1", "--json"], readonly ["secrets", "list", "--project", "stripe", "--json"], readonly ["secrets", "set", "--project", "stripe", "--name", "STRIPE_SECRET_KEY", "--yes"], readonly ["secrets", "delete", "--project", "stripe", "--name", "STRIPE_SECRET_KEY", "--yes", "--json"], readonly ["secrets", "exec", "--project", "stripe", "--only", "A,B", "--env", "KEY=STRIPE_SECRET_KEY", "--env=TOKEN=GH_TOKEN", "--file", "CERT", "--", "node", "-e", "run()", "--json"], readonly ["secrets", "exec", "--project", "qa", "sh", "-c", "echo ok"], readonly ["secrets", "request", "--project", "stripe", "--name", "STRIPE_SECRET_KEY", "--title", "Stripe test key", "--reason", "- for the webhook tests", "--json"], readonly ["secrets", "lease", "--project", "stripe", "STRIPE_SECRET_KEY", "--reason", "- for the webhook tests", "WEBHOOK_SECRET", "--json"], readonly ["secrets", "lease", "end", "--id", "3f9a2c1b7d4e8f06", "--yes", "--json"], readonly ["repos", "update", "--repo", "Pane", "--env", "[{\"key\":\"API_URL\",\"source\":\"plain\",\"value\":\"x\"}]", "--env-remove", "OLD,STALE", "--yes", "--json"], readonly ["panels", "close", "--panel", "panel-1", "--dry-run", "--json"], readonly ["panels", "close", "--panel", "panel-1", "--source", "agent", "--yes", "--json", "--pane-dir", "/tmp/pane"], readonly ["panels", "close", "--panel", "panel-1", "--force", "--yes", "--json"], readonly ["panes", "archive", "--session", "session-a", "--merged", "--closed", "--dry-run", "--json"], readonly ["autopilot", "status", "--json"], readonly ["autopilot", "waiting"], readonly ["autopilot", "stack", "--json"], readonly ["autopilot", "stack", "push", "--item", "n-1", "--note", "Needs a go", "--next", "--json"], readonly ["autopilot", "stack", "push", "--file", "/tmp/plan.html", "--title", "Plan", "--tab", "https://localhost:5173", "--tab=/tmp/notes.md"], readonly ["autopilot", "stack", "push", "--session", "Release"], readonly ["watch", "--as", "autopilot", "--kinds", "item.created,item.answered,session.created,session.archived,orchestrator.turn_ended", "--until-event", "--json"], readonly ["inbox", "ack", "in-1a2b3c4d", "--decision", "D-147", "--json"], readonly ["notify", "--relays", "in-1a2b3c4d", "--ui", "ask", "--title", "Q-39: Run it?"], readonly ["notify", "--ui", "ask", "--title", "Which?", "--about-session=Release", "--json"], readonly ["autopilot", "answer", "n-1", "--choice", "Yes", "--note", "Go", "--because", "D-22", "--json"], readonly ["autopilot", "answer", "n-1", "--approve", "--because=The person said so"], readonly ["autopilot", "answer", "n-1", "--deny", "--because", "D-23"], readonly ["autopilot", "answer", "n-1", "--text", "main", "--because", "D-24"], readonly ["autopilot", "close", "n-1", "--reason", "The PR merged", "--json"], readonly ["autopilot", "rewrite", "n-1", "--ui", "options", "--title", "Q-3: Which?", "--context", "Why", "--choices=[{\"label\":\"A\"}]", "--links=[{\"label\":\"Notes\",\"url\":\"https://example.com\"}]", "--json"], readonly ["notify", "--took", "Q-20", "answer", "--json"], readonly ["notify", "--took=n-1", "question", "--status", "Checking the logs", "--json"], readonly ["notify", "--took", "Q-20", "--took-as", "answer"], readonly ["notify", "--update", "Q-20", "--asked", "Can it be undone?", "--what-changed", "- Added: it can be undone", "--questions", "[{\"title\":\"A\",\"choices\":[{\"label\":\"x\"}]},{\"title\":\"B\",\"choices\":[{\"label\":\"y\"}]}]", "--json"], readonly ["link", "https://runpane.net/pair#s=secret&c=k7xq2m4n8p3r5t6v&n=parsa-devbox", "--yes", "--json"], readonly ["machine", "health", "--json"], readonly ["machine", "cleanup", "--kind", "update-snapshot", "--yes", "--json"], readonly ["todos", "create", "Keyboard sheet", "--summary", "Every shortcut", "--done-when", "Sheet opens", "--done-when", "Approvals work", "--parent", "T-11", "--repo", "pane", "--agent", "claude", "--attach", "plan.html", "--attach", "https://example.com/x", "--no-start", "--json"], readonly ["todos", "create", "--repo", "pane", "Fix", "the", "focus", "ring"], readonly ["todos", "create", "--done-when=[\"one\",\"two\"]", "--attach=[\"a.html\",\"b.png\"]", "Two lines"], readonly ["todos", "create", "--", "-x flag title"], readonly ["todos", "comment", "T-12", "- did the sheet\n- next: approvals", "--json"], readonly ["todos", "update", "T-12", "--title", "New title", "--summary", "New", "--done-when", "One", "--check", "1,3", "--check", "2", "--uncheck", "4", "--json"], readonly ["todos", "attach", "T-12", "docs/plan.html", "--kind", "plan", "--label", "Plan", "--note", "Read section 2", "--json"], readonly ["todos", "detach", "12", "3", "--json"], readonly ["todos", "show", "T-12", "--json"], readonly ["todos", "list", "--all", "--json"], readonly ["todos", "assign", "T-12", "--panel", "panel-1", "--json"], readonly ["todos", "ask", "T-12", "Should it list chat shortcuts?", "--json"], readonly ["todos", "comment", "T-12", "Sheet done.", "--escalate", "--json"], readonly ["todos", "review", "T-12", "--summary", "Ready", "--no-attachments", "A config change only", "--json"], readonly ["todos", "done", "T-12", "--person-said", "ship it", "--json"], readonly ["todos", "drop", "T-12", "--reason", "Covered by T-11", "--json"], readonly ["todos", "archive", "T-12", "--json"], readonly ["todos", "start", "T-12", "--json"], readonly ["todos", "stop", "T-12", "--pane-dir", "/tmp/pane", "--json"], readonly ["todos", "snooze", "T-12", "--until", "tomorrow 14:30", "--note", "Check Sentry", "--remind-me", "--json"], readonly ["todos", "snooze", "12", "--until=in 2h", "--json"], readonly ["todos", "wake", "T-12", "--json"], readonly ["todos", "list", "--status", "snoozed", "--json"], readonly ["notify", "--ui", "ask", "--title", "Which?", "--todo", "T-12", "--json"], readonly ["report", "--state", "ready", "--summary", "Done", "--todo", "T-12", "--json"], readonly ["agents", "start", "--pane", "pane-1", "--agent", "codex", "--prompt", "Review it", "--todo", "T-12", "--yes", "--json"], readonly ["report", "--outcome", " plan ready ", "--summary-file", "status.json"], readonly ["profiles", "list", "--json"], readonly ["profiles", "show", "greenfield", "--yaml"], readonly ["profiles", "launch", "greenfield", "--prompt", "Add dark mode", "--repo", "active", "--session", "Nightly", "--harness", "claude/opus", "--agent-harness", "planner=codex", "--agent-harness={\"reviewer\":\"claude\"}", "--command", "aider=aider --yes-always", "--yes", "--json"], readonly ["profiles", "runs", "--pane-dir", "/tmp/pane"], readonly ["profiles", "--help"]];
2853
+ readonly parserSamples: readonly [readonly ["setup"], readonly ["install"], readonly ["install", "client", "--version", "v2.2.8", "--format", "dmg", "--download-dir", "/tmp/pane-downloads", "--dry-run", "--yes"], readonly ["install", "daemon", "--label", "VM", "--prefer-tunnel", "ssh", "--channel", "nightly", "--base-url", "https://example.test", "--pane-dir", "/tmp/pane", "--listen-port", "4555", "--auto-listen-port", "--print-only", "--repo-ref", "main", "--unknown-future-flag", "future-value", "--dry-run", "--verbose"], readonly ["update", "--version", "latest", "--format", "appimage", "--pane-path", "/usr/bin/pane", "--dry-run"], readonly ["doctor", "--pane-path", "/usr/bin/pane", "--format", "zip", "--verbose"], readonly ["doctor", "--json", "--pane-dir", "/tmp/pane"], readonly ["doctor", "--report", "--title", "watch failed", "--body-file", "/tmp/watch-evidence.txt", "--json"], readonly ["watch", "--as", "monitor", "--from", "earliest", "--follow", "--heartbeat", "60s", "--idle-after", "600000", "--ready-settle", "180000", "--blocked-settle", "30000", "--min-interval", "600000", "--expire-after", "10800000", "--exclude-pane", "pane-old", "--kinds", "agent.ready,agent.idle", "--include-held-input", "--self-test"], readonly ["daemon", "repair", "--pane-dir", "/tmp/pane-remote", "--yes", "--json"], readonly ["agent-context"], readonly ["agent-context", "--command", "panes create", "--json"], readonly ["repos", "list", "--json", "--pane-dir", "/tmp/pane"], readonly ["repos", "add", "--path", "/tmp/repo", "--name", "Repo", "--dry-run", "--yes", "--json", "--pane-dir", "/tmp/pane"], readonly ["panes", "list", "--repo", "active", "--json"], readonly ["panes", "cost", "--pane", "session-1", "--json"], readonly ["panes", "create", "--repo", "active", "--name", "issue-252", "--agent", "codex", "--prompt", "Kick off discussion", "--source", "agent", "--pinned", "--dry-run", "--yes", "--json"], readonly ["panes", "create", "--repo", "active", "--name", "issue-252", "--agent", "codex", "--prompt", "Kick off discussion", "--source", "agent", "--no-pinned", "--no-associate", "--dry-run", "--yes", "--json"], readonly ["panes", "create", "--from-json", "-", "--yes", "--json"], readonly ["panes", "archive", "--pane", "session-1", "--force", "--source", "agent", "--yes", "--json"], readonly ["panes", "pin", "--pane", "session-1", "--yes", "--json"], readonly ["panes", "unpin", "--pane", "session-1", "--yes", "--json"], readonly ["panes", "rename", "--pane", "session-1", "--name", "issue-393", "--yes", "--json"], readonly ["panes", "focus", "--pane", "session-1", "--panel", "panel-1", "--source", "user", "--yes", "--json"], readonly ["panels", "list", "--pane", "session-1", "--json"], readonly ["panels", "output", "--panel", "panel-1", "--limit", "200", "--json"], readonly ["panels", "input", "--panel", "panel-1", "--text", "Continue\\n", "--yes", "--json"], readonly ["--version"], readonly ["agents", "doctor", "--agent", "codex", "--repo", "active", "--json"], readonly ["panes", "create", "--from-json", "-", "--source", "agent", "--focus", "--wait-ready", "--ready-timeout-ms", "45000", "--concurrency", "2", "--yes", "--json"], readonly ["panels", "screen", "--panel", "panel-1", "--limit", "80", "--json"], readonly ["panels", "submit", "--panel", "panel-1", "--text", "2", "--yes", "--json"], readonly ["panels", "wait", "--panel", "panel-1", "--for", "text", "--contains", "ready", "--timeout-ms", "30000", "--interval-ms", "500", "--json"], readonly ["panels", "create", "--pane", "pane-1", "--agent", "codex", "--source", "agent", "--no-focus", "--wait-ready", "--ready-timeout-ms", "15000", "--yes", "--json"], readonly ["panels", "create", "--pane", "pane-1", "--agent", "codex", "--focus", "--yes", "--json"], readonly ["panels", "submit-composer", "--panel", "panel-1", "--strategy", "auto", "--yes", "--json"], readonly ["panels", "close", "--panel", "panel-1", "--yes", "--json"], readonly ["sessions", "list", "--json"], readonly ["sessions", "get", "--session", "demo", "--json"], readonly ["sessions", "update", "--session", "demo", "--from-json", "-"], readonly ["panels", "submit", "--panel=panel-1", "--text=- [ ] item", "--yes", "--json"], readonly ["panes", "commit", "--pane", "pane-1", "--message", "fix: title\n\nbody", "--yes", "--json"], readonly ["links", "create", "--pane", "pane-1", "--panel", "panel-1", "--json"], readonly ["links", "open", "--url=pane://open?pane=pane-1", "--yes"], readonly ["mcp", "--toolsets", "core,git", "--read-only"], readonly ["docs", "search", "--query", "archive a pane", "--limit", "3"], readonly ["docs", "read", "--doc", "docs/PANE_MCP.md"], readonly ["agents", "start", "--repo", "active", "--name", "fix-login", "--agent", "claude", "--prompt", "Fix the login redirect", "--yes", "--json"], readonly ["agents", "send", "--pane", "pane-1", "--text=- [ ] item", "--yes"], readonly ["panels", "input", "--panel", "panel-1", "--keys", "down,enter", "--yes", "--json"], readonly ["panes", "squash-rebase", "--pane", "pane-1", "--message", "feat: land it", "--yes", "--json"], readonly ["folders", "create", "--repo", "3", "--name", "Reviews", "--yes"], readonly ["panes", "move", "--pane", "pane-1", "--folder", "folder-9", "--yes", "--json"], readonly ["watch", "--follow", "--json", "--pane-dir", "/tmp/pane"], readonly ["watch", "--follow"], readonly ["watch", "--session", "__orchestration_session_1b4e28ba-2fa1-11d2-883f-0016d3cca427__", "--follow", "--json", "--kinds", "agent.ready,agent.blocked,pane.associated,pane.detached,pr.conflicted,pr.checks,pr.merged", "--ready-settle", "180000"], readonly ["watch", "--session=Release train", "--as", "release-watch", "--exclude-pane", "pane-old"], readonly ["agent-context", "--command", "panes create", "--json", "--pane-dir", "/tmp/pane"], readonly ["agent-context", "--pane-dir=/tmp/pane"], readonly ["version", "--pane-dir", "/tmp/pane"], readonly ["panes", "create", "--repo", "active", "--name", "w5a", "--agent", "claude", "--base-branch", "origin/release", "--source", "agent", "--no-focus", "--yes", "--json", "--pane-dir", "/tmp/pane"], readonly ["panels", "create", "--pane", "pane-1", "--agent", "codex", "--tool-command", "wrapper codex-run", "--wait-ready", "--yes", "--json"], readonly ["panes", "create", "--repo", "active", "--name", "farm", "--tool-command", "agent-farm run free-range", "--agent", "claude", "--prompt", "Plan", "--yes", "--json"], readonly ["panels", "submit", "--panel", "panel-1", "--input-file", "brief.md", "--as-file-pointer", "--yes", "--json"], readonly ["panes", "create", "--repo", "active", "--name", "long", "--agent", "claude", "--initial-input-file", "brief.md", "--as-file-pointer", "--dry-run", "--yes", "--json"], readonly ["report", "--state", "ready", "--pr", "747", "--head", "FC5DCE9", "--summary", "Done: tests pass", "--json"], readonly ["report", "--state", "blocked", "--question", "Which API version?", "--pane", "session-1", "--panel", "panel-1", "--summary-file", "-"], readonly ["report", "--state=done", "--summary-file=/tmp/report.md", "--pane-dir", "/tmp/pane"], readonly ["panels", "resume", "--all-stopped", "--wait-ready", "--concurrency", "2", "--yes", "--json"], readonly ["panels", "resume", "--panel", "panel-1", "--wait-ready", "--ready-timeout-ms", "45000", "--yes", "--json"], readonly ["panels", "last-message", "--panel", "panel-1", "--limit", "5000", "--json"], readonly ["panels", "conversation", "--conversation", "0b6c5f0e-8d1a-4f43-9a51-2f7d0c1e9b44", "--source", "resume", "--panel", "panel-1", "--pane", "session-1", "--json"], readonly ["panels", "conversation", "--conversation=abc", "--source=compact", "--pane-dir", "/tmp/pane"], readonly ["panels", "conversation", "--hook"], readonly ["panes", "create", "--repo", "active", "--name", "w5a", "--base", "release/foo", "--branch", "agents/w5a", "--agent", "claude", "--prompt-file", "prompt.md", "--dry-run", "--yes", "--json"], readonly ["panes", "create", "--repo", "active", "--name", "w5b", "--base-branch", "origin/main", "--branch", "agents/w5b", "--worktree-name", "w5b-dir", "--tool-command", "bash", "--initial-input-file", "-", "--dry-run", "--yes", "--json"], readonly ["panes", "archive", "--pane", "session-1", "--remove-worktree", "--yes", "--json"], readonly ["panes", "archive", "--session", "refactor", "--merged", "--dry-run", "--json"], readonly ["panes", "archive", "--session", "refactor", "--merged", "--remove-worktree", "--yes"], readonly ["lock", "acquire", "--name", "testing-account", "--ttl", "30m", "--wait", "1800000", "--note", "call QA", "--json"], readonly ["lock", "acquire", "--name", "staging-db", "--ttl", "1500", "--pane", "session-1", "--panel", "panel-1", "--pane-dir", "/tmp/pane"], readonly ["lock", "acquire", "--name=db", "--ttl=2h"], readonly ["lock", "release", "--name", "testing-account", "--force", "--session", "Release QA", "--json"], readonly ["lock", "list", "--session", "Release QA", "--json"], readonly ["lock", "--help"], readonly ["panels", "open", "--pane", "session-1", "--file", "plan.html", "--title", "Plan", "--split", "--no-focus", "--source", "agent", "--yes", "--json"], readonly ["panels", "open", "--url", "http://localhost:3000", "--tab", "--yes", "--json"], readonly ["panels", "submit", "--panel", "panel-1", "--text", "correction", "--interrupt", "--yes", "--json"], readonly ["repos", "get", "--repo", "Pane", "--json"], readonly ["repos", "update", "--repo", "Pane", "--build-script", "pnpm install", "--run-script", "pnpm dev", "--worktree-folder", "../wt", "--clear", "archive-script,system-prompt", "--yes", "--dry-run", "--json"], readonly ["watch", "--as", "orch", "--until-event", "--json", "--kinds", "agent.report,agent.blocked,panel.exited,pane.gone", "--timeout-ms", "600000"], readonly ["pr", "watch", "--pane", "worker", "--url", "https://github.com/acme/app/pull/7"], readonly ["pr", "unwatch", "--pane", "worker", "--url", "https://github.com/acme/app/pull/7"], readonly ["pr", "list", "--pane", "worker"], readonly ["watch", "--follow", "--ready-settle", "5s", "--expire-after", "0"], readonly ["watch", "--until-event", "--timeout-ms", "30s"], readonly ["watch", "--timeout-ms", "off"], readonly ["watch", "--since", "42", "--epoch", "test-epoch", "--until-event", "--json"], readonly ["watch", "--follow", "--ready-settle", "5s", "--expire-after", "off"], readonly ["watch", "--follow", "--ready-settle", "5s", "--blocked-settle", "2s", "--min-interval", "1m", "--idle-after", "20m", "--expire-after", "off", "--heartbeat", "30s"], readonly ["watch", "--follow", "--since", "42", "--epoch", "test-epoch"], readonly ["panels", "submit", "--panel", "panel-1", "--text", "go", "--expect-report", "--yes", "--json"], readonly ["panels", "create", "--pane", "pane-1", "--agent", "claude", "--expect-report", "--yes"], readonly ["panes", "create", "--repo", "active", "--name", "feat", "--agent", "codex", "--expect-report", "--yes"], readonly ["inbox", "--session", "Release", "--json"], readonly ["inbox", "ack", "in-1a2b3c4d", "in-5e6f7a8b", "--session", "Release", "--json"], readonly ["inbox", "ack", "--all", "--session", "Release"], readonly ["panels", "submit", "--panel", "panel-1", "--text", "fyi", "--no-expect-report", "--yes"], readonly ["panels", "submit", "--panel", "panel-1", "--input-file", "prompt.md", "--as-file-pointer", "--wait", "--yes"], readonly ["panels", "submit", "--panel", "panel-1", "--text", "Red", "--wait", "--timeout", "30m", "--yes", "--json"], readonly ["panes", "create", "--repo", "active", "--name", "feat", "--agent", "claude", "--prompt-file", "task.md", "--wait", "--yes"], readonly ["lock", "acquire", "--name", "deploy", "--wait", "5000"], readonly ["loops", "create", "--repo", "active", "--name", "nightly", "--cron", "0 3 * * *", "--agent", "claude", "--prompt", "Sweep bugs", "--worktree-name", "nightly-sweep", "--paused", "--dry-run", "--yes", "--json"], readonly ["loops", "create", "--repo=2", "--name=deps", "--cron=0 9 * * 1", "--tool-command", "./scripts/nightly-report.sh", "--prompt-file", "-"], readonly ["loops", "create", "--session", "new", "--name", "triage", "--cron", "0 9 * * 1-5", "--agent", "claude", "--prompt", "Triage", "--yes"], readonly ["loops", "update", "--loop", "loop-1", "--cron", "0 4 * * *", "--yes"], readonly ["loops", "update", "--loop", "loop-1", "--session", "Nightly", "--yes"], readonly ["loops", "run", "--loop=loop-1", "--yes", "--json"], readonly ["loops", "pause", "--loop", "loop-1", "--pane-dir", "/tmp/pane"], readonly ["loops", "list", "--json"], readonly ["loops", "--help"], readonly ["notify", "--ui", "options", "--title", "Ship it?", "--context", "Tests pass.", "--choices=[{\"label\":\"Yes\",\"recommended\":true},{\"label\":\"No\"}]", "--json"], readonly ["notify", "--ui=approve", "--title=Drop the table?", "--detail=DROP TABLE t;", "--detail-label=Show the SQL", "--pane-dir", "/tmp/pane"], readonly ["notify", "--ui", "ask", "--title", "Which branch?", "--suggestions=[\"main\"]"], readonly ["notify", "--ui", "info", "--title", "Done", "--action={\"label\":\"Open\",\"url\":\"https://example.com\"}"], readonly ["notify", "--ui", "approve", "--title", "Ship the notes?", "--links=[{\"label\":\"Notes\",\"path\":\"docs/RELEASE.md\"},{\"label\":\"PR\",\"url\":\"https://example.com/pr/1\"}]"], readonly ["notify", "--resume", "n-1", "--json"], readonly ["secrets", "list", "--project", "stripe", "--json"], readonly ["secrets", "set", "--project", "stripe", "--name", "STRIPE_SECRET_KEY", "--yes"], readonly ["secrets", "delete", "--project", "stripe", "--name", "STRIPE_SECRET_KEY", "--yes", "--json"], readonly ["secrets", "exec", "--project", "stripe", "--only", "A,B", "--env", "KEY=STRIPE_SECRET_KEY", "--env=TOKEN=GH_TOKEN", "--file", "CERT", "--", "node", "-e", "run()", "--json"], readonly ["secrets", "exec", "--project", "qa", "sh", "-c", "echo ok"], readonly ["secrets", "request", "--project", "stripe", "--name", "STRIPE_SECRET_KEY", "--title", "Stripe test key", "--reason", "- for the webhook tests", "--json"], readonly ["secrets", "lease", "--project", "stripe", "STRIPE_SECRET_KEY", "--reason", "- for the webhook tests", "WEBHOOK_SECRET", "--json"], readonly ["secrets", "lease", "end", "--id", "3f9a2c1b7d4e8f06", "--yes", "--json"], readonly ["repos", "update", "--repo", "Pane", "--env", "[{\"key\":\"API_URL\",\"source\":\"plain\",\"value\":\"x\"}]", "--env-remove", "OLD,STALE", "--yes", "--json"], readonly ["panels", "close", "--panel", "panel-1", "--dry-run", "--json"], readonly ["panels", "close", "--panel", "panel-1", "--source", "agent", "--yes", "--json", "--pane-dir", "/tmp/pane"], readonly ["panels", "close", "--panel", "panel-1", "--force", "--yes", "--json"], readonly ["panes", "archive", "--session", "session-a", "--merged", "--closed", "--dry-run", "--json"], readonly ["autopilot", "status", "--json"], readonly ["autopilot", "waiting"], readonly ["autopilot", "stack", "--json"], readonly ["autopilot", "stack", "push", "--item", "n-1", "--note", "Needs a go", "--next", "--json"], readonly ["autopilot", "stack", "push", "--file", "/tmp/plan.html", "--title", "Plan", "--tab", "https://localhost:5173", "--tab=/tmp/notes.md"], readonly ["autopilot", "stack", "push", "--session", "Release"], readonly ["watch", "--as", "autopilot", "--kinds", "item.created,item.answered,session.created,session.archived,orchestrator.turn_ended", "--until-event", "--json"], readonly ["inbox", "ack", "in-1a2b3c4d", "--decision", "D-147", "--json"], readonly ["notify", "--relays", "in-1a2b3c4d", "--ui", "ask", "--title", "Q-39: Run it?"], readonly ["notify", "--ui", "ask", "--title", "Which?", "--about-session=Release", "--json"], readonly ["autopilot", "answer", "n-1", "--choice", "Yes", "--note", "Go", "--because", "D-22", "--json"], readonly ["autopilot", "answer", "n-1", "--approve", "--because=The person said so"], readonly ["autopilot", "answer", "n-1", "--deny", "--because", "D-23"], readonly ["autopilot", "answer", "n-1", "--text", "main", "--because", "D-24"], readonly ["autopilot", "close", "n-1", "--reason", "The PR merged", "--json"], readonly ["autopilot", "rewrite", "n-1", "--ui", "options", "--title", "Q-3: Which?", "--context", "Why", "--choices=[{\"label\":\"A\"}]", "--links=[{\"label\":\"Notes\",\"url\":\"https://example.com\"}]", "--json"], readonly ["notify", "--took", "Q-20", "answer", "--json"], readonly ["notify", "--took=n-1", "question", "--status", "Checking the logs", "--json"], readonly ["notify", "--took", "Q-20", "--took-as", "answer"], readonly ["notify", "--update", "Q-20", "--asked", "Can it be undone?", "--what-changed", "- Added: it can be undone", "--questions", "[{\"title\":\"A\",\"choices\":[{\"label\":\"x\"}]},{\"title\":\"B\",\"choices\":[{\"label\":\"y\"}]}]", "--json"], readonly ["link", "https://runpane.net/pair#s=secret&c=k7xq2m4n8p3r5t6v&n=parsa-devbox", "--yes", "--json"], readonly ["machine", "health", "--json"], readonly ["machine", "cleanup", "--kind", "update-snapshot", "--yes", "--json"], readonly ["todos", "create", "Keyboard sheet", "--summary", "Every shortcut", "--done-when", "Sheet opens", "--done-when", "Approvals work", "--parent", "T-11", "--repo", "pane", "--agent", "claude", "--attach", "plan.html", "--attach", "https://example.com/x", "--no-start", "--json"], readonly ["todos", "create", "--repo", "pane", "Fix", "the", "focus", "ring"], readonly ["todos", "create", "--done-when=[\"one\",\"two\"]", "--attach=[\"a.html\",\"b.png\"]", "Two lines"], readonly ["todos", "create", "--", "-x flag title"], readonly ["todos", "comment", "T-12", "- did the sheet\n- next: approvals", "--json"], readonly ["todos", "update", "T-12", "--title", "New title", "--summary", "New", "--done-when", "One", "--check", "1,3", "--check", "2", "--uncheck", "4", "--json"], readonly ["todos", "attach", "T-12", "docs/plan.html", "--kind", "plan", "--label", "Plan", "--note", "Read section 2", "--json"], readonly ["todos", "detach", "12", "3", "--json"], readonly ["todos", "show", "T-12", "--json"], readonly ["todos", "list", "--all", "--json"], readonly ["todos", "assign", "T-12", "--panel", "panel-1", "--json"], readonly ["todos", "ask", "T-12", "Should it list chat shortcuts?", "--json"], readonly ["todos", "comment", "T-12", "Sheet done.", "--escalate", "--json"], readonly ["todos", "review", "T-12", "--summary", "Ready", "--no-attachments", "A config change only", "--json"], readonly ["todos", "done", "T-12", "--person-said", "ship it", "--json"], readonly ["todos", "drop", "T-12", "--reason", "Covered by T-11", "--json"], readonly ["todos", "archive", "T-12", "--json"], readonly ["todos", "start", "T-12", "--json"], readonly ["todos", "stop", "T-12", "--pane-dir", "/tmp/pane", "--json"], readonly ["todos", "snooze", "T-12", "--until", "tomorrow 14:30", "--note", "Check Sentry", "--remind-me", "--json"], readonly ["todos", "snooze", "12", "--until=in 2h", "--json"], readonly ["todos", "wake", "T-12", "--json"], readonly ["todos", "list", "--status", "snoozed", "--json"], readonly ["notify", "--ui", "ask", "--title", "Which?", "--todo", "T-12", "--json"], readonly ["report", "--state", "ready", "--summary", "Done", "--todo", "T-12", "--json"], readonly ["agents", "start", "--pane", "pane-1", "--agent", "codex", "--prompt", "Review it", "--todo", "T-12", "--yes", "--json"]];
2914
2854
  readonly topLevelHelpIncludes: readonly ["runpane setup", "runpane install", "runpane update", "runpane version", "runpane doctor", "runpane agent-context", "runpane repos list", "runpane repos add", "runpane repos rename", "runpane panes list", "runpane panes create", "runpane panes archive", "runpane panels create", "runpane panels list", "runpane panels output", "runpane panels input", "runpane agents doctor", "runpane panels screen", "runpane panels submit", "runpane panels submit-composer", "runpane panels wait", "runpane doctor --json", "runpane agent-context --json", "Agent discovery:", "Common commands:"];
2915
2855
  readonly npmHelpIncludes: readonly ["pnpm dlx runpane@latest", "npx --yes runpane@latest", "runpane loops list"];
2916
2856
  readonly pipHelpIncludes: readonly ["pipx run runpane", "python -m pip install runpane && python -m runpane setup", "python -m runpane loops list"];
@@ -11669,318 +11609,6 @@ declare const CONTRACT_SECTION_16: {
11669
11609
  };
11670
11610
  readonly additionalProperties: false;
11671
11611
  };
11672
- readonly libraryProfile: {
11673
- readonly type: "object";
11674
- readonly description: "A profile in the library. `profile` is the normalized profile (agents, flow, samples, runs); absent when the file could not be read as one.";
11675
- readonly required: readonly ["name", "origin", "file", "valid", "launchable", "teamOnly", "enabled", "errors"];
11676
- readonly properties: {
11677
- readonly name: {
11678
- readonly type: "string";
11679
- };
11680
- readonly version: {
11681
- readonly type: "string";
11682
- };
11683
- readonly title: {
11684
- readonly type: "string";
11685
- };
11686
- readonly origin: {
11687
- readonly enum: readonly ["bundled", "yours"];
11688
- };
11689
- readonly file: {
11690
- readonly type: "string";
11691
- };
11692
- readonly valid: {
11693
- readonly type: "boolean";
11694
- };
11695
- readonly launchable: {
11696
- readonly type: "boolean";
11697
- };
11698
- readonly teamOnly: {
11699
- readonly type: "boolean";
11700
- };
11701
- readonly enabled: {
11702
- readonly type: "boolean";
11703
- };
11704
- readonly errors: {
11705
- readonly type: "array";
11706
- readonly items: {
11707
- readonly type: "object";
11708
- readonly required: readonly ["code", "message", "fix"];
11709
- readonly properties: {
11710
- readonly code: {
11711
- readonly type: "string";
11712
- };
11713
- readonly message: {
11714
- readonly type: "string";
11715
- };
11716
- readonly fix: {
11717
- readonly type: "string";
11718
- };
11719
- readonly step: {
11720
- readonly type: "string";
11721
- };
11722
- readonly outcome: {
11723
- readonly type: "string";
11724
- };
11725
- };
11726
- };
11727
- };
11728
- readonly profile: {
11729
- readonly type: "object";
11730
- };
11731
- };
11732
- };
11733
- readonly profileRun: {
11734
- readonly type: "object";
11735
- readonly description: "A launched profile: where its steps run and where it is now.";
11736
- readonly required: readonly ["id", "profile", "profileVersion", "sessionId", "repoId", "prompt", "state", "step", "wait", "history"];
11737
- readonly properties: {
11738
- readonly id: {
11739
- readonly type: "string";
11740
- };
11741
- readonly profile: {
11742
- readonly type: "string";
11743
- };
11744
- readonly profileVersion: {
11745
- readonly type: "string";
11746
- };
11747
- readonly sessionId: {
11748
- readonly type: "string";
11749
- };
11750
- readonly repoId: {
11751
- readonly type: "number";
11752
- };
11753
- readonly paneId: {
11754
- readonly type: "string";
11755
- };
11756
- readonly prompt: {
11757
- readonly type: "string";
11758
- };
11759
- readonly harness: {
11760
- readonly type: "object";
11761
- readonly additionalProperties: {
11762
- readonly type: "string";
11763
- readonly minLength: 1;
11764
- };
11765
- };
11766
- readonly commands: {
11767
- readonly type: "object";
11768
- readonly additionalProperties: {
11769
- readonly type: "string";
11770
- readonly minLength: 1;
11771
- };
11772
- };
11773
- readonly state: {
11774
- readonly enum: readonly ["running", "asking", "paused", "ended", "failed"];
11775
- };
11776
- readonly step: {
11777
- readonly type: "string";
11778
- };
11779
- readonly wait: {
11780
- readonly type: "object";
11781
- };
11782
- readonly history: {
11783
- readonly type: "array";
11784
- readonly items: {
11785
- readonly type: "object";
11786
- };
11787
- };
11788
- readonly error: {
11789
- readonly type: "string";
11790
- };
11791
- readonly createdAt: {
11792
- readonly type: "string";
11793
- };
11794
- readonly updatedAt: {
11795
- readonly type: "string";
11796
- };
11797
- };
11798
- };
11799
- readonly profileListResult: {
11800
- readonly type: "object";
11801
- readonly required: readonly ["ok", "profiles"];
11802
- readonly properties: {
11803
- readonly ok: {
11804
- readonly const: true;
11805
- };
11806
- readonly profiles: {
11807
- readonly type: "array";
11808
- readonly items: {
11809
- readonly $ref: "#/jsonSchemas/libraryProfile";
11810
- };
11811
- };
11812
- readonly agentFarm: {
11813
- readonly type: "object";
11814
- readonly required: readonly ["state"];
11815
- readonly properties: {
11816
- readonly state: {
11817
- readonly enum: readonly ["missing", "installing", "ready", "failed"];
11818
- };
11819
- readonly version: {
11820
- readonly type: "string";
11821
- };
11822
- readonly error: {
11823
- readonly type: "string";
11824
- };
11825
- };
11826
- };
11827
- readonly ownAgentFarm: {
11828
- readonly type: "object";
11829
- readonly required: readonly ["profiles"];
11830
- readonly properties: {
11831
- readonly profiles: {
11832
- readonly type: "array";
11833
- readonly items: {
11834
- readonly type: "object";
11835
- readonly required: readonly ["name", "source"];
11836
- readonly properties: {
11837
- readonly name: {
11838
- readonly type: "string";
11839
- };
11840
- readonly source: {
11841
- readonly type: "string";
11842
- };
11843
- readonly harness: {
11844
- readonly type: "string";
11845
- };
11846
- readonly model: {
11847
- readonly type: "string";
11848
- };
11849
- };
11850
- };
11851
- };
11852
- readonly error: {
11853
- readonly type: "string";
11854
- };
11855
- };
11856
- };
11857
- };
11858
- };
11859
- readonly profileShowResult: {
11860
- readonly type: "object";
11861
- readonly required: readonly ["ok", "profile", "yaml"];
11862
- readonly properties: {
11863
- readonly ok: {
11864
- readonly const: true;
11865
- };
11866
- readonly profile: {
11867
- readonly $ref: "#/jsonSchemas/libraryProfile";
11868
- };
11869
- readonly yaml: {
11870
- readonly type: "string";
11871
- };
11872
- };
11873
- };
11874
- readonly profileLaunchRequest: {
11875
- readonly type: "object";
11876
- readonly description: "What `runpane profiles launch` sends to Pane.";
11877
- readonly required: readonly ["name", "prompt", "repo"];
11878
- readonly properties: {
11879
- readonly name: {
11880
- readonly type: "string";
11881
- readonly minLength: 1;
11882
- };
11883
- readonly prompt: {
11884
- readonly type: "string";
11885
- readonly minLength: 1;
11886
- };
11887
- readonly repo: {
11888
- readonly anyOf: readonly [{
11889
- readonly type: "string";
11890
- }, {
11891
- readonly type: "object";
11892
- readonly required: readonly ["id"];
11893
- readonly properties: {
11894
- readonly id: {
11895
- readonly type: "number";
11896
- };
11897
- };
11898
- readonly additionalProperties: false;
11899
- }, {
11900
- readonly type: "object";
11901
- readonly required: readonly ["path"];
11902
- readonly properties: {
11903
- readonly path: {
11904
- readonly type: "string";
11905
- };
11906
- };
11907
- readonly additionalProperties: false;
11908
- }, {
11909
- readonly type: "object";
11910
- readonly required: readonly ["name"];
11911
- readonly properties: {
11912
- readonly name: {
11913
- readonly type: "string";
11914
- };
11915
- };
11916
- readonly additionalProperties: false;
11917
- }, {
11918
- readonly type: "object";
11919
- readonly required: readonly ["active"];
11920
- readonly properties: {
11921
- readonly active: {
11922
- readonly const: true;
11923
- };
11924
- };
11925
- readonly additionalProperties: false;
11926
- }];
11927
- };
11928
- readonly session: {
11929
- readonly type: "string";
11930
- readonly minLength: 1;
11931
- };
11932
- readonly harness: {
11933
- readonly type: "string";
11934
- readonly minLength: 1;
11935
- };
11936
- readonly agentHarness: {
11937
- readonly type: "object";
11938
- readonly additionalProperties: {
11939
- readonly type: "string";
11940
- readonly minLength: 1;
11941
- };
11942
- };
11943
- readonly commands: {
11944
- readonly type: "object";
11945
- readonly additionalProperties: {
11946
- readonly type: "string";
11947
- readonly minLength: 1;
11948
- };
11949
- };
11950
- readonly callerPanelId: {
11951
- readonly type: "string";
11952
- readonly minLength: 1;
11953
- };
11954
- };
11955
- readonly additionalProperties: false;
11956
- };
11957
- readonly profileLaunchResult: {
11958
- readonly type: "object";
11959
- readonly required: readonly ["ok", "run"];
11960
- readonly properties: {
11961
- readonly ok: {
11962
- readonly const: true;
11963
- };
11964
- readonly run: {
11965
- readonly $ref: "#/jsonSchemas/profileRun";
11966
- };
11967
- };
11968
- };
11969
- readonly profileRunsResult: {
11970
- readonly type: "object";
11971
- readonly required: readonly ["ok", "runs"];
11972
- readonly properties: {
11973
- readonly ok: {
11974
- readonly const: true;
11975
- };
11976
- readonly runs: {
11977
- readonly type: "array";
11978
- readonly items: {
11979
- readonly $ref: "#/jsonSchemas/profileRun";
11980
- };
11981
- };
11982
- };
11983
- };
11984
11612
  };
11985
11613
  /** contract.json "agentContext". */
11986
11614
  declare const CONTRACT_SECTION_17: {
@@ -12002,7 +11630,7 @@ declare const CONTRACT_SECTION_17: {
12002
11630
  };
12003
11631
  };
12004
11632
  };
12005
- readonly workspaceRules: readonly ["Session: where a workstream lives, and the default home for orchestrated work. Its folder ($PANE_SESSION_DIR) holds plans, notes and reports.", "Pane: one per feature (one worktree, one branch). Before creating one, find the feature's Pane (`runpane panes list --json`, match the branch) and create one only when none exists.", "Tab: reviews, review reruns, QA, fixes and follow-ups for a feature go in new tabs in its Pane (`runpane panels create --pane <id>`), never a new Pane or a plain `git worktree`.", "Scratch: in Pane, put temporary files, clones, captures, downloads, logs and test instances (an isolated PANE_DIR and HOME for QA) in `$PANE_SCRATCH_DIR`, not /tmp or your tool's own scratchpad. When the feature is done, archive the Pane and Pane cleans it up.", "Profiles: a profile is a team and a fixed workflow Pane runs from its file (docs/PROFILES.md). Once Profiles is on (Settings › Advanced › Profiles), `runpane profiles list` and `runpane profiles launch <name> --prompt <text>` start one; in a profile step's tab, end the step with `runpane report --outcome \"<one of the step's outcomes>\"`, which the step's first message names."];
11633
+ readonly workspaceRules: readonly ["Session: where a workstream lives, and the default home for orchestrated work. Its folder ($PANE_SESSION_DIR) holds plans, notes and reports.", "Pane: one per feature (one worktree, one branch). Before creating one, find the feature's Pane (`runpane panes list --json`, match the branch) and create one only when none exists.", "Tab: reviews, review reruns, QA, fixes and follow-ups for a feature go in new tabs in its Pane (`runpane panels create --pane <id>`), never a new Pane or a plain `git worktree`.", "Scratch: in Pane, put temporary files, clones, captures, downloads, logs and test instances (an isolated PANE_DIR and HOME for QA) in `$PANE_SCRATCH_DIR`, not /tmp or your tool's own scratchpad. When the feature is done, archive the Pane and Pane cleans it up."];
12006
11634
  readonly brief: {
12007
11635
  readonly title: "Pane agent context";
12008
11636
  readonly summary: "Pane runs coding agents in parallel git worktrees. A Pane is a visible workspace for one feature or PR, with its own Pane-managed git worktree and branch; a panel is a terminal tab in a Pane and shares its worktree; an agent is a CLI process running in a panel.";
@@ -12364,7 +11992,7 @@ declare const CONTRACT_SECTION_17: {
12364
11992
  readonly name: "--toolsets";
12365
11993
  readonly value: "<name,...>";
12366
11994
  readonly required: false;
12367
- readonly description: "Comma-separated toolsets to serve: core (default), all, read, repos, panes, panels, agents, sessions, loops, profiles, workspace, machine, git, docs, links, admin.";
11995
+ readonly description: "Comma-separated toolsets to serve: core (default), all, read, repos, panes, panels, agents, sessions, loops, workspace, machine, git, docs, links, admin.";
12368
11996
  }, {
12369
11997
  readonly name: "--read-only";
12370
11998
  readonly required: false;
@@ -15002,7 +14630,7 @@ declare const CONTRACT_SECTION_17: {
15002
14630
  readonly name: "--state";
15003
14631
  readonly value: "<ready|blocked|failed|done>";
15004
14632
  readonly required: true;
15005
- readonly description: "ready: work is ready for review; done: finished with nothing to review; blocked: needs an answer; failed: could not finish. Optional with --outcome, which implies done.";
14633
+ readonly description: "ready: work is ready for review; done: finished with nothing to review; blocked: needs an answer; failed: could not finish.";
15006
14634
  }, {
15007
14635
  readonly name: "--pr";
15008
14636
  readonly value: "<number>";
@@ -15062,15 +14690,10 @@ declare const CONTRACT_SECTION_17: {
15062
14690
  readonly value: "<path>";
15063
14691
  readonly required: false;
15064
14692
  readonly description: "Connect to a specific Pane data directory.";
15065
- }, {
15066
- readonly name: "--outcome";
15067
- readonly value: "<name>";
15068
- readonly required: false;
15069
- readonly description: "Ends a profile step with one of its declared outcomes (implies --state done). Refused with --question, or with --state other than done (ERR_REPORT_OUTCOME_STATE).";
15070
14693
  }];
15071
- readonly examples: readonly ["runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md --json", "runpane report --outcome \"plan ready\" --summary-file status.json", "runpane report --state blocked --question \"Should the migration drop the old column?\"", "runpane report --state blocked --question 'Q-3: Use the invoice id in the PDF filename?' --choices '[{\"label\":\"Invoice id\",\"detail\":\"Ids are stable\",\"recommended\":true},{\"label\":\"Invoice number\"}]' --summary 'Invoice PDFs'"];
14694
+ readonly examples: readonly ["runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md --json", "runpane report --state blocked --question \"Should the migration drop the old column?\"", "runpane report --state blocked --question 'Q-3: Use the invoice id in the PDF filename?' --choices '[{\"label\":\"Invoice id\",\"detail\":\"Ids are stable\",\"recommended\":true},{\"label\":\"Invoice number\"}]' --summary 'Invoice PDFs'"];
15072
14695
  readonly jsonSchemas: readonly ["reportResult"];
15073
- readonly notes: readonly ["Inside a Pane terminal the report is for the current panel (PANE_SESSION_ID and PANE_PANEL_ID). Explicit --panel (with an optional --pane) wins; with neither, the command fails with a clear error.", "Each report replaces the panel's previous one and survives a Pane restart.", "agent.report is in the default kinds of `runpane watch --follow` and `--until-event`, and arrives from any panel, a shell tab included. REPORT lines skip the --min-interval batch.", "The output says who received it: \"Delivered to N waiting watcher(s).\" counts watches waiting at that moment (liveWatchers in JSON). With no Session and nobody waiting it adds that the report is stored on the panel (runpane agents status --panel <id>) and that a named-cursor watch (runpane watch --as <name> --kinds agent.report) still receives it when it next waits. Zero is not a failure; the exit code is 0 either way.", "With --state blocked and --question, the person sees an answerable card at once; it rings once the orchestrator relays it or after 10 minutes. The answer reaches this tab as `answer: Q-n → <answer> (by you)`. `closed: Q-n (by you)` and `correction: Q-n → <answer> (by you)` lines are the person's word too.", "A blocked report's buttons come from --choices or --questions first, then from the `needs_you` block of the status file passed as --summary-file. Invalid --choices or --questions JSON fails with ERR_NOTIFY_INVALID, as notify does. A --question that ends with an option list in brackets (\"(A / B)\" or \"(A (recommended) / B)\") and has no options from either source is refused with ERR_REPORT_PACKED_OPTIONS and nothing is shown; a question with no option list is accepted as an open question. A bracketed unit with a spaced slash (\"(requests / second)\") reads as an option list too; when the question asks for a value, word the unit as prose (\"in requests per second\") or drop the spaces (\"(requests/second)\").", "`--outcome <name>` ends one step of a Pane profile workflow by naming which of the step's declared outcomes happened, such as `runpane report --outcome \"plan ready\" --summary-file status.json`. It sends `state: done` with `outcome`; --state is optional and may only be done (else ERR_REPORT_OUTCOME_STATE), and --question is refused (ERR_REPORT_OUTCOME_QUESTION). Pane checks the outcome against the step the panel runs and refuses one the step does not declare, listing the allowed outcomes."];
14696
+ readonly notes: readonly ["Inside a Pane terminal the report is for the current panel (PANE_SESSION_ID and PANE_PANEL_ID). Explicit --panel (with an optional --pane) wins; with neither, the command fails with a clear error.", "Each report replaces the panel's previous one and survives a Pane restart.", "agent.report is in the default kinds of `runpane watch --follow` and `--until-event`, and arrives from any panel, a shell tab included. REPORT lines skip the --min-interval batch.", "The output says who received it: \"Delivered to N waiting watcher(s).\" counts watches waiting at that moment (liveWatchers in JSON). With no Session and nobody waiting it adds that the report is stored on the panel (runpane agents status --panel <id>) and that a named-cursor watch (runpane watch --as <name> --kinds agent.report) still receives it when it next waits. Zero is not a failure; the exit code is 0 either way.", "With --state blocked and --question, the person sees an answerable card at once; it rings once the orchestrator relays it or after 10 minutes. The answer reaches this tab as `answer: Q-n → <answer> (by you)`. `closed: Q-n (by you)` and `correction: Q-n → <answer> (by you)` lines are the person's word too.", "A blocked report's buttons come from --choices or --questions first, then from the `needs_you` block of the status file passed as --summary-file. Invalid --choices or --questions JSON fails with ERR_NOTIFY_INVALID, as notify does. A --question that ends with an option list in brackets (\"(A / B)\" or \"(A (recommended) / B)\") and has no options from either source is refused with ERR_REPORT_PACKED_OPTIONS and nothing is shown; a question with no option list is accepted as an open question. A bracketed unit with a spaced slash (\"(requests / second)\") reads as an option list too; when the question asks for a value, word the unit as prose (\"in requests per second\") or drop the spaces (\"(requests/second)\")."];
15074
14697
  };
15075
14698
  readonly "sessions list": {
15076
14699
  readonly name: "sessions list";
@@ -16146,146 +15769,6 @@ declare const CONTRACT_SECTION_17: {
16146
15769
  readonly jsonSchemas: readonly ["loopDeleteResult"];
16147
15770
  readonly notes: readonly [];
16148
15771
  };
16149
- readonly "profiles list": {
16150
- readonly name: "profiles list";
16151
- readonly summary: "List the profiles in Pane's library: name, version, origin, on or off, and whether each can launch.";
16152
- readonly details: "Lists every profile in Pane's library: name, version, title, origin (bundled with Pane, or yours in <PANE_DIR>/profiles), file, enabled, valid, launchable (valid and has a workflow), teamOnly (a team with no workflow), errors ({code, message, fix, step?, outcome?}) and the normalized profile. agentFarm is the state of the Agent Farm bundled in Pane; ownAgentFarm lists the person's own Agent Farm profiles when one is installed.";
16153
- readonly requiresPaneDaemon: true;
16154
- readonly mutates: false;
16155
- readonly arguments: readonly [{
16156
- readonly name: "--json";
16157
- readonly required: false;
16158
- readonly description: "Print machine-readable output.";
16159
- }, {
16160
- readonly name: "--pane-dir";
16161
- readonly value: "<path>";
16162
- readonly required: false;
16163
- readonly description: "Connect to a specific Pane data directory.";
16164
- }];
16165
- readonly examples: readonly ["runpane profiles list --json"];
16166
- readonly jsonSchemas: readonly ["profileListResult"];
16167
- readonly notes: readonly ["Launch a profile whose launchable is true with `runpane profiles launch <name> --prompt <text> --yes`; one with no flow, an invalid one, or any while Profiles is off is refused."];
16168
- };
16169
- readonly "profiles show": {
16170
- readonly name: "profiles show";
16171
- readonly summary: "Show one profile: its agents, its workflow's steps and outcomes, its errors, and its file.";
16172
- readonly details: "Returns the profile as `profiles list` does, plus `yaml`, its file's text. The normalized profile names its agents ({id, runs, cli, model?, reads, skills}) and its flow: start, and steps that are agent steps (agent, goal, outcomes), command steps (run, outcomes) or asks (ask, choices, next?). Each outcome or choice is {name, to}, where to is a step id or end.";
16173
- readonly requiresPaneDaemon: true;
16174
- readonly mutates: false;
16175
- readonly arguments: readonly [{
16176
- readonly name: "<name>";
16177
- readonly required: true;
16178
- readonly description: "The profile's name, from `runpane profiles list`.";
16179
- }, {
16180
- readonly name: "--yaml";
16181
- readonly required: false;
16182
- readonly description: "Print the profile's file text only (CLI only).";
16183
- }, {
16184
- readonly name: "--json";
16185
- readonly required: false;
16186
- readonly description: "Print machine-readable output.";
16187
- }, {
16188
- readonly name: "--pane-dir";
16189
- readonly value: "<path>";
16190
- readonly required: false;
16191
- readonly description: "Connect to a specific Pane data directory.";
16192
- }];
16193
- readonly examples: readonly ["runpane profiles show greenfield --json", "runpane profiles show greenfield --yaml"];
16194
- readonly jsonSchemas: readonly ["profileShowResult"];
16195
- readonly notes: readonly ["A name not in the library fails with PROFILE_NOT_FOUND; see names with `runpane profiles list`."];
16196
- };
16197
- readonly "profiles launch": {
16198
- readonly name: "profiles launch";
16199
- readonly summary: "Launch a profile: Pane runs its workflow step by step, the first step in a new Pane of a Session.";
16200
- readonly details: "Starts a run of the profile: Pane makes (or joins) a Session, opens the first step as a tab in a new Pane of the repo, and follows the workflow from there. Each agent step ends when its agent runs `runpane report --outcome \"<outcome>\"` with one of the step's declared outcomes, a command step when its tab exits, and an ask when the person answers its card. Returns the run: id, sessionId, paneId, state, step and wait.";
16201
- readonly requiresPaneDaemon: true;
16202
- readonly mutates: true;
16203
- readonly arguments: readonly [{
16204
- readonly name: "<name>";
16205
- readonly required: true;
16206
- readonly description: "The profile's name, from `runpane profiles list`.";
16207
- }, {
16208
- readonly name: "--prompt";
16209
- readonly value: "<text>";
16210
- readonly required: true;
16211
- readonly description: "What the person wants done: the first agent step's request.";
16212
- }, {
16213
- readonly name: "--repo";
16214
- readonly value: "<selector>";
16215
- readonly required: false;
16216
- readonly description: "Repository: active, id, exact path, or saved name. Defaults to the repo of the Pane the caller runs in, else the active repo.";
16217
- }, {
16218
- readonly name: "--session";
16219
- readonly value: "<id|name>";
16220
- readonly required: false;
16221
- readonly description: "An existing Session to run in. Defaults to the caller's orchestrated Session (PANE_ORCHESTRATION_SESSION_ID); otherwise Pane makes a new Session.";
16222
- }, {
16223
- readonly name: "--harness";
16224
- readonly value: "<cli[/model]>";
16225
- readonly required: false;
16226
- readonly description: "One CLI (`cli` or `cli/model`) for every agent, over the file's runs.";
16227
- }, {
16228
- readonly name: "--agent-harness";
16229
- readonly value: "<agent>=<cli[/model]>";
16230
- readonly required: false;
16231
- readonly description: "Agent id → the CLI (`cli` or `cli/model`) that agent runs, over the file's runs and --harness.";
16232
- readonly schema: {
16233
- readonly type: "object";
16234
- readonly additionalProperties: {
16235
- readonly type: "string";
16236
- readonly minLength: 1;
16237
- };
16238
- };
16239
- }, {
16240
- readonly name: "--command";
16241
- readonly value: "<cli>=<command>";
16242
- readonly required: false;
16243
- readonly description: "A CLI Pane doesn't know → the command that starts it.";
16244
- readonly schema: {
16245
- readonly type: "object";
16246
- readonly additionalProperties: {
16247
- readonly type: "string";
16248
- readonly minLength: 1;
16249
- };
16250
- };
16251
- }, {
16252
- readonly name: "--yes";
16253
- readonly required: true;
16254
- readonly description: "Confirm the launch.";
16255
- }, {
16256
- readonly name: "--json";
16257
- readonly required: false;
16258
- readonly description: "Print machine-readable output.";
16259
- }, {
16260
- readonly name: "--pane-dir";
16261
- readonly value: "<path>";
16262
- readonly required: false;
16263
- readonly description: "Connect to a specific Pane data directory.";
16264
- }];
16265
- readonly examples: readonly ["runpane profiles launch greenfield --prompt \"Add dark mode to settings\" --yes --json", "runpane profiles launch greenfield --prompt \"Fix the flaky test\" --repo active --agent-harness planner=claude/opus --agent-harness implementer=codex --yes --json"];
16266
- readonly jsonSchemas: readonly ["profileLaunchRequest", "profileLaunchResult"];
16267
- readonly notes: readonly ["A launch without --prompt fails with ERR_PROFILES_PROMPT_REQUIRED and starts nothing.", "Pane refuses a profile it cannot launch: PROFILE_NOT_FOUND (no such profile), PROFILES_OFF (Profiles is off in Settings › Advanced), PROFILE_TEAM_ONLY (no flow) or PROFILE_NOT_LAUNCHABLE (invalid, or off); the error's next says what to do.", "A --harness or --agent-harness CLI that Pane doesn't know needs --command <cli>=<command that starts it>; without one the launch fails with PROFILE_CLI_UNKNOWN and starts nothing.", "Follow the run with `runpane profiles runs --json`; its steps are tabs in the run's Pane (`runpane agents status --pane <paneId>`)."];
16268
- };
16269
- readonly "profiles runs": {
16270
- readonly name: "profiles runs";
16271
- readonly summary: "List profile runs: each run's profile, state and current step.";
16272
- readonly details: "Lists every profile run Pane knows: id, profile and profileVersion, sessionId, repoId, paneId, prompt, state (running, asking, paused, ended or failed), step (the current one, or the last once ended), wait (a step's tab, a card, or none), history of finished steps, and error when it failed.";
16273
- readonly requiresPaneDaemon: true;
16274
- readonly mutates: false;
16275
- readonly arguments: readonly [{
16276
- readonly name: "--json";
16277
- readonly required: false;
16278
- readonly description: "Print machine-readable output.";
16279
- }, {
16280
- readonly name: "--pane-dir";
16281
- readonly value: "<path>";
16282
- readonly required: false;
16283
- readonly description: "Connect to a specific Pane data directory.";
16284
- }];
16285
- readonly examples: readonly ["runpane profiles runs --json"];
16286
- readonly jsonSchemas: readonly ["profileRunsResult"];
16287
- readonly notes: readonly ["A run waits on a step's tab (wait.kind step, with its panelId), a card for the person (wait.kind card), or nothing once it has ended. Read a step's agent with `runpane agents status --panel <panelId>`."];
16288
- };
16289
15772
  readonly notify: {
16290
15773
  readonly name: "notify";
16291
15774
  readonly summary: "Ask the person a question, or tell them something, wherever they are, and get their answer back.";
@@ -18203,7 +17686,7 @@ declare const CONTRACT_SECTION_17: {
18203
17686
  readonly notes: readonly [];
18204
17687
  };
18205
17688
  };
18206
- readonly managedBlock: readonly ["## Pane", "", "To-dos: `runpane todos` (or the `todos_*` MCP tools) is a work list Pane keeps moving. Attach every plan, mock-up, design, PR, findings file and decision page you produce or rely on, as soon as it exists, with `runpane todos attach <T-n> <file|url>`; ask questions about a to-do with `--todo <T-n>`; to check back later (after a deploy, or for a reply), snooze it with `runpane todos snooze <T-n> --until <time> --note <text>` instead of waiting in a turn; `runpane docs read --doc docs/TODOS.md` has the rest.", "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. For a secret from 1Password, call `secrets_lease` (or `runpane secrets lease`) and wait; on `SECRET_LEASE_ENDED`, run the next step it names.", "", "To free disk or memory, run `runpane machine health` and delete only with `runpane machine cleanup` (a dry run until `--yes`), never `rm`. Put QA roots and test instances in the Pane's scratch folder (`$PANE_SCRATCH_DIR`).", "", "Loops: before `runpane loops create` or `loops update`, read its `--help`. A loop runs while the person is away, so it reaches them only through cards that wait, keeps a ledger so it never repeats itself, and keeps its prompt in a file.", "Profiles: a profile is a team of agents and a fixed workflow in one file. Once Profiles is on (Settings › Advanced › Profiles), `runpane profiles list` shows them, `profiles launch <name> --prompt <text> --yes` runs one (Pane opens each step as a tab), and an agent in a profile step ends it with `\"$PANE_RUNPANE_BIN\" report --outcome \"<outcome>\"`, using one of the outcomes its first message lists.", "", "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.", "", "Browser work in Pane: for any work in a web page (opening it, reading a signed-in page, clicking, typing, screenshots, checking your own change), use Pane's browser tools, browser_* or runpane browser. They drive Pane's browser, which is shared with the person and signed in as them. Use another browser tool (Claude in Chrome, Playwright MCP, a Playwright or Puppeteer script, curl on a page that needs sign-in) only when browser_* is unavailable, when it fails twice on the same step, or when the person names that tool. Public pages you only need to read may use web fetch.", "", "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."];
17689
+ readonly managedBlock: readonly ["## Pane", "", "To-dos: `runpane todos` (or the `todos_*` MCP tools) is a work list Pane keeps moving. Attach every plan, mock-up, design, PR, findings file and decision page you produce or rely on, as soon as it exists, with `runpane todos attach <T-n> <file|url>`; ask questions about a to-do with `--todo <T-n>`; to check back later (after a deploy, or for a reply), snooze it with `runpane todos snooze <T-n> --until <time> --note <text>` instead of waiting in a turn; `runpane docs read --doc docs/TODOS.md` has the rest.", "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. For a secret from 1Password, call `secrets_lease` (or `runpane secrets lease`) and wait; on `SECRET_LEASE_ENDED`, run the next step it names.", "", "To free disk or memory, run `runpane machine health` and delete only with `runpane machine cleanup` (a dry run until `--yes`), never `rm`. Put QA roots and test instances in the Pane's scratch folder (`$PANE_SCRATCH_DIR`).", "", "Loops: before `runpane loops create` or `loops update`, read its `--help`. A loop runs while the person is away, so it reaches them only through cards that wait, keeps a ledger so it never repeats itself, and keeps its prompt in a file.", "", "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.", "", "Browser work in Pane: for any work in a web page (opening it, reading a signed-in page, clicking, typing, screenshots, checking your own change), use Pane's browser tools, browser_* or runpane browser. They drive Pane's browser, which is shared with the person and signed in as them. Use another browser tool (Claude in Chrome, Playwright MCP, a Playwright or Puppeteer script, curl on a page that needs sign-in) only when browser_* is unavailable, when it fails twice on the same step, or when the person names that tool. Public pages you only need to read may use web fetch.", "", "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."];
18207
17690
  readonly notifyGuidance: {
18208
17691
  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>\"` (its buttons in `--choices` or `--questions`, as notify takes them). `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`.", "For a secret from 1Password, call `secrets_lease` (or `runpane secrets lease`) and wait for the person to approve it. On `SECRET_LEASE_ENDED`, run the next step it names."];
18209
17692
  };