runpane 2.3.1 → 2.3.2
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/dist/agentContext.d.ts +23 -0
- package/dist/agentContext.d.ts.map +1 -0
- package/dist/agentContext.js +100 -0
- package/dist/agentContext.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +4 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts +1 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +9 -0
- package/dist/commands.js.map +1 -1
- package/dist/generated/contract.d.ts +398 -7
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +609 -1
- package/dist/generated/contract.js.map +1 -1
- package/package.json +1 -1
|
@@ -116,6 +116,18 @@ exports.RUNPANE_CONTRACT = {
|
|
|
116
116
|
"runpane doctor"
|
|
117
117
|
]
|
|
118
118
|
},
|
|
119
|
+
{
|
|
120
|
+
"name": "agent-context",
|
|
121
|
+
"summary": "Print token-efficient Pane command context for coding agents.",
|
|
122
|
+
"usage": [
|
|
123
|
+
"runpane agent-context [--json]",
|
|
124
|
+
"runpane agent-context --command <command> [--json]"
|
|
125
|
+
],
|
|
126
|
+
"jsonSchemas": [
|
|
127
|
+
"agentContextBriefResult",
|
|
128
|
+
"agentContextCommandResult"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
119
131
|
{
|
|
120
132
|
"name": "repos list",
|
|
121
133
|
"summary": "List repositories saved in the running Pane app.",
|
|
@@ -328,6 +340,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
328
340
|
" runpane update [options]",
|
|
329
341
|
" runpane version",
|
|
330
342
|
" runpane doctor",
|
|
343
|
+
" runpane agent-context [--json]",
|
|
331
344
|
" runpane repos list [--json]",
|
|
332
345
|
" runpane repos add --path <path> [--name <name>]",
|
|
333
346
|
" runpane panes create --repo <selector> --name <name> --agent <codex|claude>",
|
|
@@ -343,6 +356,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
343
356
|
" pnpm dlx runpane@latest",
|
|
344
357
|
" pipx run runpane",
|
|
345
358
|
"",
|
|
359
|
+
"Run \"runpane agent-context\" when an agent needs Pane command context.",
|
|
346
360
|
"Run \"runpane help panes create\" for pane orchestration options."
|
|
347
361
|
],
|
|
348
362
|
"install": [
|
|
@@ -459,6 +473,23 @@ exports.RUNPANE_CONTRACT = {
|
|
|
459
473
|
" --json Print machine-readable output",
|
|
460
474
|
" --dry-run Validate and preview without creating panes",
|
|
461
475
|
" --yes Skip confirmation for mutating commands"
|
|
476
|
+
],
|
|
477
|
+
"agent-context": [
|
|
478
|
+
"Usage:",
|
|
479
|
+
" runpane agent-context [--json]",
|
|
480
|
+
" runpane agent-context --command <command> [--json]",
|
|
481
|
+
"",
|
|
482
|
+
"Prints Pane command context for coding agents without requiring a running Pane app.",
|
|
483
|
+
"",
|
|
484
|
+
"Options:",
|
|
485
|
+
" --command <command> Print the full definition for one runpane command",
|
|
486
|
+
" --json Print machine-readable output",
|
|
487
|
+
"",
|
|
488
|
+
"Examples:",
|
|
489
|
+
" runpane agent-context",
|
|
490
|
+
" runpane agent-context --json",
|
|
491
|
+
" runpane agent-context --command \"panes create\"",
|
|
492
|
+
" runpane agent-context --command \"panes create\" --json"
|
|
462
493
|
]
|
|
463
494
|
},
|
|
464
495
|
"pip": {
|
|
@@ -470,6 +501,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
470
501
|
" runpane update [options]",
|
|
471
502
|
" runpane version",
|
|
472
503
|
" runpane doctor",
|
|
504
|
+
" runpane agent-context [--json]",
|
|
473
505
|
" runpane repos list [--json]",
|
|
474
506
|
" runpane repos add --path <path> [--name <name>]",
|
|
475
507
|
" runpane panes create --repo <selector> --name <name> --agent <codex|claude>",
|
|
@@ -484,6 +516,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
484
516
|
" pipx run runpane install daemon --label \"My Server\"",
|
|
485
517
|
" uvx runpane@latest",
|
|
486
518
|
"",
|
|
519
|
+
"Run \"runpane agent-context\" when an agent needs Pane command context.",
|
|
487
520
|
"Run \"runpane help panes create\" for pane orchestration options."
|
|
488
521
|
],
|
|
489
522
|
"install": [
|
|
@@ -589,6 +622,23 @@ exports.RUNPANE_CONTRACT = {
|
|
|
589
622
|
" --json",
|
|
590
623
|
" --dry-run",
|
|
591
624
|
" --yes"
|
|
625
|
+
],
|
|
626
|
+
"agent-context": [
|
|
627
|
+
"Usage:",
|
|
628
|
+
" runpane agent-context [--json]",
|
|
629
|
+
" runpane agent-context --command <command> [--json]",
|
|
630
|
+
"",
|
|
631
|
+
"Prints Pane command context for coding agents without requiring a running Pane app.",
|
|
632
|
+
"",
|
|
633
|
+
"Options:",
|
|
634
|
+
" --command <command>",
|
|
635
|
+
" --json",
|
|
636
|
+
"",
|
|
637
|
+
"Examples:",
|
|
638
|
+
" runpane agent-context",
|
|
639
|
+
" runpane agent-context --json",
|
|
640
|
+
" runpane agent-context --command \"panes create\"",
|
|
641
|
+
" runpane agent-context --command \"panes create\" --json"
|
|
592
642
|
]
|
|
593
643
|
}
|
|
594
644
|
},
|
|
@@ -654,6 +704,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
654
704
|
"runpane update",
|
|
655
705
|
"runpane version",
|
|
656
706
|
"runpane doctor",
|
|
707
|
+
"runpane agent-context",
|
|
708
|
+
"runpane agent-context --command \"panes create\" --json",
|
|
657
709
|
"runpane repos list --json",
|
|
658
710
|
"runpane repos add --path /path/to/repo --name Pane --yes --json",
|
|
659
711
|
"runpane panes create --repo active --name issue-252 --agent codex --prompt \"Kick off the discussion skill for issue 252\" --yes",
|
|
@@ -670,13 +722,15 @@ exports.RUNPANE_CONTRACT = {
|
|
|
670
722
|
"`runpane update` uses the same release resolution and installer path as `install client`.",
|
|
671
723
|
"`runpane version` prints the wrapper package version, the installed Pane version when detectable, and the latest GitHub release version when reachable.",
|
|
672
724
|
"`runpane doctor` checks platform support, release metadata reachability, download URL selection, installed Pane detection, and remote-daemon hints.",
|
|
725
|
+
"`runpane agent-context` prints a brief, token-efficient command schema for coding agents without connecting to the Pane daemon.",
|
|
726
|
+
"`runpane agent-context --command \"panes create\"` prints the detailed definition for one command. Add `--json` for machine-readable output.",
|
|
673
727
|
"`runpane repos list` connects to the running local Pane daemon and prints saved repository records.",
|
|
674
728
|
"`runpane repos add` registers an existing git repository with the running local Pane daemon. It does not create directories or initialize git repositories by default.",
|
|
675
729
|
"`runpane panes create` connects to the running local Pane daemon, resolves the requested repository, creates Pane sessions, opens terminal-backed tool tabs, and optionally sends initial input to the started tool.",
|
|
676
730
|
"`runpane panes create --prompt` is an alias for `--initial-input`; request JSON and daemon payloads should use the canonical `initialInput` field."
|
|
677
731
|
],
|
|
678
732
|
"wrapperFlagNote": "The top-level `runpane --version` form prints the wrapper version. The install subcommand form `runpane install --version vX.Y.Z` selects a Pane release.",
|
|
679
|
-
"localControlFlagNote": "`runpane repos list` and `runpane panes create` use the local framed daemon socket/pipe for a running Pane app. `--pane-dir` points the wrapper at a non-default Pane data directory, such as `PANE_DIR=~/.pane_test` in development.",
|
|
733
|
+
"localControlFlagNote": "`runpane repos list` and `runpane panes create` use the local framed daemon socket/pipe for a running Pane app. `--pane-dir` points the wrapper at a non-default Pane data directory, such as `PANE_DIR=~/.pane_test` in development. `runpane agent-context` is local/offline and can be used before Pane is running.",
|
|
680
734
|
"daemonFlagNote": "Unknown daemon flags should be forwarded rather than dropped so newer Pane versions can extend `--remote-setup` without requiring an immediate wrapper release. Unknown flags for non-daemon commands should fail clearly.",
|
|
681
735
|
"downloadAttribution": [
|
|
682
736
|
"The npm package uses `source=npm` for all npm-registry consumers, including `npx`, `pnpm dlx`, `yarn dlx`, `bunx`, and global npm/pnpm installs.",
|
|
@@ -752,6 +806,15 @@ exports.RUNPANE_CONTRACT = {
|
|
|
752
806
|
"zip",
|
|
753
807
|
"--verbose"
|
|
754
808
|
],
|
|
809
|
+
[
|
|
810
|
+
"agent-context"
|
|
811
|
+
],
|
|
812
|
+
[
|
|
813
|
+
"agent-context",
|
|
814
|
+
"--command",
|
|
815
|
+
"panes create",
|
|
816
|
+
"--json"
|
|
817
|
+
],
|
|
755
818
|
[
|
|
756
819
|
"repos",
|
|
757
820
|
"list",
|
|
@@ -805,6 +868,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
805
868
|
"runpane update",
|
|
806
869
|
"runpane version",
|
|
807
870
|
"runpane doctor",
|
|
871
|
+
"runpane agent-context",
|
|
808
872
|
"runpane repos list",
|
|
809
873
|
"runpane repos add",
|
|
810
874
|
"runpane panes create"
|
|
@@ -1192,7 +1256,551 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1192
1256
|
}
|
|
1193
1257
|
},
|
|
1194
1258
|
"additionalProperties": false
|
|
1259
|
+
},
|
|
1260
|
+
"agentContextBriefResult": {
|
|
1261
|
+
"type": "object",
|
|
1262
|
+
"required": [
|
|
1263
|
+
"ok",
|
|
1264
|
+
"mode",
|
|
1265
|
+
"source",
|
|
1266
|
+
"summary",
|
|
1267
|
+
"rules",
|
|
1268
|
+
"tools",
|
|
1269
|
+
"detailCommand"
|
|
1270
|
+
],
|
|
1271
|
+
"properties": {
|
|
1272
|
+
"ok": {
|
|
1273
|
+
"const": true
|
|
1274
|
+
},
|
|
1275
|
+
"mode": {
|
|
1276
|
+
"const": "brief"
|
|
1277
|
+
},
|
|
1278
|
+
"source": {
|
|
1279
|
+
"const": "runpane-contract"
|
|
1280
|
+
},
|
|
1281
|
+
"summary": {
|
|
1282
|
+
"type": "string"
|
|
1283
|
+
},
|
|
1284
|
+
"rules": {
|
|
1285
|
+
"type": "array",
|
|
1286
|
+
"items": {
|
|
1287
|
+
"type": "string"
|
|
1288
|
+
}
|
|
1289
|
+
},
|
|
1290
|
+
"tools": {
|
|
1291
|
+
"type": "array",
|
|
1292
|
+
"items": {
|
|
1293
|
+
"type": "object",
|
|
1294
|
+
"required": [
|
|
1295
|
+
"name",
|
|
1296
|
+
"summary",
|
|
1297
|
+
"arguments"
|
|
1298
|
+
],
|
|
1299
|
+
"properties": {
|
|
1300
|
+
"name": {
|
|
1301
|
+
"type": "string"
|
|
1302
|
+
},
|
|
1303
|
+
"summary": {
|
|
1304
|
+
"type": "string"
|
|
1305
|
+
},
|
|
1306
|
+
"arguments": {
|
|
1307
|
+
"type": "array",
|
|
1308
|
+
"items": {
|
|
1309
|
+
"type": "string"
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
},
|
|
1313
|
+
"additionalProperties": false
|
|
1314
|
+
}
|
|
1315
|
+
},
|
|
1316
|
+
"detailCommand": {
|
|
1317
|
+
"type": "string"
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
"additionalProperties": false
|
|
1321
|
+
},
|
|
1322
|
+
"agentContextCommandResult": {
|
|
1323
|
+
"type": "object",
|
|
1324
|
+
"required": [
|
|
1325
|
+
"ok",
|
|
1326
|
+
"mode",
|
|
1327
|
+
"source",
|
|
1328
|
+
"command"
|
|
1329
|
+
],
|
|
1330
|
+
"properties": {
|
|
1331
|
+
"ok": {
|
|
1332
|
+
"const": true
|
|
1333
|
+
},
|
|
1334
|
+
"mode": {
|
|
1335
|
+
"const": "command"
|
|
1336
|
+
},
|
|
1337
|
+
"source": {
|
|
1338
|
+
"const": "runpane-contract"
|
|
1339
|
+
},
|
|
1340
|
+
"command": {
|
|
1341
|
+
"type": "object",
|
|
1342
|
+
"required": [
|
|
1343
|
+
"name",
|
|
1344
|
+
"summary",
|
|
1345
|
+
"details",
|
|
1346
|
+
"arguments",
|
|
1347
|
+
"examples"
|
|
1348
|
+
],
|
|
1349
|
+
"properties": {
|
|
1350
|
+
"name": {
|
|
1351
|
+
"type": "string"
|
|
1352
|
+
},
|
|
1353
|
+
"summary": {
|
|
1354
|
+
"type": "string"
|
|
1355
|
+
},
|
|
1356
|
+
"details": {
|
|
1357
|
+
"type": "string"
|
|
1358
|
+
},
|
|
1359
|
+
"requiresPaneDaemon": {
|
|
1360
|
+
"type": "boolean"
|
|
1361
|
+
},
|
|
1362
|
+
"mutates": {
|
|
1363
|
+
"type": "boolean"
|
|
1364
|
+
},
|
|
1365
|
+
"arguments": {
|
|
1366
|
+
"type": "array",
|
|
1367
|
+
"items": {
|
|
1368
|
+
"type": "object"
|
|
1369
|
+
}
|
|
1370
|
+
},
|
|
1371
|
+
"examples": {
|
|
1372
|
+
"type": "array",
|
|
1373
|
+
"items": {
|
|
1374
|
+
"type": "string"
|
|
1375
|
+
}
|
|
1376
|
+
},
|
|
1377
|
+
"jsonSchemas": {
|
|
1378
|
+
"type": "array",
|
|
1379
|
+
"items": {
|
|
1380
|
+
"type": "string"
|
|
1381
|
+
}
|
|
1382
|
+
},
|
|
1383
|
+
"notes": {
|
|
1384
|
+
"type": "array",
|
|
1385
|
+
"items": {
|
|
1386
|
+
"type": "string"
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
},
|
|
1390
|
+
"additionalProperties": false
|
|
1391
|
+
}
|
|
1392
|
+
},
|
|
1393
|
+
"additionalProperties": false
|
|
1195
1394
|
}
|
|
1395
|
+
},
|
|
1396
|
+
"agentContext": {
|
|
1397
|
+
"brief": {
|
|
1398
|
+
"title": "Pane agent context",
|
|
1399
|
+
"summary": "Pane lets a developer manage repositories and user-visible panes. Agents can use runpane to list/add Pane repositories and create panes with terminal-backed tools.",
|
|
1400
|
+
"rules": [
|
|
1401
|
+
"Start with `runpane repos list --json` to find the saved repository when unsure.",
|
|
1402
|
+
"If the repository exists on disk but is not saved in Pane, use `runpane repos add --path <repo> --yes --json` before creating panes.",
|
|
1403
|
+
"Use `runpane panes create` to create a Pane session and open a built-in agent or custom terminal command.",
|
|
1404
|
+
"Use `runpane agent-context --command <command>` for detailed command definitions only when needed."
|
|
1405
|
+
],
|
|
1406
|
+
"detailCommand": "runpane agent-context --command <command> [--json]",
|
|
1407
|
+
"tools": [
|
|
1408
|
+
{
|
|
1409
|
+
"name": "agent-context",
|
|
1410
|
+
"summary": "Print token-efficient Pane command context for coding agents.",
|
|
1411
|
+
"arguments": [
|
|
1412
|
+
"--command <command>",
|
|
1413
|
+
"--json"
|
|
1414
|
+
]
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"name": "repos list",
|
|
1418
|
+
"summary": "List repositories saved in the running Pane app.",
|
|
1419
|
+
"arguments": [
|
|
1420
|
+
"--json",
|
|
1421
|
+
"--pane-dir <path>"
|
|
1422
|
+
]
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
"name": "repos add",
|
|
1426
|
+
"summary": "Register an existing git repository with the running Pane app.",
|
|
1427
|
+
"arguments": [
|
|
1428
|
+
"--path <path>",
|
|
1429
|
+
"--name <name>",
|
|
1430
|
+
"--yes",
|
|
1431
|
+
"--json",
|
|
1432
|
+
"--dry-run",
|
|
1433
|
+
"--pane-dir <path>"
|
|
1434
|
+
]
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
"name": "panes create",
|
|
1438
|
+
"summary": "Create one or more Pane sessions in a saved repository and open a terminal-backed tool tab.",
|
|
1439
|
+
"arguments": [
|
|
1440
|
+
"--repo <selector>",
|
|
1441
|
+
"--name <name>",
|
|
1442
|
+
"--agent <codex|claude>",
|
|
1443
|
+
"--tool-command <command>",
|
|
1444
|
+
"--prompt <text>",
|
|
1445
|
+
"--from-json <path|->",
|
|
1446
|
+
"--yes",
|
|
1447
|
+
"--json"
|
|
1448
|
+
]
|
|
1449
|
+
}
|
|
1450
|
+
]
|
|
1451
|
+
},
|
|
1452
|
+
"commands": {
|
|
1453
|
+
"help": {
|
|
1454
|
+
"name": "help",
|
|
1455
|
+
"summary": "Show help for runpane or a specific command.",
|
|
1456
|
+
"details": "Use this when you need human-readable usage text for a command.",
|
|
1457
|
+
"requiresPaneDaemon": false,
|
|
1458
|
+
"mutates": false,
|
|
1459
|
+
"arguments": [
|
|
1460
|
+
{
|
|
1461
|
+
"name": "command",
|
|
1462
|
+
"value": "<command>",
|
|
1463
|
+
"required": false,
|
|
1464
|
+
"description": "Optional command topic such as \"panes create\"."
|
|
1465
|
+
}
|
|
1466
|
+
],
|
|
1467
|
+
"examples": [
|
|
1468
|
+
"runpane help",
|
|
1469
|
+
"runpane help panes create"
|
|
1470
|
+
],
|
|
1471
|
+
"notes": [
|
|
1472
|
+
"Help text is generated from the runpane contract."
|
|
1473
|
+
]
|
|
1474
|
+
},
|
|
1475
|
+
"setup": {
|
|
1476
|
+
"name": "setup",
|
|
1477
|
+
"summary": "Open the guided setup wizard for install, remote host setup, update, and diagnostics.",
|
|
1478
|
+
"details": "Use this for a human-driven Pane setup flow, not for unattended agent orchestration.",
|
|
1479
|
+
"requiresPaneDaemon": false,
|
|
1480
|
+
"mutates": false,
|
|
1481
|
+
"arguments": [],
|
|
1482
|
+
"examples": [
|
|
1483
|
+
"runpane setup"
|
|
1484
|
+
],
|
|
1485
|
+
"notes": [
|
|
1486
|
+
"In non-interactive shells, setup prints help and exits successfully."
|
|
1487
|
+
]
|
|
1488
|
+
},
|
|
1489
|
+
"install": {
|
|
1490
|
+
"name": "install",
|
|
1491
|
+
"summary": "Install Pane on this machine or configure this machine as a remote daemon host.",
|
|
1492
|
+
"details": "Installs or launches Pane release artifacts at command runtime. `install daemon` forwards remote setup flags to Pane.",
|
|
1493
|
+
"requiresPaneDaemon": false,
|
|
1494
|
+
"mutates": true,
|
|
1495
|
+
"arguments": [
|
|
1496
|
+
{
|
|
1497
|
+
"name": "target",
|
|
1498
|
+
"value": "<client|daemon>",
|
|
1499
|
+
"required": false,
|
|
1500
|
+
"description": "Install the desktop client or configure a remote daemon host."
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"name": "--version",
|
|
1504
|
+
"value": "<latest|vX.Y.Z>",
|
|
1505
|
+
"required": false,
|
|
1506
|
+
"description": "Pane release to install."
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
"name": "--format",
|
|
1510
|
+
"value": "<auto|appimage|deb|dmg|zip|exe>",
|
|
1511
|
+
"required": false,
|
|
1512
|
+
"description": "Release artifact format."
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
"name": "--yes",
|
|
1516
|
+
"required": false,
|
|
1517
|
+
"description": "Skip interactive prompts where possible."
|
|
1518
|
+
}
|
|
1519
|
+
],
|
|
1520
|
+
"examples": [
|
|
1521
|
+
"runpane install client",
|
|
1522
|
+
"runpane install daemon --label \"My Server\""
|
|
1523
|
+
],
|
|
1524
|
+
"notes": [
|
|
1525
|
+
"Package install itself is inert; work begins only when runpane is executed."
|
|
1526
|
+
]
|
|
1527
|
+
},
|
|
1528
|
+
"update": {
|
|
1529
|
+
"name": "update",
|
|
1530
|
+
"summary": "Update the Pane desktop app using the same artifact path as install client.",
|
|
1531
|
+
"details": "Resolves and installs the selected Pane client release.",
|
|
1532
|
+
"requiresPaneDaemon": false,
|
|
1533
|
+
"mutates": true,
|
|
1534
|
+
"arguments": [
|
|
1535
|
+
{
|
|
1536
|
+
"name": "--version",
|
|
1537
|
+
"value": "<latest|vX.Y.Z>",
|
|
1538
|
+
"required": false,
|
|
1539
|
+
"description": "Pane release to update to."
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"name": "--format",
|
|
1543
|
+
"value": "<auto|appimage|deb|dmg|zip|exe>",
|
|
1544
|
+
"required": false,
|
|
1545
|
+
"description": "Release artifact format."
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"name": "--dry-run",
|
|
1549
|
+
"required": false,
|
|
1550
|
+
"description": "Print the update plan without downloading."
|
|
1551
|
+
}
|
|
1552
|
+
],
|
|
1553
|
+
"examples": [
|
|
1554
|
+
"runpane update",
|
|
1555
|
+
"runpane update --version latest"
|
|
1556
|
+
],
|
|
1557
|
+
"notes": [
|
|
1558
|
+
"Equivalent artifact selection to `runpane install client`."
|
|
1559
|
+
]
|
|
1560
|
+
},
|
|
1561
|
+
"version": {
|
|
1562
|
+
"name": "version",
|
|
1563
|
+
"summary": "Print the runpane wrapper version and installed Pane version when detectable.",
|
|
1564
|
+
"details": "Use this for diagnostics or to confirm which wrapper is available.",
|
|
1565
|
+
"requiresPaneDaemon": false,
|
|
1566
|
+
"mutates": false,
|
|
1567
|
+
"arguments": [
|
|
1568
|
+
{
|
|
1569
|
+
"name": "--pane-path",
|
|
1570
|
+
"value": "<path>",
|
|
1571
|
+
"required": false,
|
|
1572
|
+
"description": "Inspect a specific Pane executable."
|
|
1573
|
+
}
|
|
1574
|
+
],
|
|
1575
|
+
"examples": [
|
|
1576
|
+
"runpane version",
|
|
1577
|
+
"runpane --version"
|
|
1578
|
+
],
|
|
1579
|
+
"notes": []
|
|
1580
|
+
},
|
|
1581
|
+
"doctor": {
|
|
1582
|
+
"name": "doctor",
|
|
1583
|
+
"summary": "Run platform, release, installed Pane, and remote setup diagnostics.",
|
|
1584
|
+
"details": "Use this when runpane install/update behavior needs environment diagnostics.",
|
|
1585
|
+
"requiresPaneDaemon": false,
|
|
1586
|
+
"mutates": false,
|
|
1587
|
+
"arguments": [
|
|
1588
|
+
{
|
|
1589
|
+
"name": "--pane-path",
|
|
1590
|
+
"value": "<path>",
|
|
1591
|
+
"required": false,
|
|
1592
|
+
"description": "Use an existing Pane executable for diagnostics."
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"name": "--verbose",
|
|
1596
|
+
"required": false,
|
|
1597
|
+
"description": "Print extra diagnostics."
|
|
1598
|
+
}
|
|
1599
|
+
],
|
|
1600
|
+
"examples": [
|
|
1601
|
+
"runpane doctor",
|
|
1602
|
+
"runpane doctor --verbose"
|
|
1603
|
+
],
|
|
1604
|
+
"notes": []
|
|
1605
|
+
},
|
|
1606
|
+
"agent-context": {
|
|
1607
|
+
"name": "agent-context",
|
|
1608
|
+
"summary": "Print token-efficient Pane command context for coding agents.",
|
|
1609
|
+
"details": "Use this first when an agent needs to discover Pane primitives. It is local/offline and does not require a running Pane app.",
|
|
1610
|
+
"requiresPaneDaemon": false,
|
|
1611
|
+
"mutates": false,
|
|
1612
|
+
"arguments": [
|
|
1613
|
+
{
|
|
1614
|
+
"name": "--command",
|
|
1615
|
+
"value": "<command>",
|
|
1616
|
+
"required": false,
|
|
1617
|
+
"description": "Print the detailed definition for one command, for example \"panes create\"."
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
"name": "--json",
|
|
1621
|
+
"required": false,
|
|
1622
|
+
"description": "Print machine-readable output."
|
|
1623
|
+
}
|
|
1624
|
+
],
|
|
1625
|
+
"examples": [
|
|
1626
|
+
"runpane agent-context",
|
|
1627
|
+
"runpane agent-context --command \"panes create\" --json"
|
|
1628
|
+
],
|
|
1629
|
+
"jsonSchemas": [
|
|
1630
|
+
"agentContextBriefResult",
|
|
1631
|
+
"agentContextCommandResult"
|
|
1632
|
+
],
|
|
1633
|
+
"notes": [
|
|
1634
|
+
"Default output is brief so AGENTS.md can point here without bloating context."
|
|
1635
|
+
]
|
|
1636
|
+
},
|
|
1637
|
+
"repos list": {
|
|
1638
|
+
"name": "repos list",
|
|
1639
|
+
"summary": "List repositories saved in the running Pane app.",
|
|
1640
|
+
"details": "Use this to find the right Pane-managed repository before creating panes. If the repo is missing, use `repos add` first.",
|
|
1641
|
+
"requiresPaneDaemon": true,
|
|
1642
|
+
"mutates": false,
|
|
1643
|
+
"arguments": [
|
|
1644
|
+
{
|
|
1645
|
+
"name": "--json",
|
|
1646
|
+
"required": false,
|
|
1647
|
+
"description": "Print machine-readable repository records."
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"name": "--pane-dir",
|
|
1651
|
+
"value": "<path>",
|
|
1652
|
+
"required": false,
|
|
1653
|
+
"description": "Connect to a specific Pane data directory."
|
|
1654
|
+
}
|
|
1655
|
+
],
|
|
1656
|
+
"examples": [
|
|
1657
|
+
"runpane repos list --json"
|
|
1658
|
+
],
|
|
1659
|
+
"jsonSchemas": [
|
|
1660
|
+
"repoListResult"
|
|
1661
|
+
],
|
|
1662
|
+
"notes": [
|
|
1663
|
+
"Requires a running Pane app or daemon for the selected Pane data directory."
|
|
1664
|
+
]
|
|
1665
|
+
},
|
|
1666
|
+
"repos add": {
|
|
1667
|
+
"name": "repos add",
|
|
1668
|
+
"summary": "Register an existing git repository with the running Pane app.",
|
|
1669
|
+
"details": "Use this when the repository exists on disk but is not saved in Pane yet. It validates the path as a git repository.",
|
|
1670
|
+
"requiresPaneDaemon": true,
|
|
1671
|
+
"mutates": true,
|
|
1672
|
+
"arguments": [
|
|
1673
|
+
{
|
|
1674
|
+
"name": "--path",
|
|
1675
|
+
"value": "<path>",
|
|
1676
|
+
"required": true,
|
|
1677
|
+
"description": "Existing git repository path to register with Pane."
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"name": "--name",
|
|
1681
|
+
"value": "<name>",
|
|
1682
|
+
"required": false,
|
|
1683
|
+
"description": "Saved repository name; defaults to the directory name."
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"name": "--yes",
|
|
1687
|
+
"required": false,
|
|
1688
|
+
"description": "Skip confirmation for mutating commands."
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"name": "--json",
|
|
1692
|
+
"required": false,
|
|
1693
|
+
"description": "Print machine-readable output."
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"name": "--dry-run",
|
|
1697
|
+
"required": false,
|
|
1698
|
+
"description": "Validate and preview without adding the repo."
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
"name": "--pane-dir",
|
|
1702
|
+
"value": "<path>",
|
|
1703
|
+
"required": false,
|
|
1704
|
+
"description": "Connect to a specific Pane data directory."
|
|
1705
|
+
}
|
|
1706
|
+
],
|
|
1707
|
+
"examples": [
|
|
1708
|
+
"runpane repos add --path /path/to/repo --yes --json"
|
|
1709
|
+
],
|
|
1710
|
+
"jsonSchemas": [
|
|
1711
|
+
"repoAddRequest",
|
|
1712
|
+
"repoAddResult"
|
|
1713
|
+
],
|
|
1714
|
+
"notes": [
|
|
1715
|
+
"It does not create directories or initialize git repositories by default."
|
|
1716
|
+
]
|
|
1717
|
+
},
|
|
1718
|
+
"panes create": {
|
|
1719
|
+
"name": "panes create",
|
|
1720
|
+
"summary": "Create one or more Pane sessions in a saved repository and open a terminal-backed tool tab.",
|
|
1721
|
+
"details": "Use this to set up user-visible panes for work. Select a saved repository, choose a built-in agent or custom terminal command, and optionally send initial input after the tool starts.",
|
|
1722
|
+
"requiresPaneDaemon": true,
|
|
1723
|
+
"mutates": true,
|
|
1724
|
+
"arguments": [
|
|
1725
|
+
{
|
|
1726
|
+
"name": "--repo",
|
|
1727
|
+
"value": "<selector>",
|
|
1728
|
+
"required": true,
|
|
1729
|
+
"description": "Repository selector: active, id, exact path, or saved repository name."
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"name": "--name",
|
|
1733
|
+
"value": "<name>",
|
|
1734
|
+
"required": true,
|
|
1735
|
+
"description": "Pane/session name."
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"name": "--agent",
|
|
1739
|
+
"value": "<codex|claude>",
|
|
1740
|
+
"required": false,
|
|
1741
|
+
"description": "Built-in agent terminal template to open."
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
"name": "--tool-command",
|
|
1745
|
+
"value": "<command>",
|
|
1746
|
+
"required": false,
|
|
1747
|
+
"description": "Custom terminal command to run instead of a built-in agent."
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"name": "--prompt",
|
|
1751
|
+
"value": "<text>",
|
|
1752
|
+
"required": false,
|
|
1753
|
+
"description": "Alias for --initial-input; sends text after the command is ready."
|
|
1754
|
+
},
|
|
1755
|
+
{
|
|
1756
|
+
"name": "--initial-input-file",
|
|
1757
|
+
"value": "<path|->",
|
|
1758
|
+
"required": false,
|
|
1759
|
+
"description": "Read initial input from a file or stdin."
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"name": "--from-json",
|
|
1763
|
+
"value": "<path|->",
|
|
1764
|
+
"required": false,
|
|
1765
|
+
"description": "Read a full panes.create request JSON payload."
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"name": "--yes",
|
|
1769
|
+
"required": false,
|
|
1770
|
+
"description": "Skip confirmation for mutating commands."
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
"name": "--json",
|
|
1774
|
+
"required": false,
|
|
1775
|
+
"description": "Print machine-readable output."
|
|
1776
|
+
}
|
|
1777
|
+
],
|
|
1778
|
+
"examples": [
|
|
1779
|
+
"runpane panes create --repo active --name issue-257 --agent codex --prompt \"Plan this issue\" --yes",
|
|
1780
|
+
"runpane panes create --from-json panes.json --yes --json"
|
|
1781
|
+
],
|
|
1782
|
+
"jsonSchemas": [
|
|
1783
|
+
"paneCreateRequest",
|
|
1784
|
+
"paneCreateResult"
|
|
1785
|
+
],
|
|
1786
|
+
"notes": [
|
|
1787
|
+
"At least one of --agent or --tool-command is required unless --from-json is used.",
|
|
1788
|
+
"The built-in agent templates come from the runpane contract; custom terminal commands can pass agent-specific flags when requested by the user."
|
|
1789
|
+
]
|
|
1790
|
+
}
|
|
1791
|
+
},
|
|
1792
|
+
"managedBlock": [
|
|
1793
|
+
"## Pane",
|
|
1794
|
+
"",
|
|
1795
|
+
"The developer is using Pane for this repository. Pane can manage saved repositories and create user-visible panes with terminal-backed tools for planning, discussion, and implementation work.",
|
|
1796
|
+
"",
|
|
1797
|
+
"Use `runpane agent-context` for a brief Pane command schema. Use `runpane agent-context --command \"panes create\"` or another command name for the detailed schema only when needed.",
|
|
1798
|
+
"",
|
|
1799
|
+
"Common commands:",
|
|
1800
|
+
"- `runpane repos list --json`",
|
|
1801
|
+
"- `runpane repos add --path <repo> --yes --json`",
|
|
1802
|
+
"- `runpane panes create --repo active --name <name> --agent codex --prompt \"<task>\" --yes`"
|
|
1803
|
+
]
|
|
1196
1804
|
}
|
|
1197
1805
|
};
|
|
1198
1806
|
//# sourceMappingURL=contract.js.map
|