@superdoc-dev/sdk 1.17.0 → 1.19.0
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 +28 -0
- package/dist/generated/client.d.ts +72321 -18453
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +28 -0
- package/dist/generated/contract.cjs +131476 -35664
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +132855 -36860
- package/dist/generated/intent-dispatch.generated.cjs +1 -0
- package/dist/generated/intent-dispatch.generated.d.ts.map +1 -1
- package/dist/generated/intent-dispatch.generated.js +1 -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 +2817 -216
- package/tools/intent_dispatch_generated.py +2 -0
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +2726 -131
- package/tools/tools.generic.json +2728 -132
- package/tools/tools.openai.json +2726 -131
- package/tools/tools.vercel.json +2726 -131
package/dist/generated/client.js
CHANGED
|
@@ -42,6 +42,9 @@ export function createDocApi(runtime) {
|
|
|
42
42
|
list: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.blocks.list"], params, options), "result"),
|
|
43
43
|
delete: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.blocks.delete"], params, options), "result"),
|
|
44
44
|
deleteRange: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.blocks.deleteRange"], params, options), "result"),
|
|
45
|
+
split: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.blocks.split"], params, options), "result"),
|
|
46
|
+
merge: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.blocks.merge"], params, options), "result"),
|
|
47
|
+
move: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.blocks.move"], params, options), "result"),
|
|
45
48
|
},
|
|
46
49
|
format: {
|
|
47
50
|
apply: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.format.apply"], params, options),
|
|
@@ -106,8 +109,10 @@ export function createDocApi(runtime) {
|
|
|
106
109
|
clearBorder: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.clearBorder"], params, options), "result"),
|
|
107
110
|
setShading: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.setShading"], params, options), "result"),
|
|
108
111
|
clearShading: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.clearShading"], params, options), "result"),
|
|
112
|
+
setMarkRunProps: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.setMarkRunProps"], params, options), "result"),
|
|
109
113
|
setDirection: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.setDirection"], params, options), "result"),
|
|
110
114
|
clearDirection: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.clearDirection"], params, options), "result"),
|
|
115
|
+
setNumbering: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.setNumbering"], params, options), "result"),
|
|
111
116
|
},
|
|
112
117
|
},
|
|
113
118
|
styles: {
|
|
@@ -189,6 +194,11 @@ export function createDocApi(runtime) {
|
|
|
189
194
|
setLevelText: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.setLevelText"], params, options), "result"),
|
|
190
195
|
setLevelStart: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.setLevelStart"], params, options), "result"),
|
|
191
196
|
setLevelLayout: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.setLevelLayout"], params, options), "result"),
|
|
197
|
+
getState: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.getState"], params, options), "result"),
|
|
198
|
+
apply: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.apply"], params, options), "result"),
|
|
199
|
+
continue: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.continue"], params, options), "result"),
|
|
200
|
+
restart: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.restart"], params, options), "result"),
|
|
201
|
+
remove: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.remove"], params, options), "result"),
|
|
192
202
|
},
|
|
193
203
|
comments: {
|
|
194
204
|
create: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.comments.create"], params, options), "receipt"),
|
|
@@ -215,6 +225,9 @@ export function createDocApi(runtime) {
|
|
|
215
225
|
preview: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.mutations.preview"], params, options), "result"),
|
|
216
226
|
apply: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.mutations.apply"], params, options), "result"),
|
|
217
227
|
},
|
|
228
|
+
plan: {
|
|
229
|
+
execute: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.plan.execute"], params, options), "result"),
|
|
230
|
+
},
|
|
218
231
|
capabilities: {
|
|
219
232
|
get: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.capabilities.get"], params, options), "capabilities"),
|
|
220
233
|
},
|
|
@@ -228,6 +241,7 @@ export function createDocApi(runtime) {
|
|
|
228
241
|
setLayout: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.setLayout"], params, options), "result"),
|
|
229
242
|
insertRow: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.insertRow"], params, options), "result"),
|
|
230
243
|
deleteRow: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.deleteRow"], params, options), "result"),
|
|
244
|
+
moveRow: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.moveRow"], params, options), "result"),
|
|
231
245
|
setRowHeight: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.setRowHeight"], params, options), "result"),
|
|
232
246
|
distributeRows: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.distributeRows"], params, options), "result"),
|
|
233
247
|
setRowOptions: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.setRowOptions"], params, options), "result"),
|
|
@@ -567,6 +581,9 @@ export function createBoundDocApi(runtime) {
|
|
|
567
581
|
list: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.blocks.list"], params, options), "result"),
|
|
568
582
|
delete: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.blocks.delete"], params, options), "result"),
|
|
569
583
|
deleteRange: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.blocks.deleteRange"], params, options), "result"),
|
|
584
|
+
split: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.blocks.split"], params, options), "result"),
|
|
585
|
+
merge: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.blocks.merge"], params, options), "result"),
|
|
586
|
+
move: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.blocks.move"], params, options), "result"),
|
|
570
587
|
},
|
|
571
588
|
format: {
|
|
572
589
|
apply: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.format.apply"], params, options),
|
|
@@ -631,8 +648,10 @@ export function createBoundDocApi(runtime) {
|
|
|
631
648
|
clearBorder: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.clearBorder"], params, options), "result"),
|
|
632
649
|
setShading: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.setShading"], params, options), "result"),
|
|
633
650
|
clearShading: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.clearShading"], params, options), "result"),
|
|
651
|
+
setMarkRunProps: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.setMarkRunProps"], params, options), "result"),
|
|
634
652
|
setDirection: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.setDirection"], params, options), "result"),
|
|
635
653
|
clearDirection: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.clearDirection"], params, options), "result"),
|
|
654
|
+
setNumbering: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.format.paragraph.setNumbering"], params, options), "result"),
|
|
636
655
|
},
|
|
637
656
|
},
|
|
638
657
|
styles: {
|
|
@@ -714,6 +733,11 @@ export function createBoundDocApi(runtime) {
|
|
|
714
733
|
setLevelText: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.setLevelText"], params, options), "result"),
|
|
715
734
|
setLevelStart: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.setLevelStart"], params, options), "result"),
|
|
716
735
|
setLevelLayout: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.setLevelLayout"], params, options), "result"),
|
|
736
|
+
getState: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.getState"], params, options), "result"),
|
|
737
|
+
apply: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.apply"], params, options), "result"),
|
|
738
|
+
continue: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.continue"], params, options), "result"),
|
|
739
|
+
restart: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.restart"], params, options), "result"),
|
|
740
|
+
remove: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.lists.remove"], params, options), "result"),
|
|
717
741
|
},
|
|
718
742
|
comments: {
|
|
719
743
|
create: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.comments.create"], params, options), "receipt"),
|
|
@@ -740,6 +764,9 @@ export function createBoundDocApi(runtime) {
|
|
|
740
764
|
preview: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.mutations.preview"], params, options), "result"),
|
|
741
765
|
apply: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.mutations.apply"], params, options), "result"),
|
|
742
766
|
},
|
|
767
|
+
plan: {
|
|
768
|
+
execute: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.plan.execute"], params, options), "result"),
|
|
769
|
+
},
|
|
743
770
|
capabilities: {
|
|
744
771
|
get: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.capabilities.get"], params, options), "capabilities"),
|
|
745
772
|
},
|
|
@@ -753,6 +780,7 @@ export function createBoundDocApi(runtime) {
|
|
|
753
780
|
setLayout: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.setLayout"], params, options), "result"),
|
|
754
781
|
insertRow: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.insertRow"], params, options), "result"),
|
|
755
782
|
deleteRow: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.deleteRow"], params, options), "result"),
|
|
783
|
+
moveRow: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.moveRow"], params, options), "result"),
|
|
756
784
|
setRowHeight: async (params, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.setRowHeight"], params, options), "result"),
|
|
757
785
|
distributeRows: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.distributeRows"], params, options), "result"),
|
|
758
786
|
setRowOptions: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(CONTRACT.operations["doc.tables.setRowOptions"], params, options), "result"),
|