@superdoc-dev/sdk 1.13.0-next.5 → 1.13.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 +0 -2
- package/dist/generated/client.d.ts +296 -1408
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +0 -2
- package/dist/generated/contract.cjs +4817 -9871
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +4817 -9974
- package/dist/index.cjs +0 -7
- package/dist/index.d.ts +1 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -7
- 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 +5 -61
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +5 -61
- package/tools/tools.generic.json +5 -61
- package/tools/tools.openai.json +5 -61
- package/tools/tools.vercel.json +5 -61
package/tools/tools.vercel.json
CHANGED
|
@@ -2328,34 +2328,15 @@
|
|
|
2328
2328
|
},
|
|
2329
2329
|
{
|
|
2330
2330
|
"$ref": "#/$defs/TextTarget"
|
|
2331
|
-
},
|
|
2332
|
-
{
|
|
2333
|
-
"$ref": "#/$defs/SelectionTarget"
|
|
2334
|
-
},
|
|
2335
|
-
{
|
|
2336
|
-
"$ref": "#/$defs/CommentTrackedChangeTarget"
|
|
2337
2331
|
}
|
|
2338
2332
|
],
|
|
2339
|
-
"description": "
|
|
2333
|
+
"description": "Text range to anchor the comment. Accepts either a single-block TextAddress {kind:'text', blockId, range} or a multi-segment TextTarget {kind:'text', segments:[{blockId, range}, ...]} for selections that span blocks."
|
|
2340
2334
|
},
|
|
2341
2335
|
{
|
|
2342
|
-
"
|
|
2343
|
-
{
|
|
2344
|
-
"$ref": "#/$defs/TextAddress"
|
|
2345
|
-
},
|
|
2346
|
-
{
|
|
2347
|
-
"$ref": "#/$defs/TextTarget"
|
|
2348
|
-
},
|
|
2349
|
-
{
|
|
2350
|
-
"$ref": "#/$defs/SelectionTarget"
|
|
2351
|
-
},
|
|
2352
|
-
{
|
|
2353
|
-
"$ref": "#/$defs/CommentTrackedChangeTarget"
|
|
2354
|
-
}
|
|
2355
|
-
]
|
|
2336
|
+
"$ref": "#/$defs/TextAddress"
|
|
2356
2337
|
}
|
|
2357
2338
|
],
|
|
2358
|
-
"description": "
|
|
2339
|
+
"description": "Text range to anchor the comment. Accepts either a single-block TextAddress {kind:'text', blockId, range} or a multi-segment TextTarget {kind:'text', segments:[{blockId, range}, ...]} for selections that span blocks. Only for actions 'create', 'update'. Omit for other actions."
|
|
2359
2340
|
},
|
|
2360
2341
|
"parentId": {
|
|
2361
2342
|
"type": "string",
|
|
@@ -2400,7 +2381,7 @@
|
|
|
2400
2381
|
"type": "function",
|
|
2401
2382
|
"function": {
|
|
2402
2383
|
"name": "superdoc_track_changes",
|
|
2403
|
-
"description": "Review and resolve tracked changes (insertions, deletions,
|
|
2384
|
+
"description": "Review and resolve tracked changes (insertions, deletions, format changes) in the document. Action \"list\" returns all tracked changes with optional filtering by type (insert, delete, format) and pagination (limit, offset). Each change includes an ID, type, author, timestamp, and content preview. Action \"decide\" accepts or rejects changes. Pass decision:\"accept\" to apply the change permanently, or decision:\"reject\" to discard it. Target a single change with {id:\"<changeId>\"} or all changes at once with {scope:\"all\"}. Do NOT use this tool unless the document has tracked changes. Use superdoc_get_content info to check the tracked change count first.\n\nEXAMPLES:\n 1. {\"action\":\"list\"}\n 2. {\"action\":\"list\",\"type\":\"insert\",\"limit\":10}\n 3. {\"action\":\"decide\",\"decision\":\"accept\",\"target\":{\"id\":\"<changeId>\"}}\n 4. {\"action\":\"decide\",\"decision\":\"reject\",\"target\":{\"scope\":\"all\"}}",
|
|
2404
2385
|
"parameters": {
|
|
2405
2386
|
"type": "object",
|
|
2406
2387
|
"properties": {
|
|
@@ -2424,10 +2405,9 @@
|
|
|
2424
2405
|
"enum": [
|
|
2425
2406
|
"insert",
|
|
2426
2407
|
"delete",
|
|
2427
|
-
"replacement",
|
|
2428
2408
|
"format"
|
|
2429
2409
|
],
|
|
2430
|
-
"description": "Filter by change type: 'insert', 'delete',
|
|
2410
|
+
"description": "Filter by change type: 'insert', 'delete', or 'format'. Only for action 'list'. Omit for other actions."
|
|
2431
2411
|
},
|
|
2432
2412
|
"force": {
|
|
2433
2413
|
"type": "boolean",
|
|
@@ -2465,30 +2445,6 @@
|
|
|
2465
2445
|
"id"
|
|
2466
2446
|
]
|
|
2467
2447
|
},
|
|
2468
|
-
{
|
|
2469
|
-
"type": "object",
|
|
2470
|
-
"properties": {
|
|
2471
|
-
"kind": {
|
|
2472
|
-
"const": "range",
|
|
2473
|
-
"type": "string"
|
|
2474
|
-
},
|
|
2475
|
-
"range": {
|
|
2476
|
-
"$ref": "#/$defs/TextTarget"
|
|
2477
|
-
},
|
|
2478
|
-
"story": {
|
|
2479
|
-
"$ref": "#/$defs/StoryLocator"
|
|
2480
|
-
},
|
|
2481
|
-
"part": {
|
|
2482
|
-
"type": "string",
|
|
2483
|
-
"description": "Optional part discriminator for the range target."
|
|
2484
|
-
}
|
|
2485
|
-
},
|
|
2486
|
-
"additionalProperties": false,
|
|
2487
|
-
"required": [
|
|
2488
|
-
"kind",
|
|
2489
|
-
"range"
|
|
2490
|
-
]
|
|
2491
|
-
},
|
|
2492
2448
|
{
|
|
2493
2449
|
"type": "object",
|
|
2494
2450
|
"properties": {
|
|
@@ -2496,18 +2452,6 @@
|
|
|
2496
2452
|
"enum": [
|
|
2497
2453
|
"all"
|
|
2498
2454
|
]
|
|
2499
|
-
},
|
|
2500
|
-
"story": {
|
|
2501
|
-
"oneOf": [
|
|
2502
|
-
{
|
|
2503
|
-
"$ref": "#/$defs/StoryLocator"
|
|
2504
|
-
},
|
|
2505
|
-
{
|
|
2506
|
-
"const": "all",
|
|
2507
|
-
"type": "string"
|
|
2508
|
-
}
|
|
2509
|
-
],
|
|
2510
|
-
"description": "Optional explicit bulk filter. Omit or pass 'all' to target every revision-capable story, or pass a StoryLocator to scope the decision to one story."
|
|
2511
2455
|
}
|
|
2512
2456
|
},
|
|
2513
2457
|
"additionalProperties": false,
|