@tiwater/office-mcp 0.18.12 → 0.18.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.
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
},
|
|
104
104
|
"targetRows": {
|
|
105
105
|
"type": "object",
|
|
106
|
-
"description": "Contiguous target data rows to replace. The header row stays outside this range.
|
|
106
|
+
"description": "Contiguous target data rows to replace. The header row stays outside this range. Omit last to replace from first through the table's final row. An explicit first and last must enclose complete vertical-merge groups as reported by docx_read_table.",
|
|
107
107
|
"properties": {
|
|
108
108
|
"first": {
|
|
109
109
|
"type": "object",
|
|
@@ -143,8 +143,7 @@
|
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
145
|
"required": [
|
|
146
|
-
"first"
|
|
147
|
-
"last"
|
|
146
|
+
"first"
|
|
148
147
|
],
|
|
149
148
|
"additionalProperties": false
|
|
150
149
|
},
|
|
@@ -282,6 +281,11 @@
|
|
|
282
281
|
],
|
|
283
282
|
"additionalProperties": false
|
|
284
283
|
}
|
|
284
|
+
},
|
|
285
|
+
"sourceParagraphMode": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"const": "omit-paired-latin-prose",
|
|
288
|
+
"description": "Optional deterministic paragraph selection for every mapped source cell. omit-paired-latin-prose preserves Han or mixed-language paragraphs and standalone technical expressions, while omitting adjacent Latin prose paired after Han text. It cannot be combined with sourceCellContents."
|
|
285
289
|
}
|
|
286
290
|
},
|
|
287
291
|
"required": [
|
|
@@ -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.13"
|
|
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": "b5ea315e8a21e7a2ca4e52857504f190ace7dffb6666fa549994799be242ce20"
|
|
167
167
|
},
|
|
168
168
|
"inputContract": {
|
|
169
169
|
"path": "office/contracts/docx_replace_table_rows.schema.json",
|
|
170
|
-
"sha256": "
|
|
170
|
+
"sha256": "b5ea315e8a21e7a2ca4e52857504f190ace7dffb6666fa549994799be242ce20"
|
|
171
171
|
}
|
|
172
172
|
},
|
|
173
173
|
{
|
package/office/index.mjs
CHANGED
|
@@ -357,7 +357,7 @@ const tools = [
|
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
359
|
name: 'docx_replace_table_rows',
|
|
360
|
-
description: 'Replace
|
|
360
|
+
description: 'Replace data rows in existing target tables after reading both tables. Each range excludes its header and closes vertical merges; omit targetRows.last to replace through the table end. Source cells copy all paragraphs by default. sourceParagraphMode can omit paired Latin prose while retaining Han text and standalone technical expressions; explicit sourceCellContents remains available for exact selections.',
|
|
361
361
|
inputSchema: inputContract('docx_replace_table_rows'),
|
|
362
362
|
outputSchema: fixedEditOutput('docx_replace_table_rows'),
|
|
363
363
|
handler: args => fixedEdit('docx_replace_table_rows', args),
|