runpane 2.4.219 → 2.4.220
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/dist/commands.js +8 -1
- package/dist/commands.js.map +1 -1
- package/dist/docs-index.json +1 -1
- package/dist/generated/contract.d.ts +96 -111
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +141 -164
- package/dist/generated/contract.js.map +1 -1
- package/dist/handoff.d.ts.map +1 -1
- package/dist/handoff.js +5 -5
- package/dist/handoff.js.map +1 -1
- package/dist/localControl.d.ts +4 -7
- package/dist/localControl.d.ts.map +1 -1
- package/dist/localControl.js +2 -8
- package/dist/localControl.js.map +1 -1
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +16 -29
- package/dist/mcp.js.map +1 -1
- package/dist/mcpTools.d.ts +7 -0
- package/dist/mcpTools.d.ts.map +1 -1
- package/dist/mcpTools.js +22 -7
- package/dist/mcpTools.js.map +1 -1
- package/dist/sessionPayload.d.ts +2 -2
- package/dist/sessionPayload.d.ts.map +1 -1
- package/dist/sessionPayload.js +2 -1
- package/dist/sessionPayload.js.map +1 -1
- package/package.json +1 -1
|
@@ -99,7 +99,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
99
99
|
"codex",
|
|
100
100
|
"claude",
|
|
101
101
|
"cursor",
|
|
102
|
-
"opencode"
|
|
102
|
+
"opencode",
|
|
103
|
+
"pi"
|
|
103
104
|
]
|
|
104
105
|
},
|
|
105
106
|
"agents": {
|
|
@@ -120,6 +121,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
120
121
|
"--dangerously-skip-permissions"
|
|
121
122
|
],
|
|
122
123
|
"hotkey": "mod+alt+3",
|
|
124
|
+
"promptArgument": true,
|
|
125
|
+
"configDir": ".claude",
|
|
123
126
|
"reportsConversation": true
|
|
124
127
|
},
|
|
125
128
|
"install": {
|
|
@@ -170,7 +173,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
170
173
|
"fullAccessArgs": [
|
|
171
174
|
"--yolo"
|
|
172
175
|
],
|
|
173
|
-
"hotkey": "mod+alt+4"
|
|
176
|
+
"hotkey": "mod+alt+4",
|
|
177
|
+
"promptArgument": true,
|
|
178
|
+
"configDir": ".codex"
|
|
174
179
|
},
|
|
175
180
|
"install": {
|
|
176
181
|
"url": "https://developers.openai.com/codex/cli",
|
|
@@ -219,6 +224,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
219
224
|
"--force"
|
|
220
225
|
],
|
|
221
226
|
"hotkey": "mod+alt+5",
|
|
227
|
+
"promptArgument": true,
|
|
228
|
+
"configDir": ".cursor",
|
|
222
229
|
"platforms": [
|
|
223
230
|
"darwin",
|
|
224
231
|
"linux",
|
|
@@ -263,7 +270,12 @@ exports.RUNPANE_CONTRACT = {
|
|
|
263
270
|
"fullAccessArgs": [
|
|
264
271
|
"--auto"
|
|
265
272
|
],
|
|
266
|
-
"hotkey": "mod+alt+6"
|
|
273
|
+
"hotkey": "mod+alt+6",
|
|
274
|
+
"session": {
|
|
275
|
+
"flag": "--session",
|
|
276
|
+
"minimumVersion": "2.0.19",
|
|
277
|
+
"idPattern": "^ses_[A-Za-z0-9]+$"
|
|
278
|
+
}
|
|
267
279
|
},
|
|
268
280
|
"install": {
|
|
269
281
|
"url": "https://opencode.ai/docs",
|
|
@@ -284,6 +296,40 @@ exports.RUNPANE_CONTRACT = {
|
|
|
284
296
|
"opencode-v2"
|
|
285
297
|
]
|
|
286
298
|
}
|
|
299
|
+
},
|
|
300
|
+
"pi": {
|
|
301
|
+
"title": "Pi",
|
|
302
|
+
"label": "Pi",
|
|
303
|
+
"icon": "pi",
|
|
304
|
+
"description": "Open a Pi terminal tab and allow the initial input to drive the agent.",
|
|
305
|
+
"executables": [
|
|
306
|
+
"pi"
|
|
307
|
+
],
|
|
308
|
+
"terminal": {
|
|
309
|
+
"args": [],
|
|
310
|
+
"fullAccessArgs": [],
|
|
311
|
+
"hotkey": "mod+alt+shift+p",
|
|
312
|
+
"configDir": ".pi",
|
|
313
|
+
"session": {
|
|
314
|
+
"flag": "--session-id",
|
|
315
|
+
"minimumVersion": "0.76.0",
|
|
316
|
+
"idPattern": "^[A-Za-z0-9](?:[A-Za-z0-9._-]*[A-Za-z0-9])?$",
|
|
317
|
+
"paneChoosesId": true,
|
|
318
|
+
"selectors": [
|
|
319
|
+
"--session",
|
|
320
|
+
"--continue",
|
|
321
|
+
"-c",
|
|
322
|
+
"--resume",
|
|
323
|
+
"-r",
|
|
324
|
+
"--fork",
|
|
325
|
+
"--no-session"
|
|
326
|
+
]
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"install": {
|
|
330
|
+
"url": "https://pi.dev",
|
|
331
|
+
"command": "npm install -g @earendil-works/pi-coding-agent@latest"
|
|
332
|
+
}
|
|
287
333
|
}
|
|
288
334
|
}
|
|
289
335
|
},
|
|
@@ -388,7 +434,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
388
434
|
"name": "agents doctor",
|
|
389
435
|
"summary": "Diagnose whether a built-in agent command is available in a Pane repository environment.",
|
|
390
436
|
"usage": [
|
|
391
|
-
"runpane agents doctor --agent <codex|claude|cursor|opencode> [--repo <selector>] [--json] [--pane-dir <path>]"
|
|
437
|
+
"runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json] [--pane-dir <path>]"
|
|
392
438
|
],
|
|
393
439
|
"toolsets": [
|
|
394
440
|
"admin"
|
|
@@ -728,7 +774,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
728
774
|
"summary": "Hand your task to another agent on this or another machine: check your handoff note, make the branch reachable, send the note, and start the agent on it. A same-agent handoff from a Pane tab carries and resumes your own session (a fork on this machine) and checks it continued; otherwise a fresh agent starts with the note. From a Session's terminal, create the Session on another machine instead.",
|
|
729
775
|
"usage": [
|
|
730
776
|
"runpane handoff --template",
|
|
731
|
-
"runpane handoff \"<destination>\" --note-file <path|-> [--machine <name>] [--agent <codex|claude|cursor|opencode>] [--model <model>] [--effort <level>] [--repo <selector>] [--push] [--note-only] [--dry-run] [--json]"
|
|
777
|
+
"runpane handoff \"<destination>\" --note-file <path|-> [--machine <name>] [--agent <codex|claude|cursor|opencode|pi>] [--model <model>] [--effort <level>] [--repo <selector>] [--push] [--note-only] [--dry-run] [--json]"
|
|
732
778
|
],
|
|
733
779
|
"mutates": true,
|
|
734
780
|
"wrappers": [
|
|
@@ -755,8 +801,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
755
801
|
"name": "panes create",
|
|
756
802
|
"summary": "1 feature = 1 worktree = 1 branch = 1 Pane; reviews, audits, fixes and QA for it are tabs in that Pane. Create a Pane (a new worktree) only when the work's branch has no Pane yet; for review, audit, fix or QA on existing work use `panels create --pane <id>`.",
|
|
757
803
|
"usage": [
|
|
758
|
-
"runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode> [--source user|agent] [--focus|--no-focus] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [--expect-report|--no-expect-report] [--wait [--timeout <duration>]] [options] [--pane-dir <path>]",
|
|
759
|
-
"runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode>] [--source user|agent] [--focus|--no-focus] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [--expect-report|--no-expect-report] [--wait [--timeout <duration>]] [options] [--pane-dir <path>]",
|
|
804
|
+
"runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [--source user|agent] [--focus|--no-focus] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [--expect-report|--no-expect-report] [--wait [--timeout <duration>]] [options] [--pane-dir <path>]",
|
|
805
|
+
"runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [--source user|agent] [--focus|--no-focus] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [--expect-report|--no-expect-report] [--wait [--timeout <duration>]] [options] [--pane-dir <path>]",
|
|
760
806
|
"runpane panes create --from-json <path|-> [--yes] [--json] [--pane-dir <path>]"
|
|
761
807
|
],
|
|
762
808
|
"mutates": true,
|
|
@@ -775,8 +821,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
775
821
|
"name": "panes adopt",
|
|
776
822
|
"summary": "Adopt an existing externally managed git worktree as a Pane without changing the worktree.",
|
|
777
823
|
"usage": [
|
|
778
|
-
"runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor|opencode> [--resume <id>] [--folder <name>] [--launch [--prompt <text>|--prompt-file <path|->] [--wait-ready] [--ready-timeout-ms <ms>]] [--no-pinned] [--no-associate] [--dry-run] [--yes] [--json] [--pane-dir <path>]",
|
|
779
|
-
"runpane panes adopt --repo <selector> --path <dir> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode>] [--folder <name>] [--launch [--prompt <text>|--prompt-file <path|->] [--wait-ready] [--ready-timeout-ms <ms>]] [--no-pinned] [--no-associate] [--dry-run] [--yes] [--json] [--pane-dir <path>]"
|
|
824
|
+
"runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor|opencode|pi> [--resume <id>] [--folder <name>] [--launch [--prompt <text>|--prompt-file <path|->] [--wait-ready] [--ready-timeout-ms <ms>]] [--no-pinned] [--no-associate] [--dry-run] [--yes] [--json] [--pane-dir <path>]",
|
|
825
|
+
"runpane panes adopt --repo <selector> --path <dir> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [--folder <name>] [--launch [--prompt <text>|--prompt-file <path|->] [--wait-ready] [--ready-timeout-ms <ms>]] [--no-pinned] [--no-associate] [--dry-run] [--yes] [--json] [--pane-dir <path>]"
|
|
780
826
|
],
|
|
781
827
|
"mutates": true,
|
|
782
828
|
"additive": true,
|
|
@@ -916,8 +962,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
916
962
|
"name": "panels create",
|
|
917
963
|
"summary": "Open a new agent or terminal tab inside an existing Pane, sharing its worktree. The default for review, QA, fixes and any other agent on work that already has a Pane.",
|
|
918
964
|
"usage": [
|
|
919
|
-
"runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode> [--source user|agent] [--focus|--no-focus] [--wait-ready] [--expect-report|--no-expect-report] [--wait [--timeout <duration>]] --yes [--json] [--pane-dir <path>]",
|
|
920
|
-
"runpane panels create --pane <pane-id> --tool-command <command> [--agent <codex|claude|cursor|opencode>] [--title <title>] [--focus|--no-focus] [--wait-ready] [--expect-report|--no-expect-report] [--wait [--timeout <duration>]] --yes [--json] [--pane-dir <path>]"
|
|
965
|
+
"runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode|pi> [--source user|agent] [--focus|--no-focus] [--wait-ready] [--expect-report|--no-expect-report] [--wait [--timeout <duration>]] --yes [--json] [--pane-dir <path>]",
|
|
966
|
+
"runpane panels create --pane <pane-id> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [--title <title>] [--focus|--no-focus] [--wait-ready] [--expect-report|--no-expect-report] [--wait [--timeout <duration>]] --yes [--json] [--pane-dir <path>]"
|
|
921
967
|
],
|
|
922
968
|
"mutates": true,
|
|
923
969
|
"additive": true,
|
|
@@ -1576,7 +1622,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1576
1622
|
"name": "agents start",
|
|
1577
1623
|
"summary": "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.",
|
|
1578
1624
|
"usage": [
|
|
1579
|
-
"runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]"
|
|
1625
|
+
"runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode|pi>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]"
|
|
1580
1626
|
],
|
|
1581
1627
|
"mutates": true,
|
|
1582
1628
|
"additive": true,
|
|
@@ -1863,7 +1909,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1863
1909
|
"name": "sessions set-agent",
|
|
1864
1910
|
"summary": "Switch the durable terminal agent for a named Session.",
|
|
1865
1911
|
"usage": [
|
|
1866
|
-
"runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode> [--json] [--pane-dir <path>]"
|
|
1912
|
+
"runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode|pi> [--json] [--pane-dir <path>]"
|
|
1867
1913
|
],
|
|
1868
1914
|
"mutates": true,
|
|
1869
1915
|
"idempotent": true,
|
|
@@ -2351,7 +2397,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2351
2397
|
},
|
|
2352
2398
|
{
|
|
2353
2399
|
"name": "--agent",
|
|
2354
|
-
"value": "<codex|claude|cursor|opencode>",
|
|
2400
|
+
"value": "<codex|claude|cursor|opencode|pi>",
|
|
2355
2401
|
"description": "Built-in agent terminal template to open. With --tool-command, the agent that command runs."
|
|
2356
2402
|
},
|
|
2357
2403
|
{
|
|
@@ -2999,7 +3045,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2999
3045
|
" runpane daemon repair [--pane-dir <path>] [--yes] [--json]",
|
|
3000
3046
|
" runpane agent-context [--json]",
|
|
3001
3047
|
" runpane mcp [--toolsets <name,...>] [--read-only]",
|
|
3002
|
-
" runpane agents doctor --agent <codex|claude|cursor|opencode> [--repo <selector>] [--json]",
|
|
3048
|
+
" runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json]",
|
|
3003
3049
|
" runpane repos list [--json]",
|
|
3004
3050
|
" runpane repos add --path <path> [--name <name>]",
|
|
3005
3051
|
" runpane repos get [--repo <selector>] [--json]",
|
|
@@ -3017,7 +3063,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3017
3063
|
" runpane sessions pin --session <id|name> [--json] [--pane-dir <path>]",
|
|
3018
3064
|
" runpane sessions unpin --session <id|name> [--json] [--pane-dir <path>]",
|
|
3019
3065
|
" runpane sessions pause|resume --session <id|name> [--json] [--pane-dir <path>]",
|
|
3020
|
-
" runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode> [--json] [--pane-dir <path>]",
|
|
3066
|
+
" runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode|pi> [--json] [--pane-dir <path>]",
|
|
3021
3067
|
" runpane sessions associate --session <id|name> --pane <pane-id> [--json] [--pane-dir <path>]",
|
|
3022
3068
|
" runpane sessions detach --session <id|name> [--pane <pane-id>] [--json] [--pane-dir <path>]",
|
|
3023
3069
|
" runpane sessions overview --session <id|name> [--json] [--pane-dir <path>]",
|
|
@@ -3034,11 +3080,11 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3034
3080
|
" runpane workspace <machine> read|write|exec|<command>",
|
|
3035
3081
|
" runpane watch --follow",
|
|
3036
3082
|
" runpane watch --until-event",
|
|
3037
|
-
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode> [--base-branch <branch>] [--source user|agent] [--focus|--no-focus] [--wait-ready]",
|
|
3083
|
+
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [--base-branch <branch>] [--source user|agent] [--focus|--no-focus] [--wait-ready]",
|
|
3038
3084
|
" runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes",
|
|
3039
3085
|
" runpane panes archive --session <id|name> --merged [--closed] [--remove-worktree] [--dry-run] --yes",
|
|
3040
3086
|
" runpane panes pause|resume --pane <pane-id> --yes [--json]",
|
|
3041
|
-
" runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode> [--source user|agent] [--focus|--no-focus] --yes",
|
|
3087
|
+
" runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode|pi> [--source user|agent] [--focus|--no-focus] --yes",
|
|
3042
3088
|
" runpane panels list --pane <pane-id> [--json]",
|
|
3043
3089
|
" runpane panels output --panel <panel-id> [--limit <count>] [--json]",
|
|
3044
3090
|
" runpane panels screen --panel <panel-id> [--limit <count>] [--json]",
|
|
@@ -3061,7 +3107,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3061
3107
|
" runpane links open --url <pane-url> --yes [--json] [--pane-dir <path>]",
|
|
3062
3108
|
" runpane docs search --query <text> [--limit <count>] [--json]",
|
|
3063
3109
|
" runpane docs read --doc <path> [--json]",
|
|
3064
|
-
" runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]",
|
|
3110
|
+
" runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode|pi>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]",
|
|
3065
3111
|
" runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]",
|
|
3066
3112
|
" runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]",
|
|
3067
3113
|
" runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text>] [--json]",
|
|
@@ -3367,7 +3413,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3367
3413
|
"Commands:",
|
|
3368
3414
|
" runpane panes list [--repo <selector>] [--json]",
|
|
3369
3415
|
" runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]",
|
|
3370
|
-
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode> [options]",
|
|
3416
|
+
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [options]",
|
|
3371
3417
|
" runpane panes archive --pane <pane-id> [--force] [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]",
|
|
3372
3418
|
" runpane panes archive --session <id|name> --merged [--closed] [--remove-worktree] [--dry-run] --yes [--json]",
|
|
3373
3419
|
" runpane panes pin --pane <pane-id> --yes [--dry-run] [--json]",
|
|
@@ -3491,8 +3537,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3491
3537
|
],
|
|
3492
3538
|
"panes create": [
|
|
3493
3539
|
"Usage:",
|
|
3494
|
-
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode> [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]",
|
|
3495
|
-
" runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode>] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]",
|
|
3540
|
+
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]",
|
|
3541
|
+
" runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]",
|
|
3496
3542
|
" runpane panes create --from-json <path|-> [--yes] [--json]",
|
|
3497
3543
|
"",
|
|
3498
3544
|
"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>`.",
|
|
@@ -3505,7 +3551,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3505
3551
|
" --worktree-name <name> Worktree directory name; defaults to --name",
|
|
3506
3552
|
" --branch <name> Exact new branch name (slashes kept); must not exist; defaults to the worktree name",
|
|
3507
3553
|
" --base-branch <ref> Ref to branch from; --base is an alias",
|
|
3508
|
-
" --agent <codex|claude|cursor|opencode> Built-in terminal template; with --tool-command, the agent it runs",
|
|
3554
|
+
" --agent <codex|claude|cursor|opencode|pi> Built-in terminal template; with --tool-command, the agent it runs",
|
|
3509
3555
|
" --tool-command <command> Custom terminal command",
|
|
3510
3556
|
" --title <title> Terminal tab title",
|
|
3511
3557
|
" --initial-input <text> Text sent after the command is ready",
|
|
@@ -3539,8 +3585,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3539
3585
|
],
|
|
3540
3586
|
"panes adopt": [
|
|
3541
3587
|
"Usage:",
|
|
3542
|
-
" runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor|opencode> [options]",
|
|
3543
|
-
" runpane panes adopt --repo <selector> --path <dir> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode>] [options]",
|
|
3588
|
+
" runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor|opencode|pi> [options]",
|
|
3589
|
+
" runpane panes adopt --repo <selector> --path <dir> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [options]",
|
|
3544
3590
|
"",
|
|
3545
3591
|
"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.",
|
|
3546
3592
|
"",
|
|
@@ -3629,7 +3675,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3629
3675
|
" runpane panels <command> [options]",
|
|
3630
3676
|
"",
|
|
3631
3677
|
"Commands:",
|
|
3632
|
-
" runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode> [options]",
|
|
3678
|
+
" runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode|pi> [options]",
|
|
3633
3679
|
" runpane panels open (--url <url>|--file <path>) [--split|--tab] --yes [--json]",
|
|
3634
3680
|
" runpane panels close --panel <panel-id> [--dry-run] [--force] --yes [--json]",
|
|
3635
3681
|
" runpane panels list --pane <pane-id> [--json]",
|
|
@@ -3723,12 +3769,12 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3723
3769
|
],
|
|
3724
3770
|
"agents doctor": [
|
|
3725
3771
|
"Usage:",
|
|
3726
|
-
" runpane agents doctor --agent <codex|claude|cursor|opencode> [--repo <selector>] [--json]",
|
|
3772
|
+
" runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json]",
|
|
3727
3773
|
"",
|
|
3728
3774
|
"Diagnoses whether Codex or Claude is available in the same repository environment Pane will use.",
|
|
3729
3775
|
"",
|
|
3730
3776
|
"Options:",
|
|
3731
|
-
" --agent <codex|claude|cursor|opencode> Built-in agent command to diagnose",
|
|
3777
|
+
" --agent <codex|claude|cursor|opencode|pi> Built-in agent command to diagnose",
|
|
3732
3778
|
" --repo <selector> active, id, exact path, or saved repository name; defaults to active",
|
|
3733
3779
|
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
3734
3780
|
" --json Print machine-readable output"
|
|
@@ -3798,13 +3844,13 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3798
3844
|
"Create a terminal-backed tool panel inside an existing Pane session.",
|
|
3799
3845
|
"",
|
|
3800
3846
|
"Usage:",
|
|
3801
|
-
" runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode> [--title <title>] [--initial-input <text>] [--no-focus] [--wait-ready] [--expect-report|--no-expect-report] [--wait [--timeout <duration>]] --yes [--json]",
|
|
3802
|
-
" runpane panels create --pane <pane-id> --tool-command <command> [--agent <codex|claude|cursor|opencode>] [--title <title>] [--no-focus] [--wait-ready] [--expect-report|--no-expect-report] [--wait [--timeout <duration>]] --yes [--json]",
|
|
3847
|
+
" runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode|pi> [--title <title>] [--initial-input <text>] [--no-focus] [--wait-ready] [--expect-report|--no-expect-report] [--wait [--timeout <duration>]] --yes [--json]",
|
|
3848
|
+
" runpane panels create --pane <pane-id> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [--title <title>] [--no-focus] [--wait-ready] [--expect-report|--no-expect-report] [--wait [--timeout <duration>]] --yes [--json]",
|
|
3803
3849
|
" runpane panels create --pane <pane-id> --chat --agent <id> [--title <title>] [--initial-input <text>] [--no-focus] [--wait-ready] --yes [--json]",
|
|
3804
3850
|
"",
|
|
3805
3851
|
"Options:",
|
|
3806
3852
|
" --pane <pane-id> Existing Pane session to add the panel to.",
|
|
3807
|
-
" --agent <codex|claude|cursor|opencode> Built-in agent command template, or with --tool-command the agent it runs.",
|
|
3853
|
+
" --agent <codex|claude|cursor|opencode|pi> Built-in agent command template, or with --tool-command the agent it runs.",
|
|
3808
3854
|
" --tool-command <command> Custom terminal command to launch.",
|
|
3809
3855
|
" --chat Open --agent as a chat tab instead of a terminal; the host lists the agents it can run.",
|
|
3810
3856
|
" --title <title> Panel title override.",
|
|
@@ -3886,7 +3932,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3886
3932
|
" --session <id|name> Named Session id or exact name.",
|
|
3887
3933
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
3888
3934
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
3889
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
3935
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
3890
3936
|
" --json Print JSON output."
|
|
3891
3937
|
],
|
|
3892
3938
|
"sessions create": [
|
|
@@ -3897,7 +3943,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3897
3943
|
" --session <id|name> Named Session id or exact name.",
|
|
3898
3944
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
3899
3945
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
3900
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
3946
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
3901
3947
|
" --json Print JSON output.",
|
|
3902
3948
|
"",
|
|
3903
3949
|
"JSON isPinned: true pins the Session; omitted or false leaves it unpinned.",
|
|
@@ -3911,7 +3957,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3911
3957
|
" --session <id|name> Named Session id or exact name.",
|
|
3912
3958
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
3913
3959
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
3914
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
3960
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
3915
3961
|
" --json Print JSON output."
|
|
3916
3962
|
],
|
|
3917
3963
|
"sessions update": [
|
|
@@ -3922,20 +3968,20 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3922
3968
|
" --session <id|name> Named Session id or exact name.",
|
|
3923
3969
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
3924
3970
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
3925
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
3971
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
3926
3972
|
" --json Print JSON output.",
|
|
3927
3973
|
"",
|
|
3928
3974
|
"JSON isPinned: true/false sets the Session pin star. Select the Session with --session, not a session field in JSON."
|
|
3929
3975
|
],
|
|
3930
3976
|
"sessions set-agent": [
|
|
3931
3977
|
"Usage:",
|
|
3932
|
-
"runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode> [--json] [--pane-dir <path>]",
|
|
3978
|
+
"runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode|pi> [--json] [--pane-dir <path>]",
|
|
3933
3979
|
"",
|
|
3934
3980
|
"Options:",
|
|
3935
3981
|
" --session <id|name> Named Session id or exact name.",
|
|
3936
3982
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
3937
3983
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
3938
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
3984
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
3939
3985
|
" --json Print JSON output."
|
|
3940
3986
|
],
|
|
3941
3987
|
"sessions associate": [
|
|
@@ -3946,7 +3992,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3946
3992
|
" --session <id|name> Named Session id or exact name.",
|
|
3947
3993
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
3948
3994
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
3949
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
3995
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
3950
3996
|
" --json Print JSON output."
|
|
3951
3997
|
],
|
|
3952
3998
|
"sessions detach": [
|
|
@@ -3957,7 +4003,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3957
4003
|
" --session <id|name> Named Session id or exact name.",
|
|
3958
4004
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
3959
4005
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
3960
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
4006
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
3961
4007
|
" --json Print JSON output."
|
|
3962
4008
|
],
|
|
3963
4009
|
"sessions overview": [
|
|
@@ -3968,7 +4014,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3968
4014
|
" --session <id|name> Named Session id or exact name.",
|
|
3969
4015
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
3970
4016
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
3971
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
4017
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
3972
4018
|
" --json Print JSON output."
|
|
3973
4019
|
],
|
|
3974
4020
|
"panes git-status": [
|
|
@@ -4215,14 +4261,14 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4215
4261
|
],
|
|
4216
4262
|
"agents start": [
|
|
4217
4263
|
"Usage:",
|
|
4218
|
-
" runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]",
|
|
4264
|
+
" runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode|pi>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]",
|
|
4219
4265
|
"",
|
|
4220
4266
|
"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.",
|
|
4221
4267
|
"",
|
|
4222
4268
|
"Options:",
|
|
4223
4269
|
" --repo <selector> Repository: active, id, exact path, or saved name.",
|
|
4224
4270
|
" --name <name> Name for the new Pane.",
|
|
4225
|
-
" --agent <codex|claude|cursor|opencode> Built-in agent to launch.",
|
|
4271
|
+
" --agent <codex|claude|cursor|opencode|pi> Built-in agent to launch.",
|
|
4226
4272
|
" --tool-command <command> Custom terminal command instead of a built-in agent.",
|
|
4227
4273
|
" --prompt <task> The task to send once the agent is ready.",
|
|
4228
4274
|
" --base-branch <branch> Branch to start the worktree from.",
|
|
@@ -4668,7 +4714,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4668
4714
|
"handoff": [
|
|
4669
4715
|
"Usage:",
|
|
4670
4716
|
" runpane handoff --template",
|
|
4671
|
-
" runpane handoff \"<destination>\" --note-file <path|-> [--machine <name>] [--agent <codex|claude|cursor|opencode>] [--model <model>] [--effort <level>] [--repo <selector>] [--push] [--note-only] [--dry-run] [--json]",
|
|
4717
|
+
" runpane handoff \"<destination>\" --note-file <path|-> [--machine <name>] [--agent <codex|claude|cursor|opencode|pi>] [--model <model>] [--effort <level>] [--repo <selector>] [--push] [--note-only] [--dry-run] [--json]",
|
|
4672
4718
|
"",
|
|
4673
4719
|
"Hand your task to another agent. You write the note (runpane handoff --template); the CLI checks it,",
|
|
4674
4720
|
"makes sure your branch is pushed, sends the note to the destination, and starts the agent there.",
|
|
@@ -4684,7 +4730,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4684
4730
|
" --template Print the note template, with this checkout's (or Session's) origin and git state filled in.",
|
|
4685
4731
|
" --note-file <path|-> The note to check and send; every template section must be filled in.",
|
|
4686
4732
|
" --machine <name> Destination machine (Tailscale name or unique prefix); overrides the text.",
|
|
4687
|
-
" --agent <codex|claude|cursor|opencode> Receiving agent; overrides the text.",
|
|
4733
|
+
" --agent <codex|claude|cursor|opencode|pi> Receiving agent; overrides the text.",
|
|
4688
4734
|
" --model <model> Model for the receiving agent; overrides the text.",
|
|
4689
4735
|
" --effort <level> minimal, low, medium, high, xhigh, or max; supported for Claude and Codex only; overrides the text. Cursor effort is rejected.",
|
|
4690
4736
|
" --repo <selector> Saved repository on the destination; defaults to the one with the same remote.",
|
|
@@ -4976,7 +5022,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4976
5022
|
" runpane daemon repair [--pane-dir <path>] [--yes] [--json]",
|
|
4977
5023
|
" runpane agent-context [--json]",
|
|
4978
5024
|
" runpane mcp [--toolsets <name,...>] [--read-only]",
|
|
4979
|
-
" runpane agents doctor --agent <codex|claude|cursor|opencode> [--repo <selector>] [--json]",
|
|
5025
|
+
" runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json]",
|
|
4980
5026
|
" runpane repos list [--json]",
|
|
4981
5027
|
" runpane repos add --path <path> [--name <name>]",
|
|
4982
5028
|
" runpane repos get [--repo <selector>] [--json]",
|
|
@@ -4992,11 +5038,11 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4992
5038
|
" runpane workspace state [--repo <selector>] [--json]",
|
|
4993
5039
|
" runpane watch --follow",
|
|
4994
5040
|
" runpane watch --until-event",
|
|
4995
|
-
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode> [--base-branch <branch>] [--source user|agent] [--focus|--no-focus] [--wait-ready]",
|
|
5041
|
+
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [--base-branch <branch>] [--source user|agent] [--focus|--no-focus] [--wait-ready]",
|
|
4996
5042
|
" runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes",
|
|
4997
5043
|
" runpane panes archive --session <id|name> --merged [--closed] [--remove-worktree] [--dry-run] --yes",
|
|
4998
5044
|
" runpane panes pause|resume --pane <pane-id> --yes [--json]",
|
|
4999
|
-
" python -m runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode> [--source user|agent] [--focus|--no-focus] --yes",
|
|
5045
|
+
" python -m runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode|pi> [--source user|agent] [--focus|--no-focus] --yes",
|
|
5000
5046
|
" runpane panels list --pane <pane-id> [--json]",
|
|
5001
5047
|
" runpane panels output --panel <panel-id> [--limit <count>] [--json]",
|
|
5002
5048
|
" runpane panels screen --panel <panel-id> [--limit <count>] [--json]",
|
|
@@ -5019,7 +5065,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5019
5065
|
" runpane links open --url <pane-url> --yes [--json] [--pane-dir <path>]",
|
|
5020
5066
|
" runpane docs search --query <text> [--limit <count>] [--json]",
|
|
5021
5067
|
" runpane docs read --doc <path> [--json]",
|
|
5022
|
-
" runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]",
|
|
5068
|
+
" runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode|pi>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]",
|
|
5023
5069
|
" runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]",
|
|
5024
5070
|
" runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]",
|
|
5025
5071
|
" runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text>] [--json]",
|
|
@@ -5331,7 +5377,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5331
5377
|
"Commands:",
|
|
5332
5378
|
" runpane panes list [--repo <selector>] [--json]",
|
|
5333
5379
|
" runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]",
|
|
5334
|
-
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode> [options]",
|
|
5380
|
+
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [options]",
|
|
5335
5381
|
" runpane panes archive --pane <pane-id> [--force] [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]",
|
|
5336
5382
|
" runpane panes archive --session <id|name> --merged [--closed] [--remove-worktree] [--dry-run] --yes [--json]",
|
|
5337
5383
|
" runpane panes pin --pane <pane-id> --yes [--dry-run] [--json]",
|
|
@@ -5447,8 +5493,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5447
5493
|
],
|
|
5448
5494
|
"panes create": [
|
|
5449
5495
|
"Usage:",
|
|
5450
|
-
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode> [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]",
|
|
5451
|
-
" python -m runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode>] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]",
|
|
5496
|
+
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor|opencode|pi> [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]",
|
|
5497
|
+
" python -m runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]",
|
|
5452
5498
|
" runpane panes create --from-json <path|-> [--yes] [--json]",
|
|
5453
5499
|
"",
|
|
5454
5500
|
"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>`.",
|
|
@@ -5461,7 +5507,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5461
5507
|
" --worktree-name <name> Worktree directory name; defaults to --name",
|
|
5462
5508
|
" --branch <name> Exact new branch name (slashes kept); must not exist; defaults to the worktree name",
|
|
5463
5509
|
" --base-branch <ref> Ref to branch from; --base is an alias",
|
|
5464
|
-
" --agent <codex|claude|cursor|opencode> Built-in terminal template; with --tool-command, the agent it runs",
|
|
5510
|
+
" --agent <codex|claude|cursor|opencode|pi> Built-in terminal template; with --tool-command, the agent it runs",
|
|
5465
5511
|
" --tool-command <command> Custom terminal command",
|
|
5466
5512
|
" --title <title> Terminal tab title",
|
|
5467
5513
|
" --initial-input <text> Text sent after the command is ready",
|
|
@@ -5495,8 +5541,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5495
5541
|
],
|
|
5496
5542
|
"panes adopt": [
|
|
5497
5543
|
"Usage:",
|
|
5498
|
-
" runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor|opencode> [options]",
|
|
5499
|
-
" runpane panes adopt --repo <selector> --path <dir> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode>] [options]",
|
|
5544
|
+
" runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor|opencode|pi> [options]",
|
|
5545
|
+
" runpane panes adopt --repo <selector> --path <dir> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [options]",
|
|
5500
5546
|
"",
|
|
5501
5547
|
"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.",
|
|
5502
5548
|
"",
|
|
@@ -5585,7 +5631,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5585
5631
|
" runpane panels <command> [options]",
|
|
5586
5632
|
"",
|
|
5587
5633
|
"Commands:",
|
|
5588
|
-
" runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode> [options]",
|
|
5634
|
+
" runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode|pi> [options]",
|
|
5589
5635
|
" runpane panels open (--url <url>|--file <path>) [--split|--tab] --yes [--json]",
|
|
5590
5636
|
" runpane panels close --panel <panel-id> [--dry-run] [--force] --yes [--json]",
|
|
5591
5637
|
" runpane panels list --pane <pane-id> [--json]",
|
|
@@ -5671,12 +5717,12 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5671
5717
|
],
|
|
5672
5718
|
"agents doctor": [
|
|
5673
5719
|
"Usage:",
|
|
5674
|
-
" runpane agents doctor --agent <codex|claude|cursor|opencode> [--repo <selector>] [--json]",
|
|
5720
|
+
" runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json]",
|
|
5675
5721
|
"",
|
|
5676
5722
|
"Diagnoses whether Codex or Claude is available in the same repository environment Pane will use.",
|
|
5677
5723
|
"",
|
|
5678
5724
|
"Options:",
|
|
5679
|
-
" --agent <codex|claude|cursor|opencode> Built-in agent command to diagnose",
|
|
5725
|
+
" --agent <codex|claude|cursor|opencode|pi> Built-in agent command to diagnose",
|
|
5680
5726
|
" --repo <selector> active, id, exact path, or saved repository name; defaults to active",
|
|
5681
5727
|
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
5682
5728
|
" --json Print machine-readable output"
|
|
@@ -5746,13 +5792,13 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5746
5792
|
"Create a terminal-backed tool panel inside an existing Pane session.",
|
|
5747
5793
|
"",
|
|
5748
5794
|
"Usage:",
|
|
5749
|
-
" python -m runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode> [--title <title>] [--initial-input <text>] [--no-focus] [--wait-ready] --yes [--json]",
|
|
5750
|
-
" python -m runpane panels create --pane <pane-id> --tool-command <command> [--agent <codex|claude|cursor|opencode>] [--title <title>] [--no-focus] [--wait-ready] --yes [--json]",
|
|
5795
|
+
" python -m runpane panels create --pane <pane-id> --agent <codex|claude|cursor|opencode|pi> [--title <title>] [--initial-input <text>] [--no-focus] [--wait-ready] --yes [--json]",
|
|
5796
|
+
" python -m runpane panels create --pane <pane-id> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [--title <title>] [--no-focus] [--wait-ready] --yes [--json]",
|
|
5751
5797
|
" python -m runpane panels create --pane <pane-id> --chat --agent <id> [--title <title>] [--initial-input <text>] [--no-focus] [--wait-ready] --yes [--json]",
|
|
5752
5798
|
"",
|
|
5753
5799
|
"Options:",
|
|
5754
5800
|
" --pane <pane-id> Existing Pane session to add the panel to.",
|
|
5755
|
-
" --agent <codex|claude|cursor|opencode> Built-in agent command template, or with --tool-command the agent it runs.",
|
|
5801
|
+
" --agent <codex|claude|cursor|opencode|pi> Built-in agent command template, or with --tool-command the agent it runs.",
|
|
5756
5802
|
" --tool-command <command> Custom terminal command to launch.",
|
|
5757
5803
|
" --chat Open --agent as a chat tab instead of a terminal; the host lists the agents it can run.",
|
|
5758
5804
|
" --title <title> Panel title override.",
|
|
@@ -5834,7 +5880,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5834
5880
|
" --session <id|name> Named Session id or exact name.",
|
|
5835
5881
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
5836
5882
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
5837
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
5883
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
5838
5884
|
" --json Print JSON output."
|
|
5839
5885
|
],
|
|
5840
5886
|
"sessions create": [
|
|
@@ -5845,7 +5891,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5845
5891
|
" --session <id|name> Named Session id or exact name.",
|
|
5846
5892
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
5847
5893
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
5848
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
5894
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
5849
5895
|
" --json Print JSON output.",
|
|
5850
5896
|
"",
|
|
5851
5897
|
"JSON isPinned: true pins the Session; omitted or false leaves it unpinned.",
|
|
@@ -5859,7 +5905,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5859
5905
|
" --session <id|name> Named Session id or exact name.",
|
|
5860
5906
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
5861
5907
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
5862
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
5908
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
5863
5909
|
" --json Print JSON output."
|
|
5864
5910
|
],
|
|
5865
5911
|
"sessions update": [
|
|
@@ -5870,20 +5916,20 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5870
5916
|
" --session <id|name> Named Session id or exact name.",
|
|
5871
5917
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
5872
5918
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
5873
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
5919
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
5874
5920
|
" --json Print JSON output.",
|
|
5875
5921
|
"",
|
|
5876
5922
|
"JSON isPinned: true/false sets the Session pin star. Select the Session with --session, not a session field in JSON."
|
|
5877
5923
|
],
|
|
5878
5924
|
"sessions set-agent": [
|
|
5879
5925
|
"Usage:",
|
|
5880
|
-
"python -m runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode> [--json] [--pane-dir <path>]",
|
|
5926
|
+
"python -m runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode|pi> [--json] [--pane-dir <path>]",
|
|
5881
5927
|
"",
|
|
5882
5928
|
"Options:",
|
|
5883
5929
|
" --session <id|name> Named Session id or exact name.",
|
|
5884
5930
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
5885
5931
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
5886
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
5932
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
5887
5933
|
" --json Print JSON output."
|
|
5888
5934
|
],
|
|
5889
5935
|
"sessions associate": [
|
|
@@ -5894,7 +5940,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5894
5940
|
" --session <id|name> Named Session id or exact name.",
|
|
5895
5941
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
5896
5942
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
5897
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
5943
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
5898
5944
|
" --json Print JSON output."
|
|
5899
5945
|
],
|
|
5900
5946
|
"sessions detach": [
|
|
@@ -5905,7 +5951,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5905
5951
|
" --session <id|name> Named Session id or exact name.",
|
|
5906
5952
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
5907
5953
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
5908
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
5954
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
5909
5955
|
" --json Print JSON output."
|
|
5910
5956
|
],
|
|
5911
5957
|
"sessions overview": [
|
|
@@ -5916,7 +5962,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5916
5962
|
" --session <id|name> Named Session id or exact name.",
|
|
5917
5963
|
" --from-json <path|-> Read structured JSON from a file or stdin.",
|
|
5918
5964
|
" --pane <pane-id> User-visible Pane to associate or detach.",
|
|
5919
|
-
" --agent <codex|claude|cursor|opencode> Agent terminal to use.",
|
|
5965
|
+
" --agent <codex|claude|cursor|opencode|pi> Agent terminal to use.",
|
|
5920
5966
|
" --json Print JSON output."
|
|
5921
5967
|
],
|
|
5922
5968
|
"panes git-status": [
|
|
@@ -6156,7 +6202,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
6156
6202
|
],
|
|
6157
6203
|
"agents start": [
|
|
6158
6204
|
"Usage:",
|
|
6159
|
-
" runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]",
|
|
6205
|
+
" runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode|pi>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]",
|
|
6160
6206
|
"",
|
|
6161
6207
|
"`runpane agents start` ships in the npm package and the Pane app, not in the Python package.",
|
|
6162
6208
|
"Run it with Node instead: npx --yes runpane@latest agents start"
|
|
@@ -6563,7 +6609,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
6563
6609
|
"handoff": [
|
|
6564
6610
|
"Usage:",
|
|
6565
6611
|
" runpane handoff --template",
|
|
6566
|
-
" runpane handoff \"<destination>\" --note-file <path|-> [--machine <name>] [--agent <codex|claude|cursor|opencode>] [--model <model>] [--effort <level>] [--repo <selector>] [--push] [--note-only] [--dry-run] [--json]",
|
|
6612
|
+
" runpane handoff \"<destination>\" --note-file <path|-> [--machine <name>] [--agent <codex|claude|cursor|opencode|pi>] [--model <model>] [--effort <level>] [--repo <selector>] [--push] [--note-only] [--dry-run] [--json]",
|
|
6567
6613
|
"",
|
|
6568
6614
|
"`runpane handoff` ships in the npm package and the Pane app, not in the Python package.",
|
|
6569
6615
|
"Run it with Node instead: npx --yes runpane@latest handoff"
|
|
@@ -6928,7 +6974,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
6928
6974
|
"runpane sessions update --session <id|name> --from-json <path|-> [--json] [--pane-dir <path>]",
|
|
6929
6975
|
"runpane sessions pin --session <id|name> [--json] [--pane-dir <path>]",
|
|
6930
6976
|
"runpane sessions unpin --session <id|name> [--json] [--pane-dir <path>]",
|
|
6931
|
-
"runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode> [--json] [--pane-dir <path>]",
|
|
6977
|
+
"runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode|pi> [--json] [--pane-dir <path>]",
|
|
6932
6978
|
"runpane sessions associate --session <id|name> --pane <pane-id> [--json] [--pane-dir <path>]",
|
|
6933
6979
|
"runpane sessions detach --session <id|name> [--pane <pane-id>] [--json] [--pane-dir <path>]",
|
|
6934
6980
|
"runpane sessions overview --session <id|name> [--json] [--pane-dir <path>]",
|
|
@@ -6985,7 +7031,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
6985
7031
|
"`runpane panes list` lists Pane sessions, optionally scoped to one saved repository.",
|
|
6986
7032
|
"`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.",
|
|
6987
7033
|
"`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.",
|
|
6988
|
-
"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
|
|
7034
|
+
"For `panes create --wait-ready` (and `panels create`, `panes adopt --launch`), ready means an identified agent at its own input box: declared with `--agent`, or detected from the command, its foreground process or its screen. A `--tool-command` that never shows a supported agent is not ready: `readiness.ok` is false with `readiness.reason.code` `no-agent-detected` after the timeout, or `command-exited` as soon as the command exits back to the shell, and nothing is typed into it. `agent-not-ready` means the agent was detected but its input box was not ready in time. CLI readiness is confirmed on consecutive polls. Codex also requires a recognized configured model or context footer below its live composer; its provisional startup composer is not ready. Hidden or unrecognized Codex status lines conservatively time out rather than prove readiness. Startup prompts return blocked with the prompt's own text in blocked.message and a suggestedCommand, and Pane never answers them, apart from Claude's folder trust for a Session's own folder: first-run trust and daemon dialogs and Agent Farm's `Trust this repository workspace? [y/N]` as blocked.kind=first-run-dialog; Codex's security setup banner and any other prompt, including a wrapper's or shell's `[y/N]` before the agent appears, as agent-prompt. A starting message blocked this way is held and sent once the prompt is answered and the agent's input box is ready. Every create with a starting message returns `initialInput`. Pane stages the text in the composer, presses the agent's submit key separately (Ctrl+Enter for Codex, declared or detected), and checks where it went: `initialInput.delivery` is `taken` or `queued` (from the agent's transcript or its screen), `in-composer`, or `unknown` (`argv` means a prompt was routed at launch; Pane gives the transcript up to 10 seconds before settling on unknown). `initialInput.verifiedSubmitted` is true exactly when it is `taken` or `queued`, and the create's `ok` is false unless a Claude or Codex starting message is verified. Cursor, OpenCode and Pi have no acceptance probe: their delivery stays `unknown` with a delivery.message saying so, `verification: unverifiable`, and `ok` follows readiness. Without `--wait-ready` the create returns at once with `initialInput.verifiedSubmitted: false`, a delivery.message saying the call did not wait, and a `panels wait` nextCommand; Pane still sends the message once the agent is identified and at its input box, and gives up without typing it if no supported agent appears within 30 seconds.",
|
|
6989
7035
|
"`runpane panes archive` refreshes the configured upstream, reports exact unpushed commit evidence, and refuses unsafe archive operations unless `--force` is used. A branch whose upstream is gone counts as pushed when a merged GitHub pull request has HEAD as its head (`safetyCheck.mergedViaPr`). Add `--dry-run` to inspect the same evidence without archiving. `--remove-worktree` applies the same check and removal to an adopted worktree; local branches are always kept. Successful archives report `worktreeCleanup: completed` once the worktree is gone from its path and from git; `trashDeletion: pending` means its files are still being deleted in the background. `runpane panes archive --session <id|name> --merged` archives every Session Pane that is clean and pushed or merged, and reports a reason for each skipped Pane. Archive refuses a Pane with an agent mid-turn or waiting for an answer (`agent-busy`, listed in `safetyCheck.busyAgents`), or with a tab holding unsent composer text or unsaved editor edits (`unsent-input`, listed in `safetyCheck.unsentInput`), unless `--force` is used, and the Session sweep skips it. Add `--closed` to the sweep to also archive Panes whose PR closed without merging.",
|
|
6990
7036
|
"`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.",
|
|
6991
7037
|
"`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`.",
|
|
@@ -17419,7 +17465,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
17419
17465
|
"agentContext": {
|
|
17420
17466
|
"brief": {
|
|
17421
17467
|
"title": "Pane agent context",
|
|
17422
|
-
"summary": "Pane
|
|
17468
|
+
"summary": "Pane runs coding agents in parallel git worktrees. A Pane is a visible workspace for one feature or PR, with its own Pane-managed git worktree and branch; a panel is a terminal tab in a Pane and shares its worktree; an agent is a CLI process running in a panel.",
|
|
17423
17469
|
"rules": [
|
|
17424
17470
|
"Start with `runpane doctor --json` to understand wrapper, platform, daemon reachability, and the next safe commands before mutating Pane state.",
|
|
17425
17471
|
"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`.",
|
|
@@ -17437,7 +17483,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
17437
17483
|
"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.",
|
|
17438
17484
|
"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'`.",
|
|
17439
17485
|
"If the repository exists on disk but is not saved in Pane, use `runpane repos add --path <repo> --yes --json` before creating panes.",
|
|
17440
|
-
"Use `runpane agents doctor --agent <codex|claude|cursor|opencode> --repo <selector> --json` when agent availability differs across host, Windows, WSL, or repo environments.",
|
|
17486
|
+
"Use `runpane agents doctor --agent <codex|claude|cursor|opencode|pi> --repo <selector> --json` when agent availability differs across host, Windows, WSL, or repo environments.",
|
|
17441
17487
|
"Use `runpane panes create --wait-ready` to create Panes, wait for each agent's input box, and verify its starting message in one call.",
|
|
17442
17488
|
"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.",
|
|
17443
17489
|
"Use `runpane panels input` only when exact bytes are required, such as Ctrl-C or handcrafted terminal input.",
|
|
@@ -17469,7 +17515,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
17469
17515
|
"name": "agents doctor",
|
|
17470
17516
|
"summary": "Check whether Codex or Claude is available in the repo environment Pane will use.",
|
|
17471
17517
|
"arguments": [
|
|
17472
|
-
"--agent <codex|claude|cursor|opencode>",
|
|
17518
|
+
"--agent <codex|claude|cursor|opencode|pi>",
|
|
17473
17519
|
"--repo <selector>",
|
|
17474
17520
|
"--json"
|
|
17475
17521
|
]
|
|
@@ -17588,7 +17634,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
17588
17634
|
"arguments": [
|
|
17589
17635
|
"--repo <selector>",
|
|
17590
17636
|
"--name <name>",
|
|
17591
|
-
"--agent <codex|claude|cursor|opencode>",
|
|
17637
|
+
"--agent <codex|claude|cursor|opencode|pi>",
|
|
17592
17638
|
"--tool-command <command>",
|
|
17593
17639
|
"--prompt <text>",
|
|
17594
17640
|
"--initial-input-file <path|->",
|
|
@@ -17669,7 +17715,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
17669
17715
|
"summary": "Open reviewer, QA, fix or helper agent tabs inside an existing Pane; they share that Pane's worktree. The default for any later agent on existing work.",
|
|
17670
17716
|
"arguments": [
|
|
17671
17717
|
"--pane <pane-id>",
|
|
17672
|
-
"--agent <codex|claude|cursor|opencode>",
|
|
17718
|
+
"--agent <codex|claude|cursor|opencode|pi>",
|
|
17673
17719
|
"--tool-command <command>",
|
|
17674
17720
|
"--source <user|agent>",
|
|
17675
17721
|
"--no-focus",
|
|
@@ -18803,7 +18849,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
18803
18849
|
},
|
|
18804
18850
|
{
|
|
18805
18851
|
"name": "--agent",
|
|
18806
|
-
"value": "<codex|claude|cursor|opencode>",
|
|
18852
|
+
"value": "<codex|claude|cursor|opencode|pi>",
|
|
18807
18853
|
"required": false,
|
|
18808
18854
|
"description": "Built-in agent terminal template to open. With --tool-command, the agent that command runs."
|
|
18809
18855
|
},
|
|
@@ -19015,7 +19061,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
19015
19061
|
},
|
|
19016
19062
|
{
|
|
19017
19063
|
"name": "--agent",
|
|
19018
|
-
"value": "<codex|claude|cursor|opencode>",
|
|
19064
|
+
"value": "<codex|claude|cursor|opencode|pi>",
|
|
19019
19065
|
"required": false,
|
|
19020
19066
|
"description": "Agent whose terminal to create; with --tool-command, the agent that command runs."
|
|
19021
19067
|
},
|
|
@@ -19661,7 +19707,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
19661
19707
|
"arguments": [
|
|
19662
19708
|
{
|
|
19663
19709
|
"name": "--agent",
|
|
19664
|
-
"value": "<codex|claude|cursor|opencode>",
|
|
19710
|
+
"value": "<codex|claude|cursor|opencode|pi>",
|
|
19665
19711
|
"required": true,
|
|
19666
19712
|
"description": "Built-in agent command to diagnose."
|
|
19667
19713
|
},
|
|
@@ -19740,7 +19786,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
19740
19786
|
"panels submit": {
|
|
19741
19787
|
"name": "panels submit",
|
|
19742
19788
|
"summary": "Send and submit text to a terminal panel, including idle agent composers.",
|
|
19743
|
-
"details": "Use this for ordinary interactive submissions. For Claude, Pane waits for the composer to appear and show the staged text, then sends Enter on its own and verifies that the composer cleared; Claude keeps an Enter that arrives together with the text as a newline. For a Codex composer, Pane stages the text, waits for paste handling, then queues with Tab while working or submits with Enter when ready, and verifies delivery when visible evidence is available. Wrapper-launched agents are handled the same way once Pane knows the agent (declared, from the foreground process, or from the screen). A Claude or Codex panel with no composer on screen gets nothing: the result is `ok: false` with `blocked.kind: composer-unknown`. Multi-line or long (over 512 characters) text reaches a Claude or Codex composer as one bracketed paste: CRLF becomes LF, and the submit key goes as its own write once the paste has settled, even while the agent is working. Other terminals receive a normalized CR Enter. Exact byte workflows remain on `panels input`.",
|
|
19789
|
+
"details": "Use this for ordinary interactive submissions. For Claude, Pane waits for the composer to appear and show the staged text, then sends Enter on its own and verifies that the composer cleared; Claude keeps an Enter that arrives together with the text as a newline. For a Codex composer, Pane stages the text, waits for paste handling, then queues with Tab while working or submits with Enter when ready, and verifies delivery when visible evidence is available. Wrapper-launched agents are handled the same way once Pane knows the agent (declared, from the foreground process, or from the screen). A Claude or Codex panel with no composer on screen gets nothing, and so does a typed-message agent (Pi, OpenCode) whose status rules do not recognize its input box, for example while a prompt, selector or dialog is open: the result is `ok: false` with `blocked.kind: composer-unknown`. Multi-line or long (over 512 characters) text reaches a Claude or Codex composer as one bracketed paste: CRLF becomes LF, and the submit key goes as its own write once the paste has settled, even while the agent is working. Other agents and plain terminals receive a normalized CR Enter. Exact byte workflows remain on `panels input`.",
|
|
19744
19790
|
"requiresPaneDaemon": true,
|
|
19745
19791
|
"mutates": true,
|
|
19746
19792
|
"arguments": [
|
|
@@ -20187,7 +20233,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
20187
20233
|
},
|
|
20188
20234
|
{
|
|
20189
20235
|
"name": "--agent",
|
|
20190
|
-
"value": "<codex|claude|cursor|opencode>",
|
|
20236
|
+
"value": "<codex|claude|cursor|opencode|pi>",
|
|
20191
20237
|
"required": false,
|
|
20192
20238
|
"description": "Built-in agent command template to launch. With --tool-command, the agent that command runs."
|
|
20193
20239
|
},
|
|
@@ -21543,7 +21589,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
21543
21589
|
},
|
|
21544
21590
|
{
|
|
21545
21591
|
"name": "--agent",
|
|
21546
|
-
"value": "<codex|claude|cursor|opencode>",
|
|
21592
|
+
"value": "<codex|claude|cursor|opencode|pi>",
|
|
21547
21593
|
"required": false,
|
|
21548
21594
|
"description": "Built-in agent to launch."
|
|
21549
21595
|
},
|
|
@@ -21911,7 +21957,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
21911
21957
|
}
|
|
21912
21958
|
],
|
|
21913
21959
|
"examples": [
|
|
21914
|
-
"runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode> [--json] [--pane-dir <path>]"
|
|
21960
|
+
"runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode|pi> [--json] [--pane-dir <path>]"
|
|
21915
21961
|
],
|
|
21916
21962
|
"jsonSchemas": [
|
|
21917
21963
|
"sessionResult"
|
|
@@ -22369,7 +22415,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
22369
22415
|
},
|
|
22370
22416
|
{
|
|
22371
22417
|
"name": "--agent",
|
|
22372
|
-
"value": "<codex|claude|cursor|opencode>",
|
|
22418
|
+
"value": "<codex|claude|cursor|opencode|pi>",
|
|
22373
22419
|
"required": false,
|
|
22374
22420
|
"description": "Receiving agent; overrides the text."
|
|
22375
22421
|
},
|
|
@@ -23374,7 +23420,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
23374
23420
|
"notifyResult"
|
|
23375
23421
|
],
|
|
23376
23422
|
"notes": [
|
|
23377
|
-
"
|
|
23423
|
+
"Ask only what you can't find out yourself, and put related questions in one card. Send `info` rarely, only for what the person must know now.",
|
|
23424
|
+
"Write the card as its Summary: a title of about 80 to 100 characters on one line; context as a subtitle of one or two sentences saying why it matters; 2 to 4 choices, each saying what it does, with exactly one recommended; links to every file, page or approval it mentions. Pane refuses a title over 160 characters or with a line break, and two recommended choices.",
|
|
23425
|
+
"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.",
|
|
23378
23426
|
"Results: options returns {answer: <chosen label>, note?}, with questions also answers (one label per question); approve returns {approved: true|false, note?}; ask returns {answer}; info returns {delivered: \"screen\"|\"inbox\"}.",
|
|
23379
23427
|
"A result of {reply, picks?, id, replyId, next} means the person typed a reply instead of only picking: it may answer the question or ask one. Read it, then call `runpane notify --took <replyId> answer` to record it as the answer, or `runpane notify --took <replyId> question` and find out, then `runpane notify --update <replyId> --asked \"<their question>\" --what-changed \"<one line per change>\"` with whatever changed, instead of asking again. With no open call the reply reaches your tab as a `reply:` line; `correction:` lines fix how it was taken. --took returns {took, id, next?}. Use its replyId rather than the Q-n: only this call was given it, so it works from outside a Pane tab too.",
|
|
23380
23428
|
"Only the reply's reader may run took and update: the asker, the orchestrator that relayed it, or Autopilot. Anyone else gets ERR_NOTIFY_NOT_READER.",
|
|
@@ -23383,8 +23431,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
23383
23431
|
"Inside a Pane terminal the question names its Pane and panel (PANE_SESSION_ID and PANE_PANEL_ID); elsewhere it names the working directory.",
|
|
23384
23432
|
"An older Pane ignores links and shows the card without them.",
|
|
23385
23433
|
"With relays the call waits on the worker's card as on any notify, and the answer also goes straight to the worker's tab as `answer: Q-n → <answer> (by you)`. Then record it: `runpane inbox ack <item> --decision <D-n>`.",
|
|
23386
|
-
"Invalid input, such as choices with ui ask, 10 choices, or ui with took or update, fails with a message naming the field, and nothing is shown."
|
|
23387
|
-
|
|
23434
|
+
"Invalid input, such as choices with ui ask, 10 choices, or ui with took or update, fails with a message naming the field, and nothing is shown.",
|
|
23435
|
+
"Examples of a good title and context. Needs a decision (ui approve): \"Speed up slow search: run the database change?\" with \"Search takes 4 s and an index brings it under 100 ms. It changes the live database and can't easily be undone.\", not \"Approve the migration?\" Blocked (ui options): \"The 2.5 release is stuck on a GitHub hiccup\" with \"The fixes pass everywhere except one Mac build machine, which errored. That's GitHub's machine, not our code.\", not \"Blocked\". Just so you know (ui info): \"Questions from agents now wait until you answer\", not \"Done\"."
|
|
23436
|
+
],
|
|
23437
|
+
"helpIncludesNotes": true
|
|
23388
23438
|
},
|
|
23389
23439
|
"autopilot status": {
|
|
23390
23440
|
"name": "autopilot status",
|
|
@@ -23786,82 +23836,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
23786
23836
|
],
|
|
23787
23837
|
"notifyGuidance": {
|
|
23788
23838
|
"rules": [
|
|
23789
|
-
"
|
|
23790
|
-
"In a Session, only its orchestrator asks the person. A worker
|
|
23791
|
-
"Ask only what you can't find out yourself.",
|
|
23792
|
-
"Put related questions in one card.",
|
|
23793
|
-
"Send `info` rarely, only for what the person must know now.",
|
|
23794
|
-
"Write the card as its Summary: a title of about 80 to 100 characters on one line; context as a subtitle of one or two sentences saying why it matters; 2 to 4 choices, each saying what it does, with exactly one recommended; links to every file, page or approval it mentions. Pane refuses a title over 160 characters or with a line break, and two recommended choices.",
|
|
23795
|
-
"A `reply:` line (or a `{reply, replyId}` result) is the person's typed reply: an answer or a question. If it answers, run `runpane notify --took <id|Q-n> answer`. If it asks, run `--took <id|Q-n> question`, find out, then `runpane notify --update <id|Q-n> --asked \"<their question>\" --what-changed \"<one line per change>\"` with any changed `--title`, `--context`, `--choices`, `--questions` or `--links` (a reworded choice adds `\"was\"`, its old label) instead of asking again. A `correction:` line fixes how it was taken. From a `{reply, replyId}` result, pass its replyId to --took and --update.",
|
|
23839
|
+
"Claude's own card (AskUserQuestion) only for a quick question about the person's latest message, in the chat they are typing in, that steers only this turn. Anything else (it waits, blocks other work, is recorded as a decision or approves an ask-first action) is an approval card (`notify`). Unsure? Use an approval card. Codex and other agents always do.",
|
|
23840
|
+
"In a Session, only its orchestrator asks the person. A worker (`PANE_SESSION_DIR` is set and `PANE_ORCHESTRATION_SESSION_ID` isn't, or your brief names an orchestrator or a parent status file) doesn't call `notify`: it reports blocked with `runpane report --state blocked --question \"<question>\"`. `answer:`, `closed:` and `correction:` lines ending `(by you)` in its tab are the person's word.",
|
|
23796
23841
|
"For an API key, token or password, call `secrets_request` (or `runpane secrets request`), never `ask`."
|
|
23797
|
-
],
|
|
23798
|
-
"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.",
|
|
23799
|
-
"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.",
|
|
23800
|
-
"examples": [
|
|
23801
|
-
{
|
|
23802
|
-
"name": "Needs a decision",
|
|
23803
|
-
"ui": "approve",
|
|
23804
|
-
"bad": [
|
|
23805
|
-
{
|
|
23806
|
-
"title": "Approve the migration?",
|
|
23807
|
-
"context": "Ready to run 0042_add_index on prod. Proceed?"
|
|
23808
|
-
}
|
|
23809
|
-
],
|
|
23810
|
-
"good": {
|
|
23811
|
-
"title": "Speed up slow search: run the database change?",
|
|
23812
|
-
"context": "Search in the app takes 4 s, and an index brings it under 100 ms. It changes the live database and can't easily be undone. Approve runs it now; Deny keeps it ready for later."
|
|
23813
|
-
}
|
|
23814
|
-
},
|
|
23815
|
-
{
|
|
23816
|
-
"name": "Blocked",
|
|
23817
|
-
"ui": "options",
|
|
23818
|
-
"bad": [
|
|
23819
|
-
{
|
|
23820
|
-
"title": "Blocked",
|
|
23821
|
-
"context": "CI failing on macos-intel, hdiutil resource busy."
|
|
23822
|
-
}
|
|
23823
|
-
],
|
|
23824
|
-
"good": {
|
|
23825
|
-
"title": "The 2.5 release is stuck on a GitHub hiccup",
|
|
23826
|
-
"context": "The fixes you asked for pass everywhere except one Mac build machine, which errored. That's GitHub's machine, not our code.",
|
|
23827
|
-
"choices": [
|
|
23828
|
-
"Rerun it (about 15 min)",
|
|
23829
|
-
"Ship without the Intel Mac build"
|
|
23830
|
-
]
|
|
23831
|
-
}
|
|
23832
|
-
},
|
|
23833
|
-
{
|
|
23834
|
-
"name": "Just so you know",
|
|
23835
|
-
"ui": "info",
|
|
23836
|
-
"bad": [
|
|
23837
|
-
{
|
|
23838
|
-
"title": "Done",
|
|
23839
|
-
"context": "Completed refactor of src/notify/queue.ts (head 06d310a)."
|
|
23840
|
-
},
|
|
23841
|
-
{
|
|
23842
|
-
"title": "PR #812 is ready",
|
|
23843
|
-
"context": "Tests pass."
|
|
23844
|
-
}
|
|
23845
|
-
],
|
|
23846
|
-
"good": {
|
|
23847
|
-
"title": "Questions from agents now wait until you answer",
|
|
23848
|
-
"context": "The fix you asked for this morning is done and tested. Next is your review: one click to merge."
|
|
23849
|
-
}
|
|
23850
|
-
},
|
|
23851
|
-
{
|
|
23852
|
-
"name": "A question for ask",
|
|
23853
|
-
"ui": "ask",
|
|
23854
|
-
"bad": [
|
|
23855
|
-
{
|
|
23856
|
-
"title": "Which option?",
|
|
23857
|
-
"context": "1, 2 or 3?"
|
|
23858
|
-
}
|
|
23859
|
-
],
|
|
23860
|
-
"good": {
|
|
23861
|
-
"title": "What should the release headline say?",
|
|
23862
|
-
"context": "You're writing the 2.5 release notes, and the headline is the first line people read. A few words is enough."
|
|
23863
|
-
}
|
|
23864
|
-
}
|
|
23865
23842
|
]
|
|
23866
23843
|
}
|
|
23867
23844
|
}
|