runpane 2.4.77 → 2.4.79
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 +6 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts +11 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +56 -4
- package/dist/commands.js.map +1 -1
- package/dist/daemonClient.d.ts +5 -0
- package/dist/daemonClient.d.ts.map +1 -1
- package/dist/daemonClient.js +7 -0
- package/dist/daemonClient.js.map +1 -1
- package/dist/generated/contract.d.ts +319 -2
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +475 -0
- package/dist/generated/contract.js.map +1 -1
- package/dist/localControl.d.ts +2 -0
- package/dist/localControl.d.ts.map +1 -1
- package/dist/localControl.js +154 -0
- package/dist/localControl.js.map +1 -1
- package/package.json +1 -1
|
@@ -190,6 +190,27 @@ exports.RUNPANE_CONTRACT = {
|
|
|
190
190
|
"paneListResult"
|
|
191
191
|
]
|
|
192
192
|
},
|
|
193
|
+
{
|
|
194
|
+
"name": "workspace state",
|
|
195
|
+
"summary": "Read one workspace snapshot of every Pane and CLI panel.",
|
|
196
|
+
"usage": [
|
|
197
|
+
"runpane workspace state [--repo <selector>] [--json]"
|
|
198
|
+
],
|
|
199
|
+
"jsonSchemas": [
|
|
200
|
+
"workspaceStateResult"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "watch",
|
|
205
|
+
"summary": "Wait for workspace agent and Pane transitions using a daemon-held cursor.",
|
|
206
|
+
"usage": [
|
|
207
|
+
"runpane watch [--as <name>|--since <generation>] [--follow] [--kinds <kind,...>] [--pane <id>] [--repo <selector>] [--name-contains <text>] [--timeout-ms <ms>] [--from <now|earliest>] [--json]"
|
|
208
|
+
],
|
|
209
|
+
"jsonSchemas": [
|
|
210
|
+
"workspaceWaitRequest",
|
|
211
|
+
"workspaceWaitResult"
|
|
212
|
+
]
|
|
213
|
+
},
|
|
193
214
|
{
|
|
194
215
|
"name": "panes create",
|
|
195
216
|
"summary": "Create user-visible Panes (Pane sessions) backed by Pane-managed worktrees for feature/PR work and open terminal-backed tool tabs.",
|
|
@@ -558,6 +579,31 @@ exports.RUNPANE_CONTRACT = {
|
|
|
558
579
|
"name": "--strategy",
|
|
559
580
|
"value": "<auto|codex-ctrl-enter|enter>",
|
|
560
581
|
"description": "Composer submit key sequence strategy for panels submit-composer."
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "--as",
|
|
585
|
+
"value": "<consumer-name>",
|
|
586
|
+
"description": "Use a persisted daemon-held workspace cursor."
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"name": "--since",
|
|
590
|
+
"value": "<generation>",
|
|
591
|
+
"description": "Read workspace events after this generation."
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"name": "--from",
|
|
595
|
+
"value": "<now|earliest>",
|
|
596
|
+
"description": "Choose where a new named cursor starts."
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "--kinds",
|
|
600
|
+
"value": "<kind,...>",
|
|
601
|
+
"description": "Limit workspace events to comma-separated kinds."
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"name": "--name-contains",
|
|
605
|
+
"value": "<text>",
|
|
606
|
+
"description": "Limit workspace events to Pane names containing text."
|
|
561
607
|
}
|
|
562
608
|
],
|
|
563
609
|
"localBoolean": [
|
|
@@ -588,6 +634,18 @@ exports.RUNPANE_CONTRACT = {
|
|
|
588
634
|
{
|
|
589
635
|
"name": "--force",
|
|
590
636
|
"description": "Archive even if the pane's branch has uncommitted, untracked, or unpushed changes."
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "--follow",
|
|
640
|
+
"description": "Continue waiting for workspace events until interrupted."
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "--ack-now",
|
|
644
|
+
"description": "Advance a named cursor immediately for at-most-once delivery."
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"name": "--include-held-input",
|
|
648
|
+
"description": "Include up to 120 characters of unsubmitted composer text in ready events."
|
|
591
649
|
}
|
|
592
650
|
]
|
|
593
651
|
},
|
|
@@ -607,6 +665,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
607
665
|
" runpane repos list [--json]",
|
|
608
666
|
" runpane repos add --path <path> [--name <name>]",
|
|
609
667
|
" runpane panes list [--repo <selector>] [--json]",
|
|
668
|
+
" runpane workspace state [--repo <selector>] [--json]",
|
|
669
|
+
" runpane watch [--as <name>|--since <generation>] [--follow] [--json]",
|
|
610
670
|
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [--source user|agent] [--focus|--no-focus] [--wait-ready]",
|
|
611
671
|
" runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--dry-run] --yes",
|
|
612
672
|
" runpane panels create --pane <pane-id> --agent <codex|claude|cursor> [--source user|agent] [--focus|--no-focus] --yes",
|
|
@@ -783,6 +843,40 @@ exports.RUNPANE_CONTRACT = {
|
|
|
783
843
|
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
784
844
|
" --json Print machine-readable output"
|
|
785
845
|
],
|
|
846
|
+
"workspace": [
|
|
847
|
+
"Workspace observation commands.",
|
|
848
|
+
"",
|
|
849
|
+
"Usage:",
|
|
850
|
+
" runpane workspace state [--repo <selector>] [--json]",
|
|
851
|
+
" runpane watch [--as <name>|--since <generation>] [--follow] [options]"
|
|
852
|
+
],
|
|
853
|
+
"workspace state": [
|
|
854
|
+
"Usage:",
|
|
855
|
+
" runpane workspace state [--repo <selector>] [--json]",
|
|
856
|
+
"",
|
|
857
|
+
"Returns one workspace snapshot of every Pane and CLI panel."
|
|
858
|
+
],
|
|
859
|
+
"watch": [
|
|
860
|
+
"Usage:",
|
|
861
|
+
" runpane watch [--as <name>|--since <generation>] [--follow] [options]",
|
|
862
|
+
"",
|
|
863
|
+
"Waits for agent state, Pane lifecycle, and panel exit transitions without polling.",
|
|
864
|
+
"",
|
|
865
|
+
"Options:",
|
|
866
|
+
" --as <name> Use a persisted daemon-held cursor",
|
|
867
|
+
" --since <generation> Use an explicit cursor instead",
|
|
868
|
+
" --from <now|earliest> Starting point for a new named cursor",
|
|
869
|
+
" --follow Continue waiting until interrupted",
|
|
870
|
+
" --kinds <kind,...> Limit event kinds",
|
|
871
|
+
" --pane <id> Limit to a Pane; repeatable",
|
|
872
|
+
" --repo <selector> Limit to a saved repository",
|
|
873
|
+
" --name-contains <text> Limit by Pane name substring",
|
|
874
|
+
" --timeout-ms <ms> Wait timeout; 0 polls once",
|
|
875
|
+
" --limit <count> Maximum entries per response",
|
|
876
|
+
" --ack-now Use at-most-once named-cursor delivery",
|
|
877
|
+
" --include-held-input Include unsubmitted composer text",
|
|
878
|
+
" --json Emit one NDJSON line per entry"
|
|
879
|
+
],
|
|
786
880
|
"panes create": [
|
|
787
881
|
"Usage:",
|
|
788
882
|
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [options]",
|
|
@@ -1046,6 +1140,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1046
1140
|
" runpane repos list [--json]",
|
|
1047
1141
|
" runpane repos add --path <path> [--name <name>]",
|
|
1048
1142
|
" runpane panes list [--repo <selector>] [--json]",
|
|
1143
|
+
" runpane workspace state [--repo <selector>] [--json]",
|
|
1144
|
+
" runpane watch [--as <name>|--since <generation>] [--follow] [--json]",
|
|
1049
1145
|
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [--source user|agent] [--focus|--no-focus] [--wait-ready]",
|
|
1050
1146
|
" runpane panes archive --pane <pane-id> [--source user|agent] [--force] [--dry-run] --yes",
|
|
1051
1147
|
" python -m runpane panels create --pane <pane-id> --agent <codex|claude|cursor> [--source user|agent] [--focus|--no-focus] --yes",
|
|
@@ -1211,6 +1307,40 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1211
1307
|
" --pane-dir <path>",
|
|
1212
1308
|
" --json"
|
|
1213
1309
|
],
|
|
1310
|
+
"workspace": [
|
|
1311
|
+
"Workspace observation commands.",
|
|
1312
|
+
"",
|
|
1313
|
+
"Usage:",
|
|
1314
|
+
" runpane workspace state [--repo <selector>] [--json]",
|
|
1315
|
+
" runpane watch [--as <name>|--since <generation>] [--follow] [options]"
|
|
1316
|
+
],
|
|
1317
|
+
"workspace state": [
|
|
1318
|
+
"Usage:",
|
|
1319
|
+
" runpane workspace state [--repo <selector>] [--json]",
|
|
1320
|
+
"",
|
|
1321
|
+
"Returns one workspace snapshot of every Pane and CLI panel."
|
|
1322
|
+
],
|
|
1323
|
+
"watch": [
|
|
1324
|
+
"Usage:",
|
|
1325
|
+
" runpane watch [--as <name>|--since <generation>] [--follow] [options]",
|
|
1326
|
+
"",
|
|
1327
|
+
"Waits for workspace transitions without polling.",
|
|
1328
|
+
"",
|
|
1329
|
+
"Options:",
|
|
1330
|
+
" --as <name>",
|
|
1331
|
+
" --since <generation>",
|
|
1332
|
+
" --from <now|earliest>",
|
|
1333
|
+
" --follow",
|
|
1334
|
+
" --kinds <kind,...>",
|
|
1335
|
+
" --pane <id> Repeatable",
|
|
1336
|
+
" --repo <selector>",
|
|
1337
|
+
" --name-contains <text>",
|
|
1338
|
+
" --timeout-ms <ms> 0 polls once",
|
|
1339
|
+
" --limit <count>",
|
|
1340
|
+
" --ack-now",
|
|
1341
|
+
" --include-held-input",
|
|
1342
|
+
" --json"
|
|
1343
|
+
],
|
|
1214
1344
|
"panes create": [
|
|
1215
1345
|
"Usage:",
|
|
1216
1346
|
" runpane panes create --repo <selector> --name <name> --agent <codex|claude|cursor> [options]",
|
|
@@ -2629,6 +2759,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2629
2759
|
"ok": {
|
|
2630
2760
|
"type": "boolean"
|
|
2631
2761
|
},
|
|
2762
|
+
"generation": {
|
|
2763
|
+
"type": "number"
|
|
2764
|
+
},
|
|
2632
2765
|
"repo": {
|
|
2633
2766
|
"$ref": "#/jsonSchemas/repoListResult/properties/repos/items"
|
|
2634
2767
|
},
|
|
@@ -3022,6 +3155,258 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3022
3155
|
},
|
|
3023
3156
|
"additionalProperties": false
|
|
3024
3157
|
},
|
|
3158
|
+
"workspaceEntry": {
|
|
3159
|
+
"type": "object",
|
|
3160
|
+
"required": [
|
|
3161
|
+
"gen",
|
|
3162
|
+
"at",
|
|
3163
|
+
"kind",
|
|
3164
|
+
"paneId",
|
|
3165
|
+
"paneName",
|
|
3166
|
+
"source"
|
|
3167
|
+
],
|
|
3168
|
+
"properties": {
|
|
3169
|
+
"gen": {
|
|
3170
|
+
"type": "number"
|
|
3171
|
+
},
|
|
3172
|
+
"at": {
|
|
3173
|
+
"type": "string"
|
|
3174
|
+
},
|
|
3175
|
+
"kind": {
|
|
3176
|
+
"enum": [
|
|
3177
|
+
"agent.ready",
|
|
3178
|
+
"agent.busy",
|
|
3179
|
+
"agent.blocked",
|
|
3180
|
+
"agent.unknown",
|
|
3181
|
+
"pane.created",
|
|
3182
|
+
"pane.gone",
|
|
3183
|
+
"panel.exited"
|
|
3184
|
+
]
|
|
3185
|
+
},
|
|
3186
|
+
"paneId": {
|
|
3187
|
+
"type": "string"
|
|
3188
|
+
},
|
|
3189
|
+
"paneName": {
|
|
3190
|
+
"type": "string"
|
|
3191
|
+
},
|
|
3192
|
+
"repoId": {
|
|
3193
|
+
"type": "number"
|
|
3194
|
+
},
|
|
3195
|
+
"repoName": {
|
|
3196
|
+
"type": "string"
|
|
3197
|
+
},
|
|
3198
|
+
"worktreePath": {
|
|
3199
|
+
"type": "string"
|
|
3200
|
+
},
|
|
3201
|
+
"panelId": {
|
|
3202
|
+
"type": "string"
|
|
3203
|
+
},
|
|
3204
|
+
"agentType": {
|
|
3205
|
+
"type": "string"
|
|
3206
|
+
},
|
|
3207
|
+
"from": {
|
|
3208
|
+
"enum": [
|
|
3209
|
+
"blocked",
|
|
3210
|
+
"working",
|
|
3211
|
+
"idle",
|
|
3212
|
+
"unknown"
|
|
3213
|
+
]
|
|
3214
|
+
},
|
|
3215
|
+
"to": {
|
|
3216
|
+
"enum": [
|
|
3217
|
+
"blocked",
|
|
3218
|
+
"working",
|
|
3219
|
+
"idle",
|
|
3220
|
+
"unknown"
|
|
3221
|
+
]
|
|
3222
|
+
},
|
|
3223
|
+
"source": {
|
|
3224
|
+
"enum": [
|
|
3225
|
+
"agent",
|
|
3226
|
+
"exit",
|
|
3227
|
+
"session"
|
|
3228
|
+
]
|
|
3229
|
+
},
|
|
3230
|
+
"reason": {
|
|
3231
|
+
"oneOf": [
|
|
3232
|
+
{
|
|
3233
|
+
"type": "string"
|
|
3234
|
+
},
|
|
3235
|
+
{
|
|
3236
|
+
"type": "null"
|
|
3237
|
+
}
|
|
3238
|
+
]
|
|
3239
|
+
},
|
|
3240
|
+
"settledMs": {
|
|
3241
|
+
"type": "number"
|
|
3242
|
+
},
|
|
3243
|
+
"heldInput": {
|
|
3244
|
+
"type": "string"
|
|
3245
|
+
},
|
|
3246
|
+
"exitCode": {
|
|
3247
|
+
"type": "number"
|
|
3248
|
+
},
|
|
3249
|
+
"baseline": {
|
|
3250
|
+
"const": true
|
|
3251
|
+
},
|
|
3252
|
+
"changedWhileAway": {
|
|
3253
|
+
"type": "boolean"
|
|
3254
|
+
}
|
|
3255
|
+
},
|
|
3256
|
+
"additionalProperties": false
|
|
3257
|
+
},
|
|
3258
|
+
"workspaceWaitRequest": {
|
|
3259
|
+
"type": "object",
|
|
3260
|
+
"properties": {
|
|
3261
|
+
"since": {
|
|
3262
|
+
"type": "number"
|
|
3263
|
+
},
|
|
3264
|
+
"as": {
|
|
3265
|
+
"type": "string"
|
|
3266
|
+
},
|
|
3267
|
+
"from": {
|
|
3268
|
+
"enum": [
|
|
3269
|
+
"now",
|
|
3270
|
+
"earliest"
|
|
3271
|
+
]
|
|
3272
|
+
},
|
|
3273
|
+
"timeoutMs": {
|
|
3274
|
+
"type": "number"
|
|
3275
|
+
},
|
|
3276
|
+
"limit": {
|
|
3277
|
+
"type": "number"
|
|
3278
|
+
},
|
|
3279
|
+
"kinds": {
|
|
3280
|
+
"type": "array",
|
|
3281
|
+
"items": {
|
|
3282
|
+
"$ref": "#/jsonSchemas/workspaceEntry/properties/kind"
|
|
3283
|
+
}
|
|
3284
|
+
},
|
|
3285
|
+
"paneIds": {
|
|
3286
|
+
"type": "array",
|
|
3287
|
+
"items": {
|
|
3288
|
+
"type": "string"
|
|
3289
|
+
}
|
|
3290
|
+
},
|
|
3291
|
+
"repo": {
|
|
3292
|
+
"oneOf": [
|
|
3293
|
+
{
|
|
3294
|
+
"type": "string"
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
"type": "object",
|
|
3298
|
+
"properties": {
|
|
3299
|
+
"id": {
|
|
3300
|
+
"type": "number"
|
|
3301
|
+
},
|
|
3302
|
+
"path": {
|
|
3303
|
+
"type": "string"
|
|
3304
|
+
},
|
|
3305
|
+
"name": {
|
|
3306
|
+
"type": "string"
|
|
3307
|
+
},
|
|
3308
|
+
"active": {
|
|
3309
|
+
"const": true
|
|
3310
|
+
}
|
|
3311
|
+
},
|
|
3312
|
+
"additionalProperties": false
|
|
3313
|
+
}
|
|
3314
|
+
]
|
|
3315
|
+
},
|
|
3316
|
+
"nameContains": {
|
|
3317
|
+
"type": "string"
|
|
3318
|
+
},
|
|
3319
|
+
"ackNow": {
|
|
3320
|
+
"type": "boolean"
|
|
3321
|
+
},
|
|
3322
|
+
"includeHeldInput": {
|
|
3323
|
+
"type": "boolean"
|
|
3324
|
+
}
|
|
3325
|
+
},
|
|
3326
|
+
"additionalProperties": false
|
|
3327
|
+
},
|
|
3328
|
+
"workspaceStateResult": {
|
|
3329
|
+
"type": "object",
|
|
3330
|
+
"required": [
|
|
3331
|
+
"ok",
|
|
3332
|
+
"epoch",
|
|
3333
|
+
"generation",
|
|
3334
|
+
"entries"
|
|
3335
|
+
],
|
|
3336
|
+
"properties": {
|
|
3337
|
+
"ok": {
|
|
3338
|
+
"const": true
|
|
3339
|
+
},
|
|
3340
|
+
"epoch": {
|
|
3341
|
+
"type": "string"
|
|
3342
|
+
},
|
|
3343
|
+
"generation": {
|
|
3344
|
+
"type": "number"
|
|
3345
|
+
},
|
|
3346
|
+
"entries": {
|
|
3347
|
+
"type": "array",
|
|
3348
|
+
"items": {
|
|
3349
|
+
"$ref": "#/jsonSchemas/workspaceEntry"
|
|
3350
|
+
}
|
|
3351
|
+
}
|
|
3352
|
+
},
|
|
3353
|
+
"additionalProperties": false
|
|
3354
|
+
},
|
|
3355
|
+
"workspaceWaitResult": {
|
|
3356
|
+
"type": "object",
|
|
3357
|
+
"required": [
|
|
3358
|
+
"ok",
|
|
3359
|
+
"epoch",
|
|
3360
|
+
"generation",
|
|
3361
|
+
"entries",
|
|
3362
|
+
"timedOut",
|
|
3363
|
+
"nextCommand"
|
|
3364
|
+
],
|
|
3365
|
+
"properties": {
|
|
3366
|
+
"ok": {
|
|
3367
|
+
"const": true
|
|
3368
|
+
},
|
|
3369
|
+
"epoch": {
|
|
3370
|
+
"type": "string"
|
|
3371
|
+
},
|
|
3372
|
+
"generation": {
|
|
3373
|
+
"type": "number"
|
|
3374
|
+
},
|
|
3375
|
+
"entries": {
|
|
3376
|
+
"type": "array",
|
|
3377
|
+
"items": {
|
|
3378
|
+
"$ref": "#/jsonSchemas/workspaceEntry"
|
|
3379
|
+
}
|
|
3380
|
+
},
|
|
3381
|
+
"timedOut": {
|
|
3382
|
+
"type": "boolean"
|
|
3383
|
+
},
|
|
3384
|
+
"dropped": {
|
|
3385
|
+
"type": "number"
|
|
3386
|
+
},
|
|
3387
|
+
"reset": {
|
|
3388
|
+
"type": "object",
|
|
3389
|
+
"required": [
|
|
3390
|
+
"reason"
|
|
3391
|
+
],
|
|
3392
|
+
"properties": {
|
|
3393
|
+
"reason": {
|
|
3394
|
+
"enum": [
|
|
3395
|
+
"first-use",
|
|
3396
|
+
"epoch-changed",
|
|
3397
|
+
"cursor-truncated",
|
|
3398
|
+
"unknown-consumer"
|
|
3399
|
+
]
|
|
3400
|
+
}
|
|
3401
|
+
},
|
|
3402
|
+
"additionalProperties": false
|
|
3403
|
+
},
|
|
3404
|
+
"nextCommand": {
|
|
3405
|
+
"type": "string"
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
"additionalProperties": false
|
|
3409
|
+
},
|
|
3025
3410
|
"paneArchiveRequest": {
|
|
3026
3411
|
"type": "object",
|
|
3027
3412
|
"required": [
|
|
@@ -3076,6 +3461,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3076
3461
|
"ok": {
|
|
3077
3462
|
"const": true
|
|
3078
3463
|
},
|
|
3464
|
+
"generation": {
|
|
3465
|
+
"type": "number"
|
|
3466
|
+
},
|
|
3079
3467
|
"paneId": {
|
|
3080
3468
|
"type": "string"
|
|
3081
3469
|
},
|
|
@@ -3121,6 +3509,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3121
3509
|
"ok": {
|
|
3122
3510
|
"const": true
|
|
3123
3511
|
},
|
|
3512
|
+
"generation": {
|
|
3513
|
+
"type": "number"
|
|
3514
|
+
},
|
|
3124
3515
|
"dryRun": {
|
|
3125
3516
|
"const": true
|
|
3126
3517
|
},
|
|
@@ -3146,6 +3537,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3146
3537
|
"ok": {
|
|
3147
3538
|
"type": "boolean"
|
|
3148
3539
|
},
|
|
3540
|
+
"generation": {
|
|
3541
|
+
"type": "number"
|
|
3542
|
+
},
|
|
3149
3543
|
"paneId": {
|
|
3150
3544
|
"type": "string"
|
|
3151
3545
|
},
|
|
@@ -3232,6 +3626,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3232
3626
|
"ok": {
|
|
3233
3627
|
"const": true
|
|
3234
3628
|
},
|
|
3629
|
+
"generation": {
|
|
3630
|
+
"type": "number"
|
|
3631
|
+
},
|
|
3235
3632
|
"paneId": {
|
|
3236
3633
|
"type": "string"
|
|
3237
3634
|
},
|
|
@@ -3265,6 +3662,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3265
3662
|
"ok": {
|
|
3266
3663
|
"const": false
|
|
3267
3664
|
},
|
|
3665
|
+
"generation": {
|
|
3666
|
+
"type": "number"
|
|
3667
|
+
},
|
|
3268
3668
|
"paneId": {
|
|
3269
3669
|
"type": "string"
|
|
3270
3670
|
},
|
|
@@ -3432,6 +3832,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3432
3832
|
"ok": {
|
|
3433
3833
|
"const": true
|
|
3434
3834
|
},
|
|
3835
|
+
"generation": {
|
|
3836
|
+
"type": "number"
|
|
3837
|
+
},
|
|
3435
3838
|
"panelId": {
|
|
3436
3839
|
"type": "string"
|
|
3437
3840
|
},
|
|
@@ -3790,6 +4193,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3790
4193
|
"ok": {
|
|
3791
4194
|
"type": "boolean"
|
|
3792
4195
|
},
|
|
4196
|
+
"generation": {
|
|
4197
|
+
"type": "number"
|
|
4198
|
+
},
|
|
3793
4199
|
"panelId": {
|
|
3794
4200
|
"type": "string"
|
|
3795
4201
|
},
|
|
@@ -4086,6 +4492,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4086
4492
|
"ok": {
|
|
4087
4493
|
"type": "boolean"
|
|
4088
4494
|
},
|
|
4495
|
+
"generation": {
|
|
4496
|
+
"type": "number"
|
|
4497
|
+
},
|
|
4089
4498
|
"paneId": {
|
|
4090
4499
|
"type": "string"
|
|
4091
4500
|
},
|
|
@@ -4260,6 +4669,9 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4260
4669
|
"ok": {
|
|
4261
4670
|
"type": "boolean"
|
|
4262
4671
|
},
|
|
4672
|
+
"generation": {
|
|
4673
|
+
"type": "number"
|
|
4674
|
+
},
|
|
4263
4675
|
"panelId": {
|
|
4264
4676
|
"type": "string"
|
|
4265
4677
|
},
|
|
@@ -5741,6 +6153,69 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5741
6153
|
"Use --strategy auto for agent workflows; explicit strategies are diagnostic escape hatches.",
|
|
5742
6154
|
"The JSON result includes sequenceName and verifiedSubmitted. If ok is false, follow blocked.suggestedCommand instead of assuming submission happened."
|
|
5743
6155
|
]
|
|
6156
|
+
},
|
|
6157
|
+
"workspace state": {
|
|
6158
|
+
"name": "workspace state",
|
|
6159
|
+
"summary": "Read one snapshot of every Pane and CLI panel.",
|
|
6160
|
+
"details": "Use this instead of spawning one command per pane or panel.",
|
|
6161
|
+
"requiresPaneDaemon": true,
|
|
6162
|
+
"mutates": false,
|
|
6163
|
+
"arguments": [
|
|
6164
|
+
{
|
|
6165
|
+
"name": "--repo",
|
|
6166
|
+
"value": "<selector>",
|
|
6167
|
+
"required": false,
|
|
6168
|
+
"description": "Optionally limit the snapshot to one saved repository."
|
|
6169
|
+
},
|
|
6170
|
+
{
|
|
6171
|
+
"name": "--json",
|
|
6172
|
+
"required": false,
|
|
6173
|
+
"description": "Print machine-readable output."
|
|
6174
|
+
}
|
|
6175
|
+
],
|
|
6176
|
+
"examples": [
|
|
6177
|
+
"runpane workspace state --json"
|
|
6178
|
+
],
|
|
6179
|
+
"notes": [
|
|
6180
|
+
"The response carries the daemon epoch and current journal generation."
|
|
6181
|
+
]
|
|
6182
|
+
},
|
|
6183
|
+
"watch": {
|
|
6184
|
+
"name": "watch",
|
|
6185
|
+
"summary": "Wait for workspace transitions using the daemon journal.",
|
|
6186
|
+
"details": "Named cursors persist in the Pane data directory so separate invocations do not need local state.",
|
|
6187
|
+
"requiresPaneDaemon": true,
|
|
6188
|
+
"mutates": false,
|
|
6189
|
+
"arguments": [
|
|
6190
|
+
{
|
|
6191
|
+
"name": "--as",
|
|
6192
|
+
"value": "<consumer-name>",
|
|
6193
|
+
"required": false,
|
|
6194
|
+
"description": "Use a persisted named cursor."
|
|
6195
|
+
},
|
|
6196
|
+
{
|
|
6197
|
+
"name": "--since",
|
|
6198
|
+
"value": "<generation>",
|
|
6199
|
+
"required": false,
|
|
6200
|
+
"description": "Use an explicit generation cursor."
|
|
6201
|
+
},
|
|
6202
|
+
{
|
|
6203
|
+
"name": "--follow",
|
|
6204
|
+
"required": false,
|
|
6205
|
+
"description": "Continue waiting until interrupted."
|
|
6206
|
+
},
|
|
6207
|
+
{
|
|
6208
|
+
"name": "--json",
|
|
6209
|
+
"required": false,
|
|
6210
|
+
"description": "Emit one NDJSON line per entry."
|
|
6211
|
+
}
|
|
6212
|
+
],
|
|
6213
|
+
"examples": [
|
|
6214
|
+
"runpane watch --as monitor --follow --json"
|
|
6215
|
+
],
|
|
6216
|
+
"notes": [
|
|
6217
|
+
"Journal loss is surfaced through reset and dropped metadata."
|
|
6218
|
+
]
|
|
5744
6219
|
}
|
|
5745
6220
|
},
|
|
5746
6221
|
"managedBlock": [
|