@superdoc-dev/sdk 1.8.0-next.4 → 1.8.0-next.6
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 +4 -0
- package/dist/generated/client.d.ts +84 -0
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +4 -0
- package/dist/generated/contract.cjs +802 -222
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +802 -222
- 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 +85 -4
- 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 +47 -4
- package/tools/tools.generic.json +53 -5
- package/tools/tools.openai.json +47 -4
- package/tools/tools.vercel.json +47 -4
|
@@ -51156,7 +51156,9 @@ const CONTRACT = {
|
|
|
51156
51156
|
"success",
|
|
51157
51157
|
"failure"
|
|
51158
51158
|
]
|
|
51159
|
-
}
|
|
51159
|
+
},
|
|
51160
|
+
"intentGroup": "list",
|
|
51161
|
+
"intentAction": "attach"
|
|
51160
51162
|
},
|
|
51161
51163
|
"doc.lists.detach": {
|
|
51162
51164
|
"operationId": "doc.lists.detach",
|
|
@@ -51289,14 +51291,470 @@ const CONTRACT = {
|
|
|
51289
51291
|
"success": {
|
|
51290
51292
|
"const": true
|
|
51291
51293
|
},
|
|
51292
|
-
"paragraph": {
|
|
51293
|
-
"$ref": "#/$defs/ParagraphAddress"
|
|
51294
|
+
"paragraph": {
|
|
51295
|
+
"$ref": "#/$defs/ParagraphAddress"
|
|
51296
|
+
}
|
|
51297
|
+
},
|
|
51298
|
+
"additionalProperties": false,
|
|
51299
|
+
"required": [
|
|
51300
|
+
"success",
|
|
51301
|
+
"paragraph"
|
|
51302
|
+
]
|
|
51303
|
+
},
|
|
51304
|
+
{
|
|
51305
|
+
"type": "object",
|
|
51306
|
+
"properties": {
|
|
51307
|
+
"success": {
|
|
51308
|
+
"const": false
|
|
51309
|
+
},
|
|
51310
|
+
"failure": {
|
|
51311
|
+
"type": "object",
|
|
51312
|
+
"properties": {
|
|
51313
|
+
"code": {
|
|
51314
|
+
"enum": [
|
|
51315
|
+
"INVALID_TARGET"
|
|
51316
|
+
]
|
|
51317
|
+
},
|
|
51318
|
+
"message": {
|
|
51319
|
+
"type": "string"
|
|
51320
|
+
},
|
|
51321
|
+
"details": {}
|
|
51322
|
+
},
|
|
51323
|
+
"additionalProperties": false,
|
|
51324
|
+
"required": [
|
|
51325
|
+
"code",
|
|
51326
|
+
"message"
|
|
51327
|
+
]
|
|
51328
|
+
}
|
|
51329
|
+
},
|
|
51330
|
+
"additionalProperties": false,
|
|
51331
|
+
"required": [
|
|
51332
|
+
"success",
|
|
51333
|
+
"failure"
|
|
51334
|
+
]
|
|
51335
|
+
}
|
|
51336
|
+
]
|
|
51337
|
+
},
|
|
51338
|
+
"successSchema": {
|
|
51339
|
+
"type": "object",
|
|
51340
|
+
"properties": {
|
|
51341
|
+
"success": {
|
|
51342
|
+
"const": true
|
|
51343
|
+
},
|
|
51344
|
+
"paragraph": {
|
|
51345
|
+
"$ref": "#/$defs/ParagraphAddress"
|
|
51346
|
+
}
|
|
51347
|
+
},
|
|
51348
|
+
"additionalProperties": false,
|
|
51349
|
+
"required": [
|
|
51350
|
+
"success",
|
|
51351
|
+
"paragraph"
|
|
51352
|
+
]
|
|
51353
|
+
},
|
|
51354
|
+
"failureSchema": {
|
|
51355
|
+
"type": "object",
|
|
51356
|
+
"properties": {
|
|
51357
|
+
"success": {
|
|
51358
|
+
"const": false
|
|
51359
|
+
},
|
|
51360
|
+
"failure": {
|
|
51361
|
+
"type": "object",
|
|
51362
|
+
"properties": {
|
|
51363
|
+
"code": {
|
|
51364
|
+
"enum": [
|
|
51365
|
+
"INVALID_TARGET"
|
|
51366
|
+
]
|
|
51367
|
+
},
|
|
51368
|
+
"message": {
|
|
51369
|
+
"type": "string"
|
|
51370
|
+
},
|
|
51371
|
+
"details": {}
|
|
51372
|
+
},
|
|
51373
|
+
"additionalProperties": false,
|
|
51374
|
+
"required": [
|
|
51375
|
+
"code",
|
|
51376
|
+
"message"
|
|
51377
|
+
]
|
|
51378
|
+
}
|
|
51379
|
+
},
|
|
51380
|
+
"additionalProperties": false,
|
|
51381
|
+
"required": [
|
|
51382
|
+
"success",
|
|
51383
|
+
"failure"
|
|
51384
|
+
]
|
|
51385
|
+
},
|
|
51386
|
+
"intentGroup": "list",
|
|
51387
|
+
"intentAction": "detach"
|
|
51388
|
+
},
|
|
51389
|
+
"doc.lists.indent": {
|
|
51390
|
+
"operationId": "doc.lists.indent",
|
|
51391
|
+
"sdkSurface": "document",
|
|
51392
|
+
"command": "lists indent",
|
|
51393
|
+
"commandTokens": [
|
|
51394
|
+
"lists",
|
|
51395
|
+
"indent"
|
|
51396
|
+
],
|
|
51397
|
+
"category": "lists",
|
|
51398
|
+
"description": "Increase the indentation level of a list item.",
|
|
51399
|
+
"requiresDocumentContext": true,
|
|
51400
|
+
"docRequirement": "optional",
|
|
51401
|
+
"responseEnvelopeKey": "result",
|
|
51402
|
+
"params": [
|
|
51403
|
+
{
|
|
51404
|
+
"name": "doc",
|
|
51405
|
+
"kind": "doc",
|
|
51406
|
+
"type": "string",
|
|
51407
|
+
"description": "Document path. Optional when a session is already open."
|
|
51408
|
+
},
|
|
51409
|
+
{
|
|
51410
|
+
"name": "sessionId",
|
|
51411
|
+
"kind": "flag",
|
|
51412
|
+
"type": "string",
|
|
51413
|
+
"flag": "session",
|
|
51414
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
51415
|
+
},
|
|
51416
|
+
{
|
|
51417
|
+
"name": "out",
|
|
51418
|
+
"kind": "flag",
|
|
51419
|
+
"type": "string",
|
|
51420
|
+
"agentVisible": false
|
|
51421
|
+
},
|
|
51422
|
+
{
|
|
51423
|
+
"name": "force",
|
|
51424
|
+
"kind": "flag",
|
|
51425
|
+
"type": "boolean",
|
|
51426
|
+
"description": "Bypass confirmation checks."
|
|
51427
|
+
},
|
|
51428
|
+
{
|
|
51429
|
+
"name": "expectedRevision",
|
|
51430
|
+
"kind": "flag",
|
|
51431
|
+
"type": "number",
|
|
51432
|
+
"flag": "expected-revision",
|
|
51433
|
+
"agentVisible": false
|
|
51434
|
+
},
|
|
51435
|
+
{
|
|
51436
|
+
"name": "changeMode",
|
|
51437
|
+
"kind": "flag",
|
|
51438
|
+
"type": "string",
|
|
51439
|
+
"flag": "change-mode",
|
|
51440
|
+
"schema": {
|
|
51441
|
+
"enum": [
|
|
51442
|
+
"direct",
|
|
51443
|
+
"tracked"
|
|
51444
|
+
]
|
|
51445
|
+
},
|
|
51446
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
51447
|
+
},
|
|
51448
|
+
{
|
|
51449
|
+
"name": "dryRun",
|
|
51450
|
+
"kind": "flag",
|
|
51451
|
+
"type": "boolean",
|
|
51452
|
+
"flag": "dry-run",
|
|
51453
|
+
"description": "Preview the result without applying changes."
|
|
51454
|
+
},
|
|
51455
|
+
{
|
|
51456
|
+
"name": "target",
|
|
51457
|
+
"kind": "jsonFlag",
|
|
51458
|
+
"type": "json",
|
|
51459
|
+
"flag": "target-json",
|
|
51460
|
+
"schema": {
|
|
51461
|
+
"type": "object",
|
|
51462
|
+
"properties": {
|
|
51463
|
+
"kind": {
|
|
51464
|
+
"const": "block"
|
|
51465
|
+
},
|
|
51466
|
+
"nodeType": {
|
|
51467
|
+
"const": "listItem"
|
|
51468
|
+
},
|
|
51469
|
+
"nodeId": {
|
|
51470
|
+
"type": "string"
|
|
51471
|
+
}
|
|
51472
|
+
},
|
|
51473
|
+
"required": [
|
|
51474
|
+
"kind",
|
|
51475
|
+
"nodeType",
|
|
51476
|
+
"nodeId"
|
|
51477
|
+
]
|
|
51478
|
+
}
|
|
51479
|
+
},
|
|
51480
|
+
{
|
|
51481
|
+
"name": "input",
|
|
51482
|
+
"kind": "jsonFlag",
|
|
51483
|
+
"type": "json",
|
|
51484
|
+
"flag": "input-json",
|
|
51485
|
+
"description": "Operation input as JSON object."
|
|
51486
|
+
},
|
|
51487
|
+
{
|
|
51488
|
+
"name": "nodeId",
|
|
51489
|
+
"kind": "flag",
|
|
51490
|
+
"type": "string",
|
|
51491
|
+
"flag": "node-id",
|
|
51492
|
+
"description": "Node ID of the target list item."
|
|
51493
|
+
}
|
|
51494
|
+
],
|
|
51495
|
+
"constraints": null,
|
|
51496
|
+
"mutates": true,
|
|
51497
|
+
"idempotency": "conditional",
|
|
51498
|
+
"supportsTrackedMode": false,
|
|
51499
|
+
"supportsDryRun": true,
|
|
51500
|
+
"inputSchema": {
|
|
51501
|
+
"type": "object",
|
|
51502
|
+
"properties": {
|
|
51503
|
+
"target": {
|
|
51504
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
51505
|
+
}
|
|
51506
|
+
},
|
|
51507
|
+
"additionalProperties": false,
|
|
51508
|
+
"required": [
|
|
51509
|
+
"target"
|
|
51510
|
+
]
|
|
51511
|
+
},
|
|
51512
|
+
"outputSchema": {
|
|
51513
|
+
"oneOf": [
|
|
51514
|
+
{
|
|
51515
|
+
"type": "object",
|
|
51516
|
+
"properties": {
|
|
51517
|
+
"success": {
|
|
51518
|
+
"const": true
|
|
51519
|
+
},
|
|
51520
|
+
"item": {
|
|
51521
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
51522
|
+
}
|
|
51523
|
+
},
|
|
51524
|
+
"additionalProperties": false,
|
|
51525
|
+
"required": [
|
|
51526
|
+
"success",
|
|
51527
|
+
"item"
|
|
51528
|
+
]
|
|
51529
|
+
},
|
|
51530
|
+
{
|
|
51531
|
+
"type": "object",
|
|
51532
|
+
"properties": {
|
|
51533
|
+
"success": {
|
|
51534
|
+
"const": false
|
|
51535
|
+
},
|
|
51536
|
+
"failure": {
|
|
51537
|
+
"type": "object",
|
|
51538
|
+
"properties": {
|
|
51539
|
+
"code": {
|
|
51540
|
+
"enum": [
|
|
51541
|
+
"NO_OP",
|
|
51542
|
+
"INVALID_TARGET",
|
|
51543
|
+
"LEVEL_OUT_OF_RANGE"
|
|
51544
|
+
]
|
|
51545
|
+
},
|
|
51546
|
+
"message": {
|
|
51547
|
+
"type": "string"
|
|
51548
|
+
},
|
|
51549
|
+
"details": {}
|
|
51550
|
+
},
|
|
51551
|
+
"additionalProperties": false,
|
|
51552
|
+
"required": [
|
|
51553
|
+
"code",
|
|
51554
|
+
"message"
|
|
51555
|
+
]
|
|
51556
|
+
}
|
|
51557
|
+
},
|
|
51558
|
+
"additionalProperties": false,
|
|
51559
|
+
"required": [
|
|
51560
|
+
"success",
|
|
51561
|
+
"failure"
|
|
51562
|
+
]
|
|
51563
|
+
}
|
|
51564
|
+
]
|
|
51565
|
+
},
|
|
51566
|
+
"successSchema": {
|
|
51567
|
+
"type": "object",
|
|
51568
|
+
"properties": {
|
|
51569
|
+
"success": {
|
|
51570
|
+
"const": true
|
|
51571
|
+
},
|
|
51572
|
+
"item": {
|
|
51573
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
51574
|
+
}
|
|
51575
|
+
},
|
|
51576
|
+
"additionalProperties": false,
|
|
51577
|
+
"required": [
|
|
51578
|
+
"success",
|
|
51579
|
+
"item"
|
|
51580
|
+
]
|
|
51581
|
+
},
|
|
51582
|
+
"failureSchema": {
|
|
51583
|
+
"type": "object",
|
|
51584
|
+
"properties": {
|
|
51585
|
+
"success": {
|
|
51586
|
+
"const": false
|
|
51587
|
+
},
|
|
51588
|
+
"failure": {
|
|
51589
|
+
"type": "object",
|
|
51590
|
+
"properties": {
|
|
51591
|
+
"code": {
|
|
51592
|
+
"enum": [
|
|
51593
|
+
"NO_OP",
|
|
51594
|
+
"INVALID_TARGET",
|
|
51595
|
+
"LEVEL_OUT_OF_RANGE"
|
|
51596
|
+
]
|
|
51597
|
+
},
|
|
51598
|
+
"message": {
|
|
51599
|
+
"type": "string"
|
|
51600
|
+
},
|
|
51601
|
+
"details": {}
|
|
51602
|
+
},
|
|
51603
|
+
"additionalProperties": false,
|
|
51604
|
+
"required": [
|
|
51605
|
+
"code",
|
|
51606
|
+
"message"
|
|
51607
|
+
]
|
|
51608
|
+
}
|
|
51609
|
+
},
|
|
51610
|
+
"additionalProperties": false,
|
|
51611
|
+
"required": [
|
|
51612
|
+
"success",
|
|
51613
|
+
"failure"
|
|
51614
|
+
]
|
|
51615
|
+
},
|
|
51616
|
+
"intentGroup": "list",
|
|
51617
|
+
"intentAction": "indent"
|
|
51618
|
+
},
|
|
51619
|
+
"doc.lists.outdent": {
|
|
51620
|
+
"operationId": "doc.lists.outdent",
|
|
51621
|
+
"sdkSurface": "document",
|
|
51622
|
+
"command": "lists outdent",
|
|
51623
|
+
"commandTokens": [
|
|
51624
|
+
"lists",
|
|
51625
|
+
"outdent"
|
|
51626
|
+
],
|
|
51627
|
+
"category": "lists",
|
|
51628
|
+
"description": "Decrease the indentation level of a list item.",
|
|
51629
|
+
"requiresDocumentContext": true,
|
|
51630
|
+
"docRequirement": "optional",
|
|
51631
|
+
"responseEnvelopeKey": "result",
|
|
51632
|
+
"params": [
|
|
51633
|
+
{
|
|
51634
|
+
"name": "doc",
|
|
51635
|
+
"kind": "doc",
|
|
51636
|
+
"type": "string",
|
|
51637
|
+
"description": "Document path. Optional when a session is already open."
|
|
51638
|
+
},
|
|
51639
|
+
{
|
|
51640
|
+
"name": "sessionId",
|
|
51641
|
+
"kind": "flag",
|
|
51642
|
+
"type": "string",
|
|
51643
|
+
"flag": "session",
|
|
51644
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
51645
|
+
},
|
|
51646
|
+
{
|
|
51647
|
+
"name": "out",
|
|
51648
|
+
"kind": "flag",
|
|
51649
|
+
"type": "string",
|
|
51650
|
+
"agentVisible": false
|
|
51651
|
+
},
|
|
51652
|
+
{
|
|
51653
|
+
"name": "force",
|
|
51654
|
+
"kind": "flag",
|
|
51655
|
+
"type": "boolean",
|
|
51656
|
+
"description": "Bypass confirmation checks."
|
|
51657
|
+
},
|
|
51658
|
+
{
|
|
51659
|
+
"name": "expectedRevision",
|
|
51660
|
+
"kind": "flag",
|
|
51661
|
+
"type": "number",
|
|
51662
|
+
"flag": "expected-revision",
|
|
51663
|
+
"agentVisible": false
|
|
51664
|
+
},
|
|
51665
|
+
{
|
|
51666
|
+
"name": "changeMode",
|
|
51667
|
+
"kind": "flag",
|
|
51668
|
+
"type": "string",
|
|
51669
|
+
"flag": "change-mode",
|
|
51670
|
+
"schema": {
|
|
51671
|
+
"enum": [
|
|
51672
|
+
"direct",
|
|
51673
|
+
"tracked"
|
|
51674
|
+
]
|
|
51675
|
+
},
|
|
51676
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
51677
|
+
},
|
|
51678
|
+
{
|
|
51679
|
+
"name": "dryRun",
|
|
51680
|
+
"kind": "flag",
|
|
51681
|
+
"type": "boolean",
|
|
51682
|
+
"flag": "dry-run",
|
|
51683
|
+
"description": "Preview the result without applying changes."
|
|
51684
|
+
},
|
|
51685
|
+
{
|
|
51686
|
+
"name": "target",
|
|
51687
|
+
"kind": "jsonFlag",
|
|
51688
|
+
"type": "json",
|
|
51689
|
+
"flag": "target-json",
|
|
51690
|
+
"schema": {
|
|
51691
|
+
"type": "object",
|
|
51692
|
+
"properties": {
|
|
51693
|
+
"kind": {
|
|
51694
|
+
"const": "block"
|
|
51695
|
+
},
|
|
51696
|
+
"nodeType": {
|
|
51697
|
+
"const": "listItem"
|
|
51698
|
+
},
|
|
51699
|
+
"nodeId": {
|
|
51700
|
+
"type": "string"
|
|
51701
|
+
}
|
|
51702
|
+
},
|
|
51703
|
+
"required": [
|
|
51704
|
+
"kind",
|
|
51705
|
+
"nodeType",
|
|
51706
|
+
"nodeId"
|
|
51707
|
+
]
|
|
51708
|
+
}
|
|
51709
|
+
},
|
|
51710
|
+
{
|
|
51711
|
+
"name": "input",
|
|
51712
|
+
"kind": "jsonFlag",
|
|
51713
|
+
"type": "json",
|
|
51714
|
+
"flag": "input-json",
|
|
51715
|
+
"description": "Operation input as JSON object."
|
|
51716
|
+
},
|
|
51717
|
+
{
|
|
51718
|
+
"name": "nodeId",
|
|
51719
|
+
"kind": "flag",
|
|
51720
|
+
"type": "string",
|
|
51721
|
+
"flag": "node-id",
|
|
51722
|
+
"description": "Node ID of the target list item."
|
|
51723
|
+
}
|
|
51724
|
+
],
|
|
51725
|
+
"constraints": null,
|
|
51726
|
+
"mutates": true,
|
|
51727
|
+
"idempotency": "conditional",
|
|
51728
|
+
"supportsTrackedMode": false,
|
|
51729
|
+
"supportsDryRun": true,
|
|
51730
|
+
"inputSchema": {
|
|
51731
|
+
"type": "object",
|
|
51732
|
+
"properties": {
|
|
51733
|
+
"target": {
|
|
51734
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
51735
|
+
}
|
|
51736
|
+
},
|
|
51737
|
+
"additionalProperties": false,
|
|
51738
|
+
"required": [
|
|
51739
|
+
"target"
|
|
51740
|
+
]
|
|
51741
|
+
},
|
|
51742
|
+
"outputSchema": {
|
|
51743
|
+
"oneOf": [
|
|
51744
|
+
{
|
|
51745
|
+
"type": "object",
|
|
51746
|
+
"properties": {
|
|
51747
|
+
"success": {
|
|
51748
|
+
"const": true
|
|
51749
|
+
},
|
|
51750
|
+
"item": {
|
|
51751
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
51294
51752
|
}
|
|
51295
51753
|
},
|
|
51296
51754
|
"additionalProperties": false,
|
|
51297
51755
|
"required": [
|
|
51298
51756
|
"success",
|
|
51299
|
-
"
|
|
51757
|
+
"item"
|
|
51300
51758
|
]
|
|
51301
51759
|
},
|
|
51302
51760
|
{
|
|
@@ -51310,7 +51768,9 @@ const CONTRACT = {
|
|
|
51310
51768
|
"properties": {
|
|
51311
51769
|
"code": {
|
|
51312
51770
|
"enum": [
|
|
51313
|
-
"
|
|
51771
|
+
"NO_OP",
|
|
51772
|
+
"INVALID_TARGET",
|
|
51773
|
+
"LEVEL_OUT_OF_RANGE"
|
|
51314
51774
|
]
|
|
51315
51775
|
},
|
|
51316
51776
|
"message": {
|
|
@@ -51339,14 +51799,14 @@ const CONTRACT = {
|
|
|
51339
51799
|
"success": {
|
|
51340
51800
|
"const": true
|
|
51341
51801
|
},
|
|
51342
|
-
"
|
|
51343
|
-
"$ref": "#/$defs/
|
|
51802
|
+
"item": {
|
|
51803
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
51344
51804
|
}
|
|
51345
51805
|
},
|
|
51346
51806
|
"additionalProperties": false,
|
|
51347
51807
|
"required": [
|
|
51348
51808
|
"success",
|
|
51349
|
-
"
|
|
51809
|
+
"item"
|
|
51350
51810
|
]
|
|
51351
51811
|
},
|
|
51352
51812
|
"failureSchema": {
|
|
@@ -51360,7 +51820,9 @@ const CONTRACT = {
|
|
|
51360
51820
|
"properties": {
|
|
51361
51821
|
"code": {
|
|
51362
51822
|
"enum": [
|
|
51363
|
-
"
|
|
51823
|
+
"NO_OP",
|
|
51824
|
+
"INVALID_TARGET",
|
|
51825
|
+
"LEVEL_OUT_OF_RANGE"
|
|
51364
51826
|
]
|
|
51365
51827
|
},
|
|
51366
51828
|
"message": {
|
|
@@ -51382,18 +51844,18 @@ const CONTRACT = {
|
|
|
51382
51844
|
]
|
|
51383
51845
|
},
|
|
51384
51846
|
"intentGroup": "list",
|
|
51385
|
-
"intentAction": "
|
|
51847
|
+
"intentAction": "outdent"
|
|
51386
51848
|
},
|
|
51387
|
-
"doc.lists.
|
|
51388
|
-
"operationId": "doc.lists.
|
|
51849
|
+
"doc.lists.join": {
|
|
51850
|
+
"operationId": "doc.lists.join",
|
|
51389
51851
|
"sdkSurface": "document",
|
|
51390
|
-
"command": "lists
|
|
51852
|
+
"command": "lists join",
|
|
51391
51853
|
"commandTokens": [
|
|
51392
51854
|
"lists",
|
|
51393
|
-
"
|
|
51855
|
+
"join"
|
|
51394
51856
|
],
|
|
51395
51857
|
"category": "lists",
|
|
51396
|
-
"description": "
|
|
51858
|
+
"description": "Merge two adjacent list sequences into one.",
|
|
51397
51859
|
"requiresDocumentContext": true,
|
|
51398
51860
|
"docRequirement": "optional",
|
|
51399
51861
|
"responseEnvelopeKey": "result",
|
|
@@ -51475,19 +51937,27 @@ const CONTRACT = {
|
|
|
51475
51937
|
]
|
|
51476
51938
|
}
|
|
51477
51939
|
},
|
|
51940
|
+
{
|
|
51941
|
+
"name": "direction",
|
|
51942
|
+
"kind": "flag",
|
|
51943
|
+
"type": "string",
|
|
51944
|
+
"schema": {
|
|
51945
|
+
"oneOf": [
|
|
51946
|
+
{
|
|
51947
|
+
"const": "withPrevious"
|
|
51948
|
+
},
|
|
51949
|
+
{
|
|
51950
|
+
"const": "withNext"
|
|
51951
|
+
}
|
|
51952
|
+
]
|
|
51953
|
+
}
|
|
51954
|
+
},
|
|
51478
51955
|
{
|
|
51479
51956
|
"name": "input",
|
|
51480
51957
|
"kind": "jsonFlag",
|
|
51481
51958
|
"type": "json",
|
|
51482
51959
|
"flag": "input-json",
|
|
51483
51960
|
"description": "Operation input as JSON object."
|
|
51484
|
-
},
|
|
51485
|
-
{
|
|
51486
|
-
"name": "nodeId",
|
|
51487
|
-
"kind": "flag",
|
|
51488
|
-
"type": "string",
|
|
51489
|
-
"flag": "node-id",
|
|
51490
|
-
"description": "Node ID of the target list item."
|
|
51491
51961
|
}
|
|
51492
51962
|
],
|
|
51493
51963
|
"constraints": null,
|
|
@@ -51500,11 +51970,18 @@ const CONTRACT = {
|
|
|
51500
51970
|
"properties": {
|
|
51501
51971
|
"target": {
|
|
51502
51972
|
"$ref": "#/$defs/ListItemAddress"
|
|
51973
|
+
},
|
|
51974
|
+
"direction": {
|
|
51975
|
+
"enum": [
|
|
51976
|
+
"withPrevious",
|
|
51977
|
+
"withNext"
|
|
51978
|
+
]
|
|
51503
51979
|
}
|
|
51504
51980
|
},
|
|
51505
51981
|
"additionalProperties": false,
|
|
51506
51982
|
"required": [
|
|
51507
|
-
"target"
|
|
51983
|
+
"target",
|
|
51984
|
+
"direction"
|
|
51508
51985
|
]
|
|
51509
51986
|
},
|
|
51510
51987
|
"outputSchema": {
|
|
@@ -51515,14 +51992,14 @@ const CONTRACT = {
|
|
|
51515
51992
|
"success": {
|
|
51516
51993
|
"const": true
|
|
51517
51994
|
},
|
|
51518
|
-
"
|
|
51519
|
-
"
|
|
51995
|
+
"listId": {
|
|
51996
|
+
"type": "string"
|
|
51520
51997
|
}
|
|
51521
51998
|
},
|
|
51522
51999
|
"additionalProperties": false,
|
|
51523
52000
|
"required": [
|
|
51524
52001
|
"success",
|
|
51525
|
-
"
|
|
52002
|
+
"listId"
|
|
51526
52003
|
]
|
|
51527
52004
|
},
|
|
51528
52005
|
{
|
|
@@ -51536,9 +52013,10 @@ const CONTRACT = {
|
|
|
51536
52013
|
"properties": {
|
|
51537
52014
|
"code": {
|
|
51538
52015
|
"enum": [
|
|
51539
|
-
"NO_OP",
|
|
51540
52016
|
"INVALID_TARGET",
|
|
51541
|
-
"
|
|
52017
|
+
"NO_ADJACENT_SEQUENCE",
|
|
52018
|
+
"INCOMPATIBLE_DEFINITIONS",
|
|
52019
|
+
"ALREADY_SAME_SEQUENCE"
|
|
51542
52020
|
]
|
|
51543
52021
|
},
|
|
51544
52022
|
"message": {
|
|
@@ -51567,14 +52045,14 @@ const CONTRACT = {
|
|
|
51567
52045
|
"success": {
|
|
51568
52046
|
"const": true
|
|
51569
52047
|
},
|
|
51570
|
-
"
|
|
51571
|
-
"
|
|
52048
|
+
"listId": {
|
|
52049
|
+
"type": "string"
|
|
51572
52050
|
}
|
|
51573
52051
|
},
|
|
51574
52052
|
"additionalProperties": false,
|
|
51575
52053
|
"required": [
|
|
51576
52054
|
"success",
|
|
51577
|
-
"
|
|
52055
|
+
"listId"
|
|
51578
52056
|
]
|
|
51579
52057
|
},
|
|
51580
52058
|
"failureSchema": {
|
|
@@ -51588,9 +52066,10 @@ const CONTRACT = {
|
|
|
51588
52066
|
"properties": {
|
|
51589
52067
|
"code": {
|
|
51590
52068
|
"enum": [
|
|
51591
|
-
"NO_OP",
|
|
51592
52069
|
"INVALID_TARGET",
|
|
51593
|
-
"
|
|
52070
|
+
"NO_ADJACENT_SEQUENCE",
|
|
52071
|
+
"INCOMPATIBLE_DEFINITIONS",
|
|
52072
|
+
"ALREADY_SAME_SEQUENCE"
|
|
51594
52073
|
]
|
|
51595
52074
|
},
|
|
51596
52075
|
"message": {
|
|
@@ -51610,20 +52089,140 @@ const CONTRACT = {
|
|
|
51610
52089
|
"success",
|
|
51611
52090
|
"failure"
|
|
51612
52091
|
]
|
|
52092
|
+
}
|
|
52093
|
+
},
|
|
52094
|
+
"doc.lists.canJoin": {
|
|
52095
|
+
"operationId": "doc.lists.canJoin",
|
|
52096
|
+
"sdkSurface": "document",
|
|
52097
|
+
"command": "lists can-join",
|
|
52098
|
+
"commandTokens": [
|
|
52099
|
+
"lists",
|
|
52100
|
+
"can-join"
|
|
52101
|
+
],
|
|
52102
|
+
"category": "lists",
|
|
52103
|
+
"description": "Check whether two adjacent list sequences can be joined.",
|
|
52104
|
+
"requiresDocumentContext": true,
|
|
52105
|
+
"docRequirement": "optional",
|
|
52106
|
+
"responseEnvelopeKey": "result",
|
|
52107
|
+
"params": [
|
|
52108
|
+
{
|
|
52109
|
+
"name": "doc",
|
|
52110
|
+
"kind": "doc",
|
|
52111
|
+
"type": "string",
|
|
52112
|
+
"description": "Document path. Optional when a session is already open."
|
|
52113
|
+
},
|
|
52114
|
+
{
|
|
52115
|
+
"name": "sessionId",
|
|
52116
|
+
"kind": "flag",
|
|
52117
|
+
"type": "string",
|
|
52118
|
+
"flag": "session",
|
|
52119
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
52120
|
+
},
|
|
52121
|
+
{
|
|
52122
|
+
"name": "target",
|
|
52123
|
+
"kind": "jsonFlag",
|
|
52124
|
+
"type": "json",
|
|
52125
|
+
"flag": "target-json",
|
|
52126
|
+
"schema": {
|
|
52127
|
+
"type": "object",
|
|
52128
|
+
"properties": {
|
|
52129
|
+
"kind": {
|
|
52130
|
+
"const": "block"
|
|
52131
|
+
},
|
|
52132
|
+
"nodeType": {
|
|
52133
|
+
"const": "listItem"
|
|
52134
|
+
},
|
|
52135
|
+
"nodeId": {
|
|
52136
|
+
"type": "string"
|
|
52137
|
+
}
|
|
52138
|
+
},
|
|
52139
|
+
"required": [
|
|
52140
|
+
"kind",
|
|
52141
|
+
"nodeType",
|
|
52142
|
+
"nodeId"
|
|
52143
|
+
]
|
|
52144
|
+
}
|
|
52145
|
+
},
|
|
52146
|
+
{
|
|
52147
|
+
"name": "direction",
|
|
52148
|
+
"kind": "flag",
|
|
52149
|
+
"type": "string",
|
|
52150
|
+
"schema": {
|
|
52151
|
+
"oneOf": [
|
|
52152
|
+
{
|
|
52153
|
+
"const": "withPrevious"
|
|
52154
|
+
},
|
|
52155
|
+
{
|
|
52156
|
+
"const": "withNext"
|
|
52157
|
+
}
|
|
52158
|
+
]
|
|
52159
|
+
}
|
|
52160
|
+
},
|
|
52161
|
+
{
|
|
52162
|
+
"name": "input",
|
|
52163
|
+
"kind": "jsonFlag",
|
|
52164
|
+
"type": "json",
|
|
52165
|
+
"flag": "input-json",
|
|
52166
|
+
"description": "Operation input as JSON object."
|
|
52167
|
+
}
|
|
52168
|
+
],
|
|
52169
|
+
"constraints": null,
|
|
52170
|
+
"mutates": false,
|
|
52171
|
+
"idempotency": "idempotent",
|
|
52172
|
+
"supportsTrackedMode": false,
|
|
52173
|
+
"supportsDryRun": false,
|
|
52174
|
+
"inputSchema": {
|
|
52175
|
+
"type": "object",
|
|
52176
|
+
"properties": {
|
|
52177
|
+
"target": {
|
|
52178
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
52179
|
+
},
|
|
52180
|
+
"direction": {
|
|
52181
|
+
"enum": [
|
|
52182
|
+
"withPrevious",
|
|
52183
|
+
"withNext"
|
|
52184
|
+
]
|
|
52185
|
+
}
|
|
52186
|
+
},
|
|
52187
|
+
"additionalProperties": false,
|
|
52188
|
+
"required": [
|
|
52189
|
+
"target",
|
|
52190
|
+
"direction"
|
|
52191
|
+
]
|
|
51613
52192
|
},
|
|
51614
|
-
"
|
|
51615
|
-
|
|
52193
|
+
"outputSchema": {
|
|
52194
|
+
"type": "object",
|
|
52195
|
+
"properties": {
|
|
52196
|
+
"canJoin": {
|
|
52197
|
+
"type": "boolean"
|
|
52198
|
+
},
|
|
52199
|
+
"reason": {
|
|
52200
|
+
"enum": [
|
|
52201
|
+
"NO_ADJACENT_SEQUENCE",
|
|
52202
|
+
"INCOMPATIBLE_DEFINITIONS",
|
|
52203
|
+
"ALREADY_SAME_SEQUENCE"
|
|
52204
|
+
]
|
|
52205
|
+
},
|
|
52206
|
+
"adjacentListId": {
|
|
52207
|
+
"type": "string"
|
|
52208
|
+
}
|
|
52209
|
+
},
|
|
52210
|
+
"additionalProperties": false,
|
|
52211
|
+
"required": [
|
|
52212
|
+
"canJoin"
|
|
52213
|
+
]
|
|
52214
|
+
}
|
|
51616
52215
|
},
|
|
51617
|
-
"doc.lists.
|
|
51618
|
-
"operationId": "doc.lists.
|
|
52216
|
+
"doc.lists.separate": {
|
|
52217
|
+
"operationId": "doc.lists.separate",
|
|
51619
52218
|
"sdkSurface": "document",
|
|
51620
|
-
"command": "lists
|
|
52219
|
+
"command": "lists separate",
|
|
51621
52220
|
"commandTokens": [
|
|
51622
52221
|
"lists",
|
|
51623
|
-
"
|
|
52222
|
+
"separate"
|
|
51624
52223
|
],
|
|
51625
52224
|
"category": "lists",
|
|
51626
|
-
"description": "
|
|
52225
|
+
"description": "Split a list sequence at the target item, creating a new sequence from that point forward.",
|
|
51627
52226
|
"requiresDocumentContext": true,
|
|
51628
52227
|
"docRequirement": "optional",
|
|
51629
52228
|
"responseEnvelopeKey": "result",
|
|
@@ -51705,6 +52304,12 @@ const CONTRACT = {
|
|
|
51705
52304
|
]
|
|
51706
52305
|
}
|
|
51707
52306
|
},
|
|
52307
|
+
{
|
|
52308
|
+
"name": "copyOverrides",
|
|
52309
|
+
"kind": "flag",
|
|
52310
|
+
"type": "boolean",
|
|
52311
|
+
"flag": "copy-overrides"
|
|
52312
|
+
},
|
|
51708
52313
|
{
|
|
51709
52314
|
"name": "input",
|
|
51710
52315
|
"kind": "jsonFlag",
|
|
@@ -51730,6 +52335,9 @@ const CONTRACT = {
|
|
|
51730
52335
|
"properties": {
|
|
51731
52336
|
"target": {
|
|
51732
52337
|
"$ref": "#/$defs/ListItemAddress"
|
|
52338
|
+
},
|
|
52339
|
+
"copyOverrides": {
|
|
52340
|
+
"type": "boolean"
|
|
51733
52341
|
}
|
|
51734
52342
|
},
|
|
51735
52343
|
"additionalProperties": false,
|
|
@@ -51745,14 +52353,18 @@ const CONTRACT = {
|
|
|
51745
52353
|
"success": {
|
|
51746
52354
|
"const": true
|
|
51747
52355
|
},
|
|
51748
|
-
"
|
|
51749
|
-
"
|
|
52356
|
+
"listId": {
|
|
52357
|
+
"type": "string"
|
|
52358
|
+
},
|
|
52359
|
+
"numId": {
|
|
52360
|
+
"type": "integer"
|
|
51750
52361
|
}
|
|
51751
52362
|
},
|
|
51752
52363
|
"additionalProperties": false,
|
|
51753
52364
|
"required": [
|
|
51754
52365
|
"success",
|
|
51755
|
-
"
|
|
52366
|
+
"listId",
|
|
52367
|
+
"numId"
|
|
51756
52368
|
]
|
|
51757
52369
|
},
|
|
51758
52370
|
{
|
|
@@ -51766,9 +52378,8 @@ const CONTRACT = {
|
|
|
51766
52378
|
"properties": {
|
|
51767
52379
|
"code": {
|
|
51768
52380
|
"enum": [
|
|
51769
|
-
"NO_OP",
|
|
51770
52381
|
"INVALID_TARGET",
|
|
51771
|
-
"
|
|
52382
|
+
"NO_OP"
|
|
51772
52383
|
]
|
|
51773
52384
|
},
|
|
51774
52385
|
"message": {
|
|
@@ -51797,14 +52408,18 @@ const CONTRACT = {
|
|
|
51797
52408
|
"success": {
|
|
51798
52409
|
"const": true
|
|
51799
52410
|
},
|
|
51800
|
-
"
|
|
51801
|
-
"
|
|
52411
|
+
"listId": {
|
|
52412
|
+
"type": "string"
|
|
52413
|
+
},
|
|
52414
|
+
"numId": {
|
|
52415
|
+
"type": "integer"
|
|
51802
52416
|
}
|
|
51803
52417
|
},
|
|
51804
52418
|
"additionalProperties": false,
|
|
51805
52419
|
"required": [
|
|
51806
52420
|
"success",
|
|
51807
|
-
"
|
|
52421
|
+
"listId",
|
|
52422
|
+
"numId"
|
|
51808
52423
|
]
|
|
51809
52424
|
},
|
|
51810
52425
|
"failureSchema": {
|
|
@@ -51818,9 +52433,8 @@ const CONTRACT = {
|
|
|
51818
52433
|
"properties": {
|
|
51819
52434
|
"code": {
|
|
51820
52435
|
"enum": [
|
|
51821
|
-
"NO_OP",
|
|
51822
52436
|
"INVALID_TARGET",
|
|
51823
|
-
"
|
|
52437
|
+
"NO_OP"
|
|
51824
52438
|
]
|
|
51825
52439
|
},
|
|
51826
52440
|
"message": {
|
|
@@ -51840,23 +52454,21 @@ const CONTRACT = {
|
|
|
51840
52454
|
"success",
|
|
51841
52455
|
"failure"
|
|
51842
52456
|
]
|
|
51843
|
-
}
|
|
51844
|
-
"intentGroup": "list",
|
|
51845
|
-
"intentAction": "outdent"
|
|
52457
|
+
}
|
|
51846
52458
|
},
|
|
51847
|
-
"doc.lists.
|
|
51848
|
-
"operationId": "doc.lists.
|
|
52459
|
+
"doc.lists.merge": {
|
|
52460
|
+
"operationId": "doc.lists.merge",
|
|
51849
52461
|
"sdkSurface": "document",
|
|
51850
|
-
"command": "lists
|
|
52462
|
+
"command": "lists merge",
|
|
51851
52463
|
"commandTokens": [
|
|
51852
52464
|
"lists",
|
|
51853
|
-
"
|
|
52465
|
+
"merge"
|
|
51854
52466
|
],
|
|
51855
52467
|
"category": "lists",
|
|
51856
|
-
"description": "
|
|
52468
|
+
"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.",
|
|
51857
52469
|
"requiresDocumentContext": true,
|
|
51858
52470
|
"docRequirement": "optional",
|
|
51859
|
-
"responseEnvelopeKey":
|
|
52471
|
+
"responseEnvelopeKey": null,
|
|
51860
52472
|
"params": [
|
|
51861
52473
|
{
|
|
51862
52474
|
"name": "doc",
|
|
@@ -51915,6 +52527,7 @@ const CONTRACT = {
|
|
|
51915
52527
|
"kind": "jsonFlag",
|
|
51916
52528
|
"type": "json",
|
|
51917
52529
|
"flag": "target-json",
|
|
52530
|
+
"required": true,
|
|
51918
52531
|
"schema": {
|
|
51919
52532
|
"type": "object",
|
|
51920
52533
|
"properties": {
|
|
@@ -51939,6 +52552,7 @@ const CONTRACT = {
|
|
|
51939
52552
|
"name": "direction",
|
|
51940
52553
|
"kind": "flag",
|
|
51941
52554
|
"type": "string",
|
|
52555
|
+
"required": true,
|
|
51942
52556
|
"schema": {
|
|
51943
52557
|
"oneOf": [
|
|
51944
52558
|
{
|
|
@@ -51949,13 +52563,6 @@ const CONTRACT = {
|
|
|
51949
52563
|
}
|
|
51950
52564
|
]
|
|
51951
52565
|
}
|
|
51952
|
-
},
|
|
51953
|
-
{
|
|
51954
|
-
"name": "input",
|
|
51955
|
-
"kind": "jsonFlag",
|
|
51956
|
-
"type": "json",
|
|
51957
|
-
"flag": "input-json",
|
|
51958
|
-
"description": "Operation input as JSON object."
|
|
51959
52566
|
}
|
|
51960
52567
|
],
|
|
51961
52568
|
"constraints": null,
|
|
@@ -51992,12 +52599,20 @@ const CONTRACT = {
|
|
|
51992
52599
|
},
|
|
51993
52600
|
"listId": {
|
|
51994
52601
|
"type": "string"
|
|
52602
|
+
},
|
|
52603
|
+
"absorbedCount": {
|
|
52604
|
+
"type": "integer"
|
|
52605
|
+
},
|
|
52606
|
+
"removedEmptyBlocks": {
|
|
52607
|
+
"type": "integer"
|
|
51995
52608
|
}
|
|
51996
52609
|
},
|
|
51997
52610
|
"additionalProperties": false,
|
|
51998
52611
|
"required": [
|
|
51999
52612
|
"success",
|
|
52000
|
-
"listId"
|
|
52613
|
+
"listId",
|
|
52614
|
+
"absorbedCount",
|
|
52615
|
+
"removedEmptyBlocks"
|
|
52001
52616
|
]
|
|
52002
52617
|
},
|
|
52003
52618
|
{
|
|
@@ -52013,8 +52628,7 @@ const CONTRACT = {
|
|
|
52013
52628
|
"enum": [
|
|
52014
52629
|
"INVALID_TARGET",
|
|
52015
52630
|
"NO_ADJACENT_SEQUENCE",
|
|
52016
|
-
"
|
|
52017
|
-
"ALREADY_SAME_SEQUENCE"
|
|
52631
|
+
"NO_OP"
|
|
52018
52632
|
]
|
|
52019
52633
|
},
|
|
52020
52634
|
"message": {
|
|
@@ -52045,12 +52659,20 @@ const CONTRACT = {
|
|
|
52045
52659
|
},
|
|
52046
52660
|
"listId": {
|
|
52047
52661
|
"type": "string"
|
|
52662
|
+
},
|
|
52663
|
+
"absorbedCount": {
|
|
52664
|
+
"type": "integer"
|
|
52665
|
+
},
|
|
52666
|
+
"removedEmptyBlocks": {
|
|
52667
|
+
"type": "integer"
|
|
52048
52668
|
}
|
|
52049
52669
|
},
|
|
52050
52670
|
"additionalProperties": false,
|
|
52051
52671
|
"required": [
|
|
52052
52672
|
"success",
|
|
52053
|
-
"listId"
|
|
52673
|
+
"listId",
|
|
52674
|
+
"absorbedCount",
|
|
52675
|
+
"removedEmptyBlocks"
|
|
52054
52676
|
]
|
|
52055
52677
|
},
|
|
52056
52678
|
"failureSchema": {
|
|
@@ -52066,8 +52688,7 @@ const CONTRACT = {
|
|
|
52066
52688
|
"enum": [
|
|
52067
52689
|
"INVALID_TARGET",
|
|
52068
52690
|
"NO_ADJACENT_SEQUENCE",
|
|
52069
|
-
"
|
|
52070
|
-
"ALREADY_SAME_SEQUENCE"
|
|
52691
|
+
"NO_OP"
|
|
52071
52692
|
]
|
|
52072
52693
|
},
|
|
52073
52694
|
"message": {
|
|
@@ -52087,143 +52708,23 @@ const CONTRACT = {
|
|
|
52087
52708
|
"success",
|
|
52088
52709
|
"failure"
|
|
52089
52710
|
]
|
|
52090
|
-
}
|
|
52091
|
-
},
|
|
52092
|
-
"doc.lists.canJoin": {
|
|
52093
|
-
"operationId": "doc.lists.canJoin",
|
|
52094
|
-
"sdkSurface": "document",
|
|
52095
|
-
"command": "lists can-join",
|
|
52096
|
-
"commandTokens": [
|
|
52097
|
-
"lists",
|
|
52098
|
-
"can-join"
|
|
52099
|
-
],
|
|
52100
|
-
"category": "lists",
|
|
52101
|
-
"description": "Check whether two adjacent list sequences can be joined.",
|
|
52102
|
-
"requiresDocumentContext": true,
|
|
52103
|
-
"docRequirement": "optional",
|
|
52104
|
-
"responseEnvelopeKey": "result",
|
|
52105
|
-
"params": [
|
|
52106
|
-
{
|
|
52107
|
-
"name": "doc",
|
|
52108
|
-
"kind": "doc",
|
|
52109
|
-
"type": "string",
|
|
52110
|
-
"description": "Document path. Optional when a session is already open."
|
|
52111
|
-
},
|
|
52112
|
-
{
|
|
52113
|
-
"name": "sessionId",
|
|
52114
|
-
"kind": "flag",
|
|
52115
|
-
"type": "string",
|
|
52116
|
-
"flag": "session",
|
|
52117
|
-
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
52118
|
-
},
|
|
52119
|
-
{
|
|
52120
|
-
"name": "target",
|
|
52121
|
-
"kind": "jsonFlag",
|
|
52122
|
-
"type": "json",
|
|
52123
|
-
"flag": "target-json",
|
|
52124
|
-
"schema": {
|
|
52125
|
-
"type": "object",
|
|
52126
|
-
"properties": {
|
|
52127
|
-
"kind": {
|
|
52128
|
-
"const": "block"
|
|
52129
|
-
},
|
|
52130
|
-
"nodeType": {
|
|
52131
|
-
"const": "listItem"
|
|
52132
|
-
},
|
|
52133
|
-
"nodeId": {
|
|
52134
|
-
"type": "string"
|
|
52135
|
-
}
|
|
52136
|
-
},
|
|
52137
|
-
"required": [
|
|
52138
|
-
"kind",
|
|
52139
|
-
"nodeType",
|
|
52140
|
-
"nodeId"
|
|
52141
|
-
]
|
|
52142
|
-
}
|
|
52143
|
-
},
|
|
52144
|
-
{
|
|
52145
|
-
"name": "direction",
|
|
52146
|
-
"kind": "flag",
|
|
52147
|
-
"type": "string",
|
|
52148
|
-
"schema": {
|
|
52149
|
-
"oneOf": [
|
|
52150
|
-
{
|
|
52151
|
-
"const": "withPrevious"
|
|
52152
|
-
},
|
|
52153
|
-
{
|
|
52154
|
-
"const": "withNext"
|
|
52155
|
-
}
|
|
52156
|
-
]
|
|
52157
|
-
}
|
|
52158
|
-
},
|
|
52159
|
-
{
|
|
52160
|
-
"name": "input",
|
|
52161
|
-
"kind": "jsonFlag",
|
|
52162
|
-
"type": "json",
|
|
52163
|
-
"flag": "input-json",
|
|
52164
|
-
"description": "Operation input as JSON object."
|
|
52165
|
-
}
|
|
52166
|
-
],
|
|
52167
|
-
"constraints": null,
|
|
52168
|
-
"mutates": false,
|
|
52169
|
-
"idempotency": "idempotent",
|
|
52170
|
-
"supportsTrackedMode": false,
|
|
52171
|
-
"supportsDryRun": false,
|
|
52172
|
-
"inputSchema": {
|
|
52173
|
-
"type": "object",
|
|
52174
|
-
"properties": {
|
|
52175
|
-
"target": {
|
|
52176
|
-
"$ref": "#/$defs/ListItemAddress"
|
|
52177
|
-
},
|
|
52178
|
-
"direction": {
|
|
52179
|
-
"enum": [
|
|
52180
|
-
"withPrevious",
|
|
52181
|
-
"withNext"
|
|
52182
|
-
]
|
|
52183
|
-
}
|
|
52184
|
-
},
|
|
52185
|
-
"additionalProperties": false,
|
|
52186
|
-
"required": [
|
|
52187
|
-
"target",
|
|
52188
|
-
"direction"
|
|
52189
|
-
]
|
|
52190
52711
|
},
|
|
52191
|
-
"
|
|
52192
|
-
|
|
52193
|
-
"properties": {
|
|
52194
|
-
"canJoin": {
|
|
52195
|
-
"type": "boolean"
|
|
52196
|
-
},
|
|
52197
|
-
"reason": {
|
|
52198
|
-
"enum": [
|
|
52199
|
-
"NO_ADJACENT_SEQUENCE",
|
|
52200
|
-
"INCOMPATIBLE_DEFINITIONS",
|
|
52201
|
-
"ALREADY_SAME_SEQUENCE"
|
|
52202
|
-
]
|
|
52203
|
-
},
|
|
52204
|
-
"adjacentListId": {
|
|
52205
|
-
"type": "string"
|
|
52206
|
-
}
|
|
52207
|
-
},
|
|
52208
|
-
"additionalProperties": false,
|
|
52209
|
-
"required": [
|
|
52210
|
-
"canJoin"
|
|
52211
|
-
]
|
|
52212
|
-
}
|
|
52712
|
+
"intentGroup": "list",
|
|
52713
|
+
"intentAction": "merge"
|
|
52213
52714
|
},
|
|
52214
|
-
"doc.lists.
|
|
52215
|
-
"operationId": "doc.lists.
|
|
52715
|
+
"doc.lists.split": {
|
|
52716
|
+
"operationId": "doc.lists.split",
|
|
52216
52717
|
"sdkSurface": "document",
|
|
52217
|
-
"command": "lists
|
|
52718
|
+
"command": "lists split",
|
|
52218
52719
|
"commandTokens": [
|
|
52219
52720
|
"lists",
|
|
52220
|
-
"
|
|
52721
|
+
"split"
|
|
52221
52722
|
],
|
|
52222
52723
|
"category": "lists",
|
|
52223
|
-
"description": "
|
|
52724
|
+
"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).",
|
|
52224
52725
|
"requiresDocumentContext": true,
|
|
52225
52726
|
"docRequirement": "optional",
|
|
52226
|
-
"responseEnvelopeKey":
|
|
52727
|
+
"responseEnvelopeKey": null,
|
|
52227
52728
|
"params": [
|
|
52228
52729
|
{
|
|
52229
52730
|
"name": "doc",
|
|
@@ -52282,6 +52783,7 @@ const CONTRACT = {
|
|
|
52282
52783
|
"kind": "jsonFlag",
|
|
52283
52784
|
"type": "json",
|
|
52284
52785
|
"flag": "target-json",
|
|
52786
|
+
"required": true,
|
|
52285
52787
|
"schema": {
|
|
52286
52788
|
"type": "object",
|
|
52287
52789
|
"properties": {
|
|
@@ -52303,24 +52805,10 @@ const CONTRACT = {
|
|
|
52303
52805
|
}
|
|
52304
52806
|
},
|
|
52305
52807
|
{
|
|
52306
|
-
"name": "
|
|
52808
|
+
"name": "restartNumbering",
|
|
52307
52809
|
"kind": "flag",
|
|
52308
52810
|
"type": "boolean",
|
|
52309
|
-
"flag": "
|
|
52310
|
-
},
|
|
52311
|
-
{
|
|
52312
|
-
"name": "input",
|
|
52313
|
-
"kind": "jsonFlag",
|
|
52314
|
-
"type": "json",
|
|
52315
|
-
"flag": "input-json",
|
|
52316
|
-
"description": "Operation input as JSON object."
|
|
52317
|
-
},
|
|
52318
|
-
{
|
|
52319
|
-
"name": "nodeId",
|
|
52320
|
-
"kind": "flag",
|
|
52321
|
-
"type": "string",
|
|
52322
|
-
"flag": "node-id",
|
|
52323
|
-
"description": "Node ID of the target list item."
|
|
52811
|
+
"flag": "restart-numbering"
|
|
52324
52812
|
}
|
|
52325
52813
|
],
|
|
52326
52814
|
"constraints": null,
|
|
@@ -52334,7 +52822,7 @@ const CONTRACT = {
|
|
|
52334
52822
|
"target": {
|
|
52335
52823
|
"$ref": "#/$defs/ListItemAddress"
|
|
52336
52824
|
},
|
|
52337
|
-
"
|
|
52825
|
+
"restartNumbering": {
|
|
52338
52826
|
"type": "boolean"
|
|
52339
52827
|
}
|
|
52340
52828
|
},
|
|
@@ -52356,13 +52844,20 @@ const CONTRACT = {
|
|
|
52356
52844
|
},
|
|
52357
52845
|
"numId": {
|
|
52358
52846
|
"type": "integer"
|
|
52847
|
+
},
|
|
52848
|
+
"restartedAt": {
|
|
52849
|
+
"type": [
|
|
52850
|
+
"integer",
|
|
52851
|
+
"null"
|
|
52852
|
+
]
|
|
52359
52853
|
}
|
|
52360
52854
|
},
|
|
52361
52855
|
"additionalProperties": false,
|
|
52362
52856
|
"required": [
|
|
52363
52857
|
"success",
|
|
52364
52858
|
"listId",
|
|
52365
|
-
"numId"
|
|
52859
|
+
"numId",
|
|
52860
|
+
"restartedAt"
|
|
52366
52861
|
]
|
|
52367
52862
|
},
|
|
52368
52863
|
{
|
|
@@ -52411,13 +52906,20 @@ const CONTRACT = {
|
|
|
52411
52906
|
},
|
|
52412
52907
|
"numId": {
|
|
52413
52908
|
"type": "integer"
|
|
52909
|
+
},
|
|
52910
|
+
"restartedAt": {
|
|
52911
|
+
"type": [
|
|
52912
|
+
"integer",
|
|
52913
|
+
"null"
|
|
52914
|
+
]
|
|
52414
52915
|
}
|
|
52415
52916
|
},
|
|
52416
52917
|
"additionalProperties": false,
|
|
52417
52918
|
"required": [
|
|
52418
52919
|
"success",
|
|
52419
52920
|
"listId",
|
|
52420
|
-
"numId"
|
|
52921
|
+
"numId",
|
|
52922
|
+
"restartedAt"
|
|
52421
52923
|
]
|
|
52422
52924
|
},
|
|
52423
52925
|
"failureSchema": {
|
|
@@ -52452,7 +52954,9 @@ const CONTRACT = {
|
|
|
52452
52954
|
"success",
|
|
52453
52955
|
"failure"
|
|
52454
52956
|
]
|
|
52455
|
-
}
|
|
52957
|
+
},
|
|
52958
|
+
"intentGroup": "list",
|
|
52959
|
+
"intentAction": "split"
|
|
52456
52960
|
},
|
|
52457
52961
|
"doc.lists.setLevel": {
|
|
52458
52962
|
"operationId": "doc.lists.setLevel",
|
|
@@ -52935,7 +53439,9 @@ const CONTRACT = {
|
|
|
52935
53439
|
"success",
|
|
52936
53440
|
"failure"
|
|
52937
53441
|
]
|
|
52938
|
-
}
|
|
53442
|
+
},
|
|
53443
|
+
"intentGroup": "list",
|
|
53444
|
+
"intentAction": "set_value"
|
|
52939
53445
|
},
|
|
52940
53446
|
"doc.lists.continuePrevious": {
|
|
52941
53447
|
"operationId": "doc.lists.continuePrevious",
|
|
@@ -53163,7 +53669,9 @@ const CONTRACT = {
|
|
|
53163
53669
|
"success",
|
|
53164
53670
|
"failure"
|
|
53165
53671
|
]
|
|
53166
|
-
}
|
|
53672
|
+
},
|
|
53673
|
+
"intentGroup": "list",
|
|
53674
|
+
"intentAction": "continue_previous"
|
|
53167
53675
|
},
|
|
53168
53676
|
"doc.lists.canContinuePrevious": {
|
|
53169
53677
|
"operationId": "doc.lists.canContinuePrevious",
|
|
@@ -79790,6 +80298,76 @@ const CONTRACT = {
|
|
|
79790
80298
|
"dryRun"
|
|
79791
80299
|
]
|
|
79792
80300
|
},
|
|
80301
|
+
"lists.merge": {
|
|
80302
|
+
"type": "object",
|
|
80303
|
+
"properties": {
|
|
80304
|
+
"available": {
|
|
80305
|
+
"type": "boolean"
|
|
80306
|
+
},
|
|
80307
|
+
"tracked": {
|
|
80308
|
+
"type": "boolean"
|
|
80309
|
+
},
|
|
80310
|
+
"dryRun": {
|
|
80311
|
+
"type": "boolean"
|
|
80312
|
+
},
|
|
80313
|
+
"reasons": {
|
|
80314
|
+
"type": "array",
|
|
80315
|
+
"items": {
|
|
80316
|
+
"enum": [
|
|
80317
|
+
"COMMAND_UNAVAILABLE",
|
|
80318
|
+
"HELPER_UNAVAILABLE",
|
|
80319
|
+
"OPERATION_UNAVAILABLE",
|
|
80320
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
80321
|
+
"DRY_RUN_UNAVAILABLE",
|
|
80322
|
+
"NAMESPACE_UNAVAILABLE",
|
|
80323
|
+
"STYLES_PART_MISSING",
|
|
80324
|
+
"COLLABORATION_ACTIVE"
|
|
80325
|
+
]
|
|
80326
|
+
}
|
|
80327
|
+
}
|
|
80328
|
+
},
|
|
80329
|
+
"additionalProperties": false,
|
|
80330
|
+
"required": [
|
|
80331
|
+
"available",
|
|
80332
|
+
"tracked",
|
|
80333
|
+
"dryRun"
|
|
80334
|
+
]
|
|
80335
|
+
},
|
|
80336
|
+
"lists.split": {
|
|
80337
|
+
"type": "object",
|
|
80338
|
+
"properties": {
|
|
80339
|
+
"available": {
|
|
80340
|
+
"type": "boolean"
|
|
80341
|
+
},
|
|
80342
|
+
"tracked": {
|
|
80343
|
+
"type": "boolean"
|
|
80344
|
+
},
|
|
80345
|
+
"dryRun": {
|
|
80346
|
+
"type": "boolean"
|
|
80347
|
+
},
|
|
80348
|
+
"reasons": {
|
|
80349
|
+
"type": "array",
|
|
80350
|
+
"items": {
|
|
80351
|
+
"enum": [
|
|
80352
|
+
"COMMAND_UNAVAILABLE",
|
|
80353
|
+
"HELPER_UNAVAILABLE",
|
|
80354
|
+
"OPERATION_UNAVAILABLE",
|
|
80355
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
80356
|
+
"DRY_RUN_UNAVAILABLE",
|
|
80357
|
+
"NAMESPACE_UNAVAILABLE",
|
|
80358
|
+
"STYLES_PART_MISSING",
|
|
80359
|
+
"COLLABORATION_ACTIVE"
|
|
80360
|
+
]
|
|
80361
|
+
}
|
|
80362
|
+
}
|
|
80363
|
+
},
|
|
80364
|
+
"additionalProperties": false,
|
|
80365
|
+
"required": [
|
|
80366
|
+
"available",
|
|
80367
|
+
"tracked",
|
|
80368
|
+
"dryRun"
|
|
80369
|
+
]
|
|
80370
|
+
},
|
|
79793
80371
|
"lists.setLevel": {
|
|
79794
80372
|
"type": "object",
|
|
79795
80373
|
"properties": {
|
|
@@ -89428,6 +90006,8 @@ const CONTRACT = {
|
|
|
89428
90006
|
"lists.join",
|
|
89429
90007
|
"lists.canJoin",
|
|
89430
90008
|
"lists.separate",
|
|
90009
|
+
"lists.merge",
|
|
90010
|
+
"lists.split",
|
|
89431
90011
|
"lists.setLevel",
|
|
89432
90012
|
"lists.setValue",
|
|
89433
90013
|
"lists.continuePrevious",
|