@superdoc-dev/sdk 1.0.0-alpha.34 → 1.0.0-alpha.35

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.
@@ -3,7 +3,7 @@
3
3
  "generatedAt": null,
4
4
  "namePolicyVersion": "v1",
5
5
  "exposureVersion": "v1",
6
- "toolCount": 192,
6
+ "toolCount": 193,
7
7
  "tools": [
8
8
  {
9
9
  "operationId": "doc.getNode",
@@ -12105,6 +12105,119 @@
12105
12105
  },
12106
12106
  "intentId": "apply_list_preset"
12107
12107
  },
12108
+ {
12109
+ "operationId": "doc.lists.setType",
12110
+ "toolName": "set_list_type",
12111
+ "profile": "intent",
12112
+ "source": "intent",
12113
+ "description": "Convert a list to ordered or bullet and merge adjacent compatible sequences to preserve continuous numbering.",
12114
+ "inputSchema": {
12115
+ "type": "object",
12116
+ "properties": {
12117
+ "doc": {
12118
+ "type": "string"
12119
+ },
12120
+ "sessionId": {
12121
+ "type": "string"
12122
+ },
12123
+ "force": {
12124
+ "type": "boolean"
12125
+ },
12126
+ "changeMode": {
12127
+ "type": "string",
12128
+ "enum": [
12129
+ "direct",
12130
+ "tracked"
12131
+ ]
12132
+ },
12133
+ "target": {
12134
+ "type": "object",
12135
+ "properties": {
12136
+ "kind": {
12137
+ "const": "block",
12138
+ "type": "string"
12139
+ },
12140
+ "nodeType": {
12141
+ "const": "listItem",
12142
+ "type": "string"
12143
+ },
12144
+ "nodeId": {
12145
+ "type": "string"
12146
+ }
12147
+ },
12148
+ "required": [
12149
+ "kind",
12150
+ "nodeType",
12151
+ "nodeId"
12152
+ ]
12153
+ },
12154
+ "kind": {
12155
+ "type": "string",
12156
+ "enum": [
12157
+ "ordered",
12158
+ "bullet"
12159
+ ]
12160
+ },
12161
+ "continuity": {
12162
+ "type": "string",
12163
+ "enum": [
12164
+ "preserve",
12165
+ "none"
12166
+ ]
12167
+ }
12168
+ },
12169
+ "required": [
12170
+ "target",
12171
+ "kind"
12172
+ ],
12173
+ "additionalProperties": false
12174
+ },
12175
+ "outputSchema": {
12176
+ "additionalProperties": false,
12177
+ "properties": {
12178
+ "item": {
12179
+ "$ref": "#/$defs/ListItemAddress"
12180
+ },
12181
+ "success": {
12182
+ "const": true
12183
+ }
12184
+ },
12185
+ "required": [
12186
+ "success",
12187
+ "item"
12188
+ ],
12189
+ "type": "object"
12190
+ },
12191
+ "mutates": true,
12192
+ "category": "lists",
12193
+ "capabilities": [
12194
+ "dry-run",
12195
+ "optimistic-concurrency",
12196
+ "output-path",
12197
+ "session-targeting",
12198
+ "stateless-doc",
12199
+ "tracked-change-mode"
12200
+ ],
12201
+ "errors": [
12202
+ "NO_OP",
12203
+ "INVALID_TARGET",
12204
+ "INVALID_INPUT"
12205
+ ],
12206
+ "examples": [],
12207
+ "commandTokens": [
12208
+ "lists",
12209
+ "set-type"
12210
+ ],
12211
+ "profileTags": [],
12212
+ "requiredCapabilities": [
12213
+ "hasLists"
12214
+ ],
12215
+ "sessionRequirements": {
12216
+ "requiresOpenContext": true,
12217
+ "supportsSessionTargeting": true
12218
+ },
12219
+ "intentId": "set_list_type"
12220
+ },
12108
12221
  {
12109
12222
  "operationId": "doc.lists.captureTemplate",
12110
12223
  "toolName": "capture_list_template",
@@ -25755,6 +25868,41 @@
25755
25868
  ],
25756
25869
  "type": "object"
25757
25870
  },
