runpane 2.4.224 → 2.4.226
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 +18 -0
- package/dist/agents.d.ts +5 -0
- package/dist/agents.d.ts.map +1 -1
- package/dist/agents.js +16 -0
- package/dist/agents.js.map +1 -1
- package/dist/ask.d.ts +16 -0
- package/dist/ask.d.ts.map +1 -0
- package/dist/ask.js +418 -0
- package/dist/ask.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +11 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts +4 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +18 -2
- package/dist/commands.js.map +1 -1
- package/dist/daemonClient.d.ts +5 -1
- package/dist/daemonClient.d.ts.map +1 -1
- package/dist/daemonClient.js +9 -2
- package/dist/daemonClient.js.map +1 -1
- package/dist/docs-index.json +1 -1
- package/dist/generated/contract.d.ts +542 -4
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +963 -104
- package/dist/generated/contract.js.map +1 -1
- package/dist/handoff.d.ts +1 -0
- package/dist/handoff.d.ts.map +1 -1
- package/dist/handoff.js +2 -8
- package/dist/handoff.js.map +1 -1
- package/dist/localControl.d.ts +17 -0
- package/dist/localControl.d.ts.map +1 -1
- package/dist/localControl.js +53 -3
- package/dist/localControl.js.map +1 -1
- package/dist/mcp.js +1 -1
- package/dist/mcp.js.map +1 -1
- package/dist/mcpTools.d.ts +2 -0
- package/dist/mcpTools.d.ts.map +1 -1
- package/dist/mcpTools.js +1 -1
- package/dist/mcpTools.js.map +1 -1
- package/dist/secrets.d.ts +7 -0
- package/dist/secrets.d.ts.map +1 -1
- package/dist/secrets.js +1 -0
- package/dist/secrets.js.map +1 -1
- package/dist/theme.d.ts +5 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/theme.js +104 -0
- package/dist/theme.js.map +1 -0
- package/dist/watchLines.d.ts +3 -0
- package/dist/watchLines.d.ts.map +1 -1
- package/dist/watchLines.js +2 -1
- package/dist/watchLines.js.map +1 -1
- package/package.json +1 -1
|
@@ -163,6 +163,35 @@ exports.RUNPANE_CONTRACT = {
|
|
|
163
163
|
"registryIds": [
|
|
164
164
|
"claude-acp"
|
|
165
165
|
]
|
|
166
|
+
},
|
|
167
|
+
"models": {
|
|
168
|
+
"flag": "--model",
|
|
169
|
+
"effortFlag": "--effort",
|
|
170
|
+
"aliases": [
|
|
171
|
+
"fable",
|
|
172
|
+
"opus",
|
|
173
|
+
"sonnet",
|
|
174
|
+
"haiku"
|
|
175
|
+
],
|
|
176
|
+
"status": {
|
|
177
|
+
"args": [
|
|
178
|
+
"auth",
|
|
179
|
+
"status"
|
|
180
|
+
],
|
|
181
|
+
"format": "json-logged-in"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"ask": {
|
|
185
|
+
"args": [
|
|
186
|
+
"-p",
|
|
187
|
+
"--output-format",
|
|
188
|
+
"json",
|
|
189
|
+
"--permission-mode",
|
|
190
|
+
"default",
|
|
191
|
+
"--strict-mcp-config",
|
|
192
|
+
"--tools=Read,Grep,Glob"
|
|
193
|
+
],
|
|
194
|
+
"output": "result-json"
|
|
166
195
|
}
|
|
167
196
|
},
|
|
168
197
|
"codex": {
|
|
@@ -215,6 +244,38 @@ exports.RUNPANE_CONTRACT = {
|
|
|
215
244
|
"registryIds": [
|
|
216
245
|
"codex-acp"
|
|
217
246
|
]
|
|
247
|
+
},
|
|
248
|
+
"models": {
|
|
249
|
+
"flag": "-m",
|
|
250
|
+
"effortConfig": "model_reasoning_effort",
|
|
251
|
+
"list": {
|
|
252
|
+
"args": [
|
|
253
|
+
"debug",
|
|
254
|
+
"models"
|
|
255
|
+
],
|
|
256
|
+
"format": "json-models"
|
|
257
|
+
},
|
|
258
|
+
"status": {
|
|
259
|
+
"args": [
|
|
260
|
+
"login",
|
|
261
|
+
"status"
|
|
262
|
+
],
|
|
263
|
+
"format": "text"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"ask": {
|
|
267
|
+
"args": [
|
|
268
|
+
"exec",
|
|
269
|
+
"--json",
|
|
270
|
+
"--ephemeral",
|
|
271
|
+
"--skip-git-repo-check",
|
|
272
|
+
"--ignore-user-config",
|
|
273
|
+
"--disable",
|
|
274
|
+
"apps",
|
|
275
|
+
"-s",
|
|
276
|
+
"read-only"
|
|
277
|
+
],
|
|
278
|
+
"output": "codex-jsonl"
|
|
218
279
|
}
|
|
219
280
|
},
|
|
220
281
|
"cursor": {
|
|
@@ -268,6 +329,32 @@ exports.RUNPANE_CONTRACT = {
|
|
|
268
329
|
"registryIds": [
|
|
269
330
|
"cursor"
|
|
270
331
|
]
|
|
332
|
+
},
|
|
333
|
+
"models": {
|
|
334
|
+
"flag": "--model",
|
|
335
|
+
"list": {
|
|
336
|
+
"args": [
|
|
337
|
+
"models"
|
|
338
|
+
],
|
|
339
|
+
"format": "dash-lines"
|
|
340
|
+
},
|
|
341
|
+
"status": {
|
|
342
|
+
"args": [
|
|
343
|
+
"status"
|
|
344
|
+
],
|
|
345
|
+
"format": "text"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"ask": {
|
|
349
|
+
"args": [
|
|
350
|
+
"-p",
|
|
351
|
+
"--trust",
|
|
352
|
+
"--mode",
|
|
353
|
+
"ask",
|
|
354
|
+
"--output-format",
|
|
355
|
+
"json"
|
|
356
|
+
],
|
|
357
|
+
"output": "result-json"
|
|
271
358
|
}
|
|
272
359
|
},
|
|
273
360
|
"opencode": {
|
|
@@ -311,6 +398,35 @@ exports.RUNPANE_CONTRACT = {
|
|
|
311
398
|
"opencode",
|
|
312
399
|
"opencode-v2"
|
|
313
400
|
]
|
|
401
|
+
},
|
|
402
|
+
"models": {
|
|
403
|
+
"flag": "--model",
|
|
404
|
+
"list": {
|
|
405
|
+
"args": [
|
|
406
|
+
"models"
|
|
407
|
+
],
|
|
408
|
+
"format": "lines"
|
|
409
|
+
},
|
|
410
|
+
"status": {
|
|
411
|
+
"args": [
|
|
412
|
+
"auth",
|
|
413
|
+
"list"
|
|
414
|
+
],
|
|
415
|
+
"format": "text"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"ask": {
|
|
419
|
+
"args": [
|
|
420
|
+
"run",
|
|
421
|
+
"--format",
|
|
422
|
+
"json",
|
|
423
|
+
"--agent",
|
|
424
|
+
"plan"
|
|
425
|
+
],
|
|
426
|
+
"env": {
|
|
427
|
+
"OPENCODE_CONFIG_CONTENT": "{\"permission\":{\"edit\":\"deny\",\"bash\":\"deny\"},\"tools\":{\"*_*\":false}}"
|
|
428
|
+
},
|
|
429
|
+
"output": "opencode-jsonl"
|
|
314
430
|
}
|
|
315
431
|
},
|
|
316
432
|
"pi": {
|
|
@@ -348,7 +464,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
348
464
|
},
|
|
349
465
|
"transcriptDirs": [
|
|
350
466
|
".pi/agent/sessions"
|
|
351
|
-
]
|
|
467
|
+
],
|
|
468
|
+
"models": {
|
|
469
|
+
"flag": "--model"
|
|
470
|
+
}
|
|
352
471
|
}
|
|
353
472
|
}
|
|
354
473
|
},
|
|
@@ -664,6 +783,56 @@ exports.RUNPANE_CONTRACT = {
|
|
|
664
783
|
],
|
|
665
784
|
"localControl": true
|
|
666
785
|
},
|
|
786
|
+
{
|
|
787
|
+
"name": "theme read",
|
|
788
|
+
"summary": "Show Pane's own theme: what is selected, the Custom theme, every colour token with its current value, the stable selectors, and the guide for restyling Pane.",
|
|
789
|
+
"usage": [
|
|
790
|
+
"runpane theme read [--json] [--pane-dir <path>]"
|
|
791
|
+
],
|
|
792
|
+
"wrappers": [
|
|
793
|
+
"npm"
|
|
794
|
+
],
|
|
795
|
+
"toolsets": [
|
|
796
|
+
"core"
|
|
797
|
+
],
|
|
798
|
+
"jsonSchemas": [
|
|
799
|
+
"themeReadResult"
|
|
800
|
+
],
|
|
801
|
+
"localControl": true
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"name": "theme set",
|
|
805
|
+
"summary": "Restyle Pane itself, only when the person asks to change Pane's look: write the Custom theme (a base theme, colour tokens and CSS) and select it, or switch to another theme. Pane restyles within a second.",
|
|
806
|
+
"usage": [
|
|
807
|
+
"runpane theme set [--base <theme>] [--colors <json>] [--css <text>] [--name <text>] [--json] [--pane-dir <path>]",
|
|
808
|
+
"runpane theme set --theme <id> [--json] [--pane-dir <path>]"
|
|
809
|
+
],
|
|
810
|
+
"mutates": true,
|
|
811
|
+
"idempotent": true,
|
|
812
|
+
"wrappers": [
|
|
813
|
+
"npm"
|
|
814
|
+
],
|
|
815
|
+
"toolsets": [
|
|
816
|
+
"core"
|
|
817
|
+
],
|
|
818
|
+
"jsonSchemas": [
|
|
819
|
+
"themeSetResult"
|
|
820
|
+
],
|
|
821
|
+
"localControl": true
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "theme reset",
|
|
825
|
+
"summary": "Delete the Custom theme and go back to the theme it was built on.",
|
|
826
|
+
"usage": [
|
|
827
|
+
"runpane theme reset [--json] [--pane-dir <path>]"
|
|
828
|
+
],
|
|
829
|
+
"mutates": true,
|
|
830
|
+
"idempotent": true,
|
|
831
|
+
"wrappers": [
|
|
832
|
+
"npm"
|
|
833
|
+
],
|
|
834
|
+
"localControl": true
|
|
835
|
+
},
|
|
667
836
|
{
|
|
668
837
|
"name": "panes list",
|
|
669
838
|
"summary": "List Pane sessions in a saved repository.",
|
|
@@ -826,6 +995,46 @@ exports.RUNPANE_CONTRACT = {
|
|
|
826
995
|
],
|
|
827
996
|
"localControl": true
|
|
828
997
|
},
|
|
998
|
+
{
|
|
999
|
+
"name": "ask",
|
|
1000
|
+
"summary": "Ask any agent and model one read-only question, on this or another machine, and get its answer: no tab is opened and nothing is left behind.",
|
|
1001
|
+
"usage": [
|
|
1002
|
+
"runpane ask --agent <claude|codex|cursor|opencode> (--prompt \"<question>\" | --prompt-file <path|->) [--model <model>] [--machine <name>] [--repo <selector> | --pane <pane-id>] [--timeout <duration>] [--json]"
|
|
1003
|
+
],
|
|
1004
|
+
"mutates": false,
|
|
1005
|
+
"wrappers": [
|
|
1006
|
+
"npm"
|
|
1007
|
+
],
|
|
1008
|
+
"localControl": true,
|
|
1009
|
+
"mcpName": "agents_ask",
|
|
1010
|
+
"openWorld": true,
|
|
1011
|
+
"toolsets": [
|
|
1012
|
+
"core",
|
|
1013
|
+
"agents"
|
|
1014
|
+
],
|
|
1015
|
+
"jsonSchemas": [
|
|
1016
|
+
"askResult"
|
|
1017
|
+
]
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "models",
|
|
1021
|
+
"summary": "List the models each installed agent offers, on this machine, another one, or every saved machine, with what each agent reports about its sign-in. Read live on every call.",
|
|
1022
|
+
"usage": [
|
|
1023
|
+
"runpane models [--agent <codex|claude|cursor|opencode|pi>] [--search <text>] [--machine <name> | --all] [--json]"
|
|
1024
|
+
],
|
|
1025
|
+
"mutates": false,
|
|
1026
|
+
"wrappers": [
|
|
1027
|
+
"npm"
|
|
1028
|
+
],
|
|
1029
|
+
"localControl": true,
|
|
1030
|
+
"openWorld": true,
|
|
1031
|
+
"toolsets": [
|
|
1032
|
+
"agents"
|
|
1033
|
+
],
|
|
1034
|
+
"jsonSchemas": [
|
|
1035
|
+
"modelsResult"
|
|
1036
|
+
]
|
|
1037
|
+
},
|
|
829
1038
|
{
|
|
830
1039
|
"name": "watch",
|
|
831
1040
|
"summary": "Wait for workspace agent and Pane transitions using a daemon-held cursor.",
|
|
@@ -2747,12 +2956,12 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2747
2956
|
{
|
|
2748
2957
|
"name": "--machine",
|
|
2749
2958
|
"value": "<name>",
|
|
2750
|
-
"description": "
|
|
2959
|
+
"description": "Machine to run on: the handoff destination (overrides the destination text), or where ask and models run."
|
|
2751
2960
|
},
|
|
2752
2961
|
{
|
|
2753
2962
|
"name": "--model",
|
|
2754
2963
|
"value": "<model>",
|
|
2755
|
-
"description": "Model for the receiving agent
|
|
2964
|
+
"description": "Model: for the receiving agent of a handoff (overrides the destination text), or the agent runpane ask runs."
|
|
2756
2965
|
},
|
|
2757
2966
|
{
|
|
2758
2967
|
"name": "--effort",
|
|
@@ -2943,6 +3152,26 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2943
3152
|
"name": "--because",
|
|
2944
3153
|
"value": "<why>",
|
|
2945
3154
|
"description": "autopilot answer only: why, recorded on the item: a D-n, a document or the person's words."
|
|
3155
|
+
},
|
|
3156
|
+
{
|
|
3157
|
+
"name": "--colors",
|
|
3158
|
+
"value": "<json>",
|
|
3159
|
+
"description": "Colour token overrides as a JSON object; null removes one."
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"name": "--css",
|
|
3163
|
+
"value": "<text>",
|
|
3164
|
+
"description": "CSS for the Custom theme; replaces the current CSS, and empty text removes it."
|
|
3165
|
+
},
|
|
3166
|
+
{
|
|
3167
|
+
"name": "--theme",
|
|
3168
|
+
"value": "<id>",
|
|
3169
|
+
"description": "A theme id to select: custom or one of the shipped themes."
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
"name": "--search",
|
|
3173
|
+
"value": "<text>",
|
|
3174
|
+
"description": "models only: keep models whose name contains this text."
|
|
2946
3175
|
}
|
|
2947
3176
|
],
|
|
2948
3177
|
"localBoolean": [
|
|
@@ -3130,6 +3359,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3130
3359
|
" runpane secrets delete --project <project> --name <name> --yes",
|
|
3131
3360
|
" runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>] [--file <name>] -- <command>...",
|
|
3132
3361
|
" runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]",
|
|
3362
|
+
" runpane theme read [--json]",
|
|
3363
|
+
" runpane theme set [--base <theme>] [--colors <json>] [--css <text>] [--name <text>] [--json]",
|
|
3364
|
+
" runpane theme set --theme <id> [--json]",
|
|
3365
|
+
" runpane theme reset [--json]",
|
|
3133
3366
|
" runpane sessions list [--json] [--pane-dir <path>]",
|
|
3134
3367
|
" runpane sessions create --from-json <path|-> [--json] [--pane-dir <path>]",
|
|
3135
3368
|
" runpane sessions get --session <id|name> [--json] [--pane-dir <path>]",
|
|
@@ -3478,6 +3711,32 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3478
3711
|
" --json Print machine-readable output",
|
|
3479
3712
|
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
3480
3713
|
],
|
|
3714
|
+
"theme": [
|
|
3715
|
+
" runpane theme <read|set|reset> [options]",
|
|
3716
|
+
"Restyles Pane itself: one Custom theme, built on a shipped theme, with colour tokens and CSS. Pane restyles within a second.",
|
|
3717
|
+
"Use it only when the person asks to change how Pane looks.",
|
|
3718
|
+
" runpane theme read [--json]",
|
|
3719
|
+
" runpane theme set [--base <theme>] [--colors <json>] [--css <text>] [--name <text>] [--json]",
|
|
3720
|
+
" runpane theme set --theme <id> [--json]",
|
|
3721
|
+
" runpane theme reset [--json]"
|
|
3722
|
+
],
|
|
3723
|
+
"theme read": [
|
|
3724
|
+
" runpane theme read [--json] [--pane-dir <path>]",
|
|
3725
|
+
"Shows the selected theme, the Custom theme, each colour token and its current value, the stable selectors for CSS, and the guide."
|
|
3726
|
+
],
|
|
3727
|
+
"theme set": [
|
|
3728
|
+
" runpane theme set [--base <theme>] [--colors <json>] [--css <text>] [--name <text>] [--json]",
|
|
3729
|
+
" runpane theme set --theme <id> [--json]",
|
|
3730
|
+
"Writes the Custom theme and selects it. Colours merge (null removes one); --css replaces the CSS. Nothing is written when a value is refused.",
|
|
3731
|
+
" --base <theme> Shipped theme to build on",
|
|
3732
|
+
" --colors <json> {\"--color-border-primary\": \"#262b33\"}",
|
|
3733
|
+
" --css <text> CSS for [data-pane-part] selectors; no remote files",
|
|
3734
|
+
" --theme <id> Switch to this theme instead"
|
|
3735
|
+
],
|
|
3736
|
+
"theme reset": [
|
|
3737
|
+
" runpane theme reset [--json] [--pane-dir <path>]",
|
|
3738
|
+
"Deletes the Custom theme and selects the theme it was built on."
|
|
3739
|
+
],
|
|
3481
3740
|
"panes": [
|
|
3482
3741
|
"Pane session commands.",
|
|
3483
3742
|
"",
|
|
@@ -4832,6 +5091,36 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4832
5091
|
" runpane handoff \"claude opus on parsas-macbook-pro\" --note-file ~/handoff.md --push",
|
|
4833
5092
|
" runpane handoff \"codex gpt-5 high on parsa-devbox\" --note-file ~/handoff.md --dry-run"
|
|
4834
5093
|
],
|
|
5094
|
+
"ask": [
|
|
5095
|
+
"Usage:",
|
|
5096
|
+
" runpane ask --agent <claude|codex|cursor|opencode> (--prompt \"<question>\" | --prompt-file <path|->) [--model <model>] [--machine <name>] [--repo <selector> | --pane <pane-id>] [--timeout <duration>] [--json]",
|
|
5097
|
+
"",
|
|
5098
|
+
"Ask one agent one question and print its answer. The agent runs once, headless and read-only:",
|
|
5099
|
+
"it can read files but not edit them or run shell commands. No tab is opened.",
|
|
5100
|
+
"",
|
|
5101
|
+
"--machine runs it on another machine in your workspace (runpane workspace list). --repo runs it in",
|
|
5102
|
+
"that saved repository there (a WSL repository runs in WSL); --pane runs it in that Pane's worktree.",
|
|
5103
|
+
"--model takes any name the agent accepts (runpane models lists them). --timeout defaults to 10m;",
|
|
5104
|
+
"on another machine it is at most 9m. --json prints answer, agent, model, machine, environment,",
|
|
5105
|
+
"durationMs and costUsd when the agent reports it.",
|
|
5106
|
+
"",
|
|
5107
|
+
"Examples:",
|
|
5108
|
+
" runpane ask --agent claude --model sonnet --prompt \"Is this migration safe to run twice?\" --repo Pane --json",
|
|
5109
|
+
" runpane ask --agent codex --machine parsa-devbox --repo \"Pane (win)\" --prompt \"Why does this test fail on Windows?\""
|
|
5110
|
+
],
|
|
5111
|
+
"models": [
|
|
5112
|
+
"Usage:",
|
|
5113
|
+
" runpane models [--agent <codex|claude|cursor|opencode|pi>] [--search <text>] [--machine <name> | --all] [--json]",
|
|
5114
|
+
"",
|
|
5115
|
+
"List the models each installed agent offers, from the agent's own list, with its sign-in in its own",
|
|
5116
|
+
"words. --all covers this machine and every saved machine, and the WSL of a machine with a saved WSL",
|
|
5117
|
+
"repository. A machine that does not answer shows one unreachable row; an agent whose list can't be",
|
|
5118
|
+
"read shows list unavailable, and runpane ask still accepts any model name for it.",
|
|
5119
|
+
"",
|
|
5120
|
+
"Examples:",
|
|
5121
|
+
" runpane models --all --json",
|
|
5122
|
+
" runpane models --agent opencode --search deepseek"
|
|
5123
|
+
],
|
|
4835
5124
|
"sessions pin": [
|
|
4836
5125
|
"Usage:",
|
|
4837
5126
|
"runpane sessions pin --session <id|name> [--json] [--pane-dir <path>]",
|
|
@@ -5457,6 +5746,32 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5457
5746
|
" --json Print machine-readable output",
|
|
5458
5747
|
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
5459
5748
|
],
|
|
5749
|
+
"theme": [
|
|
5750
|
+
" python -m runpane theme <read|set|reset> [options]",
|
|
5751
|
+
"Restyles Pane itself: one Custom theme, built on a shipped theme, with colour tokens and CSS. Pane restyles within a second.",
|
|
5752
|
+
"Use it only when the person asks to change how Pane looks.",
|
|
5753
|
+
" python -m runpane theme read [--json]",
|
|
5754
|
+
" python -m runpane theme set [--base <theme>] [--colors <json>] [--css <text>] [--name <text>] [--json]",
|
|
5755
|
+
" python -m runpane theme set --theme <id> [--json]",
|
|
5756
|
+
" python -m runpane theme reset [--json]"
|
|
5757
|
+
],
|
|
5758
|
+
"theme read": [
|
|
5759
|
+
" python -m runpane theme read [--json] [--pane-dir <path>]",
|
|
5760
|
+
"Shows the selected theme, the Custom theme, each colour token and its current value, the stable selectors for CSS, and the guide."
|
|
5761
|
+
],
|
|
5762
|
+
"theme set": [
|
|
5763
|
+
" python -m runpane theme set [--base <theme>] [--colors <json>] [--css <text>] [--name <text>] [--json]",
|
|
5764
|
+
" python -m runpane theme set --theme <id> [--json]",
|
|
5765
|
+
"Writes the Custom theme and selects it. Colours merge (null removes one); --css replaces the CSS. Nothing is written when a value is refused.",
|
|
5766
|
+
" --base <theme> Shipped theme to build on",
|
|
5767
|
+
" --colors <json> {\"--color-border-primary\": \"#262b33\"}",
|
|
5768
|
+
" --css <text> CSS for [data-pane-part] selectors; no remote files",
|
|
5769
|
+
" --theme <id> Switch to this theme instead"
|
|
5770
|
+
],
|
|
5771
|
+
"theme reset": [
|
|
5772
|
+
" python -m runpane theme reset [--json] [--pane-dir <path>]",
|
|
5773
|
+
"Deletes the Custom theme and selects the theme it was built on."
|
|
5774
|
+
],
|
|
5460
5775
|
"panes": [
|
|
5461
5776
|
"Pane session commands.",
|
|
5462
5777
|
"",
|
|
@@ -6710,6 +7025,20 @@ exports.RUNPANE_CONTRACT = {
|
|
|
6710
7025
|
"`runpane handoff` ships in the npm package and the Pane app, not in the Python package.",
|
|
6711
7026
|
"Run it with Node instead: npx --yes runpane@latest handoff"
|
|
6712
7027
|
],
|
|
7028
|
+
"ask": [
|
|
7029
|
+
"Usage:",
|
|
7030
|
+
" runpane ask --agent <claude|codex|cursor|opencode> (--prompt \"<question>\" | --prompt-file <path|->) [--model <model>] [--machine <name>] [--repo <selector> | --pane <pane-id>] [--timeout <duration>] [--json]",
|
|
7031
|
+
"",
|
|
7032
|
+
"`runpane ask` ships in the npm package and the Pane app, not in the Python package.",
|
|
7033
|
+
"Run it with Node instead: npx --yes runpane@latest ask"
|
|
7034
|
+
],
|
|
7035
|
+
"models": [
|
|
7036
|
+
"Usage:",
|
|
7037
|
+
" runpane models [--agent <codex|claude|cursor|opencode|pi>] [--search <text>] [--machine <name> | --all] [--json]",
|
|
7038
|
+
"",
|
|
7039
|
+
"`runpane models` ships in the npm package and the Pane app, not in the Python package.",
|
|
7040
|
+
"Run it with Node instead: npx --yes runpane@latest models"
|
|
7041
|
+
],
|
|
6713
7042
|
"sessions pin": [
|
|
6714
7043
|
"Usage:",
|
|
6715
7044
|
"python -m runpane sessions pin --session <id|name> [--json] [--pane-dir <path>]",
|
|
@@ -7169,6 +7498,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7169
7498
|
"`runpane links create` builds `pane://open?...` links; opening one in Pane selects what it names and never changes Pane state.",
|
|
7170
7499
|
"`runpane docs search|read` search and read Pane docs, help, and installed Pane Chat skills offline. They ship in the npm package and the Pane app only.",
|
|
7171
7500
|
"`runpane handoff` hands a task to another agent on this or another of your machines. The sending agent writes the note from `runpane handoff --template` (goal, current state, done and verified, in progress, next steps, decisions and constraints, open questions, how to verify, git state); `runpane handoff \"claude opus on parsas-macbook-pro\" --note-file ~/handoff.md` checks every section is filled in, requires the branch to be pushed (or pushes it with `--push`, never forcing), writes the note to that machine's `~/.pane/handoffs/` and starts the agent in a new Pane branched from the sender's branch. When the sender is a Pane tab running a Claude, Codex, Cursor or OpenCode session and the receiver is the same agent, the handoff carries that session: on another machine its files are copied into that machine's agent store and the receiver resumes the same id; on this machine the receiver resumes a fork, because two agents never resume one session on one machine. The receiver starts with no prompt, and the CLI runs the continuity check and reports JSON `continuity.result` `continued`, `inconclusive` (exit 0; `next` gives a probe question) or `not-continued` (exit 1; the receiver is kept and `next` gives the `--note-only` command). `--note-only`, a different agent, or a tab with no carried session starts a fresh agent with the note (`fresh-agent`). JSON `continuity` is `{ carried, result, agent, sessionId, resumedId, fork, files, bytes, checks: { resumedById, restartResumes, historyLoaded, originalUntouched?, originalAppended? }, reason, next }`: `sessionId` is the sender's session, `resumedId` the id the receiver resumes (the fork's on this machine), `checks` are the continuity checks (`historyLoaded` is null when there was nothing to compare; `originalUntouched` is set for forks), and a dry run sets `carried`, `sessionId`, `fork`, `files` and `bytes` with no `result`. After `continued` or `inconclusive` the sending agent ends its turn and makes no more changes on the branch. An OpenCode session travels as its export: `opencode export` on this machine, then `opencode import` inside the receiving repository there, and an OpenCode receiver is accepted only to continue an OpenCode session. A Cursor session is carried only to another machine, best effort since Cursor's store is undocumented: Cursor has no fork, and a copied chat still writes to the original, so on this machine the result is `not-continued` and nothing is started. A destination's agent store is assumed at its default location (`~/.claude`, `~/.codex`, `~/.cursor`); a copy already there is replaced only when the sender's holds all of it and no agent there runs it, otherwise nothing is copied and the result is `not-continued`. A destination Pane too old to resume a carried session is refused before anything is sent (`ERR_HANDOFF_RESUME_UNSUPPORTED`). From a Session's terminal it skips git and creates a Session with the same name, goal and agent on the other machine instead; a same-agent Session resumes the sender's conversation when first opened. The receiver reports back to the sender's panel.",
|
|
7501
|
+
"`runpane ask --agent <agent> --prompt \"<question>\"` asks one agent one read-only question and prints its answer, with no tab left behind: the agent's own headless mode runs once, on this machine or another one (`--machine`), in a saved repository (`--repo`, a WSL repository runs in WSL) or a Pane's worktree (`--pane`), with any model it accepts (`--model`). It can read files but not edit them or run shell commands; an agent with no such mode is refused (`ERR_ASK_UNSUPPORTED`). A missing agent, a sign-in error, an unknown model and a timeout each fail with the agent's own words and the next step. Use it for a second opinion or a question to another model; work that edits files goes to a tab.",
|
|
7502
|
+
"`runpane models` lists the models each installed agent offers, read from the agent's own list on every call, with its sign-in as the agent reports it. `--all` covers this machine, every saved machine and their WSL; `--agent` and `--search` narrow the rows. A machine that does not answer is one `unreachable` row; a list that can't be read is `list unavailable`.",
|
|
7172
7503
|
"`runpane pr watch`: Register durable GitHub PR monitoring for a Pane.",
|
|
7173
7504
|
"`runpane pr unwatch`: Remove a Pane’s explicit PR registration.",
|
|
7174
7505
|
"`runpane pr list`: List PR registrations and stopped watches.",
|
|
@@ -17622,113 +17953,401 @@ exports.RUNPANE_CONTRACT = {
|
|
|
17622
17953
|
}
|
|
17623
17954
|
},
|
|
17624
17955
|
"additionalProperties": false
|
|
17625
|
-
}
|
|
17626
|
-
},
|
|
17627
|
-
"agentContext": {
|
|
17628
|
-
"intro": {
|
|
17629
|
-
"humans": {
|
|
17630
|
-
"title": "For people",
|
|
17631
|
-
"sentences": [
|
|
17632
|
-
"Open a Session for each workstream and tell its agent what you want, in plain words.",
|
|
17633
|
-
"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.",
|
|
17634
|
-
"{approvals}",
|
|
17635
|
-
"When a feature is done, archiving its Pane cleans up its worktree and files for you."
|
|
17636
|
-
],
|
|
17637
|
-
"approvals": {
|
|
17638
|
-
"on": "Anything that needs you, like a decision, an approval or a merge, waits for you in Approvals while everything else keeps moving.",
|
|
17639
|
-
"off": "When the agent needs you for a decision, an approval or a merge, it asks in its terminal while everything else keeps moving."
|
|
17640
|
-
}
|
|
17641
|
-
},
|
|
17642
|
-
"agents": {
|
|
17643
|
-
"title": "For agents",
|
|
17644
|
-
"sentences": [
|
|
17645
|
-
"In Pane, work flows from a Session to Panes to tabs.",
|
|
17646
|
-
"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.",
|
|
17647
|
-
"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.",
|
|
17648
|
-
"Scratch files go in $PANE_SCRATCH_DIR inside the Pane.",
|
|
17649
|
-
"When the feature is done, archive the Pane and Pane cleans up its worktree, tabs and scratch files.",
|
|
17650
|
-
"{approvals}"
|
|
17651
|
-
],
|
|
17652
|
-
"approvals": {
|
|
17653
|
-
"on": "When you need the person, ask through Approvals (a Session worker reports blocked to its orchestrator instead).",
|
|
17654
|
-
"off": "When you need the person, ask in this terminal."
|
|
17655
|
-
}
|
|
17656
|
-
}
|
|
17657
17956
|
},
|
|
17658
|
-
"
|
|
17659
|
-
"
|
|
17660
|
-
"
|
|
17661
|
-
|
|
17662
|
-
|
|
17663
|
-
],
|
|
17664
|
-
"brief": {
|
|
17665
|
-
"title": "Pane agent context",
|
|
17666
|
-
"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.",
|
|
17667
|
-
"rules": [
|
|
17668
|
-
"Start with `runpane doctor --json` to understand wrapper, platform, daemon reachability, and the next safe commands before mutating Pane state.",
|
|
17669
|
-
"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`.",
|
|
17670
|
-
"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.",
|
|
17671
|
-
"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.",
|
|
17672
|
-
"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.",
|
|
17673
|
-
"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`.",
|
|
17674
|
-
"For private background decomposition, use your normal subagent/worktree mechanism instead of Pane.",
|
|
17675
|
-
"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`.",
|
|
17676
|
-
"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.",
|
|
17677
|
-
"Use `runpane agent-context --json` for the full agent-facing CLI context, or `runpane agent-context --command <command> --json` for one detailed command definition.",
|
|
17678
|
-
"For `agent-context --command`, use canonical spaced names like `panes create`; copied forms like `panes.create` or `runpane panes create` are accepted too.",
|
|
17679
|
-
"Use `runpane repos list --json` to find the saved repository when unsure after doctor shows the daemon is reachable.",
|
|
17680
|
-
"Read and change a repo's Project Settings (build, run, and archive scripts, worktree folder, environment variables) with `runpane repos get` and `runpane repos update`; never edit Pane's database by hand.",
|
|
17681
|
-
"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.",
|
|
17682
|
-
"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'`.",
|
|
17683
|
-
"If the repository exists on disk but is not saved in Pane, use `runpane repos add --path <repo> --yes --json` before creating panes.",
|
|
17684
|
-
"Use `runpane agents doctor --agent <codex|claude|cursor|opencode|pi> --repo <selector> --json` when agent availability differs across host, Windows, WSL, or repo environments.",
|
|
17685
|
-
"Use `runpane panes create --wait-ready` to create Panes, wait for each agent's input box, and verify its starting message in one call.",
|
|
17686
|
-
"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.",
|
|
17687
|
-
"Use `runpane panels input` only when exact bytes are required, such as Ctrl-C or handcrafted terminal input.",
|
|
17688
|
-
"Pane terminals draw inline images: sixel, iTerm2 inline images, and the kitty graphics protocol. Tools that need kitty graphics, such as terminal-browser and terminal-doom, run inside a Pane panel; `runpane doctor --json` reports the exact list under `terminal.graphicsProtocols`.",
|
|
17689
|
-
"After creating Panes or sending terminal input, validate with `panels wait` or bounded `panels screen`. For a harness that consumes streaming output, use `runpane watch --follow` (with `--session <id>` for a Session); its named consumer applies settling and batching. Adding numeric --since leaves it unnamed and bypasses cadence; --as cannot be combined with --since. A harness that wakes only when a process exits uses `runpane watch --as <name> --until-event --json` and runs it again after each event. Single-event waits deliver immediately without follow cadence. Never pipe `--follow` into `grep -m1` or `head`.",
|
|
17690
|
-
"When several agents share one resource, such as a test account, name a lock in their prompts: each worker runs `runpane lock acquire --name <name> --ttl 30m --wait 1800000 --json` before using it and `runpane lock release --name <name>` after.",
|
|
17691
|
-
"Loops (`runpane loops create`) run a task on a cron schedule, each run in a new Pane or, with `--session`, as a message to a Session's agent. They are for large recurring jobs, such as a nightly bug sweep, and run at most once an hour. For a short wait, use your agent harness's own sleep and wake instead."
|
|
17957
|
+
"customTheme": {
|
|
17958
|
+
"type": "object",
|
|
17959
|
+
"required": [
|
|
17960
|
+
"base",
|
|
17961
|
+
"colors"
|
|
17692
17962
|
],
|
|
17693
|
-
"
|
|
17694
|
-
|
|
17695
|
-
|
|
17696
|
-
"name": "doctor",
|
|
17697
|
-
"summary": "Report wrapper, platform, installed Pane, and daemon reachability before an agent mutates Pane state.",
|
|
17698
|
-
"arguments": [
|
|
17699
|
-
"--json",
|
|
17700
|
-
"--pane-dir <path>",
|
|
17701
|
-
"--pane-path <path>"
|
|
17702
|
-
]
|
|
17963
|
+
"properties": {
|
|
17964
|
+
"base": {
|
|
17965
|
+
"type": "string"
|
|
17703
17966
|
},
|
|
17704
|
-
{
|
|
17705
|
-
"
|
|
17706
|
-
"summary": "Print token-efficient Pane command context for coding agents.",
|
|
17707
|
-
"arguments": [
|
|
17708
|
-
"--command <command>",
|
|
17709
|
-
"--json"
|
|
17710
|
-
]
|
|
17967
|
+
"name": {
|
|
17968
|
+
"type": "string"
|
|
17711
17969
|
},
|
|
17712
|
-
{
|
|
17713
|
-
"
|
|
17714
|
-
"
|
|
17715
|
-
|
|
17716
|
-
|
|
17717
|
-
"--repo <selector>",
|
|
17718
|
-
"--json"
|
|
17719
|
-
]
|
|
17970
|
+
"colors": {
|
|
17971
|
+
"type": "object",
|
|
17972
|
+
"additionalProperties": {
|
|
17973
|
+
"type": "string"
|
|
17974
|
+
}
|
|
17720
17975
|
},
|
|
17721
|
-
{
|
|
17722
|
-
"
|
|
17723
|
-
|
|
17724
|
-
|
|
17725
|
-
|
|
17726
|
-
|
|
17727
|
-
|
|
17976
|
+
"css": {
|
|
17977
|
+
"type": "string"
|
|
17978
|
+
}
|
|
17979
|
+
},
|
|
17980
|
+
"additionalProperties": false
|
|
17981
|
+
},
|
|
17982
|
+
"themeReadResult": {
|
|
17983
|
+
"type": "object",
|
|
17984
|
+
"required": [
|
|
17985
|
+
"ok",
|
|
17986
|
+
"selected",
|
|
17987
|
+
"showing",
|
|
17988
|
+
"showingPalette",
|
|
17989
|
+
"custom",
|
|
17990
|
+
"ignoredBecause",
|
|
17991
|
+
"file",
|
|
17992
|
+
"bases",
|
|
17993
|
+
"tokens",
|
|
17994
|
+
"parts",
|
|
17995
|
+
"cssLimit",
|
|
17996
|
+
"guide"
|
|
17997
|
+
],
|
|
17998
|
+
"properties": {
|
|
17999
|
+
"ok": {
|
|
18000
|
+
"const": true
|
|
17728
18001
|
},
|
|
17729
|
-
{
|
|
17730
|
-
"
|
|
17731
|
-
"
|
|
18002
|
+
"selected": {
|
|
18003
|
+
"type": "object",
|
|
18004
|
+
"required": [
|
|
18005
|
+
"appearanceMode",
|
|
18006
|
+
"theme",
|
|
18007
|
+
"systemLightTheme",
|
|
18008
|
+
"systemDarkTheme"
|
|
18009
|
+
],
|
|
18010
|
+
"properties": {
|
|
18011
|
+
"appearanceMode": {
|
|
18012
|
+
"enum": [
|
|
18013
|
+
"system",
|
|
18014
|
+
"fixed"
|
|
18015
|
+
]
|
|
18016
|
+
},
|
|
18017
|
+
"theme": {
|
|
18018
|
+
"type": "string"
|
|
18019
|
+
},
|
|
18020
|
+
"systemLightTheme": {
|
|
18021
|
+
"type": "string"
|
|
18022
|
+
},
|
|
18023
|
+
"systemDarkTheme": {
|
|
18024
|
+
"type": "string"
|
|
18025
|
+
}
|
|
18026
|
+
},
|
|
18027
|
+
"additionalProperties": false
|
|
18028
|
+
},
|
|
18029
|
+
"showing": {
|
|
18030
|
+
"type": "string",
|
|
18031
|
+
"description": "The theme on screen now: custom or a shipped id."
|
|
18032
|
+
},
|
|
18033
|
+
"showingPalette": {
|
|
18034
|
+
"type": "string",
|
|
18035
|
+
"description": "The shipped theme on screen, or the Custom theme's base."
|
|
18036
|
+
},
|
|
18037
|
+
"custom": {
|
|
18038
|
+
"anyOf": [
|
|
18039
|
+
{
|
|
18040
|
+
"$ref": "#/jsonSchemas/customTheme"
|
|
18041
|
+
},
|
|
18042
|
+
{
|
|
18043
|
+
"type": "null"
|
|
18044
|
+
}
|
|
18045
|
+
]
|
|
18046
|
+
},
|
|
18047
|
+
"ignoredBecause": {
|
|
18048
|
+
"type": [
|
|
18049
|
+
"string",
|
|
18050
|
+
"null"
|
|
18051
|
+
],
|
|
18052
|
+
"description": "Why Pane ignored custom-theme.json, or null."
|
|
18053
|
+
},
|
|
18054
|
+
"file": {
|
|
18055
|
+
"type": "string"
|
|
18056
|
+
},
|
|
18057
|
+
"bases": {
|
|
18058
|
+
"type": "array",
|
|
18059
|
+
"items": {
|
|
18060
|
+
"type": "string"
|
|
18061
|
+
}
|
|
18062
|
+
},
|
|
18063
|
+
"tokens": {
|
|
18064
|
+
"type": "array",
|
|
18065
|
+
"items": {
|
|
18066
|
+
"type": "object",
|
|
18067
|
+
"required": [
|
|
18068
|
+
"name"
|
|
18069
|
+
],
|
|
18070
|
+
"properties": {
|
|
18071
|
+
"name": {
|
|
18072
|
+
"type": "string"
|
|
18073
|
+
},
|
|
18074
|
+
"value": {
|
|
18075
|
+
"type": "string"
|
|
18076
|
+
}
|
|
18077
|
+
},
|
|
18078
|
+
"additionalProperties": false
|
|
18079
|
+
}
|
|
18080
|
+
},
|
|
18081
|
+
"parts": {
|
|
18082
|
+
"type": "array",
|
|
18083
|
+
"items": {
|
|
18084
|
+
"type": "string"
|
|
18085
|
+
}
|
|
18086
|
+
},
|
|
18087
|
+
"cssLimit": {
|
|
18088
|
+
"type": "number"
|
|
18089
|
+
},
|
|
18090
|
+
"guide": {
|
|
18091
|
+
"type": "string"
|
|
18092
|
+
}
|
|
18093
|
+
},
|
|
18094
|
+
"additionalProperties": false
|
|
18095
|
+
},
|
|
18096
|
+
"themeSetResult": {
|
|
18097
|
+
"type": "object",
|
|
18098
|
+
"required": [
|
|
18099
|
+
"ok",
|
|
18100
|
+
"selected",
|
|
18101
|
+
"custom"
|
|
18102
|
+
],
|
|
18103
|
+
"properties": {
|
|
18104
|
+
"ok": {
|
|
18105
|
+
"const": true
|
|
18106
|
+
},
|
|
18107
|
+
"selected": {
|
|
18108
|
+
"type": "string"
|
|
18109
|
+
},
|
|
18110
|
+
"custom": {
|
|
18111
|
+
"anyOf": [
|
|
18112
|
+
{
|
|
18113
|
+
"$ref": "#/jsonSchemas/customTheme"
|
|
18114
|
+
},
|
|
18115
|
+
{
|
|
18116
|
+
"type": "null"
|
|
18117
|
+
}
|
|
18118
|
+
]
|
|
18119
|
+
},
|
|
18120
|
+
"file": {
|
|
18121
|
+
"type": "string"
|
|
18122
|
+
}
|
|
18123
|
+
},
|
|
18124
|
+
"additionalProperties": false
|
|
18125
|
+
},
|
|
18126
|
+
"themeResetResult": {
|
|
18127
|
+
"type": "object",
|
|
18128
|
+
"required": [
|
|
18129
|
+
"ok",
|
|
18130
|
+
"removed",
|
|
18131
|
+
"selected",
|
|
18132
|
+
"file"
|
|
18133
|
+
],
|
|
18134
|
+
"properties": {
|
|
18135
|
+
"ok": {
|
|
18136
|
+
"const": true
|
|
18137
|
+
},
|
|
18138
|
+
"removed": {
|
|
18139
|
+
"type": "boolean"
|
|
18140
|
+
},
|
|
18141
|
+
"selected": {
|
|
18142
|
+
"type": [
|
|
18143
|
+
"string",
|
|
18144
|
+
"null"
|
|
18145
|
+
]
|
|
18146
|
+
},
|
|
18147
|
+
"file": {
|
|
18148
|
+
"type": "string"
|
|
18149
|
+
}
|
|
18150
|
+
},
|
|
18151
|
+
"additionalProperties": false
|
|
18152
|
+
},
|
|
18153
|
+
"askResult": {
|
|
18154
|
+
"type": "object",
|
|
18155
|
+
"required": [
|
|
18156
|
+
"ok",
|
|
18157
|
+
"answer",
|
|
18158
|
+
"agent",
|
|
18159
|
+
"machine",
|
|
18160
|
+
"environment",
|
|
18161
|
+
"durationMs"
|
|
18162
|
+
],
|
|
18163
|
+
"properties": {
|
|
18164
|
+
"ok": {
|
|
18165
|
+
"type": "boolean"
|
|
18166
|
+
},
|
|
18167
|
+
"answer": {
|
|
18168
|
+
"type": "string"
|
|
18169
|
+
},
|
|
18170
|
+
"agent": {
|
|
18171
|
+
"type": "string"
|
|
18172
|
+
},
|
|
18173
|
+
"model": {
|
|
18174
|
+
"type": "string"
|
|
18175
|
+
},
|
|
18176
|
+
"machine": {
|
|
18177
|
+
"type": "string"
|
|
18178
|
+
},
|
|
18179
|
+
"environment": {
|
|
18180
|
+
"enum": [
|
|
18181
|
+
"native",
|
|
18182
|
+
"wsl"
|
|
18183
|
+
]
|
|
18184
|
+
},
|
|
18185
|
+
"durationMs": {
|
|
18186
|
+
"type": "number"
|
|
18187
|
+
},
|
|
18188
|
+
"costUsd": {
|
|
18189
|
+
"type": "number"
|
|
18190
|
+
}
|
|
18191
|
+
},
|
|
18192
|
+
"additionalProperties": false
|
|
18193
|
+
},
|
|
18194
|
+
"modelsResult": {
|
|
18195
|
+
"type": "object",
|
|
18196
|
+
"required": [
|
|
18197
|
+
"ok",
|
|
18198
|
+
"signInReportedBy",
|
|
18199
|
+
"rows"
|
|
18200
|
+
],
|
|
18201
|
+
"properties": {
|
|
18202
|
+
"ok": {
|
|
18203
|
+
"type": "boolean"
|
|
18204
|
+
},
|
|
18205
|
+
"signInReportedBy": {
|
|
18206
|
+
"const": "agent"
|
|
18207
|
+
},
|
|
18208
|
+
"rows": {
|
|
18209
|
+
"type": "array",
|
|
18210
|
+
"items": {
|
|
18211
|
+
"type": "object",
|
|
18212
|
+
"required": [
|
|
18213
|
+
"machine",
|
|
18214
|
+
"environment"
|
|
18215
|
+
],
|
|
18216
|
+
"properties": {
|
|
18217
|
+
"machine": {
|
|
18218
|
+
"type": "string"
|
|
18219
|
+
},
|
|
18220
|
+
"environment": {
|
|
18221
|
+
"type": "string"
|
|
18222
|
+
},
|
|
18223
|
+
"agent": {
|
|
18224
|
+
"type": "string"
|
|
18225
|
+
},
|
|
18226
|
+
"model": {
|
|
18227
|
+
"type": "string"
|
|
18228
|
+
},
|
|
18229
|
+
"signIn": {
|
|
18230
|
+
"type": "string"
|
|
18231
|
+
},
|
|
18232
|
+
"note": {
|
|
18233
|
+
"enum": [
|
|
18234
|
+
"unreachable",
|
|
18235
|
+
"list unavailable"
|
|
18236
|
+
]
|
|
18237
|
+
}
|
|
18238
|
+
},
|
|
18239
|
+
"additionalProperties": false
|
|
18240
|
+
}
|
|
18241
|
+
}
|
|
18242
|
+
},
|
|
18243
|
+
"additionalProperties": false
|
|
18244
|
+
}
|
|
18245
|
+
},
|
|
18246
|
+
"agentContext": {
|
|
18247
|
+
"intro": {
|
|
18248
|
+
"humans": {
|
|
18249
|
+
"title": "For people",
|
|
18250
|
+
"sentences": [
|
|
18251
|
+
"Open a Session for each workstream and tell its agent what you want, in plain words.",
|
|
18252
|
+
"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.",
|
|
18253
|
+
"{approvals}",
|
|
18254
|
+
"When a feature is done, archiving its Pane cleans up its worktree and files for you."
|
|
18255
|
+
],
|
|
18256
|
+
"approvals": {
|
|
18257
|
+
"on": "Anything that needs you, like a decision, an approval or a merge, waits for you in Approvals while everything else keeps moving.",
|
|
18258
|
+
"off": "When the agent needs you for a decision, an approval or a merge, it asks in its terminal while everything else keeps moving."
|
|
18259
|
+
}
|
|
18260
|
+
},
|
|
18261
|
+
"agents": {
|
|
18262
|
+
"title": "For agents",
|
|
18263
|
+
"sentences": [
|
|
18264
|
+
"In Pane, work flows from a Session to Panes to tabs.",
|
|
18265
|
+
"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.",
|
|
18266
|
+
"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.",
|
|
18267
|
+
"Scratch files go in $PANE_SCRATCH_DIR inside the Pane.",
|
|
18268
|
+
"When the feature is done, archive the Pane and Pane cleans up its worktree, tabs and scratch files.",
|
|
18269
|
+
"{approvals}"
|
|
18270
|
+
],
|
|
18271
|
+
"approvals": {
|
|
18272
|
+
"on": "When you need the person, ask through Approvals (a Session worker reports blocked to its orchestrator instead).",
|
|
18273
|
+
"off": "When you need the person, ask in this terminal."
|
|
18274
|
+
}
|
|
18275
|
+
}
|
|
18276
|
+
},
|
|
18277
|
+
"workspaceRules": [
|
|
18278
|
+
"Session: where a workstream lives, and the default home for orchestrated work. Its folder ($PANE_SESSION_DIR) holds plans, notes and reports.",
|
|
18279
|
+
"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.",
|
|
18280
|
+
"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`.",
|
|
18281
|
+
"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."
|
|
18282
|
+
],
|
|
18283
|
+
"brief": {
|
|
18284
|
+
"title": "Pane agent context",
|
|
18285
|
+
"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.",
|
|
18286
|
+
"rules": [
|
|
18287
|
+
"Start with `runpane doctor --json` to understand wrapper, platform, daemon reachability, and the next safe commands before mutating Pane state.",
|
|
18288
|
+
"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`.",
|
|
18289
|
+
"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.",
|
|
18290
|
+
"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.",
|
|
18291
|
+
"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.",
|
|
18292
|
+
"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`.",
|
|
18293
|
+
"For private background decomposition, use your normal subagent/worktree mechanism instead of Pane.",
|
|
18294
|
+
"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`.",
|
|
18295
|
+
"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.",
|
|
18296
|
+
"Use `runpane agent-context --json` for the full agent-facing CLI context, or `runpane agent-context --command <command> --json` for one detailed command definition.",
|
|
18297
|
+
"For `agent-context --command`, use canonical spaced names like `panes create`; copied forms like `panes.create` or `runpane panes create` are accepted too.",
|
|
18298
|
+
"Use `runpane repos list --json` to find the saved repository when unsure after doctor shows the daemon is reachable.",
|
|
18299
|
+
"Read and change a repo's Project Settings (build, run, and archive scripts, worktree folder, environment variables) with `runpane repos get` and `runpane repos update`; never edit Pane's database by hand.",
|
|
18300
|
+
"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.",
|
|
18301
|
+
"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'`.",
|
|
18302
|
+
"If the repository exists on disk but is not saved in Pane, use `runpane repos add --path <repo> --yes --json` before creating panes.",
|
|
18303
|
+
"Use `runpane agents doctor --agent <codex|claude|cursor|opencode|pi> --repo <selector> --json` when agent availability differs across host, Windows, WSL, or repo environments.",
|
|
18304
|
+
"Use `runpane panes create --wait-ready` to create Panes, wait for each agent's input box, and verify its starting message in one call.",
|
|
18305
|
+
"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.",
|
|
18306
|
+
"Use `runpane panels input` only when exact bytes are required, such as Ctrl-C or handcrafted terminal input.",
|
|
18307
|
+
"Pane terminals draw inline images: sixel, iTerm2 inline images, and the kitty graphics protocol. Tools that need kitty graphics, such as terminal-browser and terminal-doom, run inside a Pane panel; `runpane doctor --json` reports the exact list under `terminal.graphicsProtocols`.",
|
|
18308
|
+
"After creating Panes or sending terminal input, validate with `panels wait` or bounded `panels screen`. For a harness that consumes streaming output, use `runpane watch --follow` (with `--session <id>` for a Session); its named consumer applies settling and batching. Adding numeric --since leaves it unnamed and bypasses cadence; --as cannot be combined with --since. A harness that wakes only when a process exits uses `runpane watch --as <name> --until-event --json` and runs it again after each event. Single-event waits deliver immediately without follow cadence. Never pipe `--follow` into `grep -m1` or `head`.",
|
|
18309
|
+
"When several agents share one resource, such as a test account, name a lock in their prompts: each worker runs `runpane lock acquire --name <name> --ttl 30m --wait 1800000 --json` before using it and `runpane lock release --name <name>` after.",
|
|
18310
|
+
"Loops (`runpane loops create`) run a task on a cron schedule, each run in a new Pane or, with `--session`, as a message to a Session's agent. They are for large recurring jobs, such as a nightly bug sweep, and run at most once an hour. For a short wait, use your agent harness's own sleep and wake instead."
|
|
18311
|
+
],
|
|
18312
|
+
"detailCommand": "runpane agent-context --command <command> [--json]",
|
|
18313
|
+
"tools": [
|
|
18314
|
+
{
|
|
18315
|
+
"name": "doctor",
|
|
18316
|
+
"summary": "Report wrapper, platform, installed Pane, and daemon reachability before an agent mutates Pane state.",
|
|
18317
|
+
"arguments": [
|
|
18318
|
+
"--json",
|
|
18319
|
+
"--pane-dir <path>",
|
|
18320
|
+
"--pane-path <path>"
|
|
18321
|
+
]
|
|
18322
|
+
},
|
|
18323
|
+
{
|
|
18324
|
+
"name": "agent-context",
|
|
18325
|
+
"summary": "Print token-efficient Pane command context for coding agents.",
|
|
18326
|
+
"arguments": [
|
|
18327
|
+
"--command <command>",
|
|
18328
|
+
"--json"
|
|
18329
|
+
]
|
|
18330
|
+
},
|
|
18331
|
+
{
|
|
18332
|
+
"name": "agents doctor",
|
|
18333
|
+
"summary": "Check whether Codex or Claude is available in the repo environment Pane will use.",
|
|
18334
|
+
"arguments": [
|
|
18335
|
+
"--agent <codex|claude|cursor|opencode|pi>",
|
|
18336
|
+
"--repo <selector>",
|
|
18337
|
+
"--json"
|
|
18338
|
+
]
|
|
18339
|
+
},
|
|
18340
|
+
{
|
|
18341
|
+
"name": "repos list",
|
|
18342
|
+
"summary": "List repositories saved in the running Pane app.",
|
|
18343
|
+
"arguments": [
|
|
18344
|
+
"--json",
|
|
18345
|
+
"--pane-dir <path>"
|
|
18346
|
+
]
|
|
18347
|
+
},
|
|
18348
|
+
{
|
|
18349
|
+
"name": "repos add",
|
|
18350
|
+
"summary": "Register an existing git repository with the running Pane app.",
|
|
17732
18351
|
"arguments": [
|
|
17733
18352
|
"--path <path>",
|
|
17734
18353
|
"--name <name>",
|
|
@@ -22695,6 +23314,121 @@ exports.RUNPANE_CONTRACT = {
|
|
|
22695
23314
|
"JSON continuity: { carried, result: continued | inconclusive | not-continued | fresh-agent, agent, sessionId, resumedId, fork, files, bytes, checks: { resumedById, restartResumes, historyLoaded, originalUntouched?, originalAppended? }, reason, next }; a dry run sets carried, sessionId, fork, files and bytes and no result. inconclusive exits 0 and next says to ask the receiver \"What were you last working on? Answer in one or two sentences.\"; not-continued exits 1, keeps the receiver and gives the --note-only command for the person to choose. After continued or inconclusive, the sender ends its turn and makes no more changes on the branch. From a Session the result is inconclusive until the new Session is opened. A Cursor session is carried only to another machine (best effort); on this machine the result is not-continued, since a copied Cursor chat still writes to the original. The destination's agent store is assumed at its default location (~/.claude, ~/.codex, ~/.cursor); a copy already there that holds history the sender's lacks, or that an agent there is running, is never overwritten (not-continued). checks.originalAppended is set when the running sender's own turn appended to its transcript during the fork; every byte it held before is unchanged. A destination Pane too old to resume a carried session is refused before anything is sent (ERR_HANDOFF_RESUME_UNSUPPORTED)."
|
|
22696
23315
|
]
|
|
22697
23316
|
},
|
|
23317
|
+
"ask": {
|
|
23318
|
+
"name": "ask",
|
|
23319
|
+
"summary": "Ask any agent and model one read-only question, on this or another machine, and get its answer: no tab is opened and nothing is left behind.",
|
|
23320
|
+
"details": "Runs the agent's own headless mode once with flags that refuse edits and shell commands (Claude: -p with only Read, Grep and Glob and no MCP servers; Codex: exec -s read-only without the user's config, MCP servers or apps; Cursor: -p --mode ask; OpenCode: run --agent plan with edit, bash and every MCP tool denied), waits for it, and prints its final answer. Nothing is stored and no tab or Pane is created. On another machine it runs through that machine's Pane (runpane workspace); a WSL repository runs inside WSL. Use it for second opinions and questions to another model; anything that edits files or needs an approval goes to a tab (runpane panes create, with the model in --tool-command). Start several in parallel as background shell commands to ask several models at once.",
|
|
23321
|
+
"requiresPaneDaemon": false,
|
|
23322
|
+
"mutates": false,
|
|
23323
|
+
"arguments": [
|
|
23324
|
+
{
|
|
23325
|
+
"name": "--agent",
|
|
23326
|
+
"value": "<claude|codex|cursor|opencode>",
|
|
23327
|
+
"required": true,
|
|
23328
|
+
"description": "The agent to ask. Pi has no read-only headless mode and is refused."
|
|
23329
|
+
},
|
|
23330
|
+
{
|
|
23331
|
+
"name": "--prompt",
|
|
23332
|
+
"value": "<text>",
|
|
23333
|
+
"required": false,
|
|
23334
|
+
"description": "The question. Required unless --prompt-file."
|
|
23335
|
+
},
|
|
23336
|
+
{
|
|
23337
|
+
"name": "--prompt-file",
|
|
23338
|
+
"value": "<path|->",
|
|
23339
|
+
"required": false,
|
|
23340
|
+
"description": "Read the question from a file; - reads stdin."
|
|
23341
|
+
},
|
|
23342
|
+
{
|
|
23343
|
+
"name": "--model",
|
|
23344
|
+
"value": "<model>",
|
|
23345
|
+
"required": false,
|
|
23346
|
+
"description": "Any model name the agent accepts (runpane models lists them). Omit for the agent's default."
|
|
23347
|
+
},
|
|
23348
|
+
{
|
|
23349
|
+
"name": "--machine",
|
|
23350
|
+
"value": "<name>",
|
|
23351
|
+
"required": false,
|
|
23352
|
+
"description": "Run on another machine in your workspace; defaults to this one."
|
|
23353
|
+
},
|
|
23354
|
+
{
|
|
23355
|
+
"name": "--repo",
|
|
23356
|
+
"value": "<selector>",
|
|
23357
|
+
"required": false,
|
|
23358
|
+
"description": "Run in this saved repository on that machine; a WSL repository runs in WSL."
|
|
23359
|
+
},
|
|
23360
|
+
{
|
|
23361
|
+
"name": "--pane",
|
|
23362
|
+
"value": "<pane-id>",
|
|
23363
|
+
"required": false,
|
|
23364
|
+
"description": "Run in this Pane's worktree on that machine, to ask about its branch."
|
|
23365
|
+
},
|
|
23366
|
+
{
|
|
23367
|
+
"name": "--timeout",
|
|
23368
|
+
"value": "<duration>",
|
|
23369
|
+
"required": false,
|
|
23370
|
+
"description": "Stop the run after this long (default 10m; at most 9m on another machine) and stop every process it started."
|
|
23371
|
+
},
|
|
23372
|
+
{
|
|
23373
|
+
"name": "--json",
|
|
23374
|
+
"required": false,
|
|
23375
|
+
"description": "Print { ok, answer, agent, model, machine, environment, durationMs, costUsd? }."
|
|
23376
|
+
}
|
|
23377
|
+
],
|
|
23378
|
+
"examples": [
|
|
23379
|
+
"runpane ask --agent claude --model sonnet --prompt \"Review this plan for gaps\" --repo Pane --json",
|
|
23380
|
+
"runpane ask --agent codex --machine parsa-devbox --repo \"Pane (win)\" --prompt \"Why does this test fail on Windows?\" --json",
|
|
23381
|
+
"runpane ask --agent opencode --model openrouter/deepseek/deepseek-chat --machine parsa-devbox --repo experiments --prompt-file question.md --json"
|
|
23382
|
+
],
|
|
23383
|
+
"notes": [
|
|
23384
|
+
"Errors carry a code and next: ERR_ASK_AGENT_MISSING (install command), ERR_ASK_SIGNED_OUT (sign-in command), ERR_ASK_FAILED (the agent's own error, such as an unknown model), ERR_ASK_TIMEOUT, ERR_ASK_UNSUPPORTED."
|
|
23385
|
+
]
|
|
23386
|
+
},
|
|
23387
|
+
"models": {
|
|
23388
|
+
"name": "models",
|
|
23389
|
+
"summary": "List the models each installed agent offers, on this machine, another one, or every saved machine, with what each agent reports about its sign-in. Read live on every call.",
|
|
23390
|
+
"details": "Runs each installed agent's own model list (codex debug models, cursor-agent models, opencode models; Claude takes the aliases fable, opus, sonnet and haiku or a full model name) and its sign-in status, in parallel per machine, and prints one row per model. Nothing is cached: an agent installed or removed shows on the next call.",
|
|
23391
|
+
"requiresPaneDaemon": false,
|
|
23392
|
+
"mutates": false,
|
|
23393
|
+
"arguments": [
|
|
23394
|
+
{
|
|
23395
|
+
"name": "--agent",
|
|
23396
|
+
"value": "<codex|claude|cursor|opencode|pi>",
|
|
23397
|
+
"required": false,
|
|
23398
|
+
"description": "Only this agent's rows."
|
|
23399
|
+
},
|
|
23400
|
+
{
|
|
23401
|
+
"name": "--search",
|
|
23402
|
+
"value": "<text>",
|
|
23403
|
+
"required": false,
|
|
23404
|
+
"description": "Only models whose name contains this text."
|
|
23405
|
+
},
|
|
23406
|
+
{
|
|
23407
|
+
"name": "--machine",
|
|
23408
|
+
"value": "<name>",
|
|
23409
|
+
"required": false,
|
|
23410
|
+
"description": "List another machine in your workspace instead of this one."
|
|
23411
|
+
},
|
|
23412
|
+
{
|
|
23413
|
+
"name": "--all",
|
|
23414
|
+
"required": false,
|
|
23415
|
+
"description": "This machine, every saved machine, and the WSL of each machine with a saved WSL repository."
|
|
23416
|
+
},
|
|
23417
|
+
{
|
|
23418
|
+
"name": "--json",
|
|
23419
|
+
"required": false,
|
|
23420
|
+
"description": "Print { ok, signInReportedBy: \"agent\", rows: [{ machine, environment, agent, model, signIn, note }] }."
|
|
23421
|
+
}
|
|
23422
|
+
],
|
|
23423
|
+
"examples": [
|
|
23424
|
+
"runpane models --all --json",
|
|
23425
|
+
"runpane models --agent opencode --search deepseek --json"
|
|
23426
|
+
],
|
|
23427
|
+
"notes": [
|
|
23428
|
+
"signIn is the agent's own report, not a check: an ask's own error is the proof.",
|
|
23429
|
+
"note is unreachable (the machine did not answer) or list unavailable (the list could not be read)."
|
|
23430
|
+
]
|
|
23431
|
+
},
|
|
22698
23432
|
"sessions unpin": {
|
|
22699
23433
|
"name": "sessions unpin",
|
|
22700
23434
|
"summary": "Declaratively unpin a named Session using the UI pin state; repeated requests keep the requested state.",
|
|
@@ -24039,6 +24773,131 @@ exports.RUNPANE_CONTRACT = {
|
|
|
24039
24773
|
"Errors: AUTOPILOT_OFF (off), AUTOPILOT_ONLY (not Autopilot's tab), AUTOPILOT_CANNOT_ANSWER (a permission prompt: it stays the person's), ERR_APPROVALS_MACHINE_OFFLINE (the item's machine is offline; nothing is queued), ERR_APPROVALS_OWNER_TOO_OLD (its machine runs an older Pane).",
|
|
24040
24774
|
"The result's id is the new item's. Put that one on the stack."
|
|
24041
24775
|
]
|
|
24776
|
+
},
|
|
24777
|
+
"theme read": {
|
|
24778
|
+
"name": "theme read",
|
|
24779
|
+
"summary": "Show Pane's own theme: what is selected, the Custom theme, every colour token with its current value, the stable selectors, and the guide for restyling Pane.",
|
|
24780
|
+
"details": "Run this before `runpane theme set`. tokens lists every colour token, with its value in the main window when Pane is open; parts lists the selectors custom CSS may target; guide says how to write a theme. ignoredBecause says why a hand-edited custom-theme.json was ignored.",
|
|
24781
|
+
"requiresPaneDaemon": true,
|
|
24782
|
+
"mutates": false,
|
|
24783
|
+
"arguments": [
|
|
24784
|
+
{
|
|
24785
|
+
"name": "--json",
|
|
24786
|
+
"required": false,
|
|
24787
|
+
"description": "Print machine-readable output."
|
|
24788
|
+
},
|
|
24789
|
+
{
|
|
24790
|
+
"name": "--pane-dir",
|
|
24791
|
+
"value": "<path>",
|
|
24792
|
+
"required": false,
|
|
24793
|
+
"description": "Connect to a specific Pane data directory."
|
|
24794
|
+
}
|
|
24795
|
+
],
|
|
24796
|
+
"examples": [
|
|
24797
|
+
"runpane theme read --json"
|
|
24798
|
+
],
|
|
24799
|
+
"jsonSchemas": [
|
|
24800
|
+
"themeReadResult"
|
|
24801
|
+
],
|
|
24802
|
+
"notes": [
|
|
24803
|
+
"Use it only when the person asks to change how Pane itself looks, not their project's styles."
|
|
24804
|
+
]
|
|
24805
|
+
},
|
|
24806
|
+
"theme set": {
|
|
24807
|
+
"name": "theme set",
|
|
24808
|
+
"summary": "Restyle Pane itself, only when the person asks to change Pane's look: write the Custom theme (a base theme, colour tokens and CSS) and select it, or switch to another theme. Pane restyles within a second.",
|
|
24809
|
+
"details": "Writes custom-theme.json in Pane's data folder and selects Custom where the person sees it now; every Pane window restyles within a second with no restart. Colours merge into the current Custom theme (null removes one), --css replaces its CSS, and the base defaults to the theme on screen. Nothing is written when a value is refused. --theme switches to another theme and leaves the Custom theme on disk. You cannot see the result: make small changes, then ask the person how it looks.",
|
|
24810
|
+
"requiresPaneDaemon": true,
|
|
24811
|
+
"mutates": true,
|
|
24812
|
+
"arguments": [
|
|
24813
|
+
{
|
|
24814
|
+
"name": "--base",
|
|
24815
|
+
"value": "<theme>",
|
|
24816
|
+
"required": false,
|
|
24817
|
+
"description": "The shipped theme to build on; defaults to the Custom theme's base, or the theme on screen."
|
|
24818
|
+
},
|
|
24819
|
+
{
|
|
24820
|
+
"name": "--colors",
|
|
24821
|
+
"value": "<json>",
|
|
24822
|
+
"required": false,
|
|
24823
|
+
"description": "Colour token overrides, such as {\"--color-border-primary\": \"#30363d\"}. Values are hex, rgb() or rgba(); null removes an override.",
|
|
24824
|
+
"schema": {
|
|
24825
|
+
"type": "object",
|
|
24826
|
+
"additionalProperties": {
|
|
24827
|
+
"type": [
|
|
24828
|
+
"string",
|
|
24829
|
+
"null"
|
|
24830
|
+
]
|
|
24831
|
+
}
|
|
24832
|
+
}
|
|
24833
|
+
},
|
|
24834
|
+
{
|
|
24835
|
+
"name": "--css",
|
|
24836
|
+
"value": "<text>",
|
|
24837
|
+
"required": false,
|
|
24838
|
+
"description": "CSS that targets the stable [data-pane-part] selectors, up to 20,000 characters. No @import, src(), image-set() or remote url(). Replaces the current CSS; empty text removes it."
|
|
24839
|
+
},
|
|
24840
|
+
{
|
|
24841
|
+
"name": "--name",
|
|
24842
|
+
"value": "<text>",
|
|
24843
|
+
"required": false,
|
|
24844
|
+
"description": "A name for the Custom theme, shown in Settings."
|
|
24845
|
+
},
|
|
24846
|
+
{
|
|
24847
|
+
"name": "--theme",
|
|
24848
|
+
"value": "<id>",
|
|
24849
|
+
"required": false,
|
|
24850
|
+
"description": "Switch to this theme instead: custom or a shipped theme id. Use it alone."
|
|
24851
|
+
},
|
|
24852
|
+
{
|
|
24853
|
+
"name": "--json",
|
|
24854
|
+
"required": false,
|
|
24855
|
+
"description": "Print machine-readable output."
|
|
24856
|
+
},
|
|
24857
|
+
{
|
|
24858
|
+
"name": "--pane-dir",
|
|
24859
|
+
"value": "<path>",
|
|
24860
|
+
"required": false,
|
|
24861
|
+
"description": "Connect to a specific Pane data directory."
|
|
24862
|
+
}
|
|
24863
|
+
],
|
|
24864
|
+
"examples": [
|
|
24865
|
+
"runpane theme set --colors '{\"--color-border-primary\": \"#262b33\"}' --json",
|
|
24866
|
+
"runpane theme set --css '[data-pane-part=\"tab\"] { border-radius: 8px !important; }' --json",
|
|
24867
|
+
"runpane theme set --theme dusk --json"
|
|
24868
|
+
],
|
|
24869
|
+
"jsonSchemas": [
|
|
24870
|
+
"themeSetResult"
|
|
24871
|
+
],
|
|
24872
|
+
"notes": [
|
|
24873
|
+
"Restyle Pane only when the person asks to change Pane's look. Requests about their project's styles edit the project instead."
|
|
24874
|
+
]
|
|
24875
|
+
},
|
|
24876
|
+
"theme reset": {
|
|
24877
|
+
"name": "theme reset",
|
|
24878
|
+
"summary": "Delete the Custom theme and go back to the theme it was built on.",
|
|
24879
|
+
"details": "Deletes custom-theme.json and selects its base theme. Works from any shell while Pane runs, even when a theme made Pane unreadable.",
|
|
24880
|
+
"requiresPaneDaemon": true,
|
|
24881
|
+
"mutates": true,
|
|
24882
|
+
"arguments": [
|
|
24883
|
+
{
|
|
24884
|
+
"name": "--json",
|
|
24885
|
+
"required": false,
|
|
24886
|
+
"description": "Print machine-readable output."
|
|
24887
|
+
},
|
|
24888
|
+
{
|
|
24889
|
+
"name": "--pane-dir",
|
|
24890
|
+
"value": "<path>",
|
|
24891
|
+
"required": false,
|
|
24892
|
+
"description": "Connect to a specific Pane data directory."
|
|
24893
|
+
}
|
|
24894
|
+
],
|
|
24895
|
+
"examples": [
|
|
24896
|
+
"runpane theme reset"
|
|
24897
|
+
],
|
|
24898
|
+
"notes": [
|
|
24899
|
+
"The person's way back from any Custom theme; an agent switches away with `runpane theme set --theme <id>` instead."
|
|
24900
|
+
]
|
|
24042
24901
|
}
|
|
24043
24902
|
},
|
|
24044
24903
|
"managedBlock": [
|