@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
|
@@ -52274,7 +52274,9 @@ export const CONTRACT = {
|
|
|
52274
52274
|
"success",
|
|
52275
52275
|
"failure"
|
|
52276
52276
|
]
|
|
52277
|
-
}
|
|
52277
|
+
},
|
|
52278
|
+
"intentGroup": "list",
|
|
52279
|
+
"intentAction": "attach"
|
|
52278
52280
|
},
|
|
52279
52281
|
"doc.lists.detach": {
|
|
52280
52282
|
"operationId": "doc.lists.detach",
|
|
@@ -52407,14 +52409,470 @@ export const CONTRACT = {
|
|
|
52407
52409
|
"success": {
|
|
52408
52410
|
"const": true
|
|
52409
52411
|
},
|
|
52410
|
-
"paragraph": {
|
|
52411
|
-
"$ref": "#/$defs/ParagraphAddress"
|
|
52412
|
+
"paragraph": {
|
|
52413
|
+
"$ref": "#/$defs/ParagraphAddress"
|
|
52414
|
+
}
|
|
52415
|
+
},
|
|
52416
|
+
"additionalProperties": false,
|
|
52417
|
+
"required": [
|
|
52418
|
+
"success",
|
|
52419
|
+
"paragraph"
|
|
52420
|
+
]
|
|
52421
|
+
},
|
|
52422
|
+
{
|
|
52423
|
+
"type": "object",
|
|
52424
|
+
"properties": {
|
|
52425
|
+
"success": {
|
|
52426
|
+
"const": false
|
|
52427
|
+
},
|
|
52428
|
+
"failure": {
|
|
52429
|
+
"type": "object",
|
|
52430
|
+
"properties": {
|
|
52431
|
+
"code": {
|
|
52432
|
+
"enum": [
|
|
52433
|
+
"INVALID_TARGET"
|
|
52434
|
+
]
|
|
52435
|
+
},
|
|
52436
|
+
"message": {
|
|
52437
|
+
"type": "string"
|
|
52438
|
+
},
|
|
52439
|
+
"details": {}
|
|
52440
|
+
},
|
|
52441
|
+
"additionalProperties": false,
|
|
52442
|
+
"required": [
|
|
52443
|
+
"code",
|
|
52444
|
+
"message"
|
|
52445
|
+
]
|
|
52446
|
+
}
|
|
52447
|
+
},
|
|
52448
|
+
"additionalProperties": false,
|
|
52449
|
+
"required": [
|
|
52450
|
+
"success",
|
|
52451
|
+
"failure"
|
|
52452
|
+
]
|
|
52453
|
+
}
|
|
52454
|
+
]
|
|
52455
|
+
},
|
|
52456
|
+
"successSchema": {
|
|
52457
|
+
"type": "object",
|
|
52458
|
+
"properties": {
|
|
52459
|
+
"success": {
|
|
52460
|
+
"const": true
|
|
52461
|
+
},
|
|
52462
|
+
"paragraph": {
|
|
52463
|
+
"$ref": "#/$defs/ParagraphAddress"
|
|
52464
|
+
}
|
|
52465
|
+
},
|
|
52466
|
+
"additionalProperties": false,
|
|
52467
|
+
"required": [
|
|
52468
|
+
"success",
|
|
52469
|
+
"paragraph"
|
|
52470
|
+
]
|
|
52471
|
+
},
|
|
52472
|
+
"failureSchema": {
|
|
52473
|
+
"type": "object",
|
|
52474
|
+
"properties": {
|
|
52475
|
+
"success": {
|
|
52476
|
+
"const": false
|
|
52477
|
+
},
|
|
52478
|
+
"failure": {
|
|
52479
|
+
"type": "object",
|
|
52480
|
+
"properties": {
|
|
52481
|
+
"code": {
|
|
52482
|
+
"enum": [
|
|
52483
|
+
"INVALID_TARGET"
|
|
52484
|
+
]
|
|
52485
|
+
},
|
|
52486
|
+
"message": {
|
|
52487
|
+
"type": "string"
|
|
52488
|
+
},
|
|
52489
|
+
"details": {}
|
|
52490
|
+
},
|
|
52491
|
+
"additionalProperties": false,
|
|
52492
|
+
"required": [
|
|
52493
|
+
"code",
|
|
52494
|
+
"message"
|
|
52495
|
+
]
|
|
52496
|
+
}
|
|
52497
|
+
},
|
|
52498
|
+
"additionalProperties": false,
|
|
52499
|
+
"required": [
|
|
52500
|
+
"success",
|
|
52501
|
+
"failure"
|
|
52502
|
+
]
|
|
52503
|
+
},
|
|
52504
|
+
"intentGroup": "list",
|
|
52505
|
+
"intentAction": "detach"
|
|
52506
|
+
},
|
|
52507
|
+
"doc.lists.indent": {
|
|
52508
|
+
"operationId": "doc.lists.indent",
|
|
52509
|
+
"sdkSurface": "document",
|
|
52510
|
+
"command": "lists indent",
|
|
52511
|
+
"commandTokens": [
|
|
52512
|
+
"lists",
|
|
52513
|
+
"indent"
|
|
52514
|
+
],
|
|
52515
|
+
"category": "lists",
|
|
52516
|
+
"description": "Increase the indentation level of a list item.",
|
|
52517
|
+
"requiresDocumentContext": true,
|
|
52518
|
+
"docRequirement": "optional",
|
|
52519
|
+
"responseEnvelopeKey": "result",
|
|
52520
|
+
"params": [
|
|
52521
|
+
{
|
|
52522
|
+
"name": "doc",
|
|
52523
|
+
"kind": "doc",
|
|
52524
|
+
"type": "string",
|
|
52525
|
+
"description": "Document path. Optional when a session is already open."
|
|
52526
|
+
},
|
|
52527
|
+
{
|
|
52528
|
+
"name": "sessionId",
|
|
52529
|
+
"kind": "flag",
|
|
52530
|
+
"type": "string",
|
|
52531
|
+
"flag": "session",
|
|
52532
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
52533
|
+
},
|
|
52534
|
+
{
|
|
52535
|
+
"name": "out",
|
|
52536
|
+
"kind": "flag",
|
|
52537
|
+
"type": "string",
|
|
52538
|
+
"agentVisible": false
|
|
52539
|
+
},
|
|
52540
|
+
{
|
|
52541
|
+
"name": "force",
|
|
52542
|
+
"kind": "flag",
|
|
52543
|
+
"type": "boolean",
|
|
52544
|
+
"description": "Bypass confirmation checks."
|
|
52545
|
+
},
|
|
52546
|
+
{
|
|
52547
|
+
"name": "expectedRevision",
|
|
52548
|
+
"kind": "flag",
|
|
52549
|
+
"type": "number",
|
|
52550
|
+
"flag": "expected-revision",
|
|
52551
|
+
"agentVisible": false
|
|
52552
|
+
},
|
|
52553
|
+
{
|
|
52554
|
+
"name": "changeMode",
|
|
52555
|
+
"kind": "flag",
|
|
52556
|
+
"type": "string",
|
|
52557
|
+
"flag": "change-mode",
|
|
52558
|
+
"schema": {
|
|
52559
|
+
"enum": [
|
|
52560
|
+
"direct",
|
|
52561
|
+
"tracked"
|
|
52562
|
+
]
|
|
52563
|
+
},
|
|
52564
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
52565
|
+
},
|
|
52566
|
+
{
|
|
52567
|
+
"name": "dryRun",
|
|
52568
|
+
"kind": "flag",
|
|
52569
|
+
"type": "boolean",
|
|
52570
|
+
"flag": "dry-run",
|
|
52571
|
+
"description": "Preview the result without applying changes."
|
|
52572
|
+
},
|
|
52573
|
+
{
|
|
52574
|
+
"name": "target",
|
|
52575
|
+
"kind": "jsonFlag",
|
|
52576
|
+
"type": "json",
|
|
52577
|
+
"flag": "target-json",
|
|
52578
|
+
"schema": {
|
|
52579
|
+
"type": "object",
|
|
52580
|
+
"properties": {
|
|
52581
|
+
"kind": {
|
|
52582
|
+
"const": "block"
|
|
52583
|
+
},
|
|
52584
|
+
"nodeType": {
|
|
52585
|
+
"const": "listItem"
|
|
52586
|
+
},
|
|
52587
|
+
"nodeId": {
|
|
52588
|
+
"type": "string"
|
|
52589
|
+
}
|
|
52590
|
+
},
|
|
52591
|
+
"required": [
|
|
52592
|
+
"kind",
|
|
52593
|
+
"nodeType",
|
|
52594
|
+
"nodeId"
|
|
52595
|
+
]
|
|
52596
|
+
}
|
|
52597
|
+
},
|
|
52598
|
+
{
|
|
52599
|
+
"name": "input",
|
|
52600
|
+
"kind": "jsonFlag",
|
|
52601
|
+
"type": "json",
|
|
52602
|
+
"flag": "input-json",
|
|
52603
|
+
"description": "Operation input as JSON object."
|
|
52604
|
+
},
|
|
52605
|
+
{
|
|
52606
|
+
"name": "nodeId",
|
|
52607
|
+
"kind": "flag",
|
|
52608
|
+
"type": "string",
|
|
52609
|
+
"flag": "node-id",
|
|
52610
|
+
"description": "Node ID of the target list item."
|
|
52611
|
+
}
|
|
52612
|
+
],
|
|
52613
|
+
"constraints": null,
|
|
52614
|
+
"mutates": true,
|
|
52615
|
+
"idempotency": "conditional",
|
|
52616
|
+
"supportsTrackedMode": false,
|
|
52617
|
+
"supportsDryRun": true,
|
|
52618
|
+
"inputSchema": {
|
|
52619
|
+
"type": "object",
|
|
52620
|
+
"properties": {
|
|
52621
|
+
"target": {
|
|
52622
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
52623
|
+
}
|
|
52624
|
+
},
|
|
52625
|
+
"additionalProperties": false,
|
|
52626
|
+
"required": [
|
|
52627
|
+
"target"
|
|
52628
|
+
]
|
|
52629
|
+
},
|
|
52630
|
+
"outputSchema": {
|
|
52631
|
+
"oneOf": [
|
|
52632
|
+
{
|
|
52633
|
+
"type": "object",
|
|
52634
|
+
"properties": {
|
|
52635
|
+
"success": {
|
|
52636
|
+
"const": true
|
|
52637
|
+
},
|
|
52638
|
+
"item": {
|
|
52639
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
52640
|
+
}
|
|
52641
|
+
},
|
|
52642
|
+
"additionalProperties": false,
|
|
52643
|
+
"required": [
|
|
52644
|
+
"success",
|
|
52645
|
+
"item"
|
|
52646
|
+
]
|
|
52647
|
+
},
|
|
52648
|
+
{
|
|
52649
|
+
"type": "object",
|
|
52650
|
+
"properties": {
|
|
52651
|
+
"success": {
|
|
52652
|
+
"const": false
|
|
52653
|
+
},
|
|
52654
|
+
"failure": {
|
|
52655
|
+
"type": "object",
|
|
52656
|
+
"properties": {
|
|
52657
|
+
"code": {
|
|
52658
|
+
"enum": [
|
|
52659
|
+
"NO_OP",
|
|
52660
|
+
"INVALID_TARGET",
|
|
52661
|
+
"LEVEL_OUT_OF_RANGE"
|
|
52662
|
+
]
|
|
52663
|
+
},
|
|
52664
|
+
"message": {
|
|
52665
|
+
"type": "string"
|
|
52666
|
+
},
|
|
52667
|
+
"details": {}
|
|
52668
|
+
},
|
|
52669
|
+
"additionalProperties": false,
|
|
52670
|
+
"required": [
|
|
52671
|
+
"code",
|
|
52672
|
+
"message"
|
|
52673
|
+
]
|
|
52674
|
+
}
|
|
52675
|
+
},
|
|
52676
|
+
"additionalProperties": false,
|
|
52677
|
+
"required": [
|
|
52678
|
+
"success",
|
|
52679
|
+
"failure"
|
|
52680
|
+
]
|
|
52681
|
+
}
|
|
52682
|
+
]
|
|
52683
|
+
},
|
|
52684
|
+
"successSchema": {
|
|
52685
|
+
"type": "object",
|
|
52686
|
+
"properties": {
|
|
52687
|
+
"success": {
|
|
52688
|
+
"const": true
|
|
52689
|
+
},
|
|
52690
|
+
"item": {
|
|
52691
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
52692
|
+
}
|
|
52693
|
+
},
|
|
52694
|
+
"additionalProperties": false,
|
|
52695
|
+
"required": [
|
|
52696
|
+
"success",
|
|
52697
|
+
"item"
|
|
52698
|
+
]
|
|
52699
|
+
},
|
|
52700
|
+
"failureSchema": {
|
|
52701
|
+
"type": "object",
|
|
52702
|
+
"properties": {
|
|
52703
|
+
"success": {
|
|
52704
|
+
"const": false
|
|
52705
|
+
},
|
|
52706
|
+
"failure": {
|
|
52707
|
+
"type": "object",
|
|
52708
|
+
"properties": {
|
|
52709
|
+
"code": {
|
|
52710
|
+
"enum": [
|
|
52711
|
+
"NO_OP",
|
|
52712
|
+
"INVALID_TARGET",
|
|
52713
|
+
"LEVEL_OUT_OF_RANGE"
|
|
52714
|
+
]
|
|
52715
|
+
},
|
|
52716
|
+
"message": {
|
|
52717
|
+
"type": "string"
|
|
52718
|
+
},
|
|
52719
|
+
"details": {}
|
|
52720
|
+
},
|
|
52721
|
+
"additionalProperties": false,
|
|
52722
|
+
"required": [
|
|
52723
|
+
"code",
|
|
52724
|
+
"message"
|
|
52725
|
+
]
|
|
52726
|
+
}
|
|
52727
|
+
},
|
|
52728
|
+
"additionalProperties": false,
|
|
52729
|
+
"required": [
|
|
52730
|
+
"success",
|
|
52731
|
+
"failure"
|
|
52732
|
+
]
|
|
52733
|
+
},
|
|
52734
|
+
"intentGroup": "list",
|
|
52735
|
+
"intentAction": "indent"
|
|
52736
|
+
},
|
|
52737
|
+
"doc.lists.outdent": {
|
|
52738
|
+
"operationId": "doc.lists.outdent",
|
|
52739
|
+
"sdkSurface": "document",
|
|
52740
|
+
"command": "lists outdent",
|
|
52741
|
+
"commandTokens": [
|
|
52742
|
+
"lists",
|
|
52743
|
+
"outdent"
|
|
52744
|
+
],
|
|
52745
|
+
"category": "lists",
|
|
52746
|
+
"description": "Decrease the indentation level of a list item.",
|
|
52747
|
+
"requiresDocumentContext": true,
|
|
52748
|
+
"docRequirement": "optional",
|
|
52749
|
+
"responseEnvelopeKey": "result",
|
|
52750
|
+
"params": [
|
|
52751
|
+
{
|
|
52752
|
+
"name": "doc",
|
|
52753
|
+
"kind": "doc",
|
|
52754
|
+
"type": "string",
|
|
52755
|
+
"description": "Document path. Optional when a session is already open."
|
|
52756
|
+
},
|
|
52757
|
+
{
|
|
52758
|
+
"name": "sessionId",
|
|
52759
|
+
"kind": "flag",
|
|
52760
|
+
"type": "string",
|
|
52761
|
+
"flag": "session",
|
|
52762
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
52763
|
+
},
|
|
52764
|
+
{
|
|
52765
|
+
"name": "out",
|
|
52766
|
+
"kind": "flag",
|
|
52767
|
+
"type": "string",
|
|
52768
|
+
"agentVisible": false
|
|
52769
|
+
},
|
|
52770
|
+
{
|
|
52771
|
+
"name": "force",
|
|
52772
|
+
"kind": "flag",
|
|
52773
|
+
"type": "boolean",
|
|
52774
|
+
"description": "Bypass confirmation checks."
|
|
52775
|
+
},
|
|
52776
|
+
{
|
|
52777
|
+
"name": "expectedRevision",
|
|
52778
|
+
"kind": "flag",
|
|
52779
|
+
"type": "number",
|
|
52780
|
+
"flag": "expected-revision",
|
|
52781
|
+
"agentVisible": false
|
|
52782
|
+
},
|
|
52783
|
+
{
|
|
52784
|
+
"name": "changeMode",
|
|
52785
|
+
"kind": "flag",
|
|
52786
|
+
"type": "string",
|
|
52787
|
+
"flag": "change-mode",
|
|
52788
|
+
"schema": {
|
|
52789
|
+
"enum": [
|
|
52790
|
+
"direct",
|
|
52791
|
+
"tracked"
|
|
52792
|
+
]
|
|
52793
|
+
},
|
|
52794
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
52795
|
+
},
|
|
52796
|
+
{
|
|
52797
|
+
"name": "dryRun",
|
|
52798
|
+
"kind": "flag",
|
|
52799
|
+
"type": "boolean",
|
|
52800
|
+
"flag": "dry-run",
|
|
52801
|
+
"description": "Preview the result without applying changes."
|
|
52802
|
+
},
|
|
52803
|
+
{
|
|
52804
|
+
"name": "target",
|
|
52805
|
+
"kind": "jsonFlag",
|
|
52806
|
+
"type": "json",
|
|
52807
|
+
"flag": "target-json",
|
|
52808
|
+
"schema": {
|
|
52809
|
+
"type": "object",
|
|
52810
|
+
"properties": {
|
|
52811
|
+
"kind": {
|
|
52812
|
+
"const": "block"
|
|
52813
|
+
},
|
|
52814
|
+
"nodeType": {
|
|
52815
|
+
"const": "listItem"
|
|
52816
|
+
},
|
|
52817
|
+
"nodeId": {
|
|
52818
|
+
"type": "string"
|
|
52819
|
+
}
|
|
52820
|
+
},
|
|
52821
|
+
"required": [
|
|
52822
|
+
"kind",
|
|
52823
|
+
"nodeType",
|
|
52824
|
+
"nodeId"
|
|
52825
|
+
]
|
|
52826
|
+
}
|
|
52827
|
+
},
|
|
52828
|
+
{
|
|
52829
|
+
"name": "input",
|
|
52830
|
+
"kind": "jsonFlag",
|
|
52831
|
+
"type": "json",
|
|
52832
|
+
"flag": "input-json",
|
|
52833
|
+
"description": "Operation input as JSON object."
|
|
52834
|
+
},
|
|
52835
|
+
{
|
|
52836
|
+
"name": "nodeId",
|
|
52837
|
+
"kind": "flag",
|
|
52838
|
+
"type": "string",
|
|
52839
|
+
"flag": "node-id",
|
|
52840
|
+
"description": "Node ID of the target list item."
|
|
52841
|
+
}
|
|
52842
|
+
],
|
|
52843
|
+
"constraints": null,
|
|
52844
|
+
"mutates": true,
|
|
52845
|
+
"idempotency": "conditional",
|
|
52846
|
+
"supportsTrackedMode": false,
|
|
52847
|
+
"supportsDryRun": true,
|
|
52848
|
+
"inputSchema": {
|
|
52849
|
+
"type": "object",
|
|
52850
|
+
"properties": {
|
|
52851
|
+
"target": {
|
|
52852
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
52853
|
+
}
|
|
52854
|
+
},
|
|
52855
|
+
"additionalProperties": false,
|
|
52856
|
+
"required": [
|
|
52857
|
+
"target"
|
|
52858
|
+
]
|
|
52859
|
+
},
|
|
52860
|
+
"outputSchema": {
|
|
52861
|
+
"oneOf": [
|
|
52862
|
+
{
|
|
52863
|
+
"type": "object",
|
|
52864
|
+
"properties": {
|
|
52865
|
+
"success": {
|
|
52866
|
+
"const": true
|
|
52867
|
+
},
|
|
52868
|
+
"item": {
|
|
52869
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
52412
52870
|
}
|
|
52413
52871
|
},
|
|
52414
52872
|
"additionalProperties": false,
|
|
52415
52873
|
"required": [
|
|
52416
52874
|
"success",
|
|
52417
|
-
"
|
|
52875
|
+
"item"
|
|
52418
52876
|
]
|
|
52419
52877
|
},
|
|
52420
52878
|
{
|
|
@@ -52428,7 +52886,9 @@ export const CONTRACT = {
|
|
|
52428
52886
|
"properties": {
|
|
52429
52887
|
"code": {
|
|
52430
52888
|
"enum": [
|
|
52431
|
-
"
|
|
52889
|
+
"NO_OP",
|
|
52890
|
+
"INVALID_TARGET",
|
|
52891
|
+
"LEVEL_OUT_OF_RANGE"
|
|
52432
52892
|
]
|
|
52433
52893
|
},
|
|
52434
52894
|
"message": {
|
|
@@ -52457,14 +52917,14 @@ export const CONTRACT = {
|
|
|
52457
52917
|
"success": {
|
|
52458
52918
|
"const": true
|
|
52459
52919
|
},
|
|
52460
|
-
"
|
|
52461
|
-
"$ref": "#/$defs/
|
|
52920
|
+
"item": {
|
|
52921
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
52462
52922
|
}
|
|
52463
52923
|
},
|
|
52464
52924
|
"additionalProperties": false,
|
|
52465
52925
|
"required": [
|
|
52466
52926
|
"success",
|
|
52467
|
-
"
|
|
52927
|
+
"item"
|
|
52468
52928
|
]
|
|
52469
52929
|
},
|
|
52470
52930
|
"failureSchema": {
|
|
@@ -52478,7 +52938,9 @@ export const CONTRACT = {
|
|
|
52478
52938
|
"properties": {
|
|
52479
52939
|
"code": {
|
|
52480
52940
|
"enum": [
|
|
52481
|
-
"
|
|
52941
|
+
"NO_OP",
|
|
52942
|
+
"INVALID_TARGET",
|
|
52943
|
+
"LEVEL_OUT_OF_RANGE"
|
|
52482
52944
|
]
|
|
52483
52945
|
},
|
|
52484
52946
|
"message": {
|
|
@@ -52500,18 +52962,18 @@ export const CONTRACT = {
|
|
|
52500
52962
|
]
|
|
52501
52963
|
},
|
|
52502
52964
|
"intentGroup": "list",
|
|
52503
|
-
"intentAction": "
|
|
52965
|
+
"intentAction": "outdent"
|
|
52504
52966
|
},
|
|
52505
|
-
"doc.lists.
|
|
52506
|
-
"operationId": "doc.lists.
|
|
52967
|
+
"doc.lists.join": {
|
|
52968
|
+
"operationId": "doc.lists.join",
|
|
52507
52969
|
"sdkSurface": "document",
|
|
52508
|
-
"command": "lists
|
|
52970
|
+
"command": "lists join",
|
|
52509
52971
|
"commandTokens": [
|
|
52510
52972
|
"lists",
|
|
52511
|
-
"
|
|
52973
|
+
"join"
|
|
52512
52974
|
],
|
|
52513
52975
|
"category": "lists",
|
|
52514
|
-
"description": "
|
|
52976
|
+
"description": "Merge two adjacent list sequences into one.",
|
|
52515
52977
|
"requiresDocumentContext": true,
|
|
52516
52978
|
"docRequirement": "optional",
|
|
52517
52979
|
"responseEnvelopeKey": "result",
|
|
@@ -52593,19 +53055,27 @@ export const CONTRACT = {
|
|
|
52593
53055
|
]
|
|
52594
53056
|
}
|
|
52595
53057
|
},
|
|
53058
|
+
{
|
|
53059
|
+
"name": "direction",
|
|
53060
|
+
"kind": "flag",
|
|
53061
|
+
"type": "string",
|
|
53062
|
+
"schema": {
|
|
53063
|
+
"oneOf": [
|
|
53064
|
+
{
|
|
53065
|
+
"const": "withPrevious"
|
|
53066
|
+
},
|
|
53067
|
+
{
|
|
53068
|
+
"const": "withNext"
|
|
53069
|
+
}
|
|
53070
|
+
]
|
|
53071
|
+
}
|
|
53072
|
+
},
|
|
52596
53073
|
{
|
|
52597
53074
|
"name": "input",
|
|
52598
53075
|
"kind": "jsonFlag",
|
|
52599
53076
|
"type": "json",
|
|
52600
53077
|
"flag": "input-json",
|
|
52601
53078
|
"description": "Operation input as JSON object."
|
|
52602
|
-
},
|
|
52603
|
-
{
|
|
52604
|
-
"name": "nodeId",
|
|
52605
|
-
"kind": "flag",
|
|
52606
|
-
"type": "string",
|
|
52607
|
-
"flag": "node-id",
|
|
52608
|
-
"description": "Node ID of the target list item."
|
|
52609
53079
|
}
|
|
52610
53080
|
],
|
|
52611
53081
|
"constraints": null,
|
|
@@ -52618,11 +53088,18 @@ export const CONTRACT = {
|
|
|
52618
53088
|
"properties": {
|
|
52619
53089
|
"target": {
|
|
52620
53090
|
"$ref": "#/$defs/ListItemAddress"
|
|
53091
|
+
},
|
|
53092
|
+
"direction": {
|
|
53093
|
+
"enum": [
|
|
53094
|
+
"withPrevious",
|
|
53095
|
+
"withNext"
|
|
53096
|
+
]
|
|
52621
53097
|
}
|
|
52622
53098
|
},
|
|
52623
53099
|
"additionalProperties": false,
|
|
52624
53100
|
"required": [
|
|
52625
|
-
"target"
|
|
53101
|
+
"target",
|
|
53102
|
+
"direction"
|
|
52626
53103
|
]
|
|
52627
53104
|
},
|
|
52628
53105
|
"outputSchema": {
|
|
@@ -52633,14 +53110,14 @@ export const CONTRACT = {
|
|
|
52633
53110
|
"success": {
|
|
52634
53111
|
"const": true
|
|
52635
53112
|
},
|
|
52636
|
-
"
|
|
52637
|
-
"
|
|
53113
|
+
"listId": {
|
|
53114
|
+
"type": "string"
|
|
52638
53115
|
}
|
|
52639
53116
|
},
|
|
52640
53117
|
"additionalProperties": false,
|
|
52641
53118
|
"required": [
|
|
52642
53119
|
"success",
|
|
52643
|
-
"
|
|
53120
|
+
"listId"
|
|
52644
53121
|
]
|
|
52645
53122
|
},
|
|
52646
53123
|
{
|
|
@@ -52654,9 +53131,10 @@ export const CONTRACT = {
|
|
|
52654
53131
|
"properties": {
|
|
52655
53132
|
"code": {
|
|
52656
53133
|
"enum": [
|
|
52657
|
-
"NO_OP",
|
|
52658
53134
|
"INVALID_TARGET",
|
|
52659
|
-
"
|
|
53135
|
+
"NO_ADJACENT_SEQUENCE",
|
|
53136
|
+
"INCOMPATIBLE_DEFINITIONS",
|
|
53137
|
+
"ALREADY_SAME_SEQUENCE"
|
|
52660
53138
|
]
|
|
52661
53139
|
},
|
|
52662
53140
|
"message": {
|
|
@@ -52685,14 +53163,14 @@ export const CONTRACT = {
|
|
|
52685
53163
|
"success": {
|
|
52686
53164
|
"const": true
|
|
52687
53165
|
},
|
|
52688
|
-
"
|
|
52689
|
-
"
|
|
53166
|
+
"listId": {
|
|
53167
|
+
"type": "string"
|
|
52690
53168
|
}
|
|
52691
53169
|
},
|
|
52692
53170
|
"additionalProperties": false,
|
|
52693
53171
|
"required": [
|
|
52694
53172
|
"success",
|
|
52695
|
-
"
|
|
53173
|
+
"listId"
|
|
52696
53174
|
]
|
|
52697
53175
|
},
|
|
52698
53176
|
"failureSchema": {
|
|
@@ -52706,9 +53184,10 @@ export const CONTRACT = {
|
|
|
52706
53184
|
"properties": {
|
|
52707
53185
|
"code": {
|
|
52708
53186
|
"enum": [
|
|
52709
|
-
"NO_OP",
|
|
52710
53187
|
"INVALID_TARGET",
|
|
52711
|
-
"
|
|
53188
|
+
"NO_ADJACENT_SEQUENCE",
|
|
53189
|
+
"INCOMPATIBLE_DEFINITIONS",
|
|
53190
|
+
"ALREADY_SAME_SEQUENCE"
|
|
52712
53191
|
]
|
|
52713
53192
|
},
|
|
52714
53193
|
"message": {
|
|
@@ -52728,20 +53207,140 @@ export const CONTRACT = {
|
|
|
52728
53207
|
"success",
|
|
52729
53208
|
"failure"
|
|
52730
53209
|
]
|
|
53210
|
+
}
|
|
53211
|
+
},
|
|
53212
|
+
"doc.lists.canJoin": {
|
|
53213
|
+
"operationId": "doc.lists.canJoin",
|
|
53214
|
+
"sdkSurface": "document",
|
|
53215
|
+
"command": "lists can-join",
|
|
53216
|
+
"commandTokens": [
|
|
53217
|
+
"lists",
|
|
53218
|
+
"can-join"
|
|
53219
|
+
],
|
|
53220
|
+
"category": "lists",
|
|
53221
|
+
"description": "Check whether two adjacent list sequences can be joined.",
|
|
53222
|
+
"requiresDocumentContext": true,
|
|
53223
|
+
"docRequirement": "optional",
|
|
53224
|
+
"responseEnvelopeKey": "result",
|
|
53225
|
+
"params": [
|
|
53226
|
+
{
|
|
53227
|
+
"name": "doc",
|
|
53228
|
+
"kind": "doc",
|
|
53229
|
+
"type": "string",
|
|
53230
|
+
"description": "Document path. Optional when a session is already open."
|
|
53231
|
+
},
|
|
53232
|
+
{
|
|
53233
|
+
"name": "sessionId",
|
|
53234
|
+
"kind": "flag",
|
|
53235
|
+
"type": "string",
|
|
53236
|
+
"flag": "session",
|
|
53237
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
53238
|
+
},
|
|
53239
|
+
{
|
|
53240
|
+
"name": "target",
|
|
53241
|
+
"kind": "jsonFlag",
|
|
53242
|
+
"type": "json",
|
|
53243
|
+
"flag": "target-json",
|
|
53244
|
+
"schema": {
|
|
53245
|
+
"type": "object",
|
|
53246
|
+
"properties": {
|
|
53247
|
+
"kind": {
|
|
53248
|
+
"const": "block"
|
|
53249
|
+
},
|
|
53250
|
+
"nodeType": {
|
|
53251
|
+
"const": "listItem"
|
|
53252
|
+
},
|
|
53253
|
+
"nodeId": {
|
|
53254
|
+
"type": "string"
|
|
53255
|
+
}
|
|
53256
|
+
},
|
|
53257
|
+
"required": [
|
|
53258
|
+
"kind",
|
|
53259
|
+
"nodeType",
|
|
53260
|
+
"nodeId"
|
|
53261
|
+
]
|
|
53262
|
+
}
|
|
53263
|
+
},
|
|
53264
|
+
{
|
|
53265
|
+
"name": "direction",
|
|
53266
|
+
"kind": "flag",
|
|
53267
|
+
"type": "string",
|
|
53268
|
+
"schema": {
|
|
53269
|
+
"oneOf": [
|
|
53270
|
+
{
|
|
53271
|
+
"const": "withPrevious"
|
|
53272
|
+
},
|
|
53273
|
+
{
|
|
53274
|
+
"const": "withNext"
|
|
53275
|
+
}
|
|
53276
|
+
]
|
|
53277
|
+
}
|
|
53278
|
+
},
|
|
53279
|
+
{
|
|
53280
|
+
"name": "input",
|
|
53281
|
+
"kind": "jsonFlag",
|
|
53282
|
+
"type": "json",
|
|
53283
|
+
"flag": "input-json",
|
|
53284
|
+
"description": "Operation input as JSON object."
|
|
53285
|
+
}
|
|
53286
|
+
],
|
|
53287
|
+
"constraints": null,
|
|
53288
|
+
"mutates": false,
|
|
53289
|
+
"idempotency": "idempotent",
|
|
53290
|
+
"supportsTrackedMode": false,
|
|
53291
|
+
"supportsDryRun": false,
|
|
53292
|
+
"inputSchema": {
|
|
53293
|
+
"type": "object",
|
|
53294
|
+
"properties": {
|
|
53295
|
+
"target": {
|
|
53296
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
53297
|
+
},
|
|
53298
|
+
"direction": {
|
|
53299
|
+
"enum": [
|
|
53300
|
+
"withPrevious",
|
|
53301
|
+
"withNext"
|
|
53302
|
+
]
|
|
53303
|
+
}
|
|
53304
|
+
},
|
|
53305
|
+
"additionalProperties": false,
|
|
53306
|
+
"required": [
|
|
53307
|
+
"target",
|
|
53308
|
+
"direction"
|
|
53309
|
+
]
|
|
52731
53310
|
},
|
|
52732
|
-
"
|
|
52733
|
-
|
|
53311
|
+
"outputSchema": {
|
|
53312
|
+
"type": "object",
|
|
53313
|
+
"properties": {
|
|
53314
|
+
"canJoin": {
|
|
53315
|
+
"type": "boolean"
|
|
53316
|
+
},
|
|
53317
|
+
"reason": {
|
|
53318
|
+
"enum": [
|
|
53319
|
+
"NO_ADJACENT_SEQUENCE",
|
|
53320
|
+
"INCOMPATIBLE_DEFINITIONS",
|
|
53321
|
+
"ALREADY_SAME_SEQUENCE"
|
|
53322
|
+
]
|
|
53323
|
+
},
|
|
53324
|
+
"adjacentListId": {
|
|
53325
|
+
"type": "string"
|
|
53326
|
+
}
|
|
53327
|
+
},
|
|
53328
|
+
"additionalProperties": false,
|
|
53329
|
+
"required": [
|
|
53330
|
+
"canJoin"
|
|
53331
|
+
]
|
|
53332
|
+
}
|
|
52734
53333
|
},
|
|
52735
|
-
"doc.lists.
|
|
52736
|
-
"operationId": "doc.lists.
|
|
53334
|
+
"doc.lists.separate": {
|
|
53335
|
+
"operationId": "doc.lists.separate",
|
|
52737
53336
|
"sdkSurface": "document",
|
|
52738
|
-
"command": "lists
|
|
53337
|
+
"command": "lists separate",
|
|
52739
53338
|
"commandTokens": [
|
|
52740
53339
|
"lists",
|
|
52741
|
-
"
|
|
53340
|
+
"separate"
|
|
52742
53341
|
],
|
|
52743
53342
|
"category": "lists",
|
|
52744
|
-
"description": "
|
|
53343
|
+
"description": "Split a list sequence at the target item, creating a new sequence from that point forward.",
|
|
52745
53344
|
"requiresDocumentContext": true,
|
|
52746
53345
|
"docRequirement": "optional",
|
|
52747
53346
|
"responseEnvelopeKey": "result",
|
|
@@ -52823,6 +53422,12 @@ export const CONTRACT = {
|
|
|
52823
53422
|
]
|
|
52824
53423
|
}
|
|
52825
53424
|
},
|
|
53425
|
+
{
|
|
53426
|
+
"name": "copyOverrides",
|
|
53427
|
+
"kind": "flag",
|
|
53428
|
+
"type": "boolean",
|
|
53429
|
+
"flag": "copy-overrides"
|
|
53430
|
+
},
|
|
52826
53431
|
{
|
|
52827
53432
|
"name": "input",
|
|
52828
53433
|
"kind": "jsonFlag",
|
|
@@ -52848,6 +53453,9 @@ export const CONTRACT = {
|
|
|
52848
53453
|
"properties": {
|
|
52849
53454
|
"target": {
|
|
52850
53455
|
"$ref": "#/$defs/ListItemAddress"
|
|
53456
|
+
},
|
|
53457
|
+
"copyOverrides": {
|
|
53458
|
+
"type": "boolean"
|
|
52851
53459
|
}
|
|
52852
53460
|
},
|
|
52853
53461
|
"additionalProperties": false,
|
|
@@ -52863,14 +53471,18 @@ export const CONTRACT = {
|
|
|
52863
53471
|
"success": {
|
|
52864
53472
|
"const": true
|
|
52865
53473
|
},
|
|
52866
|
-
"
|
|
52867
|
-
"
|
|
53474
|
+
"listId": {
|
|
53475
|
+
"type": "string"
|
|
53476
|
+
},
|
|
53477
|
+
"numId": {
|
|
53478
|
+
"type": "integer"
|
|
52868
53479
|
}
|
|
52869
53480
|
},
|
|
52870
53481
|
"additionalProperties": false,
|
|
52871
53482
|
"required": [
|
|
52872
53483
|
"success",
|
|
52873
|
-
"
|
|
53484
|
+
"listId",
|
|
53485
|
+
"numId"
|
|
52874
53486
|
]
|
|
52875
53487
|
},
|
|
52876
53488
|
{
|
|
@@ -52884,9 +53496,8 @@ export const CONTRACT = {
|
|
|
52884
53496
|
"properties": {
|
|
52885
53497
|
"code": {
|
|
52886
53498
|
"enum": [
|
|
52887
|
-
"NO_OP",
|
|
52888
53499
|
"INVALID_TARGET",
|
|
52889
|
-
"
|
|
53500
|
+
"NO_OP"
|
|
52890
53501
|
]
|
|
52891
53502
|
},
|
|
52892
53503
|
"message": {
|
|
@@ -52915,14 +53526,18 @@ export const CONTRACT = {
|
|
|
52915
53526
|
"success": {
|
|
52916
53527
|
"const": true
|
|
52917
53528
|
},
|
|
52918
|
-
"
|
|
52919
|
-
"
|
|
53529
|
+
"listId": {
|
|
53530
|
+
"type": "string"
|
|
53531
|
+
},
|
|
53532
|
+
"numId": {
|
|
53533
|
+
"type": "integer"
|
|
52920
53534
|
}
|
|
52921
53535
|
},
|
|
52922
53536
|
"additionalProperties": false,
|
|
52923
53537
|
"required": [
|
|
52924
53538
|
"success",
|
|
52925
|
-
"
|
|
53539
|
+
"listId",
|
|
53540
|
+
"numId"
|
|
52926
53541
|
]
|
|
52927
53542
|
},
|
|
52928
53543
|
"failureSchema": {
|
|
@@ -52936,9 +53551,8 @@ export const CONTRACT = {
|
|
|
52936
53551
|
"properties": {
|
|
52937
53552
|
"code": {
|
|
52938
53553
|
"enum": [
|
|
52939
|
-
"NO_OP",
|
|
52940
53554
|
"INVALID_TARGET",
|
|
52941
|
-
"
|
|
53555
|
+
"NO_OP"
|
|
52942
53556
|
]
|
|
52943
53557
|
},
|
|
52944
53558
|
"message": {
|
|
@@ -52958,23 +53572,21 @@ export const CONTRACT = {
|
|
|
52958
53572
|
"success",
|
|
52959
53573
|
"failure"
|
|
52960
53574
|
]
|
|
52961
|
-
}
|
|
52962
|
-
"intentGroup": "list",
|
|
52963
|
-
"intentAction": "outdent"
|
|
53575
|
+
}
|
|
52964
53576
|
},
|
|
52965
|
-
"doc.lists.
|
|
52966
|
-
"operationId": "doc.lists.
|
|
53577
|
+
"doc.lists.merge": {
|
|
53578
|
+
"operationId": "doc.lists.merge",
|
|
52967
53579
|
"sdkSurface": "document",
|
|
52968
|
-
"command": "lists
|
|
53580
|
+
"command": "lists merge",
|
|
52969
53581
|
"commandTokens": [
|
|
52970
53582
|
"lists",
|
|
52971
|
-
"
|
|
53583
|
+
"merge"
|
|
52972
53584
|
],
|
|
52973
53585
|
"category": "lists",
|
|
52974
|
-
"description": "
|
|
53586
|
+
"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.",
|
|
52975
53587
|
"requiresDocumentContext": true,
|
|
52976
53588
|
"docRequirement": "optional",
|
|
52977
|
-
"responseEnvelopeKey":
|
|
53589
|
+
"responseEnvelopeKey": null,
|
|
52978
53590
|
"params": [
|
|
52979
53591
|
{
|
|
52980
53592
|
"name": "doc",
|
|
@@ -53033,6 +53645,7 @@ export const CONTRACT = {
|
|
|
53033
53645
|
"kind": "jsonFlag",
|
|
53034
53646
|
"type": "json",
|
|
53035
53647
|
"flag": "target-json",
|
|
53648
|
+
"required": true,
|
|
53036
53649
|
"schema": {
|
|
53037
53650
|
"type": "object",
|
|
53038
53651
|
"properties": {
|
|
@@ -53057,6 +53670,7 @@ export const CONTRACT = {
|
|
|
53057
53670
|
"name": "direction",
|
|
53058
53671
|
"kind": "flag",
|
|
53059
53672
|
"type": "string",
|
|
53673
|
+
"required": true,
|
|
53060
53674
|
"schema": {
|
|
53061
53675
|
"oneOf": [
|
|
53062
53676
|
{
|
|
@@ -53067,13 +53681,6 @@ export const CONTRACT = {
|
|
|
53067
53681
|
}
|
|
53068
53682
|
]
|
|
53069
53683
|
}
|
|
53070
|
-
},
|
|
53071
|
-
{
|
|
53072
|
-
"name": "input",
|
|
53073
|
-
"kind": "jsonFlag",
|
|
53074
|
-
"type": "json",
|
|
53075
|
-
"flag": "input-json",
|
|
53076
|
-
"description": "Operation input as JSON object."
|
|
53077
53684
|
}
|
|
53078
53685
|
],
|
|
53079
53686
|
"constraints": null,
|
|
@@ -53110,12 +53717,20 @@ export const CONTRACT = {
|
|
|
53110
53717
|
},
|
|
53111
53718
|
"listId": {
|
|
53112
53719
|
"type": "string"
|
|
53720
|
+
},
|
|
53721
|
+
"absorbedCount": {
|
|
53722
|
+
"type": "integer"
|
|
53723
|
+
},
|
|
53724
|
+
"removedEmptyBlocks": {
|
|
53725
|
+
"type": "integer"
|
|
53113
53726
|
}
|
|
53114
53727
|
},
|
|
53115
53728
|
"additionalProperties": false,
|
|
53116
53729
|
"required": [
|
|
53117
53730
|
"success",
|
|
53118
|
-
"listId"
|
|
53731
|
+
"listId",
|
|
53732
|
+
"absorbedCount",
|
|
53733
|
+
"removedEmptyBlocks"
|
|
53119
53734
|
]
|
|
53120
53735
|
},
|
|
53121
53736
|
{
|
|
@@ -53131,8 +53746,7 @@ export const CONTRACT = {
|
|
|
53131
53746
|
"enum": [
|
|
53132
53747
|
"INVALID_TARGET",
|
|
53133
53748
|
"NO_ADJACENT_SEQUENCE",
|
|
53134
|
-
"
|
|
53135
|
-
"ALREADY_SAME_SEQUENCE"
|
|
53749
|
+
"NO_OP"
|
|
53136
53750
|
]
|
|
53137
53751
|
},
|
|
53138
53752
|
"message": {
|
|
@@ -53163,12 +53777,20 @@ export const CONTRACT = {
|
|
|
53163
53777
|
},
|
|
53164
53778
|
"listId": {
|
|
53165
53779
|
"type": "string"
|
|
53780
|
+
},
|
|
53781
|
+
"absorbedCount": {
|
|
53782
|
+
"type": "integer"
|
|
53783
|
+
},
|
|
53784
|
+
"removedEmptyBlocks": {
|
|
53785
|
+
"type": "integer"
|
|
53166
53786
|
}
|
|
53167
53787
|
},
|
|
53168
53788
|
"additionalProperties": false,
|
|
53169
53789
|
"required": [
|
|
53170
53790
|
"success",
|
|
53171
|
-
"listId"
|
|
53791
|
+
"listId",
|
|
53792
|
+
"absorbedCount",
|
|
53793
|
+
"removedEmptyBlocks"
|
|
53172
53794
|
]
|
|
53173
53795
|
},
|
|
53174
53796
|
"failureSchema": {
|
|
@@ -53184,8 +53806,7 @@ export const CONTRACT = {
|
|
|
53184
53806
|
"enum": [
|
|
53185
53807
|
"INVALID_TARGET",
|
|
53186
53808
|
"NO_ADJACENT_SEQUENCE",
|
|
53187
|
-
"
|
|
53188
|
-
"ALREADY_SAME_SEQUENCE"
|
|
53809
|
+
"NO_OP"
|
|
53189
53810
|
]
|
|
53190
53811
|
},
|
|
53191
53812
|
"message": {
|
|
@@ -53205,143 +53826,23 @@ export const CONTRACT = {
|
|
|
53205
53826
|
"success",
|
|
53206
53827
|
"failure"
|
|
53207
53828
|
]
|
|
53208
|
-
}
|
|
53209
|
-
},
|
|
53210
|
-
"doc.lists.canJoin": {
|
|
53211
|
-
"operationId": "doc.lists.canJoin",
|
|
53212
|
-
"sdkSurface": "document",
|
|
53213
|
-
"command": "lists can-join",
|
|
53214
|
-
"commandTokens": [
|
|
53215
|
-
"lists",
|
|
53216
|
-
"can-join"
|
|
53217
|
-
],
|
|
53218
|
-
"category": "lists",
|
|
53219
|
-
"description": "Check whether two adjacent list sequences can be joined.",
|
|
53220
|
-
"requiresDocumentContext": true,
|
|
53221
|
-
"docRequirement": "optional",
|
|
53222
|
-
"responseEnvelopeKey": "result",
|
|
53223
|
-
"params": [
|
|
53224
|
-
{
|
|
53225
|
-
"name": "doc",
|
|
53226
|
-
"kind": "doc",
|
|
53227
|
-
"type": "string",
|
|
53228
|
-
"description": "Document path. Optional when a session is already open."
|
|
53229
|
-
},
|
|
53230
|
-
{
|
|
53231
|
-
"name": "sessionId",
|
|
53232
|
-
"kind": "flag",
|
|
53233
|
-
"type": "string",
|
|
53234
|
-
"flag": "session",
|
|
53235
|
-
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
53236
|
-
},
|
|
53237
|
-
{
|
|
53238
|
-
"name": "target",
|
|
53239
|
-
"kind": "jsonFlag",
|
|
53240
|
-
"type": "json",
|
|
53241
|
-
"flag": "target-json",
|
|
53242
|
-
"schema": {
|
|
53243
|
-
"type": "object",
|
|
53244
|
-
"properties": {
|
|
53245
|
-
"kind": {
|
|
53246
|
-
"const": "block"
|
|
53247
|
-
},
|
|
53248
|
-
"nodeType": {
|
|
53249
|
-
"const": "listItem"
|
|
53250
|
-
},
|
|
53251
|
-
"nodeId": {
|
|
53252
|
-
"type": "string"
|
|
53253
|
-
}
|
|
53254
|
-
},
|
|
53255
|
-
"required": [
|
|
53256
|
-
"kind",
|
|
53257
|
-
"nodeType",
|
|
53258
|
-
"nodeId"
|
|
53259
|
-
]
|
|
53260
|
-
}
|
|
53261
|
-
},
|
|
53262
|
-
{
|
|
53263
|
-
"name": "direction",
|
|
53264
|
-
"kind": "flag",
|
|
53265
|
-
"type": "string",
|
|
53266
|
-
"schema": {
|
|
53267
|
-
"oneOf": [
|
|
53268
|
-
{
|
|
53269
|
-
"const": "withPrevious"
|
|
53270
|
-
},
|
|
53271
|
-
{
|
|
53272
|
-
"const": "withNext"
|
|
53273
|
-
}
|
|
53274
|
-
]
|
|
53275
|
-
}
|
|
53276
|
-
},
|
|
53277
|
-
{
|
|
53278
|
-
"name": "input",
|
|
53279
|
-
"kind": "jsonFlag",
|
|
53280
|
-
"type": "json",
|
|
53281
|
-
"flag": "input-json",
|
|
53282
|
-
"description": "Operation input as JSON object."
|
|
53283
|
-
}
|
|
53284
|
-
],
|
|
53285
|
-
"constraints": null,
|
|
53286
|
-
"mutates": false,
|
|
53287
|
-
"idempotency": "idempotent",
|
|
53288
|
-
"supportsTrackedMode": false,
|
|
53289
|
-
"supportsDryRun": false,
|
|
53290
|
-
"inputSchema": {
|
|
53291
|
-
"type": "object",
|
|
53292
|
-
"properties": {
|
|
53293
|
-
"target": {
|
|
53294
|
-
"$ref": "#/$defs/ListItemAddress"
|
|
53295
|
-
},
|
|
53296
|
-
"direction": {
|
|
53297
|
-
"enum": [
|
|
53298
|
-
"withPrevious",
|
|
53299
|
-
"withNext"
|
|
53300
|
-
]
|
|
53301
|
-
}
|
|
53302
|
-
},
|
|
53303
|
-
"additionalProperties": false,
|
|
53304
|
-
"required": [
|
|
53305
|
-
"target",
|
|
53306
|
-
"direction"
|
|
53307
|
-
]
|
|
53308
53829
|
},
|
|
53309
|
-
"
|
|
53310
|
-
|
|
53311
|
-
"properties": {
|
|
53312
|
-
"canJoin": {
|
|
53313
|
-
"type": "boolean"
|
|
53314
|
-
},
|
|
53315
|
-
"reason": {
|
|
53316
|
-
"enum": [
|
|
53317
|
-
"NO_ADJACENT_SEQUENCE",
|
|
53318
|
-
"INCOMPATIBLE_DEFINITIONS",
|
|
53319
|
-
"ALREADY_SAME_SEQUENCE"
|
|
53320
|
-
]
|
|
53321
|
-
},
|
|
53322
|
-
"adjacentListId": {
|
|
53323
|
-
"type": "string"
|
|
53324
|
-
}
|
|
53325
|
-
},
|
|
53326
|
-
"additionalProperties": false,
|
|
53327
|
-
"required": [
|
|
53328
|
-
"canJoin"
|
|
53329
|
-
]
|
|
53330
|
-
}
|
|
53830
|
+
"intentGroup": "list",
|
|
53831
|
+
"intentAction": "merge"
|
|
53331
53832
|
},
|
|
53332
|
-
"doc.lists.
|
|
53333
|
-
"operationId": "doc.lists.
|
|
53833
|
+
"doc.lists.split": {
|
|
53834
|
+
"operationId": "doc.lists.split",
|
|
53334
53835
|
"sdkSurface": "document",
|
|
53335
|
-
"command": "lists
|
|
53836
|
+
"command": "lists split",
|
|
53336
53837
|
"commandTokens": [
|
|
53337
53838
|
"lists",
|
|
53338
|
-
"
|
|
53839
|
+
"split"
|
|
53339
53840
|
],
|
|
53340
53841
|
"category": "lists",
|
|
53341
|
-
"description": "
|
|
53842
|
+
"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).",
|
|
53342
53843
|
"requiresDocumentContext": true,
|
|
53343
53844
|
"docRequirement": "optional",
|
|
53344
|
-
"responseEnvelopeKey":
|
|
53845
|
+
"responseEnvelopeKey": null,
|
|
53345
53846
|
"params": [
|
|
53346
53847
|
{
|
|
53347
53848
|
"name": "doc",
|
|
@@ -53400,6 +53901,7 @@ export const CONTRACT = {
|
|
|
53400
53901
|
"kind": "jsonFlag",
|
|
53401
53902
|
"type": "json",
|
|
53402
53903
|
"flag": "target-json",
|
|
53904
|
+
"required": true,
|
|
53403
53905
|
"schema": {
|
|
53404
53906
|
"type": "object",
|
|
53405
53907
|
"properties": {
|
|
@@ -53421,24 +53923,10 @@ export const CONTRACT = {
|
|
|
53421
53923
|
}
|
|
53422
53924
|
},
|
|
53423
53925
|
{
|
|
53424
|
-
"name": "
|
|
53926
|
+
"name": "restartNumbering",
|
|
53425
53927
|
"kind": "flag",
|
|
53426
53928
|
"type": "boolean",
|
|
53427
|
-
"flag": "
|
|
53428
|
-
},
|
|
53429
|
-
{
|
|
53430
|
-
"name": "input",
|
|
53431
|
-
"kind": "jsonFlag",
|
|
53432
|
-
"type": "json",
|
|
53433
|
-
"flag": "input-json",
|
|
53434
|
-
"description": "Operation input as JSON object."
|
|
53435
|
-
},
|
|
53436
|
-
{
|
|
53437
|
-
"name": "nodeId",
|
|
53438
|
-
"kind": "flag",
|
|
53439
|
-
"type": "string",
|
|
53440
|
-
"flag": "node-id",
|
|
53441
|
-
"description": "Node ID of the target list item."
|
|
53929
|
+
"flag": "restart-numbering"
|
|
53442
53930
|
}
|
|
53443
53931
|
],
|
|
53444
53932
|
"constraints": null,
|
|
@@ -53452,7 +53940,7 @@ export const CONTRACT = {
|
|
|
53452
53940
|
"target": {
|
|
53453
53941
|
"$ref": "#/$defs/ListItemAddress"
|
|
53454
53942
|
},
|
|
53455
|
-
"
|
|
53943
|
+
"restartNumbering": {
|
|
53456
53944
|
"type": "boolean"
|
|
53457
53945
|
}
|
|
53458
53946
|
},
|
|
@@ -53474,13 +53962,20 @@ export const CONTRACT = {
|
|
|
53474
53962
|
},
|
|
53475
53963
|
"numId": {
|
|
53476
53964
|
"type": "integer"
|
|
53965
|
+
},
|
|
53966
|
+
"restartedAt": {
|
|
53967
|
+
"type": [
|
|
53968
|
+
"integer",
|
|
53969
|
+
"null"
|
|
53970
|
+
]
|
|
53477
53971
|
}
|
|
53478
53972
|
},
|
|
53479
53973
|
"additionalProperties": false,
|
|
53480
53974
|
"required": [
|
|
53481
53975
|
"success",
|
|
53482
53976
|
"listId",
|
|
53483
|
-
"numId"
|
|
53977
|
+
"numId",
|
|
53978
|
+
"restartedAt"
|
|
53484
53979
|
]
|
|
53485
53980
|
},
|
|
53486
53981
|
{
|
|
@@ -53529,13 +54024,20 @@ export const CONTRACT = {
|
|
|
53529
54024
|
},
|
|
53530
54025
|
"numId": {
|
|
53531
54026
|
"type": "integer"
|
|
54027
|
+
},
|
|
54028
|
+
"restartedAt": {
|
|
54029
|
+
"type": [
|
|
54030
|
+
"integer",
|
|
54031
|
+
"null"
|
|
54032
|
+
]
|
|
53532
54033
|
}
|
|
53533
54034
|
},
|
|
53534
54035
|
"additionalProperties": false,
|
|
53535
54036
|
"required": [
|
|
53536
54037
|
"success",
|
|
53537
54038
|
"listId",
|
|
53538
|
-
"numId"
|
|
54039
|
+
"numId",
|
|
54040
|
+
"restartedAt"
|
|
53539
54041
|
]
|
|
53540
54042
|
},
|
|
53541
54043
|
"failureSchema": {
|
|
@@ -53570,7 +54072,9 @@ export const CONTRACT = {
|
|
|
53570
54072
|
"success",
|
|
53571
54073
|
"failure"
|
|
53572
54074
|
]
|
|
53573
|
-
}
|
|
54075
|
+
},
|
|
54076
|
+
"intentGroup": "list",
|
|
54077
|
+
"intentAction": "split"
|
|
53574
54078
|
},
|
|
53575
54079
|
"doc.lists.setLevel": {
|
|
53576
54080
|
"operationId": "doc.lists.setLevel",
|
|
@@ -54053,7 +54557,9 @@ export const CONTRACT = {
|
|
|
54053
54557
|
"success",
|
|
54054
54558
|
"failure"
|
|
54055
54559
|
]
|
|
54056
|
-
}
|
|
54560
|
+
},
|
|
54561
|
+
"intentGroup": "list",
|
|
54562
|
+
"intentAction": "set_value"
|
|
54057
54563
|
},
|
|
54058
54564
|
"doc.lists.continuePrevious": {
|
|
54059
54565
|
"operationId": "doc.lists.continuePrevious",
|
|
@@ -54281,7 +54787,9 @@ export const CONTRACT = {
|
|
|
54281
54787
|
"success",
|
|
54282
54788
|
"failure"
|
|
54283
54789
|
]
|
|
54284
|
-
}
|
|
54790
|
+
},
|
|
54791
|
+
"intentGroup": "list",
|
|
54792
|
+
"intentAction": "continue_previous"
|
|
54285
54793
|
},
|
|
54286
54794
|
"doc.lists.canContinuePrevious": {
|
|
54287
54795
|
"operationId": "doc.lists.canContinuePrevious",
|
|
@@ -80908,6 +81416,76 @@ export const CONTRACT = {
|
|
|
80908
81416
|
"dryRun"
|
|
80909
81417
|
]
|
|
80910
81418
|
},
|
|
81419
|
+
"lists.merge": {
|
|
81420
|
+
"type": "object",
|
|
81421
|
+
"properties": {
|
|
81422
|
+
"available": {
|
|
81423
|
+
"type": "boolean"
|
|
81424
|
+
},
|
|
81425
|
+
"tracked": {
|
|
81426
|
+
"type": "boolean"
|
|
81427
|
+
},
|
|
81428
|
+
"dryRun": {
|
|
81429
|
+
"type": "boolean"
|
|
81430
|
+
},
|
|
81431
|
+
"reasons": {
|
|
81432
|
+
"type": "array",
|
|
81433
|
+
"items": {
|
|
81434
|
+
"enum": [
|
|
81435
|
+
"COMMAND_UNAVAILABLE",
|
|
81436
|
+
"HELPER_UNAVAILABLE",
|
|
81437
|
+
"OPERATION_UNAVAILABLE",
|
|
81438
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
81439
|
+
"DRY_RUN_UNAVAILABLE",
|
|
81440
|
+
"NAMESPACE_UNAVAILABLE",
|
|
81441
|
+
"STYLES_PART_MISSING",
|
|
81442
|
+
"COLLABORATION_ACTIVE"
|
|
81443
|
+
]
|
|
81444
|
+
}
|
|
81445
|
+
}
|
|
81446
|
+
},
|
|
81447
|
+
"additionalProperties": false,
|
|
81448
|
+
"required": [
|
|
81449
|
+
"available",
|
|
81450
|
+
"tracked",
|
|
81451
|
+
"dryRun"
|
|
81452
|
+
]
|
|
81453
|
+
},
|
|
81454
|
+
"lists.split": {
|
|
81455
|
+
"type": "object",
|
|
81456
|
+
"properties": {
|
|
81457
|
+
"available": {
|
|
81458
|
+
"type": "boolean"
|
|
81459
|
+
},
|
|
81460
|
+
"tracked": {
|
|
81461
|
+
"type": "boolean"
|
|
81462
|
+
},
|
|
81463
|
+
"dryRun": {
|
|
81464
|
+
"type": "boolean"
|
|
81465
|
+
},
|
|
81466
|
+
"reasons": {
|
|
81467
|
+
"type": "array",
|
|
81468
|
+
"items": {
|
|
81469
|
+
"enum": [
|
|
81470
|
+
"COMMAND_UNAVAILABLE",
|
|
81471
|
+
"HELPER_UNAVAILABLE",
|
|
81472
|
+
"OPERATION_UNAVAILABLE",
|
|
81473
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
81474
|
+
"DRY_RUN_UNAVAILABLE",
|
|
81475
|
+
"NAMESPACE_UNAVAILABLE",
|
|
81476
|
+
"STYLES_PART_MISSING",
|
|
81477
|
+
"COLLABORATION_ACTIVE"
|
|
81478
|
+
]
|
|
81479
|
+
}
|
|
81480
|
+
}
|
|
81481
|
+
},
|
|
81482
|
+
"additionalProperties": false,
|
|
81483
|
+
"required": [
|
|
81484
|
+
"available",
|
|
81485
|
+
"tracked",
|
|
81486
|
+
"dryRun"
|
|
81487
|
+
]
|
|
81488
|
+
},
|
|
80911
81489
|
"lists.setLevel": {
|
|
80912
81490
|
"type": "object",
|
|
80913
81491
|
"properties": {
|
|
@@ -90546,6 +91124,8 @@ export const CONTRACT = {
|
|
|
90546
91124
|
"lists.join",
|
|
90547
91125
|
"lists.canJoin",
|
|
90548
91126
|
"lists.separate",
|
|
91127
|
+
"lists.merge",
|
|
91128
|
+
"lists.split",
|
|
90549
91129
|
"lists.setLevel",
|
|
90550
91130
|
"lists.setValue",
|
|
90551
91131
|
"lists.continuePrevious",
|