25871
+ "lists.setType": {
25872
+ "additionalProperties": false,
25873
+ "properties": {
25874
+ "available": {
25875
+ "type": "boolean"
25876
+ },
25877
+ "dryRun": {
25878
+ "type": "boolean"
25879
+ },
25880
+ "reasons": {
25881
+ "items": {
25882
+ "enum": [
25883
+ "COMMAND_UNAVAILABLE",
25884
+ "HELPER_UNAVAILABLE",
25885
+ "OPERATION_UNAVAILABLE",
25886
+ "TRACKED_MODE_UNAVAILABLE",
25887
+ "DRY_RUN_UNAVAILABLE",
25888
+ "NAMESPACE_UNAVAILABLE",
25889
+ "STYLES_PART_MISSING",
25890
+ "COLLABORATION_ACTIVE"
25891
+ ]
25892
+ },
25893
+ "type": "array"
25894
+ },
25895
+ "tracked": {
25896
+ "type": "boolean"
25897
+ }
25898
+ },
25899
+ "required": [
25900
+ "available",
25901
+ "tracked",
25902
+ "dryRun"
25903
+ ],
25904
+ "type": "object"
25905
+ },
25758
25906
  "lists.setValue": {
25759
25907
  "additionalProperties": false,
25760
25908
  "properties": {
@@ -28708,6 +28856,7 @@
28708
28856
  "lists.convertToText",
28709
28857
  "lists.applyTemplate",
28710
28858
  "lists.applyPreset",
28859
+ "lists.setType",
28711
28860
  "lists.captureTemplate",
28712
28861
  "lists.setLevelNumbering",
28713
28862
  "lists.setLevelBullet",
@@ -71,6 +71,7 @@
71
71
  "convert_list_to_text": "doc.lists.convertToText",
72
72
  "apply_list_template": "doc.lists.applyTemplate",
73
73
  "apply_list_preset": "doc.lists.applyPreset",
74
+ "set_list_type": "doc.lists.setType",
74
75
  "capture_list_template": "doc.lists.captureTemplate",
75
76
  "set_list_level_numbering": "doc.lists.setLevelNumbering",
76
77
  "set_list_level_bullet": "doc.lists.setLevelBullet",
@@ -93,5 +93,5 @@
93
93
  ]
94
94
  }
95
95
  },
96
- "contractHash": "a5bfa5af6ae6288e"
96
+ "contractHash": "63722a5758564b3a"
97
97
  }
@@ -5908,6 +5908,71 @@
5908
5908
  "additionalProperties": false
5909
5909
  }
5910
5910
  },
5911
+ {
5912
+ "name": "set_list_type",
5913
+ "description": "Convert a list to ordered or bullet and merge adjacent compatible sequences to preserve continuous numbering.",
5914
+ "input_schema": {
5915
+ "type": "object",
5916
+ "properties": {
5917
+ "doc": {
5918
+ "type": "string"
5919
+ },
5920
+ "sessionId": {
5921
+ "type": "string"
5922
+ },
5923
+ "force": {
5924
+ "type": "boolean"
5925
+ },
5926
+ "changeMode": {
5927
+ "type": "string",
5928
+ "enum": [
5929
+ "direct",
5930
+ "tracked"
5931
+ ]
5932
+ },
5933
+ "target": {
5934
+ "type": "object",
5935
+ "properties": {
5936
+ "kind": {
5937
+ "const": "block",
5938
+ "type": "string"
5939
+ },
5940
+ "nodeType": {
5941
+ "const": "listItem",
5942
+ "type": "string"
5943
+ },
5944
+ "nodeId": {
5945
+ "type": "string"
5946
+ }
5947
+ },
5948
+ "required": [
5949
+ "kind",
5950
+ "nodeType",
5951
+ "nodeId"
5952
+ ]
5953
+ },
5954
+ "kind": {
5955
+ "type": "string",
5956
+ "enum": [
5957
+ "ordered",
5958
+ "bullet"
5959
+ ]
5960
+ },
5961
+ "continuity": {
5962
+ "type": "string",
5963
+ "enum": [
5964
+ "preserve",
5965
+ "none"
5966
+ ]
5967
+ }
5968
+ },
5969
+ "required": [
5970
+ "target",
5971
+ "kind"
5972
+ ],
5973
+ "additionalProperties": false
5974
+ }
5975
+ },
5911
5976
  {
5912
5977
  "name": "capture_list_template",
5913
5978
  "description": "Capture the formatting of a list as a reusable ListTemplate.",
@@ -11565,6 +11565,110 @@
11565
11565
  ]
11566
11566
  }
11567
11567
  },
