runpane 2.4.214 → 2.4.215
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +16 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts +9 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +32 -6
- package/dist/commands.js.map +1 -1
- package/dist/docs-index.json +1 -1
- package/dist/generated/contract.d.ts +1064 -129
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +1980 -224
- package/dist/generated/contract.js.map +1 -1
- package/dist/localControl.d.ts +30 -1
- package/dist/localControl.d.ts.map +1 -1
- package/dist/localControl.js +160 -7
- package/dist/localControl.js.map +1 -1
- package/dist/notify.d.ts +71 -0
- package/dist/notify.d.ts.map +1 -1
- package/dist/notify.js +19 -10
- package/dist/notify.js.map +1 -1
- package/dist/secrets.d.ts +12 -0
- package/dist/secrets.d.ts.map +1 -0
- package/dist/secrets.js +296 -0
- package/dist/secrets.js.map +1 -0
- package/dist/watchLines.d.ts.map +1 -1
- package/dist/watchLines.js +2 -0
- package/dist/watchLines.js.map +1 -1
- package/package.json +1 -1
|
@@ -39,6 +39,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
39
39
|
"agent.idle",
|
|
40
40
|
"panel.exited",
|
|
41
41
|
"panel.stopped",
|
|
42
|
+
"panel.paused",
|
|
43
|
+
"panel.unpaused",
|
|
42
44
|
"pane.gone",
|
|
43
45
|
"pane.associated",
|
|
44
46
|
"pane.detached",
|
|
@@ -312,9 +314,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
312
314
|
},
|
|
313
315
|
{
|
|
314
316
|
"name": "repos update",
|
|
315
|
-
"summary": "Change a saved repository's Project Settings: scripts, worktree folder, name, IDE command, and
|
|
317
|
+
"summary": "Change a saved repository's Project Settings: scripts, worktree folder, name, IDE command, system prompt, and environment variables.",
|
|
316
318
|
"usage": [
|
|
317
|
-
"runpane repos update --repo <selector> [--name <name>] [--build-script <script>] [--run-script <script>] [--archive-script <script>] [--worktree-folder <path>] [--open-ide-command <command>] [--system-prompt <text>] [--clear <setting,...>] [--from-json <path|->] --yes [--dry-run] [--json] [--pane-dir <path>]"
|
|
319
|
+
"runpane repos update --repo <selector> [--name <name>] [--build-script <script>] [--run-script <script>] [--archive-script <script>] [--worktree-folder <path>] [--open-ide-command <command>] [--system-prompt <text>] [--env <json>] [--env-remove <name,...>] [--clear <setting,...>] [--from-json <path|->] --yes [--dry-run] [--json] [--pane-dir <path>]"
|
|
318
320
|
],
|
|
319
321
|
"mutates": true,
|
|
320
322
|
"idempotent": true,
|
|
@@ -345,6 +347,72 @@ exports.RUNPANE_CONTRACT = {
|
|
|
345
347
|
],
|
|
346
348
|
"localControl": true
|
|
347
349
|
},
|
|
350
|
+
{
|
|
351
|
+
"name": "secrets list",
|
|
352
|
+
"summary": "List the Pane secrets on this machine: project, name, and when and where each was set. Never shows a value.",
|
|
353
|
+
"usage": [
|
|
354
|
+
"runpane secrets list [--project <project>] [--json] [--pane-dir <path>]"
|
|
355
|
+
],
|
|
356
|
+
"toolsets": [
|
|
357
|
+
"secrets"
|
|
358
|
+
],
|
|
359
|
+
"jsonSchemas": [
|
|
360
|
+
"secretListRequest",
|
|
361
|
+
"secretListResult"
|
|
362
|
+
],
|
|
363
|
+
"localControl": true
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "secrets set",
|
|
367
|
+
"summary": "Save a Pane secret, adding or replacing it. Reads the value from stdin.",
|
|
368
|
+
"usage": [
|
|
369
|
+
"runpane secrets set --project <project> --name <name> --yes [--json] [--pane-dir <path>]"
|
|
370
|
+
],
|
|
371
|
+
"mutates": true,
|
|
372
|
+
"idempotent": true,
|
|
373
|
+
"localControl": true
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "secrets delete",
|
|
377
|
+
"summary": "Delete a Pane secret from this machine and, through sync, from your other machines.",
|
|
378
|
+
"usage": [
|
|
379
|
+
"runpane secrets delete --project <project> --name <name> --yes [--json] [--pane-dir <path>]"
|
|
380
|
+
],
|
|
381
|
+
"mutates": true,
|
|
382
|
+
"toolsets": [
|
|
383
|
+
"secrets"
|
|
384
|
+
],
|
|
385
|
+
"jsonSchemas": [
|
|
386
|
+
"secretDeleteRequest",
|
|
387
|
+
"secretDeleteResult"
|
|
388
|
+
],
|
|
389
|
+
"localControl": true
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "secrets exec",
|
|
393
|
+
"summary": "Run a command with Pane secrets in its environment. Nothing prints a value.",
|
|
394
|
+
"usage": [
|
|
395
|
+
"runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>]... [--file <name>]... [--pane-dir <path>] -- <command>..."
|
|
396
|
+
],
|
|
397
|
+
"localControl": true
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "secrets request",
|
|
401
|
+
"summary": "Ask the person for a secret on a masked card. Pane saves what they type as a Pane secret and never returns it.",
|
|
402
|
+
"usage": [
|
|
403
|
+
"runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json] [--pane-dir <path>]"
|
|
404
|
+
],
|
|
405
|
+
"mutates": true,
|
|
406
|
+
"additive": true,
|
|
407
|
+
"toolsets": [
|
|
408
|
+
"core"
|
|
409
|
+
],
|
|
410
|
+
"jsonSchemas": [
|
|
411
|
+
"notifyRequest",
|
|
412
|
+
"notifyResult"
|
|
413
|
+
],
|
|
414
|
+
"localControl": true
|
|
415
|
+
},
|
|
348
416
|
{
|
|
349
417
|
"name": "panes list",
|
|
350
418
|
"summary": "List Pane sessions in a saved repository.",
|
|
@@ -612,6 +680,39 @@ exports.RUNPANE_CONTRACT = {
|
|
|
612
680
|
],
|
|
613
681
|
"localControl": true
|
|
614
682
|
},
|
|
683
|
+
{
|
|
684
|
+
"name": "panes pause",
|
|
685
|
+
"summary": "Pause a Pane: stop every terminal tab and keep their conversations until the Pane is resumed.",
|
|
686
|
+
"usage": [
|
|
687
|
+
"runpane panes pause --pane <pane-id> --yes [--json] [--pane-dir <path>]"
|
|
688
|
+
],
|
|
689
|
+
"mutates": true,
|
|
690
|
+
"idempotent": true,
|
|
691
|
+
"toolsets": [
|
|
692
|
+
"panes"
|
|
693
|
+
],
|
|
694
|
+
"jsonSchemas": [
|
|
695
|
+
"pauseResult"
|
|
696
|
+
],
|
|
697
|
+
"localControl": true
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"name": "panes resume",
|
|
701
|
+
"summary": "Resume a paused Pane: restart its paused tabs in their saved conversations.",
|
|
702
|
+
"usage": [
|
|
703
|
+
"runpane panes resume --pane <pane-id> --yes [--json] [--pane-dir <path>]"
|
|
704
|
+
],
|
|
705
|
+
"mutates": true,
|
|
706
|
+
"additive": true,
|
|
707
|
+
"idempotent": true,
|
|
708
|
+
"toolsets": [
|
|
709
|
+
"panes"
|
|
710
|
+
],
|
|
711
|
+
"jsonSchemas": [
|
|
712
|
+
"pauseResult"
|
|
713
|
+
],
|
|
714
|
+
"localControl": true
|
|
715
|
+
},
|
|
615
716
|
{
|
|
616
717
|
"name": "panes rename",
|
|
617
718
|
"summary": "Rename a Pane without changing its worktree, branch, panels, or focus.",
|
|
@@ -810,6 +911,38 @@ exports.RUNPANE_CONTRACT = {
|
|
|
810
911
|
],
|
|
811
912
|
"localControl": true
|
|
812
913
|
},
|
|
914
|
+
{
|
|
915
|
+
"name": "panels close",
|
|
916
|
+
"summary": "Close a tab in a Pane, stopping its process, as closing the tab in the app does.",
|
|
917
|
+
"usage": [
|
|
918
|
+
"runpane panels close --panel <panel-id> --yes [--json] [--pane-dir <path>]"
|
|
919
|
+
],
|
|
920
|
+
"mutates": true,
|
|
921
|
+
"toolsets": [
|
|
922
|
+
"panels"
|
|
923
|
+
],
|
|
924
|
+
"jsonSchemas": [
|
|
925
|
+
"panelCloseRequest",
|
|
926
|
+
"panelCloseResult"
|
|
927
|
+
],
|
|
928
|
+
"localControl": true
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"name": "panels pause",
|
|
932
|
+
"summary": "Pause a terminal tab: stop its process and keep its agent's conversation until it is resumed.",
|
|
933
|
+
"usage": [
|
|
934
|
+
"runpane panels pause --panel <panel-id> --yes [--json] [--pane-dir <path>]"
|
|
935
|
+
],
|
|
936
|
+
"mutates": true,
|
|
937
|
+
"idempotent": true,
|
|
938
|
+
"toolsets": [
|
|
939
|
+
"panels"
|
|
940
|
+
],
|
|
941
|
+
"jsonSchemas": [
|
|
942
|
+
"pauseResult"
|
|
943
|
+
],
|
|
944
|
+
"localControl": true
|
|
945
|
+
},
|
|
813
946
|
{
|
|
814
947
|
"name": "panels last-message",
|
|
815
948
|
"summary": "Read an agent's last reply from its transcript, without scraping the screen.",
|
|
@@ -1578,6 +1711,39 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1578
1711
|
],
|
|
1579
1712
|
"localControl": true
|
|
1580
1713
|
},
|
|
1714
|
+
{
|
|
1715
|
+
"name": "sessions pause",
|
|
1716
|
+
"summary": "Pause a Session: stop its chat and the tabs of every Pane in it, keeping their conversations.",
|
|
1717
|
+
"usage": [
|
|
1718
|
+
"runpane sessions pause --session <id|name> [--json] [--pane-dir <path>]"
|
|
1719
|
+
],
|
|
1720
|
+
"mutates": true,
|
|
1721
|
+
"idempotent": true,
|
|
1722
|
+
"toolsets": [
|
|
1723
|
+
"sessions"
|
|
1724
|
+
],
|
|
1725
|
+
"jsonSchemas": [
|
|
1726
|
+
"pauseResult"
|
|
1727
|
+
],
|
|
1728
|
+
"localControl": true
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"name": "sessions resume",
|
|
1732
|
+
"summary": "Resume a paused Session: restart its chat and the paused tabs of its Panes.",
|
|
1733
|
+
"usage": [
|
|
1734
|
+
"runpane sessions resume --session <id|name> [--json] [--pane-dir <path>]"
|
|
1735
|
+
],
|
|
1736
|
+
"mutates": true,
|
|
1737
|
+
"additive": true,
|
|
1738
|
+
"idempotent": true,
|
|
1739
|
+
"toolsets": [
|
|
1740
|
+
"sessions"
|
|
1741
|
+
],
|
|
1742
|
+
"jsonSchemas": [
|
|
1743
|
+
"pauseResult"
|
|
1744
|
+
],
|
|
1745
|
+
"localControl": true
|
|
1746
|
+
},
|
|
1581
1747
|
{
|
|
1582
1748
|
"name": "pr watch",
|
|
1583
1749
|
"summary": "Register durable GitHub PR monitoring for a Pane.",
|
|
@@ -2211,6 +2377,31 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2211
2377
|
"value": "<setting,...>",
|
|
2212
2378
|
"description": "Settings to clear, comma-separated: build-script, run-script, archive-script, worktree-folder, open-ide-command, system-prompt."
|
|
2213
2379
|
},
|
|
2380
|
+
{
|
|
2381
|
+
"name": "--env",
|
|
2382
|
+
"value": "<VAR=NAME|json>",
|
|
2383
|
+
"description": "secrets exec: inject secret NAME as VAR; repeatable. repos update: a JSON array of project variables to add or replace by key."
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
"name": "--env-remove",
|
|
2387
|
+
"value": "<name,...>",
|
|
2388
|
+
"description": "Project variables to remove, comma-separated."
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
"name": "--project",
|
|
2392
|
+
"value": "<project>",
|
|
2393
|
+
"description": "Pane secret project: up to 64 letters, digits, \".\", \"_\" or \"-\"."
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"name": "--only",
|
|
2397
|
+
"value": "<name,...>",
|
|
2398
|
+
"description": "Secrets to inject, comma-separated. Defaults to every secret in the project."
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
"name": "--reason",
|
|
2402
|
+
"value": "<text>",
|
|
2403
|
+
"description": "Why you need the secret; shown on the card."
|
|
2404
|
+
},
|
|
2214
2405
|
{
|
|
2215
2406
|
"name": "--epoch",
|
|
2216
2407
|
"value": "<epoch>",
|
|
@@ -2296,7 +2487,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2296
2487
|
},
|
|
2297
2488
|
{
|
|
2298
2489
|
"name": "--force",
|
|
2299
|
-
"description": "Archive even if the pane's branch has uncommitted, untracked, or unpushed changes; for lock release, release another owner's lock."
|
|
2490
|
+
"description": "Archive even if the pane's branch has uncommitted, untracked, or unpushed changes, one of its agents is mid-turn, or a tab holds unsent input; for lock release, release another owner's lock."
|
|
2300
2491
|
},
|
|
2301
2492
|
{
|
|
2302
2493
|
"name": "--remove-worktree",
|
|
@@ -2412,12 +2603,18 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2412
2603
|
" runpane repos get [--repo <selector>] [--json]",
|
|
2413
2604
|
" runpane repos update --repo <selector> [setting flags] --yes [--dry-run] [--json]",
|
|
2414
2605
|
" runpane repos rename --repo <selector> --name <name>",
|
|
2606
|
+
" runpane secrets list [--project <project>] [--json]",
|
|
2607
|
+
" runpane secrets set --project <project> --name <name> --yes (value on stdin)",
|
|
2608
|
+
" runpane secrets delete --project <project> --name <name> --yes",
|
|
2609
|
+
" runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>] [--file <name>] -- <command>...",
|
|
2610
|
+
" runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]",
|
|
2415
2611
|
" runpane sessions list [--json] [--pane-dir <path>]",
|
|
2416
2612
|
" runpane sessions create --from-json <path|-> [--json] [--pane-dir <path>]",
|
|
2417
2613
|
" runpane sessions get --session <id|name> [--json] [--pane-dir <path>]",
|
|
2418
2614
|
" runpane sessions update --session <id|name> --from-json <path|-> [--json] [--pane-dir <path>]",
|
|
2419
2615
|
" runpane sessions pin --session <id|name> [--json] [--pane-dir <path>]",
|
|
2420
2616
|
" runpane sessions unpin --session <id|name> [--json] [--pane-dir <path>]",
|
|
2617
|
+
" runpane sessions pause|resume --session <id|name> [--json] [--pane-dir <path>]",
|
|
2421
2618
|
" runpane sessions set-agent --session <id|name> --agent <codex|claude|cursor|opencode> [--json] [--pane-dir <path>]",
|
|
2422
2619
|
" runpane sessions associate --session <id|name> --pane <pane-id> [--json] [--pane-dir <path>]",
|
|
2423
2620
|
" runpane sessions detach --session <id|name> [--pane <pane-id>] [--json] [--pane-dir <path>]",
|
|
@@ -2438,6 +2635,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2438
2635
|
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [--base-branch <branch>] [--source user|agent] [--focus|--no-focus] [--wait-ready]",
|
|
2439
2636
|
" runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes",
|
|
2440
2637
|
" runpane panes archive --session <id|name> --merged [--remove-worktree] [--dry-run] --yes",
|
|
2638
|
+
" runpane panes pause|resume --pane <pane-id> --yes [--json]",
|
|
2441
2639
|
" runpane panels create --pane <pane-id> --agent <codex|claude|cursor> [--source user|agent] [--focus|--no-focus] --yes",
|
|
2442
2640
|
" runpane panels list --pane <pane-id> [--json]",
|
|
2443
2641
|
" runpane panels output --panel <panel-id> [--limit <count>] [--json]",
|
|
@@ -2447,6 +2645,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2447
2645
|
" runpane panels submit-composer --panel <panel-id> [--strategy auto|codex-ctrl-enter|enter|tab] --yes [--json]",
|
|
2448
2646
|
" runpane panels wait --panel <panel-id> [--for initialized|ready|idle|text] [--json]",
|
|
2449
2647
|
" runpane panels resume (--panel <panel-id>|--session <id|name>|--all-stopped) [--wait-ready] --yes [--json]",
|
|
2648
|
+
" runpane panels close --panel <panel-id> --yes [--json]",
|
|
2649
|
+
" runpane panels pause --panel <panel-id> --yes [--json]",
|
|
2450
2650
|
" runpane panels last-message --panel <panel-id> [--limit <count>] [--json]",
|
|
2451
2651
|
" runpane panes git-status --pane <pane-id> [--json] [--pane-dir <path>]",
|
|
2452
2652
|
" runpane panes commit --pane <pane-id> --message <message> --yes [--json] [--pane-dir <path>]",
|
|
@@ -2641,8 +2841,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2641
2841
|
" --worktree-folder <path> Folder for new worktrees, absolute or relative to the repository",
|
|
2642
2842
|
" --open-ide-command <command> Command the Open in IDE button runs",
|
|
2643
2843
|
" --system-prompt <text> Project system prompt",
|
|
2844
|
+
" --env <json> Project variables to add or replace, a JSON array: [{\"key\":\"API_URL\",\"source\":\"plain\",\"value\":\"https://...\"}, {\"key\":\"STRIPE_KEY\",\"source\":\"secret\",\"project\":\"stripe\",\"name\":\"STRIPE_SECRET_KEY\"}]",
|
|
2845
|
+
" --env-remove <name,...> Project variables to remove",
|
|
2644
2846
|
" --clear <setting,...> Clear settings, e.g. run-script,archive-script; cleared scripts fall back to the repo's config file",
|
|
2645
|
-
" --from-json <path|-> Settings object: {\"runScript\": \"pnpm dev\", \"archiveScript\": null, ...}; flags override it",
|
|
2847
|
+
" --from-json <path|-> Settings object: {\"runScript\": \"pnpm dev\", \"archiveScript\": null, \"envVars\": {\"set\": [...], \"remove\": [\"OLD\"]}, ...}; flags override it",
|
|
2646
2848
|
" --dry-run Show the result without saving",
|
|
2647
2849
|
" --yes Skip confirmation for mutating commands",
|
|
2648
2850
|
" --json Print machine-readable output",
|
|
@@ -2661,6 +2863,93 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2661
2863
|
" --json Print machine-readable output",
|
|
2662
2864
|
" --yes Skip confirmation for mutating commands"
|
|
2663
2865
|
],
|
|
2866
|
+
"secrets": [
|
|
2867
|
+
"Usage:",
|
|
2868
|
+
" runpane secrets <list|set|delete|exec|request> [options]",
|
|
2869
|
+
"",
|
|
2870
|
+
"Pane secrets are named values, addressed as <project>/<NAME>, that every machine you saved in Pane keeps a copy of.",
|
|
2871
|
+
"Agents use them only through `runpane secrets exec`, which puts them in a command's environment. No command prints a value.",
|
|
2872
|
+
"Ask the person for a new one with `runpane secrets request`; they type it on a masked card.",
|
|
2873
|
+
"",
|
|
2874
|
+
"Commands:",
|
|
2875
|
+
" runpane secrets list [--project <project>] [--json]",
|
|
2876
|
+
" runpane secrets set --project <project> --name <name> --yes (value on stdin)",
|
|
2877
|
+
" runpane secrets delete --project <project> --name <name> --yes",
|
|
2878
|
+
" runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>] [--file <name>] -- <command>...",
|
|
2879
|
+
" runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]",
|
|
2880
|
+
"",
|
|
2881
|
+
"A project is up to 64 letters, digits, \".\", \"_\" or \"-\". A name follows environment variable rules: letters, digits and underscores, not starting with a digit. PATH, WORKTREE_PATH and PANE_* are reserved."
|
|
2882
|
+
],
|
|
2883
|
+
"secrets list": [
|
|
2884
|
+
"Usage:",
|
|
2885
|
+
" runpane secrets list [--project <project>] [--json] [--pane-dir <path>]",
|
|
2886
|
+
"",
|
|
2887
|
+
"Lists the Pane secrets on this machine: project, name, when each was last set, and on which machine. It never shows a value.",
|
|
2888
|
+
"",
|
|
2889
|
+
"Options:",
|
|
2890
|
+
" --project <project> Only this project's secrets",
|
|
2891
|
+
" --json Print machine-readable output",
|
|
2892
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
2893
|
+
],
|
|
2894
|
+
"secrets set": [
|
|
2895
|
+
"Usage:",
|
|
2896
|
+
" printf %s \"$VALUE\" | runpane secrets set --project <project> --name <name> --yes [--json]",
|
|
2897
|
+
"",
|
|
2898
|
+
"Saves the value on stdin as the Pane secret <project>/<name>, adding it or replacing the saved value. One trailing newline is dropped. Pane syncs it to your other machines.",
|
|
2899
|
+
"Agents should not set values they were given in chat. Ask the person with `runpane secrets request` instead.",
|
|
2900
|
+
"",
|
|
2901
|
+
"Options:",
|
|
2902
|
+
" --project <project> Secret project",
|
|
2903
|
+
" --name <name> Secret name, such as STRIPE_SECRET_KEY",
|
|
2904
|
+
" --yes Skip confirmation for mutating commands",
|
|
2905
|
+
" --json Print machine-readable output",
|
|
2906
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
2907
|
+
],
|
|
2908
|
+
"secrets delete": [
|
|
2909
|
+
"Usage:",
|
|
2910
|
+
" runpane secrets delete --project <project> --name <name> --yes [--json]",
|
|
2911
|
+
"",
|
|
2912
|
+
"Deletes the Pane secret <project>/<name>. Your other machines delete it the next time they sync.",
|
|
2913
|
+
"",
|
|
2914
|
+
"Options:",
|
|
2915
|
+
" --project <project> Secret project",
|
|
2916
|
+
" --name <name> Secret name",
|
|
2917
|
+
" --yes Skip confirmation for mutating commands",
|
|
2918
|
+
" --json Print machine-readable output",
|
|
2919
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
2920
|
+
],
|
|
2921
|
+
"secrets exec": [
|
|
2922
|
+
"Usage:",
|
|
2923
|
+
" runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>]... [--file <name>]... -- <command>...",
|
|
2924
|
+
"",
|
|
2925
|
+
"Runs the command with Pane secrets added to your environment, and exits with its exit code. Each secret is injected under its own name and overrides a variable of that name.",
|
|
2926
|
+
"With no --only, --env or --file, it injects every secret in the project.",
|
|
2927
|
+
"",
|
|
2928
|
+
"Options:",
|
|
2929
|
+
" --project <project> Secret project",
|
|
2930
|
+
" --only <name,...> Inject only these secrets",
|
|
2931
|
+
" --env <VAR=NAME> Inject secret NAME as VAR; repeatable",
|
|
2932
|
+
" --file <name> Write secret NAME to a private temp file and set NAME to its path; repeatable. The file is removed when the command exits",
|
|
2933
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
2934
|
+
"",
|
|
2935
|
+
"Example:",
|
|
2936
|
+
" runpane secrets exec --project stripe --only STRIPE_SECRET_KEY -- pnpm test:webhooks"
|
|
2937
|
+
],
|
|
2938
|
+
"secrets request": [
|
|
2939
|
+
"Usage:",
|
|
2940
|
+
" runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]",
|
|
2941
|
+
"",
|
|
2942
|
+
"Asks the person for a secret on a masked Notify card. What they type is saved as the Pane secret <project>/<name>; you get back only \"saved\" or \"declined\". Then use it with `runpane secrets exec`.",
|
|
2943
|
+
"A waiting result means the card is still open: run `runpane notify --resume <id>` to keep waiting.",
|
|
2944
|
+
"",
|
|
2945
|
+
"Options:",
|
|
2946
|
+
" --project <project> Secret project",
|
|
2947
|
+
" --name <name> Secret name, such as STRIPE_SECRET_KEY",
|
|
2948
|
+
" --title <text> What the secret is, such as \"Stripe test secret key\"",
|
|
2949
|
+
" --reason <text> What you need it for",
|
|
2950
|
+
" --json Print machine-readable output",
|
|
2951
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
2952
|
+
],
|
|
2664
2953
|
"panes": [
|
|
2665
2954
|
"Pane session commands.",
|
|
2666
2955
|
"",
|
|
@@ -2676,6 +2965,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2676
2965
|
" runpane panes pin --pane <pane-id> --yes [--dry-run] [--json]",
|
|
2677
2966
|
" runpane panes unpin --pane <pane-id> --yes [--dry-run] [--json]",
|
|
2678
2967
|
" runpane panes rename --pane <pane-id> --name <new-name> --yes [--dry-run] [--json]",
|
|
2968
|
+
" runpane panes pause|resume --pane <pane-id> --yes [--json]",
|
|
2679
2969
|
"",
|
|
2680
2970
|
"Run \"runpane help panes <command>\" for command-specific options."
|
|
2681
2971
|
],
|
|
@@ -2738,8 +3028,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2738
3028
|
"What --follow does by default (see defaults.watch.follow in the contract):",
|
|
2739
3029
|
" prints WATCH OK once when armed, then one line per event, with no heartbeats",
|
|
2740
3030
|
" kinds: agent.report, agent.ready, agent.blocked, agent.idle, panel.exited, panel.stopped,",
|
|
2741
|
-
"
|
|
2742
|
-
" pr.base_changed, pr.base_deleted",
|
|
3031
|
+
" panel.paused, panel.unpaused, pane.gone, pane.associated, pane.detached,",
|
|
3032
|
+
" pr.conflicted, pr.checks, pr.merged, pr.base_changed, pr.base_deleted",
|
|
2743
3033
|
" READY after 3m of quiet; BLOCKED after 30s; other lines batched at most every 10m",
|
|
2744
3034
|
" (REPORT, BLOCKED, conflicts, base changes, and failed checks arrive at once)",
|
|
2745
3035
|
" IDLE reminders at 10m, 30m, 1h, 3h, then daily",
|
|
@@ -2851,12 +3141,12 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2851
3141
|
" runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes [--json]",
|
|
2852
3142
|
" runpane panes archive --session <id|name> --merged [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]",
|
|
2853
3143
|
"",
|
|
2854
|
-
"Archives a Pane (session) exactly like the UI Archive action, including removal of its Pane-managed git worktree. Refreshes the configured upstream before checking for unpushed commits and reports exact commit evidence. When the branch has no upstream or its upstream is gone, a merged GitHub pull request whose head is HEAD (found with `gh`) counts as pushed. Refuses unsafe archives unless --force is passed. An adopted worktree is kept unless --remove-worktree is passed, which applies the same safety check and removal. The local branch is always kept. With --session and --merged, archives every Pane associated with the Session whose work is clean and pushed or merged, and reports a reason for each Pane it skips. Use --dry-run to print the evidence without mutating Pane state.",
|
|
3144
|
+
"Archives a Pane (session) exactly like the UI Archive action, including removal of its Pane-managed git worktree. Refreshes the configured upstream before checking for unpushed commits and reports exact commit evidence. When the branch has no upstream or its upstream is gone, a merged GitHub pull request whose head is HEAD (found with `gh`) counts as pushed. Refuses unsafe archives unless --force is passed. An adopted worktree is kept unless --remove-worktree is passed, which applies the same safety check and removal. The local branch is always kept. With --session and --merged, archives every Pane associated with the Session whose work is clean and pushed or merged, and reports a reason for each Pane it skips. Use --dry-run to print the evidence without mutating Pane state. Refuses a Pane with an agent mid-turn or waiting for an answer (agent-busy), or with a tab holding unsent composer text or unsaved editor edits (unsent-input), unless --force is passed; the --session sweep skips it.",
|
|
2855
3145
|
"",
|
|
2856
3146
|
"Options:",
|
|
2857
3147
|
" --pane <pane-id> Pane/session id to archive",
|
|
2858
3148
|
" --source <user|agent> Mark mutation source",
|
|
2859
|
-
" --force Archive even if the pane has uncommitted, untracked, or unpushed changes",
|
|
3149
|
+
" --force Archive even if the pane has uncommitted, untracked, or unpushed changes, a busy agent, or unsent input",
|
|
2860
3150
|
" --remove-worktree Also check and remove an adopted Pane's worktree (the branch is kept)",
|
|
2861
3151
|
" --session <id|name> Archive the Panes associated with this Session (requires --merged)",
|
|
2862
3152
|
" --merged Only archive Panes that are clean and pushed, or merged via a PR",
|
|
@@ -2936,6 +3226,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2936
3226
|
" runpane panels submit-composer --panel <panel-id> [--strategy auto|codex-ctrl-enter|enter|tab] --yes [--json]",
|
|
2937
3227
|
" runpane panels wait --panel <panel-id> [--for initialized|ready|idle|text] [--json]",
|
|
2938
3228
|
" runpane panels resume (--panel <panel-id>|--session <id|name>|--all-stopped) [--wait-ready] --yes [--json]",
|
|
3229
|
+
" runpane panels close --panel <panel-id> --yes [--json]",
|
|
3230
|
+
" runpane panels pause --panel <panel-id> --yes [--json]",
|
|
2939
3231
|
" runpane panels last-message --panel <panel-id> [--limit <count>] [--json]",
|
|
2940
3232
|
"",
|
|
2941
3233
|
"Run \"runpane help panels create\" or another command-specific topic for options."
|
|
@@ -3533,7 +3825,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3533
3825
|
],
|
|
3534
3826
|
"sessions": [
|
|
3535
3827
|
"Usage:",
|
|
3536
|
-
" runpane sessions <list|create|get|update|set-agent|associate|detach|overview> [options]",
|
|
3828
|
+
" runpane sessions <list|create|get|update|set-agent|associate|detach|overview|pause|resume> [options]",
|
|
3537
3829
|
"",
|
|
3538
3830
|
"Use a named Session to keep context, activity, and evidence attached to one orchestration thread."
|
|
3539
3831
|
],
|
|
@@ -3598,9 +3890,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3598
3890
|
"--resume), the same restart the app runs when it shows the panel. Nothing takes focus. A panel",
|
|
3599
3891
|
"whose agent exited back to its shell counts as stopped: its saved command runs again in that",
|
|
3600
3892
|
"shell. A panel that is already running is left alone and reported as already-running.",
|
|
3893
|
+
"A paused panel resumes and loses its paused mark.",
|
|
3601
3894
|
"",
|
|
3602
3895
|
"With --session or --all-stopped it resumes every stopped agent panel in that scope (a",
|
|
3603
|
-
"Session's associated Panes, or every Pane), --concurrency at a time, skips running ones,",
|
|
3896
|
+
"Session's associated Panes, or every Pane), --concurrency at a time, skips running and paused ones,",
|
|
3604
3897
|
"and returns one result per panel. With --wait-ready the resumed panels then wait together,",
|
|
3605
3898
|
"and each result carries its own readiness and blocker. One panel failing does not stop the others.",
|
|
3606
3899
|
"",
|
|
@@ -3632,6 +3925,25 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3632
3925
|
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
3633
3926
|
" --json Print machine-readable output"
|
|
3634
3927
|
],
|
|
3928
|
+
"panels close": [
|
|
3929
|
+
"Close a tab in a Pane, stopping its process, as closing the tab in the app does.",
|
|
3930
|
+
"",
|
|
3931
|
+
"Usage:",
|
|
3932
|
+
" runpane panels close --panel <panel-id> --yes [--json] [--pane-dir <path>]",
|
|
3933
|
+
"",
|
|
3934
|
+
"Closes one tab (agent, terminal, browser or editor) the way its close button in the app does:",
|
|
3935
|
+
"a terminal tab's process is stopped and the tab is removed from every window showing the Pane.",
|
|
3936
|
+
"A Pane's permanent tabs cannot be closed. Closing the tab this command runs in stops this command too.",
|
|
3937
|
+
"",
|
|
3938
|
+
"Options:",
|
|
3939
|
+
" --panel <panel-id> Panel id, from runpane panels list",
|
|
3940
|
+
" --yes Skip the confirmation prompt",
|
|
3941
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
3942
|
+
" --json Print machine-readable output",
|
|
3943
|
+
"",
|
|
3944
|
+
"Examples:",
|
|
3945
|
+
" runpane panels close --panel <panel-id> --yes --json"
|
|
3946
|
+
],
|
|
3635
3947
|
"lock": [
|
|
3636
3948
|
"Usage:",
|
|
3637
3949
|
" runpane lock <acquire|release|list> [options]",
|
|
@@ -3978,6 +4290,83 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3978
4290
|
" --all Clear every item of the Session",
|
|
3979
4291
|
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
3980
4292
|
" --json Print machine-readable output"
|
|
4293
|
+
],
|
|
4294
|
+
"panels pause": [
|
|
4295
|
+
"Usage:",
|
|
4296
|
+
" runpane panels pause --panel <panel-id> --yes [--json] [--pane-dir <path>]",
|
|
4297
|
+
"",
|
|
4298
|
+
"Pauses one terminal tab: stops its process and marks it paused until",
|
|
4299
|
+
"`runpane panels resume --panel <panel-id>`, or its Pane or Session, resumes it.",
|
|
4300
|
+
"Stopping works the way quitting Pane does, without asking, even while an agent is working.",
|
|
4301
|
+
"Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts",
|
|
4302
|
+
"and updates, and `panels resume --session` and `--all-stopped` skip it.",
|
|
4303
|
+
"`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.",
|
|
4304
|
+
"",
|
|
4305
|
+
"Options:",
|
|
4306
|
+
" --panel <panel-id> Terminal panel id",
|
|
4307
|
+
" --yes Skip the confirmation prompt",
|
|
4308
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
4309
|
+
" --json Print machine-readable output"
|
|
4310
|
+
],
|
|
4311
|
+
"panes pause": [
|
|
4312
|
+
"Usage:",
|
|
4313
|
+
" runpane panes pause --pane <pane-id> --yes [--json] [--pane-dir <path>]",
|
|
4314
|
+
"",
|
|
4315
|
+
"Pauses every terminal tab of a Pane, run scripts included, until `runpane panes resume`",
|
|
4316
|
+
"resumes it. A Pane is paused while all of its terminal tabs are; `panes list` reports it.",
|
|
4317
|
+
"Stopping works the way quitting Pane does, without asking, even while an agent is working.",
|
|
4318
|
+
"Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts",
|
|
4319
|
+
"and updates, and `panels resume --session` and `--all-stopped` skip it.",
|
|
4320
|
+
"`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.",
|
|
4321
|
+
"",
|
|
4322
|
+
"Options:",
|
|
4323
|
+
" --pane <pane-id> Pane id",
|
|
4324
|
+
" --yes Skip the confirmation prompt",
|
|
4325
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
4326
|
+
" --json Print machine-readable output"
|
|
4327
|
+
],
|
|
4328
|
+
"panes resume": [
|
|
4329
|
+
"Usage:",
|
|
4330
|
+
" runpane panes resume --pane <pane-id> --yes [--json] [--pane-dir <path>]",
|
|
4331
|
+
"",
|
|
4332
|
+
"Restarts a Pane's paused tabs in place, the same restart `panels resume` runs: agents",
|
|
4333
|
+
"relaunch in their saved conversations and report ready as usual. Running tabs are left alone.",
|
|
4334
|
+
"`runpane watch` reports each resumed tab as panel.unpaused.",
|
|
4335
|
+
"",
|
|
4336
|
+
"Options:",
|
|
4337
|
+
" --pane <pane-id> Pane id",
|
|
4338
|
+
" --yes Skip the confirmation prompt",
|
|
4339
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
4340
|
+
" --json Print machine-readable output"
|
|
4341
|
+
],
|
|
4342
|
+
"sessions pause": [
|
|
4343
|
+
"Usage:",
|
|
4344
|
+
" runpane sessions pause --session <id|name> [--json] [--pane-dir <path>]",
|
|
4345
|
+
"",
|
|
4346
|
+
"Pauses a Session's chat and the terminal tabs of every Pane in it that is not archived,",
|
|
4347
|
+
"until `runpane sessions resume` resumes them.",
|
|
4348
|
+
"Stopping works the way quitting Pane does, without asking, even while an agent is working.",
|
|
4349
|
+
"Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts",
|
|
4350
|
+
"and updates, and `panels resume --session` and `--all-stopped` skip it.",
|
|
4351
|
+
"`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.",
|
|
4352
|
+
"",
|
|
4353
|
+
"Options:",
|
|
4354
|
+
" --session <id|name> Named Session id or exact name",
|
|
4355
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
4356
|
+
" --json Print machine-readable output"
|
|
4357
|
+
],
|
|
4358
|
+
"sessions resume": [
|
|
4359
|
+
"Usage:",
|
|
4360
|
+
" runpane sessions resume --session <id|name> [--json] [--pane-dir <path>]",
|
|
4361
|
+
"",
|
|
4362
|
+
"Restarts the paused tabs of a Session's chat and Panes in their saved conversations.",
|
|
4363
|
+
"Running tabs are left alone. An archived Session is refused; restore it first.",
|
|
4364
|
+
"`runpane watch` reports each resumed tab as panel.unpaused.",
|
|
4365
|
+
"",
|
|
4366
|
+
"Options:",
|
|
4367
|
+
" --session <id|name> Named Session id or exact name",
|
|
4368
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
4369
|
+
" --json Print machine-readable output"
|
|
3981
4370
|
]
|
|
3982
4371
|
},
|
|
3983
4372
|
"pip": {
|
|
@@ -3999,6 +4388,11 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3999
4388
|
" runpane repos get [--repo <selector>] [--json]",
|
|
4000
4389
|
" runpane repos update --repo <selector> [setting flags] --yes [--dry-run] [--json]",
|
|
4001
4390
|
" runpane repos rename --repo <selector> --name <name>",
|
|
4391
|
+
" runpane secrets list [--project <project>] [--json]",
|
|
4392
|
+
" runpane secrets set --project <project> --name <name> --yes (value on stdin)",
|
|
4393
|
+
" runpane secrets delete --project <project> --name <name> --yes",
|
|
4394
|
+
" runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>] [--file <name>] -- <command>...",
|
|
4395
|
+
" runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]",
|
|
4002
4396
|
" runpane panes list [--repo <selector>] [--json]",
|
|
4003
4397
|
" runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]",
|
|
4004
4398
|
" runpane workspace state [--repo <selector>] [--json]",
|
|
@@ -4007,6 +4401,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4007
4401
|
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [--base-branch <branch>] [--source user|agent] [--focus|--no-focus] [--wait-ready]",
|
|
4008
4402
|
" runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes",
|
|
4009
4403
|
" runpane panes archive --session <id|name> --merged [--remove-worktree] [--dry-run] --yes",
|
|
4404
|
+
" runpane panes pause|resume --pane <pane-id> --yes [--json]",
|
|
4010
4405
|
" python -m runpane panels create --pane <pane-id> --agent <codex|claude|cursor> [--source user|agent] [--focus|--no-focus] --yes",
|
|
4011
4406
|
" runpane panels list --pane <pane-id> [--json]",
|
|
4012
4407
|
" runpane panels output --panel <panel-id> [--limit <count>] [--json]",
|
|
@@ -4016,6 +4411,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4016
4411
|
" runpane panels submit-composer --panel <panel-id> [--strategy auto|codex-ctrl-enter|enter|tab] --yes [--json]",
|
|
4017
4412
|
" runpane panels wait --panel <panel-id> [--for initialized|ready|idle|text] [--json]",
|
|
4018
4413
|
" runpane panels resume (--panel <panel-id>|--session <id|name>|--all-stopped) [--wait-ready] --yes [--json]",
|
|
4414
|
+
" runpane panels close --panel <panel-id> --yes [--json]",
|
|
4415
|
+
" runpane panels pause --panel <panel-id> --yes [--json]",
|
|
4019
4416
|
" runpane panels last-message --panel <panel-id> [--limit <count>] [--json]",
|
|
4020
4417
|
" runpane panes git-status --pane <pane-id> [--json] [--pane-dir <path>]",
|
|
4021
4418
|
" runpane panes commit --pane <pane-id> --message <message> --yes [--json] [--pane-dir <path>]",
|
|
@@ -4216,6 +4613,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4216
4613
|
" --worktree-folder <path>",
|
|
4217
4614
|
" --open-ide-command <command>",
|
|
4218
4615
|
" --system-prompt <text>",
|
|
4616
|
+
" --env <json>",
|
|
4617
|
+
" --env-remove <name,...>",
|
|
4219
4618
|
" --clear <setting,...>",
|
|
4220
4619
|
" --from-json <path|->",
|
|
4221
4620
|
" --dry-run",
|
|
@@ -4236,48 +4635,136 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4236
4635
|
" --json Print machine-readable output",
|
|
4237
4636
|
" --yes Skip confirmation for mutating commands"
|
|
4238
4637
|
],
|
|
4239
|
-
"
|
|
4240
|
-
"Pane session commands.",
|
|
4241
|
-
"",
|
|
4638
|
+
"secrets": [
|
|
4242
4639
|
"Usage:",
|
|
4243
|
-
" runpane
|
|
4640
|
+
" python -m runpane secrets <list|set|delete|exec|request> [options]",
|
|
4641
|
+
"",
|
|
4642
|
+
"Pane secrets are named values, addressed as <project>/<NAME>, that every machine you saved in Pane keeps a copy of.",
|
|
4643
|
+
"Agents use them only through `runpane secrets exec`, which puts them in a command's environment. No command prints a value.",
|
|
4644
|
+
"Ask the person for a new one with `runpane secrets request`; they type it on a masked card.",
|
|
4244
4645
|
"",
|
|
4245
4646
|
"Commands:",
|
|
4246
|
-
" runpane
|
|
4247
|
-
" runpane
|
|
4248
|
-
" runpane
|
|
4249
|
-
" runpane
|
|
4250
|
-
" runpane
|
|
4251
|
-
" runpane panes pin --pane <pane-id> --yes [--dry-run] [--json]",
|
|
4252
|
-
" runpane panes unpin --pane <pane-id> --yes [--dry-run] [--json]",
|
|
4253
|
-
" runpane panes rename --pane <pane-id> --name <new-name> --yes [--dry-run] [--json]",
|
|
4647
|
+
" python -m runpane secrets list [--project <project>] [--json]",
|
|
4648
|
+
" python -m runpane secrets set --project <project> --name <name> --yes (value on stdin)",
|
|
4649
|
+
" python -m runpane secrets delete --project <project> --name <name> --yes",
|
|
4650
|
+
" python -m runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>] [--file <name>] -- <command>...",
|
|
4651
|
+
" python -m runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]",
|
|
4254
4652
|
"",
|
|
4255
|
-
"
|
|
4653
|
+
"A project is up to 64 letters, digits, \".\", \"_\" or \"-\". A name follows environment variable rules: letters, digits and underscores, not starting with a digit. PATH, WORKTREE_PATH and PANE_* are reserved."
|
|
4256
4654
|
],
|
|
4257
|
-
"
|
|
4655
|
+
"secrets list": [
|
|
4258
4656
|
"Usage:",
|
|
4259
|
-
" runpane
|
|
4260
|
-
"",
|
|
4261
|
-
"Lists Pane sessions. Pass --repo to limit results to one saved repository.",
|
|
4657
|
+
" python -m runpane secrets list [--project <project>] [--json] [--pane-dir <path>]",
|
|
4262
4658
|
"",
|
|
4263
|
-
"
|
|
4659
|
+
"Lists the Pane secrets on this machine: project, name, when each was last set, and on which machine. It never shows a value.",
|
|
4264
4660
|
"",
|
|
4265
4661
|
"Options:",
|
|
4266
|
-
" --
|
|
4267
|
-
" --
|
|
4268
|
-
" --
|
|
4662
|
+
" --project <project> Only this project's secrets",
|
|
4663
|
+
" --json Print machine-readable output",
|
|
4664
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
4269
4665
|
],
|
|
4270
|
-
"
|
|
4666
|
+
"secrets set": [
|
|
4271
4667
|
"Usage:",
|
|
4272
|
-
" runpane
|
|
4668
|
+
" printf %s \"$VALUE\" | python -m runpane secrets set --project <project> --name <name> --yes [--json]",
|
|
4273
4669
|
"",
|
|
4274
|
-
"
|
|
4670
|
+
"Saves the value on stdin as the Pane secret <project>/<name>, adding it or replacing the saved value. One trailing newline is dropped. Pane syncs it to your other machines.",
|
|
4671
|
+
"Agents should not set values they were given in chat. Ask the person with `runpane secrets request` instead.",
|
|
4275
4672
|
"",
|
|
4276
4673
|
"Options:",
|
|
4277
|
-
" --
|
|
4278
|
-
" --
|
|
4279
|
-
" --
|
|
4280
|
-
" --json"
|
|
4674
|
+
" --project <project> Secret project",
|
|
4675
|
+
" --name <name> Secret name, such as STRIPE_SECRET_KEY",
|
|
4676
|
+
" --yes Skip confirmation for mutating commands",
|
|
4677
|
+
" --json Print machine-readable output",
|
|
4678
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
4679
|
+
],
|
|
4680
|
+
"secrets delete": [
|
|
4681
|
+
"Usage:",
|
|
4682
|
+
" python -m runpane secrets delete --project <project> --name <name> --yes [--json]",
|
|
4683
|
+
"",
|
|
4684
|
+
"Deletes the Pane secret <project>/<name>. Your other machines delete it the next time they sync.",
|
|
4685
|
+
"",
|
|
4686
|
+
"Options:",
|
|
4687
|
+
" --project <project> Secret project",
|
|
4688
|
+
" --name <name> Secret name",
|
|
4689
|
+
" --yes Skip confirmation for mutating commands",
|
|
4690
|
+
" --json Print machine-readable output",
|
|
4691
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
4692
|
+
],
|
|
4693
|
+
"secrets exec": [
|
|
4694
|
+
"Usage:",
|
|
4695
|
+
" python -m runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>]... [--file <name>]... -- <command>...",
|
|
4696
|
+
"",
|
|
4697
|
+
"Runs the command with Pane secrets added to your environment, and exits with its exit code. Each secret is injected under its own name and overrides a variable of that name.",
|
|
4698
|
+
"With no --only, --env or --file, it injects every secret in the project.",
|
|
4699
|
+
"",
|
|
4700
|
+
"Options:",
|
|
4701
|
+
" --project <project> Secret project",
|
|
4702
|
+
" --only <name,...> Inject only these secrets",
|
|
4703
|
+
" --env <VAR=NAME> Inject secret NAME as VAR; repeatable",
|
|
4704
|
+
" --file <name> Write secret NAME to a private temp file and set NAME to its path; repeatable. The file is removed when the command exits",
|
|
4705
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
4706
|
+
"",
|
|
4707
|
+
"Example:",
|
|
4708
|
+
" python -m runpane secrets exec --project stripe --only STRIPE_SECRET_KEY -- pnpm test:webhooks"
|
|
4709
|
+
],
|
|
4710
|
+
"secrets request": [
|
|
4711
|
+
"Usage:",
|
|
4712
|
+
" python -m runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]",
|
|
4713
|
+
"",
|
|
4714
|
+
"Asks the person for a secret on a masked Notify card. What they type is saved as the Pane secret <project>/<name>; you get back only \"saved\" or \"declined\". Then use it with `runpane secrets exec`.",
|
|
4715
|
+
"A waiting result means the card is still open: run `runpane notify --resume <id>` to keep waiting.",
|
|
4716
|
+
"",
|
|
4717
|
+
"Options:",
|
|
4718
|
+
" --project <project> Secret project",
|
|
4719
|
+
" --name <name> Secret name, such as STRIPE_SECRET_KEY",
|
|
4720
|
+
" --title <text> What the secret is, such as \"Stripe test secret key\"",
|
|
4721
|
+
" --reason <text> What you need it for",
|
|
4722
|
+
" --json Print machine-readable output",
|
|
4723
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
4724
|
+
],
|
|
4725
|
+
"panes": [
|
|
4726
|
+
"Pane session commands.",
|
|
4727
|
+
"",
|
|
4728
|
+
"Usage:",
|
|
4729
|
+
" runpane panes <command> [options]",
|
|
4730
|
+
"",
|
|
4731
|
+
"Commands:",
|
|
4732
|
+
" runpane panes list [--repo <selector>] [--json]",
|
|
4733
|
+
" runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]",
|
|
4734
|
+
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [options]",
|
|
4735
|
+
" runpane panes archive --pane <pane-id> [--force] [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]",
|
|
4736
|
+
" runpane panes archive --session <id|name> --merged [--remove-worktree] [--dry-run] --yes [--json]",
|
|
4737
|
+
" runpane panes pin --pane <pane-id> --yes [--dry-run] [--json]",
|
|
4738
|
+
" runpane panes unpin --pane <pane-id> --yes [--dry-run] [--json]",
|
|
4739
|
+
" runpane panes rename --pane <pane-id> --name <new-name> --yes [--dry-run] [--json]",
|
|
4740
|
+
" runpane panes pause|resume --pane <pane-id> --yes [--json]",
|
|
4741
|
+
"",
|
|
4742
|
+
"Run \"runpane help panes <command>\" for command-specific options."
|
|
4743
|
+
],
|
|
4744
|
+
"panes list": [
|
|
4745
|
+
"Usage:",
|
|
4746
|
+
" runpane panes list [--repo <selector>] [--json]",
|
|
4747
|
+
"",
|
|
4748
|
+
"Lists Pane sessions. Pass --repo to limit results to one saved repository.",
|
|
4749
|
+
"",
|
|
4750
|
+
"status is running while a tool or agent terminal is live; the dock shell does not count. agentState is the most urgent state of the live agent panels: blocked, working, ready, or none.",
|
|
4751
|
+
"",
|
|
4752
|
+
"Options:",
|
|
4753
|
+
" --repo <selector>",
|
|
4754
|
+
" --pane-dir <path>",
|
|
4755
|
+
" --json"
|
|
4756
|
+
],
|
|
4757
|
+
"panes cost": [
|
|
4758
|
+
"Usage:",
|
|
4759
|
+
" runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]",
|
|
4760
|
+
"",
|
|
4761
|
+
"Reports estimated token costs per Pane for the last 30 days, including per-model and cache-efficiency details.",
|
|
4762
|
+
"",
|
|
4763
|
+
"Options:",
|
|
4764
|
+
" --repo <selector>",
|
|
4765
|
+
" --pane <pane-id>",
|
|
4766
|
+
" --pane-dir <path>",
|
|
4767
|
+
" --json"
|
|
4281
4768
|
],
|
|
4282
4769
|
"workspace": [
|
|
4283
4770
|
"Workspace commands: this machine's Panes, and your other machines over Tailscale.",
|
|
@@ -4305,8 +4792,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4305
4792
|
"What --follow does by default (see defaults.watch.follow in the contract):",
|
|
4306
4793
|
" prints WATCH OK once when armed, then one line per event, with no heartbeats",
|
|
4307
4794
|
" kinds: agent.report, agent.ready, agent.blocked, agent.idle, panel.exited, panel.stopped,",
|
|
4308
|
-
"
|
|
4309
|
-
" pr.base_changed, pr.base_deleted",
|
|
4795
|
+
" panel.paused, panel.unpaused, pane.gone, pane.associated, pane.detached,",
|
|
4796
|
+
" pr.conflicted, pr.checks, pr.merged, pr.base_changed, pr.base_deleted",
|
|
4310
4797
|
" READY after 3m of quiet; BLOCKED after 30s; other lines batched at most every 10m",
|
|
4311
4798
|
" (REPORT, BLOCKED, conflicts, base changes, and failed checks arrive at once)",
|
|
4312
4799
|
" IDLE reminders at 10m, 30m, 1h, 3h, then daily",
|
|
@@ -4418,7 +4905,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4418
4905
|
" runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--remove-worktree] [--dry-run] --yes [--json]",
|
|
4419
4906
|
" runpane panes archive --session <id|name> --merged [--remove-worktree] [--source user|agent] [--dry-run] --yes [--json]",
|
|
4420
4907
|
"",
|
|
4421
|
-
"Archives a Pane (session) exactly like the UI Archive action, including removal of its Pane-managed git worktree. Refreshes the configured upstream before checking for unpushed commits and reports exact commit evidence. When the branch has no upstream or its upstream is gone, a merged GitHub pull request whose head is HEAD (found with `gh`) counts as pushed. Refuses unsafe archives unless --force is passed. An adopted worktree is kept unless --remove-worktree is passed, which applies the same safety check and removal. The local branch is always kept. With --session and --merged, archives every Pane associated with the Session whose work is clean and pushed or merged, and reports a reason for each Pane it skips. Use --dry-run to print the evidence without mutating Pane state.",
|
|
4908
|
+
"Archives a Pane (session) exactly like the UI Archive action, including removal of its Pane-managed git worktree. Refreshes the configured upstream before checking for unpushed commits and reports exact commit evidence. When the branch has no upstream or its upstream is gone, a merged GitHub pull request whose head is HEAD (found with `gh`) counts as pushed. Refuses unsafe archives unless --force is passed. An adopted worktree is kept unless --remove-worktree is passed, which applies the same safety check and removal. The local branch is always kept. With --session and --merged, archives every Pane associated with the Session whose work is clean and pushed or merged, and reports a reason for each Pane it skips. Use --dry-run to print the evidence without mutating Pane state. Refuses a Pane with an agent mid-turn or waiting for an answer (agent-busy), or with a tab holding unsent composer text or unsaved editor edits (unsent-input), unless --force is passed; the --session sweep skips it.",
|
|
4422
4909
|
"",
|
|
4423
4910
|
"Options:",
|
|
4424
4911
|
" --pane <pane-id>",
|
|
@@ -4503,6 +4990,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4503
4990
|
" runpane panels submit-composer --panel <panel-id> [--strategy auto|codex-ctrl-enter|enter|tab] --yes [--json]",
|
|
4504
4991
|
" runpane panels wait --panel <panel-id> [--for initialized|ready|idle|text] [--json]",
|
|
4505
4992
|
" runpane panels resume (--panel <panel-id>|--session <id|name>|--all-stopped) [--wait-ready] --yes [--json]",
|
|
4993
|
+
" runpane panels close --panel <panel-id> --yes [--json]",
|
|
4994
|
+
" runpane panels pause --panel <panel-id> --yes [--json]",
|
|
4506
4995
|
" runpane panels last-message --panel <panel-id> [--limit <count>] [--json]",
|
|
4507
4996
|
"",
|
|
4508
4997
|
"Run \"runpane help panels create\" or another command-specific topic for options."
|
|
@@ -5060,7 +5549,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5060
5549
|
],
|
|
5061
5550
|
"sessions": [
|
|
5062
5551
|
"Usage:",
|
|
5063
|
-
" runpane sessions <list|create|get|update|set-agent|associate|detach|overview> [options]",
|
|
5552
|
+
" runpane sessions <list|create|get|update|set-agent|associate|detach|overview|pause|resume> [options]",
|
|
5064
5553
|
"",
|
|
5065
5554
|
"Use a named Session to keep context, activity, and evidence attached to one orchestration thread."
|
|
5066
5555
|
],
|
|
@@ -5125,9 +5614,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5125
5614
|
"--resume), the same restart the app runs when it shows the panel. Nothing takes focus. A panel",
|
|
5126
5615
|
"whose agent exited back to its shell counts as stopped: its saved command runs again in that",
|
|
5127
5616
|
"shell. A panel that is already running is left alone and reported as already-running.",
|
|
5617
|
+
"A paused panel resumes and loses its paused mark.",
|
|
5128
5618
|
"",
|
|
5129
5619
|
"With --session or --all-stopped it resumes every stopped agent panel in that scope (a",
|
|
5130
|
-
"Session's associated Panes, or every Pane), --concurrency at a time, skips running ones,",
|
|
5620
|
+
"Session's associated Panes, or every Pane), --concurrency at a time, skips running and paused ones,",
|
|
5131
5621
|
"and returns one result per panel. With --wait-ready the resumed panels then wait together,",
|
|
5132
5622
|
"and each result carries its own readiness and blocker. One panel failing does not stop the others.",
|
|
5133
5623
|
"",
|
|
@@ -5159,6 +5649,25 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5159
5649
|
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
5160
5650
|
" --json Print machine-readable output"
|
|
5161
5651
|
],
|
|
5652
|
+
"panels close": [
|
|
5653
|
+
"Close a tab in a Pane, stopping its process, as closing the tab in the app does.",
|
|
5654
|
+
"",
|
|
5655
|
+
"Usage:",
|
|
5656
|
+
" python -m runpane panels close --panel <panel-id> --yes [--json] [--pane-dir <path>]",
|
|
5657
|
+
"",
|
|
5658
|
+
"Closes one tab (agent, terminal, browser or editor) the way its close button in the app does:",
|
|
5659
|
+
"a terminal tab's process is stopped and the tab is removed from every window showing the Pane.",
|
|
5660
|
+
"A Pane's permanent tabs cannot be closed. Closing the tab this command runs in stops this command too.",
|
|
5661
|
+
"",
|
|
5662
|
+
"Options:",
|
|
5663
|
+
" --panel <panel-id> Panel id, from runpane panels list",
|
|
5664
|
+
" --yes Skip the confirmation prompt",
|
|
5665
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
5666
|
+
" --json Print machine-readable output",
|
|
5667
|
+
"",
|
|
5668
|
+
"Examples:",
|
|
5669
|
+
" python -m runpane panels close --panel <panel-id> --yes --json"
|
|
5670
|
+
],
|
|
5162
5671
|
"lock": [
|
|
5163
5672
|
"Usage:",
|
|
5164
5673
|
" python -m runpane lock <acquire|release|list> [options]",
|
|
@@ -5459,6 +5968,83 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5459
5968
|
" --all Clear every item of the Session",
|
|
5460
5969
|
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
5461
5970
|
" --json Print machine-readable output"
|
|
5971
|
+
],
|
|
5972
|
+
"panels pause": [
|
|
5973
|
+
"Usage:",
|
|
5974
|
+
" runpane panels pause --panel <panel-id> --yes [--json] [--pane-dir <path>]",
|
|
5975
|
+
"",
|
|
5976
|
+
"Pauses one terminal tab: stops its process and marks it paused until",
|
|
5977
|
+
"`runpane panels resume --panel <panel-id>`, or its Pane or Session, resumes it.",
|
|
5978
|
+
"Stopping works the way quitting Pane does, without asking, even while an agent is working.",
|
|
5979
|
+
"Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts",
|
|
5980
|
+
"and updates, and `panels resume --session` and `--all-stopped` skip it.",
|
|
5981
|
+
"`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.",
|
|
5982
|
+
"",
|
|
5983
|
+
"Options:",
|
|
5984
|
+
" --panel <panel-id> Terminal panel id",
|
|
5985
|
+
" --yes Skip the confirmation prompt",
|
|
5986
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
5987
|
+
" --json Print machine-readable output"
|
|
5988
|
+
],
|
|
5989
|
+
"panes pause": [
|
|
5990
|
+
"Usage:",
|
|
5991
|
+
" runpane panes pause --pane <pane-id> --yes [--json] [--pane-dir <path>]",
|
|
5992
|
+
"",
|
|
5993
|
+
"Pauses every terminal tab of a Pane, run scripts included, until `runpane panes resume`",
|
|
5994
|
+
"resumes it. A Pane is paused while all of its terminal tabs are; `panes list` reports it.",
|
|
5995
|
+
"Stopping works the way quitting Pane does, without asking, even while an agent is working.",
|
|
5996
|
+
"Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts",
|
|
5997
|
+
"and updates, and `panels resume --session` and `--all-stopped` skip it.",
|
|
5998
|
+
"`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.",
|
|
5999
|
+
"",
|
|
6000
|
+
"Options:",
|
|
6001
|
+
" --pane <pane-id> Pane id",
|
|
6002
|
+
" --yes Skip the confirmation prompt",
|
|
6003
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
6004
|
+
" --json Print machine-readable output"
|
|
6005
|
+
],
|
|
6006
|
+
"panes resume": [
|
|
6007
|
+
"Usage:",
|
|
6008
|
+
" runpane panes resume --pane <pane-id> --yes [--json] [--pane-dir <path>]",
|
|
6009
|
+
"",
|
|
6010
|
+
"Restarts a Pane's paused tabs in place, the same restart `panels resume` runs: agents",
|
|
6011
|
+
"relaunch in their saved conversations and report ready as usual. Running tabs are left alone.",
|
|
6012
|
+
"`runpane watch` reports each resumed tab as panel.unpaused.",
|
|
6013
|
+
"",
|
|
6014
|
+
"Options:",
|
|
6015
|
+
" --pane <pane-id> Pane id",
|
|
6016
|
+
" --yes Skip the confirmation prompt",
|
|
6017
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
6018
|
+
" --json Print machine-readable output"
|
|
6019
|
+
],
|
|
6020
|
+
"sessions pause": [
|
|
6021
|
+
"Usage:",
|
|
6022
|
+
" runpane sessions pause --session <id|name> [--json] [--pane-dir <path>]",
|
|
6023
|
+
"",
|
|
6024
|
+
"Pauses a Session's chat and the terminal tabs of every Pane in it that is not archived,",
|
|
6025
|
+
"until `runpane sessions resume` resumes them.",
|
|
6026
|
+
"Stopping works the way quitting Pane does, without asking, even while an agent is working.",
|
|
6027
|
+
"Each agent's conversation is kept. A paused tab stays stopped through clicks, app restarts",
|
|
6028
|
+
"and updates, and `panels resume --session` and `--all-stopped` skip it.",
|
|
6029
|
+
"`runpane watch` reports each tab as panel.paused under --follow, to a Session-scoped watch, or when --kinds lists it.",
|
|
6030
|
+
"",
|
|
6031
|
+
"Options:",
|
|
6032
|
+
" --session <id|name> Named Session id or exact name",
|
|
6033
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
6034
|
+
" --json Print machine-readable output"
|
|
6035
|
+
],
|
|
6036
|
+
"sessions resume": [
|
|
6037
|
+
"Usage:",
|
|
6038
|
+
" runpane sessions resume --session <id|name> [--json] [--pane-dir <path>]",
|
|
6039
|
+
"",
|
|
6040
|
+
"Restarts the paused tabs of a Session's chat and Panes in their saved conversations.",
|
|
6041
|
+
"Running tabs are left alone. An archived Session is refused; restore it first.",
|
|
6042
|
+
"`runpane watch` reports each resumed tab as panel.unpaused.",
|
|
6043
|
+
"",
|
|
6044
|
+
"Options:",
|
|
6045
|
+
" --session <id|name> Named Session id or exact name",
|
|
6046
|
+
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
6047
|
+
" --json Print machine-readable output"
|
|
5462
6048
|
]
|
|
5463
6049
|
}
|
|
5464
6050
|
},
|
|
@@ -5534,7 +6120,13 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5534
6120
|
"runpane repos get --repo Pane --json",
|
|
5535
6121
|
"runpane repos update --repo Pane --build-script \"pnpm install\" --run-script \"pnpm dev\" --worktree-folder ../pane-worktrees --yes --json",
|
|
5536
6122
|
"runpane repos update --repo Pane --clear run-script --yes --json",
|
|
6123
|
+
"runpane repos update --repo Pane --env '[{\"key\":\"API_URL\",\"source\":\"plain\",\"value\":\"https://api.test\"},{\"key\":\"STRIPE_KEY\",\"source\":\"secret\",\"project\":\"stripe\",\"name\":\"STRIPE_SECRET_KEY\"}]' --env-remove OLD_TOKEN --yes --json",
|
|
5537
6124
|
"runpane repos rename --repo 3 --name Lev --yes --json",
|
|
6125
|
+
"runpane secrets list --json",
|
|
6126
|
+
"printf %s \"$VALUE\" | runpane secrets set --project stripe --name STRIPE_SECRET_KEY --yes",
|
|
6127
|
+
"runpane secrets delete --project stripe --name STRIPE_SECRET_KEY --yes --json",
|
|
6128
|
+
"runpane secrets exec --project stripe --only STRIPE_SECRET_KEY -- pnpm test:webhooks",
|
|
6129
|
+
"runpane secrets request --project stripe --name STRIPE_SECRET_KEY --title \"Stripe test secret key\" --reason \"Run the webhook tests against Stripe test mode.\" --json",
|
|
5538
6130
|
"runpane panes list --repo active --json",
|
|
5539
6131
|
"runpane panes cost --pane <pane-id> --json",
|
|
5540
6132
|
"runpane panes create --repo active --name issue-252 --agent <agent> --prompt \"Kick off the discussion skill for issue 252\" --source agent --no-focus --wait-ready --yes --json",
|
|
@@ -5568,6 +6160,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5568
6160
|
"runpane panels last-message --panel <panel-id> --json",
|
|
5569
6161
|
"runpane panels resume --panel <panel-id> --wait-ready --yes --json",
|
|
5570
6162
|
"runpane panels resume --session <id|name> --wait-ready --yes --json",
|
|
6163
|
+
"runpane panels close --panel <panel-id> --yes --json",
|
|
6164
|
+
"runpane panes pause --pane <pane-id> --yes --json",
|
|
6165
|
+
"runpane panes resume --pane <pane-id> --yes --json",
|
|
5571
6166
|
"runpane docs search --query \"archive a pane\" --json",
|
|
5572
6167
|
"runpane links create --pane <pane-id> --json",
|
|
5573
6168
|
"runpane panes git-status --pane <pane-id> --json",
|
|
@@ -5597,13 +6192,14 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5597
6192
|
"`runpane repos list` connects to the running local Pane daemon and prints saved repository records.",
|
|
5598
6193
|
"`runpane repos add` registers an existing git repository with the running local Pane daemon. It does not create directories or initialize git repositories by default.",
|
|
5599
6194
|
"`runpane repos get` prints a saved repository's Project Settings. Each script shows its saved value, the fallback from the repository's config file, and the one Pane will run.",
|
|
5600
|
-
"`runpane repos update` changes a saved repository's Project Settings through the same save as the Project Settings dialog. It requires `--yes`, supports `--dry-run`,
|
|
6195
|
+
"`runpane repos update` changes a saved repository's Project Settings through the same save as the Project Settings dialog. It requires `--yes`, supports `--dry-run`, clears settings with `--clear`, and adds, replaces or removes project environment variables with `--env` and `--env-remove`.",
|
|
5601
6196
|
"`runpane repos rename` trims and sets a saved repository's display name, the same rename as the repository settings in the app, and returns the updated repository record.",
|
|
6197
|
+
"`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 ...`.",
|
|
5602
6198
|
"`runpane panes list` lists Pane sessions, optionally scoped to one saved repository.",
|
|
5603
6199
|
"`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.",
|
|
5604
6200
|
"`runpane panes create` connects to the running local Pane daemon, resolves the requested saved base repository, creates user-visible Pane sessions backed by Pane-managed worktrees/branches, opens terminal-backed tool tabs, and optionally sends initial input to the started tool. Built-in agent panes and `--source agent` default to background/no-focus unless `--focus` is passed. New Panes are pinned into the UI's favorite/pin set by default, except when the CLI runs inside a Session orchestrator (`PANE_ORCHESTRATION_SESSION_ID`), where child worktrees default to unpinned. Explicit `--pinned` / `--no-pinned` override creation defaults. First Session association clears an existing pin, including an explicit creation pin; use `panes pin` after association to pin a child. This avoids duplicating Session children in the global pinned list. Manual pins applied afterward are preserved. Panes created interactively in the Pane UI are unaffected. Inside a Session orchestrator (`PANE_ORCHESTRATION_SESSION_ID` set), new Panes are associated with that Session automatically; `--no-associate` opts out. A failed association is reported on the item and never undoes the Pane.",
|
|
5605
6201
|
"For `panes create --wait-ready` (and `panels create`, `panes adopt --launch`), ready means an identified agent at its own input box: declared with `--agent`, or detected from the command, its foreground process or its screen. A `--tool-command` that never shows a supported agent is not ready: `readiness.ok` is false with `readiness.reason.code` `no-agent-detected` after the timeout, or `command-exited` as soon as the command exits back to the shell, and nothing is typed into it. `agent-not-ready` means the agent was detected but its input box was not ready in time. CLI readiness is confirmed on consecutive polls. Codex also requires a recognized configured model or context footer below its live composer; its provisional startup composer is not ready. Hidden or unrecognized Codex status lines conservatively time out rather than prove readiness. Startup prompts return blocked with the prompt's own text in blocked.message and a suggestedCommand, and Pane never answers them, apart from Claude's folder trust for a Session's own folder: first-run trust and daemon dialogs and Agent Farm's `Trust this repository workspace? [y/N]` as blocked.kind=first-run-dialog; Codex's security setup banner and any other prompt, including a wrapper's or shell's `[y/N]` before the agent appears, as agent-prompt. A starting message blocked this way is held and sent once the prompt is answered and the agent's input box is ready. Every create with a starting message returns `initialInput`. Pane stages the text in the composer, presses the agent's submit key separately (Ctrl+Enter for Codex, declared or detected), and checks where it went: `initialInput.delivery` is `taken` or `queued` (from the agent's transcript or its screen), `in-composer`, or `unknown` (`argv` means a prompt was routed at launch; Pane gives the transcript up to 10 seconds before settling on unknown). `initialInput.verifiedSubmitted` is true exactly when it is `taken` or `queued`, and the create's `ok` is false unless a Claude or Codex starting message is verified. Cursor and OpenCode have no acceptance probe: their delivery stays `unknown` with a delivery.message saying so, `verification: unverifiable`, and `ok` follows readiness. Without `--wait-ready` the create returns at once with `initialInput.verifiedSubmitted: false`, a delivery.message saying the call did not wait, and a `panels wait` nextCommand; Pane still sends the message once the agent is identified and at its input box, and gives up without typing it if no supported agent appears within 30 seconds.",
|
|
5606
|
-
"`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.",
|
|
6202
|
+
"`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.",
|
|
5607
6203
|
"`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.",
|
|
5608
6204
|
"`runpane panes focus` raises the Pane window and selects a Pane (and optionally one of its panels) exactly like clicking it in the UI. Because it steals the user's window focus, run it only on an explicit user request to open, focus, show, or switch to a Pane; never focus a Pane proactively, the same doctrine that keeps `panes create` background/no-focus for `--source agent`.",
|
|
5609
6205
|
"`runpane panels open` opens a URL or a file from the Pane worktree as a tab in an existing Pane (default: the calling panel's Pane from `PANE_SESSION_ID`), in split view beside the agent unless `--tab` is passed. Files open in an editor tab with read-only previews for supported formats, and HTML opens as editable source; an existing tab showing the same target is reused. It brings the tab forward for clients already showing that Pane, and never raises or focuses the Pane window or switches anyone's Pane.",
|
|
@@ -5635,7 +6231,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5635
6231
|
"Work sent to an agent through `runpane panels create`, `panes create` (with a prompt), or `panels submit` records that the sender waits for a `runpane report`, unless the request says `--source user` (Pane's own UI does) or `--no-expect-report`; `--expect-report` asks for one anyway. Typing into a tab never does. If the agent then goes ready or its panel exits without a report, Pane journals one opt-in `agent.report.missing` entry (`MISSING REPORT <pane-name> pane <pane-id> panel <panel-id> ready|exited`) whose `lastOutput` is the agent's last transcript reply or last screen lines; it skips the `--min-interval` batch and reaches only watchers that list it in `--kinds`. While the agent's screen shows background work (Claude's `· 1 shell` footer or a running background subagent row, Codex's `background terminal running` line), Pane waits and looks again every 10 seconds instead. `agent.blocked` entries carry `screenLines`, the prompt the agent waits on, and are journalled once a panel has stayed blocked for 2 seconds.",
|
|
5636
6232
|
"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.",
|
|
5637
6233
|
"`runpane inbox [--session <id|name>] [--json]` lists what a Session's orchestrator has not acknowledged: reports, missing reports, and on-screen questions (a question clears itself once its panel moves on). `runpane inbox ack <item-id>...` or `--all --session <id|name>` clears items. An orchestrator runs it when it starts or resumes, to catch anything that finished while it was down; Pane never injects the inbox into its turns.",
|
|
5638
|
-
"`runpane panels resume --panel <panel-id>` restarts a stopped terminal panel in place, keeping its panel id: an agent panel relaunches with its resume command (Claude `--resume <session>`, `codex resume <session>`, Agent Farm `agent-farm run <profile> --resume <id>` with the ID Agent Farm printed; the result's `agentSessionId` names it), the same restart the app runs when it shows the panel, without taking focus. A running panel is left alone (`action: \"already-running\"`); one whose agent exited back to its shell is stopped, and resume runs its saved command again in that shell (`action: \"resumed\"`). If that command exits at once, `--wait-ready` returns `ok: false` with `reason.code: \"command-exited\"` and the error line it printed. `--session <id|name>` or `--all-stopped` resumes every stopped agent panel in that scope, `--concurrency` at a time (default 3), then, with `--wait-ready`, waits on the resumed panels together, and returns `{ resumed, alreadyRunning, failed, notReady, items[] }` with each panel's own result, readiness, and blocker or error. After a Pane restart, or once an agent exits back to its shell, stopped panels report `running: false` (`initialized` stays true while the shell lives) in `panels list`, `panels screen`, and `panels wait` (which returns `stopped: true` instead of timing out), and `nextCommand` points at `panels resume`. `runpane watch` reports them as `panel.stopped` (`STOPPED ...`) when `--kinds` lists that kind; other consumers and `workspace state` see `agent.unknown` with `running: false`, never `agent.ready`.",
|
|
6234
|
+
"`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`.",
|
|
6235
|
+
"`runpane panels pause --panel <panel-id>`, `panes pause --pane <pane-id>` and `sessions pause --session <id|name>` pause a tab, a Pane, or a Session's chat and Panes: Pane stops each terminal tab the way quitting does, without asking, keeps its agent's conversation, and marks it paused. A paused tab stays stopped through clicks, app restarts and updates until `panels resume --panel`, `panes resume` or `sessions resume` restarts it in its saved conversation. Each returns `{ action, scope, panelIds, unchanged, failed, message, nextCommand }`. `panes list` reports a Pane's `paused` mark (`{ at, by: \"manual\" | \"auto\", idleHours? }`) and `inactiveSince`, the latest terminal output or input in its tabs or the last time the person selected it; `panels list` reports each tab's `paused`. `runpane watch` reports `panel.paused` (`PAUSED ...`) and `panel.unpaused` (`UNPAUSED ...`) under `--follow`, to a Session-scoped watch, or when `--kinds` lists them.",
|
|
5639
6236
|
"`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.",
|
|
5640
6237
|
"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.",
|
|
5641
6238
|
"`runpane links create` builds `pane://open?...` links; opening one in Pane selects what it names and never changes Pane state.",
|
|
@@ -6037,6 +6634,14 @@ exports.RUNPANE_CONTRACT = {
|
|
|
6037
6634
|
"--yes",
|
|
6038
6635
|
"--json"
|
|
6039
6636
|
],
|
|
6637
|
+
[
|
|
6638
|
+
"panels",
|
|
6639
|
+
"close",
|
|
6640
|
+
"--panel",
|
|
6641
|
+
"panel-1",
|
|
6642
|
+
"--yes",
|
|
6643
|
+
"--json"
|
|
6644
|
+
],
|
|
6040
6645
|
[
|
|
6041
6646
|
"sessions",
|
|
6042
6647
|
"list",
|
|
@@ -6869,6 +7474,84 @@ exports.RUNPANE_CONTRACT = {
|
|
|
6869
7474
|
"--resume",
|
|
6870
7475
|
"n-1",
|
|
6871
7476
|
"--json"
|
|
7477
|
+
],
|
|
7478
|
+
[
|
|
7479
|
+
"secrets",
|
|
7480
|
+
"list",
|
|
7481
|
+
"--project",
|
|
7482
|
+
"stripe",
|
|
7483
|
+
"--json"
|
|
7484
|
+
],
|
|
7485
|
+
[
|
|
7486
|
+
"secrets",
|
|
7487
|
+
"set",
|
|
7488
|
+
"--project",
|
|
7489
|
+
"stripe",
|
|
7490
|
+
"--name",
|
|
7491
|
+
"STRIPE_SECRET_KEY",
|
|
7492
|
+
"--yes"
|
|
7493
|
+
],
|
|
7494
|
+
[
|
|
7495
|
+
"secrets",
|
|
7496
|
+
"delete",
|
|
7497
|
+
"--project",
|
|
7498
|
+
"stripe",
|
|
7499
|
+
"--name",
|
|
7500
|
+
"STRIPE_SECRET_KEY",
|
|
7501
|
+
"--yes",
|
|
7502
|
+
"--json"
|
|
7503
|
+
],
|
|
7504
|
+
[
|
|
7505
|
+
"secrets",
|
|
7506
|
+
"exec",
|
|
7507
|
+
"--project",
|
|
7508
|
+
"stripe",
|
|
7509
|
+
"--only",
|
|
7510
|
+
"A,B",
|
|
7511
|
+
"--env",
|
|
7512
|
+
"KEY=STRIPE_SECRET_KEY",
|
|
7513
|
+
"--env=TOKEN=GH_TOKEN",
|
|
7514
|
+
"--file",
|
|
7515
|
+
"CERT",
|
|
7516
|
+
"--",
|
|
7517
|
+
"node",
|
|
7518
|
+
"-e",
|
|
7519
|
+
"run()",
|
|
7520
|
+
"--json"
|
|
7521
|
+
],
|
|
7522
|
+
[
|
|
7523
|
+
"secrets",
|
|
7524
|
+
"exec",
|
|
7525
|
+
"--project",
|
|
7526
|
+
"qa",
|
|
7527
|
+
"sh",
|
|
7528
|
+
"-c",
|
|
7529
|
+
"echo ok"
|
|
7530
|
+
],
|
|
7531
|
+
[
|
|
7532
|
+
"secrets",
|
|
7533
|
+
"request",
|
|
7534
|
+
"--project",
|
|
7535
|
+
"stripe",
|
|
7536
|
+
"--name",
|
|
7537
|
+
"STRIPE_SECRET_KEY",
|
|
7538
|
+
"--title",
|
|
7539
|
+
"Stripe test key",
|
|
7540
|
+
"--reason",
|
|
7541
|
+
"- for the webhook tests",
|
|
7542
|
+
"--json"
|
|
7543
|
+
],
|
|
7544
|
+
[
|
|
7545
|
+
"repos",
|
|
7546
|
+
"update",
|
|
7547
|
+
"--repo",
|
|
7548
|
+
"Pane",
|
|
7549
|
+
"--env",
|
|
7550
|
+
"[{\"key\":\"API_URL\",\"source\":\"plain\",\"value\":\"x\"}]",
|
|
7551
|
+
"--env-remove",
|
|
7552
|
+
"OLD,STALE",
|
|
7553
|
+
"--yes",
|
|
7554
|
+
"--json"
|
|
6872
7555
|
]
|
|
6873
7556
|
],
|
|
6874
7557
|
"topLevelHelpIncludes": [
|
|
@@ -7762,7 +8445,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7762
8445
|
"$ref": "#/jsonSchemas/repoListResult/properties/repos/items"
|
|
7763
8446
|
},
|
|
7764
8447
|
"settings": {
|
|
7765
|
-
"$ref": "
|
|
8448
|
+
"$ref": "#/jsonSchemas/repoGetResult/$defs/settings"
|
|
7766
8449
|
}
|
|
7767
8450
|
},
|
|
7768
8451
|
"additionalProperties": false,
|
|
@@ -7800,7 +8483,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7800
8483
|
"fallback": {
|
|
7801
8484
|
"anyOf": [
|
|
7802
8485
|
{
|
|
7803
|
-
"$ref": "
|
|
8486
|
+
"$ref": "#/jsonSchemas/repoGetResult/$defs/scriptSource"
|
|
7804
8487
|
},
|
|
7805
8488
|
{
|
|
7806
8489
|
"type": "null"
|
|
@@ -7810,7 +8493,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7810
8493
|
"effective": {
|
|
7811
8494
|
"anyOf": [
|
|
7812
8495
|
{
|
|
7813
|
-
"$ref": "
|
|
8496
|
+
"$ref": "#/jsonSchemas/repoGetResult/$defs/scriptSource"
|
|
7814
8497
|
},
|
|
7815
8498
|
{
|
|
7816
8499
|
"type": "null"
|
|
@@ -7832,7 +8515,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7832
8515
|
"configFile",
|
|
7833
8516
|
"buildScript",
|
|
7834
8517
|
"runScript",
|
|
7835
|
-
"archiveScript"
|
|
8518
|
+
"archiveScript",
|
|
8519
|
+
"envVars"
|
|
7836
8520
|
],
|
|
7837
8521
|
"properties": {
|
|
7838
8522
|
"name": {
|
|
@@ -7872,13 +8556,19 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7872
8556
|
]
|
|
7873
8557
|
},
|
|
7874
8558
|
"buildScript": {
|
|
7875
|
-
"$ref": "
|
|
8559
|
+
"$ref": "#/jsonSchemas/repoGetResult/$defs/scriptSetting"
|
|
7876
8560
|
},
|
|
7877
8561
|
"runScript": {
|
|
7878
|
-
"$ref": "
|
|
8562
|
+
"$ref": "#/jsonSchemas/repoGetResult/$defs/scriptSetting"
|
|
7879
8563
|
},
|
|
7880
8564
|
"archiveScript": {
|
|
7881
|
-
"$ref": "
|
|
8565
|
+
"$ref": "#/jsonSchemas/repoGetResult/$defs/scriptSetting"
|
|
8566
|
+
},
|
|
8567
|
+
"envVars": {
|
|
8568
|
+
"type": "array",
|
|
8569
|
+
"items": {
|
|
8570
|
+
"$ref": "#/jsonSchemas/projectEnvVar"
|
|
8571
|
+
}
|
|
7882
8572
|
}
|
|
7883
8573
|
},
|
|
7884
8574
|
"additionalProperties": false
|
|
@@ -7945,6 +8635,27 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7945
8635
|
"string",
|
|
7946
8636
|
"null"
|
|
7947
8637
|
]
|
|
8638
|
+
},
|
|
8639
|
+
"envVars": {
|
|
8640
|
+
"type": "object",
|
|
8641
|
+
"description": "set adds or replaces variables by key; remove deletes them by key.",
|
|
8642
|
+
"minProperties": 1,
|
|
8643
|
+
"properties": {
|
|
8644
|
+
"set": {
|
|
8645
|
+
"type": "array",
|
|
8646
|
+
"items": {
|
|
8647
|
+
"$ref": "#/jsonSchemas/projectEnvVar"
|
|
8648
|
+
}
|
|
8649
|
+
},
|
|
8650
|
+
"remove": {
|
|
8651
|
+
"type": "array",
|
|
8652
|
+
"items": {
|
|
8653
|
+
"type": "string",
|
|
8654
|
+
"minLength": 1
|
|
8655
|
+
}
|
|
8656
|
+
}
|
|
8657
|
+
},
|
|
8658
|
+
"additionalProperties": false
|
|
7948
8659
|
}
|
|
7949
8660
|
},
|
|
7950
8661
|
"additionalProperties": false
|
|
@@ -7980,7 +8691,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7980
8691
|
"archiveScript",
|
|
7981
8692
|
"worktreeFolder",
|
|
7982
8693
|
"openIdeCommand",
|
|
7983
|
-
"systemPrompt"
|
|
8694
|
+
"systemPrompt",
|
|
8695
|
+
"envVars"
|
|
7984
8696
|
]
|
|
7985
8697
|
}
|
|
7986
8698
|
},
|
|
@@ -7988,138 +8700,173 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7988
8700
|
"$ref": "#/jsonSchemas/repoListResult/properties/repos/items"
|
|
7989
8701
|
},
|
|
7990
8702
|
"settings": {
|
|
7991
|
-
"$ref": "
|
|
8703
|
+
"$ref": "#/jsonSchemas/repoGetResult/$defs/settings"
|
|
7992
8704
|
}
|
|
7993
8705
|
},
|
|
7994
|
-
"additionalProperties": false
|
|
7995
|
-
|
|
7996
|
-
|
|
8706
|
+
"additionalProperties": false
|
|
8707
|
+
},
|
|
8708
|
+
"repoRenameRequest": {
|
|
8709
|
+
"type": "object",
|
|
8710
|
+
"required": [
|
|
8711
|
+
"repo",
|
|
8712
|
+
"name"
|
|
8713
|
+
],
|
|
8714
|
+
"properties": {
|
|
8715
|
+
"repo": {
|
|
8716
|
+
"type": "string"
|
|
8717
|
+
},
|
|
8718
|
+
"name": {
|
|
8719
|
+
"type": "string",
|
|
8720
|
+
"minLength": 1
|
|
8721
|
+
}
|
|
8722
|
+
},
|
|
8723
|
+
"additionalProperties": false
|
|
8724
|
+
},
|
|
8725
|
+
"repoRenameResult": {
|
|
8726
|
+
"type": "object",
|
|
8727
|
+
"required": [
|
|
8728
|
+
"ok",
|
|
8729
|
+
"repo"
|
|
8730
|
+
],
|
|
8731
|
+
"properties": {
|
|
8732
|
+
"ok": {
|
|
8733
|
+
"const": true
|
|
8734
|
+
},
|
|
8735
|
+
"repo": {
|
|
8736
|
+
"$ref": "#/jsonSchemas/repoListResult/properties/repos/items"
|
|
8737
|
+
}
|
|
8738
|
+
},
|
|
8739
|
+
"additionalProperties": false
|
|
8740
|
+
},
|
|
8741
|
+
"secretSummary": {
|
|
8742
|
+
"type": "object",
|
|
8743
|
+
"required": [
|
|
8744
|
+
"project",
|
|
8745
|
+
"name",
|
|
8746
|
+
"updatedAt",
|
|
8747
|
+
"machine"
|
|
8748
|
+
],
|
|
8749
|
+
"properties": {
|
|
8750
|
+
"project": {
|
|
8751
|
+
"type": "string"
|
|
8752
|
+
},
|
|
8753
|
+
"name": {
|
|
8754
|
+
"type": "string"
|
|
8755
|
+
},
|
|
8756
|
+
"updatedAt": {
|
|
8757
|
+
"type": "string",
|
|
8758
|
+
"description": "ISO time it was last set."
|
|
8759
|
+
},
|
|
8760
|
+
"machine": {
|
|
8761
|
+
"type": "string",
|
|
8762
|
+
"description": "The machine where it was last set."
|
|
8763
|
+
}
|
|
8764
|
+
},
|
|
8765
|
+
"additionalProperties": false
|
|
8766
|
+
},
|
|
8767
|
+
"secretListRequest": {
|
|
8768
|
+
"type": "object",
|
|
8769
|
+
"properties": {
|
|
8770
|
+
"project": {
|
|
8771
|
+
"type": "string"
|
|
8772
|
+
}
|
|
8773
|
+
},
|
|
8774
|
+
"additionalProperties": false
|
|
8775
|
+
},
|
|
8776
|
+
"secretListResult": {
|
|
8777
|
+
"type": "object",
|
|
8778
|
+
"required": [
|
|
8779
|
+
"ok",
|
|
8780
|
+
"secrets",
|
|
8781
|
+
"storage"
|
|
8782
|
+
],
|
|
8783
|
+
"properties": {
|
|
8784
|
+
"ok": {
|
|
8785
|
+
"const": true
|
|
8786
|
+
},
|
|
8787
|
+
"secrets": {
|
|
8788
|
+
"type": "array",
|
|
8789
|
+
"items": {
|
|
8790
|
+
"$ref": "#/jsonSchemas/secretSummary"
|
|
8791
|
+
}
|
|
8792
|
+
},
|
|
8793
|
+
"storage": {
|
|
7997
8794
|
"type": "object",
|
|
8795
|
+
"description": "Where this machine keeps values. encrypted is false only for the file store on a machine without an OS keyring.",
|
|
7998
8796
|
"required": [
|
|
7999
|
-
"
|
|
8000
|
-
"
|
|
8797
|
+
"kind",
|
|
8798
|
+
"encrypted"
|
|
8001
8799
|
],
|
|
8002
8800
|
"properties": {
|
|
8003
|
-
"
|
|
8004
|
-
"
|
|
8801
|
+
"kind": {
|
|
8802
|
+
"enum": [
|
|
8803
|
+
"keychain",
|
|
8804
|
+
"file"
|
|
8805
|
+
]
|
|
8005
8806
|
},
|
|
8006
|
-
"
|
|
8007
|
-
"type": "
|
|
8008
|
-
}
|
|
8009
|
-
},
|
|
8010
|
-
"additionalProperties": false
|
|
8011
|
-
},
|
|
8012
|
-
"scriptSetting": {
|
|
8013
|
-
"type": "object",
|
|
8014
|
-
"required": [
|
|
8015
|
-
"value",
|
|
8016
|
-
"fallback",
|
|
8017
|
-
"effective"
|
|
8018
|
-
],
|
|
8019
|
-
"properties": {
|
|
8020
|
-
"value": {
|
|
8021
|
-
"type": [
|
|
8022
|
-
"string",
|
|
8023
|
-
"null"
|
|
8024
|
-
]
|
|
8025
|
-
},
|
|
8026
|
-
"fallback": {
|
|
8027
|
-
"anyOf": [
|
|
8028
|
-
{
|
|
8029
|
-
"$ref": "#/$defs/scriptSource"
|
|
8030
|
-
},
|
|
8031
|
-
{
|
|
8032
|
-
"type": "null"
|
|
8033
|
-
}
|
|
8034
|
-
]
|
|
8035
|
-
},
|
|
8036
|
-
"effective": {
|
|
8037
|
-
"anyOf": [
|
|
8038
|
-
{
|
|
8039
|
-
"$ref": "#/$defs/scriptSource"
|
|
8040
|
-
},
|
|
8041
|
-
{
|
|
8042
|
-
"type": "null"
|
|
8043
|
-
}
|
|
8044
|
-
]
|
|
8807
|
+
"encrypted": {
|
|
8808
|
+
"type": "boolean"
|
|
8045
8809
|
}
|
|
8046
8810
|
},
|
|
8047
8811
|
"additionalProperties": false
|
|
8812
|
+
}
|
|
8813
|
+
},
|
|
8814
|
+
"additionalProperties": false
|
|
8815
|
+
},
|
|
8816
|
+
"secretSetRequest": {
|
|
8817
|
+
"description": "What `runpane secrets set` sends on runpane:secrets:set. value comes from stdin.",
|
|
8818
|
+
"type": "object",
|
|
8819
|
+
"required": [
|
|
8820
|
+
"project",
|
|
8821
|
+
"name",
|
|
8822
|
+
"value"
|
|
8823
|
+
],
|
|
8824
|
+
"properties": {
|
|
8825
|
+
"project": {
|
|
8826
|
+
"type": "string",
|
|
8827
|
+
"minLength": 1
|
|
8048
8828
|
},
|
|
8049
|
-
"
|
|
8050
|
-
"type": "
|
|
8051
|
-
"
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
"openIdeCommand",
|
|
8057
|
-
"systemPrompt",
|
|
8058
|
-
"configFile",
|
|
8059
|
-
"buildScript",
|
|
8060
|
-
"runScript",
|
|
8061
|
-
"archiveScript"
|
|
8062
|
-
],
|
|
8063
|
-
"properties": {
|
|
8064
|
-
"name": {
|
|
8065
|
-
"type": "string"
|
|
8066
|
-
},
|
|
8067
|
-
"path": {
|
|
8068
|
-
"type": "string"
|
|
8069
|
-
},
|
|
8070
|
-
"currentBranch": {
|
|
8071
|
-
"type": [
|
|
8072
|
-
"string",
|
|
8073
|
-
"null"
|
|
8074
|
-
]
|
|
8075
|
-
},
|
|
8076
|
-
"worktreeFolder": {
|
|
8077
|
-
"type": [
|
|
8078
|
-
"string",
|
|
8079
|
-
"null"
|
|
8080
|
-
]
|
|
8081
|
-
},
|
|
8082
|
-
"openIdeCommand": {
|
|
8083
|
-
"type": [
|
|
8084
|
-
"string",
|
|
8085
|
-
"null"
|
|
8086
|
-
]
|
|
8087
|
-
},
|
|
8088
|
-
"systemPrompt": {
|
|
8089
|
-
"type": [
|
|
8090
|
-
"string",
|
|
8091
|
-
"null"
|
|
8092
|
-
]
|
|
8093
|
-
},
|
|
8094
|
-
"configFile": {
|
|
8095
|
-
"type": [
|
|
8096
|
-
"string",
|
|
8097
|
-
"null"
|
|
8098
|
-
]
|
|
8099
|
-
},
|
|
8100
|
-
"buildScript": {
|
|
8101
|
-
"$ref": "#/$defs/scriptSetting"
|
|
8102
|
-
},
|
|
8103
|
-
"runScript": {
|
|
8104
|
-
"$ref": "#/$defs/scriptSetting"
|
|
8105
|
-
},
|
|
8106
|
-
"archiveScript": {
|
|
8107
|
-
"$ref": "#/$defs/scriptSetting"
|
|
8108
|
-
}
|
|
8109
|
-
},
|
|
8110
|
-
"additionalProperties": false
|
|
8829
|
+
"name": {
|
|
8830
|
+
"type": "string",
|
|
8831
|
+
"minLength": 1
|
|
8832
|
+
},
|
|
8833
|
+
"value": {
|
|
8834
|
+
"type": "string",
|
|
8835
|
+
"minLength": 1
|
|
8111
8836
|
}
|
|
8112
|
-
}
|
|
8837
|
+
},
|
|
8838
|
+
"additionalProperties": false
|
|
8113
8839
|
},
|
|
8114
|
-
"
|
|
8840
|
+
"secretSetResult": {
|
|
8115
8841
|
"type": "object",
|
|
8116
8842
|
"required": [
|
|
8117
|
-
"
|
|
8843
|
+
"ok",
|
|
8844
|
+
"replaced",
|
|
8845
|
+
"secret"
|
|
8846
|
+
],
|
|
8847
|
+
"properties": {
|
|
8848
|
+
"ok": {
|
|
8849
|
+
"const": true
|
|
8850
|
+
},
|
|
8851
|
+
"replaced": {
|
|
8852
|
+
"type": "boolean"
|
|
8853
|
+
},
|
|
8854
|
+
"secret": {
|
|
8855
|
+
"$ref": "#/jsonSchemas/secretSummary"
|
|
8856
|
+
}
|
|
8857
|
+
},
|
|
8858
|
+
"additionalProperties": false
|
|
8859
|
+
},
|
|
8860
|
+
"secretDeleteRequest": {
|
|
8861
|
+
"type": "object",
|
|
8862
|
+
"required": [
|
|
8863
|
+
"project",
|
|
8118
8864
|
"name"
|
|
8119
8865
|
],
|
|
8120
8866
|
"properties": {
|
|
8121
|
-
"
|
|
8122
|
-
"type": "string"
|
|
8867
|
+
"project": {
|
|
8868
|
+
"type": "string",
|
|
8869
|
+
"minLength": 1
|
|
8123
8870
|
},
|
|
8124
8871
|
"name": {
|
|
8125
8872
|
"type": "string",
|
|
@@ -8128,22 +8875,117 @@ exports.RUNPANE_CONTRACT = {
|
|
|
8128
8875
|
},
|
|
8129
8876
|
"additionalProperties": false
|
|
8130
8877
|
},
|
|
8131
|
-
"
|
|
8878
|
+
"secretDeleteResult": {
|
|
8132
8879
|
"type": "object",
|
|
8133
8880
|
"required": [
|
|
8134
8881
|
"ok",
|
|
8135
|
-
"
|
|
8882
|
+
"deleted"
|
|
8136
8883
|
],
|
|
8137
8884
|
"properties": {
|
|
8138
8885
|
"ok": {
|
|
8139
8886
|
"const": true
|
|
8140
8887
|
},
|
|
8141
|
-
"
|
|
8142
|
-
"
|
|
8888
|
+
"deleted": {
|
|
8889
|
+
"type": "object",
|
|
8890
|
+
"required": [
|
|
8891
|
+
"project",
|
|
8892
|
+
"name"
|
|
8893
|
+
],
|
|
8894
|
+
"properties": {
|
|
8895
|
+
"project": {
|
|
8896
|
+
"type": "string"
|
|
8897
|
+
},
|
|
8898
|
+
"name": {
|
|
8899
|
+
"type": "string"
|
|
8900
|
+
}
|
|
8901
|
+
},
|
|
8902
|
+
"additionalProperties": false
|
|
8143
8903
|
}
|
|
8144
8904
|
},
|
|
8145
8905
|
"additionalProperties": false
|
|
8146
8906
|
},
|
|
8907
|
+
"projectEnvVar": {
|
|
8908
|
+
"description": "A project environment variable. Plain values are shown in full; keychain and Pane secret variables are references, never values.",
|
|
8909
|
+
"oneOf": [
|
|
8910
|
+
{
|
|
8911
|
+
"type": "object",
|
|
8912
|
+
"required": [
|
|
8913
|
+
"key",
|
|
8914
|
+
"source",
|
|
8915
|
+
"value"
|
|
8916
|
+
],
|
|
8917
|
+
"properties": {
|
|
8918
|
+
"key": {
|
|
8919
|
+
"type": "string",
|
|
8920
|
+
"minLength": 1
|
|
8921
|
+
},
|
|
8922
|
+
"source": {
|
|
8923
|
+
"const": "plain"
|
|
8924
|
+
},
|
|
8925
|
+
"value": {
|
|
8926
|
+
"type": "string"
|
|
8927
|
+
}
|
|
8928
|
+
},
|
|
8929
|
+
"additionalProperties": false
|
|
8930
|
+
},
|
|
8931
|
+
{
|
|
8932
|
+
"type": "object",
|
|
8933
|
+
"description": "An existing macOS keychain generic-password item.",
|
|
8934
|
+
"required": [
|
|
8935
|
+
"key",
|
|
8936
|
+
"source",
|
|
8937
|
+
"service",
|
|
8938
|
+
"account"
|
|
8939
|
+
],
|
|
8940
|
+
"properties": {
|
|
8941
|
+
"key": {
|
|
8942
|
+
"type": "string",
|
|
8943
|
+
"minLength": 1
|
|
8944
|
+
},
|
|
8945
|
+
"source": {
|
|
8946
|
+
"const": "keychain"
|
|
8947
|
+
},
|
|
8948
|
+
"service": {
|
|
8949
|
+
"type": "string",
|
|
8950
|
+
"minLength": 1
|
|
8951
|
+
},
|
|
8952
|
+
"account": {
|
|
8953
|
+
"type": "string",
|
|
8954
|
+
"minLength": 1
|
|
8955
|
+
}
|
|
8956
|
+
},
|
|
8957
|
+
"additionalProperties": false
|
|
8958
|
+
},
|
|
8959
|
+
{
|
|
8960
|
+
"type": "object",
|
|
8961
|
+
"description": "The Pane secret project/name.",
|
|
8962
|
+
"required": [
|
|
8963
|
+
"key",
|
|
8964
|
+
"source",
|
|
8965
|
+
"project",
|
|
8966
|
+
"name"
|
|
8967
|
+
],
|
|
8968
|
+
"properties": {
|
|
8969
|
+
"key": {
|
|
8970
|
+
"type": "string",
|
|
8971
|
+
"minLength": 1
|
|
8972
|
+
},
|
|
8973
|
+
"source": {
|
|
8974
|
+
"const": "secret"
|
|
8975
|
+
},
|
|
8976
|
+
"project": {
|
|
8977
|
+
"type": "string",
|
|
8978
|
+
"minLength": 1
|
|
8979
|
+
},
|
|
8980
|
+
"name": {
|
|
8981
|
+
"type": "string",
|
|
8982
|
+
"minLength": 1
|
|
8983
|
+
}
|
|
8984
|
+
},
|
|
8985
|
+
"additionalProperties": false
|
|
8986
|
+
}
|
|
8987
|
+
]
|
|
8988
|
+
},
|
|
8147
8989
|
"paneCreateRequest": {
|
|
8148
8990
|
"type": "object",
|
|
8149
8991
|
"required": [
|
|
@@ -8816,6 +9658,14 @@ exports.RUNPANE_CONTRACT = {
|
|
|
8816
9658
|
"lastActivity": {
|
|
8817
9659
|
"type": "string"
|
|
8818
9660
|
},
|
|
9661
|
+
"inactiveSince": {
|
|
9662
|
+
"type": "string",
|
|
9663
|
+
"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)."
|
|
9664
|
+
},
|
|
9665
|
+
"paused": {
|
|
9666
|
+
"$ref": "#/jsonSchemas/pausedMark",
|
|
9667
|
+
"description": "Set while every terminal tab of the Pane is paused: the latest tab's mark."
|
|
9668
|
+
},
|
|
8819
9669
|
"archived": {
|
|
8820
9670
|
"type": "boolean"
|
|
8821
9671
|
},
|
|
@@ -9200,6 +10050,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
9200
10050
|
"pane.gone",
|
|
9201
10051
|
"panel.exited",
|
|
9202
10052
|
"panel.stopped",
|
|
10053
|
+
"panel.paused",
|
|
10054
|
+
"panel.unpaused",
|
|
9203
10055
|
"agent.report",
|
|
9204
10056
|
"agent.report.missing",
|
|
9205
10057
|
"pane.associated",
|
|
@@ -10013,6 +10865,60 @@ exports.RUNPANE_CONTRACT = {
|
|
|
10013
10865
|
}
|
|
10014
10866
|
},
|
|
10015
10867
|
"additionalProperties": false
|
|
10868
|
+
},
|
|
10869
|
+
"busyAgents": {
|
|
10870
|
+
"type": "array",
|
|
10871
|
+
"description": "Agents in the Pane that are mid-turn (working) or waiting for an answer (blocked). Archiving would stop them, so archive refuses with agent-busy unless --force.",
|
|
10872
|
+
"items": {
|
|
10873
|
+
"type": "object",
|
|
10874
|
+
"required": [
|
|
10875
|
+
"panelId",
|
|
10876
|
+
"title",
|
|
10877
|
+
"state"
|
|
10878
|
+
],
|
|
10879
|
+
"properties": {
|
|
10880
|
+
"panelId": {
|
|
10881
|
+
"type": "string"
|
|
10882
|
+
},
|
|
10883
|
+
"title": {
|
|
10884
|
+
"type": "string"
|
|
10885
|
+
},
|
|
10886
|
+
"state": {
|
|
10887
|
+
"enum": [
|
|
10888
|
+
"working",
|
|
10889
|
+
"blocked"
|
|
10890
|
+
]
|
|
10891
|
+
}
|
|
10892
|
+
},
|
|
10893
|
+
"additionalProperties": false
|
|
10894
|
+
}
|
|
10895
|
+
},
|
|
10896
|
+
"unsentInput": {
|
|
10897
|
+
"type": "array",
|
|
10898
|
+
"description": "Tabs holding input a person typed that archiving would lose: an agent composer's unsent text or an editor's unsaved edits. Archive refuses with unsent-input unless --force.",
|
|
10899
|
+
"items": {
|
|
10900
|
+
"type": "object",
|
|
10901
|
+
"required": [
|
|
10902
|
+
"panelId",
|
|
10903
|
+
"title",
|
|
10904
|
+
"kind"
|
|
10905
|
+
],
|
|
10906
|
+
"properties": {
|
|
10907
|
+
"panelId": {
|
|
10908
|
+
"type": "string"
|
|
10909
|
+
},
|
|
10910
|
+
"title": {
|
|
10911
|
+
"type": "string"
|
|
10912
|
+
},
|
|
10913
|
+
"kind": {
|
|
10914
|
+
"enum": [
|
|
10915
|
+
"composer",
|
|
10916
|
+
"editor"
|
|
10917
|
+
]
|
|
10918
|
+
}
|
|
10919
|
+
},
|
|
10920
|
+
"additionalProperties": false
|
|
10921
|
+
}
|
|
10016
10922
|
}
|
|
10017
10923
|
},
|
|
10018
10924
|
"additionalProperties": false
|
|
@@ -10089,7 +10995,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
10089
10995
|
"uncommitted-changes",
|
|
10090
10996
|
"unpushed-commits",
|
|
10091
10997
|
"uncommitted-and-unpushed",
|
|
10092
|
-
"status-unknown"
|
|
10998
|
+
"status-unknown",
|
|
10999
|
+
"agent-busy",
|
|
11000
|
+
"unsent-input"
|
|
10093
11001
|
]
|
|
10094
11002
|
},
|
|
10095
11003
|
"message": {
|
|
@@ -10151,6 +11059,12 @@ exports.RUNPANE_CONTRACT = {
|
|
|
10151
11059
|
},
|
|
10152
11060
|
"worktreeWillRemain": {
|
|
10153
11061
|
"const": true
|
|
11062
|
+
},
|
|
11063
|
+
"busyAgents": {
|
|
11064
|
+
"$ref": "#/jsonSchemas/paneArchiveResult/oneOf/0/properties/safetyCheck/properties/busyAgents"
|
|
11065
|
+
},
|
|
11066
|
+
"unsentInput": {
|
|
11067
|
+
"$ref": "#/jsonSchemas/paneArchiveResult/oneOf/0/properties/safetyCheck/properties/unsentInput"
|
|
10154
11068
|
}
|
|
10155
11069
|
},
|
|
10156
11070
|
"additionalProperties": false
|
|
@@ -10260,6 +11174,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
10260
11174
|
"configured",
|
|
10261
11175
|
"agent"
|
|
10262
11176
|
]
|
|
11177
|
+
},
|
|
11178
|
+
"paused": {
|
|
11179
|
+
"$ref": "#/jsonSchemas/pausedMark"
|
|
10263
11180
|
}
|
|
10264
11181
|
},
|
|
10265
11182
|
"additionalProperties": false
|
|
@@ -11084,6 +12001,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
11084
12001
|
},
|
|
11085
12002
|
"report": {
|
|
11086
12003
|
"$ref": "#/jsonSchemas/agentReport"
|
|
12004
|
+
},
|
|
12005
|
+
"paused": {
|
|
12006
|
+
"$ref": "#/jsonSchemas/pausedMark"
|
|
11087
12007
|
}
|
|
11088
12008
|
},
|
|
11089
12009
|
"additionalProperties": false
|
|
@@ -12025,6 +12945,50 @@ exports.RUNPANE_CONTRACT = {
|
|
|
12025
12945
|
},
|
|
12026
12946
|
"additionalProperties": false
|
|
12027
12947
|
},
|
|
12948
|
+
"panelCloseRequest": {
|
|
12949
|
+
"type": "object",
|
|
12950
|
+
"required": [
|
|
12951
|
+
"panelId"
|
|
12952
|
+
],
|
|
12953
|
+
"properties": {
|
|
12954
|
+
"panelId": {
|
|
12955
|
+
"type": "string"
|
|
12956
|
+
}
|
|
12957
|
+
},
|
|
12958
|
+
"additionalProperties": false
|
|
12959
|
+
},
|
|
12960
|
+
"panelCloseResult": {
|
|
12961
|
+
"type": "object",
|
|
12962
|
+
"required": [
|
|
12963
|
+
"ok",
|
|
12964
|
+
"paneId",
|
|
12965
|
+
"panelId",
|
|
12966
|
+
"type",
|
|
12967
|
+
"title"
|
|
12968
|
+
],
|
|
12969
|
+
"properties": {
|
|
12970
|
+
"ok": {
|
|
12971
|
+
"const": true
|
|
12972
|
+
},
|
|
12973
|
+
"generation": {
|
|
12974
|
+
"type": "number"
|
|
12975
|
+
},
|
|
12976
|
+
"paneId": {
|
|
12977
|
+
"type": "string"
|
|
12978
|
+
},
|
|
12979
|
+
"panelId": {
|
|
12980
|
+
"type": "string"
|
|
12981
|
+
},
|
|
12982
|
+
"type": {
|
|
12983
|
+
"type": "string",
|
|
12984
|
+
"description": "The closed tab's type, such as terminal, browser or editor."
|
|
12985
|
+
},
|
|
12986
|
+
"title": {
|
|
12987
|
+
"type": "string"
|
|
12988
|
+
}
|
|
12989
|
+
},
|
|
12990
|
+
"additionalProperties": false
|
|
12991
|
+
},
|
|
12028
12992
|
"sessionListResult": {
|
|
12029
12993
|
"type": "object",
|
|
12030
12994
|
"required": [
|
|
@@ -12065,6 +13029,77 @@ exports.RUNPANE_CONTRACT = {
|
|
|
12065
13029
|
},
|
|
12066
13030
|
"internalSessionId": {
|
|
12067
13031
|
"type": "string"
|
|
13032
|
+
},
|
|
13033
|
+
"panes": {
|
|
13034
|
+
"type": "object",
|
|
13035
|
+
"description": "Only when the update archived the Session: what happened to each associated Pane.",
|
|
13036
|
+
"required": [
|
|
13037
|
+
"archivedPaneIds",
|
|
13038
|
+
"keptPanes",
|
|
13039
|
+
"failedPanes"
|
|
13040
|
+
],
|
|
13041
|
+
"properties": {
|
|
13042
|
+
"archivedPaneIds": {
|
|
13043
|
+
"type": "array",
|
|
13044
|
+
"items": {
|
|
13045
|
+
"type": "string"
|
|
13046
|
+
}
|
|
13047
|
+
},
|
|
13048
|
+
"keptPanes": {
|
|
13049
|
+
"type": "array",
|
|
13050
|
+
"items": {
|
|
13051
|
+
"type": "object",
|
|
13052
|
+
"required": [
|
|
13053
|
+
"paneId",
|
|
13054
|
+
"name",
|
|
13055
|
+
"code"
|
|
13056
|
+
],
|
|
13057
|
+
"properties": {
|
|
13058
|
+
"paneId": {
|
|
13059
|
+
"type": "string"
|
|
13060
|
+
},
|
|
13061
|
+
"name": {
|
|
13062
|
+
"type": "string"
|
|
13063
|
+
},
|
|
13064
|
+
"code": {
|
|
13065
|
+
"enum": [
|
|
13066
|
+
"uncommitted-changes",
|
|
13067
|
+
"unpushed-commits",
|
|
13068
|
+
"uncommitted-and-unpushed",
|
|
13069
|
+
"status-unknown",
|
|
13070
|
+
"agent-busy",
|
|
13071
|
+
"unsent-input"
|
|
13072
|
+
]
|
|
13073
|
+
}
|
|
13074
|
+
},
|
|
13075
|
+
"additionalProperties": false
|
|
13076
|
+
}
|
|
13077
|
+
},
|
|
13078
|
+
"failedPanes": {
|
|
13079
|
+
"type": "array",
|
|
13080
|
+
"items": {
|
|
13081
|
+
"type": "object",
|
|
13082
|
+
"required": [
|
|
13083
|
+
"paneId",
|
|
13084
|
+
"name",
|
|
13085
|
+
"error"
|
|
13086
|
+
],
|
|
13087
|
+
"properties": {
|
|
13088
|
+
"paneId": {
|
|
13089
|
+
"type": "string"
|
|
13090
|
+
},
|
|
13091
|
+
"name": {
|
|
13092
|
+
"type": "string"
|
|
13093
|
+
},
|
|
13094
|
+
"error": {
|
|
13095
|
+
"type": "string"
|
|
13096
|
+
}
|
|
13097
|
+
},
|
|
13098
|
+
"additionalProperties": false
|
|
13099
|
+
}
|
|
13100
|
+
}
|
|
13101
|
+
},
|
|
13102
|
+
"additionalProperties": false
|
|
12068
13103
|
}
|
|
12069
13104
|
},
|
|
12070
13105
|
"additionalProperties": false
|
|
@@ -12814,6 +13849,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
12814
13849
|
"unpushed-commits",
|
|
12815
13850
|
"uncommitted-and-unpushed",
|
|
12816
13851
|
"status-unknown",
|
|
13852
|
+
"agent-busy",
|
|
13853
|
+
"unsent-input",
|
|
12817
13854
|
"missing-pane",
|
|
12818
13855
|
"already-archived",
|
|
12819
13856
|
"main-repo",
|
|
@@ -13413,7 +14450,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
13413
14450
|
"additionalProperties": false
|
|
13414
14451
|
},
|
|
13415
14452
|
"notifyRequest": {
|
|
13416
|
-
"description": "What `runpane notify`
|
|
14453
|
+
"description": "What `runpane notify` and `runpane secrets request` send on the runpane:notify daemon channel: the question fields, or resume alone. Only `secrets request` sends ui secret.",
|
|
13417
14454
|
"type": "object",
|
|
13418
14455
|
"required": [
|
|
13419
14456
|
"caller"
|
|
@@ -13424,6 +14461,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
13424
14461
|
"options",
|
|
13425
14462
|
"approve",
|
|
13426
14463
|
"ask",
|
|
14464
|
+
"secret",
|
|
13427
14465
|
"info"
|
|
13428
14466
|
]
|
|
13429
14467
|
},
|
|
@@ -13459,6 +14497,25 @@ exports.RUNPANE_CONTRACT = {
|
|
|
13459
14497
|
"action": {
|
|
13460
14498
|
"$ref": "#/jsonSchemas/notifyAction"
|
|
13461
14499
|
},
|
|
14500
|
+
"secret": {
|
|
14501
|
+
"type": "object",
|
|
14502
|
+
"description": "ui secret only: the Pane secret the answer is saved as.",
|
|
14503
|
+
"required": [
|
|
14504
|
+
"project",
|
|
14505
|
+
"name"
|
|
14506
|
+
],
|
|
14507
|
+
"properties": {
|
|
14508
|
+
"project": {
|
|
14509
|
+
"type": "string",
|
|
14510
|
+
"minLength": 1
|
|
14511
|
+
},
|
|
14512
|
+
"name": {
|
|
14513
|
+
"type": "string",
|
|
14514
|
+
"minLength": 1
|
|
14515
|
+
}
|
|
14516
|
+
},
|
|
14517
|
+
"additionalProperties": false
|
|
14518
|
+
},
|
|
13462
14519
|
"resume": {
|
|
13463
14520
|
"type": "string",
|
|
13464
14521
|
"minLength": 1
|
|
@@ -13539,6 +14596,40 @@ exports.RUNPANE_CONTRACT = {
|
|
|
13539
14596
|
},
|
|
13540
14597
|
"additionalProperties": false
|
|
13541
14598
|
},
|
|
14599
|
+
{
|
|
14600
|
+
"type": "object",
|
|
14601
|
+
"description": "secret: the person saved the value as project/name. The value is never returned.",
|
|
14602
|
+
"required": [
|
|
14603
|
+
"status",
|
|
14604
|
+
"project",
|
|
14605
|
+
"name"
|
|
14606
|
+
],
|
|
14607
|
+
"properties": {
|
|
14608
|
+
"status": {
|
|
14609
|
+
"const": "saved"
|
|
14610
|
+
},
|
|
14611
|
+
"project": {
|
|
14612
|
+
"type": "string"
|
|
14613
|
+
},
|
|
14614
|
+
"name": {
|
|
14615
|
+
"type": "string"
|
|
14616
|
+
}
|
|
14617
|
+
},
|
|
14618
|
+
"additionalProperties": false
|
|
14619
|
+
},
|
|
14620
|
+
{
|
|
14621
|
+
"type": "object",
|
|
14622
|
+
"description": "secret: the person declined; nothing was saved.",
|
|
14623
|
+
"required": [
|
|
14624
|
+
"status"
|
|
14625
|
+
],
|
|
14626
|
+
"properties": {
|
|
14627
|
+
"status": {
|
|
14628
|
+
"const": "declined"
|
|
14629
|
+
}
|
|
14630
|
+
},
|
|
14631
|
+
"additionalProperties": false
|
|
14632
|
+
},
|
|
13542
14633
|
{
|
|
13543
14634
|
"type": "object",
|
|
13544
14635
|
"required": [
|
|
@@ -13877,6 +14968,123 @@ exports.RUNPANE_CONTRACT = {
|
|
|
13877
14968
|
"type": "string"
|
|
13878
14969
|
}
|
|
13879
14970
|
}
|
|
14971
|
+
},
|
|
14972
|
+
"pausedMark": {
|
|
14973
|
+
"type": "object",
|
|
14974
|
+
"required": [
|
|
14975
|
+
"at",
|
|
14976
|
+
"by"
|
|
14977
|
+
],
|
|
14978
|
+
"properties": {
|
|
14979
|
+
"at": {
|
|
14980
|
+
"type": "string",
|
|
14981
|
+
"description": "When the tab was paused (ISO 8601)."
|
|
14982
|
+
},
|
|
14983
|
+
"by": {
|
|
14984
|
+
"enum": [
|
|
14985
|
+
"manual",
|
|
14986
|
+
"auto"
|
|
14987
|
+
],
|
|
14988
|
+
"description": "manual: a person or agent paused it. auto: auto-pause paused it after idleHours without use."
|
|
14989
|
+
},
|
|
14990
|
+
"idleHours": {
|
|
14991
|
+
"type": "number"
|
|
14992
|
+
}
|
|
14993
|
+
},
|
|
14994
|
+
"additionalProperties": false
|
|
14995
|
+
},
|
|
14996
|
+
"pauseResult": {
|
|
14997
|
+
"type": "object",
|
|
14998
|
+
"required": [
|
|
14999
|
+
"ok",
|
|
15000
|
+
"action",
|
|
15001
|
+
"scope",
|
|
15002
|
+
"panelIds",
|
|
15003
|
+
"unchanged",
|
|
15004
|
+
"failed",
|
|
15005
|
+
"message",
|
|
15006
|
+
"nextCommand"
|
|
15007
|
+
],
|
|
15008
|
+
"properties": {
|
|
15009
|
+
"ok": {
|
|
15010
|
+
"type": "boolean",
|
|
15011
|
+
"description": "False when a tab could not be resumed; the others still were."
|
|
15012
|
+
},
|
|
15013
|
+
"action": {
|
|
15014
|
+
"enum": [
|
|
15015
|
+
"paused",
|
|
15016
|
+
"resumed"
|
|
15017
|
+
]
|
|
15018
|
+
},
|
|
15019
|
+
"scope": {
|
|
15020
|
+
"type": "object",
|
|
15021
|
+
"required": [
|
|
15022
|
+
"kind"
|
|
15023
|
+
],
|
|
15024
|
+
"properties": {
|
|
15025
|
+
"kind": {
|
|
15026
|
+
"enum": [
|
|
15027
|
+
"panel",
|
|
15028
|
+
"pane",
|
|
15029
|
+
"session"
|
|
15030
|
+
]
|
|
15031
|
+
},
|
|
15032
|
+
"panelId": {
|
|
15033
|
+
"type": "string"
|
|
15034
|
+
},
|
|
15035
|
+
"paneId": {
|
|
15036
|
+
"type": "string"
|
|
15037
|
+
},
|
|
15038
|
+
"paneName": {
|
|
15039
|
+
"type": "string"
|
|
15040
|
+
},
|
|
15041
|
+
"sessionId": {
|
|
15042
|
+
"type": "string"
|
|
15043
|
+
},
|
|
15044
|
+
"sessionName": {
|
|
15045
|
+
"type": "string"
|
|
15046
|
+
}
|
|
15047
|
+
},
|
|
15048
|
+
"additionalProperties": false
|
|
15049
|
+
},
|
|
15050
|
+
"panelIds": {
|
|
15051
|
+
"type": "array",
|
|
15052
|
+
"items": {
|
|
15053
|
+
"type": "string"
|
|
15054
|
+
},
|
|
15055
|
+
"description": "Tabs this call paused or resumed."
|
|
15056
|
+
},
|
|
15057
|
+
"unchanged": {
|
|
15058
|
+
"type": "number",
|
|
15059
|
+
"description": "Terminal tabs in scope that were already paused (for pause) or not paused (for resume)."
|
|
15060
|
+
},
|
|
15061
|
+
"failed": {
|
|
15062
|
+
"type": "array",
|
|
15063
|
+
"items": {
|
|
15064
|
+
"type": "object",
|
|
15065
|
+
"required": [
|
|
15066
|
+
"panelId",
|
|
15067
|
+
"error"
|
|
15068
|
+
],
|
|
15069
|
+
"properties": {
|
|
15070
|
+
"panelId": {
|
|
15071
|
+
"type": "string"
|
|
15072
|
+
},
|
|
15073
|
+
"error": {
|
|
15074
|
+
"type": "string"
|
|
15075
|
+
}
|
|
15076
|
+
},
|
|
15077
|
+
"additionalProperties": false
|
|
15078
|
+
}
|
|
15079
|
+
},
|
|
15080
|
+
"message": {
|
|
15081
|
+
"type": "string"
|
|
15082
|
+
},
|
|
15083
|
+
"nextCommand": {
|
|
15084
|
+
"type": "string"
|
|
15085
|
+
}
|
|
15086
|
+
},
|
|
15087
|
+
"additionalProperties": false
|
|
13880
15088
|
}
|
|
13881
15089
|
},
|
|
13882
15090
|
"agentContext": {
|
|
@@ -13896,7 +15104,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
13896
15104
|
"Use `runpane agent-context --json` for the full agent-facing CLI context, or `runpane agent-context --command <command> --json` for one detailed command definition.",
|
|
13897
15105
|
"For `agent-context --command`, use canonical spaced names like `panes create`; copied forms like `panes.create` or `runpane panes create` are accepted too.",
|
|
13898
15106
|
"Use `runpane repos list --json` to find the saved repository when unsure after doctor shows the daemon is reachable.",
|
|
13899
|
-
"Read and change a repo's Project Settings (build, run, and archive scripts, worktree folder) with `runpane repos get` and `runpane repos update`; never edit Pane's database by hand.",
|
|
15107
|
+
"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.",
|
|
15108
|
+
"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.",
|
|
13900
15109
|
"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'`.",
|
|
13901
15110
|
"If the repository exists on disk but is not saved in Pane, use `runpane repos add --path <repo> --yes --json` before creating panes.",
|
|
13902
15111
|
"Use `runpane agents doctor --agent <codex|claude|cursor> --repo <selector> --json` when agent availability differs across host, Windows, WSL, or repo environments.",
|
|
@@ -13967,13 +15176,15 @@ exports.RUNPANE_CONTRACT = {
|
|
|
13967
15176
|
},
|
|
13968
15177
|
{
|
|
13969
15178
|
"name": "repos update",
|
|
13970
|
-
"summary": "Change a saved repository's Project Settings: scripts, worktree folder, name, IDE command, and
|
|
15179
|
+
"summary": "Change a saved repository's Project Settings: scripts, worktree folder, name, IDE command, system prompt, and environment variables.",
|
|
13971
15180
|
"arguments": [
|
|
13972
15181
|
"--repo <selector>",
|
|
13973
15182
|
"--build-script <script>",
|
|
13974
15183
|
"--run-script <script>",
|
|
13975
15184
|
"--archive-script <script>",
|
|
13976
15185
|
"--worktree-folder <path>",
|
|
15186
|
+
"--env <json>",
|
|
15187
|
+
"--env-remove <name,...>",
|
|
13977
15188
|
"--name <name>",
|
|
13978
15189
|
"--clear <setting,...>",
|
|
13979
15190
|
"--from-json <path|->",
|
|
@@ -13993,6 +15204,36 @@ exports.RUNPANE_CONTRACT = {
|
|
|
13993
15204
|
"--pane-dir <path>"
|
|
13994
15205
|
]
|
|
13995
15206
|
},
|
|
15207
|
+
{
|
|
15208
|
+
"name": "secrets list",
|
|
15209
|
+
"summary": "List Pane secrets: project, name, time and machine. Never a value.",
|
|
15210
|
+
"arguments": [
|
|
15211
|
+
"--project <project>",
|
|
15212
|
+
"--json"
|
|
15213
|
+
]
|
|
15214
|
+
},
|
|
15215
|
+
{
|
|
15216
|
+
"name": "secrets exec",
|
|
15217
|
+
"summary": "Run a command with Pane secrets in its environment.",
|
|
15218
|
+
"arguments": [
|
|
15219
|
+
"--project <project>",
|
|
15220
|
+
"--only <name,...>",
|
|
15221
|
+
"--env <VAR=NAME>",
|
|
15222
|
+
"--file <name>",
|
|
15223
|
+
"-- <command>..."
|
|
15224
|
+
]
|
|
15225
|
+
},
|
|
15226
|
+
{
|
|
15227
|
+
"name": "secrets request",
|
|
15228
|
+
"summary": "Ask the person for a secret on a masked card; returns saved or declined, never the value.",
|
|
15229
|
+
"arguments": [
|
|
15230
|
+
"--project <project>",
|
|
15231
|
+
"--name <name>",
|
|
15232
|
+
"--title <text>",
|
|
15233
|
+
"--reason <text>",
|
|
15234
|
+
"--json"
|
|
15235
|
+
]
|
|
15236
|
+
},
|
|
13996
15237
|
{
|
|
13997
15238
|
"name": "panes list",
|
|
13998
15239
|
"summary": "List Pane sessions, optionally scoped to a saved repository.",
|
|
@@ -14215,6 +15456,15 @@ exports.RUNPANE_CONTRACT = {
|
|
|
14215
15456
|
"--pane-dir <path>"
|
|
14216
15457
|
]
|
|
14217
15458
|
},
|
|
15459
|
+
{
|
|
15460
|
+
"name": "panels close",
|
|
15461
|
+
"summary": "Close a tab, stopping its process, as the app's close button does.",
|
|
15462
|
+
"arguments": [
|
|
15463
|
+
"--panel <panel-id>",
|
|
15464
|
+
"--yes",
|
|
15465
|
+
"--json"
|
|
15466
|
+
]
|
|
15467
|
+
},
|
|
14218
15468
|
{
|
|
14219
15469
|
"name": "watch",
|
|
14220
15470
|
"summary": "Wait for workspace events from the durable daemon journal; follow uses conservative cadence and quiet expiry by default.",
|
|
@@ -14654,7 +15904,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
14654
15904
|
"repos get": {
|
|
14655
15905
|
"name": "repos get",
|
|
14656
15906
|
"summary": "Show a saved repository's Project Settings and the scripts Pane will run.",
|
|
14657
|
-
"details": "Use this before changing a repo's settings, or to find out what a new Pane will run. Each script reports `value` (saved in Project Settings), `fallback` (from the repo's config file), and `effective` (what Pane runs: the saved value when set, otherwise the fallback).",
|
|
15907
|
+
"details": "Use this before changing a repo's settings, or to find out what a new Pane will run. Each script reports `value` (saved in Project Settings), `fallback` (from the repo's config file), and `effective` (what Pane runs: the saved value when set, otherwise the fallback). `envVars` lists the project environment variables: plain values in full, keychain items and Pane secrets as references, never their values.",
|
|
14658
15908
|
"requiresPaneDaemon": true,
|
|
14659
15909
|
"mutates": false,
|
|
14660
15910
|
"arguments": [
|
|
@@ -14690,8 +15940,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
14690
15940
|
},
|
|
14691
15941
|
"repos update": {
|
|
14692
15942
|
"name": "repos update",
|
|
14693
|
-
"summary": "Change a saved repository's Project Settings: scripts, worktree folder, name, IDE command, and
|
|
14694
|
-
"details": "Saves through the same path as the Project Settings dialog: Pane drops its cached project context, rebuilds the run commands, and open windows reload the repo. Settings you do not pass keep their value. Clear a setting with `--clear` or an empty value; a cleared script falls back to the repo's config file.",
|
|
15943
|
+
"summary": "Change a saved repository's Project Settings: scripts, worktree folder, name, IDE command, system prompt, and environment variables.",
|
|
15944
|
+
"details": "Saves through the same path as the Project Settings dialog: Pane drops its cached project context, rebuilds the run commands, and open windows reload the repo. Settings you do not pass keep their value. Clear a setting with `--clear` or an empty value; a cleared script falls back to the repo's config file. --env adds or replaces project environment variables by key, and --env-remove removes them. A variable is plain text, an existing macOS keychain item, or a Pane secret reference; to store a new secret value, use `runpane secrets request` first.",
|
|
14695
15945
|
"requiresPaneDaemon": true,
|
|
14696
15946
|
"mutates": true,
|
|
14697
15947
|
"arguments": [
|
|
@@ -14744,81 +15994,347 @@ exports.RUNPANE_CONTRACT = {
|
|
|
14744
15994
|
"description": "Project system prompt."
|
|
14745
15995
|
},
|
|
14746
15996
|
{
|
|
14747
|
-
"name": "--
|
|
14748
|
-
"value": "<
|
|
15997
|
+
"name": "--env",
|
|
15998
|
+
"value": "<json>",
|
|
15999
|
+
"required": false,
|
|
16000
|
+
"description": "Project variables to add or replace by key: a JSON array of {key, source: \"plain\", value}, {key, source: \"keychain\", service, account} or {key, source: \"secret\", project, name}.",
|
|
16001
|
+
"schema": {
|
|
16002
|
+
"type": "array",
|
|
16003
|
+
"minItems": 1,
|
|
16004
|
+
"items": {
|
|
16005
|
+
"$ref": "#/jsonSchemas/projectEnvVar"
|
|
16006
|
+
}
|
|
16007
|
+
}
|
|
16008
|
+
},
|
|
16009
|
+
{
|
|
16010
|
+
"name": "--env-remove",
|
|
16011
|
+
"value": "<name,...>",
|
|
16012
|
+
"required": false,
|
|
16013
|
+
"description": "Project variables to remove, comma-separated."
|
|
16014
|
+
},
|
|
16015
|
+
{
|
|
16016
|
+
"name": "--clear",
|
|
16017
|
+
"value": "<setting,...>",
|
|
16018
|
+
"required": false,
|
|
16019
|
+
"description": "Settings to clear, comma-separated: build-script, run-script, archive-script, worktree-folder, open-ide-command, system-prompt."
|
|
16020
|
+
},
|
|
16021
|
+
{
|
|
16022
|
+
"name": "--from-json",
|
|
16023
|
+
"value": "<path|->",
|
|
16024
|
+
"required": false,
|
|
16025
|
+
"description": "JSON settings object with keys name, buildScript, runScript, archiveScript, worktreeFolder, openIdeCommand, systemPrompt, and envVars ({set: [...], remove: [...]}); null clears. Flags override it."
|
|
16026
|
+
},
|
|
16027
|
+
{
|
|
16028
|
+
"name": "--yes",
|
|
16029
|
+
"required": false,
|
|
16030
|
+
"description": "Skip confirmation for mutating commands."
|
|
16031
|
+
},
|
|
16032
|
+
{
|
|
16033
|
+
"name": "--dry-run",
|
|
16034
|
+
"required": false,
|
|
16035
|
+
"description": "Return the settings as they would be after the update without saving."
|
|
16036
|
+
},
|
|
16037
|
+
{
|
|
16038
|
+
"name": "--json",
|
|
16039
|
+
"required": false,
|
|
16040
|
+
"description": "Print machine-readable output."
|
|
16041
|
+
},
|
|
16042
|
+
{
|
|
16043
|
+
"name": "--pane-dir",
|
|
16044
|
+
"value": "<path>",
|
|
16045
|
+
"required": false,
|
|
16046
|
+
"description": "Connect to a specific Pane data directory."
|
|
16047
|
+
}
|
|
16048
|
+
],
|
|
16049
|
+
"examples": [
|
|
16050
|
+
"runpane repos update --repo Pane --build-script \"pnpm install\" --run-script \"pnpm dev\" --yes --json",
|
|
16051
|
+
"runpane repos update --repo Pane --clear archive-script --dry-run --json",
|
|
16052
|
+
"runpane repos update --repo Pane --from-json settings.json --yes --json",
|
|
16053
|
+
"runpane repos update --repo Pane --env '[{\"key\":\"STRIPE_KEY\",\"source\":\"secret\",\"project\":\"stripe\",\"name\":\"STRIPE_SECRET_KEY\"}]' --env-remove OLD_TOKEN --yes --json"
|
|
16054
|
+
],
|
|
16055
|
+
"jsonSchemas": [
|
|
16056
|
+
"repoUpdateRequest",
|
|
16057
|
+
"repoUpdateResult"
|
|
16058
|
+
],
|
|
16059
|
+
"notes": [
|
|
16060
|
+
"`changed` lists the settings whose saved value differs from before.",
|
|
16061
|
+
"The worktree folder applies to Panes created after the update; existing worktrees stay where they are.",
|
|
16062
|
+
"Plain values are saved and shown in full; do not put a secret in a plain variable. Point the variable at a Pane secret instead."
|
|
16063
|
+
]
|
|
16064
|
+
},
|
|
16065
|
+
"repos rename": {
|
|
16066
|
+
"name": "repos rename",
|
|
16067
|
+
"summary": "Rename a repository saved in the running Pane app.",
|
|
16068
|
+
"details": "Use this to replace an automatic repository name, such as one with a numeric suffix, with a clear one. It changes only the display name.",
|
|
16069
|
+
"requiresPaneDaemon": true,
|
|
16070
|
+
"mutates": true,
|
|
16071
|
+
"arguments": [
|
|
16072
|
+
{
|
|
16073
|
+
"name": "--repo",
|
|
16074
|
+
"value": "<selector>",
|
|
16075
|
+
"required": true,
|
|
16076
|
+
"description": "Repository to rename: active, id, exact path, or saved name."
|
|
16077
|
+
},
|
|
16078
|
+
{
|
|
16079
|
+
"name": "--name",
|
|
16080
|
+
"value": "<name>",
|
|
16081
|
+
"required": true,
|
|
16082
|
+
"description": "New non-empty repository name; surrounding whitespace is trimmed."
|
|
16083
|
+
},
|
|
16084
|
+
{
|
|
16085
|
+
"name": "--yes",
|
|
16086
|
+
"required": false,
|
|
16087
|
+
"description": "Skip confirmation for mutating commands."
|
|
16088
|
+
},
|
|
16089
|
+
{
|
|
16090
|
+
"name": "--json",
|
|
16091
|
+
"required": false,
|
|
16092
|
+
"description": "Print machine-readable output including the updated repository."
|
|
16093
|
+
},
|
|
16094
|
+
{
|
|
16095
|
+
"name": "--pane-dir",
|
|
16096
|
+
"value": "<path>",
|
|
16097
|
+
"required": false,
|
|
16098
|
+
"description": "Connect to a specific Pane data directory."
|
|
16099
|
+
}
|
|
16100
|
+
],
|
|
16101
|
+
"examples": [
|
|
16102
|
+
"runpane repos rename --repo 3 --name Lev --yes --json"
|
|
16103
|
+
],
|
|
16104
|
+
"jsonSchemas": [
|
|
16105
|
+
"repoRenameRequest",
|
|
16106
|
+
"repoRenameResult"
|
|
16107
|
+
],
|
|
16108
|
+
"notes": [
|
|
16109
|
+
"The repository path, Panes, and settings are unchanged."
|
|
16110
|
+
]
|
|
16111
|
+
},
|
|
16112
|
+
"secrets list": {
|
|
16113
|
+
"name": "secrets list",
|
|
16114
|
+
"summary": "List the Pane secrets on this machine: project, name, and when and where each was set. Never shows a value.",
|
|
16115
|
+
"details": "Use this to find the project and name to pass to `runpane secrets exec`. Each entry has project, name, updatedAt and machine. storage says how this machine keeps values; encrypted false means a plain 0600 file on a machine without an OS keyring.",
|
|
16116
|
+
"requiresPaneDaemon": true,
|
|
16117
|
+
"mutates": false,
|
|
16118
|
+
"arguments": [
|
|
16119
|
+
{
|
|
16120
|
+
"name": "--project",
|
|
16121
|
+
"value": "<project>",
|
|
16122
|
+
"required": false,
|
|
16123
|
+
"description": "Only this project's secrets."
|
|
16124
|
+
},
|
|
16125
|
+
{
|
|
16126
|
+
"name": "--json",
|
|
16127
|
+
"required": false,
|
|
16128
|
+
"description": "Print machine-readable output."
|
|
16129
|
+
},
|
|
16130
|
+
{
|
|
16131
|
+
"name": "--pane-dir",
|
|
16132
|
+
"value": "<path>",
|
|
16133
|
+
"required": false,
|
|
16134
|
+
"description": "Connect to a specific Pane data directory."
|
|
16135
|
+
}
|
|
16136
|
+
],
|
|
16137
|
+
"examples": [
|
|
16138
|
+
"runpane secrets list --json",
|
|
16139
|
+
"runpane secrets list --project stripe --json"
|
|
16140
|
+
],
|
|
16141
|
+
"jsonSchemas": [
|
|
16142
|
+
"secretListRequest",
|
|
16143
|
+
"secretListResult"
|
|
16144
|
+
],
|
|
16145
|
+
"notes": [
|
|
16146
|
+
"Runs on this machine only: `runpane workspace <machine> secrets ...` is refused. Use `runpane workspace <machine> exec -- runpane secrets ...` for another machine."
|
|
16147
|
+
]
|
|
16148
|
+
},
|
|
16149
|
+
"secrets set": {
|
|
16150
|
+
"name": "secrets set",
|
|
16151
|
+
"summary": "Save a Pane secret, adding or replacing it. Reads the value from stdin.",
|
|
16152
|
+
"details": "The value comes only from stdin, so it never appears in argv or a transcript. One trailing newline (\\n or \\r\\n) is dropped; an empty value is refused. If stdin is a terminal it is refused too: pipe the value in, or have the person use Settings > Secrets or `runpane secrets request`. With --json it prints {ok, replaced, secret} (secretSetResult).",
|
|
16153
|
+
"requiresPaneDaemon": true,
|
|
16154
|
+
"mutates": true,
|
|
16155
|
+
"arguments": [
|
|
16156
|
+
{
|
|
16157
|
+
"name": "--project",
|
|
16158
|
+
"value": "<project>",
|
|
16159
|
+
"required": true,
|
|
16160
|
+
"description": "Secret project: up to 64 letters, digits, \".\", \"_\" or \"-\"."
|
|
16161
|
+
},
|
|
16162
|
+
{
|
|
16163
|
+
"name": "--name",
|
|
16164
|
+
"value": "<name>",
|
|
16165
|
+
"required": true,
|
|
16166
|
+
"description": "Secret name: letters, digits and underscores, not starting with a digit. PATH, WORKTREE_PATH and PANE_* are reserved."
|
|
16167
|
+
},
|
|
16168
|
+
{
|
|
16169
|
+
"name": "--yes",
|
|
16170
|
+
"required": true,
|
|
16171
|
+
"description": "Confirm the change."
|
|
16172
|
+
},
|
|
16173
|
+
{
|
|
16174
|
+
"name": "--json",
|
|
16175
|
+
"required": false,
|
|
16176
|
+
"description": "Print machine-readable output."
|
|
16177
|
+
},
|
|
16178
|
+
{
|
|
16179
|
+
"name": "--pane-dir",
|
|
16180
|
+
"value": "<path>",
|
|
16181
|
+
"required": false,
|
|
16182
|
+
"description": "Connect to a specific Pane data directory."
|
|
16183
|
+
}
|
|
16184
|
+
],
|
|
16185
|
+
"examples": [
|
|
16186
|
+
"printf %s \"$VALUE\" | runpane secrets set --project stripe --name STRIPE_SECRET_KEY --yes --json"
|
|
16187
|
+
],
|
|
16188
|
+
"jsonSchemas": [
|
|
16189
|
+
"secretSetRequest",
|
|
16190
|
+
"secretSetResult"
|
|
16191
|
+
],
|
|
16192
|
+
"notes": [
|
|
16193
|
+
"Never set a value someone pasted into the chat; ask with `runpane secrets request` instead, so the value stays out of the transcript.",
|
|
16194
|
+
"There is no MCP tool for this command: MCP arguments land in the transcript.",
|
|
16195
|
+
"Runs on this machine only: `runpane workspace <machine> secrets ...` is refused. Use `runpane workspace <machine> exec -- runpane secrets ...` for another machine."
|
|
16196
|
+
]
|
|
16197
|
+
},
|
|
16198
|
+
"secrets delete": {
|
|
16199
|
+
"name": "secrets delete",
|
|
16200
|
+
"summary": "Delete a Pane secret from this machine and, through sync, from your other machines.",
|
|
16201
|
+
"details": "Deletes <project>/<name> here. Each other machine deletes it the next time a desktop or the phone syncs with it.",
|
|
16202
|
+
"requiresPaneDaemon": true,
|
|
16203
|
+
"mutates": true,
|
|
16204
|
+
"arguments": [
|
|
16205
|
+
{
|
|
16206
|
+
"name": "--project",
|
|
16207
|
+
"value": "<project>",
|
|
16208
|
+
"required": true,
|
|
16209
|
+
"description": "Secret project."
|
|
16210
|
+
},
|
|
16211
|
+
{
|
|
16212
|
+
"name": "--name",
|
|
16213
|
+
"value": "<name>",
|
|
16214
|
+
"required": true,
|
|
16215
|
+
"description": "Secret name."
|
|
16216
|
+
},
|
|
16217
|
+
{
|
|
16218
|
+
"name": "--yes",
|
|
16219
|
+
"required": true,
|
|
16220
|
+
"description": "Confirm the change."
|
|
16221
|
+
},
|
|
16222
|
+
{
|
|
16223
|
+
"name": "--json",
|
|
14749
16224
|
"required": false,
|
|
14750
|
-
"description": "
|
|
16225
|
+
"description": "Print machine-readable output."
|
|
14751
16226
|
},
|
|
14752
16227
|
{
|
|
14753
|
-
"name": "--
|
|
14754
|
-
"value": "<path
|
|
16228
|
+
"name": "--pane-dir",
|
|
16229
|
+
"value": "<path>",
|
|
14755
16230
|
"required": false,
|
|
14756
|
-
"description": "
|
|
16231
|
+
"description": "Connect to a specific Pane data directory."
|
|
16232
|
+
}
|
|
16233
|
+
],
|
|
16234
|
+
"examples": [
|
|
16235
|
+
"runpane secrets delete --project stripe --name STRIPE_SECRET_KEY --yes --json"
|
|
16236
|
+
],
|
|
16237
|
+
"jsonSchemas": [
|
|
16238
|
+
"secretDeleteRequest",
|
|
16239
|
+
"secretDeleteResult"
|
|
16240
|
+
],
|
|
16241
|
+
"notes": [
|
|
16242
|
+
"A secret that does not exist fails with SECRET_NOT_FOUND.",
|
|
16243
|
+
"Runs on this machine only: `runpane workspace <machine> secrets ...` is refused. Use `runpane workspace <machine> exec -- runpane secrets ...` for another machine."
|
|
16244
|
+
]
|
|
16245
|
+
},
|
|
16246
|
+
"secrets exec": {
|
|
16247
|
+
"name": "secrets exec",
|
|
16248
|
+
"summary": "Run a command with Pane secrets in its environment. Nothing prints a value.",
|
|
16249
|
+
"details": "Reads the secrets from this machine's Pane when it runs, starts the command with your environment plus the secrets, passes stdin, stdout and stderr through, and exits with the command's exit code. By default it injects every secret in the project under its own name. --only limits that to the names given. --env VAR=NAME injects secret NAME as VAR. --file NAME writes secret NAME to a 0600 file in a private temp folder and sets NAME to the file's path; the file is removed when the command exits. Injected names override your environment.",
|
|
16250
|
+
"requiresPaneDaemon": true,
|
|
16251
|
+
"mutates": false,
|
|
16252
|
+
"arguments": [
|
|
16253
|
+
{
|
|
16254
|
+
"name": "--project",
|
|
16255
|
+
"value": "<project>",
|
|
16256
|
+
"required": true,
|
|
16257
|
+
"description": "Secret project."
|
|
14757
16258
|
},
|
|
14758
16259
|
{
|
|
14759
|
-
"name": "--
|
|
16260
|
+
"name": "--only",
|
|
16261
|
+
"value": "<name,...>",
|
|
14760
16262
|
"required": false,
|
|
14761
|
-
"description": "
|
|
16263
|
+
"description": "Inject only these secrets, comma-separated."
|
|
14762
16264
|
},
|
|
14763
16265
|
{
|
|
14764
|
-
"name": "--
|
|
16266
|
+
"name": "--env",
|
|
16267
|
+
"value": "<VAR=NAME>",
|
|
14765
16268
|
"required": false,
|
|
14766
|
-
"description": "
|
|
16269
|
+
"description": "Inject secret NAME as VAR. Repeatable."
|
|
14767
16270
|
},
|
|
14768
16271
|
{
|
|
14769
|
-
"name": "--
|
|
16272
|
+
"name": "--file",
|
|
16273
|
+
"value": "<name>",
|
|
14770
16274
|
"required": false,
|
|
14771
|
-
"description": "
|
|
16275
|
+
"description": "Write secret NAME to a private temp file and set NAME to its path. Repeatable."
|
|
14772
16276
|
},
|
|
14773
16277
|
{
|
|
14774
16278
|
"name": "--pane-dir",
|
|
14775
16279
|
"value": "<path>",
|
|
14776
16280
|
"required": false,
|
|
14777
16281
|
"description": "Connect to a specific Pane data directory."
|
|
16282
|
+
},
|
|
16283
|
+
{
|
|
16284
|
+
"name": "-- <command>",
|
|
16285
|
+
"required": true,
|
|
16286
|
+
"description": "The command to run and its arguments."
|
|
14778
16287
|
}
|
|
14779
16288
|
],
|
|
14780
16289
|
"examples": [
|
|
14781
|
-
"runpane
|
|
14782
|
-
"runpane
|
|
14783
|
-
"runpane
|
|
14784
|
-
],
|
|
14785
|
-
"jsonSchemas": [
|
|
14786
|
-
"repoUpdateRequest",
|
|
14787
|
-
"repoUpdateResult"
|
|
16290
|
+
"runpane secrets exec --project stripe -- pnpm test:webhooks",
|
|
16291
|
+
"runpane secrets exec --project stripe --env STRIPE_API_KEY=STRIPE_SECRET_KEY -- node scripts/sync.js",
|
|
16292
|
+
"runpane secrets exec --project gcp --file SERVICE_ACCOUNT_JSON -- sh -c 'gcloud auth activate-service-account --key-file \"$SERVICE_ACCOUNT_JSON\"'"
|
|
14788
16293
|
],
|
|
14789
16294
|
"notes": [
|
|
14790
|
-
"
|
|
14791
|
-
"
|
|
16295
|
+
"Target names PATH, WORKTREE_PATH and PANE_*, in any case, are refused with SECRET_RESERVED_NAME, and nothing runs.",
|
|
16296
|
+
"A missing secret fails with SECRET_NOT_FOUND before anything runs; ask for it with `runpane secrets request`.",
|
|
16297
|
+
"Do not echo a secret from inside the command: its output lands wherever the command's output goes, such as your transcript.",
|
|
16298
|
+
"There is no MCP tool for this command; run it in a shell.",
|
|
16299
|
+
"Runs on this machine only: `runpane workspace <machine> secrets ...` is refused. Use `runpane workspace <machine> exec -- runpane secrets ...` for another machine.",
|
|
16300
|
+
"Secrets are the machine owner's: every secrets command in a teammate's `runpane workspace exec` (PANE_TEAMMATE_LOGIN set) fails with SECRET_OWNER_REQUIRED."
|
|
14792
16301
|
]
|
|
14793
16302
|
},
|
|
14794
|
-
"
|
|
14795
|
-
"name": "
|
|
14796
|
-
"summary": "
|
|
14797
|
-
"details": "
|
|
16303
|
+
"secrets request": {
|
|
16304
|
+
"name": "secrets request",
|
|
16305
|
+
"summary": "Ask the person for a secret on a masked card. Pane saves what they type as a Pane secret and never returns it.",
|
|
16306
|
+
"details": "Shows a Notify card with your title and reason, a masked field, Save securely and Decline. What the person types is saved on this machine as the Pane secret <project>/<name> and synced to their other machines. You get back {status: \"saved\", project, name} or {status: \"declined\"}, never the value. Then use it with `runpane secrets exec`.",
|
|
14798
16307
|
"requiresPaneDaemon": true,
|
|
14799
16308
|
"mutates": true,
|
|
14800
16309
|
"arguments": [
|
|
14801
16310
|
{
|
|
14802
|
-
"name": "--
|
|
14803
|
-
"value": "<
|
|
16311
|
+
"name": "--project",
|
|
16312
|
+
"value": "<project>",
|
|
14804
16313
|
"required": true,
|
|
14805
|
-
"description": "
|
|
16314
|
+
"description": "Secret project, such as the service or repo it belongs to: up to 64 letters, digits, \".\", \"_\" or \"-\"."
|
|
14806
16315
|
},
|
|
14807
16316
|
{
|
|
14808
16317
|
"name": "--name",
|
|
14809
16318
|
"value": "<name>",
|
|
14810
16319
|
"required": true,
|
|
14811
|
-
"description": "
|
|
16320
|
+
"description": "Secret name, such as STRIPE_SECRET_KEY: letters, digits and underscores, not starting with a digit."
|
|
14812
16321
|
},
|
|
14813
16322
|
{
|
|
14814
|
-
"name": "--
|
|
14815
|
-
"
|
|
14816
|
-
"
|
|
16323
|
+
"name": "--title",
|
|
16324
|
+
"value": "<text>",
|
|
16325
|
+
"required": true,
|
|
16326
|
+
"description": "What the secret is, in a few words, such as \"Stripe test secret key\"."
|
|
16327
|
+
},
|
|
16328
|
+
{
|
|
16329
|
+
"name": "--reason",
|
|
16330
|
+
"value": "<text>",
|
|
16331
|
+
"required": true,
|
|
16332
|
+
"description": "What you need it for, in one sentence."
|
|
14817
16333
|
},
|
|
14818
16334
|
{
|
|
14819
16335
|
"name": "--json",
|
|
14820
16336
|
"required": false,
|
|
14821
|
-
"description": "Print machine-readable output
|
|
16337
|
+
"description": "Print machine-readable output."
|
|
14822
16338
|
},
|
|
14823
16339
|
{
|
|
14824
16340
|
"name": "--pane-dir",
|
|
@@ -14828,14 +16344,16 @@ exports.RUNPANE_CONTRACT = {
|
|
|
14828
16344
|
}
|
|
14829
16345
|
],
|
|
14830
16346
|
"examples": [
|
|
14831
|
-
"runpane
|
|
16347
|
+
"runpane secrets request --project stripe --name STRIPE_SECRET_KEY --title \"Stripe test secret key\" --reason \"Run the webhook integration tests against Stripe's test mode.\" --json"
|
|
14832
16348
|
],
|
|
14833
16349
|
"jsonSchemas": [
|
|
14834
|
-
"
|
|
14835
|
-
"
|
|
16350
|
+
"notifyRequest",
|
|
16351
|
+
"notifyResult"
|
|
14836
16352
|
],
|
|
14837
16353
|
"notes": [
|
|
14838
|
-
"
|
|
16354
|
+
"A result of {waiting: true, id} means the card is still open and your client would otherwise time out: call `runpane notify --resume <id>` right away to keep waiting.",
|
|
16355
|
+
"A result of {unavailable, next} means nobody can answer through Pane right now. Do not ask for the secret in the chat; follow next.",
|
|
16356
|
+
"Saving replaces a secret that already exists under that name; the card says so."
|
|
14839
16357
|
]
|
|
14840
16358
|
},
|
|
14841
16359
|
"panes list": {
|
|
@@ -15268,7 +16786,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
15268
16786
|
"panes archive": {
|
|
15269
16787
|
"name": "panes archive",
|
|
15270
16788
|
"summary": "Archive a Pane (session) exactly like the UI Archive action, including safe removal of its Pane-managed git worktree, or archive every merged Pane in a Session.",
|
|
15271
|
-
"details": "Use this to close out a Pane once its PR has merged. The safety check refreshes the configured upstream before comparing it to HEAD and includes exact unpushed commit IDs and subjects. When the branch has no upstream or its upstream is gone (GitHub deletes merged branches), a merged pull request whose head is HEAD counts as pushed, so squash-merged branches archive without --force. Refuses unsafe archive operations unless --force is used. Use --dry-run to inspect the same evidence without mutating Pane state. Use --session <id|name> --merged to close out every finished Pane of a Session at once.",
|
|
16789
|
+
"details": "Use this to close out a Pane once its PR has merged. The safety check refreshes the configured upstream before comparing it to HEAD and includes exact unpushed commit IDs and subjects. When the branch has no upstream or its upstream is gone (GitHub deletes merged branches), a merged pull request whose head is HEAD counts as pushed, so squash-merged branches archive without --force. Refuses unsafe archive operations unless --force is used. Use --dry-run to inspect the same evidence without mutating Pane state. Use --session <id|name> --merged to close out every finished Pane of a Session at once. Archive also refuses a Pane with an agent mid-turn or waiting for an answer (`agent-busy`, listed in `safetyCheck.busyAgents`), or with a tab holding unsent composer text or unsaved editor edits (`unsent-input`, listed in `safetyCheck.unsentInput`), unless --force is used, since archiving stops the agent or loses the input.",
|
|
15272
16790
|
"requiresPaneDaemon": true,
|
|
15273
16791
|
"mutates": true,
|
|
15274
16792
|
"arguments": [
|
|
@@ -15287,7 +16805,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
15287
16805
|
{
|
|
15288
16806
|
"name": "--force",
|
|
15289
16807
|
"required": false,
|
|
15290
|
-
"description": "Archive even if the pane's branch has uncommitted, untracked, or unpushed changes."
|
|
16808
|
+
"description": "Archive even if the pane's branch has uncommitted, untracked, or unpushed changes, one of its agents is mid-turn or waiting for an answer (archiving stops it), or a tab holds unsent input (archiving loses it)."
|
|
15291
16809
|
},
|
|
15292
16810
|
{
|
|
15293
16811
|
"name": "--remove-worktree",
|
|
@@ -15351,7 +16869,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
15351
16869
|
"With --session --merged, each item has outcome archived, would-archive (dry run), skipped (with skipped.code and skipped.message), or failed.",
|
|
15352
16870
|
"Archiving a main-repo Pane (no Pane-managed worktree) always succeeds immediately since nothing is deleted from disk.",
|
|
15353
16871
|
"Undo an archive with `runpane panes restore --pane <pane-id> --yes`, which recreates the worktree. `runpane links create --pane <pane-id>` gives the user a link to review the Pane first.",
|
|
15354
|
-
"When the safety check is skipped, `safetyCheck.reason` says why: `external-worktree` (an adopted Pane whose worktree Pane does not own), `main-repo`, `missing-project-context`, or `git-error`. `worktreeWillRemain: true` means archiving leaves the worktree on disk."
|
|
16872
|
+
"When the safety check is skipped, `safetyCheck.reason` says why: `external-worktree` (an adopted Pane whose worktree Pane does not own), `main-repo`, `missing-project-context`, or `git-error`. `worktreeWillRemain: true` means archiving leaves the worktree on disk.",
|
|
16873
|
+
"An agent mid-turn or waiting for an answer blocks archive with `agent-busy` (`safetyCheck.busyAgents` lists them); wait until it is idle with `runpane panels wait --panel <id> --for idle`, then archive again. The Session sweep skips such a Pane with skipped.code `agent-busy`.",
|
|
16874
|
+
"A tab holding text typed into an agent's composer but not sent, or an editor with unsaved edits, blocks archive with `unsent-input` (`safetyCheck.unsentInput` lists them); send, save or clear it, then archive again. `--force` discards it."
|
|
15355
16875
|
]
|
|
15356
16876
|
},
|
|
15357
16877
|
"panes pin": {
|
|
@@ -15450,6 +16970,87 @@ exports.RUNPANE_CONTRACT = {
|
|
|
15450
16970
|
"Unpinning does not focus the Pane."
|
|
15451
16971
|
]
|
|
15452
16972
|
},
|
|
16973
|
+
"panes pause": {
|
|
16974
|
+
"name": "panes pause",
|
|
16975
|
+
"summary": "Pause a Pane: stop every terminal tab and keep their conversations until the Pane is resumed.",
|
|
16976
|
+
"details": "Pauses every terminal tab of a Pane, run scripts included, until `panes resume` resumes it. A Pane reads as paused (`panes list` `paused`) while all of its terminal tabs are. Pane stops each terminal tab the way quitting does, without asking, even mid-turn, keeps its agent's conversation, and marks it paused. A paused tab stays stopped through clicks, app restarts and updates; `panels resume --session` and `--all-stopped` skip it. `watch` reports each tab as `panel.paused`.",
|
|
16977
|
+
"requiresPaneDaemon": true,
|
|
16978
|
+
"mutates": true,
|
|
16979
|
+
"arguments": [
|
|
16980
|
+
{
|
|
16981
|
+
"name": "--pane",
|
|
16982
|
+
"value": "<pane-id>",
|
|
16983
|
+
"required": true,
|
|
16984
|
+
"description": "Pane id."
|
|
16985
|
+
},
|
|
16986
|
+
{
|
|
16987
|
+
"name": "--yes",
|
|
16988
|
+
"required": false,
|
|
16989
|
+
"description": "Skip confirmation for this mutating command."
|
|
16990
|
+
},
|
|
16991
|
+
{
|
|
16992
|
+
"name": "--json",
|
|
16993
|
+
"required": false,
|
|
16994
|
+
"description": "Print machine-readable output."
|
|
16995
|
+
},
|
|
16996
|
+
{
|
|
16997
|
+
"name": "--pane-dir",
|
|
16998
|
+
"value": "<path>",
|
|
16999
|
+
"required": false,
|
|
17000
|
+
"description": "Connect to a specific Pane data directory."
|
|
17001
|
+
}
|
|
17002
|
+
],
|
|
17003
|
+
"examples": [
|
|
17004
|
+
"runpane panes pause --pane <pane-id> --yes --json"
|
|
17005
|
+
],
|
|
17006
|
+
"jsonSchemas": [
|
|
17007
|
+
"pauseResult"
|
|
17008
|
+
],
|
|
17009
|
+
"notes": [
|
|
17010
|
+
"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.",
|
|
17011
|
+
"Leave paused workers paused unless the person asks to resume them."
|
|
17012
|
+
]
|
|
17013
|
+
},
|
|
17014
|
+
"panes resume": {
|
|
17015
|
+
"name": "panes resume",
|
|
17016
|
+
"summary": "Resume a paused Pane: restart its paused tabs in their saved conversations.",
|
|
17017
|
+
"details": "Resumes a Pane's paused tabs. Pane restarts each paused tab in place through the same restart `panels resume` runs, so agents relaunch in their saved conversations and report ready as usual. Running tabs are left alone and counted in `unchanged`. `watch` reports each resumed tab as `panel.unpaused`.",
|
|
17018
|
+
"requiresPaneDaemon": true,
|
|
17019
|
+
"mutates": true,
|
|
17020
|
+
"arguments": [
|
|
17021
|
+
{
|
|
17022
|
+
"name": "--pane",
|
|
17023
|
+
"value": "<pane-id>",
|
|
17024
|
+
"required": true,
|
|
17025
|
+
"description": "Pane id."
|
|
17026
|
+
},
|
|
17027
|
+
{
|
|
17028
|
+
"name": "--yes",
|
|
17029
|
+
"required": false,
|
|
17030
|
+
"description": "Skip confirmation for this mutating command."
|
|
17031
|
+
},
|
|
17032
|
+
{
|
|
17033
|
+
"name": "--json",
|
|
17034
|
+
"required": false,
|
|
17035
|
+
"description": "Print machine-readable output."
|
|
17036
|
+
},
|
|
17037
|
+
{
|
|
17038
|
+
"name": "--pane-dir",
|
|
17039
|
+
"value": "<path>",
|
|
17040
|
+
"required": false,
|
|
17041
|
+
"description": "Connect to a specific Pane data directory."
|
|
17042
|
+
}
|
|
17043
|
+
],
|
|
17044
|
+
"examples": [
|
|
17045
|
+
"runpane panes resume --pane <pane-id> --yes --json"
|
|
17046
|
+
],
|
|
17047
|
+
"jsonSchemas": [
|
|
17048
|
+
"pauseResult"
|
|
17049
|
+
],
|
|
17050
|
+
"notes": [
|
|
17051
|
+
"ok is false when a tab could not start; check failed[] for which and why. The others still resumed."
|
|
17052
|
+
]
|
|
17053
|
+
},
|
|
15453
17054
|
"panes rename": {
|
|
15454
17055
|
"name": "panes rename",
|
|
15455
17056
|
"summary": "Rename a Pane without changing its worktree, branch, panels, or focus.",
|
|
@@ -15899,7 +17500,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
15899
17500
|
"panels resume": {
|
|
15900
17501
|
"name": "panels resume",
|
|
15901
17502
|
"summary": "Restart stopped terminal panels in place, resuming their agents' conversations: one panel, a Session's panels, or every stopped agent panel.",
|
|
15902
|
-
"details": "Use this when `panels list`, `panels screen`, or `panels wait` report `running: false`, or `watch` reports `panel.stopped`, typically after a Pane restart or once its agent exited back to the shell. The panel keeps its id. Pane re-runs the panel's saved launch command resolved to the agent's resume command (Claude `--resume <session>`, `codex resume <session>`, Cursor `--resume`), the same restart the app runs when it shows the panel. It never takes focus. A panel whose agent exited back to its shell has its saved command run again in that shell. On a running panel it does nothing and returns `action: \"already-running\"`. `--session <id|name>` or `--all-stopped` resumes every stopped agent panel in that scope (plain shells are left alone), `--concurrency` at a time, skips running panels, and returns one result per panel; one failure does not stop the others.",
|
|
17503
|
+
"details": "Use this when `panels list`, `panels screen`, or `panels wait` report `running: false`, or `watch` reports `panel.stopped`, typically after a Pane restart or once its agent exited back to the shell. The panel keeps its id. Pane re-runs the panel's saved launch command resolved to the agent's resume command (Claude `--resume <session>`, `codex resume <session>`, Cursor `--resume`), the same restart the app runs when it shows the panel. It never takes focus. A panel whose agent exited back to its shell has its saved command run again in that shell. On a running panel it does nothing and returns `action: \"already-running\"`. `--panel` also resumes a paused tab. `--session <id|name>` or `--all-stopped` resumes every stopped agent panel in that scope (plain shells and paused tabs are left alone), `--concurrency` at a time, skips running panels, and returns one result per panel; one failure does not stop the others.",
|
|
15903
17504
|
"requiresPaneDaemon": true,
|
|
15904
17505
|
"mutates": true,
|
|
15905
17506
|
"arguments": [
|
|
@@ -15968,6 +17569,89 @@ exports.RUNPANE_CONTRACT = {
|
|
|
15968
17569
|
"A bulk resume is ok only when every panel resumed and, with --wait-ready, became ready. Check items[].readiness.blocked and items[].error per panel."
|
|
15969
17570
|
]
|
|
15970
17571
|
},
|
|
17572
|
+
"panels close": {
|
|
17573
|
+
"name": "panels close",
|
|
17574
|
+
"summary": "Close a tab in a Pane, stopping its process, as closing the tab in the app does.",
|
|
17575
|
+
"details": "Use this to remove a tab you no longer need, such as a finished or stuck worker. It runs the app's own close-tab path: a terminal tab's process is stopped, the tab disappears from every window showing the Pane, and another tab becomes active if it was the active one.",
|
|
17576
|
+
"requiresPaneDaemon": true,
|
|
17577
|
+
"mutates": true,
|
|
17578
|
+
"arguments": [
|
|
17579
|
+
{
|
|
17580
|
+
"name": "--panel",
|
|
17581
|
+
"value": "<panel-id>",
|
|
17582
|
+
"required": true,
|
|
17583
|
+
"description": "Panel id to close (any tab type)."
|
|
17584
|
+
},
|
|
17585
|
+
{
|
|
17586
|
+
"name": "--yes",
|
|
17587
|
+
"required": false,
|
|
17588
|
+
"description": "Skip confirmation for this mutating command."
|
|
17589
|
+
},
|
|
17590
|
+
{
|
|
17591
|
+
"name": "--json",
|
|
17592
|
+
"required": false,
|
|
17593
|
+
"description": "Print machine-readable output."
|
|
17594
|
+
},
|
|
17595
|
+
{
|
|
17596
|
+
"name": "--pane-dir",
|
|
17597
|
+
"value": "<path>",
|
|
17598
|
+
"required": false,
|
|
17599
|
+
"description": "Connect to a specific Pane data directory."
|
|
17600
|
+
}
|
|
17601
|
+
],
|
|
17602
|
+
"examples": [
|
|
17603
|
+
"runpane panels close --panel <panel-id> --yes --json"
|
|
17604
|
+
],
|
|
17605
|
+
"jsonSchemas": [
|
|
17606
|
+
"panelCloseRequest",
|
|
17607
|
+
"panelCloseResult"
|
|
17608
|
+
],
|
|
17609
|
+
"notes": [
|
|
17610
|
+
"Closing is not undoable: the tab and its scrollback are gone. To stop an agent and keep its tab, send it Ctrl-C with `panels input` instead; to restart a stopped one, use `panels resume`.",
|
|
17611
|
+
"A Pane's permanent tabs cannot be closed; the command fails and nothing changes.",
|
|
17612
|
+
"Closing the tab the command runs in stops the caller too, so it may not see the result."
|
|
17613
|
+
]
|
|
17614
|
+
},
|
|
17615
|
+
"panels pause": {
|
|
17616
|
+
"name": "panels pause",
|
|
17617
|
+
"summary": "Pause a terminal tab: stop its process and keep its agent's conversation until it is resumed.",
|
|
17618
|
+
"details": "Pauses one terminal tab until `panels resume --panel <panel-id>`, or its Pane or Session, resumes it. Pane stops each terminal tab the way quitting does, without asking, even mid-turn, keeps its agent's conversation, and marks it paused. A paused tab stays stopped through clicks, app restarts and updates; `panels resume --session` and `--all-stopped` skip it. `watch` reports each tab as `panel.paused`.",
|
|
17619
|
+
"requiresPaneDaemon": true,
|
|
17620
|
+
"mutates": true,
|
|
17621
|
+
"arguments": [
|
|
17622
|
+
{
|
|
17623
|
+
"name": "--panel",
|
|
17624
|
+
"value": "<panel-id>",
|
|
17625
|
+
"required": true,
|
|
17626
|
+
"description": "Terminal panel id."
|
|
17627
|
+
},
|
|
17628
|
+
{
|
|
17629
|
+
"name": "--yes",
|
|
17630
|
+
"required": false,
|
|
17631
|
+
"description": "Skip confirmation for this mutating command."
|
|
17632
|
+
},
|
|
17633
|
+
{
|
|
17634
|
+
"name": "--json",
|
|
17635
|
+
"required": false,
|
|
17636
|
+
"description": "Print machine-readable output."
|
|
17637
|
+
},
|
|
17638
|
+
{
|
|
17639
|
+
"name": "--pane-dir",
|
|
17640
|
+
"value": "<path>",
|
|
17641
|
+
"required": false,
|
|
17642
|
+
"description": "Connect to a specific Pane data directory."
|
|
17643
|
+
}
|
|
17644
|
+
],
|
|
17645
|
+
"examples": [
|
|
17646
|
+
"runpane panels pause --panel <panel-id> --yes --json"
|
|
17647
|
+
],
|
|
17648
|
+
"jsonSchemas": [
|
|
17649
|
+
"pauseResult"
|
|
17650
|
+
],
|
|
17651
|
+
"notes": [
|
|
17652
|
+
"Leave paused workers paused unless the person asks to resume them."
|
|
17653
|
+
]
|
|
17654
|
+
},
|
|
15971
17655
|
"panels wait": {
|
|
15972
17656
|
"name": "panels wait",
|
|
15973
17657
|
"summary": "Wait for a terminal panel to initialize, become ready/idle, or contain text.",
|
|
@@ -16431,7 +18115,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
16431
18115
|
"name": "--kinds",
|
|
16432
18116
|
"required": false,
|
|
16433
18117
|
"value": "<kind,...>",
|
|
16434
|
-
"description": "Replace the default event kinds: agent.ready, agent.busy, agent.blocked, agent.unknown, agent.idle, pane.created, pane.gone, panel.exited, panel.stopped, agent.report, pane.associated, pane.detached, pr.conflicted, pr.checks, pr.merged. Defaults: defaults.watch.follow.kinds under --follow, defaults.watch.untilEvent.kinds under --until-event, every kind for a one-shot read."
|
|
18118
|
+
"description": "Replace the default event kinds: agent.ready, agent.busy, agent.blocked, agent.unknown, agent.idle, pane.created, pane.gone, panel.exited, panel.stopped, panel.paused, panel.unpaused, agent.report, pane.associated, pane.detached, pr.conflicted, pr.checks, pr.merged. Defaults: defaults.watch.follow.kinds under --follow, defaults.watch.untilEvent.kinds under --until-event, every kind for a one-shot read."
|
|
16435
18119
|
},
|
|
16436
18120
|
{
|
|
16437
18121
|
"name": "--json",
|
|
@@ -17767,6 +19451,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
17767
19451
|
"JSON isPinned: true/false sets the UI pin star. Creation defaults to false; update preserves the pin when omitted.",
|
|
17768
19452
|
"Payload fields (all optional on update; name required on create): name, goal, context, nextAction, launchCommand, profile (strings); isPinned and, on update, archived (booleans); agent (codex|claude|cursor); decisions and blockers (arrays of strings); evidence and outputs (arrays of links); create also takes runtime (windows|wsl) and wslDistribution; update also takes report, expectedRevision (the revision you read; the update is refused if the Session has moved on) and source (user|agent).",
|
|
17769
19453
|
"A link is {\"label\": non-empty string, \"url\": an https://, http://, file:// or grain:// URL, \"addedAt\": ISO 8601 date such as 2026-10-14T09:30:00Z, \"kind\"?: evidence|output|ticket|pull-request|other, \"provenance\"?: string}.",
|
|
19454
|
+
"archived: true also archives every Pane associated with the Session, as `panes archive --pane` would. A Pane that check refuses stays open (agent-busy, unsent-input, uncommitted-changes, unpushed-commits, uncommitted-and-unpushed, status-unknown), and so does one whose archive fails. The result's `panes` lists `archivedPaneIds`, `keptPanes` (with `code`) and `failedPanes` (with `error`); check a kept Pane with `panes archive --pane <id> --dry-run --json`. Undo is the person's: `panes restore`.",
|
|
17770
19455
|
"Arrays replace the stored value: send the whole list, not only new items.",
|
|
17771
19456
|
"Every problem in the payload is reported at once in one ERR_SESSION_PAYLOAD_INVALID error (paths such as outputs[0].addedAt, \"missing\" for an absent required field), and nothing is changed.",
|
|
17772
19457
|
"update only: report is {\"summary\": non-empty string, \"status\": reported|verified, \"evidence\": [at least one link], \"reportedAt\": ISO 8601 date, \"provenance\": non-empty string}; report null clears it.",
|
|
@@ -18376,6 +20061,76 @@ exports.RUNPANE_CONTRACT = {
|
|
|
18376
20061
|
"Uses the same Session update path as the UI. The requested pin state is idempotent."
|
|
18377
20062
|
]
|
|
18378
20063
|
},
|
|
20064
|
+
"sessions pause": {
|
|
20065
|
+
"name": "sessions pause",
|
|
20066
|
+
"summary": "Pause a Session: stop its chat and the tabs of every Pane in it, keeping their conversations.",
|
|
20067
|
+
"details": "Pauses a Session's chat and the terminal tabs of every Pane in it that is not archived, until `sessions resume` resumes them. A Session reads as paused (`sessions get` `session.paused`) while its chat and all of its Panes are. Pane stops each terminal tab the way quitting does, without asking, even mid-turn, keeps its agent's conversation, and marks it paused. A paused tab stays stopped through clicks, app restarts and updates; `panels resume --session` and `--all-stopped` skip it. `watch` reports each tab as `panel.paused`.",
|
|
20068
|
+
"requiresPaneDaemon": true,
|
|
20069
|
+
"mutates": true,
|
|
20070
|
+
"arguments": [
|
|
20071
|
+
{
|
|
20072
|
+
"name": "--session",
|
|
20073
|
+
"value": "<id|name>",
|
|
20074
|
+
"required": true,
|
|
20075
|
+
"description": "Named Session id or exact name."
|
|
20076
|
+
},
|
|
20077
|
+
{
|
|
20078
|
+
"name": "--json",
|
|
20079
|
+
"required": false,
|
|
20080
|
+
"description": "Print machine-readable output."
|
|
20081
|
+
},
|
|
20082
|
+
{
|
|
20083
|
+
"name": "--pane-dir",
|
|
20084
|
+
"value": "<path>",
|
|
20085
|
+
"required": false,
|
|
20086
|
+
"description": "Connect to a specific Pane data directory."
|
|
20087
|
+
}
|
|
20088
|
+
],
|
|
20089
|
+
"examples": [
|
|
20090
|
+
"runpane sessions pause --session <id|name> --json"
|
|
20091
|
+
],
|
|
20092
|
+
"jsonSchemas": [
|
|
20093
|
+
"pauseResult"
|
|
20094
|
+
],
|
|
20095
|
+
"notes": [
|
|
20096
|
+
"Leave paused workers paused unless the person asks to resume them."
|
|
20097
|
+
]
|
|
20098
|
+
},
|
|
20099
|
+
"sessions resume": {
|
|
20100
|
+
"name": "sessions resume",
|
|
20101
|
+
"summary": "Resume a paused Session: restart its chat and the paused tabs of its Panes.",
|
|
20102
|
+
"details": "Resumes the paused tabs of a Session's chat and Panes. An archived Session is refused. Pane restarts each paused tab in place through the same restart `panels resume` runs, so agents relaunch in their saved conversations and report ready as usual. Running tabs are left alone and counted in `unchanged`. `watch` reports each resumed tab as `panel.unpaused`.",
|
|
20103
|
+
"requiresPaneDaemon": true,
|
|
20104
|
+
"mutates": true,
|
|
20105
|
+
"arguments": [
|
|
20106
|
+
{
|
|
20107
|
+
"name": "--session",
|
|
20108
|
+
"value": "<id|name>",
|
|
20109
|
+
"required": true,
|
|
20110
|
+
"description": "Named Session id or exact name."
|
|
20111
|
+
},
|
|
20112
|
+
{
|
|
20113
|
+
"name": "--json",
|
|
20114
|
+
"required": false,
|
|
20115
|
+
"description": "Print machine-readable output."
|
|
20116
|
+
},
|
|
20117
|
+
{
|
|
20118
|
+
"name": "--pane-dir",
|
|
20119
|
+
"value": "<path>",
|
|
20120
|
+
"required": false,
|
|
20121
|
+
"description": "Connect to a specific Pane data directory."
|
|
20122
|
+
}
|
|
20123
|
+
],
|
|
20124
|
+
"examples": [
|
|
20125
|
+
"runpane sessions resume --session <id|name> --json"
|
|
20126
|
+
],
|
|
20127
|
+
"jsonSchemas": [
|
|
20128
|
+
"pauseResult"
|
|
20129
|
+
],
|
|
20130
|
+
"notes": [
|
|
20131
|
+
"ok is false when a tab could not start; check failed[] for which and why. The others still resumed."
|
|
20132
|
+
]
|
|
20133
|
+
},
|
|
18379
20134
|
"pr watch": {
|
|
18380
20135
|
"name": "pr watch",
|
|
18381
20136
|
"summary": "Register durable GitHub PR monitoring for a Pane.",
|
|
@@ -19100,7 +20855,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
19100
20855
|
"",
|
|
19101
20856
|
"1 feature = 1 worktree = 1 branch = 1 Pane; reviews, audits, fixes and QA for it are tabs in that Pane. Open later agents with `runpane panels create --pane <id>` (MCP: `panels_create` or `agents_start` with `pane`), not a new Pane.",
|
|
19102
20857
|
"",
|
|
19103
|
-
"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.",
|
|
20858
|
+
"When you need the person (a choice, an approval, a short answer), call the `notify` MCP tool (or `runpane notify`) instead of asking in the terminal. If it returns `waiting`, call it again with `resume`; if it returns `unavailable`, ask in the terminal. For an API key, token or password, call `secrets_request` (or `runpane secrets request`), never `ask`; if that returns `unavailable`, ask the person to save it in Pane under Settings > Secrets.",
|
|
19104
20859
|
"",
|
|
19105
20860
|
"CLI: `npm i -g runpane` (or `npx --yes runpane@latest`), then `runpane doctor --json`. Full command reference: `runpane agent-context --json`.",
|
|
19106
20861
|
"",
|
|
@@ -19111,10 +20866,11 @@ exports.RUNPANE_CONTRACT = {
|
|
|
19111
20866
|
"Ask only what you can't find out yourself.",
|
|
19112
20867
|
"Put related questions in one card.",
|
|
19113
20868
|
"Send `info` rarely, only for what the person must know now.",
|
|
19114
|
-
"Keep titles short and choices to a few words."
|
|
20869
|
+
"Keep titles short and choices to a few words.",
|
|
20870
|
+
"For an API key, token or password, call `secrets_request` (or `runpane secrets request`), never `ask`."
|
|
19115
20871
|
],
|
|
19116
20872
|
"cardRule": "The person is juggling many tasks and has lost the thread. In plain words, say what the work is for (the outcome, not the file), what just happened, and what you need. For a decision, give the options and what each one means. Pane already shows which Pane and agent sent it.",
|
|
19117
|
-
"results": "`waiting` means call `notify` again with `resume
|
|
20873
|
+
"results": "`waiting` means call `notify` again with `resume`. `unavailable` means ask in the terminal; for a secret, ask the person to save it in Pane under Settings > Secrets.",
|
|
19118
20874
|
"examples": [
|
|
19119
20875
|
{
|
|
19120
20876
|
"name": "Needs a decision",
|