runpane 2.4.213 → 2.4.215
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.
- package/README.md +14 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +22 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts +17 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +66 -5
- package/dist/commands.js.map +1 -1
- package/dist/docs-index.json +1 -1
- package/dist/generated/contract.d.ts +1609 -235
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +2798 -301
- package/dist/generated/contract.js.map +1 -1
- package/dist/localControl.d.ts +37 -3
- package/dist/localControl.d.ts.map +1 -1
- package/dist/localControl.js +304 -7
- package/dist/localControl.js.map +1 -1
- package/dist/notify.d.ts +71 -0
- package/dist/notify.d.ts.map +1 -1
- package/dist/notify.js +19 -10
- package/dist/notify.js.map +1 -1
- package/dist/secrets.d.ts +12 -0
- package/dist/secrets.d.ts.map +1 -0
- package/dist/secrets.js +296 -0
- package/dist/secrets.js.map +1 -0
- package/dist/sessionPayload.d.ts +2 -2
- package/dist/sessionPayload.js +1 -1
- package/dist/sessionPayload.js.map +1 -1
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +13 -0
- package/dist/telemetry.js.map +1 -1
- package/dist/watchLines.d.ts.map +1 -1
- package/dist/watchLines.js +2 -0
- package/dist/watchLines.js.map +1 -1
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
25
25
|
readonly watch: {
|
|
26
26
|
readonly follow: {
|
|
27
27
|
readonly summary: "What `runpane watch --follow` does with no other flags: quiet, batched updates and expiry after 3 hours with nothing happening. Individual duration flags override the defaults.";
|
|
28
|
-
readonly kinds: readonly ["agent.report", "agent.ready", "agent.blocked", "agent.idle", "panel.exited", "panel.stopped", "pane.gone", "pane.associated", "pane.detached", "pr.conflicted", "pr.checks", "pr.merged", "pr.closed", "pr.head", "pr.base_changed", "pr.base_deleted", "pr.review", "pr.comment", "pr.stopped", "github.unavailable", "github.recovered"];
|
|
28
|
+
readonly kinds: readonly ["agent.report", "agent.ready", "agent.blocked", "agent.idle", "panel.exited", "panel.stopped", "panel.paused", "panel.unpaused", "pane.gone", "pane.associated", "pane.detached", "pr.conflicted", "pr.checks", "pr.merged", "pr.closed", "pr.head", "pr.base_changed", "pr.base_deleted", "pr.review", "pr.comment", "pr.stopped", "github.unavailable", "github.recovered"];
|
|
29
29
|
readonly readySettle: "3m";
|
|
30
30
|
readonly blockedSettle: "30s";
|
|
31
31
|
readonly minInterval: "10m";
|
|
@@ -166,6 +166,22 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
166
166
|
readonly toolsets: readonly ["core", "repos"];
|
|
167
167
|
readonly jsonSchemas: readonly ["repoAddRequest", "repoAddResult"];
|
|
168
168
|
readonly localControl: true;
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "repos get";
|
|
171
|
+
readonly summary: "Show a saved repository's Project Settings and the scripts Pane will run.";
|
|
172
|
+
readonly usage: readonly ["runpane repos get [--repo <selector>] [--json] [--pane-dir <path>]"];
|
|
173
|
+
readonly toolsets: readonly ["repos"];
|
|
174
|
+
readonly jsonSchemas: readonly ["repoGetRequest", "repoGetResult"];
|
|
175
|
+
readonly localControl: true;
|
|
176
|
+
}, {
|
|
177
|
+
readonly name: "repos update";
|
|
178
|
+
readonly summary: "Change a saved repository's Project Settings: scripts, worktree folder, name, IDE command, system prompt, and environment variables.";
|
|
179
|
+
readonly usage: readonly ["runpane repos update --repo <selector> [--name <name>] [--build-script <script>] [--run-script <script>] [--archive-script <script>] [--worktree-folder <path>] [--open-ide-command <command>] [--system-prompt <text>] [--env <json>] [--env-remove <name,...>] [--clear <setting,...>] [--from-json <path|->] --yes [--dry-run] [--json] [--pane-dir <path>]"];
|
|
180
|
+
readonly mutates: true;
|
|
181
|
+
readonly idempotent: true;
|
|
182
|
+
readonly toolsets: readonly ["repos"];
|
|
183
|
+
readonly jsonSchemas: readonly ["repoUpdateRequest", "repoUpdateResult"];
|
|
184
|
+
readonly localControl: true;
|
|
169
185
|
}, {
|
|
170
186
|
readonly name: "repos rename";
|
|
171
187
|
readonly summary: "Rename a repository saved in the running Pane app.";
|
|
@@ -175,6 +191,42 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
175
191
|
readonly toolsets: readonly ["core", "repos"];
|
|
176
192
|
readonly jsonSchemas: readonly ["repoRenameRequest", "repoRenameResult"];
|
|
177
193
|
readonly localControl: true;
|
|
194
|
+
}, {
|
|
195
|
+
readonly name: "secrets list";
|
|
196
|
+
readonly summary: "List the Pane secrets on this machine: project, name, and when and where each was set. Never shows a value.";
|
|
197
|
+
readonly usage: readonly ["runpane secrets list [--project <project>] [--json] [--pane-dir <path>]"];
|
|
198
|
+
readonly toolsets: readonly ["secrets"];
|
|
199
|
+
readonly jsonSchemas: readonly ["secretListRequest", "secretListResult"];
|
|
200
|
+
readonly localControl: true;
|
|
201
|
+
}, {
|
|
202
|
+
readonly name: "secrets set";
|
|
203
|
+
readonly summary: "Save a Pane secret, adding or replacing it. Reads the value from stdin.";
|
|
204
|
+
readonly usage: readonly ["runpane secrets set --project <project> --name <name> --yes [--json] [--pane-dir <path>]"];
|
|
205
|
+
readonly mutates: true;
|
|
206
|
+
readonly idempotent: true;
|
|
207
|
+
readonly localControl: true;
|
|
208
|
+
}, {
|
|
209
|
+
readonly name: "secrets delete";
|
|
210
|
+
readonly summary: "Delete a Pane secret from this machine and, through sync, from your other machines.";
|
|
211
|
+
readonly usage: readonly ["runpane secrets delete --project <project> --name <name> --yes [--json] [--pane-dir <path>]"];
|
|
212
|
+
readonly mutates: true;
|
|
213
|
+
readonly toolsets: readonly ["secrets"];
|
|
214
|
+
readonly jsonSchemas: readonly ["secretDeleteRequest", "secretDeleteResult"];
|
|
215
|
+
readonly localControl: true;
|
|
216
|
+
}, {
|
|
217
|
+
readonly name: "secrets exec";
|
|
218
|
+
readonly summary: "Run a command with Pane secrets in its environment. Nothing prints a value.";
|
|
219
|
+
readonly usage: readonly ["runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>]... [--file <name>]... [--pane-dir <path>] -- <command>..."];
|
|
220
|
+
readonly localControl: true;
|
|
221
|
+
}, {
|
|
222
|
+
readonly name: "secrets request";
|
|
223
|
+
readonly summary: "Ask the person for a secret on a masked card. Pane saves what they type as a Pane secret and never returns it.";
|
|
224
|
+
readonly usage: readonly ["runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json] [--pane-dir <path>]"];
|
|
225
|
+
readonly mutates: true;
|
|
226
|
+
readonly additive: true;
|
|
227
|
+
readonly toolsets: readonly ["core"];
|
|
228
|
+
readonly jsonSchemas: readonly ["notifyRequest", "notifyResult"];
|
|
229
|
+
readonly localControl: true;
|
|
178
230
|
}, {
|
|
179
231
|
readonly name: "panes list";
|
|
180
232
|
readonly summary: "List Pane sessions in a saved repository.";
|
|
@@ -306,6 +358,25 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
306
358
|
readonly toolsets: readonly ["panes"];
|
|
307
359
|
readonly jsonSchemas: readonly ["panePinRequest", "panePinResult"];
|
|
308
360
|
readonly localControl: true;
|
|
361
|
+
}, {
|
|
362
|
+
readonly name: "panes pause";
|
|
363
|
+
readonly summary: "Pause a Pane: stop every terminal tab and keep their conversations until the Pane is resumed.";
|
|
364
|
+
readonly usage: readonly ["runpane panes pause --pane <pane-id> --yes [--json] [--pane-dir <path>]"];
|
|
365
|
+
readonly mutates: true;
|
|
366
|
+
readonly idempotent: true;
|
|
367
|
+
readonly toolsets: readonly ["panes"];
|
|
368
|
+
readonly jsonSchemas: readonly ["pauseResult"];
|
|
369
|
+
readonly localControl: true;
|
|
370
|
+
}, {
|
|
371
|
+
readonly name: "panes resume";
|
|
372
|
+
readonly summary: "Resume a paused Pane: restart its paused tabs in their saved conversations.";
|
|
373
|
+
readonly usage: readonly ["runpane panes resume --pane <pane-id> --yes [--json] [--pane-dir <path>]"];
|
|
374
|
+
readonly mutates: true;
|
|
375
|
+
readonly additive: true;
|
|
376
|
+
readonly idempotent: true;
|
|
377
|
+
readonly toolsets: readonly ["panes"];
|
|
378
|
+
readonly jsonSchemas: readonly ["pauseResult"];
|
|
379
|
+
readonly localControl: true;
|
|
309
380
|
}, {
|
|
310
381
|
readonly name: "panes rename";
|
|
311
382
|
readonly summary: "Rename a Pane without changing its worktree, branch, panels, or focus.";
|
|
@@ -404,6 +475,23 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
404
475
|
readonly toolsets: readonly ["panels"];
|
|
405
476
|
readonly jsonSchemas: readonly ["panelResumeResult", "panelResumeManyResult"];
|
|
406
477
|
readonly localControl: true;
|
|
478
|
+
}, {
|
|
479
|
+
readonly name: "panels close";
|
|
480
|
+
readonly summary: "Close a tab in a Pane, stopping its process, as closing the tab in the app does.";
|
|
481
|
+
readonly usage: readonly ["runpane panels close --panel <panel-id> --yes [--json] [--pane-dir <path>]"];
|
|
482
|
+
readonly mutates: true;
|
|
483
|
+
readonly toolsets: readonly ["panels"];
|
|
484
|
+
readonly jsonSchemas: readonly ["panelCloseRequest", "panelCloseResult"];
|
|
485
|
+
readonly localControl: true;
|
|
486
|
+
}, {
|
|
487
|
+
readonly name: "panels pause";
|
|
488
|
+
readonly summary: "Pause a terminal tab: stop its process and keep its agent's conversation until it is resumed.";
|
|
489
|
+
readonly usage: readonly ["runpane panels pause --panel <panel-id> --yes [--json] [--pane-dir <path>]"];
|
|
490
|
+
readonly mutates: true;
|
|
491
|
+
readonly idempotent: true;
|
|
492
|
+
readonly toolsets: readonly ["panels"];
|
|
493
|
+
readonly jsonSchemas: readonly ["pauseResult"];
|
|
494
|
+
readonly localControl: true;
|
|
407
495
|
}, {
|
|
408
496
|
readonly name: "panels last-message";
|
|
409
497
|
readonly summary: "Read an agent's last reply from its transcript, without scraping the screen.";
|
|
@@ -747,7 +835,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
747
835
|
}, {
|
|
748
836
|
readonly name: "sessions set-agent";
|
|
749
837
|
readonly summary: "Switch the durable terminal agent for a named Session.";
|
|
750
|
-
readonly usage: readonly ["runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor> [--json] [--pane-dir <path>]"];
|
|
838
|
+
readonly usage: readonly ["runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode> [--json] [--pane-dir <path>]"];
|
|
751
839
|
readonly mutates: true;
|
|
752
840
|
readonly idempotent: true;
|
|
753
841
|
readonly toolsets: readonly ["sessions"];
|
|
@@ -823,6 +911,25 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
823
911
|
readonly toolsets: readonly ["core", "sessions"];
|
|
824
912
|
readonly jsonSchemas: readonly ["sessionResult"];
|
|
825
913
|
readonly localControl: true;
|
|
914
|
+
}, {
|
|
915
|
+
readonly name: "sessions pause";
|
|
916
|
+
readonly summary: "Pause a Session: stop its chat and the tabs of every Pane in it, keeping their conversations.";
|
|
917
|
+
readonly usage: readonly ["runpane sessions pause --session <id|name> [--json] [--pane-dir <path>]"];
|
|
918
|
+
readonly mutates: true;
|
|
919
|
+
readonly idempotent: true;
|
|
920
|
+
readonly toolsets: readonly ["sessions"];
|
|
921
|
+
readonly jsonSchemas: readonly ["pauseResult"];
|
|
922
|
+
readonly localControl: true;
|
|
923
|
+
}, {
|
|
924
|
+
readonly name: "sessions resume";
|
|
925
|
+
readonly summary: "Resume a paused Session: restart its chat and the paused tabs of its Panes.";
|
|
926
|
+
readonly usage: readonly ["runpane sessions resume --session <id|name> [--json] [--pane-dir <path>]"];
|
|
927
|
+
readonly mutates: true;
|
|
928
|
+
readonly additive: true;
|
|
929
|
+
readonly idempotent: true;
|
|
930
|
+
readonly toolsets: readonly ["sessions"];
|
|
931
|
+
readonly jsonSchemas: readonly ["pauseResult"];
|
|
932
|
+
readonly localControl: true;
|
|
826
933
|
}, {
|
|
827
934
|
readonly name: "pr watch";
|
|
828
935
|
readonly summary: "Register durable GitHub PR monitoring for a Pane.";
|
|
@@ -1241,6 +1348,54 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1241
1348
|
readonly name: "--effort";
|
|
1242
1349
|
readonly value: "<level>";
|
|
1243
1350
|
readonly description: "Reasoning effort for the receiving agent (minimal, low, medium, high, xhigh, max); overrides the destination text.";
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly name: "--build-script";
|
|
1353
|
+
readonly value: "<script>";
|
|
1354
|
+
readonly description: "Project Settings build (setup) script; runs in each new worktree. Newline-separated commands.";
|
|
1355
|
+
}, {
|
|
1356
|
+
readonly name: "--run-script";
|
|
1357
|
+
readonly value: "<script>";
|
|
1358
|
+
readonly description: "Project Settings run script; runs on the Play button. Newline-separated commands.";
|
|
1359
|
+
}, {
|
|
1360
|
+
readonly name: "--archive-script";
|
|
1361
|
+
readonly value: "<script>";
|
|
1362
|
+
readonly description: "Project Settings archive script; runs before a worktree is removed. Newline-separated commands.";
|
|
1363
|
+
}, {
|
|
1364
|
+
readonly name: "--worktree-folder";
|
|
1365
|
+
readonly value: "<path>";
|
|
1366
|
+
readonly description: "Folder new worktrees go in: absolute, or relative to the repository. Defaults to worktrees/ in the repository.";
|
|
1367
|
+
}, {
|
|
1368
|
+
readonly name: "--open-ide-command";
|
|
1369
|
+
readonly value: "<command>";
|
|
1370
|
+
readonly description: "Command the Open in IDE button runs in a worktree.";
|
|
1371
|
+
}, {
|
|
1372
|
+
readonly name: "--system-prompt";
|
|
1373
|
+
readonly value: "<text>";
|
|
1374
|
+
readonly description: "Project system prompt.";
|
|
1375
|
+
}, {
|
|
1376
|
+
readonly name: "--clear";
|
|
1377
|
+
readonly value: "<setting,...>";
|
|
1378
|
+
readonly description: "Settings to clear, comma-separated: build-script, run-script, archive-script, worktree-folder, open-ide-command, system-prompt.";
|
|
1379
|
+
}, {
|
|
1380
|
+
readonly name: "--env";
|
|
1381
|
+
readonly value: "<VAR=NAME|json>";
|
|
1382
|
+
readonly description: "secrets exec: inject secret NAME as VAR; repeatable. repos update: a JSON array of project variables to add or replace by key.";
|
|
1383
|
+
}, {
|
|
1384
|
+
readonly name: "--env-remove";
|
|
1385
|
+
readonly value: "<name,...>";
|
|
1386
|
+
readonly description: "Project variables to remove, comma-separated.";
|
|
1387
|
+
}, {
|
|
1388
|
+
readonly name: "--project";
|
|
1389
|
+
readonly value: "<project>";
|
|
1390
|
+
readonly description: "Pane secret project: up to 64 letters, digits, \".\", \"_\" or \"-\".";
|
|
1391
|
+
}, {
|
|
1392
|
+
readonly name: "--only";
|
|
1393
|
+
readonly value: "<name,...>";
|
|
1394
|
+
readonly description: "Secrets to inject, comma-separated. Defaults to every secret in the project.";
|
|
1395
|
+
}, {
|
|
1396
|
+
readonly name: "--reason";
|
|
1397
|
+
readonly value: "<text>";
|
|
1398
|
+
readonly description: "Why you need the secret; shown on the card.";
|
|
1244
1399
|
}, {
|
|
1245
1400
|
readonly name: "--epoch";
|
|
1246
1401
|
readonly value: "<epoch>";
|
|
@@ -1307,7 +1462,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1307
1462
|
readonly description: "Inside a Session orchestrator, do not associate the created pane with that Session.";
|
|
1308
1463
|
}, {
|
|
1309
1464
|
readonly name: "--force";
|
|
1310
|
-
readonly description: "Archive even if the pane's branch has uncommitted, untracked, or unpushed changes; for lock release, release another owner's lock.";
|
|
1465
|
+
readonly description: "Archive even if the pane's branch has uncommitted, untracked, or unpushed changes, one of its agents is mid-turn, or a tab holds unsent input; for lock release, release another owner's lock.";
|
|
1311
1466
|
}, {
|
|
1312
1467
|
readonly name: "--remove-worktree";
|
|
1313
1468
|
readonly description: "Also check and remove an adopted Pane's worktree when archiving it. The local branch is kept.";
|
|
@@ -1381,7 +1536,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1381
1536
|
};
|
|
1382
1537
|
readonly help: {
|
|
1383
1538
|
readonly npm: {
|
|
1384
|
-
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 agents doctor --agent <codex|claude|cursor> [--repo <selector>] [--json]", " runpane repos list [--json]", " runpane repos add --path <path> [--name <name>]", " runpane repos rename --repo <selector> --name <name>", " 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> [--json] [--pane-dir <path>]", " runpane sessions associate --session <id|name> --pane <pane-id> [--json] [--pane-dir <path>]", " runpane sessions detach --session <id|name> [--pane <pane-id>] [--json] [--pane-dir <path>]", " runpane sessions overview --session <id|name> [--json] [--pane-dir <path>]", " runpane lock acquire --name <name> --ttl <duration> [--wait <milliseconds>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock release --name <name> [--force] [--session <id|name>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock list [--session <id|name>] [--json] [--pane-dir <path>]", " runpane loops list [--json]", " runpane loops create (--repo <selector>|--session <id|name|new>) --name <name> --cron <expr> (--agent <claude|codex|cursor>|--tool-command <command>) [--prompt <text>] --yes", " runpane loops update|run|pause|resume|delete --loop <id> --yes", " runpane panes list [--repo <selector>] [--json]", " runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]", " runpane workspace state [--repo <selector>] [--json]", " runpane workspace list [--json]", " runpane workspace <machine> read|write|exec|<command>", " runpane watch --follow", " runpane watch --until-event", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [--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 [--remove-worktree] [--dry-run] --yes", " runpane panels create --pane <pane-id> --agent <codex|claude|cursor> [--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 last-message --panel <panel-id> [--limit <count>] [--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>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]", " runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]", " runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]", " runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text>] [--json]", " runpane notify --ui <options|approve|ask|info> --title <text> [--choices <json>] [--resume <id>] [--json]", " runpane inbox [--session <id|name>] [--json]", " runpane inbox ack <item-id>... [--session <id|name>] [--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."];
|
|
1539
|
+
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 agents doctor --agent <codex|claude|cursor> [--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 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> [--json] [--pane-dir <path>]", " runpane sessions associate --session <id|name> --pane <pane-id> [--json] [--pane-dir <path>]", " runpane sessions detach --session <id|name> [--pane <pane-id>] [--json] [--pane-dir <path>]", " runpane sessions overview --session <id|name> [--json] [--pane-dir <path>]", " runpane lock acquire --name <name> --ttl <duration> [--wait <milliseconds>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock release --name <name> [--force] [--session <id|name>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock list [--session <id|name>] [--json] [--pane-dir <path>]", " runpane loops list [--json]", " runpane loops create (--repo <selector>|--session <id|name|new>) --name <name> --cron <expr> (--agent <claude|codex|cursor>|--tool-command <command>) [--prompt <text>] --yes", " runpane loops update|run|pause|resume|delete --loop <id> --yes", " runpane panes list [--repo <selector>] [--json]", " runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]", " runpane workspace state [--repo <selector>] [--json]", " runpane workspace list [--json]", " runpane workspace <machine> read|write|exec|<command>", " runpane watch --follow", " runpane watch --until-event", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [--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 [--remove-worktree] [--dry-run] --yes", " runpane panes pause|resume --pane <pane-id> --yes [--json]", " runpane panels create --pane <pane-id> --agent <codex|claude|cursor> [--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 close --panel <panel-id> --yes [--json]", " runpane panels pause --panel <panel-id> --yes [--json]", " runpane panels last-message --panel <panel-id> [--limit <count>] [--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>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]", " runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]", " runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]", " runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text>] [--json]", " runpane notify --ui <options|approve|ask|info> --title <text> [--choices <json>] [--resume <id>] [--json]", " runpane inbox [--session <id|name>] [--json]", " runpane inbox ack <item-id>... [--session <id|name>] [--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."];
|
|
1385
1540
|
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>"];
|
|
1386
1541
|
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"];
|
|
1387
1542
|
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."];
|
|
@@ -1390,21 +1545,29 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1390
1545
|
readonly "daemon repair": readonly ["Usage:", " runpane daemon repair [--pane-dir <path>] [--pane-path <path>] [--yes] [--json]", "", "Repairs and restarts only the managed remote-daemon launcher and service definition.", "", "Options:", " --pane-dir <path> Remote daemon data directory (default: ~/.pane_remote)", " --pane-path <path> Existing Pane executable used to perform repair", " --yes Skip the restart confirmation", " --json Print one machine-readable repair result"];
|
|
1391
1546
|
readonly "repos list": readonly ["Usage:", " runpane repos list [--json] [--pane-dir <path>]", "", "Lists repositories saved in the running Pane app.", "", "Options:", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
|
|
1392
1547
|
readonly "repos add": readonly ["Usage:", " runpane repos add --path <path> [--name <name>] [--json] [--yes]", "", "Registers an existing git repository with the running Pane app.", "", "Options:", " --path <path> Existing git repository path", " --name <name> Saved repository name; defaults to the directory name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Validate and preview without adding the repo", " --yes Skip confirmation for mutating commands"];
|
|
1548
|
+
readonly "repos get": readonly ["Usage:", " runpane repos get [--repo <selector>] [--json] [--pane-dir <path>]", "", "Shows a saved repository's Project Settings. For the build, run, and archive scripts it shows the saved value, the fallback from the repository's config file (pane.json, conductor.json, .gitpod.yml, or devcontainer.json), and which of the two Pane will run.", "", "Options:", " --repo <selector> active, id, exact path, or saved repository name; defaults to active", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
|
|
1549
|
+
readonly "repos update": readonly ["Usage:", " runpane repos update --repo <selector> [setting flags] [--clear <setting,...>] [--from-json <path|->] --yes [--dry-run] [--json]", "", "Changes a saved repository's Project Settings through the same save as the Project Settings dialog, so open Pane windows show the new values. Settings you do not pass keep their value. A cleared script falls back to the repository's config file.", "", "Options:", " --repo <selector> active, id, exact path, or saved repository name", " --name <name> Repository display name", " --build-script <script> Build (setup) script; runs in each new worktree", " --run-script <script> Run script; runs on the Play button", " --archive-script <script> Archive script; runs before a worktree is removed", " --worktree-folder <path> Folder for new worktrees, absolute or relative to the repository", " --open-ide-command <command> Command the Open in IDE button runs", " --system-prompt <text> Project system prompt", " --env <json> Project variables to add or replace, a JSON array: [{\"key\":\"API_URL\",\"source\":\"plain\",\"value\":\"https://...\"}, {\"key\":\"STRIPE_KEY\",\"source\":\"secret\",\"project\":\"stripe\",\"name\":\"STRIPE_SECRET_KEY\"}]", " --env-remove <name,...> Project variables to remove", " --clear <setting,...> Clear settings, e.g. run-script,archive-script; cleared scripts fall back to the repo's config file", " --from-json <path|-> Settings object: {\"runScript\": \"pnpm dev\", \"archiveScript\": null, \"envVars\": {\"set\": [...], \"remove\": [\"OLD\"]}, ...}; flags override it", " --dry-run Show the result without saving", " --yes Skip confirmation for mutating commands", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
|
|
1393
1550
|
readonly "repos rename": readonly ["Usage:", " runpane repos rename --repo <selector> --name <name> --yes [--json]", "", "Renames a saved repository. Only its display name changes; its path, Panes and settings stay as they are.", "", "Options:", " --repo <selector> Repository: active, id, exact path, or saved name", " --name <name> New non-empty repository name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --yes Skip confirmation for mutating commands"];
|
|
1394
|
-
readonly
|
|
1551
|
+
readonly secrets: readonly ["Usage:", " runpane secrets <list|set|delete|exec|request> [options]", "", "Pane secrets are named values, addressed as <project>/<NAME>, that every machine you saved in Pane keeps a copy of.", "Agents use them only through `runpane secrets exec`, which puts them in a command's environment. No command prints a value.", "Ask the person for a new one with `runpane secrets request`; they type it on a masked card.", "", "Commands:", " 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]", "", "A project is up to 64 letters, digits, \".\", \"_\" or \"-\". A name follows environment variable rules: letters, digits and underscores, not starting with a digit. PATH, WORKTREE_PATH and PANE_* are reserved."];
|
|
1552
|
+
readonly "secrets list": readonly ["Usage:", " runpane secrets list [--project <project>] [--json] [--pane-dir <path>]", "", "Lists the Pane secrets on this machine: project, name, when each was last set, and on which machine. It never shows a value.", "", "Options:", " --project <project> Only this project's secrets", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
|
|
1553
|
+
readonly "secrets set": readonly ["Usage:", " printf %s \"$VALUE\" | runpane secrets set --project <project> --name <name> --yes [--json]", "", "Saves the value on stdin as the Pane secret <project>/<name>, adding it or replacing the saved value. One trailing newline is dropped. Pane syncs it to your other machines.", "Agents should not set values they were given in chat. Ask the person with `runpane secrets request` instead.", "", "Options:", " --project <project> Secret project", " --name <name> Secret name, such as STRIPE_SECRET_KEY", " --yes Skip confirmation for mutating commands", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
|
|
1554
|
+
readonly "secrets delete": readonly ["Usage:", " runpane secrets delete --project <project> --name <name> --yes [--json]", "", "Deletes the Pane secret <project>/<name>. Your other machines delete it the next time they sync.", "", "Options:", " --project <project> Secret project", " --name <name> Secret name", " --yes Skip confirmation for mutating commands", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
|
|
1555
|
+
readonly "secrets exec": readonly ["Usage:", " runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>]... [--file <name>]... -- <command>...", "", "Runs the command with Pane secrets added to your environment, and exits with its exit code. Each secret is injected under its own name and overrides a variable of that name.", "With no --only, --env or --file, it injects every secret in the project.", "", "Options:", " --project <project> Secret project", " --only <name,...> Inject only these secrets", " --env <VAR=NAME> Inject secret NAME as VAR; repeatable", " --file <name> Write secret NAME to a private temp file and set NAME to its path; repeatable. The file is removed when the command exits", " --pane-dir <path> Connect to a specific Pane data directory", "", "Example:", " runpane secrets exec --project stripe --only STRIPE_SECRET_KEY -- pnpm test:webhooks"];
|
|
1556
|
+
readonly "secrets request": readonly ["Usage:", " runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]", "", "Asks the person for a secret on a masked Notify card. What they type is saved as the Pane secret <project>/<name>; you get back only \"saved\" or \"declined\". Then use it with `runpane secrets exec`.", "A waiting result means the card is still open: run `runpane notify --resume <id>` to keep waiting.", "", "Options:", " --project <project> Secret project", " --name <name> Secret name, such as STRIPE_SECRET_KEY", " --title <text> What the secret is, such as \"Stripe test secret key\"", " --reason <text> What you need it for", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
|
|
1557
|
+
readonly panes: readonly ["Pane session commands.", "", "Usage:", " runpane panes <command> [options]", "", "Commands:", " runpane panes list [--repo <selector>] [--json]", " runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [options]", " runpane panes archive --pane <pane-id> [--force] [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]", " runpane panes archive --session <id|name> --merged [--remove-worktree] [--dry-run] --yes [--json]", " runpane panes pin --pane <pane-id> --yes [--dry-run] [--json]", " runpane panes unpin --pane <pane-id> --yes [--dry-run] [--json]", " runpane panes rename --pane <pane-id> --name <new-name> --yes [--dry-run] [--json]", " runpane panes pause|resume --pane <pane-id> --yes [--json]", "", "Run \"runpane help panes <command>\" for command-specific options."];
|
|
1395
1558
|
readonly "panes list": readonly ["Usage:", " runpane panes list [--repo <selector>] [--json]", "", "Lists Pane sessions. Pass --repo to limit results to one saved repository.", "", "status is running while a tool or agent terminal is live; the dock shell does not count. agentState is the most urgent state of the live agent panels: blocked, working, ready, or none.", "", "Options:", " --repo <selector> active, id, exact path, or saved repository name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1396
1559
|
readonly "panes cost": readonly ["Usage:", " runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]", "", "Reports estimated token costs per Pane for the last 30 days, including per-model and cache-efficiency details.", "", "Options:", " --repo <selector> Limit results to one saved repository", " --pane <pane-id> Return one Pane, including an idle Pane with zero usage", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1397
1560
|
readonly workspace: readonly ["Workspace commands: this machine's Panes, and your other machines over Tailscale.", "", "Usage:", " runpane workspace state [--repo <selector>] [--json]", " runpane watch --follow", " runpane workspace list [--json]", " runpane workspace <machine> read <path>", " runpane workspace <machine> write <path> (content from --content or stdin)", " runpane workspace <machine> exec -- <command>", " runpane workspace <machine> <runpane command> (any command that talks to Pane, e.g. sessions list --json)", " runpane workspace enable|disable", "", "<machine> is a Tailscale name, unique prefix, or IP. Your own machines are reachable, and a teammate's machine when its owner set Who can connect to Everyone on tailnet.", "Without <machine>, read, write, and exec route a path that cannot exist here (C:\\... on a Mac) to the one joined machine it fits.", "Commands that only run here (doctor, agent-context, mcp, docs) run there with: runpane workspace <machine> exec -- 'runpane doctor'"];
|
|
1398
1561
|
readonly "workspace state": readonly ["Usage:", " runpane workspace state [--repo <selector>] [--json]", "", "Returns one workspace snapshot of every Pane and CLI panel."];
|
|
1399
|
-
readonly watch: readonly ["Usage:", " runpane watch Print what changed since your cursor, then exit", " runpane watch --follow Keep watching, tuned for an agent watching unattended", " runpane watch --until-event Wait for one event worth waking for, print it, exit 0", "", "Waits for agent, Pane, panel, and PR events from the daemon without polling.", "", "What --follow does by default (see defaults.watch.follow in the contract):", " prints WATCH OK once when armed, then one line per event, with no heartbeats", " kinds: agent.report, agent.ready, agent.blocked, agent.idle, panel.exited, panel.stopped,", " pane.gone, pane.associated, pane.detached, pr.conflicted, pr.checks, pr.merged,
|
|
1562
|
+
readonly watch: readonly ["Usage:", " runpane watch Print what changed since your cursor, then exit", " runpane watch --follow Keep watching, tuned for an agent watching unattended", " runpane watch --until-event Wait for one event worth waking for, print it, exit 0", "", "Waits for agent, Pane, panel, and PR events from the daemon without polling.", "", "What --follow does by default (see defaults.watch.follow in the contract):", " prints WATCH OK once when armed, then one line per event, with no heartbeats", " kinds: agent.report, agent.ready, agent.blocked, agent.idle, panel.exited, panel.stopped,", " panel.paused, panel.unpaused, pane.gone, pane.associated, pane.detached,", " pr.conflicted, pr.checks, pr.merged, pr.base_changed, pr.base_deleted", " READY after 3m of quiet; BLOCKED after 30s; other lines batched at most every 10m", " (REPORT, BLOCKED, conflicts, base changes, and failed checks arrive at once)", " IDLE reminders at 10m, 30m, 1h, 3h, then daily", " ends with WATCH EXPIRED and exit 0 after 3h with nothing but IDLE", "", "What --until-event does by default: waits for agent.report, agent.blocked, panel.exited,", "or pane.gone, prints that one line, and exits 0. Run it as a background task, act on", "its line, then run it again; its named cursor means nothing is missed between runs.", "Single-event waits deliver immediately without follow settling or batching.", "--follow --since <generation> has no consumer name and bypasses settling and batching. Cadence requires a named follow consumer; --as cannot be combined with numeric --since.", "agent.report.missing (an agent given work ended its turn or exited without `runpane report`) is opt-in:", "add it to --kinds to wake on MISSING REPORT too.", "", "Options:", " --session <id|name> Watch every Pane in a Session; associate/detach apply live", " --pane <id> Watch one Pane; repeatable (default: every managed Pane)", " --exclude-pane <id> Leave out a Pane; repeatable", " --repo <selector> Limit to a saved repository", " --name-contains <text> Limit by Pane name substring", " --include-shells Include plain shell panels (default: agent panels only)", " --kinds <kind,...> Replace the default event kinds", " --json One JSON object per line", " --as <name> Name the cursor (default: from --session or this panel)", " --since <generation> Use an explicit cursor instead of a name", " --epoch <epoch> Pair with --since to detect journal resets", " --from <now|earliest> Where a new named cursor starts (default: now)", " --self-test Check the daemon watch path and exit", "", "Overrides (durations such as 30s, 10m, 3h; a bare number is milliseconds; 0 turns it off):", " --ready-settle <duration> Quiet time before READY (default 3m)", " --blocked-settle <duration> Time before BLOCKED (default 30s)", " --min-interval <duration> Batch window for non-urgent lines (default 10m)", " --idle-after <duration> First IDLE reminder (default 10m)", " --expire-after <duration> End after this long with nothing but IDLE (default 3h)", " --heartbeat <duration> Print a HEARTBEAT line this often (default off)", " --timeout-ms <duration> Per-request wait; with --until-event, the total deadline (exit 124)", " --limit <count> Maximum entries per response", " --ack-now At-most-once cursor delivery", " --include-held-input Include unsubmitted composer text in JSON", " --no-held-input Turn off STUCK detection", " --pane-dir <path> Connect to a specific Pane data directory", "", "How a watch ends: WATCH EXPIRED (exit 0) means nothing happened; arm a new one with the next", "dispatch. A non-zero exit or a WATCH ERROR line means it failed: say so and re-arm once. Judge", "a watch by WATCH OK and these endings, never by silence. Never pipe --follow into grep -m1 or head.", "STUCK means real unsubmitted composer text; a prompt suggestion never counts."];
|
|
1400
1563
|
readonly "panes create": readonly ["Usage:", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]", " runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor>] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]", " runpane panes create --from-json <path|-> [--yes] [--json]", "", "Creates a Pane in a saved repository and opens a terminal-backed tool tab. 1 feature = 1 worktree = 1 branch = 1 Pane; reviews, audits, fixes and QA for it are tabs in that Pane. Create one only when the work's branch has no Pane yet; for existing work use `runpane panels create --pane <id>`.", "", "A long or multi-line prompt is never typed into the shell: on bash, zsh or sh the agent launches with `\"$(cat '<prompt file>')\"` reading a private copy under `<pane-dir>/prompts/<pane-id>/`; on PowerShell, cmd, fish or WSL the prompt is pasted into the agent's composer once it is ready.", "", "Options:", " --repo <selector> active, id, exact path, or saved repository name", " --name <name> Pane/session name", " --worktree-name <name> Worktree directory name; defaults to --name", " --branch <name> Exact new branch name (slashes kept); must not exist; defaults to the worktree name", " --base-branch <ref> Ref to branch from; --base is an alias", " --agent <codex|claude|cursor> Built-in terminal template; with --tool-command, the agent it runs", " --tool-command <command> Custom terminal command", " --title <title> Terminal tab title", " --initial-input <text> Text sent after the command is ready", " --prompt <text> Alias for --initial-input", " --initial-input-file <path|-> Read initial input from a file or stdin", " --as-file-pointer Send `Read and follow <prompt file>` instead of the prompt", " --attach <file> Copy a file beside the prompt file and list it; repeatable", " --expect-report Expect a `runpane report` even for --source user work (the default otherwise)", " --no-expect-report Fire-and-forget: no agent.report.missing if the agent ends without reporting", " --wait Block until this panel reports, misses its report, waits on a prompt, or exits;", " print one JSON line (exit 0 report, 3 missing, 4 blocked, 5 exited, 124 timeout)", " --timeout <duration> With --wait: give up after this long (30m, 2h)", " --prompt-file <path|-> Alias for --initial-input-file", " --from-json <path|-> Read a full request payload", " --timeout-ms <milliseconds> Pane creation timeout", " --wait-ready Wait for the agent's input box, then deliver and verify the prompt", " --ready-timeout-ms <ms> Readiness wait timeout; defaults to 30000", " --concurrency <count> Accepted; creation is currently serialized", " --source <user|agent> Mark mutation source; agent implies background creation", " --no-focus Create in the background without stealing focus", " --focus Explicitly focus the created pane", " --pinned Request pinning at creation; first Session association clears it", " --no-pinned Create unpinned (the UI's favorite/pin star)", " --no-associate Inside a Session orchestrator, do not associate the new pane with that Session", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Validate and preview without creating panes", " --yes Skip confirmation for mutating commands", "", "Outside a Session, creation pins by default, including --source agent. Inside a Session (PANE_ORCHESTRATION_SESSION_ID), children default to unpinned to avoid duplicating them in the global pinned list. First Session association clears the creation pin, including --pinned; use panes pin afterward to pin an associated child."];
|
|
1401
1564
|
readonly "panes adopt": readonly ["Usage:", " runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor> [options]", " runpane panes adopt --repo <selector> --path <dir> --name <name> --tool-command <command> [--agent <codex|claude|cursor>] [options]", "", "Adopts an existing externally managed git worktree without creating, syncing, or deleting it. Archiving only removes its worktree with `panes archive --remove-worktree`. To start new work on a named branch, use `panes create --base <ref> --branch <name>` instead of `git worktree add` plus adopt.", "", "Options: --resume <id> stages the agent resume command (built-in agents only); --launch runs the command immediately; --prompt <text> or --prompt-file <path|-> and --wait-ready require --launch; --folder <name> groups the pane; --no-pinned opts out of pinning; --no-associate skips automatic Session association; --dry-run previews.", "", "With --tool-command, --agent names the agent the command runs (a wrapper such as `agent-farm run`): Pane launches the command unchanged and treats the panel as that agent. Without --agent, Pane detects Claude Code, Codex and Cursor from the foreground process or the agent's screen, and --wait-ready waits for the detected agent's input box; a command that never shows a supported agent is not ready and nothing is typed into it."];
|
|
1402
|
-
readonly "panes archive": readonly ["Usage:", " runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes [--json]", " runpane panes archive --session <id|name> --merged [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]", "", "Archives a Pane (session) exactly like the UI Archive action, including removal of its Pane-managed git worktree. Refreshes the configured upstream before checking for unpushed commits and reports exact commit evidence. When the branch has no upstream or its upstream is gone, a merged GitHub pull request whose head is HEAD (found with `gh`) counts as pushed. Refuses unsafe archives unless --force is passed. An adopted worktree is kept unless --remove-worktree is passed, which applies the same safety check and removal. The local branch is always kept. With --session and --merged, archives every Pane associated with the Session whose work is clean and pushed or merged, and reports a reason for each Pane it skips. Use --dry-run to print the evidence without mutating Pane state.", "", "Options:", " --pane <pane-id> Pane/session id to archive", " --source <user|agent> Mark mutation source", " --force Archive even if the pane has uncommitted, untracked, or unpushed changes", " --remove-worktree Also check and remove an adopted Pane's worktree (the branch is kept)", " --session <id|name> Archive the Panes associated with this Session (requires --merged)", " --merged Only archive Panes that are clean and pushed, or merged via a PR", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Refresh and print archive safety evidence without archiving", " --yes Skip confirmation for mutating commands"];
|
|
1565
|
+
readonly "panes archive": readonly ["Usage:", " runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes [--json]", " runpane panes archive --session <id|name> --merged [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]", "", "Archives a Pane (session) exactly like the UI Archive action, including removal of its Pane-managed git worktree. Refreshes the configured upstream before checking for unpushed commits and reports exact commit evidence. When the branch has no upstream or its upstream is gone, a merged GitHub pull request whose head is HEAD (found with `gh`) counts as pushed. Refuses unsafe archives unless --force is passed. An adopted worktree is kept unless --remove-worktree is passed, which applies the same safety check and removal. The local branch is always kept. With --session and --merged, archives every Pane associated with the Session whose work is clean and pushed or merged, and reports a reason for each Pane it skips. Use --dry-run to print the evidence without mutating Pane state. Refuses a Pane with an agent mid-turn or waiting for an answer (agent-busy), or with a tab holding unsent composer text or unsaved editor edits (unsent-input), unless --force is passed; the --session sweep skips it.", "", "Options:", " --pane <pane-id> Pane/session id to archive", " --source <user|agent> Mark mutation source", " --force Archive even if the pane has uncommitted, untracked, or unpushed changes, a busy agent, or unsent input", " --remove-worktree Also check and remove an adopted Pane's worktree (the branch is kept)", " --session <id|name> Archive the Panes associated with this Session (requires --merged)", " --merged Only archive Panes that are clean and pushed, or merged via a PR", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Refresh and print archive safety evidence without archiving", " --yes Skip confirmation for mutating commands"];
|
|
1403
1566
|
readonly "panes pin": readonly ["Usage:", " runpane panes pin --pane <pane-id> --yes [--dry-run] [--json]", "", "Declaratively pins a Pane using the Pane UI's favorite/pin star. Repeating the command is idempotent and never changes focus. Use --dry-run to validate and preview without mutating.", "", "Options:", " --pane <pane-id> Pane/session id to pin", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Validate and preview without pinning the pane", " --yes Skip confirmation for mutating commands"];
|
|
1404
1567
|
readonly "panes unpin": readonly ["Usage:", " runpane panes unpin --pane <pane-id> --yes [--dry-run] [--json]", "", "Declaratively unpins a Pane using the Pane UI's favorite/pin star. Repeating the command is idempotent and never changes focus. Use --dry-run to validate and preview without mutating.", "", "Options:", " --pane <pane-id> Pane/session id to unpin", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Validate and preview without unpinning the pane", " --yes Skip confirmation for mutating commands"];
|
|
1405
1568
|
readonly "panes rename": readonly ["Usage:", " runpane panes rename --pane <pane-id> --name <new-name> --yes [--dry-run] [--json]", "", "Renames a Pane without changing its worktree, branch, panels, or focus. The name is trimmed like the Pane UI. Use --dry-run to validate and preview the updated pane without mutating.", "", "Options:", " --pane <pane-id> Pane/session id to rename", " --name <new-name> New non-empty Pane/session name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Validate and preview without renaming the pane", " --yes Skip confirmation for mutating commands"];
|
|
1406
1569
|
readonly "panes focus": readonly ["Usage:", " runpane panes focus --pane <pane-id> [--panel <panel-id>] --source user|agent --yes [--json]", "", "Raises the Pane window and selects a Pane (and optionally one of its panels) exactly like clicking it in the UI. Steals window focus, so run it only on an explicit user request to open, focus, or show a Pane, never proactively.", "", "Options:", " --pane <pane-id> Pane/session id to focus", " --panel <panel-id> Optional panel/tab id inside the Pane to select", " --source <user|agent> Mutation source; does not change focus behavior", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --yes Skip confirmation for mutating commands"];
|
|
1407
|
-
readonly panels: readonly ["Terminal-backed panel commands.", "", "Usage:", " runpane panels <command> [options]", "", "Commands:", " runpane panels create --pane <pane-id> --agent <codex|claude|cursor> [options]", " runpane panels open (--url <url>|--file <path>) [--split|--tab] --yes [--json]", " runpane panels list --pane <pane-id> [--json]", " runpane panels screen --panel <panel-id> [--limit <count>] [--json]", " runpane panels output --panel <panel-id> [--limit <count>] [--json]", " runpane panels input --panel <panel-id> (--text <text>|--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 last-message --panel <panel-id> [--limit <count>] [--json]", "", "Run \"runpane help panels create\" or another command-specific topic for options."];
|
|
1570
|
+
readonly panels: readonly ["Terminal-backed panel commands.", "", "Usage:", " runpane panels <command> [options]", "", "Commands:", " runpane panels create --pane <pane-id> --agent <codex|claude|cursor> [options]", " runpane panels open (--url <url>|--file <path>) [--split|--tab] --yes [--json]", " runpane panels list --pane <pane-id> [--json]", " runpane panels screen --panel <panel-id> [--limit <count>] [--json]", " runpane panels output --panel <panel-id> [--limit <count>] [--json]", " runpane panels input --panel <panel-id> (--text <text>|--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 close --panel <panel-id> --yes [--json]", " runpane panels pause --panel <panel-id> --yes [--json]", " runpane panels last-message --panel <panel-id> [--limit <count>] [--json]", "", "Run \"runpane help panels create\" or another command-specific topic for options."];
|
|
1408
1571
|
readonly "panels list": readonly ["Usage:", " runpane panels list --pane <pane-id> [--json]", "", "Lists tool panels in a Pane session.", "", "agentDetection says how Pane knows agentType: declared, command, process, or screen. launchCommand is the command the panel was launched with.", "resumeId is the saved agent session ID that reopens the panel; resumeSource says which rule uses it: agent-farm, configured, or agent.", "", "Options:", " --pane <pane-id> Pane/session id", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1409
1572
|
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"];
|
|
1410
1573
|
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"];
|
|
@@ -1421,7 +1584,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1421
1584
|
readonly "sessions create": readonly ["Usage:", "runpane sessions create --from-json <path|-> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output.", "", "JSON isPinned: true pins the Session; omitted or false leaves it unpinned.", "Create-time isPinned requires an updated Pane app; on older apps, use sessions pin after creation and read back the result."];
|
|
1422
1585
|
readonly "sessions get": readonly ["Usage:", "runpane sessions get --session <id|name> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output."];
|
|
1423
1586
|
readonly "sessions update": readonly ["Usage:", "runpane sessions update --session <id|name> --from-json <path|-> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output.", "", "JSON isPinned: true/false sets the Session pin star. Select the Session with --session, not a session field in JSON."];
|
|
1424
|
-
readonly "sessions set-agent": readonly ["Usage:", "runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output."];
|
|
1587
|
+
readonly "sessions set-agent": readonly ["Usage:", "runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output."];
|
|
1425
1588
|
readonly "sessions associate": readonly ["Usage:", "runpane sessions associate --session <id|name> --pane <pane-id> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output."];
|
|
1426
1589
|
readonly "sessions detach": readonly ["Usage:", "runpane sessions detach --session <id|name> [--pane <pane-id>] [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output."];
|
|
1427
1590
|
readonly "sessions overview": readonly ["Usage:", "runpane sessions overview --session <id|name> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output."];
|
|
@@ -1448,11 +1611,12 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1448
1611
|
readonly "agents start": readonly ["Usage:", " runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]", "", "Start an agent on a task and wait until it is ready: as a new tab in an existing Pane with --pane <id> (review, audit, fix, QA), or in a new Pane with --repo and --name for new work.", "", "Options:", " --repo <selector> Repository: active, id, exact path, or saved name.", " --name <name> Name for the new Pane.", " --agent <codex|claude|cursor> Built-in agent to launch.", " --tool-command <command> Custom terminal command instead of a built-in agent.", " --prompt <task> The task to send once the agent is ready.", " --base-branch <branch> Branch to start the worktree from.", " --yes Confirm this change; required in non-interactive shells.", " --json Print machine-readable output.", " --pane-dir <path> Connect to a specific Pane data directory."];
|
|
1449
1612
|
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."];
|
|
1450
1613
|
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."];
|
|
1451
|
-
readonly sessions: readonly ["Usage:", " runpane sessions <list|create|get|update|set-agent|associate|detach|overview> [options]", "", "Use a named Session to keep context, activity, and evidence attached to one orchestration thread."];
|
|
1614
|
+
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."];
|
|
1452
1615
|
readonly report: readonly ["Usage:", " runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text>] [--pane <pane-id> --panel <panel-id>] [--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.", "", "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", " --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", " --json Print machine-readable output", "", "Example:", " runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md"];
|
|
1453
1616
|
readonly notify: readonly ["Usage:", " runpane notify --ui <options|approve|ask|info> --title <text> [--context <text>] [--choices <json>] [--detail <text>] [--detail-label <text>] [--suggestions <json>] [--action <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.", "", "Options:", " --ui <ui> options, approve, ask, or info", " --title <text> The question or update in one line", " --context <text> Background shown under Details", " --choices <json> options: 1 to 9 of [{\"label\":\"...\",\"detail\":\"...\",\"recommended\":true}]", " --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://...\"}", " --resume <id> Keep waiting on a question an earlier call returned waiting for", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", "", "Example:", " runpane notify --ui options --title \"Which database?\" --choices '[{\"label\":\"Redis\",\"recommended\":true},{\"label\":\"SQLite\"}]'"];
|
|
1454
|
-
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.", "", "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 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"];
|
|
1617
|
+
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"];
|
|
1455
1618
|
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"];
|
|
1619
|
+
readonly "panels close": readonly ["Close a tab in a Pane, stopping its process, as closing the tab in the app does.", "", "Usage:", " runpane panels close --panel <panel-id> --yes [--json] [--pane-dir <path>]", "", "Closes one tab (agent, terminal, browser or editor) the way its close button in the app does:", "a terminal tab's process is stopped and the tab is removed from every window showing the Pane.", "A Pane's permanent tabs cannot be closed. Closing the tab this command runs in stops this command too.", "", "Options:", " --panel <panel-id> Panel id, from runpane panels list", " --yes Skip the confirmation prompt", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", "", "Examples:", " runpane panels close --panel <panel-id> --yes --json"];
|
|
1456
1620
|
readonly lock: readonly ["Usage:", " runpane lock <acquire|release|list> [options]", "", "Named locks coordinate a resource shared between agents, such as one test account.", "The caller is the owner: the Pane and panel from $PANE_SESSION_ID and $PANE_PANEL_ID.", "A lock is scoped to the owner's Session when its Pane belongs to one; otherwise it is global.", "It is released on --ttl expiry, when the owner panel exits, or when the owner Pane is archived."];
|
|
1457
1621
|
readonly "lock acquire": readonly ["Usage:", "runpane lock acquire --name <name> --ttl <duration> [--wait <milliseconds>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", "", "Options:", " --name <name> Lock name: 1-128 letters, digits, \".\", \"_\", or \"-\".", " --ttl <duration> Time to live, such as 90s, 30m, or 2h; a bare number is milliseconds.", " --wait <milliseconds> Wait this long for a held lock to come free (acquire).", " --note <text> What the lock is for; outside a Pane it also names the owner.", " --pane <pane-id> Act for this Pane instead of $PANE_SESSION_ID.", " --panel <panel-id> Act for this panel instead of $PANE_PANEL_ID.", " --force Release a lock another owner holds (release).", " --session <id|name> Named Session whose locks to list or release.", " --json Print JSON output."];
|
|
1458
1622
|
readonly "lock release": readonly ["Usage:", "runpane lock release --name <name> [--force] [--session <id|name>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", "", "Options:", " --name <name> Lock name: 1-128 letters, digits, \".\", \"_\", or \"-\".", " --ttl <duration> Time to live, such as 90s, 30m, or 2h; a bare number is milliseconds.", " --wait <milliseconds> Wait this long for a held lock to come free (acquire).", " --note <text> What the lock is for; outside a Pane it also names the owner.", " --pane <pane-id> Act for this Pane instead of $PANE_SESSION_ID.", " --panel <panel-id> Act for this panel instead of $PANE_PANEL_ID.", " --force Release a lock another owner holds (release).", " --session <id|name> Named Session whose locks to list or release.", " --json Print JSON output."];
|
|
@@ -1479,9 +1643,14 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1479
1643
|
readonly "pr list": readonly ["runpane pr list [--pane <id>] [--json] [--pane-dir <path>]", "", "List PR registrations and stopped watches."];
|
|
1480
1644
|
readonly inbox: readonly ["Usage:", " runpane inbox [--session <id|name>] [--json] [--pane-dir <path>]", "", "Lists what a Session's orchestrator has not acknowledged: worker reports (agent.report),", "missing reports (agent.report.missing), and questions waiting on a worker's screen", "(agent.blocked; these clear themselves once the worker moves on). Pane keeps them across", "restarts. An orchestrator reads it when it starts or resumes, to catch what finished while it was down.", "", "Options:", " --session <id|name> Session; defaults to PANE_ORCHESTRATION_SESSION_ID", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", "", "Clear handled items with `runpane inbox ack <item-id>...`."];
|
|
1481
1645
|
readonly "inbox ack": readonly ["Usage:", " runpane inbox ack <item-id>... [--session <id|name>] [--json] [--pane-dir <path>]", " runpane inbox ack --all --session <id|name> [--json] [--pane-dir <path>]", "", "Clears Session inbox items. Ids that match nothing are listed as unknown; acknowledging twice is harmless.", "", "Options:", " --session <id|name> Only clear items of this Session; required with --all", " --all Clear every item of the Session", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1646
|
+
readonly "panels pause": readonly ["Usage:", " runpane panels pause --panel <panel-id> --yes [--json] [--pane-dir <path>]", "", "Pauses one terminal tab: stops its process and marks it paused until", "`runpane panels resume --panel <panel-id>`, or its Pane or Session, resumes it.", "Stopping works the way quitting Pane does, without asking, even while an agent is working.", "Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts", "and updates, and `panels resume --session` and `--all-stopped` skip it.", "`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.", "", "Options:", " --panel <panel-id> Terminal panel id", " --yes Skip the confirmation prompt", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1647
|
+
readonly "panes pause": readonly ["Usage:", " runpane panes pause --pane <pane-id> --yes [--json] [--pane-dir <path>]", "", "Pauses every terminal tab of a Pane, run scripts included, until `runpane panes resume`", "resumes it. A Pane is paused while all of its terminal tabs are; `panes list` reports it.", "Stopping works the way quitting Pane does, without asking, even while an agent is working.", "Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts", "and updates, and `panels resume --session` and `--all-stopped` skip it.", "`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.", "", "Options:", " --pane <pane-id> Pane id", " --yes Skip the confirmation prompt", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1648
|
+
readonly "panes resume": readonly ["Usage:", " runpane panes resume --pane <pane-id> --yes [--json] [--pane-dir <path>]", "", "Restarts a Pane's paused tabs in place, the same restart `panels resume` runs: agents", "relaunch in their saved conversations and report ready as usual. Running tabs are left alone.", "`runpane watch` reports each resumed tab as panel.unpaused.", "", "Options:", " --pane <pane-id> Pane id", " --yes Skip the confirmation prompt", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1649
|
+
readonly "sessions pause": readonly ["Usage:", " runpane sessions pause --session <id|name> [--json] [--pane-dir <path>]", "", "Pauses a Session's chat and the terminal tabs of every Pane in it that is not archived,", "until `runpane sessions resume` resumes them.", "Stopping works the way quitting Pane does, without asking, even while an agent is working.", "Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts", "and updates, and `panels resume --session` and `--all-stopped` skip it.", "`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.", "", "Options:", " --session <id|name> Named Session id or exact name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1650
|
+
readonly "sessions resume": readonly ["Usage:", " runpane sessions resume --session <id|name> [--json] [--pane-dir <path>]", "", "Restarts the paused tabs of a Session's chat and Panes in their saved conversations.", "Running tabs are left alone. An archived Session is refused; restore it first.", "`runpane watch` reports each resumed tab as panel.unpaused.", "", "Options:", " --session <id|name> Named Session id or exact name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1482
1651
|
};
|
|
1483
1652
|
readonly pip: {
|
|
1484
|
-
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 agents doctor --agent <codex|claude|cursor> [--repo <selector>] [--json]", " runpane repos list [--json]", " runpane repos add --path <path> [--name <name>]", " runpane repos rename --repo <selector> --name <name>", " 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> [--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 [--remove-worktree] [--dry-run] --yes", " python -m runpane panels create --pane <pane-id> --agent <codex|claude|cursor> [--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 last-message --panel <panel-id> [--limit <count>] [--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>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]", " runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]", " runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]", " runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text>] [--json]", " runpane notify --ui <options|approve|ask|info> --title <text> [--choices <json>] [--resume <id>] [--json]", " runpane inbox [--session <id|name>] [--json]", " runpane inbox ack <item-id>... [--session <id|name>] [--json]", " runpane panes squash-rebase --pane <pane-id> --message <message> --yes [--json] [--pane-dir <path>]", " runpane panes stash --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes stash-pop --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes soft-reset --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes fetch --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes run-script --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes stop-script --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes move --pane <pane-id> --folder <folder-id> --yes [--json] [--pane-dir <path>]", " runpane folders list --repo <repo-id> [--json] [--pane-dir <path>]", " runpane folders create --repo <repo-id> --name <name> --yes [--json] [--pane-dir <path>]", " runpane lock acquire --name <name> --ttl <duration> [--wait <milliseconds>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock release --name <name> [--force] [--session <id|name>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock list [--session <id|name>] [--json] [--pane-dir <path>]", " python -m runpane loops list [--json]", " python -m runpane loops create (--repo <selector>|--session <id|name|new>) --name <name> --cron <expr> (--agent <claude|codex|cursor>|--tool-command <command>) [--prompt <text>] --yes", " python -m runpane loops update|run|pause|resume|delete --loop <id> --yes", " runpane help [command]", "", "Quick start:", " pipx run runpane", " python -m pip install runpane && python -m runpane setup", "", "Advanced examples:", " pipx run runpane install client", " pipx run runpane install daemon --label \"My Server\"", " uvx runpane@latest", "", "Common commands:", " runpane help", " runpane setup", " runpane install", " runpane doctor", "", "Agent discovery:", " runpane doctor --json", " runpane agent-context --json", " runpane agent-context --command \"<command>\" --json", "", "Run \"runpane help panes create\" for pane orchestration options."];
|
|
1653
|
+
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 agents doctor --agent <codex|claude|cursor> [--repo <selector>] [--json]", " runpane repos list [--json]", " runpane repos add --path <path> [--name <name>]", " runpane repos get [--repo <selector>] [--json]", " runpane repos update --repo <selector> [setting flags] --yes [--dry-run] [--json]", " runpane repos rename --repo <selector> --name <name>", " runpane secrets list [--project <project>] [--json]", " runpane secrets set --project <project> --name <name> --yes (value on stdin)", " runpane secrets delete --project <project> --name <name> --yes", " runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>] [--file <name>] -- <command>...", " runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]", " runpane panes list [--repo <selector>] [--json]", " runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]", " runpane workspace state [--repo <selector>] [--json]", " runpane watch --follow", " runpane watch --until-event", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [--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 [--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> [--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 close --panel <panel-id> --yes [--json]", " runpane panels pause --panel <panel-id> --yes [--json]", " runpane panels last-message --panel <panel-id> [--limit <count>] [--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>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]", " runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]", " runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]", " runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text>] [--json]", " runpane notify --ui <options|approve|ask|info> --title <text> [--choices <json>] [--resume <id>] [--json]", " runpane inbox [--session <id|name>] [--json]", " runpane inbox ack <item-id>... [--session <id|name>] [--json]", " runpane panes squash-rebase --pane <pane-id> --message <message> --yes [--json] [--pane-dir <path>]", " runpane panes stash --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes stash-pop --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes soft-reset --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes fetch --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes run-script --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes stop-script --pane <pane-id> --yes [--json] [--pane-dir <path>]", " runpane panes move --pane <pane-id> --folder <folder-id> --yes [--json] [--pane-dir <path>]", " runpane folders list --repo <repo-id> [--json] [--pane-dir <path>]", " runpane folders create --repo <repo-id> --name <name> --yes [--json] [--pane-dir <path>]", " runpane lock acquire --name <name> --ttl <duration> [--wait <milliseconds>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock release --name <name> [--force] [--session <id|name>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", " runpane lock list [--session <id|name>] [--json] [--pane-dir <path>]", " python -m runpane loops list [--json]", " python -m runpane loops create (--repo <selector>|--session <id|name|new>) --name <name> --cron <expr> (--agent <claude|codex|cursor>|--tool-command <command>) [--prompt <text>] --yes", " python -m runpane loops update|run|pause|resume|delete --loop <id> --yes", " runpane help [command]", "", "Quick start:", " pipx run runpane", " python -m pip install runpane && python -m runpane setup", "", "Advanced examples:", " pipx run runpane install client", " pipx run runpane install daemon --label \"My Server\"", " uvx runpane@latest", "", "Common commands:", " runpane help", " runpane setup", " runpane install", " runpane doctor", "", "Agent discovery:", " runpane doctor --json", " runpane agent-context --json", " runpane agent-context --command \"<command>\" --json", "", "Run \"runpane help panes create\" for pane orchestration options."];
|
|
1485
1654
|
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>"];
|
|
1486
1655
|
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"];
|
|
1487
1656
|
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."];
|
|
@@ -1490,21 +1659,29 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1490
1659
|
readonly "daemon repair": readonly ["Usage:", " runpane daemon repair [--pane-dir <path>] [--pane-path <path>] [--yes] [--json]", "", "Repairs and restarts only the managed remote-daemon launcher and service definition.", "", "Options:", " --pane-dir <path>", " --pane-path <path>", " --yes", " --json"];
|
|
1491
1660
|
readonly "repos list": readonly ["Usage:", " runpane repos list [--json] [--pane-dir <path>]", "", "Lists repositories saved in the running Pane app.", "", "Options:", " --json", " --pane-dir <path>"];
|
|
1492
1661
|
readonly "repos add": readonly ["Usage:", " runpane repos add --path <path> [--name <name>] [--json] [--yes]", "", "Registers an existing git repository with the running Pane app.", "", "Options:", " --path <path>", " --name <name>", " --pane-dir <path>", " --json", " --dry-run", " --yes"];
|
|
1662
|
+
readonly "repos get": readonly ["Usage:", " runpane repos get [--repo <selector>] [--json] [--pane-dir <path>]", "", "Shows a saved repository's Project Settings. For the build, run, and archive scripts it shows the saved value, the fallback from the repository's config file (pane.json, conductor.json, .gitpod.yml, or devcontainer.json), and which of the two Pane will run.", "", "Options:", " --repo <selector>", " --json", " --pane-dir <path>"];
|
|
1663
|
+
readonly "repos update": readonly ["Usage:", " runpane repos update --repo <selector> [setting flags] [--clear <setting,...>] [--from-json <path|->] --yes [--dry-run] [--json]", "", "Changes a saved repository's Project Settings through the same save as the Project Settings dialog, so open Pane windows show the new values. Settings you do not pass keep their value. A cleared script falls back to the repository's config file.", "", "Options:", " --repo <selector>", " --name <name>", " --build-script <script>", " --run-script <script>", " --archive-script <script>", " --worktree-folder <path>", " --open-ide-command <command>", " --system-prompt <text>", " --env <json>", " --env-remove <name,...>", " --clear <setting,...>", " --from-json <path|->", " --dry-run", " --yes", " --json", " --pane-dir <path>"];
|
|
1493
1664
|
readonly "repos rename": readonly ["Usage:", " runpane repos rename --repo <selector> --name <name> --yes [--json]", "", "Renames a saved repository. Only its display name changes; its path, Panes and settings stay as they are.", "", "Options:", " --repo <selector> Repository: active, id, exact path, or saved name", " --name <name> New non-empty repository name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --yes Skip confirmation for mutating commands"];
|
|
1494
|
-
readonly
|
|
1665
|
+
readonly secrets: readonly ["Usage:", " python -m runpane secrets <list|set|delete|exec|request> [options]", "", "Pane secrets are named values, addressed as <project>/<NAME>, that every machine you saved in Pane keeps a copy of.", "Agents use them only through `runpane secrets exec`, which puts them in a command's environment. No command prints a value.", "Ask the person for a new one with `runpane secrets request`; they type it on a masked card.", "", "Commands:", " python -m runpane secrets list [--project <project>] [--json]", " python -m runpane secrets set --project <project> --name <name> --yes (value on stdin)", " python -m runpane secrets delete --project <project> --name <name> --yes", " python -m runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>] [--file <name>] -- <command>...", " python -m runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]", "", "A project is up to 64 letters, digits, \".\", \"_\" or \"-\". A name follows environment variable rules: letters, digits and underscores, not starting with a digit. PATH, WORKTREE_PATH and PANE_* are reserved."];
|
|
1666
|
+
readonly "secrets list": readonly ["Usage:", " python -m runpane secrets list [--project <project>] [--json] [--pane-dir <path>]", "", "Lists the Pane secrets on this machine: project, name, when each was last set, and on which machine. It never shows a value.", "", "Options:", " --project <project> Only this project's secrets", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
|
|
1667
|
+
readonly "secrets set": readonly ["Usage:", " printf %s \"$VALUE\" | python -m runpane secrets set --project <project> --name <name> --yes [--json]", "", "Saves the value on stdin as the Pane secret <project>/<name>, adding it or replacing the saved value. One trailing newline is dropped. Pane syncs it to your other machines.", "Agents should not set values they were given in chat. Ask the person with `runpane secrets request` instead.", "", "Options:", " --project <project> Secret project", " --name <name> Secret name, such as STRIPE_SECRET_KEY", " --yes Skip confirmation for mutating commands", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
|
|
1668
|
+
readonly "secrets delete": readonly ["Usage:", " python -m runpane secrets delete --project <project> --name <name> --yes [--json]", "", "Deletes the Pane secret <project>/<name>. Your other machines delete it the next time they sync.", "", "Options:", " --project <project> Secret project", " --name <name> Secret name", " --yes Skip confirmation for mutating commands", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
|
|
1669
|
+
readonly "secrets exec": readonly ["Usage:", " python -m runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>]... [--file <name>]... -- <command>...", "", "Runs the command with Pane secrets added to your environment, and exits with its exit code. Each secret is injected under its own name and overrides a variable of that name.", "With no --only, --env or --file, it injects every secret in the project.", "", "Options:", " --project <project> Secret project", " --only <name,...> Inject only these secrets", " --env <VAR=NAME> Inject secret NAME as VAR; repeatable", " --file <name> Write secret NAME to a private temp file and set NAME to its path; repeatable. The file is removed when the command exits", " --pane-dir <path> Connect to a specific Pane data directory", "", "Example:", " python -m runpane secrets exec --project stripe --only STRIPE_SECRET_KEY -- pnpm test:webhooks"];
|
|
1670
|
+
readonly "secrets request": readonly ["Usage:", " python -m runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]", "", "Asks the person for a secret on a masked Notify card. What they type is saved as the Pane secret <project>/<name>; you get back only \"saved\" or \"declined\". Then use it with `runpane secrets exec`.", "A waiting result means the card is still open: run `runpane notify --resume <id>` to keep waiting.", "", "Options:", " --project <project> Secret project", " --name <name> Secret name, such as STRIPE_SECRET_KEY", " --title <text> What the secret is, such as \"Stripe test secret key\"", " --reason <text> What you need it for", " --json Print machine-readable output", " --pane-dir <path> Connect to a specific Pane data directory"];
|
|
1671
|
+
readonly panes: readonly ["Pane session commands.", "", "Usage:", " runpane panes <command> [options]", "", "Commands:", " runpane panes list [--repo <selector>] [--json]", " runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [options]", " runpane panes archive --pane <pane-id> [--force] [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]", " runpane panes archive --session <id|name> --merged [--remove-worktree] [--dry-run] --yes [--json]", " runpane panes pin --pane <pane-id> --yes [--dry-run] [--json]", " runpane panes unpin --pane <pane-id> --yes [--dry-run] [--json]", " runpane panes rename --pane <pane-id> --name <new-name> --yes [--dry-run] [--json]", " runpane panes pause|resume --pane <pane-id> --yes [--json]", "", "Run \"runpane help panes <command>\" for command-specific options."];
|
|
1495
1672
|
readonly "panes list": readonly ["Usage:", " runpane panes list [--repo <selector>] [--json]", "", "Lists Pane sessions. Pass --repo to limit results to one saved repository.", "", "status is running while a tool or agent terminal is live; the dock shell does not count. agentState is the most urgent state of the live agent panels: blocked, working, ready, or none.", "", "Options:", " --repo <selector>", " --pane-dir <path>", " --json"];
|
|
1496
1673
|
readonly "panes cost": readonly ["Usage:", " runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]", "", "Reports estimated token costs per Pane for the last 30 days, including per-model and cache-efficiency details.", "", "Options:", " --repo <selector>", " --pane <pane-id>", " --pane-dir <path>", " --json"];
|
|
1497
1674
|
readonly workspace: readonly ["Workspace commands: this machine's Panes, and your other machines over Tailscale.", "", "Usage:", " runpane workspace state [--repo <selector>] [--json]", " runpane watch --follow", "", "runpane workspace list|read|write|exec|enable|disable ship in the npm package: npx --yes runpane@latest workspace list"];
|
|
1498
1675
|
readonly "workspace state": readonly ["Usage:", " runpane workspace state [--repo <selector>] [--json]", "", "Returns one workspace snapshot of every Pane and CLI panel."];
|
|
1499
|
-
readonly watch: readonly ["Usage:", " runpane watch Print what changed since your cursor, then exit", " runpane watch --follow Keep watching, tuned for an agent watching unattended", " runpane watch --until-event Wait for one event worth waking for, print it, exit 0", "", "Waits for agent, Pane, panel, and PR events from the daemon without polling.", "", "What --follow does by default (see defaults.watch.follow in the contract):", " prints WATCH OK once when armed, then one line per event, with no heartbeats", " kinds: agent.report, agent.ready, agent.blocked, agent.idle, panel.exited, panel.stopped,", " pane.gone, pane.associated, pane.detached, pr.conflicted, pr.checks, pr.merged,
|
|
1676
|
+
readonly watch: readonly ["Usage:", " runpane watch Print what changed since your cursor, then exit", " runpane watch --follow Keep watching, tuned for an agent watching unattended", " runpane watch --until-event Wait for one event worth waking for, print it, exit 0", "", "Waits for agent, Pane, panel, and PR events from the daemon without polling.", "", "What --follow does by default (see defaults.watch.follow in the contract):", " prints WATCH OK once when armed, then one line per event, with no heartbeats", " kinds: agent.report, agent.ready, agent.blocked, agent.idle, panel.exited, panel.stopped,", " panel.paused, panel.unpaused, pane.gone, pane.associated, pane.detached,", " pr.conflicted, pr.checks, pr.merged, pr.base_changed, pr.base_deleted", " READY after 3m of quiet; BLOCKED after 30s; other lines batched at most every 10m", " (REPORT, BLOCKED, conflicts, base changes, and failed checks arrive at once)", " IDLE reminders at 10m, 30m, 1h, 3h, then daily", " ends with WATCH EXPIRED and exit 0 after 3h with nothing but IDLE", "", "What --until-event does by default: waits for agent.report, agent.blocked, panel.exited,", "or pane.gone, prints that one line, and exits 0. Run it as a background task, act on", "its line, then run it again; its named cursor means nothing is missed between runs.", "Single-event waits deliver immediately without follow settling or batching.", "--follow --since <generation> has no consumer name and bypasses settling and batching. Cadence requires a named follow consumer; --as cannot be combined with numeric --since.", "agent.report.missing (an agent given work ended its turn or exited without `runpane report`) is opt-in:", "add it to --kinds to wake on MISSING REPORT too.", "", "Options:", " --session <id|name> Watch every Pane in a Session; associate/detach apply live", " --pane <id> Watch one Pane; repeatable (default: every managed Pane)", " --exclude-pane <id> Leave out a Pane; repeatable", " --repo <selector> Limit to a saved repository", " --name-contains <text> Limit by Pane name substring", " --include-shells Include plain shell panels (default: agent panels only)", " --kinds <kind,...> Replace the default event kinds", " --json One JSON object per line", " --as <name> Name the cursor (default: from --session or this panel)", " --since <generation> Use an explicit cursor instead of a name", " --epoch <epoch> Pair with --since to detect journal resets", " --from <now|earliest> Where a new named cursor starts (default: now)", " --self-test Check the daemon watch path and exit", "", "Overrides (durations such as 30s, 10m, 3h; a bare number is milliseconds; 0 turns it off):", " --ready-settle <duration> Quiet time before READY (default 3m)", " --blocked-settle <duration> Time before BLOCKED (default 30s)", " --min-interval <duration> Batch window for non-urgent lines (default 10m)", " --idle-after <duration> First IDLE reminder (default 10m)", " --expire-after <duration> End after this long with nothing but IDLE (default 3h)", " --heartbeat <duration> Print a HEARTBEAT line this often (default off)", " --timeout-ms <duration> Per-request wait; with --until-event, the total deadline (exit 124)", " --limit <count> Maximum entries per response", " --ack-now At-most-once cursor delivery", " --include-held-input Include unsubmitted composer text in JSON", " --no-held-input Turn off STUCK detection", " --pane-dir <path> Connect to a specific Pane data directory", "", "How a watch ends: WATCH EXPIRED (exit 0) means nothing happened; arm a new one with the next", "dispatch. A non-zero exit or a WATCH ERROR line means it failed: say so and re-arm once. Judge", "a watch by WATCH OK and these endings, never by silence. Never pipe --follow into grep -m1 or head.", "STUCK means real unsubmitted composer text; a prompt suggestion never counts."];
|
|
1500
1677
|
readonly "panes create": readonly ["Usage:", " runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]", " python -m runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor>] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]", " runpane panes create --from-json <path|-> [--yes] [--json]", "", "Creates a Pane in a saved repository and opens a terminal-backed tool tab. 1 feature = 1 worktree = 1 branch = 1 Pane; reviews, audits, fixes and QA for it are tabs in that Pane. Create one only when the work's branch has no Pane yet; for existing work use `runpane panels create --pane <id>`.", "", "A long or multi-line prompt is never typed into the shell: on bash, zsh or sh the agent launches with `\"$(cat '<prompt file>')\"` reading a private copy under `<pane-dir>/prompts/<pane-id>/`; on PowerShell, cmd, fish or WSL the prompt is pasted into the agent's composer once it is ready.", "", "Options:", " --repo <selector> active, id, exact path, or saved repository name", " --name <name> Pane/session name", " --worktree-name <name> Worktree directory name; defaults to --name", " --branch <name> Exact new branch name (slashes kept); must not exist; defaults to the worktree name", " --base-branch <ref> Ref to branch from; --base is an alias", " --agent <codex|claude|cursor> Built-in terminal template; with --tool-command, the agent it runs", " --tool-command <command> Custom terminal command", " --title <title> Terminal tab title", " --initial-input <text> Text sent after the command is ready", " --prompt <text> Alias for --initial-input", " --initial-input-file <path|-> Read initial input from a file or stdin", " --as-file-pointer Send `Read and follow <prompt file>` instead of the prompt", " --attach <file> Copy a file beside the prompt file and list it; repeatable", " --expect-report Expect a `runpane report` even for --source user work (the default otherwise)", " --no-expect-report Fire-and-forget: no agent.report.missing if the agent ends without reporting", " --wait Block until this panel reports, misses its report, waits on a prompt, or exits;", " print one JSON line (exit 0 report, 3 missing, 4 blocked, 5 exited, 124 timeout)", " --timeout <duration> With --wait: give up after this long (30m, 2h)", " --prompt-file <path|-> Alias for --initial-input-file", " --from-json <path|-> Read a full request payload", " --timeout-ms <milliseconds> Pane creation timeout", " --wait-ready Wait for the agent's input box, then deliver and verify the prompt", " --ready-timeout-ms <ms> Readiness wait timeout; defaults to 30000", " --concurrency <count> Accepted; creation is currently serialized", " --source <user|agent> Mark mutation source; agent implies background creation", " --no-focus Create in the background without stealing focus", " --focus Explicitly focus the created pane", " --pinned Request pinning at creation; first Session association clears it", " --no-pinned Create unpinned (the UI's favorite/pin star)", " --no-associate Inside a Session orchestrator, do not associate the new pane with that Session", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", " --dry-run Validate and preview without creating panes", " --yes Skip confirmation for mutating commands", "", "Outside a Session, creation pins by default, including --source agent. Inside a Session (PANE_ORCHESTRATION_SESSION_ID), children default to unpinned to avoid duplicating them in the global pinned list. First Session association clears the creation pin, including --pinned; use panes pin afterward to pin an associated child."];
|
|
1501
1678
|
readonly "panes adopt": readonly ["Usage:", " runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor> [options]", " runpane panes adopt --repo <selector> --path <dir> --name <name> --tool-command <command> [--agent <codex|claude|cursor>] [options]", "", "Adopts an existing externally managed git worktree without creating, syncing, or deleting it. Archiving only removes its worktree with `panes archive --remove-worktree`. To start new work on a named branch, use `panes create --base <ref> --branch <name>` instead of `git worktree add` plus adopt.", "", "Options: --resume <id> stages the agent resume command (built-in agents only); --launch runs the command immediately; --prompt <text> or --prompt-file <path|-> and --wait-ready require --launch; --folder <name> groups the pane; --no-pinned opts out of pinning; --no-associate skips automatic Session association; --dry-run previews.", "", "With --tool-command, --agent names the agent the command runs (a wrapper such as `agent-farm run`): Pane launches the command unchanged and treats the panel as that agent. Without --agent, Pane detects Claude Code, Codex and Cursor from the foreground process or the agent's screen, and --wait-ready waits for the detected agent's input box; a command that never shows a supported agent is not ready and nothing is typed into it."];
|
|
1502
|
-
readonly "panes archive": readonly ["Usage:", " runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes [--json]", " runpane panes archive --session <id|name> --merged [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]", "", "Archives a Pane (session) exactly like the UI Archive action, including removal of its Pane-managed git worktree. Refreshes the configured upstream before checking for unpushed commits and reports exact commit evidence. When the branch has no upstream or its upstream is gone, a merged GitHub pull request whose head is HEAD (found with `gh`) counts as pushed. Refuses unsafe archives unless --force is passed. An adopted worktree is kept unless --remove-worktree is passed, which applies the same safety check and removal. The local branch is always kept. With --session and --merged, archives every Pane associated with the Session whose work is clean and pushed or merged, and reports a reason for each Pane it skips. Use --dry-run to print the evidence without mutating Pane state.", "", "Options:", " --pane <pane-id>", " --source <user|agent>", " --force", " --remove-worktree", " --session <id|name>", " --merged", " --pane-dir <path>", " --json", " --dry-run", " --yes"];
|
|
1679
|
+
readonly "panes archive": readonly ["Usage:", " runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes [--json]", " runpane panes archive --session <id|name> --merged [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]", "", "Archives a Pane (session) exactly like the UI Archive action, including removal of its Pane-managed git worktree. Refreshes the configured upstream before checking for unpushed commits and reports exact commit evidence. When the branch has no upstream or its upstream is gone, a merged GitHub pull request whose head is HEAD (found with `gh`) counts as pushed. Refuses unsafe archives unless --force is passed. An adopted worktree is kept unless --remove-worktree is passed, which applies the same safety check and removal. The local branch is always kept. With --session and --merged, archives every Pane associated with the Session whose work is clean and pushed or merged, and reports a reason for each Pane it skips. Use --dry-run to print the evidence without mutating Pane state. Refuses a Pane with an agent mid-turn or waiting for an answer (agent-busy), or with a tab holding unsent composer text or unsaved editor edits (unsent-input), unless --force is passed; the --session sweep skips it.", "", "Options:", " --pane <pane-id>", " --source <user|agent>", " --force", " --remove-worktree", " --session <id|name>", " --merged", " --pane-dir <path>", " --json", " --dry-run", " --yes"];
|
|
1503
1680
|
readonly "panes pin": readonly ["Usage:", " runpane panes pin --pane <pane-id> --yes [--dry-run] [--json]", "", "Declaratively pins a Pane using the Pane UI's favorite/pin star. Repeating the command is idempotent and never changes focus. Use --dry-run to validate and preview without mutating.", "", "Options:", " --pane <pane-id>", " --pane-dir <path>", " --json", " --dry-run", " --yes"];
|
|
1504
1681
|
readonly "panes unpin": readonly ["Usage:", " runpane panes unpin --pane <pane-id> --yes [--dry-run] [--json]", "", "Declaratively unpins a Pane using the Pane UI's favorite/pin star. Repeating the command is idempotent and never changes focus. Use --dry-run to validate and preview without mutating.", "", "Options:", " --pane <pane-id>", " --pane-dir <path>", " --json", " --dry-run", " --yes"];
|
|
1505
1682
|
readonly "panes rename": readonly ["Usage:", " runpane panes rename --pane <pane-id> --name <new-name> --yes [--dry-run] [--json]", "", "Renames a Pane without changing its worktree, branch, panels, or focus. The name is trimmed like the Pane UI. Use --dry-run to validate and preview the updated pane without mutating.", "", "Options:", " --pane <pane-id>", " --name <new-name>", " --pane-dir <path>", " --json", " --dry-run", " --yes"];
|
|
1506
1683
|
readonly "panes focus": readonly ["Usage:", " runpane panes focus --pane <pane-id> [--panel <panel-id>] --source user|agent --yes [--json]", "", "Raises the Pane window and selects a Pane (and optionally one of its panels) exactly like clicking it in the UI. Steals window focus, so run it only on an explicit user request to open, focus, or show a Pane, never proactively.", "", "Options:", " --pane <pane-id>", " --panel <panel-id>", " --source <user|agent>", " --pane-dir <path>", " --json", " --yes"];
|
|
1507
|
-
readonly panels: readonly ["Terminal-backed panel commands.", "", "Usage:", " runpane panels <command> [options]", "", "Commands:", " runpane panels create --pane <pane-id> --agent <codex|claude|cursor> [options]", " runpane panels open (--url <url>|--file <path>) [--split|--tab] --yes [--json]", " runpane panels list --pane <pane-id> [--json]", " runpane panels screen --panel <panel-id> [--limit <count>] [--json]", " runpane panels output --panel <panel-id> [--limit <count>] [--json]", " runpane panels input --panel <panel-id> (--text <text>|--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 last-message --panel <panel-id> [--limit <count>] [--json]", "", "Run \"runpane help panels create\" or another command-specific topic for options."];
|
|
1684
|
+
readonly panels: readonly ["Terminal-backed panel commands.", "", "Usage:", " runpane panels <command> [options]", "", "Commands:", " runpane panels create --pane <pane-id> --agent <codex|claude|cursor> [options]", " runpane panels open (--url <url>|--file <path>) [--split|--tab] --yes [--json]", " runpane panels list --pane <pane-id> [--json]", " runpane panels screen --panel <panel-id> [--limit <count>] [--json]", " runpane panels output --panel <panel-id> [--limit <count>] [--json]", " runpane panels input --panel <panel-id> (--text <text>|--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 close --panel <panel-id> --yes [--json]", " runpane panels pause --panel <panel-id> --yes [--json]", " runpane panels last-message --panel <panel-id> [--limit <count>] [--json]", "", "Run \"runpane help panels create\" or another command-specific topic for options."];
|
|
1508
1685
|
readonly "panels list": readonly ["Usage:", " runpane panels list --pane <pane-id> [--json]", "", "Lists tool panels in a Pane session.", "", "agentDetection says how Pane knows agentType: declared, command, process, or screen. launchCommand is the command the panel was launched with.", "resumeId is the saved agent session ID that reopens the panel; resumeSource says which rule uses it: agent-farm, configured, or agent.", "", "Options:", " --pane <pane-id>", " --pane-dir <path>", " --json"];
|
|
1509
1686
|
readonly "panels output": readonly ["Usage:", " runpane panels output --panel <panel-id> [--limit <count>] [--json]", "", "Reads recent terminal output records from a panel.", "", "Options:", " --panel <panel-id>", " --limit <count>", " --pane-dir <path>", " --json"];
|
|
1510
1687
|
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>", " --text <text>", " --keys <name,...> Keys to press: enter, escape, tab, up, down, ctrl-c, ...", " --input-file <path|->", " --pane-dir <path>", " --json", " --yes"];
|
|
@@ -1521,7 +1698,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1521
1698
|
readonly "sessions create": readonly ["Usage:", "python -m runpane sessions create --from-json <path|-> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output.", "", "JSON isPinned: true pins the Session; omitted or false leaves it unpinned.", "Create-time isPinned requires an updated Pane app; on older apps, use sessions pin after creation and read back the result."];
|
|
1522
1699
|
readonly "sessions get": readonly ["Usage:", "python -m runpane sessions get --session <id|name> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output."];
|
|
1523
1700
|
readonly "sessions update": readonly ["Usage:", "python -m runpane sessions update --session <id|name> --from-json <path|-> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output.", "", "JSON isPinned: true/false sets the Session pin star. Select the Session with --session, not a session field in JSON."];
|
|
1524
|
-
readonly "sessions set-agent": readonly ["Usage:", "python -m runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output."];
|
|
1701
|
+
readonly "sessions set-agent": readonly ["Usage:", "python -m runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output."];
|
|
1525
1702
|
readonly "sessions associate": readonly ["Usage:", "python -m runpane sessions associate --session <id|name> --pane <pane-id> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output."];
|
|
1526
1703
|
readonly "sessions detach": readonly ["Usage:", "python -m runpane sessions detach --session <id|name> [--pane <pane-id>] [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output."];
|
|
1527
1704
|
readonly "sessions overview": readonly ["Usage:", "python -m runpane sessions overview --session <id|name> [--json] [--pane-dir <path>]", "", "Options:", " --session <id|name> Named Session id or exact name.", " --from-json <path|-> Read structured JSON from a file or stdin.", " --pane <pane-id> User-visible Pane to associate or detach.", " --agent <codex|claude|cursor> Agent terminal to use.", " --json Print JSON output."];
|
|
@@ -1548,11 +1725,12 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1548
1725
|
readonly "agents start": readonly ["Usage:", " runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]", "", "`runpane agents start` ships in the npm package and the Pane app, not in the Python package.", "Run it with Node instead: npx --yes runpane@latest agents start"];
|
|
1549
1726
|
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"];
|
|
1550
1727
|
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"];
|
|
1551
|
-
readonly sessions: readonly ["Usage:", " runpane sessions <list|create|get|update|set-agent|associate|detach|overview> [options]", "", "Use a named Session to keep context, activity, and evidence attached to one orchestration thread."];
|
|
1728
|
+
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."];
|
|
1552
1729
|
readonly report: readonly ["Usage:", " runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text>] [--pane <pane-id> --panel <panel-id>] [--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.", "", "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", " --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", " --json Print machine-readable output", "", "Example:", " runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md"];
|
|
1553
1730
|
readonly notify: readonly ["Usage:", " runpane notify --ui <options|approve|ask|info> --title <text> [--context <text>] [--choices <json>] [--detail <text>] [--detail-label <text>] [--suggestions <json>] [--action <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.", "", "Options:", " --ui <ui> options, approve, ask, or info", " --title <text> The question or update in one line", " --context <text> Background shown under Details", " --choices <json> options: 1 to 9 of [{\"label\":\"...\",\"detail\":\"...\",\"recommended\":true}]", " --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://...\"}", " --resume <id> Keep waiting on a question an earlier call returned waiting for", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", "", "Example:", " runpane notify --ui options --title \"Which database?\" --choices '[{\"label\":\"Redis\",\"recommended\":true},{\"label\":\"SQLite\"}]'"];
|
|
1554
|
-
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.", "", "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 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"];
|
|
1731
|
+
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"];
|
|
1555
1732
|
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"];
|
|
1733
|
+
readonly "panels close": readonly ["Close a tab in a Pane, stopping its process, as closing the tab in the app does.", "", "Usage:", " python -m runpane panels close --panel <panel-id> --yes [--json] [--pane-dir <path>]", "", "Closes one tab (agent, terminal, browser or editor) the way its close button in the app does:", "a terminal tab's process is stopped and the tab is removed from every window showing the Pane.", "A Pane's permanent tabs cannot be closed. Closing the tab this command runs in stops this command too.", "", "Options:", " --panel <panel-id> Panel id, from runpane panels list", " --yes Skip the confirmation prompt", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", "", "Examples:", " python -m runpane panels close --panel <panel-id> --yes --json"];
|
|
1556
1734
|
readonly lock: readonly ["Usage:", " python -m runpane lock <acquire|release|list> [options]", "", "Named locks coordinate a resource shared between agents, such as one test account.", "The caller is the owner: the Pane and panel from $PANE_SESSION_ID and $PANE_PANEL_ID.", "A lock is scoped to the owner's Session when its Pane belongs to one; otherwise it is global.", "It is released on --ttl expiry, when the owner panel exits, or when the owner Pane is archived."];
|
|
1557
1735
|
readonly "lock acquire": readonly ["Usage:", "python -m runpane lock acquire --name <name> --ttl <duration> [--wait <milliseconds>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", "", "Options:", " --name <name> Lock name: 1-128 letters, digits, \".\", \"_\", or \"-\".", " --ttl <duration> Time to live, such as 90s, 30m, or 2h; a bare number is milliseconds.", " --wait <milliseconds> Wait this long for a held lock to come free (acquire).", " --note <text> What the lock is for; outside a Pane it also names the owner.", " --pane <pane-id> Act for this Pane instead of $PANE_SESSION_ID.", " --panel <panel-id> Act for this panel instead of $PANE_PANEL_ID.", " --force Release a lock another owner holds (release).", " --session <id|name> Named Session whose locks to list or release.", " --json Print JSON output."];
|
|
1558
1736
|
readonly "lock release": readonly ["Usage:", "python -m runpane lock release --name <name> [--force] [--session <id|name>] [--note <text>] [--pane <pane-id>] [--panel <panel-id>] [--json] [--pane-dir <path>]", "", "Options:", " --name <name> Lock name: 1-128 letters, digits, \".\", \"_\", or \"-\".", " --ttl <duration> Time to live, such as 90s, 30m, or 2h; a bare number is milliseconds.", " --wait <milliseconds> Wait this long for a held lock to come free (acquire).", " --note <text> What the lock is for; outside a Pane it also names the owner.", " --pane <pane-id> Act for this Pane instead of $PANE_SESSION_ID.", " --panel <panel-id> Act for this panel instead of $PANE_PANEL_ID.", " --force Release a lock another owner holds (release).", " --session <id|name> Named Session whose locks to list or release.", " --json Print JSON output."];
|
|
@@ -1579,6 +1757,11 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1579
1757
|
readonly "pr list": readonly ["runpane pr list [--pane <id>] [--json] [--pane-dir <path>]", "", "List PR registrations and stopped watches."];
|
|
1580
1758
|
readonly inbox: readonly ["Usage:", " runpane inbox [--session <id|name>] [--json] [--pane-dir <path>]", "", "Lists what a Session's orchestrator has not acknowledged: worker reports (agent.report),", "missing reports (agent.report.missing), and questions waiting on a worker's screen", "(agent.blocked; these clear themselves once the worker moves on). Pane keeps them across", "restarts. An orchestrator reads it when it starts or resumes, to catch what finished while it was down.", "", "Options:", " --session <id|name> Session; defaults to PANE_ORCHESTRATION_SESSION_ID", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output", "", "Clear handled items with `runpane inbox ack <item-id>...`."];
|
|
1581
1759
|
readonly "inbox ack": readonly ["Usage:", " runpane inbox ack <item-id>... [--session <id|name>] [--json] [--pane-dir <path>]", " runpane inbox ack --all --session <id|name> [--json] [--pane-dir <path>]", "", "Clears Session inbox items. Ids that match nothing are listed as unknown; acknowledging twice is harmless.", "", "Options:", " --session <id|name> Only clear items of this Session; required with --all", " --all Clear every item of the Session", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1760
|
+
readonly "panels pause": readonly ["Usage:", " runpane panels pause --panel <panel-id> --yes [--json] [--pane-dir <path>]", "", "Pauses one terminal tab: stops its process and marks it paused until", "`runpane panels resume --panel <panel-id>`, or its Pane or Session, resumes it.", "Stopping works the way quitting Pane does, without asking, even while an agent is working.", "Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts", "and updates, and `panels resume --session` and `--all-stopped` skip it.", "`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.", "", "Options:", " --panel <panel-id> Terminal panel id", " --yes Skip the confirmation prompt", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1761
|
+
readonly "panes pause": readonly ["Usage:", " runpane panes pause --pane <pane-id> --yes [--json] [--pane-dir <path>]", "", "Pauses every terminal tab of a Pane, run scripts included, until `runpane panes resume`", "resumes it. A Pane is paused while all of its terminal tabs are; `panes list` reports it.", "Stopping works the way quitting Pane does, without asking, even while an agent is working.", "Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts", "and updates, and `panels resume --session` and `--all-stopped` skip it.", "`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.", "", "Options:", " --pane <pane-id> Pane id", " --yes Skip the confirmation prompt", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1762
|
+
readonly "panes resume": readonly ["Usage:", " runpane panes resume --pane <pane-id> --yes [--json] [--pane-dir <path>]", "", "Restarts a Pane's paused tabs in place, the same restart `panels resume` runs: agents", "relaunch in their saved conversations and report ready as usual. Running tabs are left alone.", "`runpane watch` reports each resumed tab as panel.unpaused.", "", "Options:", " --pane <pane-id> Pane id", " --yes Skip the confirmation prompt", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1763
|
+
readonly "sessions pause": readonly ["Usage:", " runpane sessions pause --session <id|name> [--json] [--pane-dir <path>]", "", "Pauses a Session's chat and the terminal tabs of every Pane in it that is not archived,", "until `runpane sessions resume` resumes them.", "Stopping works the way quitting Pane does, without asking, even while an agent is working.", "Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts", "and updates, and `panels resume --session` and `--all-stopped` skip it.", "`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.", "", "Options:", " --session <id|name> Named Session id or exact name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1764
|
+
readonly "sessions resume": readonly ["Usage:", " runpane sessions resume --session <id|name> [--json] [--pane-dir <path>]", "", "Restarts the paused tabs of a Session's chat and Panes in their saved conversations.", "Running tabs are left alone. An archived Session is refused; restore it first.", "`runpane watch` reports each resumed tab as panel.unpaused.", "", "Options:", " --session <id|name> Named Session id or exact name", " --pane-dir <path> Connect to a specific Pane data directory", " --json Print machine-readable output"];
|
|
1582
1765
|
};
|
|
1583
1766
|
};
|
|
1584
1767
|
readonly docs: {
|
|
@@ -1587,16 +1770,16 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1587
1770
|
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\""];
|
|
1588
1771
|
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\""];
|
|
1589
1772
|
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."];
|
|
1590
|
-
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 rename --repo 3 --name Lev --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> [--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 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 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 resume --panel <panel-id> --wait-ready --yes --json", "runpane panels resume --session <id|name> --wait-ready --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>]"];
|
|
1591
|
-
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` 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 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 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. Inside a Session orchestrator (`PANE_ORCHESTRATION_SESSION_ID` set), new Panes are associated with that Session automatically; `--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 and OpenCode 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.", "`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 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 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 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), 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), `--ui approve` returns `{approved, note?}`, `--ui ask` returns `{answer}`, and `--ui info` returns `{delivered: \"screen\"|\"inbox\"}` at once. 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. 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). `runpane inbox ack <item-id>...` or `--all --session <id|name>` clears items. 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. `--session <id|name>` or `--all-stopped` resumes every stopped agent panel in that scope, `--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 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.", "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 resumes the sender's conversation when first opened. The receiver reports back to the sender's panel.", "`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."];
|
|
1773
|
+
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 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> [--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 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 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 resume --panel <panel-id> --wait-ready --yes --json", "runpane panels resume --session <id|name> --wait-ready --yes --json", "runpane panels close --panel <panel-id> --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>]"];
|
|
1774
|
+
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` 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 only. `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`. 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. Inside a Session orchestrator (`PANE_ORCHESTRATION_SESSION_ID` set), new Panes are associated with that Session automatically; `--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 and OpenCode 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.", "`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 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 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 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), 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), `--ui approve` returns `{approved, note?}`, `--ui ask` returns `{answer}`, and `--ui info` returns `{delivered: \"screen\"|\"inbox\"}` at once. 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. 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). `runpane inbox ack <item-id>...` or `--all --session <id|name>` clears items. 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. A paused 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, message, nextCommand }`. `panes list` reports a Pane's `paused` mark (`{ at, by: \"manual\" | \"auto\", idleHours? }`) and `inactiveSince`, the latest terminal output or input in its tabs or the last time the person selected it; `panels list` reports each tab's `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.", "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 resumes the sender's conversation when first opened. The receiver reports back to the sender's panel.", "`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."];
|
|
1592
1775
|
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.";
|
|
1593
1776
|
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 ...'`.";
|
|
1594
1777
|
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.";
|
|
1595
|
-
readonly downloadAttribution: readonly ["The npm package uses `source=npm` for all npm-registry consumers, including `npx`, `pnpm dlx`, `yarn dlx`, `bunx`, and global npm/pnpm installs.", "The PyPI package uses `source=pip` for all Python consumers, including pip, pipx, uvx, and `python -m runpane`.", "Wrappers should prefer `https://runpane.com/api/download?platform=<platform>&arch=<arch>&format=<format>&version=<version>&channel=<channel>&source=<npm|pip>`.", "If the website route cannot satisfy the download, wrappers may fall back to the matching GitHub release asset and print a warning that website attribution may be incomplete for that run.", "Wrappers emit best-effort telemetry to `https://runpane.com/api/runpane/telemetry` for command failures, download request/success/failure, and GitHub fallback usage. Routine command starts and successes emit nothing. A command failure is a thrown error, or a non-zero exit from `install` or `update` (also when setup runs them); other exit codes are documented results (such as `panels wait` not ready or `doctor` findings) and emit nothing. A failure event carries the command, `failure_stage`, `failure_category`, `exit_code` when known, and `error_code` (the code printed in the `--json` error). Both wrappers share a per-install limit in `<PANE_DIR>/runpane-wrapper-telemetry.json`: one failure event per cause per hour and at most 10 per hour.", "Wrapper telemetry uses a persisted anonymous `install_id` in the form `install_<uuid>` and PostHog `distinct_id = install:<install_id>` so installs reporting failures or downloads can be counted with `count(DISTINCT properties.install_id)`; this is not a count of all CLI users.", "Wrapper telemetry must be disabled in CI (`CI`, `GITHUB_ACTIONS`, `GITLAB_CI`, `BUILDKITE`, `CIRCLECI`, `TF_BUILD`, `JENKINS_URL`, `TEAMCITY_VERSION` or `CODEBUILD_BUILD_ID` set), when `DO_NOT_TRACK=1` or `RUNPANE_TELEMETRY_DISABLED` is set, and when the local config explicitly disables analytics. It must not include raw paths, labels, prompts, raw error text, or environment values.", "Desktop local control reports useful failures as `runpane_local_control_failed`; normal polling, wait deadlines, and optional agent unavailability emit nothing. Reports contain coarse operation and failure classification only, with a five-minute deduplication interval and a maximum of 20 per hour per app process. Handled CLI failures are ordinary events, not exceptions."];
|
|
1778
|
+
readonly downloadAttribution: readonly ["The npm package uses `source=npm` for all npm-registry consumers, including `npx`, `pnpm dlx`, `yarn dlx`, `bunx`, and global npm/pnpm installs.", "The PyPI package uses `source=pip` for all Python consumers, including pip, pipx, uvx, and `python -m runpane`.", "Wrappers should prefer `https://runpane.com/api/download?platform=<platform>&arch=<arch>&format=<format>&version=<version>&channel=<channel>&source=<npm|pip>`.", "If the website route cannot satisfy the download, wrappers may fall back to the matching GitHub release asset and print a warning that website attribution may be incomplete for that run.", "Wrappers emit best-effort telemetry to `https://runpane.com/api/runpane/telemetry` for command failures, download request/success/failure, and GitHub fallback usage. Routine command starts and successes emit nothing. A command failure is a thrown error, or a non-zero exit from `install` or `update` (also when setup runs them); other exit codes are documented results (such as `panels wait` not ready or `doctor` findings) and emit nothing. Polling and status commands (`panes list`, `panels wait`, `watch`, `panes archive`, `workspace state`, `agents status`, `doctor`) emit no failure events, and neither does a `not_found` failure outside `install` and `update`. A failure event carries the command, `failure_stage`, `failure_category`, `exit_code` when known, and `error_code` (the code printed in the `--json` error). Both wrappers share a per-install limit in `<PANE_DIR>/runpane-wrapper-telemetry.json`: one failure event per cause per hour and at most 10 per hour.", "Wrapper telemetry uses a persisted anonymous `install_id` in the form `install_<uuid>` and PostHog `distinct_id = install:<install_id>` so installs reporting failures or downloads can be counted with `count(DISTINCT properties.install_id)`; this is not a count of all CLI users.", "Wrapper telemetry must be disabled in CI (`CI`, `GITHUB_ACTIONS`, `GITLAB_CI`, `BUILDKITE`, `CIRCLECI`, `TF_BUILD`, `JENKINS_URL`, `TEAMCITY_VERSION` or `CODEBUILD_BUILD_ID` set), when `DO_NOT_TRACK=1` or `RUNPANE_TELEMETRY_DISABLED` is set, and when the local config explicitly disables analytics. It must not include raw paths, labels, prompts, raw error text, or environment values.", "Desktop local control reports useful failures as `runpane_local_control_failed`; normal polling, wait deadlines, and optional agent unavailability emit nothing. Reports contain coarse operation and failure classification only, with a five-minute deduplication interval and a maximum of 20 per hour per app process. Handled CLI failures are ordinary events, not exceptions."];
|
|
1596
1779
|
readonly publishingCredentials: readonly ["Local implementation, build, and dry-run validation do not need npm or PyPI API tokens.", "Release publishing should prefer npm Trusted Publishing and PyPI Trusted Publishing from GitHub Actions.", "Fallback `NPM_TOKEN` or `PYPI_API_TOKEN` credentials may be used for first package reservation or manual publication only. They must be supplied through local environment variables or GitHub Actions secrets, never committed, and revoked or rotated after use."];
|
|
1597
1780
|
};
|
|
1598
1781
|
readonly testFixtures: {
|
|
1599
|
-
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 ["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 ["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 ["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", "--resume", "n-1", "--json"]];
|
|
1782
|
+
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 ["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", "--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 ["repos", "update", "--repo", "Pane", "--env", "[{\"key\":\"API_URL\",\"source\":\"plain\",\"value\":\"x\"}]", "--env-remove", "OLD,STALE", "--yes", "--json"]];
|
|
1600
1783
|
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:"];
|
|
1601
1784
|
readonly npmHelpIncludes: readonly ["pnpm dlx runpane@latest", "npx --yes runpane@latest", "runpane loops list"];
|
|
1602
1785
|
readonly pipHelpIncludes: readonly ["pipx run runpane", "python -m pip install runpane && python -m runpane setup", "python -m runpane loops list"];
|
|
@@ -2210,23 +2393,22 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
2210
2393
|
};
|
|
2211
2394
|
readonly additionalProperties: false;
|
|
2212
2395
|
};
|
|
2213
|
-
readonly
|
|
2396
|
+
readonly repoGetRequest: {
|
|
2214
2397
|
readonly type: "object";
|
|
2215
|
-
readonly required: readonly ["repo", "name"];
|
|
2216
2398
|
readonly properties: {
|
|
2217
2399
|
readonly repo: {
|
|
2218
|
-
readonly
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2400
|
+
readonly anyOf: readonly [{
|
|
2401
|
+
readonly type: "string";
|
|
2402
|
+
}, {
|
|
2403
|
+
readonly type: "object";
|
|
2404
|
+
}];
|
|
2223
2405
|
};
|
|
2224
2406
|
};
|
|
2225
2407
|
readonly additionalProperties: false;
|
|
2226
2408
|
};
|
|
2227
|
-
readonly
|
|
2409
|
+
readonly repoGetResult: {
|
|
2228
2410
|
readonly type: "object";
|
|
2229
|
-
readonly required: readonly ["ok", "repo"];
|
|
2411
|
+
readonly required: readonly ["ok", "repo", "settings"];
|
|
2230
2412
|
readonly properties: {
|
|
2231
2413
|
readonly ok: {
|
|
2232
2414
|
readonly const: true;
|
|
@@ -2234,116 +2416,518 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
2234
2416
|
readonly repo: {
|
|
2235
2417
|
readonly $ref: "#/jsonSchemas/repoListResult/properties/repos/items";
|
|
2236
2418
|
};
|
|
2419
|
+
readonly settings: {
|
|
2420
|
+
readonly $ref: "#/jsonSchemas/repoGetResult/$defs/settings";
|
|
2421
|
+
};
|
|
2237
2422
|
};
|
|
2238
2423
|
readonly additionalProperties: false;
|
|
2424
|
+
readonly $defs: {
|
|
2425
|
+
readonly scriptSource: {
|
|
2426
|
+
readonly type: "object";
|
|
2427
|
+
readonly required: readonly ["command", "source"];
|
|
2428
|
+
readonly properties: {
|
|
2429
|
+
readonly command: {
|
|
2430
|
+
readonly type: "string";
|
|
2431
|
+
};
|
|
2432
|
+
readonly source: {
|
|
2433
|
+
readonly type: "string";
|
|
2434
|
+
};
|
|
2435
|
+
};
|
|
2436
|
+
readonly additionalProperties: false;
|
|
2437
|
+
};
|
|
2438
|
+
readonly scriptSetting: {
|
|
2439
|
+
readonly type: "object";
|
|
2440
|
+
readonly required: readonly ["value", "fallback", "effective"];
|
|
2441
|
+
readonly properties: {
|
|
2442
|
+
readonly value: {
|
|
2443
|
+
readonly type: readonly ["string", "null"];
|
|
2444
|
+
};
|
|
2445
|
+
readonly fallback: {
|
|
2446
|
+
readonly anyOf: readonly [{
|
|
2447
|
+
readonly $ref: "#/jsonSchemas/repoGetResult/$defs/scriptSource";
|
|
2448
|
+
}, {
|
|
2449
|
+
readonly type: "null";
|
|
2450
|
+
}];
|
|
2451
|
+
};
|
|
2452
|
+
readonly effective: {
|
|
2453
|
+
readonly anyOf: readonly [{
|
|
2454
|
+
readonly $ref: "#/jsonSchemas/repoGetResult/$defs/scriptSource";
|
|
2455
|
+
}, {
|
|
2456
|
+
readonly type: "null";
|
|
2457
|
+
}];
|
|
2458
|
+
};
|
|
2459
|
+
};
|
|
2460
|
+
readonly additionalProperties: false;
|
|
2461
|
+
};
|
|
2462
|
+
readonly settings: {
|
|
2463
|
+
readonly type: "object";
|
|
2464
|
+
readonly required: readonly ["name", "path", "currentBranch", "worktreeFolder", "openIdeCommand", "systemPrompt", "configFile", "buildScript", "runScript", "archiveScript", "envVars"];
|
|
2465
|
+
readonly properties: {
|
|
2466
|
+
readonly name: {
|
|
2467
|
+
readonly type: "string";
|
|
2468
|
+
};
|
|
2469
|
+
readonly path: {
|
|
2470
|
+
readonly type: "string";
|
|
2471
|
+
};
|
|
2472
|
+
readonly currentBranch: {
|
|
2473
|
+
readonly type: readonly ["string", "null"];
|
|
2474
|
+
};
|
|
2475
|
+
readonly worktreeFolder: {
|
|
2476
|
+
readonly type: readonly ["string", "null"];
|
|
2477
|
+
};
|
|
2478
|
+
readonly openIdeCommand: {
|
|
2479
|
+
readonly type: readonly ["string", "null"];
|
|
2480
|
+
};
|
|
2481
|
+
readonly systemPrompt: {
|
|
2482
|
+
readonly type: readonly ["string", "null"];
|
|
2483
|
+
};
|
|
2484
|
+
readonly configFile: {
|
|
2485
|
+
readonly type: readonly ["string", "null"];
|
|
2486
|
+
};
|
|
2487
|
+
readonly buildScript: {
|
|
2488
|
+
readonly $ref: "#/jsonSchemas/repoGetResult/$defs/scriptSetting";
|
|
2489
|
+
};
|
|
2490
|
+
readonly runScript: {
|
|
2491
|
+
readonly $ref: "#/jsonSchemas/repoGetResult/$defs/scriptSetting";
|
|
2492
|
+
};
|
|
2493
|
+
readonly archiveScript: {
|
|
2494
|
+
readonly $ref: "#/jsonSchemas/repoGetResult/$defs/scriptSetting";
|
|
2495
|
+
};
|
|
2496
|
+
readonly envVars: {
|
|
2497
|
+
readonly type: "array";
|
|
2498
|
+
readonly items: {
|
|
2499
|
+
readonly $ref: "#/jsonSchemas/projectEnvVar";
|
|
2500
|
+
};
|
|
2501
|
+
};
|
|
2502
|
+
};
|
|
2503
|
+
readonly additionalProperties: false;
|
|
2504
|
+
};
|
|
2505
|
+
};
|
|
2239
2506
|
};
|
|
2240
|
-
readonly
|
|
2507
|
+
readonly repoUpdateRequest: {
|
|
2241
2508
|
readonly type: "object";
|
|
2242
|
-
readonly required: readonly ["repo", "
|
|
2509
|
+
readonly required: readonly ["repo", "settings"];
|
|
2243
2510
|
readonly properties: {
|
|
2244
2511
|
readonly repo: {
|
|
2245
|
-
readonly
|
|
2512
|
+
readonly anyOf: readonly [{
|
|
2246
2513
|
readonly type: "string";
|
|
2247
2514
|
}, {
|
|
2248
2515
|
readonly type: "object";
|
|
2249
|
-
readonly properties: {
|
|
2250
|
-
readonly id: {
|
|
2251
|
-
readonly type: "number";
|
|
2252
|
-
};
|
|
2253
|
-
readonly path: {
|
|
2254
|
-
readonly type: "string";
|
|
2255
|
-
};
|
|
2256
|
-
readonly name: {
|
|
2257
|
-
readonly type: "string";
|
|
2258
|
-
};
|
|
2259
|
-
readonly active: {
|
|
2260
|
-
readonly const: true;
|
|
2261
|
-
};
|
|
2262
|
-
};
|
|
2263
|
-
readonly additionalProperties: false;
|
|
2264
2516
|
}];
|
|
2265
2517
|
};
|
|
2266
|
-
readonly
|
|
2267
|
-
readonly type: "
|
|
2268
|
-
readonly
|
|
2269
|
-
readonly
|
|
2270
|
-
readonly
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
};
|
|
2302
|
-
readonly initialInput: {
|
|
2303
|
-
readonly type: "string";
|
|
2304
|
-
};
|
|
2305
|
-
readonly initialInputAsFilePointer: {
|
|
2306
|
-
readonly type: "boolean";
|
|
2307
|
-
};
|
|
2308
|
-
readonly initialInputAttachments: {
|
|
2309
|
-
readonly type: "array";
|
|
2310
|
-
readonly items: {
|
|
2311
|
-
readonly type: "string";
|
|
2312
|
-
};
|
|
2313
|
-
};
|
|
2518
|
+
readonly settings: {
|
|
2519
|
+
readonly type: "object";
|
|
2520
|
+
readonly minProperties: 1;
|
|
2521
|
+
readonly properties: {
|
|
2522
|
+
readonly name: {
|
|
2523
|
+
readonly type: "string";
|
|
2524
|
+
readonly minLength: 1;
|
|
2525
|
+
};
|
|
2526
|
+
readonly buildScript: {
|
|
2527
|
+
readonly type: readonly ["string", "null"];
|
|
2528
|
+
};
|
|
2529
|
+
readonly runScript: {
|
|
2530
|
+
readonly type: readonly ["string", "null"];
|
|
2531
|
+
};
|
|
2532
|
+
readonly archiveScript: {
|
|
2533
|
+
readonly type: readonly ["string", "null"];
|
|
2534
|
+
};
|
|
2535
|
+
readonly worktreeFolder: {
|
|
2536
|
+
readonly type: readonly ["string", "null"];
|
|
2537
|
+
};
|
|
2538
|
+
readonly openIdeCommand: {
|
|
2539
|
+
readonly type: readonly ["string", "null"];
|
|
2540
|
+
};
|
|
2541
|
+
readonly systemPrompt: {
|
|
2542
|
+
readonly type: readonly ["string", "null"];
|
|
2543
|
+
};
|
|
2544
|
+
readonly envVars: {
|
|
2545
|
+
readonly type: "object";
|
|
2546
|
+
readonly description: "set adds or replaces variables by key; remove deletes them by key.";
|
|
2547
|
+
readonly minProperties: 1;
|
|
2548
|
+
readonly properties: {
|
|
2549
|
+
readonly set: {
|
|
2550
|
+
readonly type: "array";
|
|
2551
|
+
readonly items: {
|
|
2552
|
+
readonly $ref: "#/jsonSchemas/projectEnvVar";
|
|
2314
2553
|
};
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
readonly type: "
|
|
2318
|
-
readonly
|
|
2319
|
-
|
|
2320
|
-
readonly
|
|
2321
|
-
readonly type: "string";
|
|
2322
|
-
};
|
|
2323
|
-
readonly agentType: {
|
|
2324
|
-
readonly enum: readonly ["codex", "claude", "cursor"];
|
|
2325
|
-
};
|
|
2326
|
-
readonly title: {
|
|
2327
|
-
readonly type: "string";
|
|
2328
|
-
};
|
|
2329
|
-
readonly initialInput: {
|
|
2330
|
-
readonly type: "string";
|
|
2331
|
-
};
|
|
2332
|
-
readonly initialInputAsFilePointer: {
|
|
2333
|
-
readonly type: "boolean";
|
|
2334
|
-
};
|
|
2335
|
-
readonly initialInputAttachments: {
|
|
2336
|
-
readonly type: "array";
|
|
2337
|
-
readonly items: {
|
|
2338
|
-
readonly type: "string";
|
|
2339
|
-
};
|
|
2340
|
-
};
|
|
2554
|
+
};
|
|
2555
|
+
readonly remove: {
|
|
2556
|
+
readonly type: "array";
|
|
2557
|
+
readonly items: {
|
|
2558
|
+
readonly type: "string";
|
|
2559
|
+
readonly minLength: 1;
|
|
2341
2560
|
};
|
|
2342
|
-
|
|
2343
|
-
}];
|
|
2561
|
+
};
|
|
2344
2562
|
};
|
|
2563
|
+
readonly additionalProperties: false;
|
|
2345
2564
|
};
|
|
2346
|
-
|
|
2565
|
+
};
|
|
2566
|
+
readonly additionalProperties: false;
|
|
2567
|
+
};
|
|
2568
|
+
readonly dryRun: {
|
|
2569
|
+
readonly type: "boolean";
|
|
2570
|
+
};
|
|
2571
|
+
};
|
|
2572
|
+
readonly additionalProperties: false;
|
|
2573
|
+
};
|
|
2574
|
+
readonly repoUpdateResult: {
|
|
2575
|
+
readonly type: "object";
|
|
2576
|
+
readonly required: readonly ["ok", "changed", "repo", "settings"];
|
|
2577
|
+
readonly properties: {
|
|
2578
|
+
readonly ok: {
|
|
2579
|
+
readonly const: true;
|
|
2580
|
+
};
|
|
2581
|
+
readonly dryRun: {
|
|
2582
|
+
readonly const: true;
|
|
2583
|
+
};
|
|
2584
|
+
readonly changed: {
|
|
2585
|
+
readonly type: "array";
|
|
2586
|
+
readonly items: {
|
|
2587
|
+
readonly enum: readonly ["name", "buildScript", "runScript", "archiveScript", "worktreeFolder", "openIdeCommand", "systemPrompt", "envVars"];
|
|
2588
|
+
};
|
|
2589
|
+
};
|
|
2590
|
+
readonly repo: {
|
|
2591
|
+
readonly $ref: "#/jsonSchemas/repoListResult/properties/repos/items";
|
|
2592
|
+
};
|
|
2593
|
+
readonly settings: {
|
|
2594
|
+
readonly $ref: "#/jsonSchemas/repoGetResult/$defs/settings";
|
|
2595
|
+
};
|
|
2596
|
+
};
|
|
2597
|
+
readonly additionalProperties: false;
|
|
2598
|
+
};
|
|
2599
|
+
readonly repoRenameRequest: {
|
|
2600
|
+
readonly type: "object";
|
|
2601
|
+
readonly required: readonly ["repo", "name"];
|
|
2602
|
+
readonly properties: {
|
|
2603
|
+
readonly repo: {
|
|
2604
|
+
readonly type: "string";
|
|
2605
|
+
};
|
|
2606
|
+
readonly name: {
|
|
2607
|
+
readonly type: "string";
|
|
2608
|
+
readonly minLength: 1;
|
|
2609
|
+
};
|
|
2610
|
+
};
|
|
2611
|
+
readonly additionalProperties: false;
|
|
2612
|
+
};
|
|
2613
|
+
readonly repoRenameResult: {
|
|
2614
|
+
readonly type: "object";
|
|
2615
|
+
readonly required: readonly ["ok", "repo"];
|
|
2616
|
+
readonly properties: {
|
|
2617
|
+
readonly ok: {
|
|
2618
|
+
readonly const: true;
|
|
2619
|
+
};
|
|
2620
|
+
readonly repo: {
|
|
2621
|
+
readonly $ref: "#/jsonSchemas/repoListResult/properties/repos/items";
|
|
2622
|
+
};
|
|
2623
|
+
};
|
|
2624
|
+
readonly additionalProperties: false;
|
|
2625
|
+
};
|
|
2626
|
+
readonly secretSummary: {
|
|
2627
|
+
readonly type: "object";
|
|
2628
|
+
readonly required: readonly ["project", "name", "updatedAt", "machine"];
|
|
2629
|
+
readonly properties: {
|
|
2630
|
+
readonly project: {
|
|
2631
|
+
readonly type: "string";
|
|
2632
|
+
};
|
|
2633
|
+
readonly name: {
|
|
2634
|
+
readonly type: "string";
|
|
2635
|
+
};
|
|
2636
|
+
readonly updatedAt: {
|
|
2637
|
+
readonly type: "string";
|
|
2638
|
+
readonly description: "ISO time it was last set.";
|
|
2639
|
+
};
|
|
2640
|
+
readonly machine: {
|
|
2641
|
+
readonly type: "string";
|
|
2642
|
+
readonly description: "The machine where it was last set.";
|
|
2643
|
+
};
|
|
2644
|
+
};
|
|
2645
|
+
readonly additionalProperties: false;
|
|
2646
|
+
};
|
|
2647
|
+
readonly secretListRequest: {
|
|
2648
|
+
readonly type: "object";
|
|
2649
|
+
readonly properties: {
|
|
2650
|
+
readonly project: {
|
|
2651
|
+
readonly type: "string";
|
|
2652
|
+
};
|
|
2653
|
+
};
|
|
2654
|
+
readonly additionalProperties: false;
|
|
2655
|
+
};
|
|
2656
|
+
readonly secretListResult: {
|
|
2657
|
+
readonly type: "object";
|
|
2658
|
+
readonly required: readonly ["ok", "secrets", "storage"];
|
|
2659
|
+
readonly properties: {
|
|
2660
|
+
readonly ok: {
|
|
2661
|
+
readonly const: true;
|
|
2662
|
+
};
|
|
2663
|
+
readonly secrets: {
|
|
2664
|
+
readonly type: "array";
|
|
2665
|
+
readonly items: {
|
|
2666
|
+
readonly $ref: "#/jsonSchemas/secretSummary";
|
|
2667
|
+
};
|
|
2668
|
+
};
|
|
2669
|
+
readonly storage: {
|
|
2670
|
+
readonly type: "object";
|
|
2671
|
+
readonly description: "Where this machine keeps values. encrypted is false only for the file store on a machine without an OS keyring.";
|
|
2672
|
+
readonly required: readonly ["kind", "encrypted"];
|
|
2673
|
+
readonly properties: {
|
|
2674
|
+
readonly kind: {
|
|
2675
|
+
readonly enum: readonly ["keychain", "file"];
|
|
2676
|
+
};
|
|
2677
|
+
readonly encrypted: {
|
|
2678
|
+
readonly type: "boolean";
|
|
2679
|
+
};
|
|
2680
|
+
};
|
|
2681
|
+
readonly additionalProperties: false;
|
|
2682
|
+
};
|
|
2683
|
+
};
|
|
2684
|
+
readonly additionalProperties: false;
|
|
2685
|
+
};
|
|
2686
|
+
readonly secretSetRequest: {
|
|
2687
|
+
readonly description: "What `runpane secrets set` sends on runpane:secrets:set. value comes from stdin.";
|
|
2688
|
+
readonly type: "object";
|
|
2689
|
+
readonly required: readonly ["project", "name", "value"];
|
|
2690
|
+
readonly properties: {
|
|
2691
|
+
readonly project: {
|
|
2692
|
+
readonly type: "string";
|
|
2693
|
+
readonly minLength: 1;
|
|
2694
|
+
};
|
|
2695
|
+
readonly name: {
|
|
2696
|
+
readonly type: "string";
|
|
2697
|
+
readonly minLength: 1;
|
|
2698
|
+
};
|
|
2699
|
+
readonly value: {
|
|
2700
|
+
readonly type: "string";
|
|
2701
|
+
readonly minLength: 1;
|
|
2702
|
+
};
|
|
2703
|
+
};
|
|
2704
|
+
readonly additionalProperties: false;
|
|
2705
|
+
};
|
|
2706
|
+
readonly secretSetResult: {
|
|
2707
|
+
readonly type: "object";
|
|
2708
|
+
readonly required: readonly ["ok", "replaced", "secret"];
|
|
2709
|
+
readonly properties: {
|
|
2710
|
+
readonly ok: {
|
|
2711
|
+
readonly const: true;
|
|
2712
|
+
};
|
|
2713
|
+
readonly replaced: {
|
|
2714
|
+
readonly type: "boolean";
|
|
2715
|
+
};
|
|
2716
|
+
readonly secret: {
|
|
2717
|
+
readonly $ref: "#/jsonSchemas/secretSummary";
|
|
2718
|
+
};
|
|
2719
|
+
};
|
|
2720
|
+
readonly additionalProperties: false;
|
|
2721
|
+
};
|
|
2722
|
+
readonly secretDeleteRequest: {
|
|
2723
|
+
readonly type: "object";
|
|
2724
|
+
readonly required: readonly ["project", "name"];
|
|
2725
|
+
readonly properties: {
|
|
2726
|
+
readonly project: {
|
|
2727
|
+
readonly type: "string";
|
|
2728
|
+
readonly minLength: 1;
|
|
2729
|
+
};
|
|
2730
|
+
readonly name: {
|
|
2731
|
+
readonly type: "string";
|
|
2732
|
+
readonly minLength: 1;
|
|
2733
|
+
};
|
|
2734
|
+
};
|
|
2735
|
+
readonly additionalProperties: false;
|
|
2736
|
+
};
|
|
2737
|
+
readonly secretDeleteResult: {
|
|
2738
|
+
readonly type: "object";
|
|
2739
|
+
readonly required: readonly ["ok", "deleted"];
|
|
2740
|
+
readonly properties: {
|
|
2741
|
+
readonly ok: {
|
|
2742
|
+
readonly const: true;
|
|
2743
|
+
};
|
|
2744
|
+
readonly deleted: {
|
|
2745
|
+
readonly type: "object";
|
|
2746
|
+
readonly required: readonly ["project", "name"];
|
|
2747
|
+
readonly properties: {
|
|
2748
|
+
readonly project: {
|
|
2749
|
+
readonly type: "string";
|
|
2750
|
+
};
|
|
2751
|
+
readonly name: {
|
|
2752
|
+
readonly type: "string";
|
|
2753
|
+
};
|
|
2754
|
+
};
|
|
2755
|
+
readonly additionalProperties: false;
|
|
2756
|
+
};
|
|
2757
|
+
};
|
|
2758
|
+
readonly additionalProperties: false;
|
|
2759
|
+
};
|
|
2760
|
+
readonly projectEnvVar: {
|
|
2761
|
+
readonly description: "A project environment variable. Plain values are shown in full; keychain and Pane secret variables are references, never values.";
|
|
2762
|
+
readonly oneOf: readonly [{
|
|
2763
|
+
readonly type: "object";
|
|
2764
|
+
readonly required: readonly ["key", "source", "value"];
|
|
2765
|
+
readonly properties: {
|
|
2766
|
+
readonly key: {
|
|
2767
|
+
readonly type: "string";
|
|
2768
|
+
readonly minLength: 1;
|
|
2769
|
+
};
|
|
2770
|
+
readonly source: {
|
|
2771
|
+
readonly const: "plain";
|
|
2772
|
+
};
|
|
2773
|
+
readonly value: {
|
|
2774
|
+
readonly type: "string";
|
|
2775
|
+
};
|
|
2776
|
+
};
|
|
2777
|
+
readonly additionalProperties: false;
|
|
2778
|
+
}, {
|
|
2779
|
+
readonly type: "object";
|
|
2780
|
+
readonly description: "An existing macOS keychain generic-password item.";
|
|
2781
|
+
readonly required: readonly ["key", "source", "service", "account"];
|
|
2782
|
+
readonly properties: {
|
|
2783
|
+
readonly key: {
|
|
2784
|
+
readonly type: "string";
|
|
2785
|
+
readonly minLength: 1;
|
|
2786
|
+
};
|
|
2787
|
+
readonly source: {
|
|
2788
|
+
readonly const: "keychain";
|
|
2789
|
+
};
|
|
2790
|
+
readonly service: {
|
|
2791
|
+
readonly type: "string";
|
|
2792
|
+
readonly minLength: 1;
|
|
2793
|
+
};
|
|
2794
|
+
readonly account: {
|
|
2795
|
+
readonly type: "string";
|
|
2796
|
+
readonly minLength: 1;
|
|
2797
|
+
};
|
|
2798
|
+
};
|
|
2799
|
+
readonly additionalProperties: false;
|
|
2800
|
+
}, {
|
|
2801
|
+
readonly type: "object";
|
|
2802
|
+
readonly description: "The Pane secret project/name.";
|
|
2803
|
+
readonly required: readonly ["key", "source", "project", "name"];
|
|
2804
|
+
readonly properties: {
|
|
2805
|
+
readonly key: {
|
|
2806
|
+
readonly type: "string";
|
|
2807
|
+
readonly minLength: 1;
|
|
2808
|
+
};
|
|
2809
|
+
readonly source: {
|
|
2810
|
+
readonly const: "secret";
|
|
2811
|
+
};
|
|
2812
|
+
readonly project: {
|
|
2813
|
+
readonly type: "string";
|
|
2814
|
+
readonly minLength: 1;
|
|
2815
|
+
};
|
|
2816
|
+
readonly name: {
|
|
2817
|
+
readonly type: "string";
|
|
2818
|
+
readonly minLength: 1;
|
|
2819
|
+
};
|
|
2820
|
+
};
|
|
2821
|
+
readonly additionalProperties: false;
|
|
2822
|
+
}];
|
|
2823
|
+
};
|
|
2824
|
+
readonly paneCreateRequest: {
|
|
2825
|
+
readonly type: "object";
|
|
2826
|
+
readonly required: readonly ["repo", "panes"];
|
|
2827
|
+
readonly properties: {
|
|
2828
|
+
readonly repo: {
|
|
2829
|
+
readonly oneOf: readonly [{
|
|
2830
|
+
readonly type: "string";
|
|
2831
|
+
}, {
|
|
2832
|
+
readonly type: "object";
|
|
2833
|
+
readonly properties: {
|
|
2834
|
+
readonly id: {
|
|
2835
|
+
readonly type: "number";
|
|
2836
|
+
};
|
|
2837
|
+
readonly path: {
|
|
2838
|
+
readonly type: "string";
|
|
2839
|
+
};
|
|
2840
|
+
readonly name: {
|
|
2841
|
+
readonly type: "string";
|
|
2842
|
+
};
|
|
2843
|
+
readonly active: {
|
|
2844
|
+
readonly const: true;
|
|
2845
|
+
};
|
|
2846
|
+
};
|
|
2847
|
+
readonly additionalProperties: false;
|
|
2848
|
+
}];
|
|
2849
|
+
};
|
|
2850
|
+
readonly panes: {
|
|
2851
|
+
readonly type: "array";
|
|
2852
|
+
readonly minItems: 1;
|
|
2853
|
+
readonly items: {
|
|
2854
|
+
readonly type: "object";
|
|
2855
|
+
readonly required: readonly ["name", "tool"];
|
|
2856
|
+
readonly properties: {
|
|
2857
|
+
readonly name: {
|
|
2858
|
+
readonly type: "string";
|
|
2859
|
+
};
|
|
2860
|
+
readonly worktreeName: {
|
|
2861
|
+
readonly type: "string";
|
|
2862
|
+
};
|
|
2863
|
+
readonly branch: {
|
|
2864
|
+
readonly type: "string";
|
|
2865
|
+
};
|
|
2866
|
+
readonly baseBranch: {
|
|
2867
|
+
readonly type: "string";
|
|
2868
|
+
};
|
|
2869
|
+
readonly sessionPrompt: {
|
|
2870
|
+
readonly type: "string";
|
|
2871
|
+
};
|
|
2872
|
+
readonly pinned: {
|
|
2873
|
+
readonly type: "boolean";
|
|
2874
|
+
};
|
|
2875
|
+
readonly tool: {
|
|
2876
|
+
readonly oneOf: readonly [{
|
|
2877
|
+
readonly type: "object";
|
|
2878
|
+
readonly required: readonly ["agent"];
|
|
2879
|
+
readonly properties: {
|
|
2880
|
+
readonly agent: {
|
|
2881
|
+
readonly enum: readonly ["codex", "claude"];
|
|
2882
|
+
};
|
|
2883
|
+
readonly title: {
|
|
2884
|
+
readonly type: "string";
|
|
2885
|
+
};
|
|
2886
|
+
readonly initialInput: {
|
|
2887
|
+
readonly type: "string";
|
|
2888
|
+
};
|
|
2889
|
+
readonly initialInputAsFilePointer: {
|
|
2890
|
+
readonly type: "boolean";
|
|
2891
|
+
};
|
|
2892
|
+
readonly initialInputAttachments: {
|
|
2893
|
+
readonly type: "array";
|
|
2894
|
+
readonly items: {
|
|
2895
|
+
readonly type: "string";
|
|
2896
|
+
};
|
|
2897
|
+
};
|
|
2898
|
+
};
|
|
2899
|
+
readonly additionalProperties: false;
|
|
2900
|
+
}, {
|
|
2901
|
+
readonly type: "object";
|
|
2902
|
+
readonly required: readonly ["command"];
|
|
2903
|
+
readonly properties: {
|
|
2904
|
+
readonly command: {
|
|
2905
|
+
readonly type: "string";
|
|
2906
|
+
};
|
|
2907
|
+
readonly agentType: {
|
|
2908
|
+
readonly enum: readonly ["codex", "claude", "cursor"];
|
|
2909
|
+
};
|
|
2910
|
+
readonly title: {
|
|
2911
|
+
readonly type: "string";
|
|
2912
|
+
};
|
|
2913
|
+
readonly initialInput: {
|
|
2914
|
+
readonly type: "string";
|
|
2915
|
+
};
|
|
2916
|
+
readonly initialInputAsFilePointer: {
|
|
2917
|
+
readonly type: "boolean";
|
|
2918
|
+
};
|
|
2919
|
+
readonly initialInputAttachments: {
|
|
2920
|
+
readonly type: "array";
|
|
2921
|
+
readonly items: {
|
|
2922
|
+
readonly type: "string";
|
|
2923
|
+
};
|
|
2924
|
+
};
|
|
2925
|
+
};
|
|
2926
|
+
readonly additionalProperties: false;
|
|
2927
|
+
}];
|
|
2928
|
+
};
|
|
2929
|
+
};
|
|
2930
|
+
readonly additionalProperties: false;
|
|
2347
2931
|
};
|
|
2348
2932
|
};
|
|
2349
2933
|
readonly dryRun: {
|
|
@@ -2767,6 +3351,14 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
2767
3351
|
readonly lastActivity: {
|
|
2768
3352
|
readonly type: "string";
|
|
2769
3353
|
};
|
|
3354
|
+
readonly inactiveSince: {
|
|
3355
|
+
readonly type: "string";
|
|
3356
|
+
readonly description: "When the Pane was last used: the latest terminal output or input in its tabs, or the last time the person selected it (ISO 8601).";
|
|
3357
|
+
};
|
|
3358
|
+
readonly paused: {
|
|
3359
|
+
readonly $ref: "#/jsonSchemas/pausedMark";
|
|
3360
|
+
readonly description: "Set while every terminal tab of the Pane is paused: the latest tab's mark.";
|
|
3361
|
+
};
|
|
2770
3362
|
readonly archived: {
|
|
2771
3363
|
readonly type: "boolean";
|
|
2772
3364
|
};
|
|
@@ -3052,7 +3644,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
3052
3644
|
readonly type: "string";
|
|
3053
3645
|
};
|
|
3054
3646
|
readonly kind: {
|
|
3055
|
-
readonly enum: readonly ["agent.ready", "agent.busy", "agent.blocked", "agent.unknown", "agent.idle", "pane.created", "pane.gone", "panel.exited", "panel.stopped", "agent.report", "agent.report.missing", "pane.associated", "pane.detached", "pr.conflicted", "pr.checks", "pr.merged", "pr.closed", "pr.head", "pr.base_changed", "pr.base_deleted", "pr.review", "pr.comment", "pr.stopped", "github.unavailable", "github.recovered"];
|
|
3647
|
+
readonly enum: readonly ["agent.ready", "agent.busy", "agent.blocked", "agent.unknown", "agent.idle", "pane.created", "pane.gone", "panel.exited", "panel.stopped", "panel.paused", "panel.unpaused", "agent.report", "agent.report.missing", "pane.associated", "pane.detached", "pr.conflicted", "pr.checks", "pr.merged", "pr.closed", "pr.head", "pr.base_changed", "pr.base_deleted", "pr.review", "pr.comment", "pr.stopped", "github.unavailable", "github.recovered"];
|
|
3056
3648
|
};
|
|
3057
3649
|
readonly paneId: {
|
|
3058
3650
|
readonly type: "string";
|
|
@@ -3072,6 +3664,9 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
3072
3664
|
readonly panelId: {
|
|
3073
3665
|
readonly type: "string";
|
|
3074
3666
|
};
|
|
3667
|
+
readonly panelTitle: {
|
|
3668
|
+
readonly type: "string";
|
|
3669
|
+
};
|
|
3075
3670
|
readonly agentType: {
|
|
3076
3671
|
readonly type: "string";
|
|
3077
3672
|
};
|
|
@@ -3180,6 +3775,31 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
3180
3775
|
readonly type: "string";
|
|
3181
3776
|
readonly description: "Added to watch --json NDJSON events. Persist with gen after processing for numeric rearm.";
|
|
3182
3777
|
};
|
|
3778
|
+
readonly panels: {
|
|
3779
|
+
readonly type: "array";
|
|
3780
|
+
readonly items: {
|
|
3781
|
+
readonly type: "object";
|
|
3782
|
+
readonly required: readonly ["panelId", "title"];
|
|
3783
|
+
readonly properties: {
|
|
3784
|
+
readonly panelId: {
|
|
3785
|
+
readonly type: "string";
|
|
3786
|
+
};
|
|
3787
|
+
readonly title: {
|
|
3788
|
+
readonly type: "string";
|
|
3789
|
+
};
|
|
3790
|
+
readonly agentType: {
|
|
3791
|
+
readonly type: "string";
|
|
3792
|
+
};
|
|
3793
|
+
readonly agentState: {
|
|
3794
|
+
readonly enum: readonly ["blocked", "working", "idle", "unknown"];
|
|
3795
|
+
};
|
|
3796
|
+
readonly running: {
|
|
3797
|
+
readonly type: "boolean";
|
|
3798
|
+
};
|
|
3799
|
+
};
|
|
3800
|
+
readonly additionalProperties: false;
|
|
3801
|
+
};
|
|
3802
|
+
};
|
|
3183
3803
|
readonly lastOutput: {
|
|
3184
3804
|
readonly type: "string";
|
|
3185
3805
|
readonly description: "What an agent.report.missing entry's agent said last, up to 2,000 characters (the end is kept).";
|
|
@@ -3683,6 +4303,46 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
3683
4303
|
};
|
|
3684
4304
|
readonly additionalProperties: false;
|
|
3685
4305
|
};
|
|
4306
|
+
readonly busyAgents: {
|
|
4307
|
+
readonly type: "array";
|
|
4308
|
+
readonly description: "Agents in the Pane that are mid-turn (working) or waiting for an answer (blocked). Archiving would stop them, so archive refuses with agent-busy unless --force.";
|
|
4309
|
+
readonly items: {
|
|
4310
|
+
readonly type: "object";
|
|
4311
|
+
readonly required: readonly ["panelId", "title", "state"];
|
|
4312
|
+
readonly properties: {
|
|
4313
|
+
readonly panelId: {
|
|
4314
|
+
readonly type: "string";
|
|
4315
|
+
};
|
|
4316
|
+
readonly title: {
|
|
4317
|
+
readonly type: "string";
|
|
4318
|
+
};
|
|
4319
|
+
readonly state: {
|
|
4320
|
+
readonly enum: readonly ["working", "blocked"];
|
|
4321
|
+
};
|
|
4322
|
+
};
|
|
4323
|
+
readonly additionalProperties: false;
|
|
4324
|
+
};
|
|
4325
|
+
};
|
|
4326
|
+
readonly unsentInput: {
|
|
4327
|
+
readonly type: "array";
|
|
4328
|
+
readonly description: "Tabs holding input a person typed that archiving would lose: an agent composer's unsent text or an editor's unsaved edits. Archive refuses with unsent-input unless --force.";
|
|
4329
|
+
readonly items: {
|
|
4330
|
+
readonly type: "object";
|
|
4331
|
+
readonly required: readonly ["panelId", "title", "kind"];
|
|
4332
|
+
readonly properties: {
|
|
4333
|
+
readonly panelId: {
|
|
4334
|
+
readonly type: "string";
|
|
4335
|
+
};
|
|
4336
|
+
readonly title: {
|
|
4337
|
+
readonly type: "string";
|
|
4338
|
+
};
|
|
4339
|
+
readonly kind: {
|
|
4340
|
+
readonly enum: readonly ["composer", "editor"];
|
|
4341
|
+
};
|
|
4342
|
+
};
|
|
4343
|
+
readonly additionalProperties: false;
|
|
4344
|
+
};
|
|
4345
|
+
};
|
|
3686
4346
|
};
|
|
3687
4347
|
readonly additionalProperties: false;
|
|
3688
4348
|
};
|
|
@@ -3736,7 +4396,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
3736
4396
|
readonly required: readonly ["code", "message", "safetyCheck"];
|
|
3737
4397
|
readonly properties: {
|
|
3738
4398
|
readonly code: {
|
|
3739
|
-
readonly enum: readonly ["uncommitted-changes", "unpushed-commits", "uncommitted-and-unpushed", "status-unknown"];
|
|
4399
|
+
readonly enum: readonly ["uncommitted-changes", "unpushed-commits", "uncommitted-and-unpushed", "status-unknown", "agent-busy", "unsent-input"];
|
|
3740
4400
|
};
|
|
3741
4401
|
readonly message: {
|
|
3742
4402
|
readonly type: "string";
|
|
@@ -3788,6 +4448,12 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
3788
4448
|
readonly worktreeWillRemain: {
|
|
3789
4449
|
readonly const: true;
|
|
3790
4450
|
};
|
|
4451
|
+
readonly busyAgents: {
|
|
4452
|
+
readonly $ref: "#/jsonSchemas/paneArchiveResult/oneOf/0/properties/safetyCheck/properties/busyAgents";
|
|
4453
|
+
};
|
|
4454
|
+
readonly unsentInput: {
|
|
4455
|
+
readonly $ref: "#/jsonSchemas/paneArchiveResult/oneOf/0/properties/safetyCheck/properties/unsentInput";
|
|
4456
|
+
};
|
|
3791
4457
|
};
|
|
3792
4458
|
readonly additionalProperties: false;
|
|
3793
4459
|
};
|
|
@@ -3876,6 +4542,9 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
3876
4542
|
readonly resumeSource: {
|
|
3877
4543
|
readonly enum: readonly ["agent-farm", "configured", "agent"];
|
|
3878
4544
|
};
|
|
4545
|
+
readonly paused: {
|
|
4546
|
+
readonly $ref: "#/jsonSchemas/pausedMark";
|
|
4547
|
+
};
|
|
3879
4548
|
};
|
|
3880
4549
|
readonly additionalProperties: false;
|
|
3881
4550
|
};
|
|
@@ -4508,6 +5177,9 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
4508
5177
|
readonly report: {
|
|
4509
5178
|
readonly $ref: "#/jsonSchemas/agentReport";
|
|
4510
5179
|
};
|
|
5180
|
+
readonly paused: {
|
|
5181
|
+
readonly $ref: "#/jsonSchemas/pausedMark";
|
|
5182
|
+
};
|
|
4511
5183
|
};
|
|
4512
5184
|
readonly additionalProperties: false;
|
|
4513
5185
|
};
|
|
@@ -5210,6 +5882,42 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
5210
5882
|
};
|
|
5211
5883
|
readonly additionalProperties: false;
|
|
5212
5884
|
};
|
|
5885
|
+
readonly panelCloseRequest: {
|
|
5886
|
+
readonly type: "object";
|
|
5887
|
+
readonly required: readonly ["panelId"];
|
|
5888
|
+
readonly properties: {
|
|
5889
|
+
readonly panelId: {
|
|
5890
|
+
readonly type: "string";
|
|
5891
|
+
};
|
|
5892
|
+
};
|
|
5893
|
+
readonly additionalProperties: false;
|
|
5894
|
+
};
|
|
5895
|
+
readonly panelCloseResult: {
|
|
5896
|
+
readonly type: "object";
|
|
5897
|
+
readonly required: readonly ["ok", "paneId", "panelId", "type", "title"];
|
|
5898
|
+
readonly properties: {
|
|
5899
|
+
readonly ok: {
|
|
5900
|
+
readonly const: true;
|
|
5901
|
+
};
|
|
5902
|
+
readonly generation: {
|
|
5903
|
+
readonly type: "number";
|
|
5904
|
+
};
|
|
5905
|
+
readonly paneId: {
|
|
5906
|
+
readonly type: "string";
|
|
5907
|
+
};
|
|
5908
|
+
readonly panelId: {
|
|
5909
|
+
readonly type: "string";
|
|
5910
|
+
};
|
|
5911
|
+
readonly type: {
|
|
5912
|
+
readonly type: "string";
|
|
5913
|
+
readonly description: "The closed tab's type, such as terminal, browser or editor.";
|
|
5914
|
+
};
|
|
5915
|
+
readonly title: {
|
|
5916
|
+
readonly type: "string";
|
|
5917
|
+
};
|
|
5918
|
+
};
|
|
5919
|
+
readonly additionalProperties: false;
|
|
5920
|
+
};
|
|
5213
5921
|
readonly sessionListResult: {
|
|
5214
5922
|
readonly type: "object";
|
|
5215
5923
|
readonly required: readonly ["ok", "sessions"];
|
|
@@ -5245,6 +5953,58 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
5245
5953
|
readonly internalSessionId: {
|
|
5246
5954
|
readonly type: "string";
|
|
5247
5955
|
};
|
|
5956
|
+
readonly panes: {
|
|
5957
|
+
readonly type: "object";
|
|
5958
|
+
readonly description: "Only when the update archived the Session: what happened to each associated Pane.";
|
|
5959
|
+
readonly required: readonly ["archivedPaneIds", "keptPanes", "failedPanes"];
|
|
5960
|
+
readonly properties: {
|
|
5961
|
+
readonly archivedPaneIds: {
|
|
5962
|
+
readonly type: "array";
|
|
5963
|
+
readonly items: {
|
|
5964
|
+
readonly type: "string";
|
|
5965
|
+
};
|
|
5966
|
+
};
|
|
5967
|
+
readonly keptPanes: {
|
|
5968
|
+
readonly type: "array";
|
|
5969
|
+
readonly items: {
|
|
5970
|
+
readonly type: "object";
|
|
5971
|
+
readonly required: readonly ["paneId", "name", "code"];
|
|
5972
|
+
readonly properties: {
|
|
5973
|
+
readonly paneId: {
|
|
5974
|
+
readonly type: "string";
|
|
5975
|
+
};
|
|
5976
|
+
readonly name: {
|
|
5977
|
+
readonly type: "string";
|
|
5978
|
+
};
|
|
5979
|
+
readonly code: {
|
|
5980
|
+
readonly enum: readonly ["uncommitted-changes", "unpushed-commits", "uncommitted-and-unpushed", "status-unknown", "agent-busy", "unsent-input"];
|
|
5981
|
+
};
|
|
5982
|
+
};
|
|
5983
|
+
readonly additionalProperties: false;
|
|
5984
|
+
};
|
|
5985
|
+
};
|
|
5986
|
+
readonly failedPanes: {
|
|
5987
|
+
readonly type: "array";
|
|
5988
|
+
readonly items: {
|
|
5989
|
+
readonly type: "object";
|
|
5990
|
+
readonly required: readonly ["paneId", "name", "error"];
|
|
5991
|
+
readonly properties: {
|
|
5992
|
+
readonly paneId: {
|
|
5993
|
+
readonly type: "string";
|
|
5994
|
+
};
|
|
5995
|
+
readonly name: {
|
|
5996
|
+
readonly type: "string";
|
|
5997
|
+
};
|
|
5998
|
+
readonly error: {
|
|
5999
|
+
readonly type: "string";
|
|
6000
|
+
};
|
|
6001
|
+
};
|
|
6002
|
+
readonly additionalProperties: false;
|
|
6003
|
+
};
|
|
6004
|
+
};
|
|
6005
|
+
};
|
|
6006
|
+
readonly additionalProperties: false;
|
|
6007
|
+
};
|
|
5248
6008
|
};
|
|
5249
6009
|
readonly additionalProperties: false;
|
|
5250
6010
|
};
|
|
@@ -5827,7 +6587,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
5827
6587
|
readonly required: readonly ["code", "message"];
|
|
5828
6588
|
readonly properties: {
|
|
5829
6589
|
readonly code: {
|
|
5830
|
-
readonly enum: readonly ["uncommitted-changes", "unpushed-commits", "uncommitted-and-unpushed", "status-unknown", "missing-pane", "already-archived", "main-repo", "pr-open", "pr-not-merged", "pr-status-unknown"];
|
|
6590
|
+
readonly enum: readonly ["uncommitted-changes", "unpushed-commits", "uncommitted-and-unpushed", "status-unknown", "agent-busy", "unsent-input", "missing-pane", "already-archived", "main-repo", "pr-open", "pr-not-merged", "pr-status-unknown"];
|
|
5831
6591
|
};
|
|
5832
6592
|
readonly message: {
|
|
5833
6593
|
readonly type: "string";
|
|
@@ -6298,12 +7058,12 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
6298
7058
|
readonly additionalProperties: false;
|
|
6299
7059
|
};
|
|
6300
7060
|
readonly notifyRequest: {
|
|
6301
|
-
readonly description: "What `runpane notify`
|
|
7061
|
+
readonly description: "What `runpane notify` and `runpane secrets request` send on the runpane:notify daemon channel: the question fields, or resume alone. Only `secrets request` sends ui secret.";
|
|
6302
7062
|
readonly type: "object";
|
|
6303
7063
|
readonly required: readonly ["caller"];
|
|
6304
7064
|
readonly properties: {
|
|
6305
7065
|
readonly ui: {
|
|
6306
|
-
readonly enum: readonly ["options", "approve", "ask", "info"];
|
|
7066
|
+
readonly enum: readonly ["options", "approve", "ask", "secret", "info"];
|
|
6307
7067
|
};
|
|
6308
7068
|
readonly title: {
|
|
6309
7069
|
readonly type: "string";
|
|
@@ -6337,6 +7097,22 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
6337
7097
|
readonly action: {
|
|
6338
7098
|
readonly $ref: "#/jsonSchemas/notifyAction";
|
|
6339
7099
|
};
|
|
7100
|
+
readonly secret: {
|
|
7101
|
+
readonly type: "object";
|
|
7102
|
+
readonly description: "ui secret only: the Pane secret the answer is saved as.";
|
|
7103
|
+
readonly required: readonly ["project", "name"];
|
|
7104
|
+
readonly properties: {
|
|
7105
|
+
readonly project: {
|
|
7106
|
+
readonly type: "string";
|
|
7107
|
+
readonly minLength: 1;
|
|
7108
|
+
};
|
|
7109
|
+
readonly name: {
|
|
7110
|
+
readonly type: "string";
|
|
7111
|
+
readonly minLength: 1;
|
|
7112
|
+
};
|
|
7113
|
+
};
|
|
7114
|
+
readonly additionalProperties: false;
|
|
7115
|
+
};
|
|
6340
7116
|
readonly resume: {
|
|
6341
7117
|
readonly type: "string";
|
|
6342
7118
|
readonly minLength: 1;
|
|
@@ -6404,6 +7180,32 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
6404
7180
|
};
|
|
6405
7181
|
};
|
|
6406
7182
|
readonly additionalProperties: false;
|
|
7183
|
+
}, {
|
|
7184
|
+
readonly type: "object";
|
|
7185
|
+
readonly description: "secret: the person saved the value as project/name. The value is never returned.";
|
|
7186
|
+
readonly required: readonly ["status", "project", "name"];
|
|
7187
|
+
readonly properties: {
|
|
7188
|
+
readonly status: {
|
|
7189
|
+
readonly const: "saved";
|
|
7190
|
+
};
|
|
7191
|
+
readonly project: {
|
|
7192
|
+
readonly type: "string";
|
|
7193
|
+
};
|
|
7194
|
+
readonly name: {
|
|
7195
|
+
readonly type: "string";
|
|
7196
|
+
};
|
|
7197
|
+
};
|
|
7198
|
+
readonly additionalProperties: false;
|
|
7199
|
+
}, {
|
|
7200
|
+
readonly type: "object";
|
|
7201
|
+
readonly description: "secret: the person declined; nothing was saved.";
|
|
7202
|
+
readonly required: readonly ["status"];
|
|
7203
|
+
readonly properties: {
|
|
7204
|
+
readonly status: {
|
|
7205
|
+
readonly const: "declined";
|
|
7206
|
+
};
|
|
7207
|
+
};
|
|
7208
|
+
readonly additionalProperties: false;
|
|
6407
7209
|
}, {
|
|
6408
7210
|
readonly type: "object";
|
|
6409
7211
|
readonly required: readonly ["waiting", "id", "next"];
|
|
@@ -6631,30 +7433,120 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
6631
7433
|
readonly exitCode: {
|
|
6632
7434
|
readonly type: readonly ["number", "null"];
|
|
6633
7435
|
};
|
|
6634
|
-
readonly signal: {
|
|
6635
|
-
readonly type: readonly ["string", "null"];
|
|
7436
|
+
readonly signal: {
|
|
7437
|
+
readonly type: readonly ["string", "null"];
|
|
7438
|
+
};
|
|
7439
|
+
readonly timedOut: {
|
|
7440
|
+
readonly type: "boolean";
|
|
7441
|
+
};
|
|
7442
|
+
readonly stillRunning: {
|
|
7443
|
+
readonly const: true;
|
|
7444
|
+
readonly description: "It timed out and could not be stopped.";
|
|
7445
|
+
};
|
|
7446
|
+
readonly stdout: {
|
|
7447
|
+
readonly type: "string";
|
|
7448
|
+
};
|
|
7449
|
+
readonly stderr: {
|
|
7450
|
+
readonly type: "string";
|
|
7451
|
+
};
|
|
7452
|
+
};
|
|
7453
|
+
};
|
|
7454
|
+
readonly pausedMark: {
|
|
7455
|
+
readonly type: "object";
|
|
7456
|
+
readonly required: readonly ["at", "by"];
|
|
7457
|
+
readonly properties: {
|
|
7458
|
+
readonly at: {
|
|
7459
|
+
readonly type: "string";
|
|
7460
|
+
readonly description: "When the tab was paused (ISO 8601).";
|
|
7461
|
+
};
|
|
7462
|
+
readonly by: {
|
|
7463
|
+
readonly enum: readonly ["manual", "auto"];
|
|
7464
|
+
readonly description: "manual: a person or agent paused it. auto: auto-pause paused it after idleHours without use.";
|
|
7465
|
+
};
|
|
7466
|
+
readonly idleHours: {
|
|
7467
|
+
readonly type: "number";
|
|
7468
|
+
};
|
|
7469
|
+
};
|
|
7470
|
+
readonly additionalProperties: false;
|
|
7471
|
+
};
|
|
7472
|
+
readonly pauseResult: {
|
|
7473
|
+
readonly type: "object";
|
|
7474
|
+
readonly required: readonly ["ok", "action", "scope", "panelIds", "unchanged", "failed", "message", "nextCommand"];
|
|
7475
|
+
readonly properties: {
|
|
7476
|
+
readonly ok: {
|
|
7477
|
+
readonly type: "boolean";
|
|
7478
|
+
readonly description: "False when a tab could not be resumed; the others still were.";
|
|
7479
|
+
};
|
|
7480
|
+
readonly action: {
|
|
7481
|
+
readonly enum: readonly ["paused", "resumed"];
|
|
7482
|
+
};
|
|
7483
|
+
readonly scope: {
|
|
7484
|
+
readonly type: "object";
|
|
7485
|
+
readonly required: readonly ["kind"];
|
|
7486
|
+
readonly properties: {
|
|
7487
|
+
readonly kind: {
|
|
7488
|
+
readonly enum: readonly ["panel", "pane", "session"];
|
|
7489
|
+
};
|
|
7490
|
+
readonly panelId: {
|
|
7491
|
+
readonly type: "string";
|
|
7492
|
+
};
|
|
7493
|
+
readonly paneId: {
|
|
7494
|
+
readonly type: "string";
|
|
7495
|
+
};
|
|
7496
|
+
readonly paneName: {
|
|
7497
|
+
readonly type: "string";
|
|
7498
|
+
};
|
|
7499
|
+
readonly sessionId: {
|
|
7500
|
+
readonly type: "string";
|
|
7501
|
+
};
|
|
7502
|
+
readonly sessionName: {
|
|
7503
|
+
readonly type: "string";
|
|
7504
|
+
};
|
|
7505
|
+
};
|
|
7506
|
+
readonly additionalProperties: false;
|
|
6636
7507
|
};
|
|
6637
|
-
readonly
|
|
6638
|
-
readonly type: "
|
|
7508
|
+
readonly panelIds: {
|
|
7509
|
+
readonly type: "array";
|
|
7510
|
+
readonly items: {
|
|
7511
|
+
readonly type: "string";
|
|
7512
|
+
};
|
|
7513
|
+
readonly description: "Tabs this call paused or resumed.";
|
|
6639
7514
|
};
|
|
6640
|
-
readonly
|
|
6641
|
-
readonly
|
|
6642
|
-
readonly description: "
|
|
7515
|
+
readonly unchanged: {
|
|
7516
|
+
readonly type: "number";
|
|
7517
|
+
readonly description: "Terminal tabs in scope that were already paused (for pause) or not paused (for resume).";
|
|
6643
7518
|
};
|
|
6644
|
-
readonly
|
|
7519
|
+
readonly failed: {
|
|
7520
|
+
readonly type: "array";
|
|
7521
|
+
readonly items: {
|
|
7522
|
+
readonly type: "object";
|
|
7523
|
+
readonly required: readonly ["panelId", "error"];
|
|
7524
|
+
readonly properties: {
|
|
7525
|
+
readonly panelId: {
|
|
7526
|
+
readonly type: "string";
|
|
7527
|
+
};
|
|
7528
|
+
readonly error: {
|
|
7529
|
+
readonly type: "string";
|
|
7530
|
+
};
|
|
7531
|
+
};
|
|
7532
|
+
readonly additionalProperties: false;
|
|
7533
|
+
};
|
|
7534
|
+
};
|
|
7535
|
+
readonly message: {
|
|
6645
7536
|
readonly type: "string";
|
|
6646
7537
|
};
|
|
6647
|
-
readonly
|
|
7538
|
+
readonly nextCommand: {
|
|
6648
7539
|
readonly type: "string";
|
|
6649
7540
|
};
|
|
6650
7541
|
};
|
|
7542
|
+
readonly additionalProperties: false;
|
|
6651
7543
|
};
|
|
6652
7544
|
};
|
|
6653
7545
|
readonly agentContext: {
|
|
6654
7546
|
readonly brief: {
|
|
6655
7547
|
readonly title: "Pane agent context";
|
|
6656
7548
|
readonly summary: "Pane lets a developer manage saved base repositories, user-visible Panes (Pane sessions) for feature/PR work, and terminal-backed panel tabs. A Pane is a visible workspace that normally maps to one Pane-managed git worktree and branch; a panel is a terminal tab inside one Pane and shares that Pane's worktree; an agent is a CLI process running inside a panel.";
|
|
6657
|
-
readonly rules: readonly ["Start with `runpane doctor --json` to understand wrapper, platform, daemon reachability, and the next safe commands before mutating Pane state.", "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`.", "Happy path for any user request to use Pane/RunPane: run `runpane doctor --json`, read `runpane agent-context --json`, resolve or add the saved base repo, then route by the rule 1 feature = 1 worktree = 1 branch = 1 Pane; reviews, audits, fixes and QA for it are tabs in that Pane: if the work's branch already has a Pane (find it with `runpane panes list --repo <repo> --json` by matching the PR's head branch against `git -C <worktreePath> branch --show-current`), open a new agent tab in it with `runpane panels create --pane <id> --agent <agent> --initial-input \"<task>\" --source agent --no-focus --wait-ready --yes --json`; only when the branch has no Pane yet, create one with a complete command such as `runpane panes create --repo <repo> --name <name> --agent <agent> --prompt \"<task>\" --source agent --no-focus --wait-ready --yes --json` (the new Pane is pinned by default; add `--no-pinned` for a throwaway Pane, add `--base-branch <ref>` to branch from something other than the repository default, or use `--tool-command <command>` instead of `--agent <agent>`), then validate with `panels wait` or `panels screen`. For long-lived supervision, use `runpane watch --follow` instead of polling wait or screen.", "Treat Pane as the user's visible cockpit for watching/co-driving work. Do not create Panes or panels for private delegation unless the user asked for visible Pane orchestration or the result should appear in the Pane app.", "Register the saved base repository once with `repos add`; do not register a pre-created worktree as a separate repo unless the user explicitly asks.", "1 feature = 1 worktree = 1 branch = 1 Pane; reviews, audits, fixes and QA for it are tabs in that Pane. Use `panes create` only when the work's branch has no Pane yet (new work, or an existing PR with no Pane), since each new Pane creates a worktree. Every later agent for that branch opens as a new tab in its Pane with `panels create --pane <id>`, never a new Pane. Tabs share one checkout: only the implementer changes the branch or HEAD, one writer at a time; review, audit and QA tabs never run `git checkout`, `reset` or `stash`.", "For private background decomposition, use your normal subagent/worktree mechanism instead of Pane.", "Skill routing: Pane's skills live in `<PANE_DIR>/skills/pane-chat/skills/`, and the Pane Chat entry point is `<PANE_DIR>/skills/pane-chat/pane-orchestrator/SKILL.md`; read the skill that matches the request, such as `discussion`, `create-ticket`, `tdd`, `prepare-pr`, or `review`.", "When an agent creates Panes or panels, pass `--source agent --no-focus --wait-ready --yes --json` unless the user explicitly wants focus moved; `panes create` pins the new Pane into the UI's favorite/pin set by default, so no follow-up `panes pin` call is needed and `--no-pinned` is the opt-out for throwaway Panes.", "Use `runpane agent-context --json` for the full agent-facing CLI context, or `runpane agent-context --command <command> --json` for one detailed command definition.", "For `agent-context --command`, use canonical spaced names like `panes create`; copied forms like `panes.create` or `runpane panes create` are accepted too.", "Use `runpane repos list --json` to find the saved repository when unsure after doctor shows the daemon is reachable.", "If WSL cannot reach Pane, the user may be running Windows Pane; try `/mnt/c/Users/<you>/.pane/bin/runpane doctor --json`, or with an older Pane build `powershell.exe -NoProfile -Command 'Set-Location $env:TEMP; runpane doctor --json'`.", "If the repository exists on disk but is not saved in Pane, use `runpane repos add --path <repo> --yes --json` before creating panes.", "Use `runpane agents doctor --agent <codex|claude|cursor> --repo <selector> --json` when agent availability differs across host, Windows, WSL, or repo environments.", "Use `runpane panes create --wait-ready` to create Panes, wait for each agent's input box, and verify its starting message in one call.", "Use `runpane panels screen` for compact current state, including Claude and Codex composer state. Use `panels wait` for create-time readiness or text checks. Use `runpane watch --follow` to block on workspace transitions (READY, BLOCKED, IDLE, STUCK, EXIT) without polling, or `runpane watch --until-event` to exit on the first one. Use `panels submit` to send and submit a new turn. Use `panels submit-composer --strategy auto` only for a composer that was filled separately.", "Use `runpane panels input` only when exact bytes are required, such as Ctrl-C or handcrafted terminal input.", "Pane terminals draw inline images: sixel, iTerm2 inline images, and the kitty graphics protocol. Tools that need kitty graphics, such as terminal-browser and terminal-doom, run inside a Pane panel; `runpane doctor --json` reports the exact list under `terminal.graphicsProtocols`.", "After creating Panes or sending terminal input, validate with `panels wait` or bounded `panels screen`. For a harness that consumes streaming output, use `runpane watch --follow` (with `--session <id>` for a Session); its named consumer applies settling and batching. Adding numeric --since leaves it unnamed and bypasses cadence; --as cannot be combined with --since. A harness that wakes only when a process exits uses `runpane watch --as <name> --until-event --json` and runs it again after each event. Single-event waits deliver immediately without follow cadence. Never pipe `--follow` into `grep -m1` or `head`.", "When several agents share one resource, such as a test account, name a lock in their prompts: each worker runs `runpane lock acquire --name <name> --ttl 30m --wait 1800000 --json` before using it and `runpane lock release --name <name>` after.", "Loops (`runpane loops create`) run a task on a cron schedule, each run in a new Pane or, with `--session`, as a message to a Session's agent. They are for large recurring jobs, such as a nightly bug sweep, and run at most once an hour. For a short wait, use your agent harness's own sleep and wake instead."];
|
|
7549
|
+
readonly rules: readonly ["Start with `runpane doctor --json` to understand wrapper, platform, daemon reachability, and the next safe commands before mutating Pane state.", "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`.", "Happy path for any user request to use Pane/RunPane: run `runpane doctor --json`, read `runpane agent-context --json`, resolve or add the saved base repo, then route by the rule 1 feature = 1 worktree = 1 branch = 1 Pane; reviews, audits, fixes and QA for it are tabs in that Pane: if the work's branch already has a Pane (find it with `runpane panes list --repo <repo> --json` by matching the PR's head branch against `git -C <worktreePath> branch --show-current`), open a new agent tab in it with `runpane panels create --pane <id> --agent <agent> --initial-input \"<task>\" --source agent --no-focus --wait-ready --yes --json`; only when the branch has no Pane yet, create one with a complete command such as `runpane panes create --repo <repo> --name <name> --agent <agent> --prompt \"<task>\" --source agent --no-focus --wait-ready --yes --json` (the new Pane is pinned by default; add `--no-pinned` for a throwaway Pane, add `--base-branch <ref>` to branch from something other than the repository default, or use `--tool-command <command>` instead of `--agent <agent>`), then validate with `panels wait` or `panels screen`. For long-lived supervision, use `runpane watch --follow` instead of polling wait or screen.", "Treat Pane as the user's visible cockpit for watching/co-driving work. Do not create Panes or panels for private delegation unless the user asked for visible Pane orchestration or the result should appear in the Pane app.", "Register the saved base repository once with `repos add`; do not register a pre-created worktree as a separate repo unless the user explicitly asks.", "1 feature = 1 worktree = 1 branch = 1 Pane; reviews, audits, fixes and QA for it are tabs in that Pane. Use `panes create` only when the work's branch has no Pane yet (new work, or an existing PR with no Pane), since each new Pane creates a worktree. Every later agent for that branch opens as a new tab in its Pane with `panels create --pane <id>`, never a new Pane. Tabs share one checkout: only the implementer changes the branch or HEAD, one writer at a time; review, audit and QA tabs never run `git checkout`, `reset` or `stash`.", "For private background decomposition, use your normal subagent/worktree mechanism instead of Pane.", "Skill routing: Pane's skills live in `<PANE_DIR>/skills/pane-chat/skills/`, and the Pane Chat entry point is `<PANE_DIR>/skills/pane-chat/pane-orchestrator/SKILL.md`; read the skill that matches the request, such as `discussion`, `create-ticket`, `tdd`, `prepare-pr`, or `review`.", "When an agent creates Panes or panels, pass `--source agent --no-focus --wait-ready --yes --json` unless the user explicitly wants focus moved; `panes create` pins the new Pane into the UI's favorite/pin set by default, so no follow-up `panes pin` call is needed and `--no-pinned` is the opt-out for throwaway Panes.", "Use `runpane agent-context --json` for the full agent-facing CLI context, or `runpane agent-context --command <command> --json` for one detailed command definition.", "For `agent-context --command`, use canonical spaced names like `panes create`; copied forms like `panes.create` or `runpane panes create` are accepted too.", "Use `runpane repos list --json` to find the saved repository when unsure after doctor shows the daemon is reachable.", "Read and change a repo's Project Settings (build, run, and archive scripts, worktree folder, environment variables) with `runpane repos get` and `runpane repos update`; never edit Pane's database by hand.", "When a command needs a secret (an API key, a token), run it with `runpane secrets exec --project <project> -- <command>`. If the secret is missing, ask the person with `runpane secrets request`; never ask them to paste a secret into the chat, and never print one.", "If WSL cannot reach Pane, the user may be running Windows Pane; try `/mnt/c/Users/<you>/.pane/bin/runpane doctor --json`, or with an older Pane build `powershell.exe -NoProfile -Command 'Set-Location $env:TEMP; runpane doctor --json'`.", "If the repository exists on disk but is not saved in Pane, use `runpane repos add --path <repo> --yes --json` before creating panes.", "Use `runpane agents doctor --agent <codex|claude|cursor> --repo <selector> --json` when agent availability differs across host, Windows, WSL, or repo environments.", "Use `runpane panes create --wait-ready` to create Panes, wait for each agent's input box, and verify its starting message in one call.", "Use `runpane panels screen` for compact current state, including Claude and Codex composer state. Use `panels wait` for create-time readiness or text checks. Use `runpane watch --follow` to block on workspace transitions (READY, BLOCKED, IDLE, STUCK, EXIT) without polling, or `runpane watch --until-event` to exit on the first one. Use `panels submit` to send and submit a new turn. Use `panels submit-composer --strategy auto` only for a composer that was filled separately.", "Use `runpane panels input` only when exact bytes are required, such as Ctrl-C or handcrafted terminal input.", "Pane terminals draw inline images: sixel, iTerm2 inline images, and the kitty graphics protocol. Tools that need kitty graphics, such as terminal-browser and terminal-doom, run inside a Pane panel; `runpane doctor --json` reports the exact list under `terminal.graphicsProtocols`.", "After creating Panes or sending terminal input, validate with `panels wait` or bounded `panels screen`. For a harness that consumes streaming output, use `runpane watch --follow` (with `--session <id>` for a Session); its named consumer applies settling and batching. Adding numeric --since leaves it unnamed and bypasses cadence; --as cannot be combined with --since. A harness that wakes only when a process exits uses `runpane watch --as <name> --until-event --json` and runs it again after each event. Single-event waits deliver immediately without follow cadence. Never pipe `--follow` into `grep -m1` or `head`.", "When several agents share one resource, such as a test account, name a lock in their prompts: each worker runs `runpane lock acquire --name <name> --ttl 30m --wait 1800000 --json` before using it and `runpane lock release --name <name>` after.", "Loops (`runpane loops create`) run a task on a cron schedule, each run in a new Pane or, with `--session`, as a message to a Session's agent. They are for large recurring jobs, such as a nightly bug sweep, and run at most once an hour. For a short wait, use your agent harness's own sleep and wake instead."];
|
|
6658
7550
|
readonly detailCommand: "runpane agent-context --command <command> [--json]";
|
|
6659
7551
|
readonly tools: readonly [{
|
|
6660
7552
|
readonly name: "doctor";
|
|
@@ -6676,10 +7568,30 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
6676
7568
|
readonly name: "repos add";
|
|
6677
7569
|
readonly summary: "Register an existing git repository with the running Pane app.";
|
|
6678
7570
|
readonly arguments: readonly ["--path <path>", "--name <name>", "--yes", "--json", "--dry-run", "--pane-dir <path>"];
|
|
7571
|
+
}, {
|
|
7572
|
+
readonly name: "repos get";
|
|
7573
|
+
readonly summary: "Show a saved repository's Project Settings and the scripts Pane will run.";
|
|
7574
|
+
readonly arguments: readonly ["--repo <selector>", "--json", "--pane-dir <path>"];
|
|
7575
|
+
}, {
|
|
7576
|
+
readonly name: "repos update";
|
|
7577
|
+
readonly summary: "Change a saved repository's Project Settings: scripts, worktree folder, name, IDE command, system prompt, and environment variables.";
|
|
7578
|
+
readonly arguments: readonly ["--repo <selector>", "--build-script <script>", "--run-script <script>", "--archive-script <script>", "--worktree-folder <path>", "--env <json>", "--env-remove <name,...>", "--name <name>", "--clear <setting,...>", "--from-json <path|->", "--yes", "--dry-run", "--json"];
|
|
6679
7579
|
}, {
|
|
6680
7580
|
readonly name: "repos rename";
|
|
6681
7581
|
readonly summary: "Rename a repository saved in the running Pane app.";
|
|
6682
7582
|
readonly arguments: readonly ["--repo <selector>", "--name <name>", "--yes", "--json", "--pane-dir <path>"];
|
|
7583
|
+
}, {
|
|
7584
|
+
readonly name: "secrets list";
|
|
7585
|
+
readonly summary: "List Pane secrets: project, name, time and machine. Never a value.";
|
|
7586
|
+
readonly arguments: readonly ["--project <project>", "--json"];
|
|
7587
|
+
}, {
|
|
7588
|
+
readonly name: "secrets exec";
|
|
7589
|
+
readonly summary: "Run a command with Pane secrets in its environment.";
|
|
7590
|
+
readonly arguments: readonly ["--project <project>", "--only <name,...>", "--env <VAR=NAME>", "--file <name>", "-- <command>..."];
|
|
7591
|
+
}, {
|
|
7592
|
+
readonly name: "secrets request";
|
|
7593
|
+
readonly summary: "Ask the person for a secret on a masked card; returns saved or declined, never the value.";
|
|
7594
|
+
readonly arguments: readonly ["--project <project>", "--name <name>", "--title <text>", "--reason <text>", "--json"];
|
|
6683
7595
|
}, {
|
|
6684
7596
|
readonly name: "panes list";
|
|
6685
7597
|
readonly summary: "List Pane sessions, optionally scoped to a saved repository.";
|
|
@@ -6752,6 +7664,10 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
6752
7664
|
readonly name: "panels resume";
|
|
6753
7665
|
readonly summary: "Restart a stopped terminal panel in place (same panel id), resuming its agent's conversation.";
|
|
6754
7666
|
readonly arguments: readonly ["--panel <panel-id>", "--session <id|name>", "--all-stopped", "--concurrency <count>", "--wait-ready", "--ready-timeout-ms <ms>", "--yes", "--json", "--pane-dir <path>"];
|
|
7667
|
+
}, {
|
|
7668
|
+
readonly name: "panels close";
|
|
7669
|
+
readonly summary: "Close a tab, stopping its process, as the app's close button does.";
|
|
7670
|
+
readonly arguments: readonly ["--panel <panel-id>", "--yes", "--json"];
|
|
6755
7671
|
}, {
|
|
6756
7672
|
readonly name: "watch";
|
|
6757
7673
|
readonly summary: "Wait for workspace events from the durable daemon journal; follow uses conservative cadence and quiet expiry by default.";
|
|
@@ -6944,146 +7860,438 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
6944
7860
|
}, {
|
|
6945
7861
|
readonly name: "--yes";
|
|
6946
7862
|
readonly required: false;
|
|
6947
|
-
readonly description: "Skip the service restart confirmation.";
|
|
7863
|
+
readonly description: "Skip the service restart confirmation.";
|
|
7864
|
+
}, {
|
|
7865
|
+
readonly name: "--json";
|
|
7866
|
+
readonly required: false;
|
|
7867
|
+
readonly description: "Print one machine-readable repair result.";
|
|
7868
|
+
}];
|
|
7869
|
+
readonly examples: readonly ["runpane daemon repair --pane-dir ~/.pane_remote --yes --json"];
|
|
7870
|
+
readonly jsonSchemas: readonly ["daemonRepairResult"];
|
|
7871
|
+
readonly notes: readonly ["Repair does not create pairing credentials, change tunnel configuration, or download Pane."];
|
|
7872
|
+
};
|
|
7873
|
+
readonly "agent-context": {
|
|
7874
|
+
readonly name: "agent-context";
|
|
7875
|
+
readonly summary: "Print token-efficient Pane command context for coding agents.";
|
|
7876
|
+
readonly details: "Use this first when an agent needs to discover Pane primitives. It is local/offline and does not require a running Pane app.";
|
|
7877
|
+
readonly requiresPaneDaemon: false;
|
|
7878
|
+
readonly mutates: false;
|
|
7879
|
+
readonly arguments: readonly [{
|
|
7880
|
+
readonly name: "--command";
|
|
7881
|
+
readonly value: "<command>";
|
|
7882
|
+
readonly required: false;
|
|
7883
|
+
readonly description: "Print the detailed definition for one command, for example \"panes create\".";
|
|
7884
|
+
}, {
|
|
7885
|
+
readonly name: "--json";
|
|
7886
|
+
readonly required: false;
|
|
7887
|
+
readonly description: "Print machine-readable output.";
|
|
7888
|
+
}];
|
|
7889
|
+
readonly examples: readonly ["runpane agent-context", "runpane agent-context --command \"panes create\" --json"];
|
|
7890
|
+
readonly jsonSchemas: readonly ["agentContextBriefResult", "agentContextCommandResult", "agentContextUnknownCommandError"];
|
|
7891
|
+
readonly notes: readonly ["Default output is brief so AGENTS.md can point here without bloating context.", "`--command` accepts canonical spaced names and common copied forms, including `panes.create` and `runpane panes create`.", "An unknown `--command` exits 2. With `--json` it prints `{ ok: false, code: \"unknown_command\", message, candidates }` on stdout, where `candidates` lists the closest command names first; without `--json` the same candidates go to stderr.", "`--pane-dir <path>` is accepted and ignored, so one `--pane-dir` can be passed to every runpane command."];
|
|
7892
|
+
};
|
|
7893
|
+
readonly mcp: {
|
|
7894
|
+
readonly name: "mcp";
|
|
7895
|
+
readonly summary: "Run the Pane MCP server over stdio so coding agents can call runpane commands as tools.";
|
|
7896
|
+
readonly details: "Use this to register Pane with an MCP client. Pane registers it with Claude Code, Codex, and Cursor automatically; each tool mirrors one runpane command and returns its --json result.";
|
|
7897
|
+
readonly requiresPaneDaemon: false;
|
|
7898
|
+
readonly mutates: false;
|
|
7899
|
+
readonly arguments: readonly [{
|
|
7900
|
+
readonly name: "--toolsets";
|
|
7901
|
+
readonly value: "<name,...>";
|
|
7902
|
+
readonly required: false;
|
|
7903
|
+
readonly description: "Comma-separated toolsets to serve: core (default), all, read, repos, panes, panels, agents, sessions, loops, workspace, git, docs, links, admin.";
|
|
7904
|
+
}, {
|
|
7905
|
+
readonly name: "--read-only";
|
|
7906
|
+
readonly required: false;
|
|
7907
|
+
readonly description: "Serve only read-only tools.";
|
|
7908
|
+
}];
|
|
7909
|
+
readonly examples: readonly ["claude mcp add --scope user pane -- npx --yes runpane@latest mcp", "codex mcp add pane -- npx --yes runpane@latest mcp"];
|
|
7910
|
+
readonly notes: readonly ["Only the npm package and the Pane app include the MCP server; the Python package prints how to run it with Node.", "Commands that need --yes in the CLI take `yes: true` as a tool input."];
|
|
7911
|
+
};
|
|
7912
|
+
readonly "repos list": {
|
|
7913
|
+
readonly name: "repos list";
|
|
7914
|
+
readonly summary: "List repositories saved in the running Pane app.";
|
|
7915
|
+
readonly details: "Use this to find the right Pane-managed repository before creating panes. If the repo is missing, use `repos add` first.";
|
|
7916
|
+
readonly requiresPaneDaemon: true;
|
|
7917
|
+
readonly mutates: false;
|
|
7918
|
+
readonly arguments: readonly [{
|
|
7919
|
+
readonly name: "--json";
|
|
7920
|
+
readonly required: false;
|
|
7921
|
+
readonly description: "Print machine-readable repository records.";
|
|
7922
|
+
}, {
|
|
7923
|
+
readonly name: "--pane-dir";
|
|
7924
|
+
readonly value: "<path>";
|
|
7925
|
+
readonly required: false;
|
|
7926
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
7927
|
+
}];
|
|
7928
|
+
readonly examples: readonly ["runpane repos list --json"];
|
|
7929
|
+
readonly jsonSchemas: readonly ["repoListResult"];
|
|
7930
|
+
readonly notes: readonly ["Requires a running Pane app or daemon for the selected Pane data directory.", "If this fails from WSL with a missing `/tmp/pane-daemon.../daemon.sock`, `volta: command not found`, or a Windows shim error, the user may be running Windows Pane. Retry with `/mnt/c/Users/<you>/.pane/bin/runpane repos list --json`, or with an older Pane build `powershell.exe -NoProfile -Command 'Set-Location $env:TEMP; runpane repos list --json'`.", "When using PowerShell from WSL, set a Windows cwd such as `$env:TEMP` or `$env:USERPROFILE` before running runpane to avoid UNC cwd issues."];
|
|
7931
|
+
};
|
|
7932
|
+
readonly "repos add": {
|
|
7933
|
+
readonly name: "repos add";
|
|
7934
|
+
readonly summary: "Register an existing git repository with the running Pane app.";
|
|
7935
|
+
readonly details: "Use this when the repository exists on disk but is not saved in Pane yet. It validates the path as a git repository.";
|
|
7936
|
+
readonly requiresPaneDaemon: true;
|
|
7937
|
+
readonly mutates: true;
|
|
7938
|
+
readonly arguments: readonly [{
|
|
7939
|
+
readonly name: "--path";
|
|
7940
|
+
readonly value: "<path>";
|
|
7941
|
+
readonly required: true;
|
|
7942
|
+
readonly description: "Existing git repository path to register with Pane.";
|
|
7943
|
+
}, {
|
|
7944
|
+
readonly name: "--name";
|
|
7945
|
+
readonly value: "<name>";
|
|
7946
|
+
readonly required: false;
|
|
7947
|
+
readonly description: "Saved repository name; defaults to the directory name.";
|
|
7948
|
+
}, {
|
|
7949
|
+
readonly name: "--yes";
|
|
7950
|
+
readonly required: false;
|
|
7951
|
+
readonly description: "Skip confirmation for mutating commands.";
|
|
7952
|
+
}, {
|
|
7953
|
+
readonly name: "--json";
|
|
7954
|
+
readonly required: false;
|
|
7955
|
+
readonly description: "Print machine-readable output.";
|
|
7956
|
+
}, {
|
|
7957
|
+
readonly name: "--dry-run";
|
|
7958
|
+
readonly required: false;
|
|
7959
|
+
readonly description: "Validate and preview without adding the repo.";
|
|
7960
|
+
}, {
|
|
7961
|
+
readonly name: "--pane-dir";
|
|
7962
|
+
readonly value: "<path>";
|
|
7963
|
+
readonly required: false;
|
|
7964
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
7965
|
+
}];
|
|
7966
|
+
readonly examples: readonly ["runpane repos add --path /path/to/repo --yes --json"];
|
|
7967
|
+
readonly jsonSchemas: readonly ["repoAddRequest", "repoAddResult"];
|
|
7968
|
+
readonly notes: readonly ["It does not create directories or initialize git repositories by default.", "For a Windows Pane app managing WSL repositories, prefer a saved WSL repo from `repos list` when possible. Adding a brand-new WSL repo from Windows may require WSL-aware path handling."];
|
|
7969
|
+
};
|
|
7970
|
+
readonly "repos get": {
|
|
7971
|
+
readonly name: "repos get";
|
|
7972
|
+
readonly summary: "Show a saved repository's Project Settings and the scripts Pane will run.";
|
|
7973
|
+
readonly details: "Use this before changing a repo's settings, or to find out what a new Pane will run. Each script reports `value` (saved in Project Settings), `fallback` (from the repo's config file), and `effective` (what Pane runs: the saved value when set, otherwise the fallback). `envVars` lists the project environment variables: plain values in full, keychain items and Pane secrets as references, never their values.";
|
|
7974
|
+
readonly requiresPaneDaemon: true;
|
|
7975
|
+
readonly mutates: false;
|
|
7976
|
+
readonly arguments: readonly [{
|
|
7977
|
+
readonly name: "--repo";
|
|
7978
|
+
readonly value: "<selector>";
|
|
7979
|
+
readonly required: false;
|
|
7980
|
+
readonly description: "Repository selector: active, id, exact path, or saved repository name. Defaults to active.";
|
|
7981
|
+
}, {
|
|
7982
|
+
readonly name: "--json";
|
|
7983
|
+
readonly required: false;
|
|
7984
|
+
readonly description: "Print machine-readable settings.";
|
|
7985
|
+
}, {
|
|
7986
|
+
readonly name: "--pane-dir";
|
|
7987
|
+
readonly value: "<path>";
|
|
7988
|
+
readonly required: false;
|
|
7989
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
7990
|
+
}];
|
|
7991
|
+
readonly examples: readonly ["runpane repos get --repo Pane --json"];
|
|
7992
|
+
readonly jsonSchemas: readonly ["repoGetRequest", "repoGetResult"];
|
|
7993
|
+
readonly notes: readonly ["Config-file fallbacks are read from the repository root. At run time Pane reads them from each Pane's worktree, so a branch that changes its config file can run something else.", "`currentBranch` is detected from the repository; it is not a setting."];
|
|
7994
|
+
};
|
|
7995
|
+
readonly "repos update": {
|
|
7996
|
+
readonly name: "repos update";
|
|
7997
|
+
readonly summary: "Change a saved repository's Project Settings: scripts, worktree folder, name, IDE command, system prompt, and environment variables.";
|
|
7998
|
+
readonly details: "Saves through the same path as the Project Settings dialog: Pane drops its cached project context, rebuilds the run commands, and open windows reload the repo. Settings you do not pass keep their value. Clear a setting with `--clear` or an empty value; a cleared script falls back to the repo's config file. --env adds or replaces project environment variables by key, and --env-remove removes them. A variable is plain text, an existing macOS keychain item, or a Pane secret reference; to store a new secret value, use `runpane secrets request` first.";
|
|
7999
|
+
readonly requiresPaneDaemon: true;
|
|
8000
|
+
readonly mutates: true;
|
|
8001
|
+
readonly arguments: readonly [{
|
|
8002
|
+
readonly name: "--repo";
|
|
8003
|
+
readonly value: "<selector>";
|
|
8004
|
+
readonly required: true;
|
|
8005
|
+
readonly description: "Repository selector: active, id, exact path, or saved repository name.";
|
|
8006
|
+
}, {
|
|
8007
|
+
readonly name: "--name";
|
|
8008
|
+
readonly value: "<name>";
|
|
8009
|
+
readonly required: false;
|
|
8010
|
+
readonly description: "Repository display name. It cannot be cleared.";
|
|
8011
|
+
}, {
|
|
8012
|
+
readonly name: "--build-script";
|
|
8013
|
+
readonly value: "<script>";
|
|
8014
|
+
readonly required: false;
|
|
8015
|
+
readonly description: "Build (setup) script; runs in each new worktree. Newline-separated commands.";
|
|
8016
|
+
}, {
|
|
8017
|
+
readonly name: "--run-script";
|
|
8018
|
+
readonly value: "<script>";
|
|
8019
|
+
readonly required: false;
|
|
8020
|
+
readonly description: "Run script; runs on the Play button. Newline-separated commands.";
|
|
8021
|
+
}, {
|
|
8022
|
+
readonly name: "--archive-script";
|
|
8023
|
+
readonly value: "<script>";
|
|
8024
|
+
readonly required: false;
|
|
8025
|
+
readonly description: "Archive script; runs before a worktree is removed. Newline-separated commands.";
|
|
8026
|
+
}, {
|
|
8027
|
+
readonly name: "--worktree-folder";
|
|
8028
|
+
readonly value: "<path>";
|
|
8029
|
+
readonly required: false;
|
|
8030
|
+
readonly description: "Folder new worktrees go in: absolute, or relative to the repository.";
|
|
8031
|
+
}, {
|
|
8032
|
+
readonly name: "--open-ide-command";
|
|
8033
|
+
readonly value: "<command>";
|
|
8034
|
+
readonly required: false;
|
|
8035
|
+
readonly description: "Command the Open in IDE button runs in a worktree.";
|
|
8036
|
+
}, {
|
|
8037
|
+
readonly name: "--system-prompt";
|
|
8038
|
+
readonly value: "<text>";
|
|
8039
|
+
readonly required: false;
|
|
8040
|
+
readonly description: "Project system prompt.";
|
|
8041
|
+
}, {
|
|
8042
|
+
readonly name: "--env";
|
|
8043
|
+
readonly value: "<json>";
|
|
8044
|
+
readonly required: false;
|
|
8045
|
+
readonly description: "Project variables to add or replace by key: a JSON array of {key, source: \"plain\", value}, {key, source: \"keychain\", service, account} or {key, source: \"secret\", project, name}.";
|
|
8046
|
+
readonly schema: {
|
|
8047
|
+
readonly type: "array";
|
|
8048
|
+
readonly minItems: 1;
|
|
8049
|
+
readonly items: {
|
|
8050
|
+
readonly $ref: "#/jsonSchemas/projectEnvVar";
|
|
8051
|
+
};
|
|
8052
|
+
};
|
|
8053
|
+
}, {
|
|
8054
|
+
readonly name: "--env-remove";
|
|
8055
|
+
readonly value: "<name,...>";
|
|
8056
|
+
readonly required: false;
|
|
8057
|
+
readonly description: "Project variables to remove, comma-separated.";
|
|
8058
|
+
}, {
|
|
8059
|
+
readonly name: "--clear";
|
|
8060
|
+
readonly value: "<setting,...>";
|
|
8061
|
+
readonly required: false;
|
|
8062
|
+
readonly description: "Settings to clear, comma-separated: build-script, run-script, archive-script, worktree-folder, open-ide-command, system-prompt.";
|
|
8063
|
+
}, {
|
|
8064
|
+
readonly name: "--from-json";
|
|
8065
|
+
readonly value: "<path|->";
|
|
8066
|
+
readonly required: false;
|
|
8067
|
+
readonly description: "JSON settings object with keys name, buildScript, runScript, archiveScript, worktreeFolder, openIdeCommand, systemPrompt, and envVars ({set: [...], remove: [...]}); null clears. Flags override it.";
|
|
8068
|
+
}, {
|
|
8069
|
+
readonly name: "--yes";
|
|
8070
|
+
readonly required: false;
|
|
8071
|
+
readonly description: "Skip confirmation for mutating commands.";
|
|
8072
|
+
}, {
|
|
8073
|
+
readonly name: "--dry-run";
|
|
8074
|
+
readonly required: false;
|
|
8075
|
+
readonly description: "Return the settings as they would be after the update without saving.";
|
|
8076
|
+
}, {
|
|
8077
|
+
readonly name: "--json";
|
|
8078
|
+
readonly required: false;
|
|
8079
|
+
readonly description: "Print machine-readable output.";
|
|
8080
|
+
}, {
|
|
8081
|
+
readonly name: "--pane-dir";
|
|
8082
|
+
readonly value: "<path>";
|
|
8083
|
+
readonly required: false;
|
|
8084
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
8085
|
+
}];
|
|
8086
|
+
readonly examples: readonly ["runpane repos update --repo Pane --build-script \"pnpm install\" --run-script \"pnpm dev\" --yes --json", "runpane repos update --repo Pane --clear archive-script --dry-run --json", "runpane repos update --repo Pane --from-json settings.json --yes --json", "runpane repos update --repo Pane --env '[{\"key\":\"STRIPE_KEY\",\"source\":\"secret\",\"project\":\"stripe\",\"name\":\"STRIPE_SECRET_KEY\"}]' --env-remove OLD_TOKEN --yes --json"];
|
|
8087
|
+
readonly jsonSchemas: readonly ["repoUpdateRequest", "repoUpdateResult"];
|
|
8088
|
+
readonly notes: readonly ["`changed` lists the settings whose saved value differs from before.", "The worktree folder applies to Panes created after the update; existing worktrees stay where they are.", "Plain values are saved and shown in full; do not put a secret in a plain variable. Point the variable at a Pane secret instead."];
|
|
8089
|
+
};
|
|
8090
|
+
readonly "repos rename": {
|
|
8091
|
+
readonly name: "repos rename";
|
|
8092
|
+
readonly summary: "Rename a repository saved in the running Pane app.";
|
|
8093
|
+
readonly details: "Use this to replace an automatic repository name, such as one with a numeric suffix, with a clear one. It changes only the display name.";
|
|
8094
|
+
readonly requiresPaneDaemon: true;
|
|
8095
|
+
readonly mutates: true;
|
|
8096
|
+
readonly arguments: readonly [{
|
|
8097
|
+
readonly name: "--repo";
|
|
8098
|
+
readonly value: "<selector>";
|
|
8099
|
+
readonly required: true;
|
|
8100
|
+
readonly description: "Repository to rename: active, id, exact path, or saved name.";
|
|
8101
|
+
}, {
|
|
8102
|
+
readonly name: "--name";
|
|
8103
|
+
readonly value: "<name>";
|
|
8104
|
+
readonly required: true;
|
|
8105
|
+
readonly description: "New non-empty repository name; surrounding whitespace is trimmed.";
|
|
8106
|
+
}, {
|
|
8107
|
+
readonly name: "--yes";
|
|
8108
|
+
readonly required: false;
|
|
8109
|
+
readonly description: "Skip confirmation for mutating commands.";
|
|
6948
8110
|
}, {
|
|
6949
8111
|
readonly name: "--json";
|
|
6950
8112
|
readonly required: false;
|
|
6951
|
-
readonly description: "Print
|
|
8113
|
+
readonly description: "Print machine-readable output including the updated repository.";
|
|
8114
|
+
}, {
|
|
8115
|
+
readonly name: "--pane-dir";
|
|
8116
|
+
readonly value: "<path>";
|
|
8117
|
+
readonly required: false;
|
|
8118
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
6952
8119
|
}];
|
|
6953
|
-
readonly examples: readonly ["runpane
|
|
6954
|
-
readonly jsonSchemas: readonly ["
|
|
6955
|
-
readonly notes: readonly ["
|
|
8120
|
+
readonly examples: readonly ["runpane repos rename --repo 3 --name Lev --yes --json"];
|
|
8121
|
+
readonly jsonSchemas: readonly ["repoRenameRequest", "repoRenameResult"];
|
|
8122
|
+
readonly notes: readonly ["The repository path, Panes, and settings are unchanged."];
|
|
6956
8123
|
};
|
|
6957
|
-
readonly "
|
|
6958
|
-
readonly name: "
|
|
6959
|
-
readonly summary: "
|
|
6960
|
-
readonly details: "Use this
|
|
6961
|
-
readonly requiresPaneDaemon:
|
|
8124
|
+
readonly "secrets list": {
|
|
8125
|
+
readonly name: "secrets list";
|
|
8126
|
+
readonly summary: "List the Pane secrets on this machine: project, name, and when and where each was set. Never shows a value.";
|
|
8127
|
+
readonly details: "Use this to find the project and name to pass to `runpane secrets exec`. Each entry has project, name, updatedAt and machine. storage says how this machine keeps values; encrypted false means a plain 0600 file on a machine without an OS keyring.";
|
|
8128
|
+
readonly requiresPaneDaemon: true;
|
|
6962
8129
|
readonly mutates: false;
|
|
6963
8130
|
readonly arguments: readonly [{
|
|
6964
|
-
readonly name: "--
|
|
6965
|
-
readonly value: "<
|
|
8131
|
+
readonly name: "--project";
|
|
8132
|
+
readonly value: "<project>";
|
|
6966
8133
|
readonly required: false;
|
|
6967
|
-
readonly description: "
|
|
8134
|
+
readonly description: "Only this project's secrets.";
|
|
6968
8135
|
}, {
|
|
6969
8136
|
readonly name: "--json";
|
|
6970
8137
|
readonly required: false;
|
|
6971
8138
|
readonly description: "Print machine-readable output.";
|
|
6972
|
-
}];
|
|
6973
|
-
readonly examples: readonly ["runpane agent-context", "runpane agent-context --command \"panes create\" --json"];
|
|
6974
|
-
readonly jsonSchemas: readonly ["agentContextBriefResult", "agentContextCommandResult", "agentContextUnknownCommandError"];
|
|
6975
|
-
readonly notes: readonly ["Default output is brief so AGENTS.md can point here without bloating context.", "`--command` accepts canonical spaced names and common copied forms, including `panes.create` and `runpane panes create`.", "An unknown `--command` exits 2. With `--json` it prints `{ ok: false, code: \"unknown_command\", message, candidates }` on stdout, where `candidates` lists the closest command names first; without `--json` the same candidates go to stderr.", "`--pane-dir <path>` is accepted and ignored, so one `--pane-dir` can be passed to every runpane command."];
|
|
6976
|
-
};
|
|
6977
|
-
readonly mcp: {
|
|
6978
|
-
readonly name: "mcp";
|
|
6979
|
-
readonly summary: "Run the Pane MCP server over stdio so coding agents can call runpane commands as tools.";
|
|
6980
|
-
readonly details: "Use this to register Pane with an MCP client. Pane registers it with Claude Code, Codex, and Cursor automatically; each tool mirrors one runpane command and returns its --json result.";
|
|
6981
|
-
readonly requiresPaneDaemon: false;
|
|
6982
|
-
readonly mutates: false;
|
|
6983
|
-
readonly arguments: readonly [{
|
|
6984
|
-
readonly name: "--toolsets";
|
|
6985
|
-
readonly value: "<name,...>";
|
|
6986
|
-
readonly required: false;
|
|
6987
|
-
readonly description: "Comma-separated toolsets to serve: core (default), all, read, repos, panes, panels, agents, sessions, loops, workspace, git, docs, links, admin.";
|
|
6988
8139
|
}, {
|
|
6989
|
-
readonly name: "--
|
|
8140
|
+
readonly name: "--pane-dir";
|
|
8141
|
+
readonly value: "<path>";
|
|
6990
8142
|
readonly required: false;
|
|
6991
|
-
readonly description: "
|
|
8143
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
6992
8144
|
}];
|
|
6993
|
-
readonly examples: readonly ["
|
|
6994
|
-
readonly
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
readonly
|
|
6999
|
-
readonly
|
|
8145
|
+
readonly examples: readonly ["runpane secrets list --json", "runpane secrets list --project stripe --json"];
|
|
8146
|
+
readonly jsonSchemas: readonly ["secretListRequest", "secretListResult"];
|
|
8147
|
+
readonly notes: readonly ["Runs on this machine only: `runpane workspace <machine> secrets ...` is refused. Use `runpane workspace <machine> exec -- runpane secrets ...` for another machine."];
|
|
8148
|
+
};
|
|
8149
|
+
readonly "secrets set": {
|
|
8150
|
+
readonly name: "secrets set";
|
|
8151
|
+
readonly summary: "Save a Pane secret, adding or replacing it. Reads the value from stdin.";
|
|
8152
|
+
readonly details: "The value comes only from stdin, so it never appears in argv or a transcript. One trailing newline (\\n or \\r\\n) is dropped; an empty value is refused. If stdin is a terminal it is refused too: pipe the value in, or have the person use Settings > Secrets or `runpane secrets request`. With --json it prints {ok, replaced, secret} (secretSetResult).";
|
|
7000
8153
|
readonly requiresPaneDaemon: true;
|
|
7001
|
-
readonly mutates:
|
|
8154
|
+
readonly mutates: true;
|
|
7002
8155
|
readonly arguments: readonly [{
|
|
8156
|
+
readonly name: "--project";
|
|
8157
|
+
readonly value: "<project>";
|
|
8158
|
+
readonly required: true;
|
|
8159
|
+
readonly description: "Secret project: up to 64 letters, digits, \".\", \"_\" or \"-\".";
|
|
8160
|
+
}, {
|
|
8161
|
+
readonly name: "--name";
|
|
8162
|
+
readonly value: "<name>";
|
|
8163
|
+
readonly required: true;
|
|
8164
|
+
readonly description: "Secret name: letters, digits and underscores, not starting with a digit. PATH, WORKTREE_PATH and PANE_* are reserved.";
|
|
8165
|
+
}, {
|
|
8166
|
+
readonly name: "--yes";
|
|
8167
|
+
readonly required: true;
|
|
8168
|
+
readonly description: "Confirm the change.";
|
|
8169
|
+
}, {
|
|
7003
8170
|
readonly name: "--json";
|
|
7004
8171
|
readonly required: false;
|
|
7005
|
-
readonly description: "Print machine-readable
|
|
8172
|
+
readonly description: "Print machine-readable output.";
|
|
7006
8173
|
}, {
|
|
7007
8174
|
readonly name: "--pane-dir";
|
|
7008
8175
|
readonly value: "<path>";
|
|
7009
8176
|
readonly required: false;
|
|
7010
8177
|
readonly description: "Connect to a specific Pane data directory.";
|
|
7011
8178
|
}];
|
|
7012
|
-
readonly examples: readonly ["runpane
|
|
7013
|
-
readonly jsonSchemas: readonly ["
|
|
7014
|
-
readonly notes: readonly ["
|
|
7015
|
-
};
|
|
7016
|
-
readonly "
|
|
7017
|
-
readonly name: "
|
|
7018
|
-
readonly summary: "
|
|
7019
|
-
readonly details: "
|
|
8179
|
+
readonly examples: readonly ["printf %s \"$VALUE\" | runpane secrets set --project stripe --name STRIPE_SECRET_KEY --yes --json"];
|
|
8180
|
+
readonly jsonSchemas: readonly ["secretSetRequest", "secretSetResult"];
|
|
8181
|
+
readonly notes: readonly ["Never set a value someone pasted into the chat; ask with `runpane secrets request` instead, so the value stays out of the transcript.", "There is no MCP tool for this command: MCP arguments land in the transcript.", "Runs on this machine only: `runpane workspace <machine> secrets ...` is refused. Use `runpane workspace <machine> exec -- runpane secrets ...` for another machine."];
|
|
8182
|
+
};
|
|
8183
|
+
readonly "secrets delete": {
|
|
8184
|
+
readonly name: "secrets delete";
|
|
8185
|
+
readonly summary: "Delete a Pane secret from this machine and, through sync, from your other machines.";
|
|
8186
|
+
readonly details: "Deletes <project>/<name> here. Each other machine deletes it the next time a desktop or the phone syncs with it.";
|
|
7020
8187
|
readonly requiresPaneDaemon: true;
|
|
7021
8188
|
readonly mutates: true;
|
|
7022
8189
|
readonly arguments: readonly [{
|
|
7023
|
-
readonly name: "--
|
|
7024
|
-
readonly value: "<
|
|
8190
|
+
readonly name: "--project";
|
|
8191
|
+
readonly value: "<project>";
|
|
7025
8192
|
readonly required: true;
|
|
7026
|
-
readonly description: "
|
|
8193
|
+
readonly description: "Secret project.";
|
|
7027
8194
|
}, {
|
|
7028
8195
|
readonly name: "--name";
|
|
7029
8196
|
readonly value: "<name>";
|
|
7030
|
-
readonly required:
|
|
7031
|
-
readonly description: "
|
|
8197
|
+
readonly required: true;
|
|
8198
|
+
readonly description: "Secret name.";
|
|
7032
8199
|
}, {
|
|
7033
8200
|
readonly name: "--yes";
|
|
7034
|
-
readonly required:
|
|
7035
|
-
readonly description: "
|
|
8201
|
+
readonly required: true;
|
|
8202
|
+
readonly description: "Confirm the change.";
|
|
7036
8203
|
}, {
|
|
7037
8204
|
readonly name: "--json";
|
|
7038
8205
|
readonly required: false;
|
|
7039
8206
|
readonly description: "Print machine-readable output.";
|
|
7040
8207
|
}, {
|
|
7041
|
-
readonly name: "--
|
|
8208
|
+
readonly name: "--pane-dir";
|
|
8209
|
+
readonly value: "<path>";
|
|
7042
8210
|
readonly required: false;
|
|
7043
|
-
readonly description: "
|
|
8211
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
8212
|
+
}];
|
|
8213
|
+
readonly examples: readonly ["runpane secrets delete --project stripe --name STRIPE_SECRET_KEY --yes --json"];
|
|
8214
|
+
readonly jsonSchemas: readonly ["secretDeleteRequest", "secretDeleteResult"];
|
|
8215
|
+
readonly notes: readonly ["A secret that does not exist fails with SECRET_NOT_FOUND.", "Runs on this machine only: `runpane workspace <machine> secrets ...` is refused. Use `runpane workspace <machine> exec -- runpane secrets ...` for another machine."];
|
|
8216
|
+
};
|
|
8217
|
+
readonly "secrets exec": {
|
|
8218
|
+
readonly name: "secrets exec";
|
|
8219
|
+
readonly summary: "Run a command with Pane secrets in its environment. Nothing prints a value.";
|
|
8220
|
+
readonly details: "Reads the secrets from this machine's Pane when it runs, starts the command with your environment plus the secrets, passes stdin, stdout and stderr through, and exits with the command's exit code. By default it injects every secret in the project under its own name. --only limits that to the names given. --env VAR=NAME injects secret NAME as VAR. --file NAME writes secret NAME to a 0600 file in a private temp folder and sets NAME to the file's path; the file is removed when the command exits. Injected names override your environment.";
|
|
8221
|
+
readonly requiresPaneDaemon: true;
|
|
8222
|
+
readonly mutates: false;
|
|
8223
|
+
readonly arguments: readonly [{
|
|
8224
|
+
readonly name: "--project";
|
|
8225
|
+
readonly value: "<project>";
|
|
8226
|
+
readonly required: true;
|
|
8227
|
+
readonly description: "Secret project.";
|
|
8228
|
+
}, {
|
|
8229
|
+
readonly name: "--only";
|
|
8230
|
+
readonly value: "<name,...>";
|
|
8231
|
+
readonly required: false;
|
|
8232
|
+
readonly description: "Inject only these secrets, comma-separated.";
|
|
8233
|
+
}, {
|
|
8234
|
+
readonly name: "--env";
|
|
8235
|
+
readonly value: "<VAR=NAME>";
|
|
8236
|
+
readonly required: false;
|
|
8237
|
+
readonly description: "Inject secret NAME as VAR. Repeatable.";
|
|
8238
|
+
}, {
|
|
8239
|
+
readonly name: "--file";
|
|
8240
|
+
readonly value: "<name>";
|
|
8241
|
+
readonly required: false;
|
|
8242
|
+
readonly description: "Write secret NAME to a private temp file and set NAME to its path. Repeatable.";
|
|
7044
8243
|
}, {
|
|
7045
8244
|
readonly name: "--pane-dir";
|
|
7046
8245
|
readonly value: "<path>";
|
|
7047
8246
|
readonly required: false;
|
|
7048
8247
|
readonly description: "Connect to a specific Pane data directory.";
|
|
8248
|
+
}, {
|
|
8249
|
+
readonly name: "-- <command>";
|
|
8250
|
+
readonly required: true;
|
|
8251
|
+
readonly description: "The command to run and its arguments.";
|
|
7049
8252
|
}];
|
|
7050
|
-
readonly examples: readonly ["runpane
|
|
7051
|
-
readonly
|
|
7052
|
-
readonly notes: readonly ["It does not create directories or initialize git repositories by default.", "For a Windows Pane app managing WSL repositories, prefer a saved WSL repo from `repos list` when possible. Adding a brand-new WSL repo from Windows may require WSL-aware path handling."];
|
|
8253
|
+
readonly examples: readonly ["runpane secrets exec --project stripe -- pnpm test:webhooks", "runpane secrets exec --project stripe --env STRIPE_API_KEY=STRIPE_SECRET_KEY -- node scripts/sync.js", "runpane secrets exec --project gcp --file SERVICE_ACCOUNT_JSON -- sh -c 'gcloud auth activate-service-account --key-file \"$SERVICE_ACCOUNT_JSON\"'"];
|
|
8254
|
+
readonly notes: readonly ["Target names PATH, WORKTREE_PATH and PANE_*, in any case, are refused with SECRET_RESERVED_NAME, and nothing runs.", "A missing secret fails with SECRET_NOT_FOUND before anything runs; ask for it with `runpane secrets request`.", "Do not echo a secret from inside the command: its output lands wherever the command's output goes, such as your transcript.", "There is no MCP tool for this command; run it in a shell.", "Runs on this machine only: `runpane workspace <machine> secrets ...` is refused. Use `runpane workspace <machine> exec -- runpane secrets ...` for another machine.", "Secrets are the machine owner's: every secrets command in a teammate's `runpane workspace exec` (PANE_TEAMMATE_LOGIN set) fails with SECRET_OWNER_REQUIRED."];
|
|
7053
8255
|
};
|
|
7054
|
-
readonly "
|
|
7055
|
-
readonly name: "
|
|
7056
|
-
readonly summary: "
|
|
7057
|
-
readonly details: "
|
|
8256
|
+
readonly "secrets request": {
|
|
8257
|
+
readonly name: "secrets request";
|
|
8258
|
+
readonly summary: "Ask the person for a secret on a masked card. Pane saves what they type as a Pane secret and never returns it.";
|
|
8259
|
+
readonly details: "Shows a Notify card with your title and reason, a masked field, Save securely and Decline. What the person types is saved on this machine as the Pane secret <project>/<name> and synced to their other machines. You get back {status: \"saved\", project, name} or {status: \"declined\"}, never the value. Then use it with `runpane secrets exec`.";
|
|
7058
8260
|
readonly requiresPaneDaemon: true;
|
|
7059
8261
|
readonly mutates: true;
|
|
7060
8262
|
readonly arguments: readonly [{
|
|
7061
|
-
readonly name: "--
|
|
7062
|
-
readonly value: "<
|
|
8263
|
+
readonly name: "--project";
|
|
8264
|
+
readonly value: "<project>";
|
|
7063
8265
|
readonly required: true;
|
|
7064
|
-
readonly description: "
|
|
8266
|
+
readonly description: "Secret project, such as the service or repo it belongs to: up to 64 letters, digits, \".\", \"_\" or \"-\".";
|
|
7065
8267
|
}, {
|
|
7066
8268
|
readonly name: "--name";
|
|
7067
8269
|
readonly value: "<name>";
|
|
7068
8270
|
readonly required: true;
|
|
7069
|
-
readonly description: "
|
|
8271
|
+
readonly description: "Secret name, such as STRIPE_SECRET_KEY: letters, digits and underscores, not starting with a digit.";
|
|
7070
8272
|
}, {
|
|
7071
|
-
readonly name: "--
|
|
7072
|
-
readonly
|
|
7073
|
-
readonly
|
|
8273
|
+
readonly name: "--title";
|
|
8274
|
+
readonly value: "<text>";
|
|
8275
|
+
readonly required: true;
|
|
8276
|
+
readonly description: "What the secret is, in a few words, such as \"Stripe test secret key\".";
|
|
8277
|
+
}, {
|
|
8278
|
+
readonly name: "--reason";
|
|
8279
|
+
readonly value: "<text>";
|
|
8280
|
+
readonly required: true;
|
|
8281
|
+
readonly description: "What you need it for, in one sentence.";
|
|
7074
8282
|
}, {
|
|
7075
8283
|
readonly name: "--json";
|
|
7076
8284
|
readonly required: false;
|
|
7077
|
-
readonly description: "Print machine-readable output
|
|
8285
|
+
readonly description: "Print machine-readable output.";
|
|
7078
8286
|
}, {
|
|
7079
8287
|
readonly name: "--pane-dir";
|
|
7080
8288
|
readonly value: "<path>";
|
|
7081
8289
|
readonly required: false;
|
|
7082
8290
|
readonly description: "Connect to a specific Pane data directory.";
|
|
7083
8291
|
}];
|
|
7084
|
-
readonly examples: readonly ["runpane
|
|
7085
|
-
readonly jsonSchemas: readonly ["
|
|
7086
|
-
readonly notes: readonly ["
|
|
8292
|
+
readonly examples: readonly ["runpane secrets request --project stripe --name STRIPE_SECRET_KEY --title \"Stripe test secret key\" --reason \"Run the webhook integration tests against Stripe's test mode.\" --json"];
|
|
8293
|
+
readonly jsonSchemas: readonly ["notifyRequest", "notifyResult"];
|
|
8294
|
+
readonly notes: readonly ["A result of {waiting: true, id} means the card is still open and your client would otherwise time out: call `runpane notify --resume <id>` right away to keep waiting.", "A result of {unavailable, next} means nobody can answer through Pane right now. Do not ask for the secret in the chat; follow next.", "Saving replaces a secret that already exists under that name; the card says so."];
|
|
7087
8295
|
};
|
|
7088
8296
|
readonly "panes list": {
|
|
7089
8297
|
readonly name: "panes list";
|
|
@@ -7390,7 +8598,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
7390
8598
|
readonly "panes archive": {
|
|
7391
8599
|
readonly name: "panes archive";
|
|
7392
8600
|
readonly summary: "Archive a Pane (session) exactly like the UI Archive action, including safe removal of its Pane-managed git worktree, or archive every merged Pane in a Session.";
|
|
7393
|
-
readonly details: "Use this to close out a Pane once its PR has merged. The safety check refreshes the configured upstream before comparing it to HEAD and includes exact unpushed commit IDs and subjects. When the branch has no upstream or its upstream is gone (GitHub deletes merged branches), a merged pull request whose head is HEAD counts as pushed, so squash-merged branches archive without --force. Refuses unsafe archive operations unless --force is used. Use --dry-run to inspect the same evidence without mutating Pane state. Use --session <id|name> --merged to close out every finished Pane of a Session at once.";
|
|
8601
|
+
readonly details: "Use this to close out a Pane once its PR has merged. The safety check refreshes the configured upstream before comparing it to HEAD and includes exact unpushed commit IDs and subjects. When the branch has no upstream or its upstream is gone (GitHub deletes merged branches), a merged pull request whose head is HEAD counts as pushed, so squash-merged branches archive without --force. Refuses unsafe archive operations unless --force is used. Use --dry-run to inspect the same evidence without mutating Pane state. Use --session <id|name> --merged to close out every finished Pane of a Session at once. Archive also 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, since archiving stops the agent or loses the input.";
|
|
7394
8602
|
readonly requiresPaneDaemon: true;
|
|
7395
8603
|
readonly mutates: true;
|
|
7396
8604
|
readonly arguments: readonly [{
|
|
@@ -7406,7 +8614,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
7406
8614
|
}, {
|
|
7407
8615
|
readonly name: "--force";
|
|
7408
8616
|
readonly required: false;
|
|
7409
|
-
readonly description: "Archive even if the pane's branch has uncommitted, untracked, or unpushed changes.";
|
|
8617
|
+
readonly description: "Archive even if the pane's branch has uncommitted, untracked, or unpushed changes, one of its agents is mid-turn or waiting for an answer (archiving stops it), or a tab holds unsent input (archiving loses it).";
|
|
7410
8618
|
}, {
|
|
7411
8619
|
readonly name: "--remove-worktree";
|
|
7412
8620
|
readonly required: false;
|
|
@@ -7440,7 +8648,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
7440
8648
|
}];
|
|
7441
8649
|
readonly examples: readonly ["runpane panes archive --pane <pane-id> --source agent --yes --json", "runpane panes archive --pane <pane-id> --dry-run --json", "runpane panes archive --pane <pane-id> --remove-worktree --yes --json", "runpane panes archive --session <id|name> --merged --dry-run --json", "runpane panes archive --session <id|name> --merged --remove-worktree --yes --json", "runpane panes archive --pane <pane-id> --force --yes --json"];
|
|
7442
8650
|
readonly jsonSchemas: readonly ["paneArchiveRequest", "paneArchiveBulkRequest", "paneArchiveResult", "paneArchiveBulkResult"];
|
|
7443
|
-
readonly notes: readonly ["If the result has ok:false with a blocked field, the pane was NOT archived; inspect blocked.code and rerun with --force if discarding the flagged work is intentional.", "Inspect safetyCheck.unpushedCommitDetails for exact commit IDs and subjects; upstreamRefreshed confirms the tracking ref was refreshed first.", "A --dry-run result sets dryRun:true and wouldArchive without deleting the Pane or its worktree.", "A successful archive reports worktreeCleanup `completed` once the worktree is gone from its path and from git. trashDeletion `pending` means a large worktree (for example one with node_modules) is still being deleted from .git/pane-trash in the background; that is still ok:true. `timeout` (also ok:true) means removal is still running; only `failed` sets ok:false.", "safetyCheck.mergedViaPr names the merged PR whose head is HEAD; it needs an authenticated `gh`. Without it, a squash-merged branch whose remote branch was deleted reports unpushed-commits.", "An adopted Pane (panes adopt) keeps its worktree unless --remove-worktree is passed. `panes restore` does not recreate a removed adopted worktree; the local branch is kept, so `git worktree add <path> <branch>` brings it back.", "With --session --merged, each item has outcome archived, would-archive (dry run), skipped (with skipped.code and skipped.message), or failed.", "Archiving a main-repo Pane (no Pane-managed worktree) always succeeds immediately since nothing is deleted from disk.", "Undo an archive with `runpane panes restore --pane <pane-id> --yes`, which recreates the worktree. `runpane links create --pane <pane-id>` gives the user a link to review the Pane first.", "When the safety check is skipped, `safetyCheck.reason` says why: `external-worktree` (an adopted Pane whose worktree Pane does not own), `main-repo`, `missing-project-context`, or `git-error`. `worktreeWillRemain: true` means archiving leaves the worktree on disk."];
|
|
8651
|
+
readonly notes: readonly ["If the result has ok:false with a blocked field, the pane was NOT archived; inspect blocked.code and rerun with --force if discarding the flagged work is intentional.", "Inspect safetyCheck.unpushedCommitDetails for exact commit IDs and subjects; upstreamRefreshed confirms the tracking ref was refreshed first.", "A --dry-run result sets dryRun:true and wouldArchive without deleting the Pane or its worktree.", "A successful archive reports worktreeCleanup `completed` once the worktree is gone from its path and from git. trashDeletion `pending` means a large worktree (for example one with node_modules) is still being deleted from .git/pane-trash in the background; that is still ok:true. `timeout` (also ok:true) means removal is still running; only `failed` sets ok:false.", "safetyCheck.mergedViaPr names the merged PR whose head is HEAD; it needs an authenticated `gh`. Without it, a squash-merged branch whose remote branch was deleted reports unpushed-commits.", "An adopted Pane (panes adopt) keeps its worktree unless --remove-worktree is passed. `panes restore` does not recreate a removed adopted worktree; the local branch is kept, so `git worktree add <path> <branch>` brings it back.", "With --session --merged, each item has outcome archived, would-archive (dry run), skipped (with skipped.code and skipped.message), or failed.", "Archiving a main-repo Pane (no Pane-managed worktree) always succeeds immediately since nothing is deleted from disk.", "Undo an archive with `runpane panes restore --pane <pane-id> --yes`, which recreates the worktree. `runpane links create --pane <pane-id>` gives the user a link to review the Pane first.", "When the safety check is skipped, `safetyCheck.reason` says why: `external-worktree` (an adopted Pane whose worktree Pane does not own), `main-repo`, `missing-project-context`, or `git-error`. `worktreeWillRemain: true` means archiving leaves the worktree on disk.", "An agent mid-turn or waiting for an answer blocks archive with `agent-busy` (`safetyCheck.busyAgents` lists them); wait until it is idle with `runpane panels wait --panel <id> --for idle`, then archive again. The Session sweep skips such a Pane with skipped.code `agent-busy`.", "A tab holding text typed into an agent's composer but not sent, or an editor with unsaved edits, blocks archive with `unsent-input` (`safetyCheck.unsentInput` lists them); send, save or clear it, then archive again. `--force` discards it."];
|
|
7444
8652
|
};
|
|
7445
8653
|
readonly "panes pin": {
|
|
7446
8654
|
readonly name: "panes pin";
|
|
@@ -7508,6 +8716,64 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
7508
8716
|
readonly jsonSchemas: readonly ["panePinRequest", "panePinResult"];
|
|
7509
8717
|
readonly notes: readonly ["This is a declarative set, not a toggle: retries leave an already-unpinned Pane unpinned.", "Unpinning does not focus the Pane."];
|
|
7510
8718
|
};
|
|
8719
|
+
readonly "panes pause": {
|
|
8720
|
+
readonly name: "panes pause";
|
|
8721
|
+
readonly summary: "Pause a Pane: stop every terminal tab and keep their conversations until the Pane is resumed.";
|
|
8722
|
+
readonly details: "Pauses every terminal tab of a Pane, run scripts included, until `panes resume` resumes it. A Pane reads as paused (`panes list` `paused`) while all of its terminal tabs are. Pane stops each terminal tab the way quitting does, without asking, even mid-turn, keeps its agent's conversation, and marks it paused. A paused tab stays stopped through clicks, app restarts and updates; `panels resume --session` and `--all-stopped` skip it. `watch` reports each tab as `panel.paused`.";
|
|
8723
|
+
readonly requiresPaneDaemon: true;
|
|
8724
|
+
readonly mutates: true;
|
|
8725
|
+
readonly arguments: readonly [{
|
|
8726
|
+
readonly name: "--pane";
|
|
8727
|
+
readonly value: "<pane-id>";
|
|
8728
|
+
readonly required: true;
|
|
8729
|
+
readonly description: "Pane id.";
|
|
8730
|
+
}, {
|
|
8731
|
+
readonly name: "--yes";
|
|
8732
|
+
readonly required: false;
|
|
8733
|
+
readonly description: "Skip confirmation for this mutating command.";
|
|
8734
|
+
}, {
|
|
8735
|
+
readonly name: "--json";
|
|
8736
|
+
readonly required: false;
|
|
8737
|
+
readonly description: "Print machine-readable output.";
|
|
8738
|
+
}, {
|
|
8739
|
+
readonly name: "--pane-dir";
|
|
8740
|
+
readonly value: "<path>";
|
|
8741
|
+
readonly required: false;
|
|
8742
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
8743
|
+
}];
|
|
8744
|
+
readonly examples: readonly ["runpane panes pause --pane <pane-id> --yes --json"];
|
|
8745
|
+
readonly jsonSchemas: readonly ["pauseResult"];
|
|
8746
|
+
readonly notes: readonly ["Find idle Panes with `panes list --json`: `inactiveSince` is the latest terminal output or input in its tabs, or the last time the person selected it.", "Leave paused workers paused unless the person asks to resume them."];
|
|
8747
|
+
};
|
|
8748
|
+
readonly "panes resume": {
|
|
8749
|
+
readonly name: "panes resume";
|
|
8750
|
+
readonly summary: "Resume a paused Pane: restart its paused tabs in their saved conversations.";
|
|
8751
|
+
readonly details: "Resumes a Pane's paused tabs. Pane restarts each paused tab in place through the same restart `panels resume` runs, so agents relaunch in their saved conversations and report ready as usual. Running tabs are left alone and counted in `unchanged`. `watch` reports each resumed tab as `panel.unpaused`.";
|
|
8752
|
+
readonly requiresPaneDaemon: true;
|
|
8753
|
+
readonly mutates: true;
|
|
8754
|
+
readonly arguments: readonly [{
|
|
8755
|
+
readonly name: "--pane";
|
|
8756
|
+
readonly value: "<pane-id>";
|
|
8757
|
+
readonly required: true;
|
|
8758
|
+
readonly description: "Pane id.";
|
|
8759
|
+
}, {
|
|
8760
|
+
readonly name: "--yes";
|
|
8761
|
+
readonly required: false;
|
|
8762
|
+
readonly description: "Skip confirmation for this mutating command.";
|
|
8763
|
+
}, {
|
|
8764
|
+
readonly name: "--json";
|
|
8765
|
+
readonly required: false;
|
|
8766
|
+
readonly description: "Print machine-readable output.";
|
|
8767
|
+
}, {
|
|
8768
|
+
readonly name: "--pane-dir";
|
|
8769
|
+
readonly value: "<path>";
|
|
8770
|
+
readonly required: false;
|
|
8771
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
8772
|
+
}];
|
|
8773
|
+
readonly examples: readonly ["runpane panes resume --pane <pane-id> --yes --json"];
|
|
8774
|
+
readonly jsonSchemas: readonly ["pauseResult"];
|
|
8775
|
+
readonly notes: readonly ["ok is false when a tab could not start; check failed[] for which and why. The others still resumed."];
|
|
8776
|
+
};
|
|
7511
8777
|
readonly "panes rename": {
|
|
7512
8778
|
readonly name: "panes rename";
|
|
7513
8779
|
readonly summary: "Rename a Pane without changing its worktree, branch, panels, or focus.";
|
|
@@ -7638,7 +8904,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
7638
8904
|
}];
|
|
7639
8905
|
readonly examples: readonly ["runpane panels output --panel <panel-id> --limit 200 --json"];
|
|
7640
8906
|
readonly jsonSchemas: readonly ["panelOutputResult"];
|
|
7641
|
-
readonly notes: readonly ["Default output is bounded to the latest 200 lines or records. Use a larger --limit only when hasMore is true and more history is needed.", "Use --json when an agent needs timestamps, record types, returnedCount, or hasMore.", "The output is intended to be agent-readable, but terminal prompts and shell echoes may still appear; use the newest relevant lines before concluding success.", "Prefer `panels screen` for a smaller current-state read before increasing output limits."
|
|
8907
|
+
readonly notes: readonly ["Default output is bounded to the latest 200 lines or records. Use a larger --limit only when hasMore is true and more history is needed.", "Use --json when an agent needs timestamps, record types, returnedCount, or hasMore.", "The output is intended to be agent-readable, but terminal prompts and shell echoes may still appear; use the newest relevant lines before concluding success.", "Prefer `panels screen` for a smaller current-state read before increasing output limits."];
|
|
7642
8908
|
};
|
|
7643
8909
|
readonly "panels input": {
|
|
7644
8910
|
readonly name: "panels input";
|
|
@@ -7682,7 +8948,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
7682
8948
|
}];
|
|
7683
8949
|
readonly examples: readonly ["printf 'Continue\\n' | runpane panels input --panel <panel-id> --input-file - --yes", "printf '\\003' | runpane panels input --panel <panel-id> --input-file - --yes", "runpane panels input --panel <panel-id> --text \"simple text\" --yes --json", "runpane panels input --panel <panel-id> --keys down,enter --yes --json"];
|
|
7684
8950
|
readonly jsonSchemas: readonly ["panelInputRequest", "panelInputResult"];
|
|
7685
|
-
readonly notes: readonly ["To answer a menu or prompt, prefer `--keys` (for example `--keys down,enter`) over escape sequences in `--text`.", "Input is sent exactly as provided. Include a real newline byte when the terminal should receive Enter; across shells, `--input-file` is safer than `--text \"...\\n\"`.", "Use `--input-file -` or a temp file for multi-line input, quotes, Ctrl-C, or shell-sensitive text.", "If interrupting a running process, send Ctrl-C first, validate/read output, then send the next command in a separate `panels input` call so bytes are not dropped.", "After sending input, validate with `runpane panels output --panel <panel-id> --json` before reporting success.", "Runpane records action metadata and errors for observability, but should not log full input text by default.", "For ordinary text plus Enter, prefer `panels submit` so the terminal receives a CR Enter byte."
|
|
8951
|
+
readonly notes: readonly ["To answer a menu or prompt, prefer `--keys` (for example `--keys down,enter`) over escape sequences in `--text`.", "Input is sent exactly as provided. Include a real newline byte when the terminal should receive Enter; across shells, `--input-file` is safer than `--text \"...\\n\"`.", "Use `--input-file -` or a temp file for multi-line input, quotes, Ctrl-C, or shell-sensitive text.", "If interrupting a running process, send Ctrl-C first, validate/read output, then send the next command in a separate `panels input` call so bytes are not dropped.", "After sending input, validate with `runpane panels output --panel <panel-id> --json` before reporting success.", "Runpane records action metadata and errors for observability, but should not log full input text by default.", "For ordinary text plus Enter, prefer `panels submit` so the terminal receives a CR Enter byte."];
|
|
7686
8952
|
};
|
|
7687
8953
|
readonly "agents doctor": {
|
|
7688
8954
|
readonly name: "agents doctor";
|
|
@@ -7742,7 +9008,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
7742
9008
|
}];
|
|
7743
9009
|
readonly examples: readonly ["runpane panels screen --panel <panel-id> --limit 80 --json"];
|
|
7744
9010
|
readonly jsonSchemas: readonly ["panelScreenResult"];
|
|
7745
|
-
readonly notes: readonly ["Use this before `panels output` when an agent only needs the latest visible/current state.", "The composer object reports whether a Claude or Codex composer is present and whether it holds undelivered text. Placeholder and suggestion text (drawn dim or grey, such as Claude's suggested next prompt) does not count as undelivered text; `composer.ghostText` carries it, and text output marks its line with `⟨suggestion⟩`.", "If hasMore is true and context is missing, rerun with a larger --limit or use `panels output`."
|
|
9011
|
+
readonly notes: readonly ["Use this before `panels output` when an agent only needs the latest visible/current state.", "The composer object reports whether a Claude or Codex composer is present and whether it holds undelivered text. Placeholder and suggestion text (drawn dim or grey, such as Claude's suggested next prompt) does not count as undelivered text; `composer.ghostText` carries it, and text output marks its line with `⟨suggestion⟩`.", "If hasMore is true and context is missing, rerun with a larger --limit or use `panels output`."];
|
|
7746
9012
|
};
|
|
7747
9013
|
readonly "panels submit": {
|
|
7748
9014
|
readonly name: "panels submit";
|
|
@@ -7811,12 +9077,12 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
7811
9077
|
}];
|
|
7812
9078
|
readonly examples: readonly ["runpane panels submit --panel <panel-id> --input-file prompt.md --as-file-pointer --wait --yes", "runpane panels submit --panel <panel-id> --text \"2\" --yes --json", "printf \"echo hello\" | runpane panels submit --panel <panel-id> --input-file - --yes --json", "runpane panels submit --panel <panel-id> --input-file brief.md --as-file-pointer --yes --json", "runpane panels submit --panel <panel-id> --text \"Stop that approach and follow this correction\" --interrupt --yes --json"];
|
|
7813
9079
|
readonly jsonSchemas: readonly ["panelSubmitRequest", "panelSubmitResult"];
|
|
7814
|
-
readonly notes: readonly ["The response includes sequenceName, verifiedSubmitted, delivery and nextCommand. For Claude and Codex, `delivery.state` is `taken` (the agent started a turn with the text), `queued` (it holds the text until its current turn ends), `in-composer` (the text is still in the composer) or `unknown`, and `delivery.evidence` is `transcript` (the agent's own transcript) or `screen`. verifiedSubmitted is true for `taken` or `queued`; never resend those. If ok is false, inspect blocked and do not assume the turn started.", "Do not follow `panels submit` with `panels submit-composer`; Claude and Codex composer submission is handled atomically.", "Use `panels input` for Ctrl-C, escape sequences, or any workflow requiring exact bytes.", "On `blocked.kind: composer-unknown`, nothing was typed. Check `panels screen`; if the agent is at a prompt Pane does not recognise, use `panels input`.", "For Claude, text starting with `!`, `#`, `/` or `@` is sent unchanged and the result carries a `warnings` entry (for example `leading-bang-runs-shell`), because Claude Code gives those characters a meaning of its own.", "`--as-file-pointer` writes the text to a prompt file readable only by you, inside the Pane's git worktree at `.pane/prompts/` (hidden by the repository's `.git/info/exclude`, never committed) when it has one, otherwise under `<pane-dir>/prompts/<pane-id>/`, so an agent limited to its working directories reads it without a permission prompt, and sends the one line `Read and follow <path>`, with the path relative to the worktree (where the agent starts) when the file is inside it; the result's `promptFile` is always absolute. Prefer it for long prompts.", "`--attach <file>` (repeatable, with `--as-file-pointer`) copies each file into a folder beside the prompt file and sends `Read and follow <path> (attached: <copy>, ...)`; the result lists the copies in `attachments`.", "With --interrupt, Pane sends the stop key only while the agent is active, waits for an empty idle composer, then submits. If readiness times out, replacement text is not sent. A queued result is not read yet: delivery.message explains the delay; never resend queued text. Interrupt success requires delivery.state: taken. Unknown agents and occupied composers are rejected without typing."
|
|
9080
|
+
readonly notes: readonly ["The response includes sequenceName, verifiedSubmitted, delivery and nextCommand. For Claude and Codex, `delivery.state` is `taken` (the agent started a turn with the text), `queued` (it holds the text until its current turn ends), `in-composer` (the text is still in the composer) or `unknown`, and `delivery.evidence` is `transcript` (the agent's own transcript) or `screen`. verifiedSubmitted is true for `taken` or `queued`; never resend those. If ok is false, inspect blocked and do not assume the turn started.", "Do not follow `panels submit` with `panels submit-composer`; Claude and Codex composer submission is handled atomically.", "Use `panels input` for Ctrl-C, escape sequences, or any workflow requiring exact bytes.", "On `blocked.kind: composer-unknown`, nothing was typed. Check `panels screen`; if the agent is at a prompt Pane does not recognise, use `panels input`.", "For Claude, text starting with `!`, `#`, `/` or `@` is sent unchanged and the result carries a `warnings` entry (for example `leading-bang-runs-shell`), because Claude Code gives those characters a meaning of its own.", "`--as-file-pointer` writes the text to a prompt file readable only by you, inside the Pane's git worktree at `.pane/prompts/` (hidden by the repository's `.git/info/exclude`, never committed) when it has one, otherwise under `<pane-dir>/prompts/<pane-id>/`, so an agent limited to its working directories reads it without a permission prompt, and sends the one line `Read and follow <path>`, with the path relative to the worktree (where the agent starts) when the file is inside it; the result's `promptFile` is always absolute. Prefer it for long prompts.", "`--attach <file>` (repeatable, with `--as-file-pointer`) copies each file into a folder beside the prompt file and sends `Read and follow <path> (attached: <copy>, ...)`; the result lists the copies in `attachments`.", "With --interrupt, Pane sends the stop key only while the agent is active, waits for an empty idle composer, then submits. If readiness times out, replacement text is not sent. A queued result is not read yet: delivery.message explains the delay; never resend queued text. Interrupt success requires delivery.state: taken. Unknown agents and occupied composers are rejected without typing."];
|
|
7815
9081
|
};
|
|
7816
9082
|
readonly "panels resume": {
|
|
7817
9083
|
readonly name: "panels resume";
|
|
7818
9084
|
readonly summary: "Restart stopped terminal panels in place, resuming their agents' conversations: one panel, a Session's panels, or every stopped agent panel.";
|
|
7819
|
-
readonly details: "Use this when `panels list`, `panels screen`, or `panels wait` report `running: false`, or `watch` reports `panel.stopped`, typically after a Pane restart or once its agent exited back to the shell. The panel keeps its id. Pane re-runs the panel's saved launch command resolved to the agent's resume command (Claude `--resume <session>`, `codex resume <session>`, Cursor `--resume`), the same restart the app runs when it shows the panel. It never takes focus. A panel whose agent exited back to its shell has its saved command run again in that shell. On a running panel it does nothing and returns `action: \"already-running\"`. `--session <id|name>` or `--all-stopped` resumes every stopped agent panel in that scope (plain shells are left alone), `--concurrency` at a time, skips running panels, and returns one result per panel; one failure does not stop the others.";
|
|
9085
|
+
readonly details: "Use this when `panels list`, `panels screen`, or `panels wait` report `running: false`, or `watch` reports `panel.stopped`, typically after a Pane restart or once its agent exited back to the shell. The panel keeps its id. Pane re-runs the panel's saved launch command resolved to the agent's resume command (Claude `--resume <session>`, `codex resume <session>`, Cursor `--resume`), the same restart the app runs when it shows the panel. It never takes focus. A panel whose agent exited back to its shell has its saved command run again in that shell. On a running panel it does nothing and returns `action: \"already-running\"`. `--panel` also resumes a paused tab. `--session <id|name>` or `--all-stopped` resumes every stopped agent panel in that scope (plain shells and paused tabs are left alone), `--concurrency` at a time, skips running panels, and returns one result per panel; one failure does not stop the others.";
|
|
7820
9086
|
readonly requiresPaneDaemon: true;
|
|
7821
9087
|
readonly mutates: true;
|
|
7822
9088
|
readonly arguments: readonly [{
|
|
@@ -7863,7 +9129,65 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
7863
9129
|
}];
|
|
7864
9130
|
readonly examples: readonly ["runpane panels resume --panel <panel-id> --wait-ready --yes --json", "runpane panels resume --session <id|name> --wait-ready --yes --json"];
|
|
7865
9131
|
readonly jsonSchemas: readonly ["panelResumeResult", "panelResumeManyResult"];
|
|
7866
|
-
readonly notes: readonly ["If readiness.blocked is present, the agent is at a startup prompt (trust, update, [y/n]); inspect `panels screen` or follow blocked.suggestedCommand. Ask the user before answering trust or permission prompts.", "A Claude panel resumes the conversation whose session id Pane launched it with; a Codex panel resumes the session id Pane captured from its output. Without one, the panel relaunches its original command.", "A bulk resume is ok only when every panel resumed and, with --wait-ready, became ready. Check items[].readiness.blocked and items[].error per panel."
|
|
9132
|
+
readonly notes: readonly ["If readiness.blocked is present, the agent is at a startup prompt (trust, update, [y/n]); inspect `panels screen` or follow blocked.suggestedCommand. Ask the user before answering trust or permission prompts.", "A Claude panel resumes the conversation whose session id Pane launched it with; a Codex panel resumes the session id Pane captured from its output. Without one, the panel relaunches its original command.", "A bulk resume is ok only when every panel resumed and, with --wait-ready, became ready. Check items[].readiness.blocked and items[].error per panel."];
|
|
9133
|
+
};
|
|
9134
|
+
readonly "panels close": {
|
|
9135
|
+
readonly name: "panels close";
|
|
9136
|
+
readonly summary: "Close a tab in a Pane, stopping its process, as closing the tab in the app does.";
|
|
9137
|
+
readonly details: "Use this to remove a tab you no longer need, such as a finished or stuck worker. It runs the app's own close-tab path: a terminal tab's process is stopped, the tab disappears from every window showing the Pane, and another tab becomes active if it was the active one.";
|
|
9138
|
+
readonly requiresPaneDaemon: true;
|
|
9139
|
+
readonly mutates: true;
|
|
9140
|
+
readonly arguments: readonly [{
|
|
9141
|
+
readonly name: "--panel";
|
|
9142
|
+
readonly value: "<panel-id>";
|
|
9143
|
+
readonly required: true;
|
|
9144
|
+
readonly description: "Panel id to close (any tab type).";
|
|
9145
|
+
}, {
|
|
9146
|
+
readonly name: "--yes";
|
|
9147
|
+
readonly required: false;
|
|
9148
|
+
readonly description: "Skip confirmation for this mutating command.";
|
|
9149
|
+
}, {
|
|
9150
|
+
readonly name: "--json";
|
|
9151
|
+
readonly required: false;
|
|
9152
|
+
readonly description: "Print machine-readable output.";
|
|
9153
|
+
}, {
|
|
9154
|
+
readonly name: "--pane-dir";
|
|
9155
|
+
readonly value: "<path>";
|
|
9156
|
+
readonly required: false;
|
|
9157
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
9158
|
+
}];
|
|
9159
|
+
readonly examples: readonly ["runpane panels close --panel <panel-id> --yes --json"];
|
|
9160
|
+
readonly jsonSchemas: readonly ["panelCloseRequest", "panelCloseResult"];
|
|
9161
|
+
readonly notes: readonly ["Closing is not undoable: the tab and its scrollback are gone. To stop an agent and keep its tab, send it Ctrl-C with `panels input` instead; to restart a stopped one, use `panels resume`.", "A Pane's permanent tabs cannot be closed; the command fails and nothing changes.", "Closing the tab the command runs in stops the caller too, so it may not see the result."];
|
|
9162
|
+
};
|
|
9163
|
+
readonly "panels pause": {
|
|
9164
|
+
readonly name: "panels pause";
|
|
9165
|
+
readonly summary: "Pause a terminal tab: stop its process and keep its agent's conversation until it is resumed.";
|
|
9166
|
+
readonly details: "Pauses one terminal tab until `panels resume --panel <panel-id>`, or its Pane or Session, resumes it. Pane stops each terminal tab the way quitting does, without asking, even mid-turn, keeps its agent's conversation, and marks it paused. A paused tab stays stopped through clicks, app restarts and updates; `panels resume --session` and `--all-stopped` skip it. `watch` reports each tab as `panel.paused`.";
|
|
9167
|
+
readonly requiresPaneDaemon: true;
|
|
9168
|
+
readonly mutates: true;
|
|
9169
|
+
readonly arguments: readonly [{
|
|
9170
|
+
readonly name: "--panel";
|
|
9171
|
+
readonly value: "<panel-id>";
|
|
9172
|
+
readonly required: true;
|
|
9173
|
+
readonly description: "Terminal panel id.";
|
|
9174
|
+
}, {
|
|
9175
|
+
readonly name: "--yes";
|
|
9176
|
+
readonly required: false;
|
|
9177
|
+
readonly description: "Skip confirmation for this mutating command.";
|
|
9178
|
+
}, {
|
|
9179
|
+
readonly name: "--json";
|
|
9180
|
+
readonly required: false;
|
|
9181
|
+
readonly description: "Print machine-readable output.";
|
|
9182
|
+
}, {
|
|
9183
|
+
readonly name: "--pane-dir";
|
|
9184
|
+
readonly value: "<path>";
|
|
9185
|
+
readonly required: false;
|
|
9186
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
9187
|
+
}];
|
|
9188
|
+
readonly examples: readonly ["runpane panels pause --panel <panel-id> --yes --json"];
|
|
9189
|
+
readonly jsonSchemas: readonly ["pauseResult"];
|
|
9190
|
+
readonly notes: readonly ["Leave paused workers paused unless the person asks to resume them."];
|
|
7867
9191
|
};
|
|
7868
9192
|
readonly "panels wait": {
|
|
7869
9193
|
readonly name: "panels wait";
|
|
@@ -7908,7 +9232,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
7908
9232
|
}];
|
|
7909
9233
|
readonly examples: readonly ["runpane panels wait --panel <panel-id> --for ready --timeout-ms 30000 --json", "runpane panels wait --panel <panel-id> --contains \"Ready\" --json"];
|
|
7910
9234
|
readonly jsonSchemas: readonly ["panelWaitResult"];
|
|
7911
|
-
readonly notes: readonly ["If blocked is present, do not assume success. Use blocked.suggestedCommand or inspect `panels screen`.", "If stopped is true, the panel's terminal is not running (for example after a Pane restart); run nextCommand (`panels resume`) instead of waiting again.", "The default timeout and screen are intentionally small for agent context safety."
|
|
9235
|
+
readonly notes: readonly ["If blocked is present, do not assume success. Use blocked.suggestedCommand or inspect `panels screen`.", "If stopped is true, the panel's terminal is not running (for example after a Pane restart); run nextCommand (`panels resume`) instead of waiting again.", "The default timeout and screen are intentionally small for agent context safety."];
|
|
7912
9236
|
};
|
|
7913
9237
|
readonly "panels last-message": {
|
|
7914
9238
|
readonly name: "panels last-message";
|
|
@@ -7938,7 +9262,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
7938
9262
|
}];
|
|
7939
9263
|
readonly examples: readonly ["runpane panels last-message --panel <panel-id> --json"];
|
|
7940
9264
|
readonly jsonSchemas: readonly ["panelLastMessageResult"];
|
|
7941
|
-
readonly notes: readonly ["Without a transcript (a shell panel, another agent, or no reply yet) the result is `{ ok: false, reason: \"transcript-unavailable\" }` and the command exits 1. Use `panels screen` then.", "A worker that ran `runpane report` already handed back its state, PR, head, and summary; read those with `agents status` before reading the whole reply."
|
|
9265
|
+
readonly notes: readonly ["Without a transcript (a shell panel, another agent, or no reply yet) the result is `{ ok: false, reason: \"transcript-unavailable\" }` and the command exits 1. Use `panels screen` then.", "A worker that ran `runpane report` already handed back its state, PR, head, and summary; read those with `agents status` before reading the whole reply."];
|
|
7942
9266
|
};
|
|
7943
9267
|
readonly "panels create": {
|
|
7944
9268
|
readonly name: "panels create";
|
|
@@ -8134,7 +9458,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
8134
9458
|
}];
|
|
8135
9459
|
readonly examples: readonly ["runpane panels submit-composer --panel <codex-panel-id> --strategy auto --yes --json", "runpane panels submit-composer --panel <panel-id> --strategy enter --yes --json"];
|
|
8136
9460
|
readonly jsonSchemas: readonly ["panelSubmitComposerRequest", "panelSubmitComposerResult"];
|
|
8137
|
-
readonly notes: readonly ["Use `panels input` or `panels submit` to write prompt text first; this command only submits the current composer.", "Use --strategy auto for agent workflows; explicit strategies are diagnostic escape hatches.", "The JSON result includes sequenceName, verifiedSubmitted and, for Claude and Codex, delivery (`taken`, `queued`, `in-composer` or `unknown`, with `transcript` or `screen` evidence). If ok is false, follow blocked.suggestedCommand instead of assuming submission happened.", "With `--strategy auto`, if the staged text is still visible in the composer after the first attempt, Pane retries once and checks again: Tab for working Codex, Enter otherwise. It never retries an empty composer."
|
|
9461
|
+
readonly notes: readonly ["Use `panels input` or `panels submit` to write prompt text first; this command only submits the current composer.", "Use --strategy auto for agent workflows; explicit strategies are diagnostic escape hatches.", "The JSON result includes sequenceName, verifiedSubmitted and, for Claude and Codex, delivery (`taken`, `queued`, `in-composer` or `unknown`, with `transcript` or `screen` evidence). If ok is false, follow blocked.suggestedCommand instead of assuming submission happened.", "With `--strategy auto`, if the staged text is still visible in the composer after the first attempt, Pane retries once and checks again: Tab for working Codex, Enter otherwise. It never retries an empty composer."];
|
|
8138
9462
|
};
|
|
8139
9463
|
readonly "workspace state": {
|
|
8140
9464
|
readonly name: "workspace state";
|
|
@@ -8207,7 +9531,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
8207
9531
|
readonly name: "--kinds";
|
|
8208
9532
|
readonly required: false;
|
|
8209
9533
|
readonly value: "<kind,...>";
|
|
8210
|
-
readonly description: "Replace the default event kinds: agent.ready, agent.busy, agent.blocked, agent.unknown, agent.idle, pane.created, pane.gone, panel.exited, panel.stopped, agent.report, pane.associated, pane.detached, pr.conflicted, pr.checks, pr.merged. Defaults: defaults.watch.follow.kinds under --follow, defaults.watch.untilEvent.kinds under --until-event, every kind for a one-shot read.";
|
|
9534
|
+
readonly description: "Replace the default event kinds: agent.ready, agent.busy, agent.blocked, agent.unknown, agent.idle, pane.created, pane.gone, panel.exited, panel.stopped, panel.paused, panel.unpaused, agent.report, pane.associated, pane.detached, pr.conflicted, pr.checks, pr.merged. Defaults: defaults.watch.follow.kinds under --follow, defaults.watch.untilEvent.kinds under --until-event, every kind for a one-shot read.";
|
|
8211
9535
|
}, {
|
|
8212
9536
|
readonly name: "--json";
|
|
8213
9537
|
readonly required: false;
|
|
@@ -9145,7 +10469,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
9145
10469
|
}];
|
|
9146
10470
|
readonly examples: readonly ["runpane sessions update --session <id|name> --from-json <path|-> [--json] [--pane-dir <path>]"];
|
|
9147
10471
|
readonly jsonSchemas: readonly ["sessionResult"];
|
|
9148
|
-
readonly notes: readonly ["Structured input accepts launchCommand (full command including arguments; empty uses the selected agent default) and profile (Session behavior instructions). Creating/opening a Session submits no automatic prompt. Create starts the Session's agent; to give it a first prompt, run `runpane panels wait --panel <panelId> --for ready`, then `runpane panels submit --panel <panelId>`. Changes apply on next terminal launch.", "JSON isPinned: true/false sets the UI pin star. Creation defaults to false; update preserves the pin when omitted.", "Payload fields (all optional on update; name required on create): name, goal, context, nextAction, launchCommand, profile (strings); isPinned and, on update, archived (booleans); agent (codex|claude|cursor); decisions and blockers (arrays of strings); evidence and outputs (arrays of links); create also takes runtime (windows|wsl) and wslDistribution; update also takes report, expectedRevision (the revision you read; the update is refused if the Session has moved on) and source (user|agent).", "A link is {\"label\": non-empty string, \"url\": an https://, http://, file:// or grain:// URL, \"addedAt\": ISO 8601 date such as 2026-10-14T09:30:00Z, \"kind\"?: evidence|output|ticket|pull-request|other, \"provenance\"?: string}.", "Arrays replace the stored value: send the whole list, not only new items.", "Every problem in the payload is reported at once in one ERR_SESSION_PAYLOAD_INVALID error (paths such as outputs[0].addedAt, \"missing\" for an absent required field), and nothing is changed.", "update only: report is {\"summary\": non-empty string, \"status\": reported|verified, \"evidence\": [at least one link], \"reportedAt\": ISO 8601 date, \"provenance\": non-empty string}; report null clears it.", "Example: {\"expectedRevision\": 4, \"nextAction\": \"Merge after CI\", \"decisions\": [\"Cut from main\", \"Skip beta\"], \"evidence\": [{\"label\": \"QA log\", \"url\": \"file:///tmp/qa.log\", \"addedAt\": \"2026-10-14T09:30:00Z\", \"kind\": \"evidence\", \"provenance\": \"qa agent\"}], \"report\": {\"summary\": \"QA passed\", \"status\": \"verified\", \"evidence\": [{\"label\": \"QA log\", \"url\": \"file:///tmp/qa.log\", \"addedAt\": \"2026-10-14T09:30:00Z\"}], \"reportedAt\": \"2026-10-14T09:31:00Z\", \"provenance\": \"qa agent\"}}"];
|
|
10472
|
+
readonly notes: readonly ["Structured input accepts launchCommand (full command including arguments; empty uses the selected agent default) and profile (Session behavior instructions). Creating/opening a Session submits no automatic prompt. Create starts the Session's agent; to give it a first prompt, run `runpane panels wait --panel <panelId> --for ready`, then `runpane panels submit --panel <panelId>`. Changes apply on next terminal launch.", "JSON isPinned: true/false sets the UI pin star. Creation defaults to false; update preserves the pin when omitted.", "Payload fields (all optional on update; name required on create): name, goal, context, nextAction, launchCommand, profile (strings); isPinned and, on update, archived (booleans); agent (codex|claude|cursor); decisions and blockers (arrays of strings); evidence and outputs (arrays of links); create also takes runtime (windows|wsl) and wslDistribution; update also takes report, expectedRevision (the revision you read; the update is refused if the Session has moved on) and source (user|agent).", "A link is {\"label\": non-empty string, \"url\": an https://, http://, file:// or grain:// URL, \"addedAt\": ISO 8601 date such as 2026-10-14T09:30:00Z, \"kind\"?: evidence|output|ticket|pull-request|other, \"provenance\"?: string}.", "archived: true also archives every Pane associated with the Session, as `panes archive --pane` would. A Pane that check refuses stays open (agent-busy, unsent-input, uncommitted-changes, unpushed-commits, uncommitted-and-unpushed, status-unknown), and so does one whose archive fails. The result's `panes` lists `archivedPaneIds`, `keptPanes` (with `code`) and `failedPanes` (with `error`); check a kept Pane with `panes archive --pane <id> --dry-run --json`. Undo is the person's: `panes restore`.", "Arrays replace the stored value: send the whole list, not only new items.", "Every problem in the payload is reported at once in one ERR_SESSION_PAYLOAD_INVALID error (paths such as outputs[0].addedAt, \"missing\" for an absent required field), and nothing is changed.", "update only: report is {\"summary\": non-empty string, \"status\": reported|verified, \"evidence\": [at least one link], \"reportedAt\": ISO 8601 date, \"provenance\": non-empty string}; report null clears it.", "Example: {\"expectedRevision\": 4, \"nextAction\": \"Merge after CI\", \"decisions\": [\"Cut from main\", \"Skip beta\"], \"evidence\": [{\"label\": \"QA log\", \"url\": \"file:///tmp/qa.log\", \"addedAt\": \"2026-10-14T09:30:00Z\", \"kind\": \"evidence\", \"provenance\": \"qa agent\"}], \"report\": {\"summary\": \"QA passed\", \"status\": \"verified\", \"evidence\": [{\"label\": \"QA log\", \"url\": \"file:///tmp/qa.log\", \"addedAt\": \"2026-10-14T09:30:00Z\"}], \"reportedAt\": \"2026-10-14T09:31:00Z\", \"provenance\": \"qa agent\"}}"];
|
|
9149
10473
|
};
|
|
9150
10474
|
readonly "sessions set-agent": {
|
|
9151
10475
|
readonly name: "sessions set-agent";
|
|
@@ -9159,7 +10483,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
9159
10483
|
readonly required: false;
|
|
9160
10484
|
readonly description: "Connect to a specific Pane data directory.";
|
|
9161
10485
|
}];
|
|
9162
|
-
readonly examples: readonly ["runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor> [--json] [--pane-dir <path>]"];
|
|
10486
|
+
readonly examples: readonly ["runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode> [--json] [--pane-dir <path>]"];
|
|
9163
10487
|
readonly jsonSchemas: readonly ["sessionResult"];
|
|
9164
10488
|
readonly notes: readonly [];
|
|
9165
10489
|
};
|
|
@@ -9576,6 +10900,56 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
9576
10900
|
readonly jsonSchemas: readonly ["sessionResult"];
|
|
9577
10901
|
readonly notes: readonly ["Uses the same Session update path as the UI. The requested pin state is idempotent."];
|
|
9578
10902
|
};
|
|
10903
|
+
readonly "sessions pause": {
|
|
10904
|
+
readonly name: "sessions pause";
|
|
10905
|
+
readonly summary: "Pause a Session: stop its chat and the tabs of every Pane in it, keeping their conversations.";
|
|
10906
|
+
readonly details: "Pauses a Session's chat and the terminal tabs of every Pane in it that is not archived, until `sessions resume` resumes them. A Session reads as paused (`sessions get` `session.paused`) while its chat and all of its Panes are. Pane stops each terminal tab the way quitting does, without asking, even mid-turn, keeps its agent's conversation, and marks it paused. A paused tab stays stopped through clicks, app restarts and updates; `panels resume --session` and `--all-stopped` skip it. `watch` reports each tab as `panel.paused`.";
|
|
10907
|
+
readonly requiresPaneDaemon: true;
|
|
10908
|
+
readonly mutates: true;
|
|
10909
|
+
readonly arguments: readonly [{
|
|
10910
|
+
readonly name: "--session";
|
|
10911
|
+
readonly value: "<id|name>";
|
|
10912
|
+
readonly required: true;
|
|
10913
|
+
readonly description: "Named Session id or exact name.";
|
|
10914
|
+
}, {
|
|
10915
|
+
readonly name: "--json";
|
|
10916
|
+
readonly required: false;
|
|
10917
|
+
readonly description: "Print machine-readable output.";
|
|
10918
|
+
}, {
|
|
10919
|
+
readonly name: "--pane-dir";
|
|
10920
|
+
readonly value: "<path>";
|
|
10921
|
+
readonly required: false;
|
|
10922
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
10923
|
+
}];
|
|
10924
|
+
readonly examples: readonly ["runpane sessions pause --session <id|name> --json"];
|
|
10925
|
+
readonly jsonSchemas: readonly ["pauseResult"];
|
|
10926
|
+
readonly notes: readonly ["Leave paused workers paused unless the person asks to resume them."];
|
|
10927
|
+
};
|
|
10928
|
+
readonly "sessions resume": {
|
|
10929
|
+
readonly name: "sessions resume";
|
|
10930
|
+
readonly summary: "Resume a paused Session: restart its chat and the paused tabs of its Panes.";
|
|
10931
|
+
readonly details: "Resumes the paused tabs of a Session's chat and Panes. An archived Session is refused. Pane restarts each paused tab in place through the same restart `panels resume` runs, so agents relaunch in their saved conversations and report ready as usual. Running tabs are left alone and counted in `unchanged`. `watch` reports each resumed tab as `panel.unpaused`.";
|
|
10932
|
+
readonly requiresPaneDaemon: true;
|
|
10933
|
+
readonly mutates: true;
|
|
10934
|
+
readonly arguments: readonly [{
|
|
10935
|
+
readonly name: "--session";
|
|
10936
|
+
readonly value: "<id|name>";
|
|
10937
|
+
readonly required: true;
|
|
10938
|
+
readonly description: "Named Session id or exact name.";
|
|
10939
|
+
}, {
|
|
10940
|
+
readonly name: "--json";
|
|
10941
|
+
readonly required: false;
|
|
10942
|
+
readonly description: "Print machine-readable output.";
|
|
10943
|
+
}, {
|
|
10944
|
+
readonly name: "--pane-dir";
|
|
10945
|
+
readonly value: "<path>";
|
|
10946
|
+
readonly required: false;
|
|
10947
|
+
readonly description: "Connect to a specific Pane data directory.";
|
|
10948
|
+
}];
|
|
10949
|
+
readonly examples: readonly ["runpane sessions resume --session <id|name> --json"];
|
|
10950
|
+
readonly jsonSchemas: readonly ["pauseResult"];
|
|
10951
|
+
readonly notes: readonly ["ok is false when a tab could not start; check failed[] for which and why. The others still resumed."];
|
|
10952
|
+
};
|
|
9579
10953
|
readonly "pr watch": {
|
|
9580
10954
|
readonly name: "pr watch";
|
|
9581
10955
|
readonly summary: "Register durable GitHub PR monitoring for a Pane.";
|
|
@@ -10107,11 +11481,11 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
10107
11481
|
readonly notes: readonly ["Write the card the way the pane MCP server's instructions say: in plain words, what the work is for, what just happened, and what you need.", "Results: options returns {answer: <chosen label>, note?}; approve returns {approved: true|false, note?}; ask returns {answer}; info returns {delivered: \"screen\"|\"inbox\"}.", "A result of {waiting: true, id} means the question is still on screen and your client would otherwise time out: call `runpane notify --resume <id>` right away to keep waiting. After 15 minutes on this loop Pane gives up and returns unavailable.", "A result of {unavailable, next} means nobody can answer through Pane right now (Pane is not running, Notify is off, or the wait ended): ask in the terminal instead. It is a result, not an error.", "Inside a Pane terminal the question names its Pane and panel (PANE_SESSION_ID and PANE_PANEL_ID); elsewhere it names the working directory.", "Invalid input, such as choices with ui ask or 10 choices, fails with a message naming the field, and nothing is shown."];
|
|
10108
11482
|
};
|
|
10109
11483
|
};
|
|
10110
|
-
readonly managedBlock: readonly ["## Pane", "", "This repository is used with [Pane](https://runpane.com). Drive it with the CLI or the `pane` MCP server.", "", "1 feature = 1 worktree = 1 branch = 1 Pane; reviews, audits, fixes and QA for it are tabs in that Pane. Open later agents with `runpane panels create --pane <id>` (MCP: `panels_create` or `agents_start` with `pane`), not a new 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.", "", "CLI: `npm i -g runpane` (or `npx --yes runpane@latest`), then `runpane doctor --json`. Full command reference: `runpane agent-context --json`.", "", "MCP: packaged Pane registers a stdio server named `pane` with Claude Code, Codex, and Cursor. Check the connection with `claude mcp list`, `codex mcp list`, or `agent mcp list`. Cursor may ask you to enable `pane` with `agent mcp enable pane`. If tools are missing, add it in the agent's MCP settings: Claude Code `claude mcp add --scope user pane -- npx --yes runpane@latest mcp`; Codex (`~/.codex/config.toml`) table `[mcp_servers.pane]` with `command = \"npx\"` and `args = [\"--yes\", \"runpane@latest\", \"mcp\"]`; Cursor (`~/.cursor/mcp.json`) uses `mcpServers.pane` with the same `npx` command and args; any other stdio client uses them too."];
|
|
11484
|
+
readonly managedBlock: readonly ["## Pane", "", "This repository is used with [Pane](https://runpane.com). Drive it with the CLI or the `pane` MCP server.", "", "1 feature = 1 worktree = 1 branch = 1 Pane; reviews, audits, fixes and QA for it are tabs in that Pane. Open later agents with `runpane panels create --pane <id>` (MCP: `panels_create` or `agents_start` with `pane`), not a new 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. For an API key, token or password, call `secrets_request` (or `runpane secrets request`), never `ask`; if that returns `unavailable`, ask the person to save it in Pane under Settings > Secrets.", "", "CLI: `npm i -g runpane` (or `npx --yes runpane@latest`), then `runpane doctor --json`. Full command reference: `runpane agent-context --json`.", "", "MCP: packaged Pane registers a stdio server named `pane` with Claude Code, Codex, and Cursor. Check the connection with `claude mcp list`, `codex mcp list`, or `agent mcp list`. Cursor may ask you to enable `pane` with `agent mcp enable pane`. If tools are missing, add it in the agent's MCP settings: Claude Code `claude mcp add --scope user pane -- npx --yes runpane@latest mcp`; Codex (`~/.codex/config.toml`) table `[mcp_servers.pane]` with `command = \"npx\"` and `args = [\"--yes\", \"runpane@latest\", \"mcp\"]`; Cursor (`~/.cursor/mcp.json`) uses `mcpServers.pane` with the same `npx` command and args; any other stdio client uses them too."];
|
|
10111
11485
|
readonly notifyGuidance: {
|
|
10112
|
-
readonly rules: readonly ["Ask only what you can't find out yourself.", "Put related questions in one card.", "Send `info` rarely, only for what the person must know now.", "Keep titles short and choices to a few words."];
|
|
11486
|
+
readonly rules: readonly ["Ask only what you can't find out yourself.", "Put related questions in one card.", "Send `info` rarely, only for what the person must know now.", "Keep titles short and choices to a few words.", "For an API key, token or password, call `secrets_request` (or `runpane secrets request`), never `ask`."];
|
|
10113
11487
|
readonly cardRule: "The person is juggling many tasks and has lost the thread. In plain words, say what the work is for (the outcome, not the file), what just happened, and what you need. For a decision, give the options and what each one means. Pane already shows which Pane and agent sent it.";
|
|
10114
|
-
readonly results: "`waiting` means call `notify` again with `resume
|
|
11488
|
+
readonly results: "`waiting` means call `notify` again with `resume`. `unavailable` means ask in the terminal; for a secret, ask the person to save it in Pane under Settings > Secrets.";
|
|
10115
11489
|
readonly examples: readonly [{
|
|
10116
11490
|
readonly name: "Needs a decision";
|
|
10117
11491
|
readonly ui: "approve";
|