11568
+ {
11569
+ "name": "set_list_type",
11570
+ "description": "Convert a list to ordered or bullet and merge adjacent compatible sequences to preserve continuous numbering.",
11571
+ "parameters": {
11572
+ "type": "object",
11573
+ "properties": {
11574
+ "doc": {
11575
+ "type": "string"
11576
+ },
11577
+ "sessionId": {
11578
+ "type": "string"
11579
+ },
11580
+ "force": {
11581
+ "type": "boolean"
11582
+ },
11583
+ "changeMode": {
11584
+ "type": "string",
11585
+ "enum": [
11586
+ "direct",
11587
+ "tracked"
11588
+ ]
11589
+ },
11590
+ "target": {
11591
+ "type": "object",
11592
+ "properties": {
11593
+ "kind": {
11594
+ "const": "block",
11595
+ "type": "string"
11596
+ },
11597
+ "nodeType": {
11598
+ "const": "listItem",
11599
+ "type": "string"
11600
+ },
11601
+ "nodeId": {
11602
+ "type": "string"
11603
+ }
11604
+ },
11605
+ "required": [
11606
+ "kind",
11607
+ "nodeType",
11608
+ "nodeId"
11609
+ ]
11610
+ },
11611
+ "kind": {
11612
+ "type": "string",
11613
+ "enum": [
11614
+ "ordered",
11615
+ "bullet"
11616
+ ]
11617
+ },
11618
+ "continuity": {
11619
+ "type": "string",
11620
+ "enum": [
11621
+ "preserve",
11622
+ "none"
11623
+ ]
11624
+ }
11625
+ },
11626
+ "required": [
11627
+ "target",
11628
+ "kind"
11629
+ ],
11630
+ "additionalProperties": false
11631
+ },
11632
+ "returns": {
11633
+ "additionalProperties": false,
11634
+ "properties": {
11635
+ "item": {
11636
+ "$ref": "#/$defs/ListItemAddress"
11637
+ },
11638
+ "success": {
11639
+ "const": true
11640
+ }
11641
+ },
11642
+ "required": [
11643
+ "success",
11644
+ "item"
11645
+ ],
11646
+ "type": "object"
11647
+ },
11648
+ "metadata": {
11649
+ "operationId": "doc.lists.setType",
11650
+ "profile": "intent",
11651
+ "mutates": true,
11652
+ "category": "lists",
11653
+ "capabilities": [
11654
+ "dry-run",
11655
+ "optimistic-concurrency",
11656
+ "output-path",
11657
+ "session-targeting",
11658
+ "stateless-doc",
11659
+ "tracked-change-mode"
11660
+ ],
11661
+ "requiredCapabilities": [
11662
+ "hasLists"
11663
+ ],
11664
+ "profileTags": [],
11665
+ "examples": [],
11666
+ "commandTokens": [
11667
+ "lists",
11668
+ "set-type"
11669
+ ]
11670
+ }
11671
+ },
11568
11672
  {
11569
11673
  "name": "capture_list_template",
11570
11674
  "description": "Capture the formatting of a list as a reusable ListTemplate.",
@@ -25054,6 +25158,41 @@
25054
25158
  ],
25055
25159
  "type": "object"
25056
25160
  },
25161
+ "lists.setType": {
25162
+ "additionalProperties": false,
25163
+ "properties": {
25164
+ "available": {
25165
+ "type": "boolean"
25166
+ },
25167
+ "dryRun": {
25168
+ "type": "boolean"
25169
+ },
25170
+ "reasons": {
25171
+ "items": {
25172
+ "enum": [
25173
+ "COMMAND_UNAVAILABLE",
25174
+ "HELPER_UNAVAILABLE",
25175
+ "OPERATION_UNAVAILABLE",
25176
+ "TRACKED_MODE_UNAVAILABLE",
25177
+ "DRY_RUN_UNAVAILABLE",
25178
+ "NAMESPACE_UNAVAILABLE",
25179
+ "STYLES_PART_MISSING",
25180
+ "COLLABORATION_ACTIVE"
25181
+ ]
25182
+ },
25183
+ "type": "array"
25184
+ },
25185
+ "tracked": {
25186
+ "type": "boolean"
25187
+ }
25188
+ },
25189
+ "required": [
25190
+ "available",
25191
+ "tracked",
25192
+ "dryRun"
25193
+ ],
25194
+ "type": "object"
25195
+ },
25057
25196
  "lists.setValue": {
25058
25197
  "additionalProperties": false,
25059
25198
  "properties": {
@@ -28007,6 +28146,7 @@
28007
28146
  "lists.convertToText",
28008
28147
  "lists.applyTemplate",
28009
28148
  "lists.applyPreset",
28149
+ "lists.setType",
28010
28150
  "lists.captureTemplate",
28011
28151
  "lists.setLevelNumbering",
28012
28152
  "lists.setLevelBullet",
@@ -6124,6 +6124,74 @@
6124
6124
  }
6125
6125
  }
