@superdoc-dev/sdk 1.8.0-next.3 → 1.8.0-next.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client.cjs +10 -0
- package/dist/generated/client.d.ts +1019 -57
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +10 -0
- package/dist/generated/contract.cjs +2872 -123
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +2875 -123
- 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 +303 -27
- 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 +265 -27
- package/tools/tools.generic.json +271 -28
- package/tools/tools.openai.json +265 -27
- package/tools/tools.vercel.json +265 -27
|
@@ -160,6 +160,8 @@ function createDocApi(runtime) {
|
|
|
160
160
|
join: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.join"], params, options), "result"),
|
|
161
161
|
canJoin: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.canJoin"], params, options), "result"),
|
|
162
162
|
separate: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.separate"], params, options), "result"),
|
|
163
|
+
merge: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.merge"], params, options),
|
|
164
|
+
split: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.split"], params, options),
|
|
163
165
|
setLevel: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.setLevel"], params, options), "result"),
|
|
164
166
|
setValue: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.setValue"], params, options), "result"),
|
|
165
167
|
continuePrevious: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.continuePrevious"], params, options), "result"),
|
|
@@ -204,6 +206,9 @@ function createDocApi(runtime) {
|
|
|
204
206
|
ranges: {
|
|
205
207
|
resolve: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.ranges.resolve"], params, options),
|
|
206
208
|
},
|
|
209
|
+
selection: {
|
|
210
|
+
current: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.selection.current"], params, options),
|
|
211
|
+
},
|
|
207
212
|
mutations: {
|
|
208
213
|
preview: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.mutations.preview"], params, options), "result"),
|
|
209
214
|
apply: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.mutations.apply"], params, options), "result"),
|
|
@@ -656,6 +661,8 @@ function createBoundDocApi(runtime) {
|
|
|
656
661
|
join: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.join"], params, options), "result"),
|
|
657
662
|
canJoin: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.canJoin"], params, options), "result"),
|
|
658
663
|
separate: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.separate"], params, options), "result"),
|
|
664
|
+
merge: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.merge"], params, options),
|
|
665
|
+
split: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.split"], params, options),
|
|
659
666
|
setLevel: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.setLevel"], params, options), "result"),
|
|
660
667
|
setValue: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.setValue"], params, options), "result"),
|
|
661
668
|
continuePrevious: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.continuePrevious"], params, options), "result"),
|
|
@@ -700,6 +707,9 @@ function createBoundDocApi(runtime) {
|
|
|
700
707
|
ranges: {
|
|
701
708
|
resolve: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.ranges.resolve"], params, options),
|
|
702
709
|
},
|
|
710
|
+
selection: {
|
|
711
|
+
current: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.selection.current"], params, options),
|
|
712
|
+
},
|
|
703
713
|
mutations: {
|
|
704
714
|
preview: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.mutations.preview"], params, options), "result"),
|
|
705
715
|
apply: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.mutations.apply"], params, options), "result"),
|