@superdoc-dev/sdk 1.7.0 → 1.8.0-next.10
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/generated/client.cjs +10 -0
- package/dist/generated/client.d.ts +5592 -5
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +10 -0
- package/dist/generated/contract.cjs +1456 -82
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +1459 -82
- package/dist/generated/intent-dispatch.generated.cjs +5 -0
- package/dist/generated/intent-dispatch.generated.d.ts.map +1 -1
- package/dist/generated/intent-dispatch.generated.js +5 -0
- package/package.json +6 -6
- package/tools/__pycache__/__init__.cpython-312.pyc +0 -0
- package/tools/__pycache__/intent_dispatch_generated.cpython-312.pyc +0 -0
- package/tools/catalog.json +300 -25
- package/tools/intent_dispatch_generated.py +10 -0
- package/tools/prompt-templates/system-prompt-core.md +88 -0
- package/tools/system-prompt-mcp.md +88 -0
- package/tools/system-prompt.md +88 -0
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +262 -25
- package/tools/tools.generic.json +268 -26
- package/tools/tools.openai.json +262 -25
- package/tools/tools.vercel.json +262 -25
|
@@ -575,6 +575,9 @@ export const CONTRACT = {
|
|
|
575
575
|
},
|
|
576
576
|
"entityId": {
|
|
577
577
|
"type": "string"
|
|
578
|
+
},
|
|
579
|
+
"story": {
|
|
580
|
+
"$ref": "#/$defs/StoryLocator"
|
|
578
581
|
}
|
|
579
582
|
},
|
|
580
583
|
"additionalProperties": false,
|
|
@@ -3171,15 +3174,103 @@ export const CONTRACT = {
|
|
|
3171
3174
|
},
|
|
3172
3175
|
"type": {
|
|
3173
3176
|
"type": "string",
|
|
3174
|
-
"description": "Block type: paragraph, heading, listItem,
|
|
3177
|
+
"description": "Block type: paragraph, heading, listItem, image, tableOfContents."
|
|
3175
3178
|
},
|
|
3176
3179
|
"text": {
|
|
3177
3180
|
"type": "string",
|
|
3178
3181
|
"description": "Full plain text content of the block."
|
|
3179
3182
|
},
|
|
3183
|
+
"textSpans": {
|
|
3184
|
+
"type": "array",
|
|
3185
|
+
"description": "Block text broken into runs with tracked-change marks preserved per run. Present only when the block contains at least one tracked change. Concatenating span text yields `text`.",
|
|
3186
|
+
"items": {
|
|
3187
|
+
"type": "object",
|
|
3188
|
+
"properties": {
|
|
3189
|
+
"text": {
|
|
3190
|
+
"type": "string",
|
|
3191
|
+
"description": "Raw text of the run."
|
|
3192
|
+
},
|
|
3193
|
+
"trackedChanges": {
|
|
3194
|
+
"type": "array",
|
|
3195
|
+
"description": "Tracked-change marks applied to this run.",
|
|
3196
|
+
"items": {
|
|
3197
|
+
"type": "object",
|
|
3198
|
+
"properties": {
|
|
3199
|
+
"entityId": {
|
|
3200
|
+
"type": "string",
|
|
3201
|
+
"description": "Tracked change entity ID matching an entry in trackedChanges[]."
|
|
3202
|
+
},
|
|
3203
|
+
"type": {
|
|
3204
|
+
"type": "string",
|
|
3205
|
+
"enum": [
|
|
3206
|
+
"insert",
|
|
3207
|
+
"delete",
|
|
3208
|
+
"format"
|
|
3209
|
+
]
|
|
3210
|
+
}
|
|
3211
|
+
},
|
|
3212
|
+
"additionalProperties": false,
|
|
3213
|
+
"required": [
|
|
3214
|
+
"entityId",
|
|
3215
|
+
"type"
|
|
3216
|
+
]
|
|
3217
|
+
}
|
|
3218
|
+
}
|
|
3219
|
+
},
|
|
3220
|
+
"additionalProperties": false,
|
|
3221
|
+
"required": [
|
|
3222
|
+
"text"
|
|
3223
|
+
]
|
|
3224
|
+
}
|
|
3225
|
+
},
|
|
3180
3226
|
"headingLevel": {
|
|
3181
3227
|
"type": "integer",
|
|
3182
|
-
"description": "Heading level (1
|
|
3228
|
+
"description": "Heading level (1-6). Only present for headings."
|
|
3229
|
+
},
|
|
3230
|
+
"tableContext": {
|
|
3231
|
+
"type": "object",
|
|
3232
|
+
"properties": {
|
|
3233
|
+
"tableOrdinal": {
|
|
3234
|
+
"type": "integer",
|
|
3235
|
+
"description": "0-based table ordinal, unique within one extract() result."
|
|
3236
|
+
},
|
|
3237
|
+
"parentTableOrdinal": {
|
|
3238
|
+
"type": "integer",
|
|
3239
|
+
"description": "Ordinal of the parent table when the containing table is nested."
|
|
3240
|
+
},
|
|
3241
|
+
"parentRowIndex": {
|
|
3242
|
+
"type": "integer",
|
|
3243
|
+
"description": "Row index in the parent table. Set with parentTableOrdinal."
|
|
3244
|
+
},
|
|
3245
|
+
"parentColumnIndex": {
|
|
3246
|
+
"type": "integer",
|
|
3247
|
+
"description": "Column index in the parent table. Set with parentTableOrdinal."
|
|
3248
|
+
},
|
|
3249
|
+
"rowIndex": {
|
|
3250
|
+
"type": "integer",
|
|
3251
|
+
"description": "0-based row index of the containing cell."
|
|
3252
|
+
},
|
|
3253
|
+
"columnIndex": {
|
|
3254
|
+
"type": "integer",
|
|
3255
|
+
"description": "0-based logical grid column, not the row child order."
|
|
3256
|
+
},
|
|
3257
|
+
"rowspan": {
|
|
3258
|
+
"type": "integer",
|
|
3259
|
+
"description": "Number of rows the cell spans."
|
|
3260
|
+
},
|
|
3261
|
+
"colspan": {
|
|
3262
|
+
"type": "integer",
|
|
3263
|
+
"description": "Number of columns the cell spans."
|
|
3264
|
+
}
|
|
3265
|
+
},
|
|
3266
|
+
"additionalProperties": false,
|
|
3267
|
+
"required": [
|
|
3268
|
+
"tableOrdinal",
|
|
3269
|
+
"rowIndex",
|
|
3270
|
+
"columnIndex",
|
|
3271
|
+
"rowspan",
|
|
3272
|
+
"colspan"
|
|
3273
|
+
]
|
|
3183
3274
|
}
|
|
3184
3275
|
},
|
|
3185
3276
|
"additionalProperties": false,
|
|
@@ -3237,7 +3328,7 @@ export const CONTRACT = {
|
|
|
3237
3328
|
"properties": {
|
|
3238
3329
|
"entityId": {
|
|
3239
3330
|
"type": "string",
|
|
3240
|
-
"description": "Tracked change entity ID
|
|
3331
|
+
"description": "Tracked change entity ID. Pass to scrollToElement() for navigation."
|
|
3241
3332
|
},
|
|
3242
3333
|
"type": {
|
|
3243
3334
|
"type": "string",
|
|
@@ -3245,11 +3336,37 @@ export const CONTRACT = {
|
|
|
3245
3336
|
"insert",
|
|
3246
3337
|
"delete",
|
|
3247
3338
|
"format"
|
|
3248
|
-
]
|
|
3339
|
+
],
|
|
3340
|
+
"description": "Aggregate type at the entity level. In paired replacement mode, a delete+insert pair shares one entity and this collapses to 'insert'; per-half type lives on block.textSpans[].trackedChanges[]."
|
|
3341
|
+
},
|
|
3342
|
+
"blockIds": {
|
|
3343
|
+
"type": "array",
|
|
3344
|
+
"description": "Block IDs whose textSpans carry this change.",
|
|
3345
|
+
"items": {
|
|
3346
|
+
"type": "string"
|
|
3347
|
+
}
|
|
3348
|
+
},
|
|
3349
|
+
"wordRevisionIds": {
|
|
3350
|
+
"type": "object",
|
|
3351
|
+
"properties": {
|
|
3352
|
+
"insert": {
|
|
3353
|
+
"type": "string",
|
|
3354
|
+
"description": "Original OOXML w:id from a w:ins mark."
|
|
3355
|
+
},
|
|
3356
|
+
"delete": {
|
|
3357
|
+
"type": "string",
|
|
3358
|
+
"description": "Original OOXML w:id from a w:del mark."
|
|
3359
|
+
},
|
|
3360
|
+
"format": {
|
|
3361
|
+
"type": "string",
|
|
3362
|
+
"description": "Original OOXML w:id from a w:rPrChange mark."
|
|
3363
|
+
}
|
|
3364
|
+
},
|
|
3365
|
+
"additionalProperties": false
|
|
3249
3366
|
},
|
|
3250
3367
|
"excerpt": {
|
|
3251
3368
|
"type": "string",
|
|
3252
|
-
"description": "Short text excerpt of the changed content."
|
|
3369
|
+
"description": "Short text excerpt of the changed content. Omitted for paired replacements; read block.textSpans for the per-half text."
|
|
3253
3370
|
},
|
|
3254
3371
|
"author": {
|
|
3255
3372
|
"type": "string",
|
|
@@ -52226,7 +52343,9 @@ export const CONTRACT = {
|
|
|
52226
52343
|
"success",
|
|
52227
52344
|
"failure"
|
|
52228
52345
|
]
|
|
52229
|
-
}
|
|
52346
|
+
},
|
|
52347
|
+
"intentGroup": "list",
|
|
52348
|
+
"intentAction": "attach"
|
|
52230
52349
|
},
|
|
52231
52350
|
"doc.lists.detach": {
|
|
52232
52351
|
"operationId": "doc.lists.detach",
|
|
@@ -53225,20 +53344,419 @@ export const CONTRACT = {
|
|
|
53225
53344
|
}
|
|
53226
53345
|
]
|
|
53227
53346
|
}
|
|
53228
|
-
},
|
|
53229
|
-
{
|
|
53230
|
-
"name": "input",
|
|
53231
|
-
"kind": "jsonFlag",
|
|
53232
|
-
"type": "json",
|
|
53233
|
-
"flag": "input-json",
|
|
53234
|
-
"description": "Operation input as JSON object."
|
|
53347
|
+
},
|
|
53348
|
+
{
|
|
53349
|
+
"name": "input",
|
|
53350
|
+
"kind": "jsonFlag",
|
|
53351
|
+
"type": "json",
|
|
53352
|
+
"flag": "input-json",
|
|
53353
|
+
"description": "Operation input as JSON object."
|
|
53354
|
+
}
|
|
53355
|
+
],
|
|
53356
|
+
"constraints": null,
|
|
53357
|
+
"mutates": false,
|
|
53358
|
+
"idempotency": "idempotent",
|
|
53359
|
+
"supportsTrackedMode": false,
|
|
53360
|
+
"supportsDryRun": false,
|
|
53361
|
+
"inputSchema": {
|
|
53362
|
+
"type": "object",
|
|
53363
|
+
"properties": {
|
|
53364
|
+
"target": {
|
|
53365
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
53366
|
+
},
|
|
53367
|
+
"direction": {
|
|
53368
|
+
"enum": [
|
|
53369
|
+
"withPrevious",
|
|
53370
|
+
"withNext"
|
|
53371
|
+
]
|
|
53372
|
+
}
|
|
53373
|
+
},
|
|
53374
|
+
"additionalProperties": false,
|
|
53375
|
+
"required": [
|
|
53376
|
+
"target",
|
|
53377
|
+
"direction"
|
|
53378
|
+
]
|
|
53379
|
+
},
|
|
53380
|
+
"outputSchema": {
|
|
53381
|
+
"type": "object",
|
|
53382
|
+
"properties": {
|
|
53383
|
+
"canJoin": {
|
|
53384
|
+
"type": "boolean"
|
|
53385
|
+
},
|
|
53386
|
+
"reason": {
|
|
53387
|
+
"enum": [
|
|
53388
|
+
"NO_ADJACENT_SEQUENCE",
|
|
53389
|
+
"INCOMPATIBLE_DEFINITIONS",
|
|
53390
|
+
"ALREADY_SAME_SEQUENCE"
|
|
53391
|
+
]
|
|
53392
|
+
},
|
|
53393
|
+
"adjacentListId": {
|
|
53394
|
+
"type": "string"
|
|
53395
|
+
}
|
|
53396
|
+
},
|
|
53397
|
+
"additionalProperties": false,
|
|
53398
|
+
"required": [
|
|
53399
|
+
"canJoin"
|
|
53400
|
+
]
|
|
53401
|
+
}
|
|
53402
|
+
},
|
|
53403
|
+
"doc.lists.separate": {
|
|
53404
|
+
"operationId": "doc.lists.separate",
|
|
53405
|
+
"sdkSurface": "document",
|
|
53406
|
+
"command": "lists separate",
|
|
53407
|
+
"commandTokens": [
|
|
53408
|
+
"lists",
|
|
53409
|
+
"separate"
|
|
53410
|
+
],
|
|
53411
|
+
"category": "lists",
|
|
53412
|
+
"description": "Split a list sequence at the target item, creating a new sequence from that point forward.",
|
|
53413
|
+
"requiresDocumentContext": true,
|
|
53414
|
+
"docRequirement": "optional",
|
|
53415
|
+
"responseEnvelopeKey": "result",
|
|
53416
|
+
"params": [
|
|
53417
|
+
{
|
|
53418
|
+
"name": "doc",
|
|
53419
|
+
"kind": "doc",
|
|
53420
|
+
"type": "string",
|
|
53421
|
+
"description": "Document path. Optional when a session is already open."
|
|
53422
|
+
},
|
|
53423
|
+
{
|
|
53424
|
+
"name": "sessionId",
|
|
53425
|
+
"kind": "flag",
|
|
53426
|
+
"type": "string",
|
|
53427
|
+
"flag": "session",
|
|
53428
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
53429
|
+
},
|
|
53430
|
+
{
|
|
53431
|
+
"name": "out",
|
|
53432
|
+
"kind": "flag",
|
|
53433
|
+
"type": "string",
|
|
53434
|
+
"agentVisible": false
|
|
53435
|
+
},
|
|
53436
|
+
{
|
|
53437
|
+
"name": "force",
|
|
53438
|
+
"kind": "flag",
|
|
53439
|
+
"type": "boolean",
|
|
53440
|
+
"description": "Bypass confirmation checks."
|
|
53441
|
+
},
|
|
53442
|
+
{
|
|
53443
|
+
"name": "expectedRevision",
|
|
53444
|
+
"kind": "flag",
|
|
53445
|
+
"type": "number",
|
|
53446
|
+
"flag": "expected-revision",
|
|
53447
|
+
"agentVisible": false
|
|
53448
|
+
},
|
|
53449
|
+
{
|
|
53450
|
+
"name": "changeMode",
|
|
53451
|
+
"kind": "flag",
|
|
53452
|
+
"type": "string",
|
|
53453
|
+
"flag": "change-mode",
|
|
53454
|
+
"schema": {
|
|
53455
|
+
"enum": [
|
|
53456
|
+
"direct",
|
|
53457
|
+
"tracked"
|
|
53458
|
+
]
|
|
53459
|
+
},
|
|
53460
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
53461
|
+
},
|
|
53462
|
+
{
|
|
53463
|
+
"name": "dryRun",
|
|
53464
|
+
"kind": "flag",
|
|
53465
|
+
"type": "boolean",
|
|
53466
|
+
"flag": "dry-run",
|
|
53467
|
+
"description": "Preview the result without applying changes."
|
|
53468
|
+
},
|
|
53469
|
+
{
|
|
53470
|
+
"name": "target",
|
|
53471
|
+
"kind": "jsonFlag",
|
|
53472
|
+
"type": "json",
|
|
53473
|
+
"flag": "target-json",
|
|
53474
|
+
"schema": {
|
|
53475
|
+
"type": "object",
|
|
53476
|
+
"properties": {
|
|
53477
|
+
"kind": {
|
|
53478
|
+
"const": "block"
|
|
53479
|
+
},
|
|
53480
|
+
"nodeType": {
|
|
53481
|
+
"const": "listItem"
|
|
53482
|
+
},
|
|
53483
|
+
"nodeId": {
|
|
53484
|
+
"type": "string"
|
|
53485
|
+
}
|
|
53486
|
+
},
|
|
53487
|
+
"required": [
|
|
53488
|
+
"kind",
|
|
53489
|
+
"nodeType",
|
|
53490
|
+
"nodeId"
|
|
53491
|
+
]
|
|
53492
|
+
}
|
|
53493
|
+
},
|
|
53494
|
+
{
|
|
53495
|
+
"name": "copyOverrides",
|
|
53496
|
+
"kind": "flag",
|
|
53497
|
+
"type": "boolean",
|
|
53498
|
+
"flag": "copy-overrides"
|
|
53499
|
+
},
|
|
53500
|
+
{
|
|
53501
|
+
"name": "input",
|
|
53502
|
+
"kind": "jsonFlag",
|
|
53503
|
+
"type": "json",
|
|
53504
|
+
"flag": "input-json",
|
|
53505
|
+
"description": "Operation input as JSON object."
|
|
53506
|
+
},
|
|
53507
|
+
{
|
|
53508
|
+
"name": "nodeId",
|
|
53509
|
+
"kind": "flag",
|
|
53510
|
+
"type": "string",
|
|
53511
|
+
"flag": "node-id",
|
|
53512
|
+
"description": "Node ID of the target list item."
|
|
53513
|
+
}
|
|
53514
|
+
],
|
|
53515
|
+
"constraints": null,
|
|
53516
|
+
"mutates": true,
|
|
53517
|
+
"idempotency": "conditional",
|
|
53518
|
+
"supportsTrackedMode": false,
|
|
53519
|
+
"supportsDryRun": true,
|
|
53520
|
+
"inputSchema": {
|
|
53521
|
+
"type": "object",
|
|
53522
|
+
"properties": {
|
|
53523
|
+
"target": {
|
|
53524
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
53525
|
+
},
|
|
53526
|
+
"copyOverrides": {
|
|
53527
|
+
"type": "boolean"
|
|
53528
|
+
}
|
|
53529
|
+
},
|
|
53530
|
+
"additionalProperties": false,
|
|
53531
|
+
"required": [
|
|
53532
|
+
"target"
|
|
53533
|
+
]
|
|
53534
|
+
},
|
|
53535
|
+
"outputSchema": {
|
|
53536
|
+
"oneOf": [
|
|
53537
|
+
{
|
|
53538
|
+
"type": "object",
|
|
53539
|
+
"properties": {
|
|
53540
|
+
"success": {
|
|
53541
|
+
"const": true
|
|
53542
|
+
},
|
|
53543
|
+
"listId": {
|
|
53544
|
+
"type": "string"
|
|
53545
|
+
},
|
|
53546
|
+
"numId": {
|
|
53547
|
+
"type": "integer"
|
|
53548
|
+
}
|
|
53549
|
+
},
|
|
53550
|
+
"additionalProperties": false,
|
|
53551
|
+
"required": [
|
|
53552
|
+
"success",
|
|
53553
|
+
"listId",
|
|
53554
|
+
"numId"
|
|
53555
|
+
]
|
|
53556
|
+
},
|
|
53557
|
+
{
|
|
53558
|
+
"type": "object",
|
|
53559
|
+
"properties": {
|
|
53560
|
+
"success": {
|
|
53561
|
+
"const": false
|
|
53562
|
+
},
|
|
53563
|
+
"failure": {
|
|
53564
|
+
"type": "object",
|
|
53565
|
+
"properties": {
|
|
53566
|
+
"code": {
|
|
53567
|
+
"enum": [
|
|
53568
|
+
"INVALID_TARGET",
|
|
53569
|
+
"NO_OP"
|
|
53570
|
+
]
|
|
53571
|
+
},
|
|
53572
|
+
"message": {
|
|
53573
|
+
"type": "string"
|
|
53574
|
+
},
|
|
53575
|
+
"details": {}
|
|
53576
|
+
},
|
|
53577
|
+
"additionalProperties": false,
|
|
53578
|
+
"required": [
|
|
53579
|
+
"code",
|
|
53580
|
+
"message"
|
|
53581
|
+
]
|
|
53582
|
+
}
|
|
53583
|
+
},
|
|
53584
|
+
"additionalProperties": false,
|
|
53585
|
+
"required": [
|
|
53586
|
+
"success",
|
|
53587
|
+
"failure"
|
|
53588
|
+
]
|
|
53589
|
+
}
|
|
53590
|
+
]
|
|
53591
|
+
},
|
|
53592
|
+
"successSchema": {
|
|
53593
|
+
"type": "object",
|
|
53594
|
+
"properties": {
|
|
53595
|
+
"success": {
|
|
53596
|
+
"const": true
|
|
53597
|
+
},
|
|
53598
|
+
"listId": {
|
|
53599
|
+
"type": "string"
|
|
53600
|
+
},
|
|
53601
|
+
"numId": {
|
|
53602
|
+
"type": "integer"
|
|
53603
|
+
}
|
|
53604
|
+
},
|
|
53605
|
+
"additionalProperties": false,
|
|
53606
|
+
"required": [
|
|
53607
|
+
"success",
|
|
53608
|
+
"listId",
|
|
53609
|
+
"numId"
|
|
53610
|
+
]
|
|
53611
|
+
},
|
|
53612
|
+
"failureSchema": {
|
|
53613
|
+
"type": "object",
|
|
53614
|
+
"properties": {
|
|
53615
|
+
"success": {
|
|
53616
|
+
"const": false
|
|
53617
|
+
},
|
|
53618
|
+
"failure": {
|
|
53619
|
+
"type": "object",
|
|
53620
|
+
"properties": {
|
|
53621
|
+
"code": {
|
|
53622
|
+
"enum": [
|
|
53623
|
+
"INVALID_TARGET",
|
|
53624
|
+
"NO_OP"
|
|
53625
|
+
]
|
|
53626
|
+
},
|
|
53627
|
+
"message": {
|
|
53628
|
+
"type": "string"
|
|
53629
|
+
},
|
|
53630
|
+
"details": {}
|
|
53631
|
+
},
|
|
53632
|
+
"additionalProperties": false,
|
|
53633
|
+
"required": [
|
|
53634
|
+
"code",
|
|
53635
|
+
"message"
|
|
53636
|
+
]
|
|
53637
|
+
}
|
|
53638
|
+
},
|
|
53639
|
+
"additionalProperties": false,
|
|
53640
|
+
"required": [
|
|
53641
|
+
"success",
|
|
53642
|
+
"failure"
|
|
53643
|
+
]
|
|
53644
|
+
}
|
|
53645
|
+
},
|
|
53646
|
+
"doc.lists.merge": {
|
|
53647
|
+
"operationId": "doc.lists.merge",
|
|
53648
|
+
"sdkSurface": "document",
|
|
53649
|
+
"command": "lists merge",
|
|
53650
|
+
"commandTokens": [
|
|
53651
|
+
"lists",
|
|
53652
|
+
"merge"
|
|
53653
|
+
],
|
|
53654
|
+
"category": "lists",
|
|
53655
|
+
"description": "Compound: merge two adjacent list sequences into one. Reassigns numId on the absorbed sequence (no strict abstractNumId check — absorbed items adopt the absorbing definition) and deletes empty paragraphs between the two sequences. Use this instead of lists.join for the user-facing \"merge these lists\" intent.",
|
|
53656
|
+
"requiresDocumentContext": true,
|
|
53657
|
+
"docRequirement": "optional",
|
|
53658
|
+
"responseEnvelopeKey": null,
|
|
53659
|
+
"params": [
|
|
53660
|
+
{
|
|
53661
|
+
"name": "doc",
|
|
53662
|
+
"kind": "doc",
|
|
53663
|
+
"type": "string",
|
|
53664
|
+
"description": "Document path. Optional when a session is already open."
|
|
53665
|
+
},
|
|
53666
|
+
{
|
|
53667
|
+
"name": "sessionId",
|
|
53668
|
+
"kind": "flag",
|
|
53669
|
+
"type": "string",
|
|
53670
|
+
"flag": "session",
|
|
53671
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
53672
|
+
},
|
|
53673
|
+
{
|
|
53674
|
+
"name": "out",
|
|
53675
|
+
"kind": "flag",
|
|
53676
|
+
"type": "string",
|
|
53677
|
+
"agentVisible": false
|
|
53678
|
+
},
|
|
53679
|
+
{
|
|
53680
|
+
"name": "force",
|
|
53681
|
+
"kind": "flag",
|
|
53682
|
+
"type": "boolean",
|
|
53683
|
+
"description": "Bypass confirmation checks."
|
|
53684
|
+
},
|
|
53685
|
+
{
|
|
53686
|
+
"name": "expectedRevision",
|
|
53687
|
+
"kind": "flag",
|
|
53688
|
+
"type": "number",
|
|
53689
|
+
"flag": "expected-revision",
|
|
53690
|
+
"agentVisible": false
|
|
53691
|
+
},
|
|
53692
|
+
{
|
|
53693
|
+
"name": "changeMode",
|
|
53694
|
+
"kind": "flag",
|
|
53695
|
+
"type": "string",
|
|
53696
|
+
"flag": "change-mode",
|
|
53697
|
+
"schema": {
|
|
53698
|
+
"enum": [
|
|
53699
|
+
"direct",
|
|
53700
|
+
"tracked"
|
|
53701
|
+
]
|
|
53702
|
+
},
|
|
53703
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
53704
|
+
},
|
|
53705
|
+
{
|
|
53706
|
+
"name": "dryRun",
|
|
53707
|
+
"kind": "flag",
|
|
53708
|
+
"type": "boolean",
|
|
53709
|
+
"flag": "dry-run",
|
|
53710
|
+
"description": "Preview the result without applying changes."
|
|
53711
|
+
},
|
|
53712
|
+
{
|
|
53713
|
+
"name": "target",
|
|
53714
|
+
"kind": "jsonFlag",
|
|
53715
|
+
"type": "json",
|
|
53716
|
+
"flag": "target-json",
|
|
53717
|
+
"required": true,
|
|
53718
|
+
"schema": {
|
|
53719
|
+
"type": "object",
|
|
53720
|
+
"properties": {
|
|
53721
|
+
"kind": {
|
|
53722
|
+
"const": "block"
|
|
53723
|
+
},
|
|
53724
|
+
"nodeType": {
|
|
53725
|
+
"const": "listItem"
|
|
53726
|
+
},
|
|
53727
|
+
"nodeId": {
|
|
53728
|
+
"type": "string"
|
|
53729
|
+
}
|
|
53730
|
+
},
|
|
53731
|
+
"required": [
|
|
53732
|
+
"kind",
|
|
53733
|
+
"nodeType",
|
|
53734
|
+
"nodeId"
|
|
53735
|
+
]
|
|
53736
|
+
}
|
|
53737
|
+
},
|
|
53738
|
+
{
|
|
53739
|
+
"name": "direction",
|
|
53740
|
+
"kind": "flag",
|
|
53741
|
+
"type": "string",
|
|
53742
|
+
"required": true,
|
|
53743
|
+
"schema": {
|
|
53744
|
+
"oneOf": [
|
|
53745
|
+
{
|
|
53746
|
+
"const": "withPrevious"
|
|
53747
|
+
},
|
|
53748
|
+
{
|
|
53749
|
+
"const": "withNext"
|
|
53750
|
+
}
|
|
53751
|
+
]
|
|
53752
|
+
}
|
|
53235
53753
|
}
|
|
53236
53754
|
],
|
|
53237
53755
|
"constraints": null,
|
|
53238
|
-
"mutates":
|
|
53239
|
-
"idempotency": "
|
|
53756
|
+
"mutates": true,
|
|
53757
|
+
"idempotency": "conditional",
|
|
53240
53758
|
"supportsTrackedMode": false,
|
|
53241
|
-
"supportsDryRun":
|
|
53759
|
+
"supportsDryRun": true,
|
|
53242
53760
|
"inputSchema": {
|
|
53243
53761
|
"type": "object",
|
|
53244
53762
|
"properties": {
|
|
@@ -53259,41 +53777,141 @@ export const CONTRACT = {
|
|
|
53259
53777
|
]
|
|
53260
53778
|
},
|
|
53261
53779
|
"outputSchema": {
|
|
53262
|
-
"
|
|
53263
|
-
|
|
53264
|
-
|
|
53265
|
-
"
|
|
53780
|
+
"oneOf": [
|
|
53781
|
+
{
|
|
53782
|
+
"type": "object",
|
|
53783
|
+
"properties": {
|
|
53784
|
+
"success": {
|
|
53785
|
+
"const": true
|
|
53786
|
+
},
|
|
53787
|
+
"listId": {
|
|
53788
|
+
"type": "string"
|
|
53789
|
+
},
|
|
53790
|
+
"absorbedCount": {
|
|
53791
|
+
"type": "integer"
|
|
53792
|
+
},
|
|
53793
|
+
"removedEmptyBlocks": {
|
|
53794
|
+
"type": "integer"
|
|
53795
|
+
}
|
|
53796
|
+
},
|
|
53797
|
+
"additionalProperties": false,
|
|
53798
|
+
"required": [
|
|
53799
|
+
"success",
|
|
53800
|
+
"listId",
|
|
53801
|
+
"absorbedCount",
|
|
53802
|
+
"removedEmptyBlocks"
|
|
53803
|
+
]
|
|
53266
53804
|
},
|
|
53267
|
-
|
|
53268
|
-
"
|
|
53269
|
-
|
|
53270
|
-
"
|
|
53271
|
-
|
|
53805
|
+
{
|
|
53806
|
+
"type": "object",
|
|
53807
|
+
"properties": {
|
|
53808
|
+
"success": {
|
|
53809
|
+
"const": false
|
|
53810
|
+
},
|
|
53811
|
+
"failure": {
|
|
53812
|
+
"type": "object",
|
|
53813
|
+
"properties": {
|
|
53814
|
+
"code": {
|
|
53815
|
+
"enum": [
|
|
53816
|
+
"INVALID_TARGET",
|
|
53817
|
+
"NO_ADJACENT_SEQUENCE",
|
|
53818
|
+
"NO_OP"
|
|
53819
|
+
]
|
|
53820
|
+
},
|
|
53821
|
+
"message": {
|
|
53822
|
+
"type": "string"
|
|
53823
|
+
},
|
|
53824
|
+
"details": {}
|
|
53825
|
+
},
|
|
53826
|
+
"additionalProperties": false,
|
|
53827
|
+
"required": [
|
|
53828
|
+
"code",
|
|
53829
|
+
"message"
|
|
53830
|
+
]
|
|
53831
|
+
}
|
|
53832
|
+
},
|
|
53833
|
+
"additionalProperties": false,
|
|
53834
|
+
"required": [
|
|
53835
|
+
"success",
|
|
53836
|
+
"failure"
|
|
53272
53837
|
]
|
|
53838
|
+
}
|
|
53839
|
+
]
|
|
53840
|
+
},
|
|
53841
|
+
"successSchema": {
|
|
53842
|
+
"type": "object",
|
|
53843
|
+
"properties": {
|
|
53844
|
+
"success": {
|
|
53845
|
+
"const": true
|
|
53273
53846
|
},
|
|
53274
|
-
"
|
|
53847
|
+
"listId": {
|
|
53275
53848
|
"type": "string"
|
|
53849
|
+
},
|
|
53850
|
+
"absorbedCount": {
|
|
53851
|
+
"type": "integer"
|
|
53852
|
+
},
|
|
53853
|
+
"removedEmptyBlocks": {
|
|
53854
|
+
"type": "integer"
|
|
53276
53855
|
}
|
|
53277
53856
|
},
|
|
53278
53857
|
"additionalProperties": false,
|
|
53279
53858
|
"required": [
|
|
53280
|
-
"
|
|
53859
|
+
"success",
|
|
53860
|
+
"listId",
|
|
53861
|
+
"absorbedCount",
|
|
53862
|
+
"removedEmptyBlocks"
|
|
53281
53863
|
]
|
|
53282
|
-
}
|
|
53864
|
+
},
|
|
53865
|
+
"failureSchema": {
|
|
53866
|
+
"type": "object",
|
|
53867
|
+
"properties": {
|
|
53868
|
+
"success": {
|
|
53869
|
+
"const": false
|
|
53870
|
+
},
|
|
53871
|
+
"failure": {
|
|
53872
|
+
"type": "object",
|
|
53873
|
+
"properties": {
|
|
53874
|
+
"code": {
|
|
53875
|
+
"enum": [
|
|
53876
|
+
"INVALID_TARGET",
|
|
53877
|
+
"NO_ADJACENT_SEQUENCE",
|
|
53878
|
+
"NO_OP"
|
|
53879
|
+
]
|
|
53880
|
+
},
|
|
53881
|
+
"message": {
|
|
53882
|
+
"type": "string"
|
|
53883
|
+
},
|
|
53884
|
+
"details": {}
|
|
53885
|
+
},
|
|
53886
|
+
"additionalProperties": false,
|
|
53887
|
+
"required": [
|
|
53888
|
+
"code",
|
|
53889
|
+
"message"
|
|
53890
|
+
]
|
|
53891
|
+
}
|
|
53892
|
+
},
|
|
53893
|
+
"additionalProperties": false,
|
|
53894
|
+
"required": [
|
|
53895
|
+
"success",
|
|
53896
|
+
"failure"
|
|
53897
|
+
]
|
|
53898
|
+
},
|
|
53899
|
+
"intentGroup": "list",
|
|
53900
|
+
"intentAction": "merge"
|
|
53283
53901
|
},
|
|
53284
|
-
"doc.lists.
|
|
53285
|
-
"operationId": "doc.lists.
|
|
53902
|
+
"doc.lists.split": {
|
|
53903
|
+
"operationId": "doc.lists.split",
|
|
53286
53904
|
"sdkSurface": "document",
|
|
53287
|
-
"command": "lists
|
|
53905
|
+
"command": "lists split",
|
|
53288
53906
|
"commandTokens": [
|
|
53289
53907
|
"lists",
|
|
53290
|
-
"
|
|
53908
|
+
"split"
|
|
53291
53909
|
],
|
|
53292
53910
|
"category": "lists",
|
|
53293
|
-
"description": "
|
|
53911
|
+
"description": "Compound: split a list sequence at the target item into two independent sequences. Runs lists.separate then (by default) lists.setValue(1) so the new half starts numbering fresh at 1. Pass restartNumbering:false for raw separate semantics (new half continues the previous count).",
|
|
53294
53912
|
"requiresDocumentContext": true,
|
|
53295
53913
|
"docRequirement": "optional",
|
|
53296
|
-
"responseEnvelopeKey":
|
|
53914
|
+
"responseEnvelopeKey": null,
|
|
53297
53915
|
"params": [
|
|
53298
53916
|
{
|
|
53299
53917
|
"name": "doc",
|
|
@@ -53352,6 +53970,7 @@ export const CONTRACT = {
|
|
|
53352
53970
|
"kind": "jsonFlag",
|
|
53353
53971
|
"type": "json",
|
|
53354
53972
|
"flag": "target-json",
|
|
53973
|
+
"required": true,
|
|
53355
53974
|
"schema": {
|
|
53356
53975
|
"type": "object",
|
|
53357
53976
|
"properties": {
|
|
@@ -53373,24 +53992,10 @@ export const CONTRACT = {
|
|
|
53373
53992
|
}
|
|
53374
53993
|
},
|
|
53375
53994
|
{
|
|
53376
|
-
"name": "
|
|
53995
|
+
"name": "restartNumbering",
|
|
53377
53996
|
"kind": "flag",
|
|
53378
53997
|
"type": "boolean",
|
|
53379
|
-
"flag": "
|
|
53380
|
-
},
|
|
53381
|
-
{
|
|
53382
|
-
"name": "input",
|
|
53383
|
-
"kind": "jsonFlag",
|
|
53384
|
-
"type": "json",
|
|
53385
|
-
"flag": "input-json",
|
|
53386
|
-
"description": "Operation input as JSON object."
|
|
53387
|
-
},
|
|
53388
|
-
{
|
|
53389
|
-
"name": "nodeId",
|
|
53390
|
-
"kind": "flag",
|
|
53391
|
-
"type": "string",
|
|
53392
|
-
"flag": "node-id",
|
|
53393
|
-
"description": "Node ID of the target list item."
|
|
53998
|
+
"flag": "restart-numbering"
|
|
53394
53999
|
}
|
|
53395
54000
|
],
|
|
53396
54001
|
"constraints": null,
|
|
@@ -53404,7 +54009,7 @@ export const CONTRACT = {
|
|
|
53404
54009
|
"target": {
|
|
53405
54010
|
"$ref": "#/$defs/ListItemAddress"
|
|
53406
54011
|
},
|
|
53407
|
-
"
|
|
54012
|
+
"restartNumbering": {
|
|
53408
54013
|
"type": "boolean"
|
|
53409
54014
|
}
|
|
53410
54015
|
},
|
|
@@ -53426,13 +54031,20 @@ export const CONTRACT = {
|
|
|
53426
54031
|
},
|
|
53427
54032
|
"numId": {
|
|
53428
54033
|
"type": "integer"
|
|
54034
|
+
},
|
|
54035
|
+
"restartedAt": {
|
|
54036
|
+
"type": [
|
|
54037
|
+
"integer",
|
|
54038
|
+
"null"
|
|
54039
|
+
]
|
|
53429
54040
|
}
|
|
53430
54041
|
},
|
|
53431
54042
|
"additionalProperties": false,
|
|
53432
54043
|
"required": [
|
|
53433
54044
|
"success",
|
|
53434
54045
|
"listId",
|
|
53435
|
-
"numId"
|
|
54046
|
+
"numId",
|
|
54047
|
+
"restartedAt"
|
|
53436
54048
|
]
|
|
53437
54049
|
},
|
|
53438
54050
|
{
|
|
@@ -53481,13 +54093,20 @@ export const CONTRACT = {
|
|
|
53481
54093
|
},
|
|
53482
54094
|
"numId": {
|
|
53483
54095
|
"type": "integer"
|
|
54096
|
+
},
|
|
54097
|
+
"restartedAt": {
|
|
54098
|
+
"type": [
|
|
54099
|
+
"integer",
|
|
54100
|
+
"null"
|
|
54101
|
+
]
|
|
53484
54102
|
}
|
|
53485
54103
|
},
|
|
53486
54104
|
"additionalProperties": false,
|
|
53487
54105
|
"required": [
|
|
53488
54106
|
"success",
|
|
53489
54107
|
"listId",
|
|
53490
|
-
"numId"
|
|
54108
|
+
"numId",
|
|
54109
|
+
"restartedAt"
|
|
53491
54110
|
]
|
|
53492
54111
|
},
|
|
53493
54112
|
"failureSchema": {
|
|
@@ -53522,7 +54141,9 @@ export const CONTRACT = {
|
|
|
53522
54141
|
"success",
|
|
53523
54142
|
"failure"
|
|
53524
54143
|
]
|
|
53525
|
-
}
|
|
54144
|
+
},
|
|
54145
|
+
"intentGroup": "list",
|
|
54146
|
+
"intentAction": "split"
|
|
53526
54147
|
},
|
|
53527
54148
|
"doc.lists.setLevel": {
|
|
53528
54149
|
"operationId": "doc.lists.setLevel",
|
|
@@ -54005,7 +54626,9 @@ export const CONTRACT = {
|
|
|
54005
54626
|
"success",
|
|
54006
54627
|
"failure"
|
|
54007
54628
|
]
|
|
54008
|
-
}
|
|
54629
|
+
},
|
|
54630
|
+
"intentGroup": "list",
|
|
54631
|
+
"intentAction": "set_value"
|
|
54009
54632
|
},
|
|
54010
54633
|
"doc.lists.continuePrevious": {
|
|
54011
54634
|
"operationId": "doc.lists.continuePrevious",
|
|
@@ -54233,7 +54856,9 @@ export const CONTRACT = {
|
|
|
54233
54856
|
"success",
|
|
54234
54857
|
"failure"
|
|
54235
54858
|
]
|
|
54236
|
-
}
|
|
54859
|
+
},
|
|
54860
|
+
"intentGroup": "list",
|
|
54861
|
+
"intentAction": "continue_previous"
|
|
54237
54862
|
},
|
|
54238
54863
|
"doc.lists.canContinuePrevious": {
|
|
54239
54864
|
"operationId": "doc.lists.canContinuePrevious",
|
|
@@ -60281,37 +60906,84 @@ export const CONTRACT = {
|
|
|
60281
60906
|
"type": "json",
|
|
60282
60907
|
"flag": "target-json",
|
|
60283
60908
|
"schema": {
|
|
60284
|
-
"
|
|
60285
|
-
|
|
60286
|
-
|
|
60287
|
-
"
|
|
60288
|
-
|
|
60289
|
-
|
|
60290
|
-
|
|
60909
|
+
"oneOf": [
|
|
60910
|
+
{
|
|
60911
|
+
"type": "object",
|
|
60912
|
+
"properties": {
|
|
60913
|
+
"kind": {
|
|
60914
|
+
"const": "text"
|
|
60915
|
+
},
|
|
60916
|
+
"blockId": {
|
|
60917
|
+
"type": "string"
|
|
60918
|
+
},
|
|
60919
|
+
"range": {
|
|
60920
|
+
"type": "object",
|
|
60921
|
+
"properties": {
|
|
60922
|
+
"start": {
|
|
60923
|
+
"type": "number"
|
|
60924
|
+
},
|
|
60925
|
+
"end": {
|
|
60926
|
+
"type": "number"
|
|
60927
|
+
}
|
|
60928
|
+
},
|
|
60929
|
+
"required": [
|
|
60930
|
+
"start",
|
|
60931
|
+
"end"
|
|
60932
|
+
]
|
|
60933
|
+
}
|
|
60934
|
+
},
|
|
60935
|
+
"required": [
|
|
60936
|
+
"kind",
|
|
60937
|
+
"blockId",
|
|
60938
|
+
"range"
|
|
60939
|
+
]
|
|
60291
60940
|
},
|
|
60292
|
-
|
|
60941
|
+
{
|
|
60293
60942
|
"type": "object",
|
|
60294
60943
|
"properties": {
|
|
60295
|
-
"
|
|
60296
|
-
"
|
|
60944
|
+
"kind": {
|
|
60945
|
+
"const": "text"
|
|
60297
60946
|
},
|
|
60298
|
-
"
|
|
60299
|
-
"type": "
|
|
60947
|
+
"segments": {
|
|
60948
|
+
"type": "array",
|
|
60949
|
+
"items": {
|
|
60950
|
+
"type": "object",
|
|
60951
|
+
"properties": {
|
|
60952
|
+
"blockId": {
|
|
60953
|
+
"type": "string"
|
|
60954
|
+
},
|
|
60955
|
+
"range": {
|
|
60956
|
+
"type": "object",
|
|
60957
|
+
"properties": {
|
|
60958
|
+
"start": {
|
|
60959
|
+
"type": "number"
|
|
60960
|
+
},
|
|
60961
|
+
"end": {
|
|
60962
|
+
"type": "number"
|
|
60963
|
+
}
|
|
60964
|
+
},
|
|
60965
|
+
"required": [
|
|
60966
|
+
"start",
|
|
60967
|
+
"end"
|
|
60968
|
+
]
|
|
60969
|
+
}
|
|
60970
|
+
},
|
|
60971
|
+
"required": [
|
|
60972
|
+
"blockId",
|
|
60973
|
+
"range"
|
|
60974
|
+
]
|
|
60975
|
+
}
|
|
60300
60976
|
}
|
|
60301
60977
|
},
|
|
60302
60978
|
"required": [
|
|
60303
|
-
"
|
|
60304
|
-
"
|
|
60979
|
+
"kind",
|
|
60980
|
+
"segments"
|
|
60305
60981
|
]
|
|
60306
60982
|
}
|
|
60307
|
-
|
|
60308
|
-
"
|
|
60309
|
-
"kind",
|
|
60310
|
-
"blockId",
|
|
60311
|
-
"range"
|
|
60312
|
-
]
|
|
60983
|
+
],
|
|
60984
|
+
"description": "Text range to anchor the comment. Accepts either a single-block TextAddress {kind:'text', blockId, range} or a multi-segment TextTarget {kind:'text', segments:[{blockId, range}, ...]} for selections that span blocks."
|
|
60313
60985
|
},
|
|
60314
|
-
"description": "Text range to anchor the comment
|
|
60986
|
+
"description": "Text range to anchor the comment. Accepts either a single-block TextAddress {kind:'text', blockId, range} or a multi-segment TextTarget {kind:'text', segments:[{blockId, range}, ...]} for selections that span blocks."
|
|
60315
60987
|
},
|
|
60316
60988
|
{
|
|
60317
60989
|
"name": "parentId",
|
|
@@ -60356,8 +61028,15 @@ export const CONTRACT = {
|
|
|
60356
61028
|
"description": "Comment text content."
|
|
60357
61029
|
},
|
|
60358
61030
|
"target": {
|
|
60359
|
-
"
|
|
60360
|
-
|
|
61031
|
+
"oneOf": [
|
|
61032
|
+
{
|
|
61033
|
+
"$ref": "#/$defs/TextAddress"
|
|
61034
|
+
},
|
|
61035
|
+
{
|
|
61036
|
+
"$ref": "#/$defs/TextTarget"
|
|
61037
|
+
}
|
|
61038
|
+
],
|
|
61039
|
+
"description": "Text range to anchor the comment. Accepts either a single-block TextAddress {kind:'text', blockId, range} or a multi-segment TextTarget {kind:'text', segments:[{blockId, range}, ...]} for selections that span blocks."
|
|
60361
61040
|
},
|
|
60362
61041
|
"parentCommentId": {
|
|
60363
61042
|
"type": "string",
|
|
@@ -61186,6 +61865,178 @@ export const CONTRACT = {
|
|
|
61186
61865
|
"description": "Filter by change type: 'insert', 'delete', or 'format'."
|
|
61187
61866
|
},
|
|
61188
61867
|
"description": "Filter by change type: 'insert', 'delete', or 'format'."
|
|
61868
|
+
},
|
|
61869
|
+
{
|
|
61870
|
+
"name": "in",
|
|
61871
|
+
"kind": "jsonFlag",
|
|
61872
|
+
"type": "json",
|
|
61873
|
+
"flag": "in-json",
|
|
61874
|
+
"schema": {
|
|
61875
|
+
"oneOf": [
|
|
61876
|
+
{
|
|
61877
|
+
"oneOf": [
|
|
61878
|
+
{
|
|
61879
|
+
"type": "object",
|
|
61880
|
+
"properties": {
|
|
61881
|
+
"kind": {
|
|
61882
|
+
"const": "story"
|
|
61883
|
+
},
|
|
61884
|
+
"storyType": {
|
|
61885
|
+
"const": "body"
|
|
61886
|
+
}
|
|
61887
|
+
},
|
|
61888
|
+
"required": [
|
|
61889
|
+
"kind",
|
|
61890
|
+
"storyType"
|
|
61891
|
+
]
|
|
61892
|
+
},
|
|
61893
|
+
{
|
|
61894
|
+
"type": "object",
|
|
61895
|
+
"properties": {
|
|
61896
|
+
"kind": {
|
|
61897
|
+
"const": "story"
|
|
61898
|
+
},
|
|
61899
|
+
"storyType": {
|
|
61900
|
+
"const": "headerFooterSlot"
|
|
61901
|
+
},
|
|
61902
|
+
"section": {
|
|
61903
|
+
"type": "object",
|
|
61904
|
+
"properties": {
|
|
61905
|
+
"kind": {
|
|
61906
|
+
"const": "section"
|
|
61907
|
+
},
|
|
61908
|
+
"sectionId": {
|
|
61909
|
+
"type": "string"
|
|
61910
|
+
}
|
|
61911
|
+
},
|
|
61912
|
+
"required": [
|
|
61913
|
+
"kind",
|
|
61914
|
+
"sectionId"
|
|
61915
|
+
]
|
|
61916
|
+
},
|
|
61917
|
+
"headerFooterKind": {
|
|
61918
|
+
"oneOf": [
|
|
61919
|
+
{
|
|
61920
|
+
"const": "header"
|
|
61921
|
+
},
|
|
61922
|
+
{
|
|
61923
|
+
"const": "footer"
|
|
61924
|
+
}
|
|
61925
|
+
]
|
|
61926
|
+
},
|
|
61927
|
+
"variant": {
|
|
61928
|
+
"oneOf": [
|
|
61929
|
+
{
|
|
61930
|
+
"const": "default"
|
|
61931
|
+
},
|
|
61932
|
+
{
|
|
61933
|
+
"const": "first"
|
|
61934
|
+
},
|
|
61935
|
+
{
|
|
61936
|
+
"const": "even"
|
|
61937
|
+
}
|
|
61938
|
+
]
|
|
61939
|
+
},
|
|
61940
|
+
"resolution": {
|
|
61941
|
+
"oneOf": [
|
|
61942
|
+
{
|
|
61943
|
+
"const": "effective"
|
|
61944
|
+
},
|
|
61945
|
+
{
|
|
61946
|
+
"const": "explicit"
|
|
61947
|
+
}
|
|
61948
|
+
]
|
|
61949
|
+
},
|
|
61950
|
+
"onWrite": {
|
|
61951
|
+
"oneOf": [
|
|
61952
|
+
{
|
|
61953
|
+
"const": "materializeIfInherited"
|
|
61954
|
+
},
|
|
61955
|
+
{
|
|
61956
|
+
"const": "editResolvedPart"
|
|
61957
|
+
},
|
|
61958
|
+
{
|
|
61959
|
+
"const": "error"
|
|
61960
|
+
}
|
|
61961
|
+
]
|
|
61962
|
+
}
|
|
61963
|
+
},
|
|
61964
|
+
"required": [
|
|
61965
|
+
"kind",
|
|
61966
|
+
"storyType",
|
|
61967
|
+
"section",
|
|
61968
|
+
"headerFooterKind",
|
|
61969
|
+
"variant"
|
|
61970
|
+
]
|
|
61971
|
+
},
|
|
61972
|
+
{
|
|
61973
|
+
"type": "object",
|
|
61974
|
+
"properties": {
|
|
61975
|
+
"kind": {
|
|
61976
|
+
"const": "story"
|
|
61977
|
+
},
|
|
61978
|
+
"storyType": {
|
|
61979
|
+
"const": "headerFooterPart"
|
|
61980
|
+
},
|
|
61981
|
+
"refId": {
|
|
61982
|
+
"type": "string"
|
|
61983
|
+
}
|
|
61984
|
+
},
|
|
61985
|
+
"required": [
|
|
61986
|
+
"kind",
|
|
61987
|
+
"storyType",
|
|
61988
|
+
"refId"
|
|
61989
|
+
]
|
|
61990
|
+
},
|
|
61991
|
+
{
|
|
61992
|
+
"type": "object",
|
|
61993
|
+
"properties": {
|
|
61994
|
+
"kind": {
|
|
61995
|
+
"const": "story"
|
|
61996
|
+
},
|
|
61997
|
+
"storyType": {
|
|
61998
|
+
"const": "footnote"
|
|
61999
|
+
},
|
|
62000
|
+
"noteId": {
|
|
62001
|
+
"type": "string"
|
|
62002
|
+
}
|
|
62003
|
+
},
|
|
62004
|
+
"required": [
|
|
62005
|
+
"kind",
|
|
62006
|
+
"storyType",
|
|
62007
|
+
"noteId"
|
|
62008
|
+
]
|
|
62009
|
+
},
|
|
62010
|
+
{
|
|
62011
|
+
"type": "object",
|
|
62012
|
+
"properties": {
|
|
62013
|
+
"kind": {
|
|
62014
|
+
"const": "story"
|
|
62015
|
+
},
|
|
62016
|
+
"storyType": {
|
|
62017
|
+
"const": "endnote"
|
|
62018
|
+
},
|
|
62019
|
+
"noteId": {
|
|
62020
|
+
"type": "string"
|
|
62021
|
+
}
|
|
62022
|
+
},
|
|
62023
|
+
"required": [
|
|
62024
|
+
"kind",
|
|
62025
|
+
"storyType",
|
|
62026
|
+
"noteId"
|
|
62027
|
+
]
|
|
62028
|
+
}
|
|
62029
|
+
],
|
|
62030
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
62031
|
+
},
|
|
62032
|
+
{
|
|
62033
|
+
"const": "all"
|
|
62034
|
+
}
|
|
62035
|
+
],
|
|
62036
|
+
"description": "Story scope. Omit for body only, pass a StoryLocator for a single story, or 'all' for body + every revision-capable non-body story."
|
|
62037
|
+
},
|
|
62038
|
+
"description": "Story scope. Omit for body only, pass a StoryLocator for a single story, or 'all' for body + every revision-capable non-body story.",
|
|
62039
|
+
"agentVisible": false
|
|
61189
62040
|
}
|
|
61190
62041
|
],
|
|
61191
62042
|
"constraints": null,
|
|
@@ -61211,6 +62062,17 @@ export const CONTRACT = {
|
|
|
61211
62062
|
"format"
|
|
61212
62063
|
],
|
|
61213
62064
|
"description": "Filter by change type: 'insert', 'delete', or 'format'."
|
|
62065
|
+
},
|
|
62066
|
+
"in": {
|
|
62067
|
+
"oneOf": [
|
|
62068
|
+
{
|
|
62069
|
+
"$ref": "#/$defs/StoryLocator"
|
|
62070
|
+
},
|
|
62071
|
+
{
|
|
62072
|
+
"const": "all"
|
|
62073
|
+
}
|
|
62074
|
+
],
|
|
62075
|
+
"description": "Story scope. Omit for body only, pass a StoryLocator for a single story, or 'all' for body + every revision-capable non-body story."
|
|
61214
62076
|
}
|
|
61215
62077
|
},
|
|
61216
62078
|
"additionalProperties": false
|
|
@@ -61337,6 +62199,169 @@ export const CONTRACT = {
|
|
|
61337
62199
|
"kind": "flag",
|
|
61338
62200
|
"type": "string",
|
|
61339
62201
|
"required": true
|
|
62202
|
+
},
|
|
62203
|
+
{
|
|
62204
|
+
"name": "story",
|
|
62205
|
+
"kind": "jsonFlag",
|
|
62206
|
+
"type": "json",
|
|
62207
|
+
"flag": "story-json",
|
|
62208
|
+
"schema": {
|
|
62209
|
+
"oneOf": [
|
|
62210
|
+
{
|
|
62211
|
+
"type": "object",
|
|
62212
|
+
"properties": {
|
|
62213
|
+
"kind": {
|
|
62214
|
+
"const": "story"
|
|
62215
|
+
},
|
|
62216
|
+
"storyType": {
|
|
62217
|
+
"const": "body"
|
|
62218
|
+
}
|
|
62219
|
+
},
|
|
62220
|
+
"required": [
|
|
62221
|
+
"kind",
|
|
62222
|
+
"storyType"
|
|
62223
|
+
]
|
|
62224
|
+
},
|
|
62225
|
+
{
|
|
62226
|
+
"type": "object",
|
|
62227
|
+
"properties": {
|
|
62228
|
+
"kind": {
|
|
62229
|
+
"const": "story"
|
|
62230
|
+
},
|
|
62231
|
+
"storyType": {
|
|
62232
|
+
"const": "headerFooterSlot"
|
|
62233
|
+
},
|
|
62234
|
+
"section": {
|
|
62235
|
+
"type": "object",
|
|
62236
|
+
"properties": {
|
|
62237
|
+
"kind": {
|
|
62238
|
+
"const": "section"
|
|
62239
|
+
},
|
|
62240
|
+
"sectionId": {
|
|
62241
|
+
"type": "string"
|
|
62242
|
+
}
|
|
62243
|
+
},
|
|
62244
|
+
"required": [
|
|
62245
|
+
"kind",
|
|
62246
|
+
"sectionId"
|
|
62247
|
+
]
|
|
62248
|
+
},
|
|
62249
|
+
"headerFooterKind": {
|
|
62250
|
+
"oneOf": [
|
|
62251
|
+
{
|
|
62252
|
+
"const": "header"
|
|
62253
|
+
},
|
|
62254
|
+
{
|
|
62255
|
+
"const": "footer"
|
|
62256
|
+
}
|
|
62257
|
+
]
|
|
62258
|
+
},
|
|
62259
|
+
"variant": {
|
|
62260
|
+
"oneOf": [
|
|
62261
|
+
{
|
|
62262
|
+
"const": "default"
|
|
62263
|
+
},
|
|
62264
|
+
{
|
|
62265
|
+
"const": "first"
|
|
62266
|
+
},
|
|
62267
|
+
{
|
|
62268
|
+
"const": "even"
|
|
62269
|
+
}
|
|
62270
|
+
]
|
|
62271
|
+
},
|
|
62272
|
+
"resolution": {
|
|
62273
|
+
"oneOf": [
|
|
62274
|
+
{
|
|
62275
|
+
"const": "effective"
|
|
62276
|
+
},
|
|
62277
|
+
{
|
|
62278
|
+
"const": "explicit"
|
|
62279
|
+
}
|
|
62280
|
+
]
|
|
62281
|
+
},
|
|
62282
|
+
"onWrite": {
|
|
62283
|
+
"oneOf": [
|
|
62284
|
+
{
|
|
62285
|
+
"const": "materializeIfInherited"
|
|
62286
|
+
},
|
|
62287
|
+
{
|
|
62288
|
+
"const": "editResolvedPart"
|
|
62289
|
+
},
|
|
62290
|
+
{
|
|
62291
|
+
"const": "error"
|
|
62292
|
+
}
|
|
62293
|
+
]
|
|
62294
|
+
}
|
|
62295
|
+
},
|
|
62296
|
+
"required": [
|
|
62297
|
+
"kind",
|
|
62298
|
+
"storyType",
|
|
62299
|
+
"section",
|
|
62300
|
+
"headerFooterKind",
|
|
62301
|
+
"variant"
|
|
62302
|
+
]
|
|
62303
|
+
},
|
|
62304
|
+
{
|
|
62305
|
+
"type": "object",
|
|
62306
|
+
"properties": {
|
|
62307
|
+
"kind": {
|
|
62308
|
+
"const": "story"
|
|
62309
|
+
},
|
|
62310
|
+
"storyType": {
|
|
62311
|
+
"const": "headerFooterPart"
|
|
62312
|
+
},
|
|
62313
|
+
"refId": {
|
|
62314
|
+
"type": "string"
|
|
62315
|
+
}
|
|
62316
|
+
},
|
|
62317
|
+
"required": [
|
|
62318
|
+
"kind",
|
|
62319
|
+
"storyType",
|
|
62320
|
+
"refId"
|
|
62321
|
+
]
|
|
62322
|
+
},
|
|
62323
|
+
{
|
|
62324
|
+
"type": "object",
|
|
62325
|
+
"properties": {
|
|
62326
|
+
"kind": {
|
|
62327
|
+
"const": "story"
|
|
62328
|
+
},
|
|
62329
|
+
"storyType": {
|
|
62330
|
+
"const": "footnote"
|
|
62331
|
+
},
|
|
62332
|
+
"noteId": {
|
|
62333
|
+
"type": "string"
|
|
62334
|
+
}
|
|
62335
|
+
},
|
|
62336
|
+
"required": [
|
|
62337
|
+
"kind",
|
|
62338
|
+
"storyType",
|
|
62339
|
+
"noteId"
|
|
62340
|
+
]
|
|
62341
|
+
},
|
|
62342
|
+
{
|
|
62343
|
+
"type": "object",
|
|
62344
|
+
"properties": {
|
|
62345
|
+
"kind": {
|
|
62346
|
+
"const": "story"
|
|
62347
|
+
},
|
|
62348
|
+
"storyType": {
|
|
62349
|
+
"const": "endnote"
|
|
62350
|
+
},
|
|
62351
|
+
"noteId": {
|
|
62352
|
+
"type": "string"
|
|
62353
|
+
}
|
|
62354
|
+
},
|
|
62355
|
+
"required": [
|
|
62356
|
+
"kind",
|
|
62357
|
+
"storyType",
|
|
62358
|
+
"noteId"
|
|
62359
|
+
]
|
|
62360
|
+
}
|
|
62361
|
+
],
|
|
62362
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
62363
|
+
},
|
|
62364
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
61340
62365
|
}
|
|
61341
62366
|
],
|
|
61342
62367
|
"constraints": null,
|
|
@@ -61349,6 +62374,9 @@ export const CONTRACT = {
|
|
|
61349
62374
|
"properties": {
|
|
61350
62375
|
"id": {
|
|
61351
62376
|
"type": "string"
|
|
62377
|
+
},
|
|
62378
|
+
"story": {
|
|
62379
|
+
"$ref": "#/$defs/StoryLocator"
|
|
61352
62380
|
}
|
|
61353
62381
|
},
|
|
61354
62382
|
"additionalProperties": false,
|
|
@@ -61503,6 +62531,162 @@ export const CONTRACT = {
|
|
|
61503
62531
|
"properties": {
|
|
61504
62532
|
"id": {
|
|
61505
62533
|
"type": "string"
|
|
62534
|
+
},
|
|
62535
|
+
"story": {
|
|
62536
|
+
"oneOf": [
|
|
62537
|
+
{
|
|
62538
|
+
"type": "object",
|
|
62539
|
+
"properties": {
|
|
62540
|
+
"kind": {
|
|
62541
|
+
"const": "story"
|
|
62542
|
+
},
|
|
62543
|
+
"storyType": {
|
|
62544
|
+
"const": "body"
|
|
62545
|
+
}
|
|
62546
|
+
},
|
|
62547
|
+
"required": [
|
|
62548
|
+
"kind",
|
|
62549
|
+
"storyType"
|
|
62550
|
+
]
|
|
62551
|
+
},
|
|
62552
|
+
{
|
|
62553
|
+
"type": "object",
|
|
62554
|
+
"properties": {
|
|
62555
|
+
"kind": {
|
|
62556
|
+
"const": "story"
|
|
62557
|
+
},
|
|
62558
|
+
"storyType": {
|
|
62559
|
+
"const": "headerFooterSlot"
|
|
62560
|
+
},
|
|
62561
|
+
"section": {
|
|
62562
|
+
"type": "object",
|
|
62563
|
+
"properties": {
|
|
62564
|
+
"kind": {
|
|
62565
|
+
"const": "section"
|
|
62566
|
+
},
|
|
62567
|
+
"sectionId": {
|
|
62568
|
+
"type": "string"
|
|
62569
|
+
}
|
|
62570
|
+
},
|
|
62571
|
+
"required": [
|
|
62572
|
+
"kind",
|
|
62573
|
+
"sectionId"
|
|
62574
|
+
]
|
|
62575
|
+
},
|
|
62576
|
+
"headerFooterKind": {
|
|
62577
|
+
"oneOf": [
|
|
62578
|
+
{
|
|
62579
|
+
"const": "header"
|
|
62580
|
+
},
|
|
62581
|
+
{
|
|
62582
|
+
"const": "footer"
|
|
62583
|
+
}
|
|
62584
|
+
]
|
|
62585
|
+
},
|
|
62586
|
+
"variant": {
|
|
62587
|
+
"oneOf": [
|
|
62588
|
+
{
|
|
62589
|
+
"const": "default"
|
|
62590
|
+
},
|
|
62591
|
+
{
|
|
62592
|
+
"const": "first"
|
|
62593
|
+
},
|
|
62594
|
+
{
|
|
62595
|
+
"const": "even"
|
|
62596
|
+
}
|
|
62597
|
+
]
|
|
62598
|
+
},
|
|
62599
|
+
"resolution": {
|
|
62600
|
+
"oneOf": [
|
|
62601
|
+
{
|
|
62602
|
+
"const": "effective"
|
|
62603
|
+
},
|
|
62604
|
+
{
|
|
62605
|
+
"const": "explicit"
|
|
62606
|
+
}
|
|
62607
|
+
]
|
|
62608
|
+
},
|
|
62609
|
+
"onWrite": {
|
|
62610
|
+
"oneOf": [
|
|
62611
|
+
{
|
|
62612
|
+
"const": "materializeIfInherited"
|
|
62613
|
+
},
|
|
62614
|
+
{
|
|
62615
|
+
"const": "editResolvedPart"
|
|
62616
|
+
},
|
|
62617
|
+
{
|
|
62618
|
+
"const": "error"
|
|
62619
|
+
}
|
|
62620
|
+
]
|
|
62621
|
+
}
|
|
62622
|
+
},
|
|
62623
|
+
"required": [
|
|
62624
|
+
"kind",
|
|
62625
|
+
"storyType",
|
|
62626
|
+
"section",
|
|
62627
|
+
"headerFooterKind",
|
|
62628
|
+
"variant"
|
|
62629
|
+
]
|
|
62630
|
+
},
|
|
62631
|
+
{
|
|
62632
|
+
"type": "object",
|
|
62633
|
+
"properties": {
|
|
62634
|
+
"kind": {
|
|
62635
|
+
"const": "story"
|
|
62636
|
+
},
|
|
62637
|
+
"storyType": {
|
|
62638
|
+
"const": "headerFooterPart"
|
|
62639
|
+
},
|
|
62640
|
+
"refId": {
|
|
62641
|
+
"type": "string"
|
|
62642
|
+
}
|
|
62643
|
+
},
|
|
62644
|
+
"required": [
|
|
62645
|
+
"kind",
|
|
62646
|
+
"storyType",
|
|
62647
|
+
"refId"
|
|
62648
|
+
]
|
|
62649
|
+
},
|
|
62650
|
+
{
|
|
62651
|
+
"type": "object",
|
|
62652
|
+
"properties": {
|
|
62653
|
+
"kind": {
|
|
62654
|
+
"const": "story"
|
|
62655
|
+
},
|
|
62656
|
+
"storyType": {
|
|
62657
|
+
"const": "footnote"
|
|
62658
|
+
},
|
|
62659
|
+
"noteId": {
|
|
62660
|
+
"type": "string"
|
|
62661
|
+
}
|
|
62662
|
+
},
|
|
62663
|
+
"required": [
|
|
62664
|
+
"kind",
|
|
62665
|
+
"storyType",
|
|
62666
|
+
"noteId"
|
|
62667
|
+
]
|
|
62668
|
+
},
|
|
62669
|
+
{
|
|
62670
|
+
"type": "object",
|
|
62671
|
+
"properties": {
|
|
62672
|
+
"kind": {
|
|
62673
|
+
"const": "story"
|
|
62674
|
+
},
|
|
62675
|
+
"storyType": {
|
|
62676
|
+
"const": "endnote"
|
|
62677
|
+
},
|
|
62678
|
+
"noteId": {
|
|
62679
|
+
"type": "string"
|
|
62680
|
+
}
|
|
62681
|
+
},
|
|
62682
|
+
"required": [
|
|
62683
|
+
"kind",
|
|
62684
|
+
"storyType",
|
|
62685
|
+
"noteId"
|
|
62686
|
+
]
|
|
62687
|
+
}
|
|
62688
|
+
],
|
|
62689
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
61506
62690
|
}
|
|
61507
62691
|
},
|
|
61508
62692
|
"required": [
|
|
@@ -61549,6 +62733,9 @@ export const CONTRACT = {
|
|
|
61549
62733
|
"properties": {
|
|
61550
62734
|
"id": {
|
|
61551
62735
|
"type": "string"
|
|
62736
|
+
},
|
|
62737
|
+
"story": {
|
|
62738
|
+
"$ref": "#/$defs/StoryLocator"
|
|
61552
62739
|
}
|
|
61553
62740
|
},
|
|
61554
62741
|
"additionalProperties": false,
|
|
@@ -62939,6 +64126,88 @@ export const CONTRACT = {
|
|
|
62939
64126
|
]
|
|
62940
64127
|
}
|
|
62941
64128
|
},
|
|
64129
|
+
"doc.selection.current": {
|
|
64130
|
+
"operationId": "doc.selection.current",
|
|
64131
|
+
"sdkSurface": "document",
|
|
64132
|
+
"command": "selection current",
|
|
64133
|
+
"commandTokens": [
|
|
64134
|
+
"selection",
|
|
64135
|
+
"current"
|
|
64136
|
+
],
|
|
64137
|
+
"category": "core",
|
|
64138
|
+
"description": "Read the editor's current selection as a portable SelectionInfo with a text-anchored TextTarget. Primitive for building custom comments UIs, floating toolbars, and other selection-driven components without reaching into ProseMirror internals.",
|
|
64139
|
+
"requiresDocumentContext": true,
|
|
64140
|
+
"docRequirement": "optional",
|
|
64141
|
+
"responseEnvelopeKey": null,
|
|
64142
|
+
"params": [
|
|
64143
|
+
{
|
|
64144
|
+
"name": "doc",
|
|
64145
|
+
"kind": "doc",
|
|
64146
|
+
"type": "string",
|
|
64147
|
+
"description": "Document path. Optional when a session is already open."
|
|
64148
|
+
},
|
|
64149
|
+
{
|
|
64150
|
+
"name": "sessionId",
|
|
64151
|
+
"kind": "flag",
|
|
64152
|
+
"type": "string",
|
|
64153
|
+
"flag": "session",
|
|
64154
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
64155
|
+
},
|
|
64156
|
+
{
|
|
64157
|
+
"name": "includeText",
|
|
64158
|
+
"kind": "flag",
|
|
64159
|
+
"type": "boolean",
|
|
64160
|
+
"flag": "include-text"
|
|
64161
|
+
}
|
|
64162
|
+
],
|
|
64163
|
+
"constraints": null,
|
|
64164
|
+
"mutates": false,
|
|
64165
|
+
"idempotency": "idempotent",
|
|
64166
|
+
"supportsTrackedMode": false,
|
|
64167
|
+
"supportsDryRun": false,
|
|
64168
|
+
"inputSchema": {
|
|
64169
|
+
"type": "object",
|
|
64170
|
+
"properties": {
|
|
64171
|
+
"includeText": {
|
|
64172
|
+
"type": "boolean"
|
|
64173
|
+
}
|
|
64174
|
+
},
|
|
64175
|
+
"additionalProperties": false
|
|
64176
|
+
},
|
|
64177
|
+
"outputSchema": {
|
|
64178
|
+
"type": "object",
|
|
64179
|
+
"properties": {
|
|
64180
|
+
"empty": {
|
|
64181
|
+
"type": "boolean"
|
|
64182
|
+
},
|
|
64183
|
+
"target": {
|
|
64184
|
+
"oneOf": [
|
|
64185
|
+
{
|
|
64186
|
+
"$ref": "#/$defs/TextTarget"
|
|
64187
|
+
},
|
|
64188
|
+
{
|
|
64189
|
+
"type": "null"
|
|
64190
|
+
}
|
|
64191
|
+
]
|
|
64192
|
+
},
|
|
64193
|
+
"activeMarks": {
|
|
64194
|
+
"type": "array",
|
|
64195
|
+
"items": {
|
|
64196
|
+
"type": "string"
|
|
64197
|
+
}
|
|
64198
|
+
},
|
|
64199
|
+
"text": {
|
|
64200
|
+
"type": "string"
|
|
64201
|
+
}
|
|
64202
|
+
},
|
|
64203
|
+
"additionalProperties": false,
|
|
64204
|
+
"required": [
|
|
64205
|
+
"empty",
|
|
64206
|
+
"target",
|
|
64207
|
+
"activeMarks"
|
|
64208
|
+
]
|
|
64209
|
+
}
|
|
64210
|
+
},
|
|
62942
64211
|
"doc.mutations.preview": {
|
|
62943
64212
|
"operationId": "doc.mutations.preview",
|
|
62944
64213
|
"sdkSurface": "document",
|
|
@@ -80216,6 +81485,76 @@ export const CONTRACT = {
|
|
|
80216
81485
|
"dryRun"
|
|
80217
81486
|
]
|
|
80218
81487
|
},
|
|
81488
|
+
"lists.merge": {
|
|
81489
|
+
"type": "object",
|
|
81490
|
+
"properties": {
|
|
81491
|
+
"available": {
|
|
81492
|
+
"type": "boolean"
|
|
81493
|
+
},
|
|
81494
|
+
"tracked": {
|
|
81495
|
+
"type": "boolean"
|
|
81496
|
+
},
|
|
81497
|
+
"dryRun": {
|
|
81498
|
+
"type": "boolean"
|
|
81499
|
+
},
|
|
81500
|
+
"reasons": {
|
|
81501
|
+
"type": "array",
|
|
81502
|
+
"items": {
|
|
81503
|
+
"enum": [
|
|
81504
|
+
"COMMAND_UNAVAILABLE",
|
|
81505
|
+
"HELPER_UNAVAILABLE",
|
|
81506
|
+
"OPERATION_UNAVAILABLE",
|
|
81507
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
81508
|
+
"DRY_RUN_UNAVAILABLE",
|
|
81509
|
+
"NAMESPACE_UNAVAILABLE",
|
|
81510
|
+
"STYLES_PART_MISSING",
|
|
81511
|
+
"COLLABORATION_ACTIVE"
|
|
81512
|
+
]
|
|
81513
|
+
}
|
|
81514
|
+
}
|
|
81515
|
+
},
|
|
81516
|
+
"additionalProperties": false,
|
|
81517
|
+
"required": [
|
|
81518
|
+
"available",
|
|
81519
|
+
"tracked",
|
|
81520
|
+
"dryRun"
|
|
81521
|
+
]
|
|
81522
|
+
},
|
|
81523
|
+
"lists.split": {
|
|
81524
|
+
"type": "object",
|
|
81525
|
+
"properties": {
|
|
81526
|
+
"available": {
|
|
81527
|
+
"type": "boolean"
|
|
81528
|
+
},
|
|
81529
|
+
"tracked": {
|
|
81530
|
+
"type": "boolean"
|
|
81531
|
+
},
|
|
81532
|
+
"dryRun": {
|
|
81533
|
+
"type": "boolean"
|
|
81534
|
+
},
|
|
81535
|
+
"reasons": {
|
|
81536
|
+
"type": "array",
|
|
81537
|
+
"items": {
|
|
81538
|
+
"enum": [
|
|
81539
|
+
"COMMAND_UNAVAILABLE",
|
|
81540
|
+
"HELPER_UNAVAILABLE",
|
|
81541
|
+
"OPERATION_UNAVAILABLE",
|
|
81542
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
81543
|
+
"DRY_RUN_UNAVAILABLE",
|
|
81544
|
+
"NAMESPACE_UNAVAILABLE",
|
|
81545
|
+
"STYLES_PART_MISSING",
|
|
81546
|
+
"COLLABORATION_ACTIVE"
|
|
81547
|
+
]
|
|
81548
|
+
}
|
|
81549
|
+
}
|
|
81550
|
+
},
|
|
81551
|
+
"additionalProperties": false,
|
|
81552
|
+
"required": [
|
|
81553
|
+
"available",
|
|
81554
|
+
"tracked",
|
|
81555
|
+
"dryRun"
|
|
81556
|
+
]
|
|
81557
|
+
},
|
|
80219
81558
|
"lists.setLevel": {
|
|
80220
81559
|
"type": "object",
|
|
80221
81560
|
"properties": {
|
|
@@ -81441,6 +82780,41 @@ export const CONTRACT = {
|
|
|
81441
82780
|
"dryRun"
|
|
81442
82781
|
]
|
|
81443
82782
|
},
|
|
82783
|
+
"selection.current": {
|
|
82784
|
+
"type": "object",
|
|
82785
|
+
"properties": {
|
|
82786
|
+
"available": {
|
|
82787
|
+
"type": "boolean"
|
|
82788
|
+
},
|
|
82789
|
+
"tracked": {
|
|
82790
|
+
"type": "boolean"
|
|
82791
|
+
},
|
|
82792
|
+
"dryRun": {
|
|
82793
|
+
"type": "boolean"
|
|
82794
|
+
},
|
|
82795
|
+
"reasons": {
|
|
82796
|
+
"type": "array",
|
|
82797
|
+
"items": {
|
|
82798
|
+
"enum": [
|
|
82799
|
+
"COMMAND_UNAVAILABLE",
|
|
82800
|
+
"HELPER_UNAVAILABLE",
|
|
82801
|
+
"OPERATION_UNAVAILABLE",
|
|
82802
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
82803
|
+
"DRY_RUN_UNAVAILABLE",
|
|
82804
|
+
"NAMESPACE_UNAVAILABLE",
|
|
82805
|
+
"STYLES_PART_MISSING",
|
|
82806
|
+
"COLLABORATION_ACTIVE"
|
|
82807
|
+
]
|
|
82808
|
+
}
|
|
82809
|
+
}
|
|
82810
|
+
},
|
|
82811
|
+
"additionalProperties": false,
|
|
82812
|
+
"required": [
|
|
82813
|
+
"available",
|
|
82814
|
+
"tracked",
|
|
82815
|
+
"dryRun"
|
|
82816
|
+
]
|
|
82817
|
+
},
|
|
81444
82818
|
"mutations.preview": {
|
|
81445
82819
|
"type": "object",
|
|
81446
82820
|
"properties": {
|
|
@@ -89819,6 +91193,8 @@ export const CONTRACT = {
|
|
|
89819
91193
|
"lists.join",
|
|
89820
91194
|
"lists.canJoin",
|
|
89821
91195
|
"lists.separate",
|
|
91196
|
+
"lists.merge",
|
|
91197
|
+
"lists.split",
|
|
89822
91198
|
"lists.setLevel",
|
|
89823
91199
|
"lists.setValue",
|
|
89824
91200
|
"lists.continuePrevious",
|
|
@@ -89854,6 +91230,7 @@ export const CONTRACT = {
|
|
|
89854
91230
|
"trackChanges.decide",
|
|
89855
91231
|
"query.match",
|
|
89856
91232
|
"ranges.resolve",
|
|
91233
|
+
"selection.current",
|
|
89857
91234
|
"mutations.preview",
|
|
89858
91235
|
"mutations.apply",
|
|
89859
91236
|
"capabilities.get",
|
|
@@ -106965,7 +108342,7 @@ export const CONTRACT = {
|
|
|
106965
108342
|
"get"
|
|
106966
108343
|
],
|
|
106967
108344
|
"category": "history",
|
|
106968
|
-
"description": "Query the current undo/redo history state of the
|
|
108345
|
+
"description": "Query the current undo/redo history state of the document.",
|
|
106969
108346
|
"requiresDocumentContext": true,
|
|
106970
108347
|
"docRequirement": "optional",
|
|
106971
108348
|
"responseEnvelopeKey": "result",
|
|
@@ -107037,7 +108414,7 @@ export const CONTRACT = {
|
|
|
107037
108414
|
"undo"
|
|
107038
108415
|
],
|
|
107039
108416
|
"category": "history",
|
|
107040
|
-
"description": "Undo the most recent history-safe mutation in the
|
|
108417
|
+
"description": "Undo the most recent history-safe mutation in the document.",
|
|
107041
108418
|
"requiresDocumentContext": true,
|
|
107042
108419
|
"docRequirement": "optional",
|
|
107043
108420
|
"responseEnvelopeKey": "result",
|
|
@@ -107200,7 +108577,7 @@ export const CONTRACT = {
|
|
|
107200
108577
|
"redo"
|
|
107201
108578
|
],
|
|
107202
108579
|
"category": "history",
|
|
107203
|
-
"description": "Redo the most recently undone action in the
|
|
108580
|
+
"description": "Redo the most recently undone action in the document.",
|
|
107204
108581
|
"requiresDocumentContext": true,
|
|
107205
108582
|
"docRequirement": "optional",
|
|
107206
108583
|
"responseEnvelopeKey": "result",
|