@superdoc-dev/sdk 1.19.0 → 1.19.2
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 -20
- package/dist/generated/client.d.ts +964 -3598
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +0 -20
- package/dist/generated/contract.cjs +12296 -18484
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +12296 -18484
- package/dist/generated/intent-dispatch.generated.cjs +0 -1
- package/dist/generated/intent-dispatch.generated.d.ts.map +1 -1
- package/dist/generated/intent-dispatch.generated.js +0 -1
- 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 +8 -178
- package/tools/intent_dispatch_generated.py +0 -2
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +8 -158
- package/tools/tools.generic.json +9 -160
- package/tools/tools.openai.json +8 -158
- package/tools/tools.vercel.json +8 -158
package/tools/tools.vercel.json
CHANGED
|
@@ -4339,7 +4339,7 @@
|
|
|
4339
4339
|
"type": "function",
|
|
4340
4340
|
"function": {
|
|
4341
4341
|
"name": "superdoc_comment",
|
|
4342
|
-
"description": "Manage document comment threads: create, read, update, and delete. To create a comment, first use superdoc_search to find the target text, then pass action \"create\" with the comment text and a target built from items[0].blocks. For a single-block match use {kind:\"text\", blockId: items[0].blocks[0].blockId, range: items[0].blocks[0].range}. For a cross-block match use {kind:\"text\", segments: items[0].blocks.map(b => ({blockId: b.blockId, range: b.range}))}. Do NOT use items[0].highlightRange (snippet-relative, not block-relative) or items[0].target (a SelectionTarget, not accepted by comments.create). For threaded replies, pass \"parentId\" with the parent comment ID. Action \"list\" returns all comments with optional pagination (limit, offset) and filtering (includeResolved:true to include resolved). Action \"get\" retrieves a single comment by ID. Action \"update\" changes comment text, re-anchors the thread, or changes status to \"resolved\". The legacy `isInternal` field remains in schema for v1 compatibility but
|
|
4342
|
+
"description": "Manage document comment threads: create, read, update, and delete. To create a comment, first use superdoc_search to find the target text, then pass action \"create\" with the comment text and a target built from items[0].blocks. For a single-block match use {kind:\"text\", blockId: items[0].blocks[0].blockId, range: items[0].blocks[0].range}. For a cross-block match use {kind:\"text\", segments: items[0].blocks.map(b => ({blockId: b.blockId, range: b.range}))}. Do NOT use items[0].highlightRange (snippet-relative, not block-relative) or items[0].target (a SelectionTarget, not accepted by comments.create). For threaded replies, pass \"parentId\" with the parent comment ID. Action \"list\" returns all comments with optional pagination (limit, offset) and filtering (includeResolved:true to include resolved). Action \"get\" retrieves a single comment by ID. Action \"update\" changes comment text, re-anchors the thread, or changes status to \"resolved\". The legacy `isInternal` field remains in schema for v1 compatibility but is not supported for new comment patch behavior. Action \"delete\" removes a comment or reply by ID. Do NOT pass \"ref\", \"id\", or \"parentId\" when creating a new top-level comment; only \"action\", \"text\", and \"target\" are needed.\n\nEXAMPLES:\n 1. {\"action\":\"create\",\"text\":\"Please review this section.\",\"target\":{\"kind\":\"text\",\"blockId\":\"<blockId>\",\"range\":{\"start\":5,\"end\":25}}}\n 2. {\"action\":\"list\",\"limit\":20,\"offset\":0}\n 3. {\"action\":\"update\",\"id\":\"<commentId>\",\"status\":\"resolved\"}\n 4. {\"action\":\"delete\",\"id\":\"<commentId>\"}",
|
|
4343
4343
|
"parameters": {
|
|
4344
4344
|
"type": "object",
|
|
4345
4345
|
"properties": {
|
|
@@ -4481,7 +4481,7 @@
|
|
|
4481
4481
|
},
|
|
4482
4482
|
"isInternal": {
|
|
4483
4483
|
"type": "boolean",
|
|
4484
|
-
"description": "Legacy v1/document-api compatibility field. Not
|
|
4484
|
+
"description": "Legacy v1/document-api compatibility field. Not supported for new comment patch behavior. A `comments.patch` request containing `isInternal` fails with `CAPABILITY_UNAVAILABLE` (kernel reason `internal-comments-unsupported`). The field is preserved in the schema only so v1 callers keep their input shape (`comments-spec.md` §7, §14.6). Only for action 'update'. Omit for other actions."
|
|
4485
4485
|
},
|
|
4486
4486
|
"includeResolved": {
|
|
4487
4487
|
"type": "boolean",
|
|
@@ -7106,7 +7106,6 @@
|
|
|
7106
7106
|
"insert_column",
|
|
7107
7107
|
"insert_row",
|
|
7108
7108
|
"merge_cells",
|
|
7109
|
-
"move_row",
|
|
7110
7109
|
"set_borders",
|
|
7111
7110
|
"set_cell",
|
|
7112
7111
|
"set_cell_text",
|
|
@@ -7119,7 +7118,7 @@
|
|
|
7119
7118
|
"set_style_options",
|
|
7120
7119
|
"unmerge_cells"
|
|
7121
7120
|
],
|
|
7122
|
-
"description": "The action to perform. One of: delete, delete_column, delete_row, insert_column, insert_row, merge_cells,
|
|
7121
|
+
"description": "The action to perform. One of: delete, delete_column, delete_row, insert_column, insert_row, merge_cells, set_borders, set_cell, set_cell_text, set_column, set_layout, set_options, set_row, set_row_options, set_shading, set_style_options, unmerge_cells."
|
|
7123
7122
|
},
|
|
7124
7123
|
"force": {
|
|
7125
7124
|
"type": "boolean",
|
|
@@ -7167,34 +7166,20 @@
|
|
|
7167
7166
|
"oneOf": [
|
|
7168
7167
|
{
|
|
7169
7168
|
"oneOf": [
|
|
7169
|
+
{
|
|
7170
|
+
"$ref": "#/$defs/TableAddress"
|
|
7171
|
+
},
|
|
7170
7172
|
{
|
|
7171
7173
|
"oneOf": [
|
|
7172
|
-
{
|
|
7173
|
-
"$ref": "#/$defs/TableAddress"
|
|
7174
|
-
},
|
|
7175
7174
|
{
|
|
7176
7175
|
"oneOf": [
|
|
7177
7176
|
{
|
|
7178
|
-
"
|
|
7179
|
-
{
|
|
7180
|
-
"$ref": "#/$defs/TableRowAddress"
|
|
7181
|
-
},
|
|
7182
|
-
{
|
|
7183
|
-
"$ref": "#/$defs/TableAddress"
|
|
7184
|
-
}
|
|
7185
|
-
]
|
|
7177
|
+
"$ref": "#/$defs/TableRowAddress"
|
|
7186
7178
|
},
|
|
7187
7179
|
{
|
|
7188
7180
|
"$ref": "#/$defs/TableAddress"
|
|
7189
7181
|
}
|
|
7190
7182
|
]
|
|
7191
|
-
}
|
|
7192
|
-
]
|
|
7193
|
-
},
|
|
7194
|
-
{
|
|
7195
|
-
"oneOf": [
|
|
7196
|
-
{
|
|
7197
|
-
"$ref": "#/$defs/TableRowAddress"
|
|
7198
7183
|
},
|
|
7199
7184
|
{
|
|
7200
7185
|
"$ref": "#/$defs/TableAddress"
|
|
@@ -7370,142 +7355,7 @@
|
|
|
7370
7355
|
"rowIndex": {
|
|
7371
7356
|
"type": "integer",
|
|
7372
7357
|
"minimum": 0,
|
|
7373
|
-
"description": "Only for actions 'insert_row', 'delete_row', '
|
|
7374
|
-
},
|
|
7375
|
-
"destination": {
|
|
7376
|
-
"oneOf": [
|
|
7377
|
-
{
|
|
7378
|
-
"type": "object",
|
|
7379
|
-
"properties": {
|
|
7380
|
-
"kind": {
|
|
7381
|
-
"const": "first",
|
|
7382
|
-
"type": "string"
|
|
7383
|
-
}
|
|
7384
|
-
},
|
|
7385
|
-
"additionalProperties": false,
|
|
7386
|
-
"required": [
|
|
7387
|
-
"kind"
|
|
7388
|
-
]
|
|
7389
|
-
},
|
|
7390
|
-
{
|
|
7391
|
-
"type": "object",
|
|
7392
|
-
"properties": {
|
|
7393
|
-
"kind": {
|
|
7394
|
-
"const": "last",
|
|
7395
|
-
"type": "string"
|
|
7396
|
-
}
|
|
7397
|
-
},
|
|
7398
|
-
"additionalProperties": false,
|
|
7399
|
-
"required": [
|
|
7400
|
-
"kind"
|
|
7401
|
-
]
|
|
7402
|
-
},
|
|
7403
|
-
{
|
|
7404
|
-
"type": "object",
|
|
7405
|
-
"properties": {
|
|
7406
|
-
"kind": {
|
|
7407
|
-
"const": "before",
|
|
7408
|
-
"type": "string"
|
|
7409
|
-
},
|
|
7410
|
-
"rowIndex": {
|
|
7411
|
-
"type": "integer",
|
|
7412
|
-
"minimum": 0
|
|
7413
|
-
}
|
|
7414
|
-
},
|
|
7415
|
-
"additionalProperties": false,
|
|
7416
|
-
"required": [
|
|
7417
|
-
"kind",
|
|
7418
|
-
"rowIndex"
|
|
7419
|
-
]
|
|
7420
|
-
},
|
|
7421
|
-
{
|
|
7422
|
-
"type": "object",
|
|
7423
|
-
"properties": {
|
|
7424
|
-
"kind": {
|
|
7425
|
-
"const": "after",
|
|
7426
|
-
"type": "string"
|
|
7427
|
-
},
|
|
7428
|
-
"rowIndex": {
|
|
7429
|
-
"type": "integer",
|
|
7430
|
-
"minimum": 0
|
|
7431
|
-
}
|
|
7432
|
-
},
|
|
7433
|
-
"additionalProperties": false,
|
|
7434
|
-
"required": [
|
|
7435
|
-
"kind",
|
|
7436
|
-
"rowIndex"
|
|
7437
|
-
]
|
|
7438
|
-
},
|
|
7439
|
-
{
|
|
7440
|
-
"type": "object",
|
|
7441
|
-
"properties": {
|
|
7442
|
-
"kind": {
|
|
7443
|
-
"const": "before",
|
|
7444
|
-
"type": "string"
|
|
7445
|
-
},
|
|
7446
|
-
"target": {
|
|
7447
|
-
"$ref": "#/$defs/TableRowAddress"
|
|
7448
|
-
}
|
|
7449
|
-
},
|
|
7450
|
-
"additionalProperties": false,
|
|
7451
|
-
"required": [
|
|
7452
|
-
"kind",
|
|
7453
|
-
"target"
|
|
7454
|
-
]
|
|
7455
|
-
},
|
|
7456
|
-
{
|
|
7457
|
-
"type": "object",
|
|
7458
|
-
"properties": {
|
|
7459
|
-
"kind": {
|
|
7460
|
-
"const": "after",
|
|
7461
|
-
"type": "string"
|
|
7462
|
-
},
|
|
7463
|
-
"target": {
|
|
7464
|
-
"$ref": "#/$defs/TableRowAddress"
|
|
7465
|
-
}
|
|
7466
|
-
},
|
|
7467
|
-
"additionalProperties": false,
|
|
7468
|
-
"required": [
|
|
7469
|
-
"kind",
|
|
7470
|
-
"target"
|
|
7471
|
-
]
|
|
7472
|
-
},
|
|
7473
|
-
{
|
|
7474
|
-
"type": "object",
|
|
7475
|
-
"properties": {
|
|
7476
|
-
"kind": {
|
|
7477
|
-
"const": "before",
|
|
7478
|
-
"type": "string"
|
|
7479
|
-
},
|
|
7480
|
-
"nodeId": {
|
|
7481
|
-
"type": "string"
|
|
7482
|
-
}
|
|
7483
|
-
},
|
|
7484
|
-
"additionalProperties": false,
|
|
7485
|
-
"required": [
|
|
7486
|
-
"kind",
|
|
7487
|
-
"nodeId"
|
|
7488
|
-
]
|
|
7489
|
-
},
|
|
7490
|
-
{
|
|
7491
|
-
"type": "object",
|
|
7492
|
-
"properties": {
|
|
7493
|
-
"kind": {
|
|
7494
|
-
"const": "after",
|
|
7495
|
-
"type": "string"
|
|
7496
|
-
},
|
|
7497
|
-
"nodeId": {
|
|
7498
|
-
"type": "string"
|
|
7499
|
-
}
|
|
7500
|
-
},
|
|
7501
|
-
"additionalProperties": false,
|
|
7502
|
-
"required": [
|
|
7503
|
-
"kind",
|
|
7504
|
-
"nodeId"
|
|
7505
|
-
]
|
|
7506
|
-
}
|
|
7507
|
-
],
|
|
7508
|
-
"description": "Required for action 'move_row'."
|
|
7358
|
+
"description": "Only for actions 'insert_row', 'delete_row', 'set_row', 'set_row_options', 'unmerge_cells', 'set_cell_text'. Omit for other actions."
|
|
7509
7359
|
},
|
|
7510
7360
|
"heightPt": {
|
|
7511
7361
|
"type": "number",
|