@superdoc-dev/sdk 1.19.1 → 1.20.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/action-primitives/doc-index.cjs +215 -0
- package/dist/action-primitives/doc-index.d.ts +83 -0
- package/dist/action-primitives/doc-index.d.ts.map +1 -0
- package/dist/action-primitives/doc-index.js +211 -0
- package/dist/action-primitives/engine.cjs +204 -0
- package/dist/action-primitives/engine.d.ts +71 -0
- package/dist/action-primitives/engine.d.ts.map +1 -0
- package/dist/action-primitives/engine.js +196 -0
- package/dist/action-primitives/receipt.cjs +39 -0
- package/dist/action-primitives/receipt.d.ts +49 -0
- package/dist/action-primitives/receipt.d.ts.map +1 -0
- package/dist/action-primitives/receipt.js +32 -0
- package/dist/action-primitives/resolve.cjs +252 -0
- package/dist/action-primitives/resolve.d.ts +56 -0
- package/dist/action-primitives/resolve.d.ts.map +1 -0
- package/dist/action-primitives/resolve.js +246 -0
- package/dist/action-primitives/session-cache.cjs +43 -0
- package/dist/action-primitives/session-cache.d.ts +19 -0
- package/dist/action-primitives/session-cache.d.ts.map +1 -0
- package/dist/action-primitives/session-cache.js +37 -0
- package/dist/action-primitives/tools/list-transform.cjs +661 -0
- package/dist/action-primitives/tools/list-transform.d.ts +98 -0
- package/dist/action-primitives/tools/list-transform.d.ts.map +1 -0
- package/dist/action-primitives/tools/list-transform.js +656 -0
- package/dist/action-primitives/tools/structure-insert.cjs +1343 -0
- package/dist/action-primitives/tools/structure-insert.d.ts +183 -0
- package/dist/action-primitives/tools/structure-insert.d.ts.map +1 -0
- package/dist/action-primitives/tools/structure-insert.js +1338 -0
- package/dist/action-primitives/tools/text-transform.cjs +669 -0
- package/dist/action-primitives/tools/text-transform.d.ts +64 -0
- package/dist/action-primitives/tools/text-transform.d.ts.map +1 -0
- package/dist/action-primitives/tools/text-transform.js +664 -0
- package/dist/action-primitives/types.d.ts +36 -0
- package/dist/action-primitives/types.d.ts.map +1 -0
- package/dist/action-primitives/types.js +15 -0
- package/dist/agent/actions.cjs +5381 -0
- package/dist/agent/actions.d.ts +404 -0
- package/dist/agent/actions.d.ts.map +1 -0
- package/dist/agent/actions.js +5373 -0
- package/dist/agent/catalog.cjs +483 -0
- package/dist/agent/catalog.d.ts +103 -0
- package/dist/agent/catalog.d.ts.map +1 -0
- package/dist/agent/catalog.js +471 -0
- package/dist/agent/doc-snapshot.cjs +663 -0
- package/dist/agent/doc-snapshot.d.ts +247 -0
- package/dist/agent/doc-snapshot.d.ts.map +1 -0
- package/dist/agent/doc-snapshot.js +657 -0
- package/dist/agent/index.d.ts +16 -0
- package/dist/agent/index.d.ts.map +1 -0
- package/dist/agent/index.js +15 -0
- package/dist/agent/ir.cjs +170 -0
- package/dist/agent/ir.d.ts +216 -0
- package/dist/agent/ir.d.ts.map +1 -0
- package/dist/agent/ir.js +181 -0
- package/dist/agent/operation-catalog.cjs +418 -0
- package/dist/agent/operation-catalog.d.ts +36 -0
- package/dist/agent/operation-catalog.d.ts.map +1 -0
- package/dist/agent/operation-catalog.js +446 -0
- package/dist/agent/runtime.cjs +501 -0
- package/dist/agent/runtime.d.ts +120 -0
- package/dist/agent/runtime.d.ts.map +1 -0
- package/dist/agent/runtime.js +493 -0
- package/dist/embedded-prompts.generated.cjs +13 -0
- package/dist/embedded-prompts.generated.d.ts +4 -0
- package/dist/embedded-prompts.generated.d.ts.map +1 -0
- package/dist/embedded-prompts.generated.js +9 -0
- package/dist/generated/client.cjs +18 -20
- package/dist/generated/client.d.ts +723 -3223
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +18 -20
- package/dist/generated/contract.cjs +12898 -18467
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +12898 -18467
- 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/dist/index.cjs +3 -7
- package/dist/index.d.ts +8 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -8
- package/dist/presets/core.cjs +454 -0
- package/dist/presets/core.d.ts +20 -0
- package/dist/presets/core.d.ts.map +1 -0
- package/dist/presets/core.js +447 -0
- package/dist/presets.cjs +55 -8
- package/dist/presets.d.ts +39 -8
- package/dist/presets.d.ts.map +1 -1
- package/dist/presets.js +53 -8
- package/dist/prompts/mcp-prompt.md +23 -0
- package/dist/prompts/system-prompt.md +108 -0
- package/dist/runtime/transport-common.cjs +8 -0
- package/dist/runtime/transport-common.d.ts.map +1 -1
- package/dist/runtime/transport-common.js +8 -0
- package/dist/tools.cjs +46 -11
- package/dist/tools.d.ts +55 -8
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +45 -13
- package/package.json +9 -8
- package/tools/__pycache__/__init__.cpython-312.pyc +0 -0
- package/tools/__pycache__/intent_dispatch_generated.cpython-312.pyc +0 -0
- package/tools/catalog.json +22 -178
- package/tools/intent_dispatch_generated.py +0 -2
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +22 -158
- package/tools/tools.generic.json +23 -160
- package/tools/tools.openai.json +22 -158
- package/tools/tools.vercel.json +22 -158
package/tools/tools.generic.json
CHANGED
|
@@ -4431,7 +4431,7 @@
|
|
|
4431
4431
|
},
|
|
4432
4432
|
{
|
|
4433
4433
|
"name": "superdoc_comment",
|
|
4434
|
-
"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
|
|
4434
|
+
"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>\"}",
|
|
4435
4435
|
"parameters": {
|
|
4436
4436
|
"type": "object",
|
|
4437
4437
|
"properties": {
|
|
@@ -4573,7 +4573,7 @@
|
|
|
4573
4573
|
},
|
|
4574
4574
|
"isInternal": {
|
|
4575
4575
|
"type": "boolean",
|
|
4576
|
-
"description": "Legacy v1/document-api compatibility field. Not
|
|
4576
|
+
"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."
|
|
4577
4577
|
},
|
|
4578
4578
|
"includeResolved": {
|
|
4579
4579
|
"type": "boolean",
|
|
@@ -4708,6 +4708,13 @@
|
|
|
4708
4708
|
"destination"
|
|
4709
4709
|
],
|
|
4710
4710
|
"description": "Optional move pairing assertion. 'pair' requires the resolved tracked change to be a paired move; 'source' / 'destination' further narrow to a specific half. When the assertion does not hold the decide adapter fails closed."
|
|
4711
|
+
},
|
|
4712
|
+
"side": {
|
|
4713
|
+
"enum": [
|
|
4714
|
+
"inserted",
|
|
4715
|
+
"deleted"
|
|
4716
|
+
],
|
|
4717
|
+
"description": "Optional replacement side. When the id resolves to a paired replacement, decides only the 'inserted' or 'deleted' half, leaving the other half as a standalone pending change."
|
|
4711
4718
|
}
|
|
4712
4719
|
},
|
|
4713
4720
|
"additionalProperties": false,
|
|
@@ -4906,6 +4913,13 @@
|
|
|
4906
4913
|
"destination"
|
|
4907
4914
|
],
|
|
4908
4915
|
"description": "Optional move pairing assertion. 'pair' requires the resolved tracked change to be a paired move; 'source' / 'destination' further narrow to a specific half. When the assertion does not hold the decide adapter fails closed."
|
|
4916
|
+
},
|
|
4917
|
+
"side": {
|
|
4918
|
+
"enum": [
|
|
4919
|
+
"inserted",
|
|
4920
|
+
"deleted"
|
|
4921
|
+
],
|
|
4922
|
+
"description": "Optional replacement side. When the id resolves to a paired replacement, decides only the 'inserted' or 'deleted' half."
|
|
4909
4923
|
}
|
|
4910
4924
|
},
|
|
4911
4925
|
"additionalProperties": false,
|
|
@@ -7256,7 +7270,6 @@
|
|
|
7256
7270
|
"insert_column",
|
|
7257
7271
|
"insert_row",
|
|
7258
7272
|
"merge_cells",
|
|
7259
|
-
"move_row",
|
|
7260
7273
|
"set_borders",
|
|
7261
7274
|
"set_cell",
|
|
7262
7275
|
"set_cell_text",
|
|
@@ -7269,7 +7282,7 @@
|
|
|
7269
7282
|
"set_style_options",
|
|
7270
7283
|
"unmerge_cells"
|
|
7271
7284
|
],
|
|
7272
|
-
"description": "The action to perform. One of: delete, delete_column, delete_row, insert_column, insert_row, merge_cells,
|
|
7285
|
+
"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."
|
|
7273
7286
|
},
|
|
7274
7287
|
"force": {
|
|
7275
7288
|
"type": "boolean",
|
|
@@ -7317,34 +7330,20 @@
|
|
|
7317
7330
|
"oneOf": [
|
|
7318
7331
|
{
|
|
7319
7332
|
"oneOf": [
|
|
7333
|
+
{
|
|
7334
|
+
"$ref": "#/$defs/TableAddress"
|
|
7335
|
+
},
|
|
7320
7336
|
{
|
|
7321
7337
|
"oneOf": [
|
|
7322
|
-
{
|
|
7323
|
-
"$ref": "#/$defs/TableAddress"
|
|
7324
|
-
},
|
|
7325
7338
|
{
|
|
7326
7339
|
"oneOf": [
|
|
7327
7340
|
{
|
|
7328
|
-
"
|
|
7329
|
-
{
|
|
7330
|
-
"$ref": "#/$defs/TableRowAddress"
|
|
7331
|
-
},
|
|
7332
|
-
{
|
|
7333
|
-
"$ref": "#/$defs/TableAddress"
|
|
7334
|
-
}
|
|
7335
|
-
]
|
|
7341
|
+
"$ref": "#/$defs/TableRowAddress"
|
|
7336
7342
|
},
|
|
7337
7343
|
{
|
|
7338
7344
|
"$ref": "#/$defs/TableAddress"
|
|
7339
7345
|
}
|
|
7340
7346
|
]
|
|
7341
|
-
}
|
|
7342
|
-
]
|
|
7343
|
-
},
|
|
7344
|
-
{
|
|
7345
|
-
"oneOf": [
|
|
7346
|
-
{
|
|
7347
|
-
"$ref": "#/$defs/TableRowAddress"
|
|
7348
7347
|
},
|
|
7349
7348
|
{
|
|
7350
7349
|
"$ref": "#/$defs/TableAddress"
|
|
@@ -7520,142 +7519,7 @@
|
|
|
7520
7519
|
"rowIndex": {
|
|
7521
7520
|
"type": "integer",
|
|
7522
7521
|
"minimum": 0,
|
|
7523
|
-
"description": "Only for actions 'insert_row', 'delete_row', '
|
|
7524
|
-
},
|
|
7525
|
-
"destination": {
|
|
7526
|
-
"oneOf": [
|
|
7527
|
-
{
|
|
7528
|
-
"type": "object",
|
|
7529
|
-
"properties": {
|
|
7530
|
-
"kind": {
|
|
7531
|
-
"const": "first",
|
|
7532
|
-
"type": "string"
|
|
7533
|
-
}
|
|
7534
|
-
},
|
|
7535
|
-
"additionalProperties": false,
|
|
7536
|
-
"required": [
|
|
7537
|
-
"kind"
|
|
7538
|
-
]
|
|
7539
|
-
},
|
|
7540
|
-
{
|
|
7541
|
-
"type": "object",
|
|
7542
|
-
"properties": {
|
|
7543
|
-
"kind": {
|
|
7544
|
-
"const": "last",
|
|
7545
|
-
"type": "string"
|
|
7546
|
-
}
|
|
7547
|
-
},
|
|
7548
|
-
"additionalProperties": false,
|
|
7549
|
-
"required": [
|
|
7550
|
-
"kind"
|
|
7551
|
-
]
|
|
7552
|
-
},
|
|
7553
|
-
{
|
|
7554
|
-
"type": "object",
|
|
7555
|
-
"properties": {
|
|
7556
|
-
"kind": {
|
|
7557
|
-
"const": "before",
|
|
7558
|
-
"type": "string"
|
|
7559
|
-
},
|
|
7560
|
-
"rowIndex": {
|
|
7561
|
-
"type": "integer",
|
|
7562
|
-
"minimum": 0
|
|
7563
|
-
}
|
|
7564
|
-
},
|
|
7565
|
-
"additionalProperties": false,
|
|
7566
|
-
"required": [
|
|
7567
|
-
"kind",
|
|
7568
|
-
"rowIndex"
|
|
7569
|
-
]
|
|
7570
|
-
},
|
|
7571
|
-
{
|
|
7572
|
-
"type": "object",
|
|
7573
|
-
"properties": {
|
|
7574
|
-
"kind": {
|
|
7575
|
-
"const": "after",
|
|
7576
|
-
"type": "string"
|
|
7577
|
-
},
|
|
7578
|
-
"rowIndex": {
|
|
7579
|
-
"type": "integer",
|
|
7580
|
-
"minimum": 0
|
|
7581
|
-
}
|
|
7582
|
-
},
|
|
7583
|
-
"additionalProperties": false,
|
|
7584
|
-
"required": [
|
|
7585
|
-
"kind",
|
|
7586
|
-
"rowIndex"
|
|
7587
|
-
]
|
|
7588
|
-
},
|
|
7589
|
-
{
|
|
7590
|
-
"type": "object",
|
|
7591
|
-
"properties": {
|
|
7592
|
-
"kind": {
|
|
7593
|
-
"const": "before",
|
|
7594
|
-
"type": "string"
|
|
7595
|
-
},
|
|
7596
|
-
"target": {
|
|
7597
|
-
"$ref": "#/$defs/TableRowAddress"
|
|
7598
|
-
}
|
|
7599
|
-
},
|
|
7600
|
-
"additionalProperties": false,
|
|
7601
|
-
"required": [
|
|
7602
|
-
"kind",
|
|
7603
|
-
"target"
|
|
7604
|
-
]
|
|
7605
|
-
},
|
|
7606
|
-
{
|
|
7607
|
-
"type": "object",
|
|
7608
|
-
"properties": {
|
|
7609
|
-
"kind": {
|
|
7610
|
-
"const": "after",
|
|
7611
|
-
"type": "string"
|
|
7612
|
-
},
|
|
7613
|
-
"target": {
|
|
7614
|
-
"$ref": "#/$defs/TableRowAddress"
|
|
7615
|
-
}
|
|
7616
|
-
},
|
|
7617
|
-
"additionalProperties": false,
|
|
7618
|
-
"required": [
|
|
7619
|
-
"kind",
|
|
7620
|
-
"target"
|
|
7621
|
-
]
|
|
7622
|
-
},
|
|
7623
|
-
{
|
|
7624
|
-
"type": "object",
|
|
7625
|
-
"properties": {
|
|
7626
|
-
"kind": {
|
|
7627
|
-
"const": "before",
|
|
7628
|
-
"type": "string"
|
|
7629
|
-
},
|
|
7630
|
-
"nodeId": {
|
|
7631
|
-
"type": "string"
|
|
7632
|
-
}
|
|
7633
|
-
},
|
|
7634
|
-
"additionalProperties": false,
|
|
7635
|
-
"required": [
|
|
7636
|
-
"kind",
|
|
7637
|
-
"nodeId"
|
|
7638
|
-
]
|
|
7639
|
-
},
|
|
7640
|
-
{
|
|
7641
|
-
"type": "object",
|
|
7642
|
-
"properties": {
|
|
7643
|
-
"kind": {
|
|
7644
|
-
"const": "after",
|
|
7645
|
-
"type": "string"
|
|
7646
|
-
},
|
|
7647
|
-
"nodeId": {
|
|
7648
|
-
"type": "string"
|
|
7649
|
-
}
|
|
7650
|
-
},
|
|
7651
|
-
"additionalProperties": false,
|
|
7652
|
-
"required": [
|
|
7653
|
-
"kind",
|
|
7654
|
-
"nodeId"
|
|
7655
|
-
]
|
|
7656
|
-
}
|
|
7657
|
-
],
|
|
7658
|
-
"description": "Required for action 'move_row'."
|
|
7522
|
+
"description": "Only for actions 'insert_row', 'delete_row', 'set_row', 'set_row_options', 'unmerge_cells', 'set_cell_text'. Omit for other actions."
|
|
7659
7523
|
},
|
|
7660
7524
|
"heightPt": {
|
|
7661
7525
|
"type": "number",
|
|
@@ -8131,13 +7995,12 @@
|
|
|
8131
7995
|
},
|
|
8132
7996
|
"metadata": {
|
|
8133
7997
|
"mutates": true,
|
|
8134
|
-
"operationCount":
|
|
7998
|
+
"operationCount": 17,
|
|
8135
7999
|
"operations": [
|
|
8136
8000
|
"doc.tables.delete",
|
|
8137
8001
|
"doc.tables.setLayout",
|
|
8138
8002
|
"doc.tables.insertRow",
|
|
8139
8003
|
"doc.tables.deleteRow",
|
|
8140
|
-
"doc.tables.moveRow",
|
|
8141
8004
|
"doc.tables.setRowHeight",
|
|
8142
8005
|
"doc.tables.setRowOptions",
|
|
8143
8006
|
"doc.tables.insertColumn",
|
package/tools/tools.openai.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",
|
|
@@ -4599,6 +4599,13 @@
|
|
|
4599
4599
|
"destination"
|
|
4600
4600
|
],
|
|
4601
4601
|
"description": "Optional move pairing assertion. 'pair' requires the resolved tracked change to be a paired move; 'source' / 'destination' further narrow to a specific half. When the assertion does not hold the decide adapter fails closed."
|
|
4602
|
+
},
|
|
4603
|
+
"side": {
|
|
4604
|
+
"enum": [
|
|
4605
|
+
"inserted",
|
|
4606
|
+
"deleted"
|
|
4607
|
+
],
|
|
4608
|
+
"description": "Optional replacement side. When the id resolves to a paired replacement, decides only the 'inserted' or 'deleted' half, leaving the other half as a standalone pending change."
|
|
4602
4609
|
}
|
|
4603
4610
|
},
|
|
4604
4611
|
"additionalProperties": false,
|
|
@@ -4797,6 +4804,13 @@
|
|
|
4797
4804
|
"destination"
|
|
4798
4805
|
],
|
|
4799
4806
|
"description": "Optional move pairing assertion. 'pair' requires the resolved tracked change to be a paired move; 'source' / 'destination' further narrow to a specific half. When the assertion does not hold the decide adapter fails closed."
|
|
4807
|
+
},
|
|
4808
|
+
"side": {
|
|
4809
|
+
"enum": [
|
|
4810
|
+
"inserted",
|
|
4811
|
+
"deleted"
|
|
4812
|
+
],
|
|
4813
|
+
"description": "Optional replacement side. When the id resolves to a paired replacement, decides only the 'inserted' or 'deleted' half."
|
|
4800
4814
|
}
|
|
4801
4815
|
},
|
|
4802
4816
|
"additionalProperties": false,
|
|
@@ -7106,7 +7120,6 @@
|
|
|
7106
7120
|
"insert_column",
|
|
7107
7121
|
"insert_row",
|
|
7108
7122
|
"merge_cells",
|
|
7109
|
-
"move_row",
|
|
7110
7123
|
"set_borders",
|
|
7111
7124
|
"set_cell",
|
|
7112
7125
|
"set_cell_text",
|
|
@@ -7119,7 +7132,7 @@
|
|
|
7119
7132
|
"set_style_options",
|
|
7120
7133
|
"unmerge_cells"
|
|
7121
7134
|
],
|
|
7122
|
-
"description": "The action to perform. One of: delete, delete_column, delete_row, insert_column, insert_row, merge_cells,
|
|
7135
|
+
"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
7136
|
},
|
|
7124
7137
|
"force": {
|
|
7125
7138
|
"type": "boolean",
|
|
@@ -7167,34 +7180,20 @@
|
|
|
7167
7180
|
"oneOf": [
|
|
7168
7181
|
{
|
|
7169
7182
|
"oneOf": [
|
|
7183
|
+
{
|
|
7184
|
+
"$ref": "#/$defs/TableAddress"
|
|
7185
|
+
},
|
|
7170
7186
|
{
|
|
7171
7187
|
"oneOf": [
|
|
7172
|
-
{
|
|
7173
|
-
"$ref": "#/$defs/TableAddress"
|
|
7174
|
-
},
|
|
7175
7188
|
{
|
|
7176
7189
|
"oneOf": [
|
|
7177
7190
|
{
|
|
7178
|
-
"
|
|
7179
|
-
{
|
|
7180
|
-
"$ref": "#/$defs/TableRowAddress"
|
|
7181
|
-
},
|
|
7182
|
-
{
|
|
7183
|
-
"$ref": "#/$defs/TableAddress"
|
|
7184
|
-
}
|
|
7185
|
-
]
|
|
7191
|
+
"$ref": "#/$defs/TableRowAddress"
|
|
7186
7192
|
},
|
|
7187
7193
|
{
|
|
7188
7194
|
"$ref": "#/$defs/TableAddress"
|
|
7189
7195
|
}
|
|
7190
7196
|
]
|
|
7191
|
-
}
|
|
7192
|
-
]
|
|
7193
|
-
},
|
|
7194
|
-
{
|
|
7195
|
-
"oneOf": [
|
|
7196
|
-
{
|
|
7197
|
-
"$ref": "#/$defs/TableRowAddress"
|
|
7198
7197
|
},
|
|
7199
7198
|
{
|
|
7200
7199
|
"$ref": "#/$defs/TableAddress"
|
|
@@ -7370,142 +7369,7 @@
|
|
|
7370
7369
|
"rowIndex": {
|
|
7371
7370
|
"type": "integer",
|
|
7372
7371
|
"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'."
|
|
7372
|
+
"description": "Only for actions 'insert_row', 'delete_row', 'set_row', 'set_row_options', 'unmerge_cells', 'set_cell_text'. Omit for other actions."
|
|
7509
7373
|
},
|
|
7510
7374
|
"heightPt": {
|
|
7511
7375
|
"type": "number",
|