@superdoc/sdk 2.3.0 → 2.4.1
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/embedded-tools.generated.cjs +5 -5
- package/dist/embedded-tools.generated.js +5 -5
- package/dist/generated/client.cjs +8 -0
- package/dist/generated/client.d.ts +23755 -10966
- package/dist/generated/client.js +8 -0
- package/dist/generated/contract.cjs +44374 -26683
- package/dist/generated/contract.js +45789 -26683
- package/dist/generated/intent-dispatch.generated.cjs +3 -0
- package/dist/generated/intent-dispatch.generated.js +3 -0
- package/package.json +6 -6
- package/skills/editing-docx.md +5 -2
- package/tools/__pycache__/__init__.cpython-311.pyc +0 -0
- package/tools/__pycache__/intent_dispatch_generated.cpython-311.pyc +0 -0
- package/tools/catalog.json +577 -2344
- package/tools/intent_dispatch_generated.py +6 -0
- package/tools/prompt-templates/system-prompt-core.md +19 -2
- package/tools/prompt-templates/system-prompt-mcp-header.md +1 -0
- package/tools/system-prompt-mcp.md +20 -2
- package/tools/system-prompt.md +19 -2
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +413 -2245
- package/tools/tools.generic.json +418 -2247
- package/tools/tools.openai.json +413 -2245
- package/tools/tools.vercel.json +413 -2245
- package/tools/__pycache__/__init__.cpython-312.pyc +0 -0
- package/tools/__pycache__/intent_dispatch_generated.cpython-312.pyc +0 -0
|
@@ -33,7 +33,10 @@ function createDocApi(runtime) {
|
|
|
33
33
|
getText: async (params = {}, options) => unwrapStringEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.getText"], params, options), "text"),
|
|
34
34
|
getMarkdown: async (params = {}, options) => unwrapStringEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.getMarkdown"], params, options), "markdown"),
|
|
35
35
|
getHtml: async (params = {}, options) => unwrapStringEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.getHtml"], params, options), "html"),
|
|
36
|
+
projectMarkdown: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.projectMarkdown"], params, options), "result"),
|
|
37
|
+
projectHtml: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.projectHtml"], params, options), "result"),
|
|
36
38
|
markdownToFragment: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.markdownToFragment"], params, options), "result"),
|
|
39
|
+
htmlToFragment: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.htmlToFragment"], params, options), "result"),
|
|
37
40
|
info: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.info"], params, options),
|
|
38
41
|
extract: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.extract"], params, options),
|
|
39
42
|
clearContent: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.clearContent"], params, options), "receipt"),
|
|
@@ -235,6 +238,7 @@ function createDocApi(runtime) {
|
|
|
235
238
|
},
|
|
236
239
|
capabilities: {
|
|
237
240
|
get: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.capabilities.get"], params, options), "capabilities"),
|
|
241
|
+
check: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.capabilities.check"], params, options), "result"),
|
|
238
242
|
},
|
|
239
243
|
tables: {
|
|
240
244
|
convertFromText: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.convertFromText"], params, options), "result"),
|
|
@@ -591,7 +595,10 @@ function createBoundDocApi(runtime) {
|
|
|
591
595
|
getText: async (params = {}, options) => unwrapStringEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.getText"], params, options), "text"),
|
|
592
596
|
getMarkdown: async (params = {}, options) => unwrapStringEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.getMarkdown"], params, options), "markdown"),
|
|
593
597
|
getHtml: async (params = {}, options) => unwrapStringEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.getHtml"], params, options), "html"),
|
|
598
|
+
projectMarkdown: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.projectMarkdown"], params, options), "result"),
|
|
599
|
+
projectHtml: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.projectHtml"], params, options), "result"),
|
|
594
600
|
markdownToFragment: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.markdownToFragment"], params, options), "result"),
|
|
601
|
+
htmlToFragment: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.htmlToFragment"], params, options), "result"),
|
|
595
602
|
info: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.info"], params, options),
|
|
596
603
|
extract: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.extract"], params, options),
|
|
597
604
|
clearContent: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.clearContent"], params, options), "receipt"),
|
|
@@ -793,6 +800,7 @@ function createBoundDocApi(runtime) {
|
|
|
793
800
|
},
|
|
794
801
|
capabilities: {
|
|
795
802
|
get: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.capabilities.get"], params, options), "capabilities"),
|
|
803
|
+
check: async (params, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.capabilities.check"], params, options), "result"),
|
|
796
804
|
},
|
|
797
805
|
tables: {
|
|
798
806
|
convertFromText: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.tables.convertFromText"], params, options), "result"),
|