runpane 2.4.253 → 2.4.254
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 +1 -3
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +0 -5
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts +0 -14
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +1 -78
- package/dist/commands.js.map +1 -1
- package/dist/docs-index.json +1 -1
- package/dist/generated/contract.d.ts +15 -532
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +85 -993
- package/dist/generated/contract.js.map +1 -1
- package/dist/localControl.d.ts.map +1 -1
- package/dist/localControl.js +3 -6
- package/dist/localControl.js.map +1 -1
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +3 -1
- package/dist/mcp.js.map +1 -1
- package/dist/updateCapacity.d.ts +1 -0
- package/dist/updateCapacity.d.ts.map +1 -1
- package/dist/updateCapacity.js +1 -0
- package/dist/updateCapacity.js.map +1 -1
- package/dist/updateOperation.d.ts +2 -2
- package/dist/watchLines.d.ts +0 -1
- package/dist/watchLines.d.ts.map +1 -1
- package/dist/watchLines.js +0 -1
- package/dist/watchLines.js.map +1 -1
- package/package.json +1 -1
- package/dist/profiles.d.ts +0 -6
- package/dist/profiles.d.ts.map +0 -1
- package/dist/profiles.js +0 -217
- package/dist/profiles.js.map +0 -1
|
@@ -2479,7 +2479,7 @@ const CONTRACT_SECTION_11 = [
|
|
|
2479
2479
|
"name": "report",
|
|
2480
2480
|
"summary": "Hand back a worker's structured report: state, PR, head commit, summary, and the question when blocked.",
|
|
2481
2481
|
"usage": [
|
|
2482
|
-
"runpane report
|
|
2482
|
+
"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>] [--todo <T-n>] [--json] [--pane-dir <path>]"
|
|
2483
2483
|
],
|
|
2484
2484
|
"mutates": true,
|
|
2485
2485
|
"additive": true,
|
|
@@ -3389,76 +3389,6 @@ const CONTRACT_SECTION_11 = [
|
|
|
3389
3389
|
"todoResult"
|
|
3390
3390
|
],
|
|
3391
3391
|
"localControl": true
|
|
3392
|
-
},
|
|
3393
|
-
{
|
|
3394
|
-
"name": "profiles list",
|
|
3395
|
-
"summary": "List the profiles in Pane's library: name, version, origin, on or off, and whether each can launch.",
|
|
3396
|
-
"usage": [
|
|
3397
|
-
"runpane profiles list [--json] [--pane-dir <path>]"
|
|
3398
|
-
],
|
|
3399
|
-
"toolsets": [
|
|
3400
|
-
"core",
|
|
3401
|
-
"profiles",
|
|
3402
|
-
"plugin"
|
|
3403
|
-
],
|
|
3404
|
-
"jsonSchemas": [
|
|
3405
|
-
"profileListResult"
|
|
3406
|
-
],
|
|
3407
|
-
"localControl": true
|
|
3408
|
-
},
|
|
3409
|
-
{
|
|
3410
|
-
"name": "profiles show",
|
|
3411
|
-
"summary": "Show one profile: its agents, its workflow's steps and outcomes, its errors, and its file.",
|
|
3412
|
-
"usage": [
|
|
3413
|
-
"runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]"
|
|
3414
|
-
],
|
|
3415
|
-
"cliOnlyFlags": [
|
|
3416
|
-
"--yaml"
|
|
3417
|
-
],
|
|
3418
|
-
"toolsets": [
|
|
3419
|
-
"core",
|
|
3420
|
-
"profiles",
|
|
3421
|
-
"plugin"
|
|
3422
|
-
],
|
|
3423
|
-
"jsonSchemas": [
|
|
3424
|
-
"profileShowResult"
|
|
3425
|
-
],
|
|
3426
|
-
"localControl": true
|
|
3427
|
-
},
|
|
3428
|
-
{
|
|
3429
|
-
"name": "profiles launch",
|
|
3430
|
-
"summary": "Launch a profile: Pane runs its workflow step by step, the first step in a new Pane of a Session.",
|
|
3431
|
-
"usage": [
|
|
3432
|
-
"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>]"
|
|
3433
|
-
],
|
|
3434
|
-
"mutates": true,
|
|
3435
|
-
"additive": true,
|
|
3436
|
-
"toolsets": [
|
|
3437
|
-
"core",
|
|
3438
|
-
"profiles",
|
|
3439
|
-
"plugin"
|
|
3440
|
-
],
|
|
3441
|
-
"jsonSchemas": [
|
|
3442
|
-
"profileLaunchRequest",
|
|
3443
|
-
"profileLaunchResult"
|
|
3444
|
-
],
|
|
3445
|
-
"localControl": true
|
|
3446
|
-
},
|
|
3447
|
-
{
|
|
3448
|
-
"name": "profiles runs",
|
|
3449
|
-
"summary": "List profile runs: each run's profile, state and current step.",
|
|
3450
|
-
"usage": [
|
|
3451
|
-
"runpane profiles runs [--json] [--pane-dir <path>]"
|
|
3452
|
-
],
|
|
3453
|
-
"toolsets": [
|
|
3454
|
-
"core",
|
|
3455
|
-
"profiles",
|
|
3456
|
-
"plugin"
|
|
3457
|
-
],
|
|
3458
|
-
"jsonSchemas": [
|
|
3459
|
-
"profileRunsResult"
|
|
3460
|
-
],
|
|
3461
|
-
"localControl": true
|
|
3462
3392
|
}
|
|
3463
3393
|
];
|
|
3464
3394
|
/** contract.json "flags". */
|
|
@@ -4175,26 +4105,6 @@ const CONTRACT_SECTION_12 = {
|
|
|
4175
4105
|
"name": "--todo",
|
|
4176
4106
|
"value": "<T-n>",
|
|
4177
4107
|
"description": "notify, report and agents start: the to-do this card, report or agent works on."
|
|
4178
|
-
},
|
|
4179
|
-
{
|
|
4180
|
-
"name": "--outcome",
|
|
4181
|
-
"value": "<name>",
|
|
4182
|
-
"description": "Which of a profile step's declared outcomes happened, for runpane report; implies --state done."
|
|
4183
|
-
},
|
|
4184
|
-
{
|
|
4185
|
-
"name": "--harness",
|
|
4186
|
-
"value": "<cli[/model]>",
|
|
4187
|
-
"description": "profiles launch: one CLI (`cli` or `cli/model`) for every agent of the profile."
|
|
4188
|
-
},
|
|
4189
|
-
{
|
|
4190
|
-
"name": "--agent-harness",
|
|
4191
|
-
"value": "<agent>=<cli[/model]>",
|
|
4192
|
-
"description": "profiles launch: the CLI for one agent of the profile; repeat it per agent."
|
|
4193
|
-
},
|
|
4194
|
-
{
|
|
4195
|
-
"name": "--command",
|
|
4196
|
-
"value": "<cli>=<command>",
|
|
4197
|
-
"description": "profiles launch: the command that starts a CLI Pane does not know; repeat it per CLI."
|
|
4198
4108
|
}
|
|
4199
4109
|
],
|
|
4200
4110
|
"localBoolean": [
|
|
@@ -4373,10 +4283,6 @@ const CONTRACT_SECTION_12 = {
|
|
|
4373
4283
|
{
|
|
4374
4284
|
"name": "--remind-me",
|
|
4375
4285
|
"description": "todos snooze only: at the time, raise a reminder card for the person instead of waking its agents."
|
|
4376
|
-
},
|
|
4377
|
-
{
|
|
4378
|
-
"name": "--yaml",
|
|
4379
|
-
"description": "profiles show: print the profile's file text only."
|
|
4380
4286
|
}
|
|
4381
4287
|
]
|
|
4382
4288
|
};
|
|
@@ -4461,9 +4367,6 @@ const CONTRACT_SECTION_13 = {
|
|
|
4461
4367
|
" runpane todos show|start|stop|done|drop|archive <todo> [--json]",
|
|
4462
4368
|
" runpane todos attach <todo> <file|url> [--kind <kind>] [--label <label>] [--json]",
|
|
4463
4369
|
" runpane todos ask <todo> <question> | comment <todo> <text> | review <todo> [--json]",
|
|
4464
|
-
" runpane profiles list|runs [--json]",
|
|
4465
|
-
" runpane profiles show <name> [--yaml] [--json]",
|
|
4466
|
-
" runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] --yes [--json]",
|
|
4467
4370
|
" runpane panes list [--repo <selector>] [--json]",
|
|
4468
4371
|
" runpane panes cost [--repo <selector>] [--pane <pane-id>] [--json]",
|
|
4469
4372
|
" runpane workspace state [--repo <selector>] [--json]",
|
|
@@ -4501,7 +4404,7 @@ const CONTRACT_SECTION_13 = {
|
|
|
4501
4404
|
" 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>]",
|
|
4502
4405
|
" runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]",
|
|
4503
4406
|
" runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]",
|
|
4504
|
-
" runpane report
|
|
4407
|
+
" runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text> [--choices <json>]] [--json]",
|
|
4505
4408
|
" 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]",
|
|
4506
4409
|
" runpane inbox [--session <id|name>] [--json]",
|
|
4507
4410
|
" runpane inbox ack <item-id>... [--decision <D-n>] [--session <id|name>] [--json]",
|
|
@@ -5216,7 +5119,7 @@ const CONTRACT_SECTION_13 = {
|
|
|
5216
5119
|
"The MCP server ships in the npm package and inside the Pane app. The Python package does not include it.",
|
|
5217
5120
|
"",
|
|
5218
5121
|
"Options:",
|
|
5219
|
-
" --toolsets <name,...> core (default), all, read, repos, panes, panels, agents, sessions, loops,
|
|
5122
|
+
" --toolsets <name,...> core (default), all, read, repos, panes, panels, agents, sessions, loops, workspace, machine, git, docs, links, admin",
|
|
5220
5123
|
" --read-only Serve only read-only tools"
|
|
5221
5124
|
],
|
|
5222
5125
|
"relay": [
|
|
@@ -5796,7 +5699,7 @@ const CONTRACT_SECTION_13 = {
|
|
|
5796
5699
|
],
|
|
5797
5700
|
"report": [
|
|
5798
5701
|
"Usage:",
|
|
5799
|
-
" runpane report
|
|
5702
|
+
" 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>] [--todo <T-n>] [--json] [--pane-dir <path>]",
|
|
5800
5703
|
"",
|
|
5801
5704
|
"Hands back a worker's structured report for its panel: the orchestrator receives it as an",
|
|
5802
5705
|
"agent.report watch event and reads it in `agents status` and `sessions overview`.",
|
|
@@ -5811,12 +5714,8 @@ const CONTRACT_SECTION_13 = {
|
|
|
5811
5714
|
"brackets with a spaced slash, \"(requests / second)\", reads as options too: word it as prose",
|
|
5812
5715
|
"(\"in requests per second\") or write it without spaces (\"(requests/second)\").",
|
|
5813
5716
|
"",
|
|
5814
|
-
"--outcome <name> ends a profile step with one of its declared outcomes (implies --state done).",
|
|
5815
|
-
"Pane refuses an outcome the step does not declare and lists the ones it does.",
|
|
5816
|
-
"",
|
|
5817
5717
|
"Options:",
|
|
5818
5718
|
" --state <state> ready, blocked, failed, or done",
|
|
5819
|
-
" --outcome <name> A profile step's declared outcome; implies --state done, no --question",
|
|
5820
5719
|
" --pr <number> Pull request number",
|
|
5821
5720
|
" --head <sha> Head commit, 7-40 hex characters",
|
|
5822
5721
|
" --summary <text> Summary text; up to 16,000 characters are kept",
|
|
@@ -5833,7 +5732,6 @@ const CONTRACT_SECTION_13 = {
|
|
|
5833
5732
|
"",
|
|
5834
5733
|
"Examples:",
|
|
5835
5734
|
" runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md",
|
|
5836
|
-
" runpane report --outcome \"plan ready\" --summary-file status.json",
|
|
5837
5735
|
" runpane report --state blocked --question 'Q-3: Use the invoice id in the PDF filename?' --choices '[{\"label\":\"Invoice id\",\"recommended\":true},{\"label\":\"Invoice number\"}]'"
|
|
5838
5736
|
],
|
|
5839
5737
|
"notify": [
|
|
@@ -6204,84 +6102,6 @@ const CONTRACT_SECTION_13 = {
|
|
|
6204
6102
|
" --json Print JSON output.",
|
|
6205
6103
|
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
6206
6104
|
],
|
|
6207
|
-
"profiles": [
|
|
6208
|
-
"Usage:",
|
|
6209
|
-
" runpane profiles <list|show|launch|runs> [options]",
|
|
6210
|
-
"",
|
|
6211
|
-
"A profile is one YAML file that defines a team of agents and a fixed workflow.",
|
|
6212
|
-
"Pane runs a launched profile's workflow itself, step by step: each step opens as a tab",
|
|
6213
|
-
"in the run's Pane, and an agent step ends when its agent runs",
|
|
6214
|
-
"`runpane report --outcome \"<outcome>\"`. See docs/PROFILES.md.",
|
|
6215
|
-
"",
|
|
6216
|
-
"Commands:",
|
|
6217
|
-
" runpane profiles list [--json] [--pane-dir <path>]",
|
|
6218
|
-
" runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]",
|
|
6219
|
-
" 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>]",
|
|
6220
|
-
" runpane profiles runs [--json] [--pane-dir <path>]"
|
|
6221
|
-
],
|
|
6222
|
-
"profiles list": [
|
|
6223
|
-
"Usage:",
|
|
6224
|
-
"runpane profiles list [--json] [--pane-dir <path>]",
|
|
6225
|
-
"",
|
|
6226
|
-
"List the profiles in Pane's library: name, version, origin, on or off, and whether each can launch.",
|
|
6227
|
-
"",
|
|
6228
|
-
"Each line: name, version, bundled or yours, on or off, and launchable, no flow",
|
|
6229
|
-
"(no workflow), or invalid with its first error.",
|
|
6230
|
-
"",
|
|
6231
|
-
"Options:",
|
|
6232
|
-
" --json Print JSON output.",
|
|
6233
|
-
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
6234
|
-
],
|
|
6235
|
-
"profiles show": [
|
|
6236
|
-
"Usage:",
|
|
6237
|
-
"runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]",
|
|
6238
|
-
"",
|
|
6239
|
-
"Show one profile: its agents, its workflow's steps and outcomes, its errors, and its file.",
|
|
6240
|
-
"",
|
|
6241
|
-
"Options:",
|
|
6242
|
-
" <name> The profile's name, from runpane profiles list.",
|
|
6243
|
-
" --yaml Print the profile's file text only.",
|
|
6244
|
-
" --json Print JSON output.",
|
|
6245
|
-
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
6246
|
-
],
|
|
6247
|
-
"profiles launch": [
|
|
6248
|
-
"Usage:",
|
|
6249
|
-
"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>]",
|
|
6250
|
-
"",
|
|
6251
|
-
"Launch a profile: Pane runs its workflow step by step, the first step in a new Pane of a Session.",
|
|
6252
|
-
"",
|
|
6253
|
-
"Without --repo it runs in the repo of the Pane this terminal is in, else the active repo.",
|
|
6254
|
-
"Without --session a Session orchestrator's runs join its Session; anything else gets a new Session.",
|
|
6255
|
-
"It prints the run id, its Session, its first step and its Pane. Follow it with `runpane profiles runs`.",
|
|
6256
|
-
"",
|
|
6257
|
-
"Options:",
|
|
6258
|
-
" <name> The profile's name, from runpane profiles list.",
|
|
6259
|
-
" --prompt <text> What you want done: the first agent step's request. Required.",
|
|
6260
|
-
" --repo <selector> Repository: active, id, exact path, or saved name.",
|
|
6261
|
-
" --session <id|name> An existing Session to run in.",
|
|
6262
|
-
" --harness <cli[/model]> One CLI for every agent, over the file's runs.",
|
|
6263
|
-
" --agent-harness <agent>=<cli> The CLI for one agent; repeat per agent.",
|
|
6264
|
-
" --command <cli>=<command> The command that starts a CLI Pane does not know; repeat.",
|
|
6265
|
-
" --yes Confirm the launch.",
|
|
6266
|
-
" --json Print JSON output.",
|
|
6267
|
-
" --pane-dir <path> Connect to a specific Pane data directory.",
|
|
6268
|
-
"",
|
|
6269
|
-
"Examples:",
|
|
6270
|
-
" runpane profiles launch greenfield --prompt \"Add dark mode to settings\" --yes",
|
|
6271
|
-
" runpane profiles launch greenfield --prompt \"Fix the flaky test\" --agent-harness planner=claude/opus --yes --json"
|
|
6272
|
-
],
|
|
6273
|
-
"profiles runs": [
|
|
6274
|
-
"Usage:",
|
|
6275
|
-
"runpane profiles runs [--json] [--pane-dir <path>]",
|
|
6276
|
-
"",
|
|
6277
|
-
"List profile runs: each run's profile, state and current step.",
|
|
6278
|
-
"",
|
|
6279
|
-
"Each line: run id, profile, state (running, asking, paused, ended or failed) and step.",
|
|
6280
|
-
"",
|
|
6281
|
-
"Options:",
|
|
6282
|
-
" --json Print JSON output.",
|
|
6283
|
-
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
6284
|
-
],
|
|
6285
6105
|
"workspace list": [
|
|
6286
6106
|
"Usage:",
|
|
6287
6107
|
" runpane workspace list [--json] [--pane-dir <path>]",
|
|
@@ -7443,7 +7263,7 @@ const CONTRACT_SECTION_13 = {
|
|
|
7443
7263
|
" 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>]",
|
|
7444
7264
|
" runpane agents status (--pane <pane-id>|--panel <panel-id>) [--limit <count>] [--json] [--pane-dir <path>]",
|
|
7445
7265
|
" runpane agents send (--pane <pane-id>|--panel <panel-id>) --text <message> --yes [--json] [--pane-dir <path>]",
|
|
7446
|
-
" runpane report
|
|
7266
|
+
" runpane report --state <ready|blocked|failed|done> [--pr <number>] [--head <sha>] [--summary-file <path|->] [--question <text> [--choices <json>]] [--json]",
|
|
7447
7267
|
" 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]",
|
|
7448
7268
|
" runpane inbox [--session <id|name>] [--json]",
|
|
7449
7269
|
" runpane inbox ack <item-id>... [--decision <D-n>] [--session <id|name>] [--json]",
|
|
@@ -7475,9 +7295,6 @@ const CONTRACT_SECTION_13 = {
|
|
|
7475
7295
|
" python -m runpane todos show|start|stop|done|drop|archive <todo> [--json]",
|
|
7476
7296
|
" python -m runpane todos attach <todo> <file|url> [--kind <kind>] [--label <label>] [--json]",
|
|
7477
7297
|
" python -m runpane todos ask <todo> <question> | comment <todo> <text> | review <todo> [--json]",
|
|
7478
|
-
" python -m runpane profiles list|runs [--json]",
|
|
7479
|
-
" python -m runpane profiles show <name> [--yaml] [--json]",
|
|
7480
|
-
" python -m runpane profiles launch <name> --prompt <text> [--repo <selector>] [--session <id|name>] [--harness <cli[/model]>] --yes [--json]",
|
|
7481
7298
|
" runpane help [command]",
|
|
7482
7299
|
"",
|
|
7483
7300
|
"Quick start:",
|
|
@@ -8694,7 +8511,7 @@ const CONTRACT_SECTION_13 = {
|
|
|
8694
8511
|
],
|
|
8695
8512
|
"report": [
|
|
8696
8513
|
"Usage:",
|
|
8697
|
-
" runpane report
|
|
8514
|
+
" 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>] [--todo <T-n>] [--json] [--pane-dir <path>]",
|
|
8698
8515
|
"",
|
|
8699
8516
|
"Hands back a worker's structured report for its panel: the orchestrator receives it as an",
|
|
8700
8517
|
"agent.report watch event and reads it in `agents status` and `sessions overview`.",
|
|
@@ -8709,12 +8526,8 @@ const CONTRACT_SECTION_13 = {
|
|
|
8709
8526
|
"brackets with a spaced slash, \"(requests / second)\", reads as options too: word it as prose",
|
|
8710
8527
|
"(\"in requests per second\") or write it without spaces (\"(requests/second)\").",
|
|
8711
8528
|
"",
|
|
8712
|
-
"--outcome <name> ends a profile step with one of its declared outcomes (implies --state done).",
|
|
8713
|
-
"Pane refuses an outcome the step does not declare and lists the ones it does.",
|
|
8714
|
-
"",
|
|
8715
8529
|
"Options:",
|
|
8716
8530
|
" --state <state> ready, blocked, failed, or done",
|
|
8717
|
-
" --outcome <name> A profile step's declared outcome; implies --state done, no --question",
|
|
8718
8531
|
" --pr <number> Pull request number",
|
|
8719
8532
|
" --head <sha> Head commit, 7-40 hex characters",
|
|
8720
8533
|
" --summary <text> Summary text; up to 16,000 characters are kept",
|
|
@@ -8731,7 +8544,6 @@ const CONTRACT_SECTION_13 = {
|
|
|
8731
8544
|
"",
|
|
8732
8545
|
"Examples:",
|
|
8733
8546
|
" runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md",
|
|
8734
|
-
" runpane report --outcome \"plan ready\" --summary-file status.json",
|
|
8735
8547
|
" runpane report --state blocked --question 'Q-3: Use the invoice id in the PDF filename?' --choices '[{\"label\":\"Invoice id\",\"recommended\":true},{\"label\":\"Invoice number\"}]'"
|
|
8736
8548
|
],
|
|
8737
8549
|
"notify": [
|
|
@@ -9102,84 +8914,6 @@ const CONTRACT_SECTION_13 = {
|
|
|
9102
8914
|
" --json Print JSON output.",
|
|
9103
8915
|
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
9104
8916
|
],
|
|
9105
|
-
"profiles": [
|
|
9106
|
-
"Usage:",
|
|
9107
|
-
" python -m runpane profiles <list|show|launch|runs> [options]",
|
|
9108
|
-
"",
|
|
9109
|
-
"A profile is one YAML file that defines a team of agents and a fixed workflow.",
|
|
9110
|
-
"Pane runs a launched profile's workflow itself, step by step: each step opens as a tab",
|
|
9111
|
-
"in the run's Pane, and an agent step ends when its agent runs",
|
|
9112
|
-
"`runpane report --outcome \"<outcome>\"`. See docs/PROFILES.md.",
|
|
9113
|
-
"",
|
|
9114
|
-
"Commands:",
|
|
9115
|
-
" python -m runpane profiles list [--json] [--pane-dir <path>]",
|
|
9116
|
-
" python -m runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]",
|
|
9117
|
-
" 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>]",
|
|
9118
|
-
" python -m runpane profiles runs [--json] [--pane-dir <path>]"
|
|
9119
|
-
],
|
|
9120
|
-
"profiles list": [
|
|
9121
|
-
"Usage:",
|
|
9122
|
-
"python -m runpane profiles list [--json] [--pane-dir <path>]",
|
|
9123
|
-
"",
|
|
9124
|
-
"List the profiles in Pane's library: name, version, origin, on or off, and whether each can launch.",
|
|
9125
|
-
"",
|
|
9126
|
-
"Each line: name, version, bundled or yours, on or off, and launchable, no flow",
|
|
9127
|
-
"(no workflow), or invalid with its first error.",
|
|
9128
|
-
"",
|
|
9129
|
-
"Options:",
|
|
9130
|
-
" --json Print JSON output.",
|
|
9131
|
-
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
9132
|
-
],
|
|
9133
|
-
"profiles show": [
|
|
9134
|
-
"Usage:",
|
|
9135
|
-
"python -m runpane profiles show <name> [--yaml] [--json] [--pane-dir <path>]",
|
|
9136
|
-
"",
|
|
9137
|
-
"Show one profile: its agents, its workflow's steps and outcomes, its errors, and its file.",
|
|
9138
|
-
"",
|
|
9139
|
-
"Options:",
|
|
9140
|
-
" <name> The profile's name, from runpane profiles list.",
|
|
9141
|
-
" --yaml Print the profile's file text only.",
|
|
9142
|
-
" --json Print JSON output.",
|
|
9143
|
-
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
9144
|
-
],
|
|
9145
|
-
"profiles launch": [
|
|
9146
|
-
"Usage:",
|
|
9147
|
-
"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>]",
|
|
9148
|
-
"",
|
|
9149
|
-
"Launch a profile: Pane runs its workflow step by step, the first step in a new Pane of a Session.",
|
|
9150
|
-
"",
|
|
9151
|
-
"Without --repo it runs in the repo of the Pane this terminal is in, else the active repo.",
|
|
9152
|
-
"Without --session a Session orchestrator's runs join its Session; anything else gets a new Session.",
|
|
9153
|
-
"It prints the run id, its Session, its first step and its Pane. Follow it with `runpane profiles runs`.",
|
|
9154
|
-
"",
|
|
9155
|
-
"Options:",
|
|
9156
|
-
" <name> The profile's name, from runpane profiles list.",
|
|
9157
|
-
" --prompt <text> What you want done: the first agent step's request. Required.",
|
|
9158
|
-
" --repo <selector> Repository: active, id, exact path, or saved name.",
|
|
9159
|
-
" --session <id|name> An existing Session to run in.",
|
|
9160
|
-
" --harness <cli[/model]> One CLI for every agent, over the file's runs.",
|
|
9161
|
-
" --agent-harness <agent>=<cli> The CLI for one agent; repeat per agent.",
|
|
9162
|
-
" --command <cli>=<command> The command that starts a CLI Pane does not know; repeat.",
|
|
9163
|
-
" --yes Confirm the launch.",
|
|
9164
|
-
" --json Print JSON output.",
|
|
9165
|
-
" --pane-dir <path> Connect to a specific Pane data directory.",
|
|
9166
|
-
"",
|
|
9167
|
-
"Examples:",
|
|
9168
|
-
" python -m runpane profiles launch greenfield --prompt \"Add dark mode to settings\" --yes",
|
|
9169
|
-
" python -m runpane profiles launch greenfield --prompt \"Fix the flaky test\" --agent-harness planner=claude/opus --yes --json"
|
|
9170
|
-
],
|
|
9171
|
-
"profiles runs": [
|
|
9172
|
-
"Usage:",
|
|
9173
|
-
"python -m runpane profiles runs [--json] [--pane-dir <path>]",
|
|
9174
|
-
"",
|
|
9175
|
-
"List profile runs: each run's profile, state and current step.",
|
|
9176
|
-
"",
|
|
9177
|
-
"Each line: run id, profile, state (running, asking, paused, ended or failed) and step.",
|
|
9178
|
-
"",
|
|
9179
|
-
"Options:",
|
|
9180
|
-
" --json Print JSON output.",
|
|
9181
|
-
" --pane-dir <path> Connect to a specific Pane data directory."
|
|
9182
|
-
],
|
|
9183
8917
|
"workspace list": [
|
|
9184
8918
|
"Usage:",
|
|
9185
8919
|
" runpane workspace list [--json] [--pane-dir <path>]",
|
|
@@ -10184,8 +9918,6 @@ const CONTRACT_SECTION_14 = {
|
|
|
10184
9918
|
"runpane todos ask T-12 \"Should the sheet list chat shortcuts too?\" --json",
|
|
10185
9919
|
"runpane todos review T-12 --summary \"Ready; see the PR.\" --json",
|
|
10186
9920
|
"runpane todos snooze T-12 --until tomorrow --note \"Check Sentry after the deploy\" --json",
|
|
10187
|
-
"runpane profiles list --json",
|
|
10188
|
-
"runpane profiles launch greenfield --prompt \"Add dark mode to settings\" --yes --json",
|
|
10189
9921
|
"runpane agents start --repo active --name fix-login --agent claude --prompt \"Fix the login redirect\" --yes --json",
|
|
10190
9922
|
"runpane agents start --pane <pane-id> --agent codex --prompt \"Review the PR from this branch and report findings\" --yes --json",
|
|
10191
9923
|
"runpane agents status --pane <pane-id> --json",
|
|
@@ -10263,10 +9995,8 @@ const CONTRACT_SECTION_14 = {
|
|
|
10263
9995
|
"`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.",
|
|
10264
9996
|
"`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).",
|
|
10265
9997
|
"`runpane todos create|update|attach|detach|show|list|assign|ask|comment|review|done|drop|archive|start|stop` manage to-dos, the person's list of agent work: each started to-do gets its own Session and orchestrator, and Pane keeps it moving until it is done. Each call records the caller's tab ($PANE_PANEL_ID). Attach plans, mock-ups, designs, PRs, findings and decisions as soon as they exist; ask the requester first with `todos ask`; replies are summaries of at most 2,000 characters; `todos review` needs attachments or `--no-attachments`; an agent marks a top-level to-do done only after the person's Accept or with `--person-said`. `--todo <T-n>` on `notify`, `report` and `agents start` links that card, report or agent to a to-do.",
|
|
10266
|
-
"`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`, `no flow` 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. Profiles is off until Settings › Advanced › Profiles turns it on; until then `list`, `show` and `launch` fail with `PROFILES_OFF`, while runs already started keep going and `runs` still lists them. `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.",
|
|
10267
9998
|
"`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.",
|
|
10268
9999
|
"`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.",
|
|
10269
|
-
"`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.",
|
|
10270
10000
|
"`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.",
|
|
10271
10001
|
"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.",
|
|
10272
10002
|
"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.",
|
|
@@ -12117,54 +11847,6 @@ const CONTRACT_SECTION_15 = {
|
|
|
12117
11847
|
"T-12",
|
|
12118
11848
|
"--yes",
|
|
12119
11849
|
"--json"
|
|
12120
|
-
],
|
|
12121
|
-
[
|
|
12122
|
-
"report",
|
|
12123
|
-
"--outcome",
|
|
12124
|
-
" plan ready ",
|
|
12125
|
-
"--summary-file",
|
|
12126
|
-
"status.json"
|
|
12127
|
-
],
|
|
12128
|
-
[
|
|
12129
|
-
"profiles",
|
|
12130
|
-
"list",
|
|
12131
|
-
"--json"
|
|
12132
|
-
],
|
|
12133
|
-
[
|
|
12134
|
-
"profiles",
|
|
12135
|
-
"show",
|
|
12136
|
-
"greenfield",
|
|
12137
|
-
"--yaml"
|
|
12138
|
-
],
|
|
12139
|
-
[
|
|
12140
|
-
"profiles",
|
|
12141
|
-
"launch",
|
|
12142
|
-
"greenfield",
|
|
12143
|
-
"--prompt",
|
|
12144
|
-
"Add dark mode",
|
|
12145
|
-
"--repo",
|
|
12146
|
-
"active",
|
|
12147
|
-
"--session",
|
|
12148
|
-
"Nightly",
|
|
12149
|
-
"--harness",
|
|
12150
|
-
"claude/opus",
|
|
12151
|
-
"--agent-harness",
|
|
12152
|
-
"planner=codex",
|
|
12153
|
-
"--agent-harness={\"reviewer\":\"claude\"}",
|
|
12154
|
-
"--command",
|
|
12155
|
-
"aider=aider --yes-always",
|
|
12156
|
-
"--yes",
|
|
12157
|
-
"--json"
|
|
12158
|
-
],
|
|
12159
|
-
[
|
|
12160
|
-
"profiles",
|
|
12161
|
-
"runs",
|
|
12162
|
-
"--pane-dir",
|
|
12163
|
-
"/tmp/pane"
|
|
12164
|
-
],
|
|
12165
|
-
[
|
|
12166
|
-
"profiles",
|
|
12167
|
-
"--help"
|
|
12168
11850
|
]
|
|
12169
11851
|
],
|
|
12170
11852
|
"topLevelHelpIncludes": [
|
|
@@ -23506,473 +23188,84 @@ const CONTRACT_SECTION_16 = {
|
|
|
23506
23188
|
}
|
|
23507
23189
|
},
|
|
23508
23190
|
"additionalProperties": false
|
|
23191
|
+
}
|
|
23192
|
+
};
|
|
23193
|
+
/** contract.json "agentContext". */
|
|
23194
|
+
const CONTRACT_SECTION_17 = {
|
|
23195
|
+
"intro": {
|
|
23196
|
+
"humans": {
|
|
23197
|
+
"title": "For people",
|
|
23198
|
+
"sentences": [
|
|
23199
|
+
"Open a Session for each workstream and tell its agent what you want, in plain words.",
|
|
23200
|
+
"It plans the work, starts a Pane for each feature, and runs the builders, reviewers and QA as tabs inside them, so you don't have to.",
|
|
23201
|
+
"{approvals}",
|
|
23202
|
+
"When a feature is done, archiving its Pane cleans up its worktree and files for you."
|
|
23203
|
+
],
|
|
23204
|
+
"approvals": {
|
|
23205
|
+
"on": "Anything that needs you, like a decision, an approval or a merge, waits for you in Approvals while everything else keeps moving.",
|
|
23206
|
+
"off": "When the agent needs you for a decision, an approval or a merge, it asks in its terminal while everything else keeps moving."
|
|
23207
|
+
}
|
|
23208
|
+
},
|
|
23209
|
+
"agents": {
|
|
23210
|
+
"title": "For agents",
|
|
23211
|
+
"sentences": [
|
|
23212
|
+
"In Pane, work flows from a Session to Panes to tabs.",
|
|
23213
|
+
"A Session is a workstream: the person or an orchestrator opens it, and every Pane created or adopted from inside it joins it. When you are in one ($PANE_SESSION_DIR is set: you orchestrate it or your Pane belongs to it), start new Panes from there (each result's `association` names the Session they joined); when you are in none, work with several parts starts a new Session.",
|
|
23214
|
+
"Each feature gets one Pane, a git worktree on its own branch, and everything for that feature (the agent that builds it, its reviews, QA and fixes) runs as tabs inside it.",
|
|
23215
|
+
"Scratch files go in $PANE_SCRATCH_DIR inside the Pane.",
|
|
23216
|
+
"When the feature is done, archive the Pane and Pane cleans up its worktree, tabs and scratch files.",
|
|
23217
|
+
"{approvals}"
|
|
23218
|
+
],
|
|
23219
|
+
"approvals": {
|
|
23220
|
+
"on": "When you need the person, ask through Approvals (a Session worker reports blocked to its orchestrator instead).",
|
|
23221
|
+
"off": "When you need the person, ask in this terminal."
|
|
23222
|
+
}
|
|
23223
|
+
}
|
|
23509
23224
|
},
|
|
23510
|
-
"
|
|
23511
|
-
"
|
|
23512
|
-
"
|
|
23513
|
-
"
|
|
23514
|
-
|
|
23515
|
-
|
|
23516
|
-
|
|
23517
|
-
|
|
23518
|
-
|
|
23519
|
-
|
|
23520
|
-
"
|
|
23521
|
-
"
|
|
23225
|
+
"workspaceRules": [
|
|
23226
|
+
"Session: where a workstream lives, and the default home for orchestrated work. Its folder ($PANE_SESSION_DIR) holds plans, notes and reports.",
|
|
23227
|
+
"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.",
|
|
23228
|
+
"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`.",
|
|
23229
|
+
"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."
|
|
23230
|
+
],
|
|
23231
|
+
"brief": {
|
|
23232
|
+
"title": "Pane agent context",
|
|
23233
|
+
"summary": "Pane runs coding agents in parallel git worktrees. A Pane is a visible workspace for one feature or PR, with its own Pane-managed git worktree and branch; a panel is a terminal tab in a Pane and shares its worktree; an agent is a CLI process running in a panel.",
|
|
23234
|
+
"rules": [
|
|
23235
|
+
"Start with `runpane doctor --json` to understand wrapper, platform, daemon reachability, and the next safe commands before mutating Pane state.",
|
|
23236
|
+
"In a Pane repository checkout, if `runpane` is not on PATH, build the local wrapper with `pnpm --filter runpane build` and run it with patched Node 22.23.4+ (22.x), 24.22.1+ (24.x), or 26.12.1+ (26.x), for example `node packages/runpane/dist/cli.js doctor --json`.",
|
|
23237
|
+
"Happy path for any user request to use Pane/RunPane: run `runpane doctor --json`, read `runpane agent-context --json`, resolve or add the saved base repo, then route by the rule If the work's branch already has a Pane (find it with `runpane panes list --repo <repo> --json` by matching the PR's head branch against `git -C <worktreePath> branch --show-current`), open a new agent tab in it with `runpane panels create --pane <id> --agent <agent> --initial-input \"<task>\" --source agent --no-focus --wait-ready --yes --json`; only when the branch has no Pane yet, create one with a complete command such as `runpane panes create --repo <repo> --name <name> --agent <agent> --prompt \"<task>\" --source agent --no-focus --wait-ready --yes --json` (the new Pane is pinned by default; add `--no-pinned` for a throwaway Pane, add `--base-branch <ref>` to branch from something other than the repository default, or use `--tool-command <command>` instead of `--agent <agent>`), then validate with `panels wait` or `panels screen`. For long-lived supervision, use `runpane watch --follow` instead of polling wait or screen.",
|
|
23238
|
+
"Treat Pane as the user's visible cockpit for watching/co-driving work. Do not create Panes or panels for private delegation unless the user asked for visible Pane orchestration or the result should appear in the Pane app.",
|
|
23239
|
+
"Register the saved base repository once with `repos add`; do not register a pre-created worktree as a separate repo unless the user explicitly asks.",
|
|
23240
|
+
"Use `panes create` only when the work's branch has no Pane yet (new work, or an existing PR with no Pane), since each new Pane creates a worktree. Every later agent for that branch opens as a new tab in its Pane with `panels create --pane <id>`, never a new Pane. Tabs share one checkout: only the implementer changes the branch or HEAD, one writer at a time; review, audit and QA tabs never run `git checkout`, `reset` or `stash`.",
|
|
23241
|
+
"For private background decomposition, use your normal subagent/worktree mechanism instead of Pane.",
|
|
23242
|
+
"Skill routing: Pane's skills live in `<PANE_DIR>/skills/pane-chat/skills/`, and the Pane Chat entry point is `<PANE_DIR>/skills/pane-chat/pane-orchestrator/SKILL.md`; read the skill that matches the request, such as `discussion`, `create-ticket`, `tdd`, `prepare-pr`, or `review`.",
|
|
23243
|
+
"When an agent creates Panes or panels, pass `--source agent --no-focus --wait-ready --yes --json` unless the user explicitly wants focus moved; `panes create` pins the new Pane into the UI's favorite/pin set by default, so no follow-up `panes pin` call is needed and `--no-pinned` is the opt-out for throwaway Panes.",
|
|
23244
|
+
"Use `runpane agent-context --json` for the full agent-facing CLI context, or `runpane agent-context --command <command> --json` for one detailed command definition.",
|
|
23245
|
+
"For `agent-context --command`, use canonical spaced names like `panes create`; copied forms like `panes.create` or `runpane panes create` are accepted too.",
|
|
23246
|
+
"Use `runpane repos list --json` to find the saved repository when unsure after doctor shows the daemon is reachable.",
|
|
23247
|
+
"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.",
|
|
23248
|
+
"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. For a secret from 1Password, ask with `runpane secrets lease` and wait; when `secrets exec` fails with SECRET_LEASE_ENDED, run the next step it names.",
|
|
23249
|
+
"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'`.",
|
|
23250
|
+
"If the repository exists on disk but is not saved in Pane, use `runpane repos add --path <repo> --yes --json` before creating panes.",
|
|
23251
|
+
"Use `runpane agents doctor --agent <codex|claude|cursor|opencode|pi> --repo <selector> --json` when agent availability differs across host, Windows, WSL, or repo environments.",
|
|
23252
|
+
"Use `runpane panes create --wait-ready` to create Panes, wait for each agent's input box, and verify its starting message in one call.",
|
|
23253
|
+
"Use `runpane panels screen` for compact current state, including Claude and Codex composer state. Use `panels wait` for create-time readiness or text checks. Use `runpane watch --follow` to block on workspace transitions (READY, BLOCKED, IDLE, STUCK, EXIT) without polling, or `runpane watch --until-event` to exit on the first one. Use `panels submit` to send and submit a new turn. Use `panels submit-composer --strategy auto` only for a composer that was filled separately.",
|
|
23254
|
+
"Use `runpane panels input` only when exact bytes are required, such as Ctrl-C or handcrafted terminal input.",
|
|
23255
|
+
"Pane terminals draw inline images: sixel, iTerm2 inline images, and the kitty graphics protocol. Tools that need kitty graphics, such as terminal-browser and terminal-doom, run inside a Pane panel; `runpane doctor --json` reports the exact list under `terminal.graphicsProtocols`.",
|
|
23256
|
+
"After creating Panes or sending terminal input, validate with `panels wait` or bounded `panels screen`. For a harness that consumes streaming output, use `runpane watch --follow` (with `--session <id>` for a Session); its named consumer applies settling and batching. Adding numeric --since leaves it unnamed and bypasses cadence; --as cannot be combined with --since. A harness that wakes only when a process exits uses `runpane watch --as <name> --until-event --json` and runs it again after each event. Single-event waits deliver immediately without follow cadence. Never pipe `--follow` into `grep -m1` or `head`.",
|
|
23257
|
+
"When several agents share one resource, such as a test account, name a lock in their prompts: each worker runs `runpane lock acquire --name <name> --ttl 30m --wait 1800000 --json` before using it and `runpane lock release --name <name>` after.",
|
|
23258
|
+
"Loops (`runpane loops create`) run a task on a cron schedule, each run in a new Pane or, with `--session`, as a message to a Session's agent. They are for large recurring jobs, such as a nightly bug sweep, and run at most once an hour. For a short wait, use your agent harness's own sleep and wake instead."
|
|
23522
23259
|
],
|
|
23523
|
-
"
|
|
23524
|
-
|
|
23525
|
-
|
|
23526
|
-
|
|
23527
|
-
|
|
23528
|
-
"
|
|
23529
|
-
|
|
23530
|
-
|
|
23531
|
-
|
|
23532
|
-
},
|
|
23533
|
-
"origin": {
|
|
23534
|
-
"enum": [
|
|
23535
|
-
"bundled",
|
|
23536
|
-
"yours"
|
|
23537
|
-
]
|
|
23538
|
-
},
|
|
23539
|
-
"file": {
|
|
23540
|
-
"type": "string"
|
|
23541
|
-
},
|
|
23542
|
-
"valid": {
|
|
23543
|
-
"type": "boolean"
|
|
23544
|
-
},
|
|
23545
|
-
"launchable": {
|
|
23546
|
-
"type": "boolean"
|
|
23547
|
-
},
|
|
23548
|
-
"teamOnly": {
|
|
23549
|
-
"type": "boolean"
|
|
23550
|
-
},
|
|
23551
|
-
"enabled": {
|
|
23552
|
-
"type": "boolean"
|
|
23553
|
-
},
|
|
23554
|
-
"errors": {
|
|
23555
|
-
"type": "array",
|
|
23556
|
-
"items": {
|
|
23557
|
-
"type": "object",
|
|
23558
|
-
"required": [
|
|
23559
|
-
"code",
|
|
23560
|
-
"message",
|
|
23561
|
-
"fix"
|
|
23562
|
-
],
|
|
23563
|
-
"properties": {
|
|
23564
|
-
"code": {
|
|
23565
|
-
"type": "string"
|
|
23566
|
-
},
|
|
23567
|
-
"message": {
|
|
23568
|
-
"type": "string"
|
|
23569
|
-
},
|
|
23570
|
-
"fix": {
|
|
23571
|
-
"type": "string"
|
|
23572
|
-
},
|
|
23573
|
-
"step": {
|
|
23574
|
-
"type": "string"
|
|
23575
|
-
},
|
|
23576
|
-
"outcome": {
|
|
23577
|
-
"type": "string"
|
|
23578
|
-
}
|
|
23579
|
-
}
|
|
23580
|
-
}
|
|
23581
|
-
},
|
|
23582
|
-
"profile": {
|
|
23583
|
-
"type": "object"
|
|
23584
|
-
}
|
|
23585
|
-
}
|
|
23586
|
-
},
|
|
23587
|
-
"profileRun": {
|
|
23588
|
-
"type": "object",
|
|
23589
|
-
"description": "A launched profile: where its steps run and where it is now.",
|
|
23590
|
-
"required": [
|
|
23591
|
-
"id",
|
|
23592
|
-
"profile",
|
|
23593
|
-
"profileVersion",
|
|
23594
|
-
"sessionId",
|
|
23595
|
-
"repoId",
|
|
23596
|
-
"prompt",
|
|
23597
|
-
"state",
|
|
23598
|
-
"step",
|
|
23599
|
-
"wait",
|
|
23600
|
-
"history"
|
|
23601
|
-
],
|
|
23602
|
-
"properties": {
|
|
23603
|
-
"id": {
|
|
23604
|
-
"type": "string"
|
|
23605
|
-
},
|
|
23606
|
-
"profile": {
|
|
23607
|
-
"type": "string"
|
|
23608
|
-
},
|
|
23609
|
-
"profileVersion": {
|
|
23610
|
-
"type": "string"
|
|
23611
|
-
},
|
|
23612
|
-
"sessionId": {
|
|
23613
|
-
"type": "string"
|
|
23614
|
-
},
|
|
23615
|
-
"repoId": {
|
|
23616
|
-
"type": "number"
|
|
23617
|
-
},
|
|
23618
|
-
"paneId": {
|
|
23619
|
-
"type": "string"
|
|
23620
|
-
},
|
|
23621
|
-
"prompt": {
|
|
23622
|
-
"type": "string"
|
|
23623
|
-
},
|
|
23624
|
-
"harness": {
|
|
23625
|
-
"type": "object",
|
|
23626
|
-
"additionalProperties": {
|
|
23627
|
-
"type": "string",
|
|
23628
|
-
"minLength": 1
|
|
23629
|
-
}
|
|
23630
|
-
},
|
|
23631
|
-
"commands": {
|
|
23632
|
-
"type": "object",
|
|
23633
|
-
"additionalProperties": {
|
|
23634
|
-
"type": "string",
|
|
23635
|
-
"minLength": 1
|
|
23636
|
-
}
|
|
23637
|
-
},
|
|
23638
|
-
"state": {
|
|
23639
|
-
"enum": [
|
|
23640
|
-
"running",
|
|
23641
|
-
"asking",
|
|
23642
|
-
"paused",
|
|
23643
|
-
"ended",
|
|
23644
|
-
"failed"
|
|
23645
|
-
]
|
|
23646
|
-
},
|
|
23647
|
-
"step": {
|
|
23648
|
-
"type": "string"
|
|
23649
|
-
},
|
|
23650
|
-
"wait": {
|
|
23651
|
-
"type": "object"
|
|
23652
|
-
},
|
|
23653
|
-
"history": {
|
|
23654
|
-
"type": "array",
|
|
23655
|
-
"items": {
|
|
23656
|
-
"type": "object"
|
|
23657
|
-
}
|
|
23658
|
-
},
|
|
23659
|
-
"error": {
|
|
23660
|
-
"type": "string"
|
|
23661
|
-
},
|
|
23662
|
-
"createdAt": {
|
|
23663
|
-
"type": "string"
|
|
23664
|
-
},
|
|
23665
|
-
"updatedAt": {
|
|
23666
|
-
"type": "string"
|
|
23667
|
-
}
|
|
23668
|
-
}
|
|
23669
|
-
},
|
|
23670
|
-
"profileListResult": {
|
|
23671
|
-
"type": "object",
|
|
23672
|
-
"required": [
|
|
23673
|
-
"ok",
|
|
23674
|
-
"profiles"
|
|
23675
|
-
],
|
|
23676
|
-
"properties": {
|
|
23677
|
-
"ok": {
|
|
23678
|
-
"const": true
|
|
23679
|
-
},
|
|
23680
|
-
"profiles": {
|
|
23681
|
-
"type": "array",
|
|
23682
|
-
"items": {
|
|
23683
|
-
"$ref": "#/jsonSchemas/libraryProfile"
|
|
23684
|
-
}
|
|
23685
|
-
},
|
|
23686
|
-
"agentFarm": {
|
|
23687
|
-
"type": "object",
|
|
23688
|
-
"required": [
|
|
23689
|
-
"state"
|
|
23690
|
-
],
|
|
23691
|
-
"properties": {
|
|
23692
|
-
"state": {
|
|
23693
|
-
"enum": [
|
|
23694
|
-
"missing",
|
|
23695
|
-
"installing",
|
|
23696
|
-
"ready",
|
|
23697
|
-
"failed"
|
|
23698
|
-
]
|
|
23699
|
-
},
|
|
23700
|
-
"version": {
|
|
23701
|
-
"type": "string"
|
|
23702
|
-
},
|
|
23703
|
-
"error": {
|
|
23704
|
-
"type": "string"
|
|
23705
|
-
}
|
|
23706
|
-
}
|
|
23707
|
-
},
|
|
23708
|
-
"ownAgentFarm": {
|
|
23709
|
-
"type": "object",
|
|
23710
|
-
"required": [
|
|
23711
|
-
"profiles"
|
|
23712
|
-
],
|
|
23713
|
-
"properties": {
|
|
23714
|
-
"profiles": {
|
|
23715
|
-
"type": "array",
|
|
23716
|
-
"items": {
|
|
23717
|
-
"type": "object",
|
|
23718
|
-
"required": [
|
|
23719
|
-
"name",
|
|
23720
|
-
"source"
|
|
23721
|
-
],
|
|
23722
|
-
"properties": {
|
|
23723
|
-
"name": {
|
|
23724
|
-
"type": "string"
|
|
23725
|
-
},
|
|
23726
|
-
"source": {
|
|
23727
|
-
"type": "string"
|
|
23728
|
-
},
|
|
23729
|
-
"harness": {
|
|
23730
|
-
"type": "string"
|
|
23731
|
-
},
|
|
23732
|
-
"model": {
|
|
23733
|
-
"type": "string"
|
|
23734
|
-
}
|
|
23735
|
-
}
|
|
23736
|
-
}
|
|
23737
|
-
},
|
|
23738
|
-
"error": {
|
|
23739
|
-
"type": "string"
|
|
23740
|
-
}
|
|
23741
|
-
}
|
|
23742
|
-
}
|
|
23743
|
-
}
|
|
23744
|
-
},
|
|
23745
|
-
"profileShowResult": {
|
|
23746
|
-
"type": "object",
|
|
23747
|
-
"required": [
|
|
23748
|
-
"ok",
|
|
23749
|
-
"profile",
|
|
23750
|
-
"yaml"
|
|
23751
|
-
],
|
|
23752
|
-
"properties": {
|
|
23753
|
-
"ok": {
|
|
23754
|
-
"const": true
|
|
23755
|
-
},
|
|
23756
|
-
"profile": {
|
|
23757
|
-
"$ref": "#/jsonSchemas/libraryProfile"
|
|
23758
|
-
},
|
|
23759
|
-
"yaml": {
|
|
23760
|
-
"type": "string"
|
|
23761
|
-
}
|
|
23762
|
-
}
|
|
23763
|
-
},
|
|
23764
|
-
"profileLaunchRequest": {
|
|
23765
|
-
"type": "object",
|
|
23766
|
-
"description": "What `runpane profiles launch` sends to Pane.",
|
|
23767
|
-
"required": [
|
|
23768
|
-
"name",
|
|
23769
|
-
"prompt",
|
|
23770
|
-
"repo"
|
|
23771
|
-
],
|
|
23772
|
-
"properties": {
|
|
23773
|
-
"name": {
|
|
23774
|
-
"type": "string",
|
|
23775
|
-
"minLength": 1
|
|
23776
|
-
},
|
|
23777
|
-
"prompt": {
|
|
23778
|
-
"type": "string",
|
|
23779
|
-
"minLength": 1
|
|
23780
|
-
},
|
|
23781
|
-
"repo": {
|
|
23782
|
-
"anyOf": [
|
|
23783
|
-
{
|
|
23784
|
-
"type": "string"
|
|
23785
|
-
},
|
|
23786
|
-
{
|
|
23787
|
-
"type": "object",
|
|
23788
|
-
"required": [
|
|
23789
|
-
"id"
|
|
23790
|
-
],
|
|
23791
|
-
"properties": {
|
|
23792
|
-
"id": {
|
|
23793
|
-
"type": "number"
|
|
23794
|
-
}
|
|
23795
|
-
},
|
|
23796
|
-
"additionalProperties": false
|
|
23797
|
-
},
|
|
23798
|
-
{
|
|
23799
|
-
"type": "object",
|
|
23800
|
-
"required": [
|
|
23801
|
-
"path"
|
|
23802
|
-
],
|
|
23803
|
-
"properties": {
|
|
23804
|
-
"path": {
|
|
23805
|
-
"type": "string"
|
|
23806
|
-
}
|
|
23807
|
-
},
|
|
23808
|
-
"additionalProperties": false
|
|
23809
|
-
},
|
|
23810
|
-
{
|
|
23811
|
-
"type": "object",
|
|
23812
|
-
"required": [
|
|
23813
|
-
"name"
|
|
23814
|
-
],
|
|
23815
|
-
"properties": {
|
|
23816
|
-
"name": {
|
|
23817
|
-
"type": "string"
|
|
23818
|
-
}
|
|
23819
|
-
},
|
|
23820
|
-
"additionalProperties": false
|
|
23821
|
-
},
|
|
23822
|
-
{
|
|
23823
|
-
"type": "object",
|
|
23824
|
-
"required": [
|
|
23825
|
-
"active"
|
|
23826
|
-
],
|
|
23827
|
-
"properties": {
|
|
23828
|
-
"active": {
|
|
23829
|
-
"const": true
|
|
23830
|
-
}
|
|
23831
|
-
},
|
|
23832
|
-
"additionalProperties": false
|
|
23833
|
-
}
|
|
23834
|
-
]
|
|
23835
|
-
},
|
|
23836
|
-
"session": {
|
|
23837
|
-
"type": "string",
|
|
23838
|
-
"minLength": 1
|
|
23839
|
-
},
|
|
23840
|
-
"harness": {
|
|
23841
|
-
"type": "string",
|
|
23842
|
-
"minLength": 1
|
|
23843
|
-
},
|
|
23844
|
-
"agentHarness": {
|
|
23845
|
-
"type": "object",
|
|
23846
|
-
"additionalProperties": {
|
|
23847
|
-
"type": "string",
|
|
23848
|
-
"minLength": 1
|
|
23849
|
-
}
|
|
23850
|
-
},
|
|
23851
|
-
"commands": {
|
|
23852
|
-
"type": "object",
|
|
23853
|
-
"additionalProperties": {
|
|
23854
|
-
"type": "string",
|
|
23855
|
-
"minLength": 1
|
|
23856
|
-
}
|
|
23857
|
-
},
|
|
23858
|
-
"callerPanelId": {
|
|
23859
|
-
"type": "string",
|
|
23860
|
-
"minLength": 1
|
|
23861
|
-
}
|
|
23862
|
-
},
|
|
23863
|
-
"additionalProperties": false
|
|
23864
|
-
},
|
|
23865
|
-
"profileLaunchResult": {
|
|
23866
|
-
"type": "object",
|
|
23867
|
-
"required": [
|
|
23868
|
-
"ok",
|
|
23869
|
-
"run"
|
|
23870
|
-
],
|
|
23871
|
-
"properties": {
|
|
23872
|
-
"ok": {
|
|
23873
|
-
"const": true
|
|
23874
|
-
},
|
|
23875
|
-
"run": {
|
|
23876
|
-
"$ref": "#/jsonSchemas/profileRun"
|
|
23877
|
-
}
|
|
23878
|
-
}
|
|
23879
|
-
},
|
|
23880
|
-
"profileRunsResult": {
|
|
23881
|
-
"type": "object",
|
|
23882
|
-
"required": [
|
|
23883
|
-
"ok",
|
|
23884
|
-
"runs"
|
|
23885
|
-
],
|
|
23886
|
-
"properties": {
|
|
23887
|
-
"ok": {
|
|
23888
|
-
"const": true
|
|
23889
|
-
},
|
|
23890
|
-
"runs": {
|
|
23891
|
-
"type": "array",
|
|
23892
|
-
"items": {
|
|
23893
|
-
"$ref": "#/jsonSchemas/profileRun"
|
|
23894
|
-
}
|
|
23895
|
-
}
|
|
23896
|
-
}
|
|
23897
|
-
}
|
|
23898
|
-
};
|
|
23899
|
-
/** contract.json "agentContext". */
|
|
23900
|
-
const CONTRACT_SECTION_17 = {
|
|
23901
|
-
"intro": {
|
|
23902
|
-
"humans": {
|
|
23903
|
-
"title": "For people",
|
|
23904
|
-
"sentences": [
|
|
23905
|
-
"Open a Session for each workstream and tell its agent what you want, in plain words.",
|
|
23906
|
-
"It plans the work, starts a Pane for each feature, and runs the builders, reviewers and QA as tabs inside them, so you don't have to.",
|
|
23907
|
-
"{approvals}",
|
|
23908
|
-
"When a feature is done, archiving its Pane cleans up its worktree and files for you."
|
|
23909
|
-
],
|
|
23910
|
-
"approvals": {
|
|
23911
|
-
"on": "Anything that needs you, like a decision, an approval or a merge, waits for you in Approvals while everything else keeps moving.",
|
|
23912
|
-
"off": "When the agent needs you for a decision, an approval or a merge, it asks in its terminal while everything else keeps moving."
|
|
23913
|
-
}
|
|
23914
|
-
},
|
|
23915
|
-
"agents": {
|
|
23916
|
-
"title": "For agents",
|
|
23917
|
-
"sentences": [
|
|
23918
|
-
"In Pane, work flows from a Session to Panes to tabs.",
|
|
23919
|
-
"A Session is a workstream: the person or an orchestrator opens it, and every Pane created or adopted from inside it joins it. When you are in one ($PANE_SESSION_DIR is set: you orchestrate it or your Pane belongs to it), start new Panes from there (each result's `association` names the Session they joined); when you are in none, work with several parts starts a new Session.",
|
|
23920
|
-
"Each feature gets one Pane, a git worktree on its own branch, and everything for that feature (the agent that builds it, its reviews, QA and fixes) runs as tabs inside it.",
|
|
23921
|
-
"Scratch files go in $PANE_SCRATCH_DIR inside the Pane.",
|
|
23922
|
-
"When the feature is done, archive the Pane and Pane cleans up its worktree, tabs and scratch files.",
|
|
23923
|
-
"{approvals}"
|
|
23924
|
-
],
|
|
23925
|
-
"approvals": {
|
|
23926
|
-
"on": "When you need the person, ask through Approvals (a Session worker reports blocked to its orchestrator instead).",
|
|
23927
|
-
"off": "When you need the person, ask in this terminal."
|
|
23928
|
-
}
|
|
23929
|
-
}
|
|
23930
|
-
},
|
|
23931
|
-
"workspaceRules": [
|
|
23932
|
-
"Session: where a workstream lives, and the default home for orchestrated work. Its folder ($PANE_SESSION_DIR) holds plans, notes and reports.",
|
|
23933
|
-
"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.",
|
|
23934
|
-
"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`.",
|
|
23935
|
-
"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.",
|
|
23936
|
-
"Profiles: a profile is a team and a fixed workflow Pane runs from its file (docs/PROFILES.md). Once Profiles is on (Settings › Advanced › Profiles), `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."
|
|
23937
|
-
],
|
|
23938
|
-
"brief": {
|
|
23939
|
-
"title": "Pane agent context",
|
|
23940
|
-
"summary": "Pane runs coding agents in parallel git worktrees. A Pane is a visible workspace for one feature or PR, with its own Pane-managed git worktree and branch; a panel is a terminal tab in a Pane and shares its worktree; an agent is a CLI process running in a panel.",
|
|
23941
|
-
"rules": [
|
|
23942
|
-
"Start with `runpane doctor --json` to understand wrapper, platform, daemon reachability, and the next safe commands before mutating Pane state.",
|
|
23943
|
-
"In a Pane repository checkout, if `runpane` is not on PATH, build the local wrapper with `pnpm --filter runpane build` and run it with patched Node 22.23.4+ (22.x), 24.22.1+ (24.x), or 26.12.1+ (26.x), for example `node packages/runpane/dist/cli.js doctor --json`.",
|
|
23944
|
-
"Happy path for any user request to use Pane/RunPane: run `runpane doctor --json`, read `runpane agent-context --json`, resolve or add the saved base repo, then route by the rule If the work's branch already has a Pane (find it with `runpane panes list --repo <repo> --json` by matching the PR's head branch against `git -C <worktreePath> branch --show-current`), open a new agent tab in it with `runpane panels create --pane <id> --agent <agent> --initial-input \"<task>\" --source agent --no-focus --wait-ready --yes --json`; only when the branch has no Pane yet, create one with a complete command such as `runpane panes create --repo <repo> --name <name> --agent <agent> --prompt \"<task>\" --source agent --no-focus --wait-ready --yes --json` (the new Pane is pinned by default; add `--no-pinned` for a throwaway Pane, add `--base-branch <ref>` to branch from something other than the repository default, or use `--tool-command <command>` instead of `--agent <agent>`), then validate with `panels wait` or `panels screen`. For long-lived supervision, use `runpane watch --follow` instead of polling wait or screen.",
|
|
23945
|
-
"Treat Pane as the user's visible cockpit for watching/co-driving work. Do not create Panes or panels for private delegation unless the user asked for visible Pane orchestration or the result should appear in the Pane app.",
|
|
23946
|
-
"Register the saved base repository once with `repos add`; do not register a pre-created worktree as a separate repo unless the user explicitly asks.",
|
|
23947
|
-
"Use `panes create` only when the work's branch has no Pane yet (new work, or an existing PR with no Pane), since each new Pane creates a worktree. Every later agent for that branch opens as a new tab in its Pane with `panels create --pane <id>`, never a new Pane. Tabs share one checkout: only the implementer changes the branch or HEAD, one writer at a time; review, audit and QA tabs never run `git checkout`, `reset` or `stash`.",
|
|
23948
|
-
"For private background decomposition, use your normal subagent/worktree mechanism instead of Pane.",
|
|
23949
|
-
"Skill routing: Pane's skills live in `<PANE_DIR>/skills/pane-chat/skills/`, and the Pane Chat entry point is `<PANE_DIR>/skills/pane-chat/pane-orchestrator/SKILL.md`; read the skill that matches the request, such as `discussion`, `create-ticket`, `tdd`, `prepare-pr`, or `review`.",
|
|
23950
|
-
"When an agent creates Panes or panels, pass `--source agent --no-focus --wait-ready --yes --json` unless the user explicitly wants focus moved; `panes create` pins the new Pane into the UI's favorite/pin set by default, so no follow-up `panes pin` call is needed and `--no-pinned` is the opt-out for throwaway Panes.",
|
|
23951
|
-
"Use `runpane agent-context --json` for the full agent-facing CLI context, or `runpane agent-context --command <command> --json` for one detailed command definition.",
|
|
23952
|
-
"For `agent-context --command`, use canonical spaced names like `panes create`; copied forms like `panes.create` or `runpane panes create` are accepted too.",
|
|
23953
|
-
"Use `runpane repos list --json` to find the saved repository when unsure after doctor shows the daemon is reachable.",
|
|
23954
|
-
"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.",
|
|
23955
|
-
"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. For a secret from 1Password, ask with `runpane secrets lease` and wait; when `secrets exec` fails with SECRET_LEASE_ENDED, run the next step it names.",
|
|
23956
|
-
"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'`.",
|
|
23957
|
-
"If the repository exists on disk but is not saved in Pane, use `runpane repos add --path <repo> --yes --json` before creating panes.",
|
|
23958
|
-
"Use `runpane agents doctor --agent <codex|claude|cursor|opencode|pi> --repo <selector> --json` when agent availability differs across host, Windows, WSL, or repo environments.",
|
|
23959
|
-
"Use `runpane panes create --wait-ready` to create Panes, wait for each agent's input box, and verify its starting message in one call.",
|
|
23960
|
-
"Use `runpane panels screen` for compact current state, including Claude and Codex composer state. Use `panels wait` for create-time readiness or text checks. Use `runpane watch --follow` to block on workspace transitions (READY, BLOCKED, IDLE, STUCK, EXIT) without polling, or `runpane watch --until-event` to exit on the first one. Use `panels submit` to send and submit a new turn. Use `panels submit-composer --strategy auto` only for a composer that was filled separately.",
|
|
23961
|
-
"Use `runpane panels input` only when exact bytes are required, such as Ctrl-C or handcrafted terminal input.",
|
|
23962
|
-
"Pane terminals draw inline images: sixel, iTerm2 inline images, and the kitty graphics protocol. Tools that need kitty graphics, such as terminal-browser and terminal-doom, run inside a Pane panel; `runpane doctor --json` reports the exact list under `terminal.graphicsProtocols`.",
|
|
23963
|
-
"After creating Panes or sending terminal input, validate with `panels wait` or bounded `panels screen`. For a harness that consumes streaming output, use `runpane watch --follow` (with `--session <id>` for a Session); its named consumer applies settling and batching. Adding numeric --since leaves it unnamed and bypasses cadence; --as cannot be combined with --since. A harness that wakes only when a process exits uses `runpane watch --as <name> --until-event --json` and runs it again after each event. Single-event waits deliver immediately without follow cadence. Never pipe `--follow` into `grep -m1` or `head`.",
|
|
23964
|
-
"When several agents share one resource, such as a test account, name a lock in their prompts: each worker runs `runpane lock acquire --name <name> --ttl 30m --wait 1800000 --json` before using it and `runpane lock release --name <name>` after.",
|
|
23965
|
-
"Loops (`runpane loops create`) run a task on a cron schedule, each run in a new Pane or, with `--session`, as a message to a Session's agent. They are for large recurring jobs, such as a nightly bug sweep, and run at most once an hour. For a short wait, use your agent harness's own sleep and wake instead."
|
|
23966
|
-
],
|
|
23967
|
-
"detailCommand": "runpane agent-context --command <command> [--json]",
|
|
23968
|
-
"tools": [
|
|
23969
|
-
{
|
|
23970
|
-
"name": "doctor",
|
|
23971
|
-
"summary": "Report wrapper, platform, installed Pane, and daemon reachability before an agent mutates Pane state.",
|
|
23972
|
-
"arguments": [
|
|
23973
|
-
"--json",
|
|
23974
|
-
"--pane-dir <path>",
|
|
23975
|
-
"--pane-path <path>"
|
|
23260
|
+
"detailCommand": "runpane agent-context --command <command> [--json]",
|
|
23261
|
+
"tools": [
|
|
23262
|
+
{
|
|
23263
|
+
"name": "doctor",
|
|
23264
|
+
"summary": "Report wrapper, platform, installed Pane, and daemon reachability before an agent mutates Pane state.",
|
|
23265
|
+
"arguments": [
|
|
23266
|
+
"--json",
|
|
23267
|
+
"--pane-dir <path>",
|
|
23268
|
+
"--pane-path <path>"
|
|
23976
23269
|
]
|
|
23977
23270
|
},
|
|
23978
23271
|
{
|
|
@@ -24662,7 +23955,7 @@ const CONTRACT_SECTION_17 = {
|
|
|
24662
23955
|
"name": "--toolsets",
|
|
24663
23956
|
"value": "<name,...>",
|
|
24664
23957
|
"required": false,
|
|
24665
|
-
"description": "Comma-separated toolsets to serve: core (default), all, read, repos, panes, panels, agents, sessions, loops,
|
|
23958
|
+
"description": "Comma-separated toolsets to serve: core (default), all, read, repos, panes, panels, agents, sessions, loops, workspace, machine, git, docs, links, admin."
|
|
24666
23959
|
},
|
|
24667
23960
|
{
|
|
24668
23961
|
"name": "--read-only",
|
|
@@ -28409,7 +27702,7 @@ const CONTRACT_SECTION_17 = {
|
|
|
28409
27702
|
"name": "--state",
|
|
28410
27703
|
"value": "<ready|blocked|failed|done>",
|
|
28411
27704
|
"required": true,
|
|
28412
|
-
"description": "ready: work is ready for review; done: finished with nothing to review; blocked: needs an answer; failed: could not finish.
|
|
27705
|
+
"description": "ready: work is ready for review; done: finished with nothing to review; blocked: needs an answer; failed: could not finish."
|
|
28413
27706
|
},
|
|
28414
27707
|
{
|
|
28415
27708
|
"name": "--pr",
|
|
@@ -28481,17 +27774,10 @@ const CONTRACT_SECTION_17 = {
|
|
|
28481
27774
|
"value": "<path>",
|
|
28482
27775
|
"required": false,
|
|
28483
27776
|
"description": "Connect to a specific Pane data directory."
|
|
28484
|
-
},
|
|
28485
|
-
{
|
|
28486
|
-
"name": "--outcome",
|
|
28487
|
-
"value": "<name>",
|
|
28488
|
-
"required": false,
|
|
28489
|
-
"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)."
|
|
28490
27777
|
}
|
|
28491
27778
|
],
|
|
28492
27779
|
"examples": [
|
|
28493
27780
|
"runpane report --state ready --pr 747 --head fc5dce9 --summary-file /tmp/report.md --json",
|
|
28494
|
-
"runpane report --outcome \"plan ready\" --summary-file status.json",
|
|
28495
27781
|
"runpane report --state blocked --question \"Should the migration drop the old column?\"",
|
|
28496
27782
|
"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'"
|
|
28497
27783
|
],
|
|
@@ -28504,8 +27790,7 @@ const CONTRACT_SECTION_17 = {
|
|
|
28504
27790
|
"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.",
|
|
28505
27791
|
"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.",
|
|
28506
27792
|
"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.",
|
|
28507
|
-
"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. A bracketed unit with a spaced slash (\"(requests / second)\") reads as an option list too; when the question asks for a value, word the unit as prose (\"in requests per second\") or drop the spaces (\"(requests/second)\")."
|
|
28508
|
-
"`--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."
|
|
27793
|
+
"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. A bracketed unit with a spaced slash (\"(requests / second)\") reads as an option list too; when the question asks for a value, word the unit as prose (\"in requests per second\") or drop the spaces (\"(requests/second)\")."
|
|
28509
27794
|
]
|
|
28510
27795
|
},
|
|
28511
27796
|
"sessions list": {
|
|
@@ -30021,198 +29306,6 @@ const CONTRACT_SECTION_17 = {
|
|
|
30021
29306
|
],
|
|
30022
29307
|
"notes": []
|
|
30023
29308
|
},
|
|
30024
|
-
"profiles list": {
|
|
30025
|
-
"name": "profiles list",
|
|
30026
|
-
"summary": "List the profiles in Pane's library: name, version, origin, on or off, and whether each can launch.",
|
|
30027
|
-
"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.",
|
|
30028
|
-
"requiresPaneDaemon": true,
|
|
30029
|
-
"mutates": false,
|
|
30030
|
-
"arguments": [
|
|
30031
|
-
{
|
|
30032
|
-
"name": "--json",
|
|
30033
|
-
"required": false,
|
|
30034
|
-
"description": "Print machine-readable output."
|
|
30035
|
-
},
|
|
30036
|
-
{
|
|
30037
|
-
"name": "--pane-dir",
|
|
30038
|
-
"value": "<path>",
|
|
30039
|
-
"required": false,
|
|
30040
|
-
"description": "Connect to a specific Pane data directory."
|
|
30041
|
-
}
|
|
30042
|
-
],
|
|
30043
|
-
"examples": [
|
|
30044
|
-
"runpane profiles list --json"
|
|
30045
|
-
],
|
|
30046
|
-
"jsonSchemas": [
|
|
30047
|
-
"profileListResult"
|
|
30048
|
-
],
|
|
30049
|
-
"notes": [
|
|
30050
|
-
"Launch a profile whose launchable is true with `runpane profiles launch <name> --prompt <text> --yes`; one with no flow, an invalid one, or any while Profiles is off is refused."
|
|
30051
|
-
]
|
|
30052
|
-
},
|
|
30053
|
-
"profiles show": {
|
|
30054
|
-
"name": "profiles show",
|
|
30055
|
-
"summary": "Show one profile: its agents, its workflow's steps and outcomes, its errors, and its file.",
|
|
30056
|
-
"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.",
|
|
30057
|
-
"requiresPaneDaemon": true,
|
|
30058
|
-
"mutates": false,
|
|
30059
|
-
"arguments": [
|
|
30060
|
-
{
|
|
30061
|
-
"name": "<name>",
|
|
30062
|
-
"required": true,
|
|
30063
|
-
"description": "The profile's name, from `runpane profiles list`."
|
|
30064
|
-
},
|
|
30065
|
-
{
|
|
30066
|
-
"name": "--yaml",
|
|
30067
|
-
"required": false,
|
|
30068
|
-
"description": "Print the profile's file text only (CLI only)."
|
|
30069
|
-
},
|
|
30070
|
-
{
|
|
30071
|
-
"name": "--json",
|
|
30072
|
-
"required": false,
|
|
30073
|
-
"description": "Print machine-readable output."
|
|
30074
|
-
},
|
|
30075
|
-
{
|
|
30076
|
-
"name": "--pane-dir",
|
|
30077
|
-
"value": "<path>",
|
|
30078
|
-
"required": false,
|
|
30079
|
-
"description": "Connect to a specific Pane data directory."
|
|
30080
|
-
}
|
|
30081
|
-
],
|
|
30082
|
-
"examples": [
|
|
30083
|
-
"runpane profiles show greenfield --json",
|
|
30084
|
-
"runpane profiles show greenfield --yaml"
|
|
30085
|
-
],
|
|
30086
|
-
"jsonSchemas": [
|
|
30087
|
-
"profileShowResult"
|
|
30088
|
-
],
|
|
30089
|
-
"notes": [
|
|
30090
|
-
"A name not in the library fails with PROFILE_NOT_FOUND; see names with `runpane profiles list`."
|
|
30091
|
-
]
|
|
30092
|
-
},
|
|
30093
|
-
"profiles launch": {
|
|
30094
|
-
"name": "profiles launch",
|
|
30095
|
-
"summary": "Launch a profile: Pane runs its workflow step by step, the first step in a new Pane of a Session.",
|
|
30096
|
-
"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.",
|
|
30097
|
-
"requiresPaneDaemon": true,
|
|
30098
|
-
"mutates": true,
|
|
30099
|
-
"arguments": [
|
|
30100
|
-
{
|
|
30101
|
-
"name": "<name>",
|
|
30102
|
-
"required": true,
|
|
30103
|
-
"description": "The profile's name, from `runpane profiles list`."
|
|
30104
|
-
},
|
|
30105
|
-
{
|
|
30106
|
-
"name": "--prompt",
|
|
30107
|
-
"value": "<text>",
|
|
30108
|
-
"required": true,
|
|
30109
|
-
"description": "What the person wants done: the first agent step's request."
|
|
30110
|
-
},
|
|
30111
|
-
{
|
|
30112
|
-
"name": "--repo",
|
|
30113
|
-
"value": "<selector>",
|
|
30114
|
-
"required": false,
|
|
30115
|
-
"description": "Repository: active, id, exact path, or saved name. Defaults to the repo of the Pane the caller runs in, else the active repo."
|
|
30116
|
-
},
|
|
30117
|
-
{
|
|
30118
|
-
"name": "--session",
|
|
30119
|
-
"value": "<id|name>",
|
|
30120
|
-
"required": false,
|
|
30121
|
-
"description": "An existing Session to run in. Defaults to the caller's orchestrated Session (PANE_ORCHESTRATION_SESSION_ID); otherwise Pane makes a new Session."
|
|
30122
|
-
},
|
|
30123
|
-
{
|
|
30124
|
-
"name": "--harness",
|
|
30125
|
-
"value": "<cli[/model]>",
|
|
30126
|
-
"required": false,
|
|
30127
|
-
"description": "One CLI (`cli` or `cli/model`) for every agent, over the file's runs."
|
|
30128
|
-
},
|
|
30129
|
-
{
|
|
30130
|
-
"name": "--agent-harness",
|
|
30131
|
-
"value": "<agent>=<cli[/model]>",
|
|
30132
|
-
"required": false,
|
|
30133
|
-
"description": "Agent id → the CLI (`cli` or `cli/model`) that agent runs, over the file's runs and --harness.",
|
|
30134
|
-
"schema": {
|
|
30135
|
-
"type": "object",
|
|
30136
|
-
"additionalProperties": {
|
|
30137
|
-
"type": "string",
|
|
30138
|
-
"minLength": 1
|
|
30139
|
-
}
|
|
30140
|
-
}
|
|
30141
|
-
},
|
|
30142
|
-
{
|
|
30143
|
-
"name": "--command",
|
|
30144
|
-
"value": "<cli>=<command>",
|
|
30145
|
-
"required": false,
|
|
30146
|
-
"description": "A CLI Pane doesn't know → the command that starts it.",
|
|
30147
|
-
"schema": {
|
|
30148
|
-
"type": "object",
|
|
30149
|
-
"additionalProperties": {
|
|
30150
|
-
"type": "string",
|
|
30151
|
-
"minLength": 1
|
|
30152
|
-
}
|
|
30153
|
-
}
|
|
30154
|
-
},
|
|
30155
|
-
{
|
|
30156
|
-
"name": "--yes",
|
|
30157
|
-
"required": true,
|
|
30158
|
-
"description": "Confirm the launch."
|
|
30159
|
-
},
|
|
30160
|
-
{
|
|
30161
|
-
"name": "--json",
|
|
30162
|
-
"required": false,
|
|
30163
|
-
"description": "Print machine-readable output."
|
|
30164
|
-
},
|
|
30165
|
-
{
|
|
30166
|
-
"name": "--pane-dir",
|
|
30167
|
-
"value": "<path>",
|
|
30168
|
-
"required": false,
|
|
30169
|
-
"description": "Connect to a specific Pane data directory."
|
|
30170
|
-
}
|
|
30171
|
-
],
|
|
30172
|
-
"examples": [
|
|
30173
|
-
"runpane profiles launch greenfield --prompt \"Add dark mode to settings\" --yes --json",
|
|
30174
|
-
"runpane profiles launch greenfield --prompt \"Fix the flaky test\" --repo active --agent-harness planner=claude/opus --agent-harness implementer=codex --yes --json"
|
|
30175
|
-
],
|
|
30176
|
-
"jsonSchemas": [
|
|
30177
|
-
"profileLaunchRequest",
|
|
30178
|
-
"profileLaunchResult"
|
|
30179
|
-
],
|
|
30180
|
-
"notes": [
|
|
30181
|
-
"A launch without --prompt fails with ERR_PROFILES_PROMPT_REQUIRED and starts nothing.",
|
|
30182
|
-
"Pane refuses a profile it cannot launch: PROFILE_NOT_FOUND (no such profile), PROFILES_OFF (Profiles is off in Settings › Advanced), PROFILE_TEAM_ONLY (no flow) or PROFILE_NOT_LAUNCHABLE (invalid, or off); the error's next says what to do.",
|
|
30183
|
-
"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.",
|
|
30184
|
-
"Follow the run with `runpane profiles runs --json`; its steps are tabs in the run's Pane (`runpane agents status --pane <paneId>`)."
|
|
30185
|
-
]
|
|
30186
|
-
},
|
|
30187
|
-
"profiles runs": {
|
|
30188
|
-
"name": "profiles runs",
|
|
30189
|
-
"summary": "List profile runs: each run's profile, state and current step.",
|
|
30190
|
-
"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.",
|
|
30191
|
-
"requiresPaneDaemon": true,
|
|
30192
|
-
"mutates": false,
|
|
30193
|
-
"arguments": [
|
|
30194
|
-
{
|
|
30195
|
-
"name": "--json",
|
|
30196
|
-
"required": false,
|
|
30197
|
-
"description": "Print machine-readable output."
|
|
30198
|
-
},
|
|
30199
|
-
{
|
|
30200
|
-
"name": "--pane-dir",
|
|
30201
|
-
"value": "<path>",
|
|
30202
|
-
"required": false,
|
|
30203
|
-
"description": "Connect to a specific Pane data directory."
|
|
30204
|
-
}
|
|
30205
|
-
],
|
|
30206
|
-
"examples": [
|
|
30207
|
-
"runpane profiles runs --json"
|
|
30208
|
-
],
|
|
30209
|
-
"jsonSchemas": [
|
|
30210
|
-
"profileRunsResult"
|
|
30211
|
-
],
|
|
30212
|
-
"notes": [
|
|
30213
|
-
"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>`."
|
|
30214
|
-
]
|
|
30215
|
-
},
|
|
30216
29309
|
"notify": {
|
|
30217
29310
|
"name": "notify",
|
|
30218
29311
|
"summary": "Ask the person a question, or tell them something, wherever they are, and get their answer back.",
|
|
@@ -32876,7 +31969,6 @@ const CONTRACT_SECTION_17 = {
|
|
|
32876
31969
|
"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`).",
|
|
32877
31970
|
"",
|
|
32878
31971
|
"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.",
|
|
32879
|
-
"Profiles: a profile is a team of agents and a fixed workflow in one file. Once Profiles is on (Settings › Advanced › Profiles), `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.",
|
|
32880
31972
|
"",
|
|
32881
31973
|
"CLI: `npm i -g runpane` (or `npx --yes runpane@latest`), then `runpane doctor --json`. Full command reference: `runpane agent-context --json`.",
|
|
32882
31974
|
"",
|