runpane 2.4.94 → 2.4.96
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/cli.d.ts.map +1 -1
- package/dist/cli.js +3 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts +3 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +13 -0
- package/dist/commands.js.map +1 -1
- package/dist/generated/contract.d.ts +84 -1
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +129 -1
- package/dist/generated/contract.js.map +1 -1
- package/dist/localControl.d.ts +1 -0
- package/dist/localControl.d.ts.map +1 -1
- package/dist/localControl.js +85 -0
- package/dist/localControl.js.map +1 -1
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +2 -0
- package/dist/telemetry.js.map +1 -1
- package/package.json +1 -1
|
@@ -243,6 +243,17 @@ exports.RUNPANE_CONTRACT = {
|
|
|
243
243
|
"paneCreateResult"
|
|
244
244
|
]
|
|
245
245
|
},
|
|
246
|
+
{
|
|
247
|
+
"name": "panes adopt",
|
|
248
|
+
"summary": "Adopt an existing externally managed git worktree as a Pane without changing the worktree.",
|
|
249
|
+
"usage": [
|
|
250
|
+
"runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor> [--resume <id>] [--folder <name>] [--launch] [--no-pinned] [--dry-run] [--yes] [--json]"
|
|
251
|
+
],
|
|
252
|
+
"mutates": true,
|
|
253
|
+
"jsonSchemas": [
|
|
254
|
+
"paneCreateResult"
|
|
255
|
+
]
|
|
256
|
+
},
|
|
246
257
|
{
|
|
247
258
|
"name": "panes archive",
|
|
248
259
|
"summary": "Archive a Pane (session) exactly like the UI Archive action, including safe removal of its Pane-managed git worktree.",
|
|
@@ -511,6 +522,16 @@ exports.RUNPANE_CONTRACT = {
|
|
|
511
522
|
"value": "<branch>",
|
|
512
523
|
"description": "Base branch for the created worktree."
|
|
513
524
|
},
|
|
525
|
+
{
|
|
526
|
+
"name": "--folder",
|
|
527
|
+
"value": "<name>",
|
|
528
|
+
"description": "Top-level sidebar folder for an adopted pane."
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "--resume",
|
|
532
|
+
"value": "<agent-session-id>",
|
|
533
|
+
"description": "Agent session id to persist and resume in an adopted pane."
|
|
534
|
+
},
|
|
514
535
|
{
|
|
515
536
|
"name": "--agent",
|
|
516
537
|
"value": "<codex|claude|cursor>",
|
|
@@ -679,6 +700,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
679
700
|
"name": "--force",
|
|
680
701
|
"description": "Archive even if the pane's branch has uncommitted, untracked, or unpushed changes."
|
|
681
702
|
},
|
|
703
|
+
{
|
|
704
|
+
"name": "--launch",
|
|
705
|
+
"description": "Run an adopted pane's agent resume command immediately instead of staging it."
|
|
706
|
+
},
|
|
682
707
|
{
|
|
683
708
|
"name": "--follow",
|
|
684
709
|
"description": "Continue waiting for workspace events until interrupted."
|
|
@@ -1007,6 +1032,14 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1007
1032
|
" --dry-run Validate and preview without creating panes",
|
|
1008
1033
|
" --yes Skip confirmation for mutating commands"
|
|
1009
1034
|
],
|
|
1035
|
+
"panes adopt": [
|
|
1036
|
+
"Usage:",
|
|
1037
|
+
" runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor> [options]",
|
|
1038
|
+
"",
|
|
1039
|
+
"Adopts an existing externally managed git worktree without creating, syncing, or deleting it.",
|
|
1040
|
+
"",
|
|
1041
|
+
"Options: --resume <id> stages the agent resume command; --launch runs it immediately; --folder <name> groups the pane; --no-pinned opts out of pinning; --dry-run previews."
|
|
1042
|
+
],
|
|
1010
1043
|
"panes archive": [
|
|
1011
1044
|
"Usage:",
|
|
1012
1045
|
" runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--dry-run] --yes [--json]",
|
|
@@ -1500,6 +1533,14 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1500
1533
|
" --dry-run Validate and preview without creating panes",
|
|
1501
1534
|
" --yes Skip confirmation for mutating commands"
|
|
1502
1535
|
],
|
|
1536
|
+
"panes adopt": [
|
|
1537
|
+
"Usage:",
|
|
1538
|
+
" runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor> [options]",
|
|
1539
|
+
"",
|
|
1540
|
+
"Adopts an existing externally managed git worktree without creating, syncing, or deleting it.",
|
|
1541
|
+
"",
|
|
1542
|
+
"Options: --resume <id> stages the agent resume command; --launch runs it immediately; --folder <name> groups the pane; --no-pinned opts out of pinning; --dry-run previews."
|
|
1543
|
+
],
|
|
1503
1544
|
"panes archive": [
|
|
1504
1545
|
"Usage:",
|
|
1505
1546
|
" runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--dry-run] --yes [--json]",
|
|
@@ -3269,7 +3310,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3269
3310
|
"repoId",
|
|
3270
3311
|
"panelCount",
|
|
3271
3312
|
"pinned",
|
|
3272
|
-
"agentStatus"
|
|
3313
|
+
"agentStatus",
|
|
3314
|
+
"ownership"
|
|
3273
3315
|
],
|
|
3274
3316
|
"properties": {
|
|
3275
3317
|
"id": {
|
|
@@ -3313,6 +3355,12 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3313
3355
|
"active",
|
|
3314
3356
|
"idle"
|
|
3315
3357
|
]
|
|
3358
|
+
},
|
|
3359
|
+
"ownership": {
|
|
3360
|
+
"enum": [
|
|
3361
|
+
"pane",
|
|
3362
|
+
"external"
|
|
3363
|
+
]
|
|
3316
3364
|
}
|
|
3317
3365
|
},
|
|
3318
3366
|
"additionalProperties": false
|
|
@@ -6081,6 +6129,86 @@ exports.RUNPANE_CONTRACT = {
|
|
|
6081
6129
|
"If readiness returns blocked, inspect blocked.suggestedCommand rather than guessing which prompt to answer."
|
|
6082
6130
|
]
|
|
6083
6131
|
},
|
|
6132
|
+
"panes adopt": {
|
|
6133
|
+
"name": "panes adopt",
|
|
6134
|
+
"summary": "Adopt an existing externally managed git worktree as a Pane.",
|
|
6135
|
+
"details": "Validates that the canonical path is a registered worktree of the selected saved repository, then creates a Pane record without creating, syncing, building, removing, or recreating the directory.",
|
|
6136
|
+
"requiresPaneDaemon": true,
|
|
6137
|
+
"mutates": true,
|
|
6138
|
+
"arguments": [
|
|
6139
|
+
{
|
|
6140
|
+
"name": "--repo",
|
|
6141
|
+
"value": "<selector>",
|
|
6142
|
+
"required": true,
|
|
6143
|
+
"description": "Saved repository selector."
|
|
6144
|
+
},
|
|
6145
|
+
{
|
|
6146
|
+
"name": "--path",
|
|
6147
|
+
"value": "<dir>",
|
|
6148
|
+
"required": true,
|
|
6149
|
+
"description": "Existing git worktree path."
|
|
6150
|
+
},
|
|
6151
|
+
{
|
|
6152
|
+
"name": "--name",
|
|
6153
|
+
"value": "<name>",
|
|
6154
|
+
"required": true,
|
|
6155
|
+
"description": "Pane name."
|
|
6156
|
+
},
|
|
6157
|
+
{
|
|
6158
|
+
"name": "--agent",
|
|
6159
|
+
"value": "<codex|claude|cursor>",
|
|
6160
|
+
"required": true,
|
|
6161
|
+
"description": "Agent whose terminal to create."
|
|
6162
|
+
},
|
|
6163
|
+
{
|
|
6164
|
+
"name": "--resume",
|
|
6165
|
+
"value": "<id>",
|
|
6166
|
+
"required": false,
|
|
6167
|
+
"description": "Persist this agent session id and stage its resume command."
|
|
6168
|
+
},
|
|
6169
|
+
{
|
|
6170
|
+
"name": "--folder",
|
|
6171
|
+
"value": "<name>",
|
|
6172
|
+
"required": false,
|
|
6173
|
+
"description": "Top-level sidebar folder."
|
|
6174
|
+
},
|
|
6175
|
+
{
|
|
6176
|
+
"name": "--launch",
|
|
6177
|
+
"required": false,
|
|
6178
|
+
"description": "Run the resume command immediately."
|
|
6179
|
+
},
|
|
6180
|
+
{
|
|
6181
|
+
"name": "--no-pinned",
|
|
6182
|
+
"required": false,
|
|
6183
|
+
"description": "Do not pin the adopted pane."
|
|
6184
|
+
},
|
|
6185
|
+
{
|
|
6186
|
+
"name": "--dry-run",
|
|
6187
|
+
"required": false,
|
|
6188
|
+
"description": "Validate and preview only."
|
|
6189
|
+
},
|
|
6190
|
+
{
|
|
6191
|
+
"name": "--yes",
|
|
6192
|
+
"required": false,
|
|
6193
|
+
"description": "Skip confirmation."
|
|
6194
|
+
},
|
|
6195
|
+
{
|
|
6196
|
+
"name": "--json",
|
|
6197
|
+
"required": false,
|
|
6198
|
+
"description": "Print machine-readable output."
|
|
6199
|
+
}
|
|
6200
|
+
],
|
|
6201
|
+
"examples": [
|
|
6202
|
+
"runpane panes adopt --repo active --path /path/to/worktree --name imported --agent codex --resume <id> --yes --json"
|
|
6203
|
+
],
|
|
6204
|
+
"jsonSchemas": [
|
|
6205
|
+
"paneCreateResult"
|
|
6206
|
+
],
|
|
6207
|
+
"notes": [
|
|
6208
|
+
"The resume command is staged without Enter unless --launch is passed.",
|
|
6209
|
+
"Pane never removes an externally owned worktree."
|
|
6210
|
+
]
|
|
6211
|
+
},
|
|
6084
6212
|
"panes archive": {
|
|
6085
6213
|
"name": "panes archive",
|
|
6086
6214
|
"summary": "Archive a Pane (session) exactly like the UI Archive action, including safe removal of its Pane-managed git worktree.",
|