runpane 2.4.238 → 2.4.239
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 +3 -1
- package/dist/checkedCopy.d.ts +20 -0
- package/dist/checkedCopy.d.ts.map +1 -0
- package/dist/checkedCopy.js +42 -0
- package/dist/checkedCopy.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +5 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts +14 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +79 -2
- package/dist/commands.js.map +1 -1
- package/dist/docs-index.json +1 -1
- package/dist/generated/contract.d.ts +548 -19
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +980 -59
- package/dist/generated/contract.js.map +1 -1
- package/dist/handoff.d.ts.map +1 -1
- package/dist/handoff.js +7 -7
- package/dist/handoff.js.map +1 -1
- package/dist/localControl.d.ts +4 -1
- package/dist/localControl.d.ts.map +1 -1
- package/dist/localControl.js +10 -4
- package/dist/localControl.js.map +1 -1
- package/dist/nativeSession.d.ts +6 -0
- package/dist/nativeSession.d.ts.map +1 -1
- package/dist/nativeSession.js +12 -1
- package/dist/nativeSession.js.map +1 -1
- package/dist/profiles.d.ts +6 -0
- package/dist/profiles.d.ts.map +1 -0
- package/dist/profiles.js +217 -0
- package/dist/profiles.js.map +1 -0
- package/dist/updateCapacity.d.ts +2 -2
- package/dist/updateCapacity.d.ts.map +1 -1
- package/dist/updateCapacity.js +5 -1
- package/dist/updateCapacity.js.map +1 -1
- package/dist/updateOperation.d.ts +2 -2
- package/dist/watchLines.d.ts +1 -0
- package/dist/watchLines.d.ts.map +1 -1
- package/dist/watchLines.js +1 -0
- package/dist/watchLines.js.map +1 -1
- package/package.json +1 -1
|
@@ -2137,7 +2137,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2137
2137
|
"name": "report",
|
|
2138
2138
|
"summary": "Hand back a worker's structured report: state, PR, head commit, summary, and the question when blocked.",
|
|
2139
2139
|
"usage": [
|
|
2140
|
-
"runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text> [--choices <json>|--questions <json>]] [--pane <pane-id> --panel <panel-id>] [--json] [--pane-dir <path>]"
|
|
2140
|
+
"runpane report (--state <ready|blocked|failed|done> | --outcome <name>) [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text> [--choices <json>|--questions <json>]] [--pane <pane-id> --panel <panel-id>] [--json] [--pane-dir <path>]"
|
|
2141
2141
|
],
|
|
2142
2142
|
"mutates": true,
|
|
2143
2143
|
"additive": true,
|
|
@@ -2747,6 +2747,76 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2747
2747
|
"loopDeleteResult"
|
|
2748
2748
|
],
|
|
2749
2749
|
"localControl": true
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
"name": "profiles list",
|
|
2753
|
+
"summary": "List the profiles in Pane's library: name, version, origin, on or off, and whether each can launch.",
|
|
2754
|
+
"usage": [
|
|
2755
|
+
"runpane profiles list [--json] [--pane-dir <path>]"
|
|
2756
|
+
],
|
|
2757
|
+
"toolsets": [
|
|
2758
|
+
"core",
|
|
2759
|
+
"profiles",
|
|
2760
|
+
"plugin"
|
|
2761
|
+
],
|
|
2762
|
+
"jsonSchemas": [
|
|
2763
|
+
"profileListResult"
|
|
2764
|
+
],
|
|
2765
|
+
"localControl": true
|
|
2766
|
+
},
|
|
2767
|
+
{
|
|
2768
|
+
"name": "profiles show",
|
|
2769
|
+
"summary": "Show one profile: its agents, its workflow's steps and outcomes, its errors, and its file.",
|
|
2770
|
+
"usage": [
|
|
2771
|
+
"runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]"
|
|
2772
|
+
],
|
|
2773
|
+
"cliOnlyFlags": [
|
|
2774
|
+
"--yaml"
|
|
2775
|
+
],
|
|
2776
|
+
"toolsets": [
|
|
2777
|
+
"core",
|
|
2778
|
+
"profiles",
|
|
2779
|
+
"plugin"
|
|
2780
|
+
],
|
|
2781
|
+
"jsonSchemas": [
|
|
2782
|
+
"profileShowResult"
|
|
2783
|
+
],
|
|
2784
|
+
"localControl": true
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"name": "profiles launch",
|
|
2788
|
+
"summary": "Launch a profile: Pane runs its workflow step by step, the first step in a new Pane of a Session.",
|
|
2789
|
+
"usage": [
|
|
2790
|
+
"runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] [--agent-harness <agent>=<cli[/model]>]... [--command <cli>=<command>]... --yes [--json] [--pane-dir <path>]"
|
|
2791
|
+
],
|
|
2792
|
+
"mutates": true,
|
|
2793
|
+
"additive": true,
|
|
2794
|
+
"toolsets": [
|
|
2795
|
+
"core",
|
|
2796
|
+
"profiles",
|
|
2797
|
+
"plugin"
|
|
2798
|
+
],
|
|
2799
|
+
"jsonSchemas": [
|
|
2800
|
+
"profileLaunchRequest",
|
|
2801
|
+
"profileLaunchResult"
|
|
2802
|
+
],
|
|
2803
|
+
"localControl": true
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
"name": "profiles runs",
|
|
2807
|
+
"summary": "List profile runs: each run's profile, state and current step.",
|
|
2808
|
+
"usage": [
|
|
2809
|
+
"runpane profiles runs [--json] [--pane-dir <path>]"
|
|
2810
|
+
],
|
|
2811
|
+
"toolsets": [
|
|
2812
|
+
"core",
|
|
2813
|
+
"profiles",
|
|
2814
|
+
"plugin"
|
|
2815
|
+
],
|
|
2816
|
+
"jsonSchemas": [
|
|
2817
|
+
"profileRunsResult"
|
|
2818
|
+
],
|
|
2819
|
+
"localControl": true
|
|
2750
2820
|
}
|
|
2751
2821
|
],
|
|
2752
2822
|
"flags": {
|
|
@@ -3158,6 +3228,11 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3158
3228
|
"value": "<text>",
|
|
3159
3229
|
"description": "What a blocked worker needs answered; required with --state blocked."
|
|
3160
3230
|
},
|
|
3231
|
+
{
|
|
3232
|
+
"name": "--outcome",
|
|
3233
|
+
"value": "<name>",
|
|
3234
|
+
"description": "Which of a profile step's declared outcomes happened, for runpane report; implies --state done."
|
|
3235
|
+
},
|
|
3161
3236
|
{
|
|
3162
3237
|
"name": "--conversation",
|
|
3163
3238
|
"value": "<id>",
|
|
@@ -3313,6 +3388,21 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3313
3388
|
"value": "<id>",
|
|
3314
3389
|
"description": "autopilot stack push only: the waiting item (an id from `runpane autopilot waiting`) to put on the stack."
|
|
3315
3390
|
},
|
|
3391
|
+
{
|
|
3392
|
+
"name": "--harness",
|
|
3393
|
+
"value": "<cli[/model]>",
|
|
3394
|
+
"description": "profiles launch: one CLI (`cli` or `cli/model`) for every agent of the profile."
|
|
3395
|
+
},
|
|
3396
|
+
{
|
|
3397
|
+
"name": "--agent-harness",
|
|
3398
|
+
"value": "<agent>=<cli[/model]>",
|
|
3399
|
+
"description": "profiles launch: the CLI for one agent of the profile; repeat it per agent."
|
|
3400
|
+
},
|
|
3401
|
+
{
|
|
3402
|
+
"name": "--command",
|
|
3403
|
+
"value": "<cli>=<command>",
|
|
3404
|
+
"description": "profiles launch: the command that starts a CLI Pane does not know; repeat it per CLI."
|
|
3405
|
+
},
|
|
3316
3406
|
{
|
|
3317
3407
|
"name": "--relays",
|
|
3318
3408
|
"value": "<item>",
|
|
@@ -3578,6 +3668,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3578
3668
|
{
|
|
3579
3669
|
"name": "--idle",
|
|
3580
3670
|
"description": "devices free: shut down Pane's devices no Pane holds."
|
|
3671
|
+
},
|
|
3672
|
+
{
|
|
3673
|
+
"name": "--yaml",
|
|
3674
|
+
"description": "profiles show: print the profile's file text only."
|
|
3581
3675
|
}
|
|
3582
3676
|
]
|
|
3583
3677
|
},
|
|
@@ -3639,6 +3733,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3639
3733
|
" runpane loops list [--json]",
|
|
3640
3734
|
" runpane loops create (--repo <selector>|--session <id|name|new>) --name <name> --cron <expr> (--agent <claude|codex|cursor>|--tool-command <command>) [--prompt <text>] --yes",
|
|
3641
3735
|
" runpane loops update|run|pause|resume|delete --loop <id> --yes",
|
|
3736
|
+
" runpane profiles list|runs [--json]",
|
|
3737
|
+
" runpane profiles show <name> [--yaml] [--json]",
|
|
3738
|
+
" runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] --yes [--json]",
|
|
3642
3739
|
" runpane panes list [--repo <selector>] [--json]",
|
|
3643
3740
|
" runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]",
|
|
3644
3741
|
" runpane workspace state [--repo <selector>] [--json]",
|
|
@@ -3676,7 +3773,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3676
3773
|
" runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode|pi>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]",
|
|
3677
3774
|
" runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]",
|
|
3678
3775
|
" runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]",
|
|
3679
|
-
" runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text> [--choices <json>]] [--json]",
|
|
3776
|
+
" runpane report (--state <ready|blocked|failed|done> | --outcome <name>) [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text> [--choices <json>]] [--json]",
|
|
3680
3777
|
" runpane notify --ui <options|approve|ask|info> --title <text> [--choices <json>] [--relays <item>] [--resume <id>] [--took <id|Q-n> <answer|question>] [--update <id|Q-n> ...] [--json]",
|
|
3681
3778
|
" runpane inbox [--session <id|name>] [--json]",
|
|
3682
3779
|
" runpane inbox ack <item-id>... [--decision <D-n>] [--session <id|name>] [--json]",
|
|
@@ -4357,7 +4454,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4357
4454
|
"The MCP server ships in the npm package and inside the Pane app. The Python package does not include it.",
|
|
4358
4455
|
"",
|
|
4359
4456
|
"Options:",
|
|
4360
|
-
" --toolsets <name,...> core (default), all, read, repos, panes, panels, agents, sessions, workspace, machine, git, docs, links, admin",
|
|
4457
|
+
" --toolsets <name,...> core (default), all, read, repos, panes, panels, agents, sessions, loops, profiles, workspace, machine, git, docs, links, admin",
|
|
4361
4458
|
" --read-only Serve only read-only tools"
|
|
4362
4459
|
],
|
|
4363
4460
|
"relay": [
|
|
@@ -4936,7 +5033,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4936
5033
|
],
|
|
4937
5034
|
"report": [
|
|
4938
5035
|
"Usage:",
|
|
4939
|
-
" runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text> [--choices <json>|--questions <json>]] [--pane <pane-id> --panel <panel-id>] [--json] [--pane-dir <path>]",
|
|
5036
|
+
" runpane report (--state <ready|blocked|failed|done> | --outcome <name>) [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text> [--choices <json>|--questions <json>]] [--pane <pane-id> --panel <panel-id>] [--json] [--pane-dir <path>]",
|
|
4940
5037
|
"",
|
|
4941
5038
|
"Hands back a worker's structured report for its panel: the orchestrator receives it as an",
|
|
4942
5039
|
"agent.report watch event and reads it in `agents status` and `sessions overview`.",
|
|
@@ -4949,8 +5046,12 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4949
5046
|
"ends with options in brackets, such as \"(A (recommended) / B)\", and has neither is refused:",
|
|
4950
5047
|
"nothing is shown. A question with no options is an open question, answered in words.",
|
|
4951
5048
|
"",
|
|
5049
|
+
"--outcome <name> ends a profile step with one of its declared outcomes (implies --state done).",
|
|
5050
|
+
"Pane refuses an outcome the step does not declare and lists the ones it does.",
|
|
5051
|
+
"",
|
|
4952
5052
|
"Options:",
|
|
4953
5053
|
" --state <state> ready, blocked, failed, or done",
|
|
5054
|
+
" --outcome <name> A profile step's declared outcome; implies --state done, no --question",
|
|
4954
5055
|
" --pr <number> Pull request number",
|
|
4955
5056
|
" --head <sha> Head commit, 7-40 hex characters",
|
|
4956
5057
|
" --summary <text> Summary text; up to 16,000 characters are kept",
|
|
@@ -4966,6 +5067,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4966
5067
|
"",
|
|
4967
5068
|
"Examples:",
|
|
4968
5069
|
" runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md",
|
|
5070
|
+
" runpane report --outcome \"plan ready\" --summary-file status.json",
|
|
4969
5071
|
" runpane report --state blocked --question 'Q-3: Use the invoice id in the PDF filename?' --choices '[{\"label\":\"Invoice id\",\"recommended\":true},{\"label\":\"Invoice number\"}]'"
|
|
4970
5072
|
],
|
|
4971
5073
|
"notify": [
|
|
@@ -5335,6 +5437,84 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5335
5437
|
" --json Print JSON output.",
|
|
5336
5438
|
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
5337
5439
|
],
|
|
5440
|
+
"profiles": [
|
|
5441
|
+
"Usage:",
|
|
5442
|
+
" runpane profiles <list|show|launch|runs> [options]",
|
|
5443
|
+
"",
|
|
5444
|
+
"A profile is one YAML file that defines a team of agents and a fixed workflow.",
|
|
5445
|
+
"Pane runs a launched profile's workflow itself, step by step: each step opens as a tab",
|
|
5446
|
+
"in the run's Pane, and an agent step ends when its agent runs",
|
|
5447
|
+
"`runpane report --outcome \"<outcome>\"`. See docs/PROFILES.md.",
|
|
5448
|
+
"",
|
|
5449
|
+
"Commands:",
|
|
5450
|
+
" runpane profiles list [--json] [--pane-dir <path>]",
|
|
5451
|
+
" runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]",
|
|
5452
|
+
" runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] [--agent-harness <agent>=<cli[/model]>]... [--command <cli>=<command>]... --yes [--json] [--pane-dir <path>]",
|
|
5453
|
+
" runpane profiles runs [--json] [--pane-dir <path>]"
|
|
5454
|
+
],
|
|
5455
|
+
"profiles list": [
|
|
5456
|
+
"Usage:",
|
|
5457
|
+
"runpane profiles list [--json] [--pane-dir <path>]",
|
|
5458
|
+
"",
|
|
5459
|
+
"List the profiles in Pane's library: name, version, origin, on or off, and whether each can launch.",
|
|
5460
|
+
"",
|
|
5461
|
+
"Each line: name, version, bundled or yours, on or off, and launchable, team only",
|
|
5462
|
+
"(no workflow), or invalid with its first error.",
|
|
5463
|
+
"",
|
|
5464
|
+
"Options:",
|
|
5465
|
+
" --json Print JSON output.",
|
|
5466
|
+
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
5467
|
+
],
|
|
5468
|
+
"profiles show": [
|
|
5469
|
+
"Usage:",
|
|
5470
|
+
"runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]",
|
|
5471
|
+
"",
|
|
5472
|
+
"Show one profile: its agents, its workflow's steps and outcomes, its errors, and its file.",
|
|
5473
|
+
"",
|
|
5474
|
+
"Options:",
|
|
5475
|
+
" <name> The profile's name, from runpane profiles list.",
|
|
5476
|
+
" --yaml Print the profile's file text only.",
|
|
5477
|
+
" --json Print JSON output.",
|
|
5478
|
+
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
5479
|
+
],
|
|
5480
|
+
"profiles launch": [
|
|
5481
|
+
"Usage:",
|
|
5482
|
+
"runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] [--agent-harness <agent>=<cli[/model]>]... [--command <cli>=<command>]... --yes [--json] [--pane-dir <path>]",
|
|
5483
|
+
"",
|
|
5484
|
+
"Launch a profile: Pane runs its workflow step by step, the first step in a new Pane of a Session.",
|
|
5485
|
+
"",
|
|
5486
|
+
"Without --repo it runs in the repo of the Pane this terminal is in, else the active repo.",
|
|
5487
|
+
"Without --session a Session orchestrator's runs join its Session; anything else gets a new Session.",
|
|
5488
|
+
"It prints the run id, its Session, its first step and its Pane. Follow it with `runpane profiles runs`.",
|
|
5489
|
+
"",
|
|
5490
|
+
"Options:",
|
|
5491
|
+
" <name> The profile's name, from runpane profiles list.",
|
|
5492
|
+
" --prompt <text> What you want done: the first agent step's request. Required.",
|
|
5493
|
+
" --repo <selector> Repository: active, id, exact path, or saved name.",
|
|
5494
|
+
" --session <id|name> An existing Session to run in.",
|
|
5495
|
+
" --harness <cli[/model]> One CLI for every agent, over the file's runs.",
|
|
5496
|
+
" --agent-harness <agent>=<cli> The CLI for one agent; repeat per agent.",
|
|
5497
|
+
" --command <cli>=<command> The command that starts a CLI Pane does not know; repeat.",
|
|
5498
|
+
" --yes Confirm the launch.",
|
|
5499
|
+
" --json Print JSON output.",
|
|
5500
|
+
" --pane-dir <path> Connect to a specific Pane data directory.",
|
|
5501
|
+
"",
|
|
5502
|
+
"Examples:",
|
|
5503
|
+
" runpane profiles launch greenfield --prompt \"Add dark mode to settings\" --yes",
|
|
5504
|
+
" runpane profiles launch greenfield --prompt \"Fix the flaky test\" --agent-harness planner=claude/opus --yes --json"
|
|
5505
|
+
],
|
|
5506
|
+
"profiles runs": [
|
|
5507
|
+
"Usage:",
|
|
5508
|
+
"runpane profiles runs [--json] [--pane-dir <path>]",
|
|
5509
|
+
"",
|
|
5510
|
+
"List profile runs: each run's profile, state and current step.",
|
|
5511
|
+
"",
|
|
5512
|
+
"Each line: run id, profile, state (running, asking, paused, ended or failed) and step.",
|
|
5513
|
+
"",
|
|
5514
|
+
"Options:",
|
|
5515
|
+
" --json Print JSON output.",
|
|
5516
|
+
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
5517
|
+
],
|
|
5338
5518
|
"workspace list": [
|
|
5339
5519
|
"Usage:",
|
|
5340
5520
|
" runpane workspace list [--json] [--pane-dir <path>]",
|
|
@@ -5410,7 +5590,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5410
5590
|
"continued it (continued, inconclusive, or not-continued, which exits 1 and keeps the receiver).",
|
|
5411
5591
|
"--note-only, another agent, or no session to carry starts a fresh agent with the note instead.",
|
|
5412
5592
|
"From a Session's terminal it skips git and creates the Session on the other machine; a same-agent",
|
|
5413
|
-
"Session
|
|
5593
|
+
"Session starts on your conversation, otherwise it reads the note. The sender Session stays.",
|
|
5414
5594
|
"",
|
|
5415
5595
|
"Options:",
|
|
5416
5596
|
" <destination> Freeform: agent, model, effort, and machine, such as \"codex gpt-5 high on parsas-macbook-pro\".",
|
|
@@ -5932,7 +6112,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5932
6112
|
" runpane agents start (--pane <pane-id> | --repo <selector> --name <name> [--base-branch <branch>]) (--agent <codex|claude|cursor|opencode|pi>|--tool-command <command>) --prompt <task> --yes [--json] [--pane-dir <path>]",
|
|
5933
6113
|
" runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]",
|
|
5934
6114
|
" runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]",
|
|
5935
|
-
" runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text> [--choices <json>]] [--json]",
|
|
6115
|
+
" runpane report (--state <ready|blocked|failed|done> | --outcome <name>) [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text> [--choices <json>]] [--json]",
|
|
5936
6116
|
" runpane notify --ui <options|approve|ask|info> --title <text> [--choices <json>] [--relays <item>] [--resume <id>] [--took <id|Q-n> <answer|question>] [--update <id|Q-n> ...] [--json]",
|
|
5937
6117
|
" runpane inbox [--session <id|name>] [--json]",
|
|
5938
6118
|
" runpane inbox ack <item-id>... [--decision <D-n>] [--session <id|name>] [--json]",
|
|
@@ -5959,6 +6139,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5959
6139
|
" python -m runpane loops list [--json]",
|
|
5960
6140
|
" python -m runpane loops create (--repo <selector>|--session <id|name|new>) --name <name> --cron <expr> (--agent <claude|codex|cursor>|--tool-command <command>) [--prompt <text>] --yes",
|
|
5961
6141
|
" python -m runpane loops update|run|pause|resume|delete --loop <id> --yes",
|
|
6142
|
+
" python -m runpane profiles list|runs [--json]",
|
|
6143
|
+
" python -m runpane profiles show <name> [--yaml] [--json]",
|
|
6144
|
+
" python -m runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] --yes [--json]",
|
|
5962
6145
|
" runpane help [command]",
|
|
5963
6146
|
"",
|
|
5964
6147
|
"Quick start:",
|
|
@@ -7141,7 +7324,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7141
7324
|
],
|
|
7142
7325
|
"report": [
|
|
7143
7326
|
"Usage:",
|
|
7144
|
-
" runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text> [--choices <json>|--questions <json>]] [--pane <pane-id> --panel <panel-id>] [--json] [--pane-dir <path>]",
|
|
7327
|
+
" runpane report (--state <ready|blocked|failed|done> | --outcome <name>) [--pr <number>] [--head <sha>] [--summary <text>|--summary-file <path|->] [--question <text> [--choices <json>|--questions <json>]] [--pane <pane-id> --panel <panel-id>] [--json] [--pane-dir <path>]",
|
|
7145
7328
|
"",
|
|
7146
7329
|
"Hands back a worker's structured report for its panel: the orchestrator receives it as an",
|
|
7147
7330
|
"agent.report watch event and reads it in `agents status` and `sessions overview`.",
|
|
@@ -7154,8 +7337,12 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7154
7337
|
"ends with options in brackets, such as \"(A (recommended) / B)\", and has neither is refused:",
|
|
7155
7338
|
"nothing is shown. A question with no options is an open question, answered in words.",
|
|
7156
7339
|
"",
|
|
7340
|
+
"--outcome <name> ends a profile step with one of its declared outcomes (implies --state done).",
|
|
7341
|
+
"Pane refuses an outcome the step does not declare and lists the ones it does.",
|
|
7342
|
+
"",
|
|
7157
7343
|
"Options:",
|
|
7158
7344
|
" --state <state> ready, blocked, failed, or done",
|
|
7345
|
+
" --outcome <name> A profile step's declared outcome; implies --state done, no --question",
|
|
7159
7346
|
" --pr <number> Pull request number",
|
|
7160
7347
|
" --head <sha> Head commit, 7-40 hex characters",
|
|
7161
7348
|
" --summary <text> Summary text; up to 16,000 characters are kept",
|
|
@@ -7171,6 +7358,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7171
7358
|
"",
|
|
7172
7359
|
"Examples:",
|
|
7173
7360
|
" runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md",
|
|
7361
|
+
" runpane report --outcome \"plan ready\" --summary-file status.json",
|
|
7174
7362
|
" runpane report --state blocked --question 'Q-3: Use the invoice id in the PDF filename?' --choices '[{\"label\":\"Invoice id\",\"recommended\":true},{\"label\":\"Invoice number\"}]'"
|
|
7175
7363
|
],
|
|
7176
7364
|
"notify": [
|
|
@@ -7540,6 +7728,84 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7540
7728
|
" --json Print JSON output.",
|
|
7541
7729
|
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
7542
7730
|
],
|
|
7731
|
+
"profiles": [
|
|
7732
|
+
"Usage:",
|
|
7733
|
+
" python -m runpane profiles <list|show|launch|runs> [options]",
|
|
7734
|
+
"",
|
|
7735
|
+
"A profile is one YAML file that defines a team of agents and a fixed workflow.",
|
|
7736
|
+
"Pane runs a launched profile's workflow itself, step by step: each step opens as a tab",
|
|
7737
|
+
"in the run's Pane, and an agent step ends when its agent runs",
|
|
7738
|
+
"`runpane report --outcome \"<outcome>\"`. See docs/PROFILES.md.",
|
|
7739
|
+
"",
|
|
7740
|
+
"Commands:",
|
|
7741
|
+
" python -m runpane profiles list [--json] [--pane-dir <path>]",
|
|
7742
|
+
" python -m runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]",
|
|
7743
|
+
" python -m runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] [--agent-harness <agent>=<cli[/model]>]... [--command <cli>=<command>]... --yes [--json] [--pane-dir <path>]",
|
|
7744
|
+
" python -m runpane profiles runs [--json] [--pane-dir <path>]"
|
|
7745
|
+
],
|
|
7746
|
+
"profiles list": [
|
|
7747
|
+
"Usage:",
|
|
7748
|
+
"python -m runpane profiles list [--json] [--pane-dir <path>]",
|
|
7749
|
+
"",
|
|
7750
|
+
"List the profiles in Pane's library: name, version, origin, on or off, and whether each can launch.",
|
|
7751
|
+
"",
|
|
7752
|
+
"Each line: name, version, bundled or yours, on or off, and launchable, team only",
|
|
7753
|
+
"(no workflow), or invalid with its first error.",
|
|
7754
|
+
"",
|
|
7755
|
+
"Options:",
|
|
7756
|
+
" --json Print JSON output.",
|
|
7757
|
+
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
7758
|
+
],
|
|
7759
|
+
"profiles show": [
|
|
7760
|
+
"Usage:",
|
|
7761
|
+
"python -m runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]",
|
|
7762
|
+
"",
|
|
7763
|
+
"Show one profile: its agents, its workflow's steps and outcomes, its errors, and its file.",
|
|
7764
|
+
"",
|
|
7765
|
+
"Options:",
|
|
7766
|
+
" <name> The profile's name, from runpane profiles list.",
|
|
7767
|
+
" --yaml Print the profile's file text only.",
|
|
7768
|
+
" --json Print JSON output.",
|
|
7769
|
+
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
7770
|
+
],
|
|
7771
|
+
"profiles launch": [
|
|
7772
|
+
"Usage:",
|
|
7773
|
+
"python -m runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] [--agent-harness <agent>=<cli[/model]>]... [--command <cli>=<command>]... --yes [--json] [--pane-dir <path>]",
|
|
7774
|
+
"",
|
|
7775
|
+
"Launch a profile: Pane runs its workflow step by step, the first step in a new Pane of a Session.",
|
|
7776
|
+
"",
|
|
7777
|
+
"Without --repo it runs in the repo of the Pane this terminal is in, else the active repo.",
|
|
7778
|
+
"Without --session a Session orchestrator's runs join its Session; anything else gets a new Session.",
|
|
7779
|
+
"It prints the run id, its Session, its first step and its Pane. Follow it with `runpane profiles runs`.",
|
|
7780
|
+
"",
|
|
7781
|
+
"Options:",
|
|
7782
|
+
" <name> The profile's name, from runpane profiles list.",
|
|
7783
|
+
" --prompt <text> What you want done: the first agent step's request. Required.",
|
|
7784
|
+
" --repo <selector> Repository: active, id, exact path, or saved name.",
|
|
7785
|
+
" --session <id|name> An existing Session to run in.",
|
|
7786
|
+
" --harness <cli[/model]> One CLI for every agent, over the file's runs.",
|
|
7787
|
+
" --agent-harness <agent>=<cli> The CLI for one agent; repeat per agent.",
|
|
7788
|
+
" --command <cli>=<command> The command that starts a CLI Pane does not know; repeat.",
|
|
7789
|
+
" --yes Confirm the launch.",
|
|
7790
|
+
" --json Print JSON output.",
|
|
7791
|
+
" --pane-dir <path> Connect to a specific Pane data directory.",
|
|
7792
|
+
"",
|
|
7793
|
+
"Examples:",
|
|
7794
|
+
" python -m runpane profiles launch greenfield --prompt \"Add dark mode to settings\" --yes",
|
|
7795
|
+
" python -m runpane profiles launch greenfield --prompt \"Fix the flaky test\" --agent-harness planner=claude/opus --yes --json"
|
|
7796
|
+
],
|
|
7797
|
+
"profiles runs": [
|
|
7798
|
+
"Usage:",
|
|
7799
|
+
"python -m runpane profiles runs [--json] [--pane-dir <path>]",
|
|
7800
|
+
"",
|
|
7801
|
+
"List profile runs: each run's profile, state and current step.",
|
|
7802
|
+
"",
|
|
7803
|
+
"Each line: run id, profile, state (running, asking, paused, ended or failed) and step.",
|
|
7804
|
+
"",
|
|
7805
|
+
"Options:",
|
|
7806
|
+
" --json Print JSON output.",
|
|
7807
|
+
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
7808
|
+
],
|
|
7543
7809
|
"workspace list": [
|
|
7544
7810
|
"Usage:",
|
|
7545
7811
|
" runpane workspace list [--json] [--pane-dir <path>]",
|
|
@@ -8081,6 +8347,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
8081
8347
|
"runpane loops create --repo active --name nightly-bug-sweep --cron \"0 3 * * *\" --agent claude --prompt \"Fix one bug from yesterday's issues\" --yes --json",
|
|
8082
8348
|
"runpane loops list --json",
|
|
8083
8349
|
"runpane loops run --loop <loop-id> --yes --json",
|
|
8350
|
+
"runpane profiles list --json",
|
|
8351
|
+
"runpane profiles launch greenfield --prompt \"Add dark mode to settings\" --yes --json",
|
|
8084
8352
|
"runpane agents start --repo active --name fix-login --agent claude --prompt \"Fix the login redirect\" --yes --json",
|
|
8085
8353
|
"runpane agents start --pane <pane-id> --agent codex --prompt \"Review the PR from this branch and report findings\" --yes --json",
|
|
8086
8354
|
"runpane agents status --pane <pane-id> --json",
|
|
@@ -8157,20 +8425,22 @@ exports.RUNPANE_CONTRACT = {
|
|
|
8157
8425
|
"`runpane lock acquire|release|list` coordinate a resource shared between agents, such as one test account. The caller's Pane and panel own the lock; it is scoped to the owner's Session (or global outside one), renews for the same owner, and is released on TTL expiry, owner panel exit, or owner Pane archive. `--wait` blocks in the daemon until the lock comes free.",
|
|
8158
8426
|
"`runpane machine health` shows this machine's disk and memory levels, the Panes using the most memory, leak warnings, and the disk space Pane can free by tier. `runpane machine cleanup --kind <kind>` lists one kind of tier 1 or 2 item (a dry run) and deletes them with `--yes`; tier 3 items are not Pane's, so it refuses them and says how to free them. Agents free disk only through this command, never with rm.",
|
|
8159
8427
|
"`runpane loops list|create|update|run|pause|resume|delete` manage loops (scheduled tasks): a cron schedule that starts a new Pane in a fresh worktree for each run, or sends a prompt to a Session's agent. Loops are for large recurring jobs and run at most once an hour; for short waits, agents use their harness's own sleep and wake. See [LOOPS.md](LOOPS.md).",
|
|
8428
|
+
"`runpane profiles list|show|launch|runs` work with Pane profiles: a profile is one YAML file that defines a team of agents and a fixed workflow, and Pane runs a launched profile's workflow itself (see [PROFILES.md](PROFILES.md)). `list` prints each profile in the library with its version, origin (`bundled` or `yours`), whether it is on, and whether it can launch (`launchable`, `team only` for a profile with no workflow, or `invalid` with its first error); `--json` adds the bundled Agent Farm's state and the person's own Agent Farm profiles. `show <name>` prints its agents, steps and outcomes, and errors (`--yaml` prints the file text only; `--json` carries both as `profile` and `yaml`). `launch <name> --prompt <text> --yes` starts a run and prints it (`run`: id, Session, step, Pane): it runs in `--repo`, else the repo of the Pane the caller's terminal is in (`PANE_SESSION_ID`), else the active repo; in `--session`, else the caller's orchestrated Session (`PANE_ORCHESTRATION_SESSION_ID`), else a new Session. `--harness <cli[/model]>` picks one CLI for every agent, `--agent-harness <agent>=<cli[/model]>` one agent's CLI, and `--command <cli>=<command>` the command that starts a CLI Pane does not know (each repeatable, or one JSON object). A launch without `--prompt` fails with `ERR_PROFILES_PROMPT_REQUIRED`; Pane refuses a profile it cannot launch with `PROFILE_NOT_FOUND`, `PROFILE_NOT_LAUNCHABLE` or `PROFILE_TEAM_ONLY` and a next step. `runs` lists runs with their state (`running`, `asking`, `paused`, `ended`, `failed`) and current step. The MCP tools are `profiles_list`, `profiles_show`, `profiles_launch` and `profiles_runs`, in the `core`, `profiles` and `plugin` toolsets.",
|
|
8160
8429
|
"`runpane agents start|status|send` finish the three common agent jobs in one call each: start an agent on a task (a new tab in the work's Pane with `--pane <id>`, or a new Pane for new work), check on it, and send it a follow-up.",
|
|
8161
8430
|
"`runpane report --state ready|blocked|failed|done` is how a worker hands back its result. It stores the latest report on the worker's panel (state, `--pr`, `--head`, up to 16,000 characters of `--summary` or `--summary-file`, and the `--question` a blocked worker needs answered, with its buttons as `--choices` or `--questions` in notify's JSON), journals an opt-in `agent.report` watch event (`REPORT <pane-name> pane <pane-id> panel <panel-id> ready pr#747 fc5dce9`; it skips the `--min-interval` batch), records it as Session activity, and shows it in `agents status`, `panels list`, and `sessions overview` (each panel's own report as `panes[].panels[].report`, with a JSON object summary as `data`, and the Pane's newest as `panes[].report`). Inside a Pane terminal the panel comes from `PANE_SESSION_ID` and `PANE_PANEL_ID`; elsewhere pass `--pane` and `--panel`. It prints how many watches were waiting for the report and received it (`Delivered to 1 waiting watcher.`, `liveWatchers` in JSON). Zero means nobody was waiting right now, not that the report is lost: it stays on the panel, and a named-cursor watch receives it when it next waits.",
|
|
8431
|
+
"`runpane report --outcome <name>` ends one step of a Pane profile workflow: it names which of the step's declared outcomes happened (`runpane report --outcome \"plan ready\" --summary-file status.json`) and sends `state: done` with `outcome`. `--state` is then optional and may only be `done` (otherwise `ERR_REPORT_OUTCOME_STATE`), and `--question` is refused (`ERR_REPORT_OUTCOME_QUESTION`): an outcome ends the step, a question would block it. Pane checks the outcome against the step the panel runs and refuses an undeclared one with an error that lists the allowed outcomes.",
|
|
8162
8432
|
"`runpane notify` asks the person a question, or tells them something, on screen wherever they are, and prints their answer: `--ui options` with 1 to 9 `--choices` returns `{answer, note?}` (the chosen label), or with 2 to 4 `--questions` (`[{title, choices}]`) one pick each, as `{answer, answers}`, `--ui approve` returns `{approved, note?}`, `--ui ask` returns `{answer}`, and `--ui info` returns `{delivered: \"screen\"|\"inbox\"}` at once. Any ui takes up to 6 `--links` (`{label, path}`, `{label, url}` or `{label, approval}` for another approval), shown as chips on the card. When the person types a reply it returns `{reply, picks?, id, next}` (or, with no open call, types a `reply:` line into the asking tab), and Pane records the reply as the answer once it is delivered. If the reply asks something instead, `--took <id|Q-n> question [--status <text>]` reopens the approval and shows that the agent is getting more context (`--took <id|Q-n> answer` confirms it, and changes nothing), and `runpane notify --update <id|Q-n> [--asked <text>] --what-changed <text>` with any changed `--title`, `--context`, `--choices`, `--questions` or `--links` saves a new version and waits on it. `--took` prints `{took, id, next?}`. Only the reply's reader (the asker, the orchestrator that relayed it, or Autopilot) may run them. The call waits with no time limit. A `{waiting: true, id, next}` result means the wait should continue with `runpane notify --resume <id>`; `runpane mcp` asks for it only for clients whose tool calls time out. When Pane is not running or Notify is off it prints `{unavailable, next}` and exits 0, so the agent asks in its terminal. Invalid input fails before anything is shown, with a message naming the field. A Session orchestrator adds `--relays <item>` (an id from `runpane inbox`) to relay a worker's question: the same card gains the choices, context and links, the call waits on it as usual, and the answer also goes straight to the worker's tab. Autopilot's own item takes `--about-session <id|name>`, the Session it is about. It needs no `--yes`: asking the person is the point.",
|
|
8163
8433
|
"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.",
|
|
8164
8434
|
"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.",
|
|
8165
8435
|
"`runpane inbox [--session <id|name>] [--json]` lists what a Session's orchestrator has not acknowledged: reports, missing reports, and on-screen questions (a question clears itself once its panel moves on), plus `answers`, what its workers were told, kept 7 days; an answer with no `decision` still needs its D-n. `runpane inbox ack <item-id>...` or `--all --session <id|name>` clears items, and `runpane inbox ack <item-id>... --decision <D-n>` records the D-n, even on an item already cleared. An orchestrator runs it when it starts or resumes, to catch anything that finished while it was down; Pane never injects the inbox into its turns.",
|
|
8166
8436
|
"`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`.",
|
|
8167
|
-
"`runpane panels pause --panel <panel-id>`, `panes pause --pane <pane-id>` and `sessions pause --session <id|name>` pause a tab, a Pane, or a Session's chat and Panes: Pane stops each terminal tab the way quitting does, without asking, keeps its agent's conversation, and marks it paused. Pause leaves a chat tab running: `panels pause --panel` on one fails with `ERR_RUNPANE_CHAT_NOT_PAUSABLE`, and `panes pause` and `sessions pause` leave its agent running and count it in `chatTabsNotPaused`. A paused terminal tab stays stopped through clicks, app restarts and updates until `panels resume --panel`, `panes resume` or `sessions resume` restarts it in its saved conversation. Each returns `{ action, scope, panelIds, unchanged, failed, chatTabsNotPaused, message, nextCommand }`. `panes list` reports a Pane's `paused` mark (`{ at, by: \"manual\" | \"auto\", idleHours? }`) and `inactiveSince`, the latest terminal output or input or chat agent activity in its tabs, or the last time the person selected it; `panels list` reports each tab's `paused`. Auto-pause also stops the agent of a chat tab idle for `chatIdleReleaseMinutes` (30 by default); opening the tab or sending it a message resumes it, and it reports no `panel.paused`. `runpane watch` reports `panel.paused` (`PAUSED ...`) and `panel.unpaused` (`UNPAUSED ...`) under `--follow`, to a Session-scoped watch, or when `--kinds` lists them.",
|
|
8437
|
+
"`runpane panels pause --panel <panel-id>`, `panes pause --pane <pane-id>` and `sessions pause --session <id|name>` pause a tab, a Pane, or a Session's chat and Panes: Pane stops each terminal tab the way quitting does, without asking, keeps its agent's conversation, and marks it paused. Pause leaves a chat tab running: `panels pause --panel` on one fails with `ERR_RUNPANE_CHAT_NOT_PAUSABLE`, and `panes pause` and `sessions pause` leave its agent running and count it in `chatTabsNotPaused`. A paused terminal tab stays stopped through clicks, app restarts and updates until `panels resume --panel`, `panes resume` or `sessions resume` restarts it in its saved conversation. Each returns `{ action, scope, panelIds, unchanged, failed, chatTabsNotPaused, message, nextCommand }`. `panes list` reports a Pane's `paused` mark (`{ at, by: \"manual\" | \"auto\" | \"move\", idleHours?, machine? }`; `move` while its Session moves to another machine) and `inactiveSince`, the latest terminal output or input or chat agent activity in its tabs, or the last time the person selected it; `panels list` reports each tab's `paused`. Auto-pause also stops the agent of a chat tab idle for `chatIdleReleaseMinutes` (30 by default); opening the tab or sending it a message resumes it, and it reports no `panel.paused`. `runpane watch` reports `panel.paused` (`PAUSED ...`) and `panel.unpaused` (`UNPAUSED ...`) under `--follow`, to a Session-scoped watch, or when `--kinds` lists them.",
|
|
8168
8438
|
"`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.",
|
|
8169
8439
|
"`runpane panels conversation --conversation <id> [--source startup|resume|clear|compact]` records which conversation a terminal panel's agent is on (daemon action `runpane:panels:conversation`, request `{ panelId, paneId?, conversationId, source? }`, result `{ ok: true, paneId, panelId, conversationId, source?, sure }`; `sure` is true when the report came since the panel's agent started). It is not an `agent.report` event. The panel comes from `--panel` (with an optional `--pane`), else `PANE_PANEL_ID` and `PANE_SESSION_ID`, as for `runpane report`. `runpane panels conversation --hook` is the command for a Claude Code `SessionStart` hook: it reads the hook's JSON from stdin (`session_id`, `source`; at most 64 KiB, for at most 2 seconds), reports it for `PANE_PANEL_ID`, prints nothing on stdout or stderr, and always exits 0: outside Pane, on bad input, when Pane is not running, and with a Pane that predates the action. Without `--hook` it prints `Recorded conversation <id> for panel <panel-id>.` and fails like any other command.",
|
|
8170
8440
|
"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.",
|
|
8171
8441
|
"`runpane links create` builds `pane://open?...` links; opening one in Pane selects what it names and never changes Pane state.",
|
|
8172
8442
|
"`runpane docs search|read` search and read Pane docs, help, and installed Pane Chat skills offline. They ship in the npm package and the Pane app only.",
|
|
8173
|
-
"`runpane handoff` hands a task to another agent on this or another of your machines. The sending agent writes the note from `runpane handoff --template` (goal, current state, done and verified, in progress, next steps, decisions and constraints, open questions, how to verify, git state); `runpane handoff \"claude opus on parsas-macbook-pro\" --note-file ~/handoff.md` checks every section is filled in, requires the branch to be pushed (or pushes it with `--push`, never forcing), writes the note to that machine's `~/.pane/handoffs/` and starts the agent in a new Pane branched from the sender's branch. When the sender is a Pane tab running a Claude, Codex, Cursor or OpenCode session and the receiver is the same agent, the handoff carries that session: on another machine its files are copied into that machine's agent store and the receiver resumes the same id; on this machine the receiver resumes a fork, because two agents never resume one session on one machine. The receiver starts with no prompt, and the CLI runs the continuity check and reports JSON `continuity.result` `continued`, `inconclusive` (exit 0; `next` gives a probe question) or `not-continued` (exit 1; the receiver is kept and `next` gives the `--note-only` command). `--note-only`, a different agent, or a tab with no carried session starts a fresh agent with the note (`fresh-agent`). JSON `continuity` is `{ carried, result, agent, sessionId, resumedId, fork, files, bytes, checks: { resumedById, restartResumes, historyLoaded, originalUntouched?, originalAppended? }, reason, next }`: `sessionId` is the sender's session, `resumedId` the id the receiver resumes (the fork's on this machine), `checks` are the continuity checks (`historyLoaded` is null when there was nothing to compare; `originalUntouched` is set for forks), and a dry run sets `carried`, `sessionId`, `fork`, `files` and `bytes` with no `result`. After `continued` or `inconclusive` the sending agent ends its turn and makes no more changes on the branch. An OpenCode session travels as its export: `opencode export` on this machine, then `opencode import` inside the receiving repository there, and an OpenCode receiver is accepted only to continue an OpenCode session. A Cursor session is carried only to another machine, best effort since Cursor's store is undocumented: Cursor has no fork, and a copied chat still writes to the original, so on this machine the result is `not-continued` and nothing is started. A destination's agent store is assumed at its default location (`~/.claude`, `~/.codex`, `~/.cursor`); a copy already there is replaced only when the sender's holds all of it and no agent there runs it, otherwise nothing is copied and the result is `not-continued`. A destination Pane too old to resume a carried session is refused before anything is sent (`ERR_HANDOFF_RESUME_UNSUPPORTED`). From a Session's terminal it skips git and creates a Session with the same name, goal and agent on the other machine instead; a same-agent Session
|
|
8443
|
+
"`runpane handoff` hands a task to another agent on this or another of your machines. The sending agent writes the note from `runpane handoff --template` (goal, current state, done and verified, in progress, next steps, decisions and constraints, open questions, how to verify, git state); `runpane handoff \"claude opus on parsas-macbook-pro\" --note-file ~/handoff.md` checks every section is filled in, requires the branch to be pushed (or pushes it with `--push`, never forcing), writes the note to that machine's `~/.pane/handoffs/` and starts the agent in a new Pane branched from the sender's branch. When the sender is a Pane tab running a Claude, Codex, Cursor or OpenCode session and the receiver is the same agent, the handoff carries that session: on another machine its files are copied into that machine's agent store and the receiver resumes the same id; on this machine the receiver resumes a fork, because two agents never resume one session on one machine. The receiver starts with no prompt, and the CLI runs the continuity check and reports JSON `continuity.result` `continued`, `inconclusive` (exit 0; `next` gives a probe question) or `not-continued` (exit 1; the receiver is kept and `next` gives the `--note-only` command). `--note-only`, a different agent, or a tab with no carried session starts a fresh agent with the note (`fresh-agent`). JSON `continuity` is `{ carried, result, agent, sessionId, resumedId, fork, files, bytes, checks: { resumedById, restartResumes, historyLoaded, originalUntouched?, originalAppended? }, reason, next }`: `sessionId` is the sender's session, `resumedId` the id the receiver resumes (the fork's on this machine), `checks` are the continuity checks (`historyLoaded` is null when there was nothing to compare; `originalUntouched` is set for forks), and a dry run sets `carried`, `sessionId`, `fork`, `files` and `bytes` with no `result`. After `continued` or `inconclusive` the sending agent ends its turn and makes no more changes on the branch. An OpenCode session travels as its export: `opencode export` on this machine, then `opencode import` inside the receiving repository there, and an OpenCode receiver is accepted only to continue an OpenCode session. A Cursor session is carried only to another machine, best effort since Cursor's store is undocumented: Cursor has no fork, and a copied chat still writes to the original, so on this machine the result is `not-continued` and nothing is started. A destination's agent store is assumed at its default location (`~/.claude`, `~/.codex`, `~/.cursor`); a copy already there is replaced only when the sender's holds all of it and no agent there runs it, otherwise nothing is copied and the result is `not-continued`. A destination Pane too old to resume a carried session is refused before anything is sent (`ERR_HANDOFF_RESUME_UNSUPPORTED`). From a Session's terminal it skips git and creates a Session with the same name, goal and agent on the other machine instead; a same-agent Session starts on the sender's conversation. The receiver reports back to the sender's panel.",
|
|
8174
8444
|
"`runpane ask --agent <agent> --prompt \"<question>\"` asks one agent one read-only question and prints its answer, with no tab left behind: the agent's own headless mode runs once, on this machine or another one (`--machine`), in a saved repository (`--repo`, a WSL repository runs in WSL) or a Pane's worktree (`--pane`), with any model it accepts (`--model`). It can read files but not edit them or run shell commands; an agent with no such mode is refused (`ERR_ASK_UNSUPPORTED`). A missing agent, a sign-in error, an unknown model and a timeout each fail with the agent's own words and the next step. Use it for a second opinion or a question to another model; work that edits files goes to a tab.",
|
|
8175
8445
|
"`runpane models` lists the models each installed agent offers, read from the agent's own list on every call, with its sign-in as the agent reports it. `--all` covers this machine, every saved machine and their WSL; `--agent` and `--search` narrow the rows. A machine that does not answer is one `unreachable` row; a list that can't be read is `list unavailable`.",
|
|
8176
8446
|
"`runpane pr watch`: Register durable GitHub PR monitoring for a Pane.",
|
|
@@ -8866,6 +9136,13 @@ exports.RUNPANE_CONTRACT = {
|
|
|
8866
9136
|
"--pane-dir",
|
|
8867
9137
|
"/tmp/pane"
|
|
8868
9138
|
],
|
|
9139
|
+
[
|
|
9140
|
+
"report",
|
|
9141
|
+
"--outcome",
|
|
9142
|
+
" plan ready ",
|
|
9143
|
+
"--summary-file",
|
|
9144
|
+
"status.json"
|
|
9145
|
+
],
|
|
8869
9146
|
[
|
|
8870
9147
|
"panels",
|
|
8871
9148
|
"resume",
|
|
@@ -9395,6 +9672,47 @@ exports.RUNPANE_CONTRACT = {
|
|
|
9395
9672
|
"loops",
|
|
9396
9673
|
"--help"
|
|
9397
9674
|
],
|
|
9675
|
+
[
|
|
9676
|
+
"profiles",
|
|
9677
|
+
"list",
|
|
9678
|
+
"--json"
|
|
9679
|
+
],
|
|
9680
|
+
[
|
|
9681
|
+
"profiles",
|
|
9682
|
+
"show",
|
|
9683
|
+
"greenfield",
|
|
9684
|
+
"--yaml"
|
|
9685
|
+
],
|
|
9686
|
+
[
|
|
9687
|
+
"profiles",
|
|
9688
|
+
"launch",
|
|
9689
|
+
"greenfield",
|
|
9690
|
+
"--prompt",
|
|
9691
|
+
"Add dark mode",
|
|
9692
|
+
"--repo",
|
|
9693
|
+
"active",
|
|
9694
|
+
"--session",
|
|
9695
|
+
"Nightly",
|
|
9696
|
+
"--harness",
|
|
9697
|
+
"claude/opus",
|
|
9698
|
+
"--agent-harness",
|
|
9699
|
+
"planner=codex",
|
|
9700
|
+
"--agent-harness={\"reviewer\":\"claude\"}",
|
|
9701
|
+
"--command",
|
|
9702
|
+
"aider=aider --yes-always",
|
|
9703
|
+
"--yes",
|
|
9704
|
+
"--json"
|
|
9705
|
+
],
|
|
9706
|
+
[
|
|
9707
|
+
"profiles",
|
|
9708
|
+
"runs",
|
|
9709
|
+
"--pane-dir",
|
|
9710
|
+
"/tmp/pane"
|
|
9711
|
+
],
|
|
9712
|
+
[
|
|
9713
|
+
"profiles",
|
|
9714
|
+
"--help"
|
|
9715
|
+
],
|
|
9398
9716
|
[
|
|
9399
9717
|
"notify",
|
|
9400
9718
|
"--ui",
|
|
@@ -16994,66 +17312,454 @@ exports.RUNPANE_CONTRACT = {
|
|
|
16994
17312
|
},
|
|
16995
17313
|
"additionalProperties": false
|
|
16996
17314
|
},
|
|
16997
|
-
"
|
|
17315
|
+
"libraryProfile": {
|
|
16998
17316
|
"type": "object",
|
|
17317
|
+
"description": "A profile in the library. `profile` is the normalized profile (agents, flow, samples, runs); absent when the file could not be read as one.",
|
|
16999
17318
|
"required": [
|
|
17000
|
-
"
|
|
17319
|
+
"name",
|
|
17320
|
+
"origin",
|
|
17321
|
+
"file",
|
|
17322
|
+
"valid",
|
|
17323
|
+
"launchable",
|
|
17324
|
+
"teamOnly",
|
|
17325
|
+
"enabled",
|
|
17326
|
+
"errors"
|
|
17001
17327
|
],
|
|
17002
17328
|
"properties": {
|
|
17003
|
-
"
|
|
17004
|
-
"type": "string"
|
|
17005
|
-
"minLength": 1,
|
|
17006
|
-
"description": "The answer notify returns when the person picks this choice."
|
|
17007
|
-
},
|
|
17008
|
-
"detail": {
|
|
17009
|
-
"type": "string",
|
|
17010
|
-
"description": "One more line about this choice."
|
|
17329
|
+
"name": {
|
|
17330
|
+
"type": "string"
|
|
17011
17331
|
},
|
|
17012
|
-
"
|
|
17013
|
-
"type": "
|
|
17014
|
-
"description": "Shade this choice as the one you recommend."
|
|
17332
|
+
"version": {
|
|
17333
|
+
"type": "string"
|
|
17015
17334
|
},
|
|
17016
|
-
"was": {
|
|
17017
|
-
"type": "string",
|
|
17018
|
-
"minLength": 1,
|
|
17019
|
-
"description": "--update only: the label this choice had before it was reworded. A choice whose label stays but whose detail changed may repeat its label here."
|
|
17020
|
-
}
|
|
17021
|
-
},
|
|
17022
|
-
"additionalProperties": false
|
|
17023
|
-
},
|
|
17024
|
-
"notifySubQuestion": {
|
|
17025
|
-
"description": "One question of an options approval that asks several at once; the person picks one choice.",
|
|
17026
|
-
"type": "object",
|
|
17027
|
-
"required": [
|
|
17028
|
-
"title",
|
|
17029
|
-
"choices"
|
|
17030
|
-
],
|
|
17031
|
-
"properties": {
|
|
17032
17335
|
"title": {
|
|
17033
|
-
"type": "string"
|
|
17034
|
-
"minLength": 1
|
|
17336
|
+
"type": "string"
|
|
17035
17337
|
},
|
|
17036
|
-
"
|
|
17338
|
+
"origin": {
|
|
17339
|
+
"enum": [
|
|
17340
|
+
"bundled",
|
|
17341
|
+
"yours"
|
|
17342
|
+
]
|
|
17343
|
+
},
|
|
17344
|
+
"file": {
|
|
17345
|
+
"type": "string"
|
|
17346
|
+
},
|
|
17347
|
+
"valid": {
|
|
17348
|
+
"type": "boolean"
|
|
17349
|
+
},
|
|
17350
|
+
"launchable": {
|
|
17351
|
+
"type": "boolean"
|
|
17352
|
+
},
|
|
17353
|
+
"teamOnly": {
|
|
17354
|
+
"type": "boolean"
|
|
17355
|
+
},
|
|
17356
|
+
"enabled": {
|
|
17357
|
+
"type": "boolean"
|
|
17358
|
+
},
|
|
17359
|
+
"errors": {
|
|
17037
17360
|
"type": "array",
|
|
17038
|
-
"minItems": 1,
|
|
17039
|
-
"maxItems": 9,
|
|
17040
17361
|
"items": {
|
|
17041
|
-
"
|
|
17362
|
+
"type": "object",
|
|
17363
|
+
"required": [
|
|
17364
|
+
"code",
|
|
17365
|
+
"message",
|
|
17366
|
+
"fix"
|
|
17367
|
+
],
|
|
17368
|
+
"properties": {
|
|
17369
|
+
"code": {
|
|
17370
|
+
"type": "string"
|
|
17371
|
+
},
|
|
17372
|
+
"message": {
|
|
17373
|
+
"type": "string"
|
|
17374
|
+
},
|
|
17375
|
+
"fix": {
|
|
17376
|
+
"type": "string"
|
|
17377
|
+
},
|
|
17378
|
+
"step": {
|
|
17379
|
+
"type": "string"
|
|
17380
|
+
},
|
|
17381
|
+
"outcome": {
|
|
17382
|
+
"type": "string"
|
|
17383
|
+
}
|
|
17384
|
+
}
|
|
17042
17385
|
}
|
|
17386
|
+
},
|
|
17387
|
+
"profile": {
|
|
17388
|
+
"type": "object"
|
|
17043
17389
|
}
|
|
17044
|
-
}
|
|
17045
|
-
"additionalProperties": false
|
|
17390
|
+
}
|
|
17046
17391
|
},
|
|
17047
|
-
"
|
|
17392
|
+
"profileRun": {
|
|
17048
17393
|
"type": "object",
|
|
17394
|
+
"description": "A launched profile: where its steps run and where it is now.",
|
|
17049
17395
|
"required": [
|
|
17050
|
-
"
|
|
17051
|
-
"
|
|
17396
|
+
"id",
|
|
17397
|
+
"profile",
|
|
17398
|
+
"profileVersion",
|
|
17399
|
+
"sessionId",
|
|
17400
|
+
"repoId",
|
|
17401
|
+
"prompt",
|
|
17402
|
+
"state",
|
|
17403
|
+
"step",
|
|
17404
|
+
"wait",
|
|
17405
|
+
"history"
|
|
17052
17406
|
],
|
|
17053
17407
|
"properties": {
|
|
17054
|
-
"
|
|
17055
|
-
"type": "string"
|
|
17056
|
-
|
|
17408
|
+
"id": {
|
|
17409
|
+
"type": "string"
|
|
17410
|
+
},
|
|
17411
|
+
"profile": {
|
|
17412
|
+
"type": "string"
|
|
17413
|
+
},
|
|
17414
|
+
"profileVersion": {
|
|
17415
|
+
"type": "string"
|
|
17416
|
+
},
|
|
17417
|
+
"sessionId": {
|
|
17418
|
+
"type": "string"
|
|
17419
|
+
},
|
|
17420
|
+
"repoId": {
|
|
17421
|
+
"type": "number"
|
|
17422
|
+
},
|
|
17423
|
+
"paneId": {
|
|
17424
|
+
"type": "string"
|
|
17425
|
+
},
|
|
17426
|
+
"prompt": {
|
|
17427
|
+
"type": "string"
|
|
17428
|
+
},
|
|
17429
|
+
"harness": {
|
|
17430
|
+
"type": "object",
|
|
17431
|
+
"additionalProperties": {
|
|
17432
|
+
"type": "string",
|
|
17433
|
+
"minLength": 1
|
|
17434
|
+
}
|
|
17435
|
+
},
|
|
17436
|
+
"commands": {
|
|
17437
|
+
"type": "object",
|
|
17438
|
+
"additionalProperties": {
|
|
17439
|
+
"type": "string",
|
|
17440
|
+
"minLength": 1
|
|
17441
|
+
}
|
|
17442
|
+
},
|
|
17443
|
+
"state": {
|
|
17444
|
+
"enum": [
|
|
17445
|
+
"running",
|
|
17446
|
+
"asking",
|
|
17447
|
+
"paused",
|
|
17448
|
+
"ended",
|
|
17449
|
+
"failed"
|
|
17450
|
+
]
|
|
17451
|
+
},
|
|
17452
|
+
"step": {
|
|
17453
|
+
"type": "string"
|
|
17454
|
+
},
|
|
17455
|
+
"wait": {
|
|
17456
|
+
"type": "object"
|
|
17457
|
+
},
|
|
17458
|
+
"history": {
|
|
17459
|
+
"type": "array",
|
|
17460
|
+
"items": {
|
|
17461
|
+
"type": "object"
|
|
17462
|
+
}
|
|
17463
|
+
},
|
|
17464
|
+
"error": {
|
|
17465
|
+
"type": "string"
|
|
17466
|
+
},
|
|
17467
|
+
"createdAt": {
|
|
17468
|
+
"type": "string"
|
|
17469
|
+
},
|
|
17470
|
+
"updatedAt": {
|
|
17471
|
+
"type": "string"
|
|
17472
|
+
}
|
|
17473
|
+
}
|
|
17474
|
+
},
|
|
17475
|
+
"profileListResult": {
|
|
17476
|
+
"type": "object",
|
|
17477
|
+
"required": [
|
|
17478
|
+
"ok",
|
|
17479
|
+
"profiles"
|
|
17480
|
+
],
|
|
17481
|
+
"properties": {
|
|
17482
|
+
"ok": {
|
|
17483
|
+
"const": true
|
|
17484
|
+
},
|
|
17485
|
+
"profiles": {
|
|
17486
|
+
"type": "array",
|
|
17487
|
+
"items": {
|
|
17488
|
+
"$ref": "#/jsonSchemas/libraryProfile"
|
|
17489
|
+
}
|
|
17490
|
+
},
|
|
17491
|
+
"agentFarm": {
|
|
17492
|
+
"type": "object",
|
|
17493
|
+
"required": [
|
|
17494
|
+
"state"
|
|
17495
|
+
],
|
|
17496
|
+
"properties": {
|
|
17497
|
+
"state": {
|
|
17498
|
+
"enum": [
|
|
17499
|
+
"missing",
|
|
17500
|
+
"installing",
|
|
17501
|
+
"ready",
|
|
17502
|
+
"failed"
|
|
17503
|
+
]
|
|
17504
|
+
},
|
|
17505
|
+
"version": {
|
|
17506
|
+
"type": "string"
|
|
17507
|
+
},
|
|
17508
|
+
"error": {
|
|
17509
|
+
"type": "string"
|
|
17510
|
+
}
|
|
17511
|
+
}
|
|
17512
|
+
},
|
|
17513
|
+
"ownAgentFarm": {
|
|
17514
|
+
"type": "object",
|
|
17515
|
+
"required": [
|
|
17516
|
+
"profiles"
|
|
17517
|
+
],
|
|
17518
|
+
"properties": {
|
|
17519
|
+
"profiles": {
|
|
17520
|
+
"type": "array",
|
|
17521
|
+
"items": {
|
|
17522
|
+
"type": "object",
|
|
17523
|
+
"required": [
|
|
17524
|
+
"name",
|
|
17525
|
+
"source"
|
|
17526
|
+
],
|
|
17527
|
+
"properties": {
|
|
17528
|
+
"name": {
|
|
17529
|
+
"type": "string"
|
|
17530
|
+
},
|
|
17531
|
+
"source": {
|
|
17532
|
+
"type": "string"
|
|
17533
|
+
},
|
|
17534
|
+
"harness": {
|
|
17535
|
+
"type": "string"
|
|
17536
|
+
},
|
|
17537
|
+
"model": {
|
|
17538
|
+
"type": "string"
|
|
17539
|
+
}
|
|
17540
|
+
}
|
|
17541
|
+
}
|
|
17542
|
+
},
|
|
17543
|
+
"error": {
|
|
17544
|
+
"type": "string"
|
|
17545
|
+
}
|
|
17546
|
+
}
|
|
17547
|
+
}
|
|
17548
|
+
}
|
|
17549
|
+
},
|
|
17550
|
+
"profileShowResult": {
|
|
17551
|
+
"type": "object",
|
|
17552
|
+
"required": [
|
|
17553
|
+
"ok",
|
|
17554
|
+
"profile",
|
|
17555
|
+
"yaml"
|
|
17556
|
+
],
|
|
17557
|
+
"properties": {
|
|
17558
|
+
"ok": {
|
|
17559
|
+
"const": true
|
|
17560
|
+
},
|
|
17561
|
+
"profile": {
|
|
17562
|
+
"$ref": "#/jsonSchemas/libraryProfile"
|
|
17563
|
+
},
|
|
17564
|
+
"yaml": {
|
|
17565
|
+
"type": "string"
|
|
17566
|
+
}
|
|
17567
|
+
}
|
|
17568
|
+
},
|
|
17569
|
+
"profileLaunchRequest": {
|
|
17570
|
+
"type": "object",
|
|
17571
|
+
"description": "What `runpane profiles launch` sends to Pane.",
|
|
17572
|
+
"required": [
|
|
17573
|
+
"name",
|
|
17574
|
+
"prompt",
|
|
17575
|
+
"repo"
|
|
17576
|
+
],
|
|
17577
|
+
"properties": {
|
|
17578
|
+
"name": {
|
|
17579
|
+
"type": "string",
|
|
17580
|
+
"minLength": 1
|
|
17581
|
+
},
|
|
17582
|
+
"prompt": {
|
|
17583
|
+
"type": "string",
|
|
17584
|
+
"minLength": 1
|
|
17585
|
+
},
|
|
17586
|
+
"repo": {
|
|
17587
|
+
"anyOf": [
|
|
17588
|
+
{
|
|
17589
|
+
"type": "string"
|
|
17590
|
+
},
|
|
17591
|
+
{
|
|
17592
|
+
"type": "object",
|
|
17593
|
+
"required": [
|
|
17594
|
+
"id"
|
|
17595
|
+
],
|
|
17596
|
+
"properties": {
|
|
17597
|
+
"id": {
|
|
17598
|
+
"type": "number"
|
|
17599
|
+
}
|
|
17600
|
+
},
|
|
17601
|
+
"additionalProperties": false
|
|
17602
|
+
},
|
|
17603
|
+
{
|
|
17604
|
+
"type": "object",
|
|
17605
|
+
"required": [
|
|
17606
|
+
"path"
|
|
17607
|
+
],
|
|
17608
|
+
"properties": {
|
|
17609
|
+
"path": {
|
|
17610
|
+
"type": "string"
|
|
17611
|
+
}
|
|
17612
|
+
},
|
|
17613
|
+
"additionalProperties": false
|
|
17614
|
+
},
|
|
17615
|
+
{
|
|
17616
|
+
"type": "object",
|
|
17617
|
+
"required": [
|
|
17618
|
+
"name"
|
|
17619
|
+
],
|
|
17620
|
+
"properties": {
|
|
17621
|
+
"name": {
|
|
17622
|
+
"type": "string"
|
|
17623
|
+
}
|
|
17624
|
+
},
|
|
17625
|
+
"additionalProperties": false
|
|
17626
|
+
},
|
|
17627
|
+
{
|
|
17628
|
+
"type": "object",
|
|
17629
|
+
"required": [
|
|
17630
|
+
"active"
|
|
17631
|
+
],
|
|
17632
|
+
"properties": {
|
|
17633
|
+
"active": {
|
|
17634
|
+
"const": true
|
|
17635
|
+
}
|
|
17636
|
+
},
|
|
17637
|
+
"additionalProperties": false
|
|
17638
|
+
}
|
|
17639
|
+
]
|
|
17640
|
+
},
|
|
17641
|
+
"session": {
|
|
17642
|
+
"type": "string",
|
|
17643
|
+
"minLength": 1
|
|
17644
|
+
},
|
|
17645
|
+
"harness": {
|
|
17646
|
+
"type": "string",
|
|
17647
|
+
"minLength": 1
|
|
17648
|
+
},
|
|
17649
|
+
"agentHarness": {
|
|
17650
|
+
"type": "object",
|
|
17651
|
+
"additionalProperties": {
|
|
17652
|
+
"type": "string",
|
|
17653
|
+
"minLength": 1
|
|
17654
|
+
}
|
|
17655
|
+
},
|
|
17656
|
+
"commands": {
|
|
17657
|
+
"type": "object",
|
|
17658
|
+
"additionalProperties": {
|
|
17659
|
+
"type": "string",
|
|
17660
|
+
"minLength": 1
|
|
17661
|
+
}
|
|
17662
|
+
},
|
|
17663
|
+
"callerPanelId": {
|
|
17664
|
+
"type": "string",
|
|
17665
|
+
"minLength": 1
|
|
17666
|
+
}
|
|
17667
|
+
},
|
|
17668
|
+
"additionalProperties": false
|
|
17669
|
+
},
|
|
17670
|
+
"profileLaunchResult": {
|
|
17671
|
+
"type": "object",
|
|
17672
|
+
"required": [
|
|
17673
|
+
"ok",
|
|
17674
|
+
"run"
|
|
17675
|
+
],
|
|
17676
|
+
"properties": {
|
|
17677
|
+
"ok": {
|
|
17678
|
+
"const": true
|
|
17679
|
+
},
|
|
17680
|
+
"run": {
|
|
17681
|
+
"$ref": "#/jsonSchemas/profileRun"
|
|
17682
|
+
}
|
|
17683
|
+
}
|
|
17684
|
+
},
|
|
17685
|
+
"profileRunsResult": {
|
|
17686
|
+
"type": "object",
|
|
17687
|
+
"required": [
|
|
17688
|
+
"ok",
|
|
17689
|
+
"runs"
|
|
17690
|
+
],
|
|
17691
|
+
"properties": {
|
|
17692
|
+
"ok": {
|
|
17693
|
+
"const": true
|
|
17694
|
+
},
|
|
17695
|
+
"runs": {
|
|
17696
|
+
"type": "array",
|
|
17697
|
+
"items": {
|
|
17698
|
+
"$ref": "#/jsonSchemas/profileRun"
|
|
17699
|
+
}
|
|
17700
|
+
}
|
|
17701
|
+
}
|
|
17702
|
+
},
|
|
17703
|
+
"notifyChoice": {
|
|
17704
|
+
"type": "object",
|
|
17705
|
+
"required": [
|
|
17706
|
+
"label"
|
|
17707
|
+
],
|
|
17708
|
+
"properties": {
|
|
17709
|
+
"label": {
|
|
17710
|
+
"type": "string",
|
|
17711
|
+
"minLength": 1,
|
|
17712
|
+
"description": "The answer notify returns when the person picks this choice."
|
|
17713
|
+
},
|
|
17714
|
+
"detail": {
|
|
17715
|
+
"type": "string",
|
|
17716
|
+
"description": "One more line about this choice."
|
|
17717
|
+
},
|
|
17718
|
+
"recommended": {
|
|
17719
|
+
"type": "boolean",
|
|
17720
|
+
"description": "Shade this choice as the one you recommend."
|
|
17721
|
+
},
|
|
17722
|
+
"was": {
|
|
17723
|
+
"type": "string",
|
|
17724
|
+
"minLength": 1,
|
|
17725
|
+
"description": "--update only: the label this choice had before it was reworded. A choice whose label stays but whose detail changed may repeat its label here."
|
|
17726
|
+
}
|
|
17727
|
+
},
|
|
17728
|
+
"additionalProperties": false
|
|
17729
|
+
},
|
|
17730
|
+
"notifySubQuestion": {
|
|
17731
|
+
"description": "One question of an options approval that asks several at once; the person picks one choice.",
|
|
17732
|
+
"type": "object",
|
|
17733
|
+
"required": [
|
|
17734
|
+
"title",
|
|
17735
|
+
"choices"
|
|
17736
|
+
],
|
|
17737
|
+
"properties": {
|
|
17738
|
+
"title": {
|
|
17739
|
+
"type": "string",
|
|
17740
|
+
"minLength": 1
|
|
17741
|
+
},
|
|
17742
|
+
"choices": {
|
|
17743
|
+
"type": "array",
|
|
17744
|
+
"minItems": 1,
|
|
17745
|
+
"maxItems": 9,
|
|
17746
|
+
"items": {
|
|
17747
|
+
"$ref": "#/jsonSchemas/notifyChoice"
|
|
17748
|
+
}
|
|
17749
|
+
}
|
|
17750
|
+
},
|
|
17751
|
+
"additionalProperties": false
|
|
17752
|
+
},
|
|
17753
|
+
"notifyAction": {
|
|
17754
|
+
"type": "object",
|
|
17755
|
+
"required": [
|
|
17756
|
+
"label",
|
|
17757
|
+
"url"
|
|
17758
|
+
],
|
|
17759
|
+
"properties": {
|
|
17760
|
+
"label": {
|
|
17761
|
+
"type": "string",
|
|
17762
|
+
"minLength": 1
|
|
17057
17763
|
},
|
|
17058
17764
|
"url": {
|
|
17059
17765
|
"type": "string",
|
|
@@ -18669,12 +19375,25 @@ exports.RUNPANE_CONTRACT = {
|
|
|
18669
19375
|
"by": {
|
|
18670
19376
|
"enum": [
|
|
18671
19377
|
"manual",
|
|
18672
|
-
"auto"
|
|
19378
|
+
"auto",
|
|
19379
|
+
"move"
|
|
18673
19380
|
],
|
|
18674
|
-
"description": "manual: a person or agent paused it. auto: auto-pause paused it after idleHours without use."
|
|
19381
|
+
"description": "manual: a person or agent paused it. auto: auto-pause paused it after idleHours without use. move: its Session is moving to (or arriving from) another machine; only the move starts it again."
|
|
18675
19382
|
},
|
|
18676
19383
|
"idleHours": {
|
|
18677
19384
|
"type": "number"
|
|
19385
|
+
},
|
|
19386
|
+
"machine": {
|
|
19387
|
+
"type": "string",
|
|
19388
|
+
"description": "move only: the other machine."
|
|
19389
|
+
},
|
|
19390
|
+
"arriving": {
|
|
19391
|
+
"type": "boolean",
|
|
19392
|
+
"description": "move only: this copy is the one arriving on this machine."
|
|
19393
|
+
},
|
|
19394
|
+
"interrupted": {
|
|
19395
|
+
"type": "boolean",
|
|
19396
|
+
"description": "move only: Stop now cut the agent's turn off."
|
|
18678
19397
|
}
|
|
18679
19398
|
},
|
|
18680
19399
|
"additionalProperties": false
|
|
@@ -20080,7 +20799,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
20080
20799
|
"Session: where a workstream lives, and the default home for orchestrated work. Its folder ($PANE_SESSION_DIR) holds plans, notes and reports.",
|
|
20081
20800
|
"Pane: one per feature (one worktree, one branch). Before creating one, find the feature's Pane (`runpane panes list --json`, match the branch) and create one only when none exists.",
|
|
20082
20801
|
"Tab: reviews, review reruns, QA, fixes and follow-ups for a feature go in new tabs in its Pane (`runpane panels create --pane <id>`), never a new Pane or a plain `git worktree`.",
|
|
20083
|
-
"Scratch: in Pane, put temporary files, clones, captures, downloads, logs and test instances (an isolated PANE_DIR and HOME for QA) in `$PANE_SCRATCH_DIR`, not /tmp or your tool's own scratchpad. When the feature is done, archive the Pane and Pane cleans it up."
|
|
20802
|
+
"Scratch: in Pane, put temporary files, clones, captures, downloads, logs and test instances (an isolated PANE_DIR and HOME for QA) in `$PANE_SCRATCH_DIR`, not /tmp or your tool's own scratchpad. When the feature is done, archive the Pane and Pane cleans it up.",
|
|
20803
|
+
"Profiles: a profile is a team and a fixed workflow Pane runs from its file (docs/PROFILES.md). `runpane profiles list` and `runpane profiles launch <name> --prompt <text>` start one; in a profile step's tab, end the step with `runpane report --outcome \"<one of the step's outcomes>\"`, which the step's first message names."
|
|
20084
20804
|
],
|
|
20085
20805
|
"brief": {
|
|
20086
20806
|
"title": "Pane agent context",
|
|
@@ -20799,7 +21519,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
20799
21519
|
"name": "--toolsets",
|
|
20800
21520
|
"value": "<name,...>",
|
|
20801
21521
|
"required": false,
|
|
20802
|
-
"description": "Comma-separated toolsets to serve: core (default), all, read, repos, panes, panels, agents, sessions, loops, workspace, machine, git, docs, links, admin."
|
|
21522
|
+
"description": "Comma-separated toolsets to serve: core (default), all, read, repos, panes, panels, agents, sessions, loops, profiles, workspace, machine, git, docs, links, admin."
|
|
20803
21523
|
},
|
|
20804
21524
|
{
|
|
20805
21525
|
"name": "--read-only",
|
|
@@ -24446,7 +25166,13 @@ exports.RUNPANE_CONTRACT = {
|
|
|
24446
25166
|
"name": "--state",
|
|
24447
25167
|
"value": "<ready|blocked|failed|done>",
|
|
24448
25168
|
"required": true,
|
|
24449
|
-
"description": "ready: work is ready for review; done: finished with nothing to review; blocked: needs an answer; failed: could not finish."
|
|
25169
|
+
"description": "ready: work is ready for review; done: finished with nothing to review; blocked: needs an answer; failed: could not finish. Optional with --outcome, which implies done."
|
|
25170
|
+
},
|
|
25171
|
+
{
|
|
25172
|
+
"name": "--outcome",
|
|
25173
|
+
"value": "<name>",
|
|
25174
|
+
"required": false,
|
|
25175
|
+
"description": "Ends a profile step with one of its declared outcomes (implies --state done). Refused with --question, or with --state other than done (ERR_REPORT_OUTCOME_STATE)."
|
|
24450
25176
|
},
|
|
24451
25177
|
{
|
|
24452
25178
|
"name": "--pr",
|
|
@@ -24516,6 +25242,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
24516
25242
|
],
|
|
24517
25243
|
"examples": [
|
|
24518
25244
|
"runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md --json",
|
|
25245
|
+
"runpane report --outcome \"plan ready\" --summary-file status.json",
|
|
24519
25246
|
"runpane report --state blocked --question \"Should the migration drop the old column?\"",
|
|
24520
25247
|
"runpane report --state blocked --question 'Q-3: Use the invoice id in the PDF filename?' --choices '[{\"label\":\"Invoice id\",\"detail\":\"Ids are stable\",\"recommended\":true},{\"label\":\"Invoice number\"}]' --summary 'Invoice PDFs'"
|
|
24521
25248
|
],
|
|
@@ -24528,7 +25255,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
24528
25255
|
"agent.report is in the default kinds of `runpane watch --follow` and `--until-event`, and arrives from any panel, a shell tab included. REPORT lines skip the --min-interval batch.",
|
|
24529
25256
|
"The output says who received it: \"Delivered to N waiting watcher(s).\" counts watches waiting at that moment (liveWatchers in JSON). With no Session and nobody waiting it adds that the report is stored on the panel (runpane agents status --panel <id>) and that a named-cursor watch (runpane watch --as <name> --kinds agent.report) still receives it when it next waits. Zero is not a failure; the exit code is 0 either way.",
|
|
24530
25257
|
"With --state blocked and --question, the person sees an answerable card at once; it rings once the orchestrator relays it or after 10 minutes. The answer reaches this tab as `answer: Q-n → <answer> (by you)`. `closed: Q-n (by you)` and `correction: Q-n → <answer> (by you)` lines are the person's word too.",
|
|
24531
|
-
"A blocked report's buttons come from --choices or --questions first, then from the `needs_you` block of the status file passed as --summary-file. Invalid --choices or --questions JSON fails with ERR_NOTIFY_INVALID, as notify does. A --question that ends with an option list in brackets (\"(A / B)\" or \"(A (recommended) / B)\") and has no options from either source is refused with ERR_REPORT_PACKED_OPTIONS and nothing is shown; a question with no option list is accepted as an open question."
|
|
25258
|
+
"A blocked report's buttons come from --choices or --questions first, then from the `needs_you` block of the status file passed as --summary-file. Invalid --choices or --questions JSON fails with ERR_NOTIFY_INVALID, as notify does. A --question that ends with an option list in brackets (\"(A / B)\" or \"(A (recommended) / B)\") and has no options from either source is refused with ERR_REPORT_PACKED_OPTIONS and nothing is shown; a question with no option list is accepted as an open question.",
|
|
25259
|
+
"`--outcome <name>` ends one step of a Pane profile workflow by naming which of the step's declared outcomes happened, such as `runpane report --outcome \"plan ready\" --summary-file status.json`. It sends `state: done` with `outcome`; --state is optional and may only be done (else ERR_REPORT_OUTCOME_STATE), and --question is refused (ERR_REPORT_OUTCOME_QUESTION). Pane checks the outcome against the step the panel runs and refuses one the step does not declare, listing the allowed outcomes."
|
|
24532
25260
|
]
|
|
24533
25261
|
},
|
|
24534
25262
|
"sessions list": {
|
|
@@ -25085,7 +25813,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
25085
25813
|
"handoff": {
|
|
25086
25814
|
"name": "handoff",
|
|
25087
25815
|
"summary": "Hand your task to another agent on this or another machine: check your handoff note, make the branch reachable, send the note, and start the agent on it. A same-agent handoff from a Pane tab carries and resumes your own session (a fork on this machine) and checks it continued; otherwise a fresh agent starts with the note. From a Session's terminal, create the Session on another machine instead.",
|
|
25088
|
-
"details": "Two steps. The agent writes the note, because only it has the context: run `runpane handoff --template > ~/handoff.md` (outside the checkout) and fill in every section (goal, current state, done and verified, in progress, next steps, decisions and constraints, open questions, how to verify, git state), writing \"None\" where one does not apply. Then `runpane handoff \"<destination>\" --note-file ~/handoff.md` moves it: it rejects a note with a missing or empty section, refuses an unpushed branch unless --push, finds the destination's saved repository with the same remote, fetches the branch there, writes the note to `~/.pane/handoffs/` on that machine with its origin in the front matter and receiver instructions appended, and starts the agent in a new Pane branched from your branch. When you run in a Pane tab and the receiver is your own agent, it carries your session instead of starting fresh: another machine gets a copy of the session's files in its agent store and resumes the same id; this machine resumes a fork. The receiver starts with no prompt, and the CLI checks it resumed and shows the session's last message, then tells it where the session moved. The receiver verifies the head commit, continues from Next steps, pushes to your branch, and reports back to your panel with `runpane workspace <your machine> panels submit`. Run from a Session's terminal (its folder is outside git), handoff moves the Session instead: it skips git, writes the note to the other machine the same way, and creates a Session there with the same name, goal and agent (numbered \"<name> 2\" if the name is taken), whose context and next action point at the note; a same-agent Session also gets your conversation's files and
|
|
25816
|
+
"details": "Two steps. The agent writes the note, because only it has the context: run `runpane handoff --template > ~/handoff.md` (outside the checkout) and fill in every section (goal, current state, done and verified, in progress, next steps, decisions and constraints, open questions, how to verify, git state), writing \"None\" where one does not apply. Then `runpane handoff \"<destination>\" --note-file ~/handoff.md` moves it: it rejects a note with a missing or empty section, refuses an unpushed branch unless --push, finds the destination's saved repository with the same remote, fetches the branch there, writes the note to `~/.pane/handoffs/` on that machine with its origin in the front matter and receiver instructions appended, and starts the agent in a new Pane branched from your branch. When you run in a Pane tab and the receiver is your own agent, it carries your session instead of starting fresh: another machine gets a copy of the session's files in its agent store and resumes the same id; this machine resumes a fork. The receiver starts with no prompt, and the CLI checks it resumed and shows the session's last message, then tells it where the session moved. The receiver verifies the head commit, continues from Next steps, pushes to your branch, and reports back to your panel with `runpane workspace <your machine> panels submit`. Run from a Session's terminal (its folder is outside git), handoff moves the Session instead: it skips git, writes the note to the other machine the same way, and creates a Session there with the same name, goal and agent (numbered \"<name> 2\" if the name is taken), whose context and next action point at the note; a same-agent Session also gets your conversation's files and starts on it. The sender Session stays as it is. A Session cannot be handed off to the machine it is on.",
|
|
25089
25817
|
"requiresPaneDaemon": true,
|
|
25090
25818
|
"mutates": true,
|
|
25091
25819
|
"arguments": [
|
|
@@ -26044,6 +26772,198 @@ exports.RUNPANE_CONTRACT = {
|
|
|
26044
26772
|
],
|
|
26045
26773
|
"notes": []
|
|
26046
26774
|
},
|
|
26775
|
+
"profiles list": {
|
|
26776
|
+
"name": "profiles list",
|
|
26777
|
+
"summary": "List the profiles in Pane's library: name, version, origin, on or off, and whether each can launch.",
|
|
26778
|
+
"details": "Lists every profile in Pane's library: name, version, title, origin (bundled with Pane, or yours in <PANE_DIR>/profiles), file, enabled, valid, launchable (valid and has a workflow), teamOnly (a team with no workflow), errors ({code, message, fix, step?, outcome?}) and the normalized profile. agentFarm is the state of the Agent Farm bundled in Pane; ownAgentFarm lists the person's own Agent Farm profiles when one is installed.",
|
|
26779
|
+
"requiresPaneDaemon": true,
|
|
26780
|
+
"mutates": false,
|
|
26781
|
+
"arguments": [
|
|
26782
|
+
{
|
|
26783
|
+
"name": "--json",
|
|
26784
|
+
"required": false,
|
|
26785
|
+
"description": "Print machine-readable output."
|
|
26786
|
+
},
|
|
26787
|
+
{
|
|
26788
|
+
"name": "--pane-dir",
|
|
26789
|
+
"value": "<path>",
|
|
26790
|
+
"required": false,
|
|
26791
|
+
"description": "Connect to a specific Pane data directory."
|
|
26792
|
+
}
|
|
26793
|
+
],
|
|
26794
|
+
"examples": [
|
|
26795
|
+
"runpane profiles list --json"
|
|
26796
|
+
],
|
|
26797
|
+
"jsonSchemas": [
|
|
26798
|
+
"profileListResult"
|
|
26799
|
+
],
|
|
26800
|
+
"notes": [
|
|
26801
|
+
"Launch a profile whose launchable is true with `runpane profiles launch <name> --prompt <text> --yes`; a team-only or invalid one is refused."
|
|
26802
|
+
]
|
|
26803
|
+
},
|
|
26804
|
+
"profiles show": {
|
|
26805
|
+
"name": "profiles show",
|
|
26806
|
+
"summary": "Show one profile: its agents, its workflow's steps and outcomes, its errors, and its file.",
|
|
26807
|
+
"details": "Returns the profile as `profiles list` does, plus `yaml`, its file's text. The normalized profile names its agents ({id, runs, cli, model?, reads, skills}) and its flow: start, and steps that are agent steps (agent, goal, outcomes), command steps (run, outcomes) or asks (ask, choices, next?). Each outcome or choice is {name, to}, where to is a step id or end.",
|
|
26808
|
+
"requiresPaneDaemon": true,
|
|
26809
|
+
"mutates": false,
|
|
26810
|
+
"arguments": [
|
|
26811
|
+
{
|
|
26812
|
+
"name": "<name>",
|
|
26813
|
+
"required": true,
|
|
26814
|
+
"description": "The profile's name, from `runpane profiles list`."
|
|
26815
|
+
},
|
|
26816
|
+
{
|
|
26817
|
+
"name": "--yaml",
|
|
26818
|
+
"required": false,
|
|
26819
|
+
"description": "Print the profile's file text only (CLI only)."
|
|
26820
|
+
},
|
|
26821
|
+
{
|
|
26822
|
+
"name": "--json",
|
|
26823
|
+
"required": false,
|
|
26824
|
+
"description": "Print machine-readable output."
|
|
26825
|
+
},
|
|
26826
|
+
{
|
|
26827
|
+
"name": "--pane-dir",
|
|
26828
|
+
"value": "<path>",
|
|
26829
|
+
"required": false,
|
|
26830
|
+
"description": "Connect to a specific Pane data directory."
|
|
26831
|
+
}
|
|
26832
|
+
],
|
|
26833
|
+
"examples": [
|
|
26834
|
+
"runpane profiles show greenfield --json",
|
|
26835
|
+
"runpane profiles show greenfield --yaml"
|
|
26836
|
+
],
|
|
26837
|
+
"jsonSchemas": [
|
|
26838
|
+
"profileShowResult"
|
|
26839
|
+
],
|
|
26840
|
+
"notes": [
|
|
26841
|
+
"A name not in the library fails with PROFILE_NOT_FOUND; see names with `runpane profiles list`."
|
|
26842
|
+
]
|
|
26843
|
+
},
|
|
26844
|
+
"profiles launch": {
|
|
26845
|
+
"name": "profiles launch",
|
|
26846
|
+
"summary": "Launch a profile: Pane runs its workflow step by step, the first step in a new Pane of a Session.",
|
|
26847
|
+
"details": "Starts a run of the profile: Pane makes (or joins) a Session, opens the first step as a tab in a new Pane of the repo, and follows the workflow from there. Each agent step ends when its agent runs `runpane report --outcome \"<outcome>\"` with one of the step's declared outcomes, a command step when its tab exits, and an ask when the person answers its card. Returns the run: id, sessionId, paneId, state, step and wait.",
|
|
26848
|
+
"requiresPaneDaemon": true,
|
|
26849
|
+
"mutates": true,
|
|
26850
|
+
"arguments": [
|
|
26851
|
+
{
|
|
26852
|
+
"name": "<name>",
|
|
26853
|
+
"required": true,
|
|
26854
|
+
"description": "The profile's name, from `runpane profiles list`."
|
|
26855
|
+
},
|
|
26856
|
+
{
|
|
26857
|
+
"name": "--prompt",
|
|
26858
|
+
"value": "<text>",
|
|
26859
|
+
"required": true,
|
|
26860
|
+
"description": "What the person wants done: the first agent step's request."
|
|
26861
|
+
},
|
|
26862
|
+
{
|
|
26863
|
+
"name": "--repo",
|
|
26864
|
+
"value": "<selector>",
|
|
26865
|
+
"required": false,
|
|
26866
|
+
"description": "Repository: active, id, exact path, or saved name. Defaults to the repo of the Pane the caller runs in, else the active repo."
|
|
26867
|
+
},
|
|
26868
|
+
{
|
|
26869
|
+
"name": "--session",
|
|
26870
|
+
"value": "<id|name>",
|
|
26871
|
+
"required": false,
|
|
26872
|
+
"description": "An existing Session to run in. Defaults to the caller's orchestrated Session (PANE_ORCHESTRATION_SESSION_ID); otherwise Pane makes a new Session."
|
|
26873
|
+
},
|
|
26874
|
+
{
|
|
26875
|
+
"name": "--harness",
|
|
26876
|
+
"value": "<cli[/model]>",
|
|
26877
|
+
"required": false,
|
|
26878
|
+
"description": "One CLI (`cli` or `cli/model`) for every agent, over the file's runs."
|
|
26879
|
+
},
|
|
26880
|
+
{
|
|
26881
|
+
"name": "--agent-harness",
|
|
26882
|
+
"value": "<agent>=<cli[/model]>",
|
|
26883
|
+
"required": false,
|
|
26884
|
+
"description": "Agent id → the CLI (`cli` or `cli/model`) that agent runs, over the file's runs and --harness.",
|
|
26885
|
+
"schema": {
|
|
26886
|
+
"type": "object",
|
|
26887
|
+
"additionalProperties": {
|
|
26888
|
+
"type": "string",
|
|
26889
|
+
"minLength": 1
|
|
26890
|
+
}
|
|
26891
|
+
}
|
|
26892
|
+
},
|
|
26893
|
+
{
|
|
26894
|
+
"name": "--command",
|
|
26895
|
+
"value": "<cli>=<command>",
|
|
26896
|
+
"required": false,
|
|
26897
|
+
"description": "A CLI Pane doesn't know → the command that starts it.",
|
|
26898
|
+
"schema": {
|
|
26899
|
+
"type": "object",
|
|
26900
|
+
"additionalProperties": {
|
|
26901
|
+
"type": "string",
|
|
26902
|
+
"minLength": 1
|
|
26903
|
+
}
|
|
26904
|
+
}
|
|
26905
|
+
},
|
|
26906
|
+
{
|
|
26907
|
+
"name": "--yes",
|
|
26908
|
+
"required": true,
|
|
26909
|
+
"description": "Confirm the launch."
|
|
26910
|
+
},
|
|
26911
|
+
{
|
|
26912
|
+
"name": "--json",
|
|
26913
|
+
"required": false,
|
|
26914
|
+
"description": "Print machine-readable output."
|
|
26915
|
+
},
|
|
26916
|
+
{
|
|
26917
|
+
"name": "--pane-dir",
|
|
26918
|
+
"value": "<path>",
|
|
26919
|
+
"required": false,
|
|
26920
|
+
"description": "Connect to a specific Pane data directory."
|
|
26921
|
+
}
|
|
26922
|
+
],
|
|
26923
|
+
"examples": [
|
|
26924
|
+
"runpane profiles launch greenfield --prompt \"Add dark mode to settings\" --yes --json",
|
|
26925
|
+
"runpane profiles launch greenfield --prompt \"Fix the flaky test\" --repo active --agent-harness planner=claude/opus --agent-harness implementer=codex --yes --json"
|
|
26926
|
+
],
|
|
26927
|
+
"jsonSchemas": [
|
|
26928
|
+
"profileLaunchRequest",
|
|
26929
|
+
"profileLaunchResult"
|
|
26930
|
+
],
|
|
26931
|
+
"notes": [
|
|
26932
|
+
"A launch without --prompt fails with ERR_PROFILES_PROMPT_REQUIRED and starts nothing.",
|
|
26933
|
+
"Pane refuses a profile it cannot launch: PROFILE_NOT_FOUND (no such profile), PROFILE_TEAM_ONLY (a team with no workflow) or PROFILE_NOT_LAUNCHABLE (invalid, or off); the error's next says what to do.",
|
|
26934
|
+
"A --harness or --agent-harness CLI that Pane doesn't know needs --command <cli>=<command that starts it>; without one the launch fails with PROFILE_CLI_UNKNOWN and starts nothing.",
|
|
26935
|
+
"Follow the run with `runpane profiles runs --json`; its steps are tabs in the run's Pane (`runpane agents status --pane <paneId>`)."
|
|
26936
|
+
]
|
|
26937
|
+
},
|
|
26938
|
+
"profiles runs": {
|
|
26939
|
+
"name": "profiles runs",
|
|
26940
|
+
"summary": "List profile runs: each run's profile, state and current step.",
|
|
26941
|
+
"details": "Lists every profile run Pane knows: id, profile and profileVersion, sessionId, repoId, paneId, prompt, state (running, asking, paused, ended or failed), step (the current one, or the last once ended), wait (a step's tab, a card, or none), history of finished steps, and error when it failed.",
|
|
26942
|
+
"requiresPaneDaemon": true,
|
|
26943
|
+
"mutates": false,
|
|
26944
|
+
"arguments": [
|
|
26945
|
+
{
|
|
26946
|
+
"name": "--json",
|
|
26947
|
+
"required": false,
|
|
26948
|
+
"description": "Print machine-readable output."
|
|
26949
|
+
},
|
|
26950
|
+
{
|
|
26951
|
+
"name": "--pane-dir",
|
|
26952
|
+
"value": "<path>",
|
|
26953
|
+
"required": false,
|
|
26954
|
+
"description": "Connect to a specific Pane data directory."
|
|
26955
|
+
}
|
|
26956
|
+
],
|
|
26957
|
+
"examples": [
|
|
26958
|
+
"runpane profiles runs --json"
|
|
26959
|
+
],
|
|
26960
|
+
"jsonSchemas": [
|
|
26961
|
+
"profileRunsResult"
|
|
26962
|
+
],
|
|
26963
|
+
"notes": [
|
|
26964
|
+
"A run waits on a step's tab (wait.kind step, with its panelId), a card for the person (wait.kind card), or nothing once it has ended. Read a step's agent with `runpane agents status --panel <panelId>`."
|
|
26965
|
+
]
|
|
26966
|
+
},
|
|
26047
26967
|
"notify": {
|
|
26048
26968
|
"name": "notify",
|
|
26049
26969
|
"summary": "Ask the person a question, or tell them something, wherever they are, and get their answer back.",
|
|
@@ -27152,6 +28072,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
27152
28072
|
"To free disk or memory, run `runpane machine health` and delete only with `runpane machine cleanup` (a dry run until `--yes`), never `rm`. Put QA roots and test instances in the Pane's scratch folder (`$PANE_SCRATCH_DIR`).",
|
|
27153
28073
|
"",
|
|
27154
28074
|
"Loops: before `runpane loops create` or `loops update`, read its `--help`. A loop runs while the person is away, so it reaches them only through cards that wait, keeps a ledger so it never repeats itself, and keeps its prompt in a file.",
|
|
28075
|
+
"Profiles: a profile is a team of agents and a fixed workflow in one file. `runpane profiles list` shows them, `profiles launch <name> --prompt <text> --yes` runs one (Pane opens each step as a tab), and an agent in a profile step ends it with `\"$PANE_RUNPANE_BIN\" report --outcome \"<outcome>\"`, using one of the outcomes its first message lists.",
|
|
27155
28076
|
"",
|
|
27156
28077
|
"CLI: `npm i -g runpane` (or `npx --yes runpane@latest`), then `runpane doctor --json`. Full command reference: `runpane agent-context --json`.",
|
|
27157
28078
|
"",
|