@tiwater/office-mcp 0.21.11 → 0.21.13
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.
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"rows": {
|
|
70
70
|
"type": "array",
|
|
71
71
|
"minItems": 0,
|
|
72
|
-
"description": "
|
|
72
|
+
"description": "Final logical rows; an empty array removes the range when another row remains. Cells plus active row spans cover the complete target grid exactly once.",
|
|
73
73
|
"items": {
|
|
74
74
|
"type": "object",
|
|
75
75
|
"properties": {
|
|
@@ -95,10 +95,11 @@
|
|
|
95
95
|
"items": { "type": "string", "minLength": 1, "maxLength": 80 }
|
|
96
96
|
},
|
|
97
97
|
"text": { "type": "string" },
|
|
98
|
-
"
|
|
99
|
-
"type": "
|
|
100
|
-
"
|
|
101
|
-
"
|
|
98
|
+
"rowSpan": {
|
|
99
|
+
"type": "integer",
|
|
100
|
+
"minimum": 1,
|
|
101
|
+
"maximum": 2147483647,
|
|
102
|
+
"description": "Logical row count occupied by this cell; omitted means one. Later rows omit these columns."
|
|
102
103
|
}
|
|
103
104
|
},
|
|
104
105
|
"required": ["columns", "text"],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schema": "tiwater.office-provider-contract-manifest/v1",
|
|
3
3
|
"provider": {
|
|
4
4
|
"id": "@tiwater/office-mcp",
|
|
5
|
-
"version": "0.21.
|
|
5
|
+
"version": "0.21.13"
|
|
6
6
|
},
|
|
7
7
|
"tools": [
|
|
8
8
|
{
|
|
@@ -185,11 +185,11 @@
|
|
|
185
185
|
"name": "docx_set_table_body",
|
|
186
186
|
"providerContract": {
|
|
187
187
|
"source": "packages/docx-cli/contracts/mcp-input/docx_set_table_body.schema.json",
|
|
188
|
-
"sha256": "
|
|
188
|
+
"sha256": "1e1f9fce5156b8473ee0f2c7e4729967f4d1c98ad686b40083511f12f52b23d0"
|
|
189
189
|
},
|
|
190
190
|
"inputContract": {
|
|
191
191
|
"path": "office/contracts/docx_set_table_body.schema.json",
|
|
192
|
-
"sha256": "
|
|
192
|
+
"sha256": "1e1f9fce5156b8473ee0f2c7e4729967f4d1c98ad686b40083511f12f52b23d0"
|
|
193
193
|
}
|
|
194
194
|
},
|
|
195
195
|
{
|
package/office/index.mjs
CHANGED
|
@@ -424,7 +424,7 @@ const tools = [
|
|
|
424
424
|
},
|
|
425
425
|
{
|
|
426
426
|
name: 'docx_set_table_body',
|
|
427
|
-
description: 'Atomically replace one exact current target-table row range while retaining the table, target styles, grid widths, and all rows and surrounding content outside the range. Name every target grid column in native order
|
|
427
|
+
description: 'Atomically replace one exact current target-table row range while retaining the table, target styles, grid widths, and all rows and surrounding content outside the range. When retaining leading rows reported with repeatHeader=true, existingRows starts after all of them and never at a verticalMerge=continue row. Name every target grid column in native order and choose one current row inside existingRows as the style prototype for each final row. Horizontal spans use contiguous column IDs. Set rowSpan on one logical cell to occupy multiple rows and omit those columns from the covered rows; the provider writes native vertical merge cells. Every other grid column remains explicit. An empty final row array removes the range when another table row remains. The provider commits once and returns structural readback. It does not read a source table, map source to target, derive text, choose business columns, identify headers, or accept non-text cell content.',
|
|
428
428
|
inputSchema: inputContract('docx_set_table_body'),
|
|
429
429
|
outputSchema: fixedEditOutput('docx_set_table_body'),
|
|
430
430
|
handler: args => fixedEdit('docx_set_table_body', args),
|