runpane 2.4.220 → 2.4.222
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 +26 -2
- package/dist/agentContext.d.ts.map +1 -1
- package/dist/agentContext.js +6 -0
- package/dist/agentContext.js.map +1 -1
- package/dist/agentTasks.d.ts +1 -1
- package/dist/agentTasks.js +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +11 -4
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +4 -1
- package/dist/commands.js.map +1 -1
- package/dist/daemonClient.d.ts +4 -0
- package/dist/daemonClient.d.ts.map +1 -1
- package/dist/daemonClient.js +44 -7
- package/dist/daemonClient.js.map +1 -1
- package/dist/docs-index.json +1 -1
- package/dist/doctor.d.ts +3 -0
- package/dist/doctor.d.ts.map +1 -1
- package/dist/doctor.js +5 -0
- package/dist/doctor.js.map +1 -1
- package/dist/errors.d.ts +2 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +6 -1
- package/dist/errors.js.map +1 -1
- package/dist/forwardedChild.d.ts +13 -0
- package/dist/forwardedChild.d.ts.map +1 -0
- package/dist/forwardedChild.js +34 -0
- package/dist/forwardedChild.js.map +1 -0
- package/dist/generated/contract.d.ts +136 -33
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +216 -39
- package/dist/generated/contract.js.map +1 -1
- package/dist/handoff.js +1 -1
- package/dist/handoff.js.map +1 -1
- package/dist/localControl.d.ts +1 -0
- package/dist/localControl.d.ts.map +1 -1
- package/dist/localControl.js +25 -0
- package/dist/localControl.js.map +1 -1
- package/dist/managedCli.d.ts.map +1 -1
- package/dist/managedCli.js +5 -27
- package/dist/managedCli.js.map +1 -1
- package/dist/mcp.d.ts +37 -0
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +45 -26
- package/dist/mcp.js.map +1 -1
- package/dist/mcpHttp.d.ts +17 -0
- package/dist/mcpHttp.d.ts.map +1 -0
- package/dist/mcpHttp.js +23 -0
- package/dist/mcpHttp.js.map +1 -0
- package/dist/mcpSdk.d.ts +1 -1
- package/dist/mcpSdk.d.ts.map +1 -1
- package/dist/mcpSdk.js +75 -47
- package/dist/paneIntro.d.ts +20 -0
- package/dist/paneIntro.d.ts.map +1 -0
- package/dist/paneIntro.js +65 -0
- package/dist/paneIntro.js.map +1 -0
- package/dist/relay.d.ts +8 -0
- package/dist/relay.d.ts.map +1 -0
- package/dist/relay.js +39 -0
- package/dist/relay.js.map +1 -0
- package/dist/secrets.d.ts.map +1 -1
- package/dist/secrets.js +3 -24
- package/dist/secrets.js.map +1 -1
- package/dist/updateCapacity.d.ts +2 -2
- package/dist/updateCapacity.d.ts.map +1 -1
- package/dist/updateCapacity.js +3 -1
- package/dist/updateCapacity.js.map +1 -1
- package/dist/workspace.d.ts +12 -0
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +78 -4
- package/dist/workspace.js.map +1 -1
- package/package.json +3 -2
|
@@ -123,12 +123,16 @@ exports.RUNPANE_CONTRACT = {
|
|
|
123
123
|
"hotkey": "mod+alt+3",
|
|
124
124
|
"promptArgument": true,
|
|
125
125
|
"configDir": ".claude",
|
|
126
|
-
"reportsConversation": true
|
|
126
|
+
"reportsConversation": true,
|
|
127
|
+
"paneMcpConfigFlag": "--mcp-config"
|
|
127
128
|
},
|
|
128
129
|
"install": {
|
|
129
130
|
"url": "https://code.claude.com/docs/en/setup",
|
|
130
131
|
"command": "npm install -g @anthropic-ai/claude-code@latest"
|
|
131
132
|
},
|
|
133
|
+
"transcriptDirs": [
|
|
134
|
+
".claude/projects"
|
|
135
|
+
],
|
|
132
136
|
"signIn": [
|
|
133
137
|
"auth",
|
|
134
138
|
"login"
|
|
@@ -155,6 +159,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
155
159
|
"dontAsk"
|
|
156
160
|
],
|
|
157
161
|
"terminalConversationsLoad": true,
|
|
162
|
+
"paneMcpHttp": true,
|
|
158
163
|
"registryIds": [
|
|
159
164
|
"claude-acp"
|
|
160
165
|
]
|
|
@@ -181,6 +186,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
181
186
|
"url": "https://developers.openai.com/codex/cli",
|
|
182
187
|
"command": "npm install -g @openai/codex@latest"
|
|
183
188
|
},
|
|
189
|
+
"transcriptDirs": [
|
|
190
|
+
".codex/sessions",
|
|
191
|
+
".codex/archived_sessions"
|
|
192
|
+
],
|
|
184
193
|
"signIn": [
|
|
185
194
|
"login"
|
|
186
195
|
],
|
|
@@ -236,6 +245,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
236
245
|
"url": "https://cursor.com/docs/cli/installation",
|
|
237
246
|
"command": "curl https://cursor.com/install -fsS | bash"
|
|
238
247
|
},
|
|
248
|
+
"transcriptDirs": [
|
|
249
|
+
".cursor/chats",
|
|
250
|
+
".cursor/projects"
|
|
251
|
+
],
|
|
239
252
|
"signIn": [
|
|
240
253
|
"login"
|
|
241
254
|
],
|
|
@@ -281,6 +294,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
281
294
|
"url": "https://opencode.ai/docs",
|
|
282
295
|
"command": "npm install -g opencode-ai@latest"
|
|
283
296
|
},
|
|
297
|
+
"transcriptDirs": [
|
|
298
|
+
".local/share/opencode"
|
|
299
|
+
],
|
|
284
300
|
"signIn": [
|
|
285
301
|
"auth",
|
|
286
302
|
"login"
|
|
@@ -329,7 +345,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
329
345
|
"install": {
|
|
330
346
|
"url": "https://pi.dev",
|
|
331
347
|
"command": "npm install -g @earendil-works/pi-coding-agent@latest"
|
|
332
|
-
}
|
|
348
|
+
},
|
|
349
|
+
"transcriptDirs": [
|
|
350
|
+
".pi/agent/sessions"
|
|
351
|
+
]
|
|
333
352
|
}
|
|
334
353
|
}
|
|
335
354
|
},
|
|
@@ -472,6 +491,17 @@ exports.RUNPANE_CONTRACT = {
|
|
|
472
491
|
],
|
|
473
492
|
"localControl": true
|
|
474
493
|
},
|
|
494
|
+
{
|
|
495
|
+
"name": "relay",
|
|
496
|
+
"summary": "Run your own Pane relay: starts this platform's prebuilt pane-relay with your flags.",
|
|
497
|
+
"usage": [
|
|
498
|
+
"runpane relay [pane-relay flags...]"
|
|
499
|
+
],
|
|
500
|
+
"wrappers": [
|
|
501
|
+
"npm"
|
|
502
|
+
],
|
|
503
|
+
"localControl": true
|
|
504
|
+
},
|
|
475
505
|
{
|
|
476
506
|
"name": "repos list",
|
|
477
507
|
"summary": "List repositories saved in the running Pane app.",
|
|
@@ -799,7 +829,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
799
829
|
},
|
|
800
830
|
{
|
|
801
831
|
"name": "panes create",
|
|
802
|
-
"summary": "
|
|
832
|
+
"summary": "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>`.",
|
|
803
833
|
"usage": [
|
|
804
834
|
"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
835
|
"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>]",
|
|
@@ -2907,7 +2937,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2907
2937
|
},
|
|
2908
2938
|
{
|
|
2909
2939
|
"name": "--no-associate",
|
|
2910
|
-
"description": "
|
|
2940
|
+
"description": "Do not associate the created pane with the caller's Session."
|
|
2911
2941
|
},
|
|
2912
2942
|
{
|
|
2913
2943
|
"name": "--force",
|
|
@@ -3045,6 +3075,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3045
3075
|
" runpane daemon repair [--pane-dir <path>] [--yes] [--json]",
|
|
3046
3076
|
" runpane agent-context [--json]",
|
|
3047
3077
|
" runpane mcp [--toolsets <name,...>] [--read-only]",
|
|
3078
|
+
" runpane relay [pane-relay flags...]",
|
|
3048
3079
|
" runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json]",
|
|
3049
3080
|
" runpane repos list [--json]",
|
|
3050
3081
|
" runpane repos add --path <path> [--name <name>]",
|
|
@@ -3541,7 +3572,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3541
3572
|
" runpane panes create --repo <selector> --name <name> --tool-command <command> [--agent <codex|claude|cursor|opencode|pi>] [--base <ref>] [--branch <name>] [--prompt-file <path|->] [options]",
|
|
3542
3573
|
" runpane panes create --from-json <path|-> [--yes] [--json]",
|
|
3543
3574
|
"",
|
|
3544
|
-
"Creates a Pane in a saved repository and opens a terminal-backed tool tab.
|
|
3575
|
+
"Creates a Pane in a saved repository and opens a terminal-backed tool tab. Create one only when the work's branch has no Pane yet; for existing work use `runpane panels create --pane <id>`.",
|
|
3545
3576
|
"",
|
|
3546
3577
|
"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.",
|
|
3547
3578
|
"",
|
|
@@ -3575,7 +3606,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3575
3606
|
" --focus Explicitly focus the created pane",
|
|
3576
3607
|
" --pinned Request pinning at creation; first Session association clears it",
|
|
3577
3608
|
" --no-pinned Create unpinned (the UI's favorite/pin star)",
|
|
3578
|
-
" --no-associate
|
|
3609
|
+
" --no-associate Do not associate the new pane with the caller's Session",
|
|
3579
3610
|
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
3580
3611
|
" --json Print machine-readable output",
|
|
3581
3612
|
" --dry-run Validate and preview without creating panes",
|
|
@@ -3767,6 +3798,20 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3767
3798
|
" --toolsets <name,...> core (default), all, read, repos, panes, panels, agents, sessions, workspace, git, docs, links, admin",
|
|
3768
3799
|
" --read-only Serve only read-only tools"
|
|
3769
3800
|
],
|
|
3801
|
+
"relay": [
|
|
3802
|
+
"Usage:",
|
|
3803
|
+
" runpane relay [pane-relay flags...]",
|
|
3804
|
+
"",
|
|
3805
|
+
"Runs pane-relay, the open-source relay that gives your computers addresses on your own domain for QR pairing.",
|
|
3806
|
+
"Flags, stdio, signals and the exit code pass through to pane-relay; `runpane relay --help` lists its flags.",
|
|
3807
|
+
"npm installs the binary with runpane as an optional dependency (@runpane/relay-<platform>-<arch>) on macOS, Linux and Windows, x64 and arm64. Pane's built-in runpane does not include it; use npx.",
|
|
3808
|
+
"",
|
|
3809
|
+
"Examples:",
|
|
3810
|
+
" npx --yes runpane@latest relay --dev",
|
|
3811
|
+
" npx --yes runpane@latest relay --domain relay.example.com --acme-cache /var/lib/pane-relay/acme --dns 0.0.0.0:53 --public-ip 203.0.113.10",
|
|
3812
|
+
"",
|
|
3813
|
+
"Guide: docs/SELF_HOSTED_RELAY.md"
|
|
3814
|
+
],
|
|
3770
3815
|
"agents doctor": [
|
|
3771
3816
|
"Usage:",
|
|
3772
3817
|
" runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json]",
|
|
@@ -4938,7 +4983,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4938
4983
|
"Pauses one terminal tab: stops its process and marks it paused until",
|
|
4939
4984
|
"`runpane panels resume --panel <panel-id>`, or its Pane or Session, resumes it.",
|
|
4940
4985
|
"Stopping works the way quitting Pane does, without asking, even while an agent is working.",
|
|
4941
|
-
"Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts",
|
|
4986
|
+
"Each agent's conversation is kept. A paused terminal tab stays stopped through clicks, app restarts",
|
|
4942
4987
|
"and updates, and `panels resume --session` and `--all-stopped` skip it.",
|
|
4943
4988
|
"`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.",
|
|
4944
4989
|
"",
|
|
@@ -4955,7 +5000,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4955
5000
|
"Pauses every terminal tab of a Pane, run scripts included, until `runpane panes resume`",
|
|
4956
5001
|
"resumes it. A Pane is paused while all of its terminal tabs are; `panes list` reports it.",
|
|
4957
5002
|
"Stopping works the way quitting Pane does, without asking, even while an agent is working.",
|
|
4958
|
-
"Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts",
|
|
5003
|
+
"Each agent's conversation is kept. A paused terminal tab stays stopped through clicks, app restarts",
|
|
4959
5004
|
"and updates, and `panels resume --session` and `--all-stopped` skip it.",
|
|
4960
5005
|
"`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.",
|
|
4961
5006
|
"",
|
|
@@ -4983,10 +5028,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4983
5028
|
"Usage:",
|
|
4984
5029
|
" runpane sessions pause --session <id|name> [--json] [--pane-dir <path>]",
|
|
4985
5030
|
"",
|
|
4986
|
-
"Pauses the terminal tabs of a Session's chat and of every Pane in it that is not archived (a chat tab
|
|
5031
|
+
"Pauses the terminal tabs of a Session's chat and of every Pane in it that is not archived (Pause leaves a chat tab running: its agent keeps running, and the result says so),",
|
|
4987
5032
|
"until `runpane sessions resume` resumes them.",
|
|
4988
5033
|
"Stopping works the way quitting Pane does, without asking, even while an agent is working.",
|
|
4989
|
-
"Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts",
|
|
5034
|
+
"Each agent's conversation is kept. A paused terminal tab stays stopped through clicks, app restarts",
|
|
4990
5035
|
"and updates, and `panels resume --session` and `--all-stopped` skip it.",
|
|
4991
5036
|
"`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.",
|
|
4992
5037
|
"",
|
|
@@ -5022,6 +5067,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5022
5067
|
" runpane daemon repair [--pane-dir <path>] [--yes] [--json]",
|
|
5023
5068
|
" runpane agent-context [--json]",
|
|
5024
5069
|
" runpane mcp [--toolsets <name,...>] [--read-only]",
|
|
5070
|
+
" runpane relay [pane-relay flags...]",
|
|
5025
5071
|
" runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json]",
|
|
5026
5072
|
" runpane repos list [--json]",
|
|
5027
5073
|
" runpane repos add --path <path> [--name <name>]",
|
|
@@ -5497,7 +5543,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5497
5543
|
" 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]",
|
|
5498
5544
|
" runpane panes create --from-json <path|-> [--yes] [--json]",
|
|
5499
5545
|
"",
|
|
5500
|
-
"Creates a Pane in a saved repository and opens a terminal-backed tool tab.
|
|
5546
|
+
"Creates a Pane in a saved repository and opens a terminal-backed tool tab. Create one only when the work's branch has no Pane yet; for existing work use `runpane panels create --pane <id>`.",
|
|
5501
5547
|
"",
|
|
5502
5548
|
"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.",
|
|
5503
5549
|
"",
|
|
@@ -5531,7 +5577,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5531
5577
|
" --focus Explicitly focus the created pane",
|
|
5532
5578
|
" --pinned Request pinning at creation; first Session association clears it",
|
|
5533
5579
|
" --no-pinned Create unpinned (the UI's favorite/pin star)",
|
|
5534
|
-
" --no-associate
|
|
5580
|
+
" --no-associate Do not associate the new pane with the caller's Session",
|
|
5535
5581
|
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
5536
5582
|
" --json Print machine-readable output",
|
|
5537
5583
|
" --dry-run Validate and preview without creating panes",
|
|
@@ -5715,6 +5761,13 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5715
5761
|
"The Pane MCP server ships in the npm package and inside the Pane app, not in the Python package.",
|
|
5716
5762
|
"Run it with Node instead: npx --yes runpane@latest mcp"
|
|
5717
5763
|
],
|
|
5764
|
+
"relay": [
|
|
5765
|
+
"Usage:",
|
|
5766
|
+
" runpane relay",
|
|
5767
|
+
"",
|
|
5768
|
+
"`runpane relay` ships in the npm package, not in the Python package.",
|
|
5769
|
+
"Run it with Node instead: npx --yes runpane@latest relay"
|
|
5770
|
+
],
|
|
5718
5771
|
"agents doctor": [
|
|
5719
5772
|
"Usage:",
|
|
5720
5773
|
" runpane agents doctor --agent <codex|claude|cursor|opencode|pi> [--repo <selector>] [--json]",
|
|
@@ -6808,7 +6861,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
6808
6861
|
"Pauses one terminal tab: stops its process and marks it paused until",
|
|
6809
6862
|
"`runpane panels resume --panel <panel-id>`, or its Pane or Session, resumes it.",
|
|
6810
6863
|
"Stopping works the way quitting Pane does, without asking, even while an agent is working.",
|
|
6811
|
-
"Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts",
|
|
6864
|
+
"Each agent's conversation is kept. A paused terminal tab stays stopped through clicks, app restarts",
|
|
6812
6865
|
"and updates, and `panels resume --session` and `--all-stopped` skip it.",
|
|
6813
6866
|
"`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.",
|
|
6814
6867
|
"",
|
|
@@ -6825,7 +6878,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
6825
6878
|
"Pauses every terminal tab of a Pane, run scripts included, until `runpane panes resume`",
|
|
6826
6879
|
"resumes it. A Pane is paused while all of its terminal tabs are; `panes list` reports it.",
|
|
6827
6880
|
"Stopping works the way quitting Pane does, without asking, even while an agent is working.",
|
|
6828
|
-
"Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts",
|
|
6881
|
+
"Each agent's conversation is kept. A paused terminal tab stays stopped through clicks, app restarts",
|
|
6829
6882
|
"and updates, and `panels resume --session` and `--all-stopped` skip it.",
|
|
6830
6883
|
"`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.",
|
|
6831
6884
|
"",
|
|
@@ -6853,10 +6906,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
6853
6906
|
"Usage:",
|
|
6854
6907
|
" runpane sessions pause --session <id|name> [--json] [--pane-dir <path>]",
|
|
6855
6908
|
"",
|
|
6856
|
-
"Pauses the terminal tabs of a Session's chat and of every Pane in it that is not archived (a chat tab
|
|
6909
|
+
"Pauses the terminal tabs of a Session's chat and of every Pane in it that is not archived (Pause leaves a chat tab running: its agent keeps running, and the result says so),",
|
|
6857
6910
|
"until `runpane sessions resume` resumes them.",
|
|
6858
6911
|
"Stopping works the way quitting Pane does, without asking, even while an agent is working.",
|
|
6859
|
-
"Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts",
|
|
6912
|
+
"Each agent's conversation is kept. A paused terminal tab stays stopped through clicks, app restarts",
|
|
6860
6913
|
"and updates, and `panels resume --session` and `--all-stopped` skip it.",
|
|
6861
6914
|
"`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.",
|
|
6862
6915
|
"",
|
|
@@ -7017,7 +7070,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7017
7070
|
"The wrapper must stream Pane stdout/stderr without reformatting because `pane --remote-setup` prints the one-time `pane-remote://...` connection code.",
|
|
7018
7071
|
"`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).",
|
|
7019
7072
|
"`runpane version` prints only wrapper package metadata and does not contact, launch, or focus the Pane app or daemon.",
|
|
7020
|
-
"`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`.",
|
|
7073
|
+
"`runpane doctor` opens with Pane's intro (\"For people\" and \"For agents\", the sentence about reaching the person following the Approvals setting) and the working rules (Session, Pane, Tab, Scratch), also in `--json` as `intro` and `workspaceRules`. It then checks platform support, release metadata reachability, download URL selection, installed Pane detection, daemon reachability, every `runpane` on `PATH` against the Pane-managed CLI, and remote-daemon hints. `--fix` updates npm installs of `runpane` older than the Pane-managed CLI to its version and never removes a file. Add `--json` for a machine-readable report that agents should run before mutating Pane state. Installed app version detection must be best-effort and must not launch, focus, or configure Pane; macOS wrappers read app bundle metadata instead of executing `Pane --version`.",
|
|
7021
7074
|
"`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.",
|
|
7022
7075
|
"`runpane agent-context` prints a brief, token-efficient command schema for coding agents without connecting to the Pane daemon.",
|
|
7023
7076
|
"`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.",
|
|
@@ -7030,7 +7083,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7030
7083
|
"`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 ...`.",
|
|
7031
7084
|
"`runpane panes list` lists Pane sessions, optionally scoped to one saved repository.",
|
|
7032
7085
|
"`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.",
|
|
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.
|
|
7086
|
+
"`runpane panes create` connects to the running local Pane daemon, resolves the requested saved base repository, creates user-visible Pane sessions backed by Pane-managed worktrees/branches, opens terminal-backed tool tabs, and optionally sends initial input to the started tool. Built-in agent panes and `--source agent` default to background/no-focus unless `--focus` is passed. New Panes are pinned into the UI's favorite/pin set by default, except when the CLI runs inside a Session orchestrator (`PANE_ORCHESTRATION_SESSION_ID`), where child worktrees default to unpinned. Explicit `--pinned` / `--no-pinned` override creation defaults. First Session association clears an existing pin, including an explicit creation pin; use `panes pin` after association to pin a child. This avoids duplicating Session children in the global pinned list. Manual pins applied afterward are preserved. Panes created interactively in the Pane UI are unaffected. New Panes join the caller's Session automatically: the orchestrator's Session (`PANE_ORCHESTRATION_SESSION_ID`), or the open Session the calling tab's Pane belongs to; `--no-associate` opts out. A failed association is reported on the item and never undoes the Pane.",
|
|
7034
7087
|
"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.",
|
|
7035
7088
|
"`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.",
|
|
7036
7089
|
"`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.",
|
|
@@ -7066,7 +7119,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7066
7119
|
"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.",
|
|
7067
7120
|
"`runpane inbox [--session <id|name>] [--json]` lists what a Session's orchestrator has not acknowledged: reports, missing reports, and on-screen questions (a question clears itself once its panel moves on), plus `answers`, what its workers were told, kept 7 days; an answer with no `decision` still needs its D-n. `runpane inbox ack <item-id>...` or `--all --session <id|name>` clears items, and `runpane inbox ack <item-id>... --decision <D-n>` records the D-n, even on an item already cleared. An orchestrator runs it when it starts or resumes, to catch anything that finished while it was down; Pane never injects the inbox into its turns.",
|
|
7068
7121
|
"`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`.",
|
|
7069
|
-
"`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.
|
|
7122
|
+
"`runpane panels pause --panel <panel-id>`, `panes pause --pane <pane-id>` and `sessions pause --session <id|name>` pause a tab, a Pane, or a Session's chat and Panes: Pane stops each terminal tab the way quitting does, without asking, keeps its agent's conversation, and marks it paused. Pause leaves a chat tab running: `panels pause --panel` on one fails with `ERR_RUNPANE_CHAT_NOT_PAUSABLE`, and `panes pause` and `sessions pause` leave its agent running and count it in `chatTabsNotPaused`. A paused terminal tab stays stopped through clicks, app restarts and updates until `panels resume --panel`, `panes resume` or `sessions resume` restarts it in its saved conversation. Each returns `{ action, scope, panelIds, unchanged, failed, chatTabsNotPaused, message, nextCommand }`. `panes list` reports a Pane's `paused` mark (`{ at, by: \"manual\" | \"auto\", idleHours? }`) and `inactiveSince`, the latest terminal output or input or chat agent activity in its tabs, or the last time the person selected it; `panels list` reports each tab's `paused`. Auto-pause also stops the agent of a chat tab idle for `chatIdleReleaseMinutes` (30 by default); opening the tab or sending it a message resumes it, and it reports no `panel.paused`. `runpane watch` reports `panel.paused` (`PAUSED ...`) and `panel.unpaused` (`UNPAUSED ...`) under `--follow`, to a Session-scoped watch, or when `--kinds` lists them.",
|
|
7070
7123
|
"`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.",
|
|
7071
7124
|
"`runpane panels conversation --conversation <id> [--source startup|resume|clear|compact]` records which conversation a terminal panel's agent is on (daemon action `runpane:panels:conversation`, request `{ panelId, paneId?, conversationId, source? }`, result `{ ok: true, paneId, panelId, conversationId, source?, sure }`; `sure` is true when the report came since the panel's agent started). It is not an `agent.report` event. The panel comes from `--panel` (with an optional `--pane`), else `PANE_PANEL_ID` and `PANE_SESSION_ID`, as for `runpane report`. `runpane panels conversation --hook` is the command for a Claude Code `SessionStart` hook: it reads the hook's JSON from stdin (`session_id`, `source`; at most 64 KiB, for at most 2 seconds), reports it for `PANE_PANEL_ID`, prints nothing on stdout or stderr, and always exits 0: outside Pane, on bad input, when Pane is not running, and with a Pane that predates the action. Without `--hook` it prints `Recorded conversation <id> for panel <panel-id>.` and fails like any other command.",
|
|
7072
7125
|
"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.",
|
|
@@ -8721,6 +8774,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
8721
8774
|
"doctorResult": {
|
|
8722
8775
|
"type": "object",
|
|
8723
8776
|
"required": [
|
|
8777
|
+
"intro",
|
|
8778
|
+
"workspaceRules",
|
|
8724
8779
|
"ok",
|
|
8725
8780
|
"source",
|
|
8726
8781
|
"wrapper",
|
|
@@ -8733,6 +8788,34 @@ exports.RUNPANE_CONTRACT = {
|
|
|
8733
8788
|
"nextCommands"
|
|
8734
8789
|
],
|
|
8735
8790
|
"properties": {
|
|
8791
|
+
"intro": {
|
|
8792
|
+
"type": "object",
|
|
8793
|
+
"required": [
|
|
8794
|
+
"humans",
|
|
8795
|
+
"agents",
|
|
8796
|
+
"approvals"
|
|
8797
|
+
],
|
|
8798
|
+
"properties": {
|
|
8799
|
+
"humans": {
|
|
8800
|
+
"type": "string"
|
|
8801
|
+
},
|
|
8802
|
+
"agents": {
|
|
8803
|
+
"type": "string"
|
|
8804
|
+
},
|
|
8805
|
+
"approvals": {
|
|
8806
|
+
"type": "boolean"
|
|
8807
|
+
}
|
|
8808
|
+
},
|
|
8809
|
+
"additionalProperties": false,
|
|
8810
|
+
"description": "What Pane is and how to work in it: read it first. `approvals` says whether Approvals is on, which picks how each part says to reach the person."
|
|
8811
|
+
},
|
|
8812
|
+
"workspaceRules": {
|
|
8813
|
+
"type": "array",
|
|
8814
|
+
"items": {
|
|
8815
|
+
"type": "string"
|
|
8816
|
+
},
|
|
8817
|
+
"description": "Where work goes in Pane: Session, Pane, tab and scratch."
|
|
8818
|
+
},
|
|
8736
8819
|
"ok": {
|
|
8737
8820
|
"type": "boolean"
|
|
8738
8821
|
},
|
|
@@ -10233,6 +10316,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
10233
10316
|
"type": "string",
|
|
10234
10317
|
"description": "Session id to associate each created Pane with; the CLI sets it from PANE_ORCHESTRATION_SESSION_ID unless --no-associate."
|
|
10235
10318
|
},
|
|
10319
|
+
"noAssociate": {
|
|
10320
|
+
"type": "boolean",
|
|
10321
|
+
"description": "Without associateSession, Pane associates each created Pane with the open Session the calling tab's Pane belongs to; true skips that. The CLI sets it for --no-associate."
|
|
10322
|
+
},
|
|
10236
10323
|
"expectReport": {
|
|
10237
10324
|
"type": "boolean",
|
|
10238
10325
|
"description": "true or false decides whether Pane waits for a `runpane report`; omitted, it waits unless source is user (and, for a submit, only on an agent's panel)."
|
|
@@ -10742,7 +10829,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
10742
10829
|
},
|
|
10743
10830
|
"inactiveSince": {
|
|
10744
10831
|
"type": "string",
|
|
10745
|
-
"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)."
|
|
10832
|
+
"description": "When the Pane was last used: the latest terminal output or input or chat agent activity in its tabs, or the last time the person selected it (ISO 8601)."
|
|
10746
10833
|
},
|
|
10747
10834
|
"paused": {
|
|
10748
10835
|
"$ref": "#/jsonSchemas/pausedMark",
|
|
@@ -12051,6 +12138,27 @@ exports.RUNPANE_CONTRACT = {
|
|
|
12051
12138
|
},
|
|
12052
12139
|
"blocked": {
|
|
12053
12140
|
"$ref": "#/jsonSchemas/paneArchiveResult/oneOf/2/properties/blocked"
|
|
12141
|
+
},
|
|
12142
|
+
"scratch": {
|
|
12143
|
+
"type": "object",
|
|
12144
|
+
"required": [
|
|
12145
|
+
"path",
|
|
12146
|
+
"bytes"
|
|
12147
|
+
],
|
|
12148
|
+
"properties": {
|
|
12149
|
+
"path": {
|
|
12150
|
+
"type": "string"
|
|
12151
|
+
},
|
|
12152
|
+
"bytes": {
|
|
12153
|
+
"type": "number"
|
|
12154
|
+
},
|
|
12155
|
+
"deletedAt": {
|
|
12156
|
+
"type": "string",
|
|
12157
|
+
"description": "Scratch under the Pane directory (a main-checkout or adopted Pane) is kept after archive and deleted on this date, its agent logs kept. Absent: deleted with the worktree."
|
|
12158
|
+
}
|
|
12159
|
+
},
|
|
12160
|
+
"additionalProperties": false,
|
|
12161
|
+
"description": "$PANE_SCRATCH_DIR with everything in it (clones, test instances, node_modules); present when the folder exists."
|
|
12054
12162
|
}
|
|
12055
12163
|
},
|
|
12056
12164
|
"additionalProperties": false
|
|
@@ -12417,6 +12525,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
12417
12525
|
"ok",
|
|
12418
12526
|
"mode",
|
|
12419
12527
|
"source",
|
|
12528
|
+
"intro",
|
|
12529
|
+
"workspaceRules",
|
|
12420
12530
|
"summary",
|
|
12421
12531
|
"rules",
|
|
12422
12532
|
"tools",
|
|
@@ -12432,6 +12542,12 @@ exports.RUNPANE_CONTRACT = {
|
|
|
12432
12542
|
"source": {
|
|
12433
12543
|
"const": "runpane-contract"
|
|
12434
12544
|
},
|
|
12545
|
+
"intro": {
|
|
12546
|
+
"$ref": "#/jsonSchemas/doctorResult/properties/intro"
|
|
12547
|
+
},
|
|
12548
|
+
"workspaceRules": {
|
|
12549
|
+
"$ref": "#/jsonSchemas/doctorResult/properties/workspaceRules"
|
|
12550
|
+
},
|
|
12435
12551
|
"summary": {
|
|
12436
12552
|
"type": "string"
|
|
12437
12553
|
},
|
|
@@ -15150,6 +15266,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
15150
15266
|
},
|
|
15151
15267
|
"worktreePath": {
|
|
15152
15268
|
"type": "string"
|
|
15269
|
+
},
|
|
15270
|
+
"scratch": {
|
|
15271
|
+
"$ref": "#/jsonSchemas/paneArchiveResult/oneOf/1/properties/scratch"
|
|
15153
15272
|
}
|
|
15154
15273
|
},
|
|
15155
15274
|
"additionalProperties": false
|
|
@@ -17427,7 +17546,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
17427
17546
|
},
|
|
17428
17547
|
"chatTabsNotPaused": {
|
|
17429
17548
|
"type": "number",
|
|
17430
|
-
"description": "On a pause: chat tabs in scope, which
|
|
17549
|
+
"description": "On a pause: chat tabs in scope, which Pause leaves running."
|
|
17431
17550
|
},
|
|
17432
17551
|
"unchanged": {
|
|
17433
17552
|
"type": "number",
|
|
@@ -17463,16 +17582,52 @@ exports.RUNPANE_CONTRACT = {
|
|
|
17463
17582
|
}
|
|
17464
17583
|
},
|
|
17465
17584
|
"agentContext": {
|
|
17585
|
+
"intro": {
|
|
17586
|
+
"humans": {
|
|
17587
|
+
"title": "For people",
|
|
17588
|
+
"sentences": [
|
|
17589
|
+
"Open a Session for each workstream and tell its agent what you want, in plain words.",
|
|
17590
|
+
"It plans the work, starts a Pane for each feature, and runs the builders, reviewers and QA as tabs inside them, so you don't have to.",
|
|
17591
|
+
"{approvals}",
|
|
17592
|
+
"When a feature is done, archiving its Pane cleans up its worktree and files for you."
|
|
17593
|
+
],
|
|
17594
|
+
"approvals": {
|
|
17595
|
+
"on": "Anything that needs you, like a decision, an approval or a merge, waits for you in Approvals while everything else keeps moving.",
|
|
17596
|
+
"off": "When the agent needs you for a decision, an approval or a merge, it asks in its terminal while everything else keeps moving."
|
|
17597
|
+
}
|
|
17598
|
+
},
|
|
17599
|
+
"agents": {
|
|
17600
|
+
"title": "For agents",
|
|
17601
|
+
"sentences": [
|
|
17602
|
+
"In Pane, work flows from a Session to Panes to tabs.",
|
|
17603
|
+
"A Session is a workstream: the person or an orchestrator opens it, and every Pane created or adopted from inside it joins it. When you are in one ($PANE_SESSION_DIR is set: you orchestrate it or your Pane belongs to it), start new Panes from there (each result's `association` names the Session they joined); when you are in none, work with several parts starts a new Session.",
|
|
17604
|
+
"Each feature gets one Pane, a git worktree on its own branch, and everything for that feature (the agent that builds it, its reviews, QA and fixes) runs as tabs inside it.",
|
|
17605
|
+
"Scratch files go in $PANE_SCRATCH_DIR inside the Pane.",
|
|
17606
|
+
"When the feature is done, archive the Pane and Pane cleans up its worktree, tabs and scratch files.",
|
|
17607
|
+
"{approvals}"
|
|
17608
|
+
],
|
|
17609
|
+
"approvals": {
|
|
17610
|
+
"on": "When you need the person, ask through Approvals (a Session worker reports blocked to its orchestrator instead).",
|
|
17611
|
+
"off": "When you need the person, ask in this terminal."
|
|
17612
|
+
}
|
|
17613
|
+
}
|
|
17614
|
+
},
|
|
17615
|
+
"workspaceRules": [
|
|
17616
|
+
"Session: where a workstream lives, and the default home for orchestrated work. Its folder ($PANE_SESSION_DIR) holds plans, notes and reports.",
|
|
17617
|
+
"Pane: one per feature (one worktree, one branch). Before creating one, find the feature's Pane (`runpane panes list --json`, match the branch) and create one only when none exists.",
|
|
17618
|
+
"Tab: reviews, review reruns, QA, fixes and follow-ups for a feature go in new tabs in its Pane (`runpane panels create --pane <id>`), never a new Pane or a plain `git worktree`.",
|
|
17619
|
+
"Scratch: in Pane, put temporary files, clones, captures, downloads, logs and test instances (an isolated PANE_DIR and HOME for QA) in `$PANE_SCRATCH_DIR`, not /tmp or your tool's own scratchpad. When the feature is done, archive the Pane and Pane cleans it up."
|
|
17620
|
+
],
|
|
17466
17621
|
"brief": {
|
|
17467
17622
|
"title": "Pane agent context",
|
|
17468
17623
|
"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.",
|
|
17469
17624
|
"rules": [
|
|
17470
17625
|
"Start with `runpane doctor --json` to understand wrapper, platform, daemon reachability, and the next safe commands before mutating Pane state.",
|
|
17471
17626
|
"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`.",
|
|
17472
|
-
"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
|
|
17627
|
+
"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 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.",
|
|
17473
17628
|
"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.",
|
|
17474
17629
|
"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.",
|
|
17475
|
-
"
|
|
17630
|
+
"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`.",
|
|
17476
17631
|
"For private background decomposition, use your normal subagent/worktree mechanism instead of Pane.",
|
|
17477
17632
|
"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`.",
|
|
17478
17633
|
"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.",
|
|
@@ -17630,7 +17785,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
17630
17785
|
},
|
|
17631
17786
|
{
|
|
17632
17787
|
"name": "panes create",
|
|
17633
|
-
"summary": "
|
|
17788
|
+
"summary": "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>`.",
|
|
17634
17789
|
"arguments": [
|
|
17635
17790
|
"--repo <selector>",
|
|
17636
17791
|
"--name <name>",
|
|
@@ -18197,6 +18352,28 @@ exports.RUNPANE_CONTRACT = {
|
|
|
18197
18352
|
"Commands that need --yes in the CLI take `yes: true` as a tool input."
|
|
18198
18353
|
]
|
|
18199
18354
|
},
|
|
18355
|
+
"relay": {
|
|
18356
|
+
"name": "relay",
|
|
18357
|
+
"summary": "Run your own Pane relay: starts this platform's prebuilt pane-relay with your flags.",
|
|
18358
|
+
"details": "For self-hosting the relay that gives computers addresses on your own domain for QR pairing (docs/SELF_HOSTED_RELAY.md). runpane passes every argument, stdio, signals and the exit code through to pane-relay, which npm installs as runpane's optional dependency @runpane/relay-<platform>-<arch>. It runs in the foreground until stopped.",
|
|
18359
|
+
"requiresPaneDaemon": false,
|
|
18360
|
+
"mutates": false,
|
|
18361
|
+
"arguments": [
|
|
18362
|
+
{
|
|
18363
|
+
"name": "[pane-relay flags...]",
|
|
18364
|
+
"required": false,
|
|
18365
|
+
"description": "Passed to pane-relay unchanged; `runpane relay --help` lists them."
|
|
18366
|
+
}
|
|
18367
|
+
],
|
|
18368
|
+
"examples": [
|
|
18369
|
+
"npx --yes runpane@latest relay --dev",
|
|
18370
|
+
"npx --yes runpane@latest relay --help"
|
|
18371
|
+
],
|
|
18372
|
+
"notes": [
|
|
18373
|
+
"Only the npm package includes it; Pane's built-in runpane and the Python package print how to run it with npx.",
|
|
18374
|
+
"Fails with ERR_RELAY_NOT_INSTALLED when this platform has no prebuilt binary or npm skipped optional dependencies."
|
|
18375
|
+
]
|
|
18376
|
+
},
|
|
18200
18377
|
"repos list": {
|
|
18201
18378
|
"name": "repos list",
|
|
18202
18379
|
"summary": "List repositories saved in the running Pane app.",
|
|
@@ -18818,8 +18995,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
18818
18995
|
},
|
|
18819
18996
|
"panes create": {
|
|
18820
18997
|
"name": "panes create",
|
|
18821
|
-
"summary": "
|
|
18822
|
-
"details": "
|
|
18998
|
+
"summary": "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>`.",
|
|
18999
|
+
"details": "Use this only when the work's branch has no Pane yet: new work, or an existing PR with no Pane. Each new Pane creates a worktree that checks out, installs and often builds, so creating several at once can freeze the machine. First find the feature's Pane with `runpane panes list --repo <repo> --json` by matching the PR's head branch (`gh pr view <n> --json headRefName`) against `git -C <worktreePath> branch --show-current`. For review, follow-up review, fixes, QA or any other agent on work that already has a Pane, use `runpane panels create --pane <id>` to open a new agent tab in that Pane instead. Select the saved base repository, choose a built-in agent or custom terminal command, and optionally send initial input after the tool starts. Pane creates and owns a git worktree/branch for each new Pane; do not pre-create a git worktree and register it as a separate repo unless the user explicitly asks. For private background decomposition, use your normal subagent/worktree mechanism instead of Pane.",
|
|
18823
19000
|
"requiresPaneDaemon": true,
|
|
18824
19001
|
"mutates": true,
|
|
18825
19002
|
"arguments": [
|
|
@@ -18935,7 +19112,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
18935
19112
|
{
|
|
18936
19113
|
"name": "--no-associate",
|
|
18937
19114
|
"required": false,
|
|
18938
|
-
"description": "
|
|
19115
|
+
"description": "Do not associate the created pane with the caller's Session: the orchestrator's, or the open one the calling tab's Pane belongs to (associated automatically by default)."
|
|
18939
19116
|
},
|
|
18940
19117
|
{
|
|
18941
19118
|
"name": "--yes",
|
|
@@ -19010,10 +19187,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
19010
19187
|
],
|
|
19011
19188
|
"notes": [
|
|
19012
19189
|
"At least one of --agent or --tool-command is required unless --from-json is used.",
|
|
19013
|
-
"`panes create` is for user-visible Pane orchestration, not the agent's default private delegation mechanism.
|
|
19190
|
+
"`panes create` is for user-visible Pane orchestration, not the agent's default private delegation mechanism. Before creating a Pane, find the feature's Pane with `runpane panes list --repo <repo> --json` by matching the PR's head branch (`gh pr view <n> --json headRefName`) against `git -C <worktreePath> branch --show-current`, and add a tab with `panels create --pane <id>` when it exists.",
|
|
19014
19191
|
"Register the saved base repository once. Pane creates and owns the worktree/branch for each new Pane.",
|
|
19015
19192
|
"`panes create --base <ref> --branch <name> --prompt-file <file>` replaces `git worktree add` plus `panes adopt`: Pane creates the worktree on exactly that branch name. `--branch` is checked with `git check-ref-format --branch` and fails if the branch already exists; `--worktree-name` still names the directory.",
|
|
19016
|
-
"Agent-created Panes should pass `--source agent --no-focus --wait-ready --yes --json` unless the user explicitly wants focus moved. `panes create` pins the new Pane by default, so a follow-up `panes pin` call is unnecessary; pass `--no-pinned` for throwaway shells or bulk imports. `--pinned` is still accepted and is now a no-op.
|
|
19193
|
+
"Agent-created Panes should pass `--source agent --no-focus --wait-ready --yes --json` unless the user explicitly wants focus moved. `panes create` pins the new Pane by default, so a follow-up `panes pin` call is unnecessary; pass `--no-pinned` for throwaway shells or bulk imports. `--pinned` is still accepted and is now a no-op. New Panes join the caller's Session automatically: the orchestrator's Session (`PANE_ORCHESTRATION_SESSION_ID`), or the open Session the calling tab's Pane belongs to; `--no-associate` opts out. A failed association is reported on the item and never undoes the Pane.",
|
|
19017
19194
|
"The built-in agent templates come from the runpane contract; custom terminal commands can pass agent-specific flags when requested by the user.",
|
|
19018
19195
|
"Use --initial-input-file for multi-line prompts or shell-sensitive initial input. 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.",
|
|
19019
19196
|
"`--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.",
|
|
@@ -19119,7 +19296,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
19119
19296
|
{
|
|
19120
19297
|
"name": "--no-associate",
|
|
19121
19298
|
"required": false,
|
|
19122
|
-
"description": "
|
|
19299
|
+
"description": "Do not associate the adopted pane with the caller's Session: the orchestrator's, or the open one the calling tab's Pane belongs to (associated automatically by default)."
|
|
19123
19300
|
},
|
|
19124
19301
|
{
|
|
19125
19302
|
"name": "--dry-run",
|
|
@@ -19359,7 +19536,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
19359
19536
|
"panes pause": {
|
|
19360
19537
|
"name": "panes pause",
|
|
19361
19538
|
"summary": "Pause a Pane: stop every terminal tab and keep their conversations until the Pane is resumed.",
|
|
19362
|
-
"details": "Pauses every terminal tab of a Pane, run scripts included, until `panes resume` resumes it.
|
|
19539
|
+
"details": "Pauses every terminal tab of a Pane, run scripts included, until `panes resume` resumes it. Pause leaves a chat tab running, so its agent keeps running and the result counts it in `chatTabsNotPaused`. 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 terminal tab stays stopped through clicks, app restarts and updates; `panels resume --session` and `--all-stopped` skip it. `watch` reports each tab as `panel.paused`.",
|
|
19363
19540
|
"requiresPaneDaemon": true,
|
|
19364
19541
|
"mutates": true,
|
|
19365
19542
|
"arguments": [
|
|
@@ -19393,7 +19570,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
19393
19570
|
"pauseResult"
|
|
19394
19571
|
],
|
|
19395
19572
|
"notes": [
|
|
19396
|
-
"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.",
|
|
19573
|
+
"Find idle Panes with `panes list --json`: `inactiveSince` is the latest terminal output or input or chat agent activity in its tabs, or the last time the person selected it.",
|
|
19397
19574
|
"Leave paused workers paused unless the person asks to resume them."
|
|
19398
19575
|
]
|
|
19399
19576
|
},
|
|
@@ -20021,7 +20198,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
20021
20198
|
"panels pause": {
|
|
20022
20199
|
"name": "panels pause",
|
|
20023
20200
|
"summary": "Pause a terminal tab: stop its process and keep its agent's conversation until it is resumed.",
|
|
20024
|
-
"details": "Pauses one terminal tab until `panels resume --panel <panel-id>`, or its Pane or Session, resumes it.
|
|
20201
|
+
"details": "Pauses one terminal tab until `panels resume --panel <panel-id>`, or its Pane or Session, resumes it. Pause leaves a chat tab running: pausing one fails with `ERR_RUNPANE_CHAT_NOT_PAUSABLE` and changes nothing. 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 terminal tab stays stopped through clicks, app restarts and updates; `panels resume --session` and `--all-stopped` skip it. `watch` reports each tab as `panel.paused`.",
|
|
20025
20202
|
"requiresPaneDaemon": true,
|
|
20026
20203
|
"mutates": true,
|
|
20027
20204
|
"arguments": [
|
|
@@ -20220,8 +20397,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
20220
20397
|
},
|
|
20221
20398
|
"panels create": {
|
|
20222
20399
|
"name": "panels create",
|
|
20223
|
-
"summary": "Open a new agent tab (reviewer, auditor, QA, fix or helper) inside an existing Pane, sharing its worktree.
|
|
20224
|
-
"details": "
|
|
20400
|
+
"summary": "Open a new agent tab (reviewer, auditor, QA, fix or helper) inside an existing Pane, sharing its worktree. Use this, not panes create, for any later agent on existing work.",
|
|
20401
|
+
"details": "This is the default way to start any later agent on work that already has a Pane, including reviewers, follow-up reviewers, auditors, fix implementers, QA and clean-context helpers. The new tab is a fresh agent that shares the Pane's worktree and branch; it does not create a new worktree. Review, audit and QA tabs never run `git checkout`, `reset` or `stash`, and a fix tab starts only after the previous writer has stopped. Use `panes create` only when the work's branch has no Pane yet. Agent/orchestrator-created panels should pass --source agent or --no-focus so the user stays in the implementation tab. The daemon initializes the terminal immediately and can wait for CLI readiness.",
|
|
20225
20402
|
"requiresPaneDaemon": true,
|
|
20226
20403
|
"mutates": true,
|
|
20227
20404
|
"arguments": [
|
|
@@ -21565,7 +21742,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
21565
21742
|
"agents start": {
|
|
21566
21743
|
"name": "agents start",
|
|
21567
21744
|
"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.",
|
|
21568
|
-
"details": "
|
|
21745
|
+
"details": "For work that already has a Pane, pass --pane <id>: the agent opens as a new tab sharing that Pane's worktree and branch. Only when the work's branch has no Pane yet, pass --repo and --name to create one. It returns the pane and panel ids and a pane:// link to hand the user.",
|
|
21569
21746
|
"requiresPaneDaemon": true,
|
|
21570
21747
|
"mutates": true,
|
|
21571
21748
|
"arguments": [
|
|
@@ -21967,7 +22144,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
21967
22144
|
"sessions associate": {
|
|
21968
22145
|
"name": "sessions associate",
|
|
21969
22146
|
"summary": "Associate a user-visible Pane with a named Session.",
|
|
21970
|
-
"details": "Associate a user-visible Pane with a named Session. `panes create` and `panes adopt` already do this automatically when run inside a Session orchestrator; use this for existing Panes or after `--no-associate`.",
|
|
22147
|
+
"details": "Associate a user-visible Pane with a named Session. `panes create` and `panes adopt` already do this automatically when run inside a Session orchestrator or from a tab whose Pane belongs to an open Session; use this for existing Panes or after `--no-associate`.",
|
|
21971
22148
|
"requiresPaneDaemon": true,
|
|
21972
22149
|
"mutates": true,
|
|
21973
22150
|
"arguments": [
|
|
@@ -22548,7 +22725,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
22548
22725
|
"sessions pause": {
|
|
22549
22726
|
"name": "sessions pause",
|
|
22550
22727
|
"summary": "Pause a Session: stop the terminal tabs of its chat and every Pane in it, keeping their conversations. Chat tabs keep running.",
|
|
22551
|
-
"details": "Pauses the terminal tabs of a Session's chat and of every Pane in it that is not archived; a chat tab
|
|
22728
|
+
"details": "Pauses the terminal tabs of a Session's chat and of every Pane in it that is not archived; Pause leaves a chat tab running, so its agent keeps running and the result counts it in `chatTabsNotPaused`, 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 terminal tab stays stopped through clicks, app restarts and updates; `panels resume --session` and `--all-stopped` skip it. `watch` reports each tab as `panel.paused`.",
|
|
22552
22729
|
"requiresPaneDaemon": true,
|
|
22553
22730
|
"mutates": true,
|
|
22554
22731
|
"arguments": [
|
|
@@ -23826,7 +24003,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
23826
24003
|
"",
|
|
23827
24004
|
"This repository is used with [Pane](https://runpane.com). Drive it with the CLI or the `pane` MCP server.",
|
|
23828
24005
|
"",
|
|
23829
|
-
"
|
|
24006
|
+
"{{paneAndTabRules}} With the MCP tools, open a tab with `panels_create`, or `agents_start` with `pane`.",
|
|
23830
24007
|
"",
|
|
23831
24008
|
"When you need the person (a choice, an approval, a short answer), call the `notify` MCP tool (or `runpane notify`) instead of asking in the terminal. If it returns `waiting`, call it again with `resume`; if it returns `unavailable`, ask in the terminal. Claude's own card (AskUserQuestion) is only for a quick question in the chat the person is typing in, about their latest message, that steers only this turn; everything else is an approval card, and Codex and other agents always use one. A worker in a Pane Session (`PANE_SESSION_DIR` set, `PANE_ORCHESTRATION_SESSION_ID` unset) doesn't call `notify`: it reports blocked to its orchestrator with `runpane report --state blocked --question \"<question>\"`. Its orchestrator relays that card with `runpane notify --relays <item> ...`, the answer goes straight to the worker's tab, and the orchestrator records it with `runpane inbox ack <item> --decision <D-n>`. For an API key, token or password, call `secrets_request` (or `runpane secrets request`), never `ask`; if that returns `unavailable`, ask the person to save it in Pane under Settings > Secrets.",
|
|
23832
24009
|
"",
|