@tiwater/office-mcp 0.18.7 → 0.18.8
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.
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"sourceRows": {
|
|
40
40
|
"type": "object",
|
|
41
|
+
"description": "Contiguous source data rows. The header row stays outside this range. The first and last row must enclose complete vertical-merge groups as reported by docx_read_table.",
|
|
41
42
|
"properties": {
|
|
42
43
|
"first": {
|
|
43
44
|
"type": "object",
|
|
@@ -102,6 +103,7 @@
|
|
|
102
103
|
},
|
|
103
104
|
"targetRows": {
|
|
104
105
|
"type": "object",
|
|
106
|
+
"description": "Contiguous target data rows to replace. The header row stays outside this range. The first and last row must enclose complete vertical-merge groups as reported by docx_read_table.",
|
|
105
107
|
"properties": {
|
|
106
108
|
"first": {
|
|
107
109
|
"type": "object",
|
|
@@ -149,6 +151,7 @@
|
|
|
149
151
|
"columns": {
|
|
150
152
|
"minItems": 1,
|
|
151
153
|
"type": "array",
|
|
154
|
+
"description": "Source-to-target header-cell mappings. Source headers share one row, target headers share one row, both header rows stay outside the selected data rows, and each side covers its complete table grid.",
|
|
152
155
|
"items": {
|
|
153
156
|
"type": "object",
|
|
154
157
|
"properties": {
|
|
@@ -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.18.
|
|
5
|
+
"version": "0.18.8"
|
|
6
6
|
},
|
|
7
7
|
"tools": [
|
|
8
8
|
{
|
|
@@ -163,11 +163,11 @@
|
|
|
163
163
|
"name": "docx_replace_table_rows",
|
|
164
164
|
"providerContract": {
|
|
165
165
|
"source": "packages/docx-cli/contracts/mcp-input/docx_replace_table_rows.schema.json",
|
|
166
|
-
"sha256": "
|
|
166
|
+
"sha256": "544d36dc38d9fdf77cfefc0208591fc64321a510171a9b407ab6b46b9c1797e4"
|
|
167
167
|
},
|
|
168
168
|
"inputContract": {
|
|
169
169
|
"path": "office/contracts/docx_replace_table_rows.schema.json",
|
|
170
|
-
"sha256": "
|
|
170
|
+
"sha256": "544d36dc38d9fdf77cfefc0208591fc64321a510171a9b407ab6b46b9c1797e4"
|
|
171
171
|
}
|
|
172
172
|
},
|
|
173
173
|
{
|
package/office/index.mjs
CHANGED
|
@@ -314,7 +314,7 @@ const tools = [
|
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
316
|
name: 'docx_replace_table_rows',
|
|
317
|
-
description: 'Replace one or more data-row ranges in one current target document.
|
|
317
|
+
description: 'Replace one or more data-row ranges in one current target document. Read both tables first. Each selected row range excludes its header and encloses complete vertical-merge groups; header-cell mappings cover both complete grids. Source cells copy all paragraphs by default. To keep selected content only, each sourceSelections item puts the observed address in its address field; range is optional for a substring.',
|
|
318
318
|
inputSchema: inputContract('docx_replace_table_rows'),
|
|
319
319
|
outputSchema: fixedEditOutput('docx_replace_table_rows'),
|
|
320
320
|
handler: args => fixedEdit('docx_replace_table_rows', args),
|