@superdoc-dev/sdk 1.0.0-alpha.25 → 1.0.0-alpha.27
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/LICENSE +661 -0
- package/dist/generated/client.cjs +14 -2
- package/dist/generated/client.d.ts +118 -3
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +14 -2
- package/dist/generated/contract.cjs +2655 -160
- package/dist/generated/contract.d.ts +1694 -4
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +2655 -160
- package/dist/tools.cjs +11 -4
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +11 -4
- package/package.json +15 -17
- package/tools/catalog.json +2579 -752
- package/tools/tool-name-map.json +2 -0
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +38 -0
- package/tools/tools.generic.json +1840 -22
- package/tools/tools.openai.json +44 -0
- package/tools/tools.vercel.json +44 -0
package/tools/tool-name-map.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"get_node_by_id": "doc.getNodeById",
|
|
5
5
|
"get_document_text": "doc.getText",
|
|
6
6
|
"get_document_markdown": "doc.getMarkdown",
|
|
7
|
+
"get_document_html": "doc.getHtml",
|
|
7
8
|
"get_document_info": "doc.info",
|
|
8
9
|
"insert_content": "doc.insert",
|
|
9
10
|
"replace_content": "doc.replace",
|
|
@@ -195,6 +196,7 @@
|
|
|
195
196
|
"doc_getNodeById": "doc.getNodeById",
|
|
196
197
|
"doc_getText": "doc.getText",
|
|
197
198
|
"doc_getMarkdown": "doc.getMarkdown",
|
|
199
|
+
"doc_getHtml": "doc.getHtml",
|
|
198
200
|
"doc_info": "doc.info",
|
|
199
201
|
"doc_insert": "doc.insert",
|
|
200
202
|
"doc_replace": "doc.replace",
|
package/tools/tools-policy.json
CHANGED
|
@@ -261,6 +261,25 @@
|
|
|
261
261
|
"additionalProperties": false
|
|
262
262
|
}
|
|
263
263
|
},
|
|
264
|
+
{
|
|
265
|
+
"name": "get_document_html",
|
|
266
|
+
"description": "Extract the document content as an HTML string.",
|
|
267
|
+
"input_schema": {
|
|
268
|
+
"type": "object",
|
|
269
|
+
"properties": {
|
|
270
|
+
"doc": {
|
|
271
|
+
"type": "string"
|
|
272
|
+
},
|
|
273
|
+
"sessionId": {
|
|
274
|
+
"type": "string"
|
|
275
|
+
},
|
|
276
|
+
"unflattenLists": {
|
|
277
|
+
"type": "boolean"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"additionalProperties": false
|
|
281
|
+
}
|
|
282
|
+
},
|
|
264
283
|
{
|
|
265
284
|
"name": "get_document_info",
|
|
266
285
|
"description": "Return document metadata including revision, node count, and capabilities.",
|
|
@@ -14264,6 +14283,25 @@
|
|
|
14264
14283
|
"additionalProperties": false
|
|
14265
14284
|
}
|
|
14266
14285
|
},
|
|
14286
|
+
{
|
|
14287
|
+
"name": "doc_getHtml",
|
|
14288
|
+
"description": "Extract the document content as an HTML string.",
|
|
14289
|
+
"input_schema": {
|
|
14290
|
+
"type": "object",
|
|
14291
|
+
"properties": {
|
|
14292
|
+
"doc": {
|
|
14293
|
+
"type": "string"
|
|
14294
|
+
},
|
|
14295
|
+
"sessionId": {
|
|
14296
|
+
"type": "string"
|
|
14297
|
+
},
|
|
14298
|
+
"unflattenLists": {
|
|
14299
|
+
"type": "boolean"
|
|
14300
|
+
}
|
|
14301
|
+
},
|
|
14302
|
+
"additionalProperties": false
|
|
14303
|
+
}
|
|
14304
|
+
},
|
|
14267
14305
|
{
|
|
14268
14306
|
"name": "doc_info",
|
|
14269
14307
|
"description": "Return document metadata including revision, node count, and capabilities.",
|