6126
6126
  },
6127
+ {
6128
+ "type": "function",
6129
+ "function": {
6130
+ "name": "set_list_type",
6131
+ "description": "Convert a list to ordered or bullet and merge adjacent compatible sequences to preserve continuous numbering.",
6132
+ "parameters": {
6133
+ "type": "object",
6134
+ "properties": {
6135
+ "doc": {
6136
+ "type": "string"
6137
+ },
6138
+ "sessionId": {
6139
+ "type": "string"
6140
+ },
6141
+ "force": {
6142
+ "type": "boolean"
6143
+ },
6144
+ "changeMode": {
6145
+ "type": "string",
6146
+ "enum": [
6147
+ "direct",
6148
+ "tracked"
6149
+ ]
6150
+ },
6151
+ "target": {
6152
+ "type": "object",
6153
+ "properties": {
6154
+ "kind": {
6155
+ "const": "block",
6156
+ "type": "string"
6157
+ },
6158
+ "nodeType": {
6159
+ "const": "listItem",
6160
+ "type": "string"
6161
+ },
6162
+ "nodeId": {
6163
+ "type": "string"
6164
+ }
6165
+ },
6166
+ "required": [
6167
+ "kind",
6168
+ "nodeType",
6169
+ "nodeId"
6170
+ ]
6171
+ },
6172
+ "kind": {
6173
+ "type": "string",
6174
+ "enum": [
6175
+ "ordered",
6176
+ "bullet"
6177
+ ]
6178
+ },
6179
+ "continuity": {
6180
+ "type": "string",
6181
+ "enum": [
6182
+ "preserve",
6183
+ "none"
6184
+ ]
6185
+ }
6186
+ },
6187
+ "required": [
6188
+ "target",
6189
+ "kind"
6190
+ ],
6191
+ "additionalProperties": false
6192
+ }
6193
+ }
6194
+ },
6127
6195
  {
6128
6196
  "type": "function",
6129
6197
  "function": {
@@ -6124,6 +6124,74 @@
6124
6124
  }
6125
6125
  }
6126
6126
  },
6127
+ {
6128
+ "type": "function",
6129
+ "function": {
6130
+ "name": "set_list_type",
6131
+ "description": "Convert a list to ordered or bullet and merge adjacent compatible sequences to preserve continuous numbering.",
6132
+ "parameters": {
6133
+ "type": "object",
6134
+ "properties": {
6135
+ "doc": {
6136
+ "type": "string"
6137
+ },
6138
+ "sessionId": {
6139
+ "type": "string"
6140
+ },
6141
+ "force": {
6142
+ "type": "boolean"
6143
+ },
6144
+ "changeMode": {
6145
+ "type": "string",
6146
+ "enum": [
6147
+ "direct",
6148
+ "tracked"
6149
+ ]
6150
+ },
6151
+ "target": {
6152
+ "type": "object",
6153
+ "properties": {
6154
+ "kind": {
6155
+ "const": "block",
6156
+ "type": "string"
6157
+ },
6158
+ "nodeType": {
6159
+ "const": "listItem",
6160
+ "type": "string"
6161
+ },
6162
+ "nodeId": {
6163
+ "type": "string"
6164
+ }
6165
+ },
6166
+ "required": [
6167
+ "kind",
6168
+ "nodeType",
6169
+ "nodeId"
6170
+ ]
6171
+ },
6172
+ "kind": {
6173
+ "type": "string",
6174
+ "enum": [
6175
+ "ordered",
6176
+ "bullet"
6177
+ ]
6178
+ },
6179
+ "continuity": {
6180
+ "type": "string",
6181
+ "enum": [
6182
+ "preserve",
6183
+ "none"
6184
+ ]
6185
+ }
6186
+ },
6187
+ "required": [
6188
+ "target",
6189
+ "kind"
6190
+ ],
6191
+ "additionalProperties": false
6192
+ }
6193
+ }
6194
+ },
6127
6195
  {
6128
6196
  "type": "function",
6129
6197
  "function": {