@tiwater/office-mcp 0.18.14 → 0.18.15

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.
@@ -197,95 +197,6 @@
197
197
  ],
198
198
  "additionalProperties": false
199
199
  }
200
- },
201
- "sourceCellContents": {
202
- "type": "array",
203
- "description": "Optional per-cell content selections. Omit this field to copy every paragraph from each mapped source cell.",
204
- "items": {
205
- "type": "object",
206
- "properties": {
207
- "sourceCell": {
208
- "type": "object",
209
- "properties": {
210
- "part": {
211
- "type": "string",
212
- "minLength": 1
213
- },
214
- "path": {
215
- "type": "string",
216
- "pattern": "^\\/"
217
- }
218
- },
219
- "required": [
220
- "part",
221
- "path"
222
- ],
223
- "additionalProperties": false
224
- },
225
- "sourceSelections": {
226
- "type": "array",
227
- "description": "Content selections inside sourceCell. Each item is a selection object; put the observed OpenXML address in its required address field and add range only for a substring.",
228
- "items": {
229
- "type": "object",
230
- "properties": {
231
- "address": {
232
- "type": "object",
233
- "description": "Observed paragraph, run, or text OpenXML address selected from sourceCell.",
234
- "properties": {
235
- "part": {
236
- "type": "string",
237
- "minLength": 1
238
- },
239
- "path": {
240
- "type": "string",
241
- "pattern": "^\\/"
242
- }
243
- },
244
- "required": [
245
- "part",
246
- "path"
247
- ],
248
- "additionalProperties": false
249
- },
250
- "range": {
251
- "type": "object",
252
- "properties": {
253
- "start": {
254
- "type": "integer",
255
- "minimum": 0,
256
- "maximum": 9007199254740991
257
- },
258
- "length": {
259
- "type": "integer",
260
- "exclusiveMinimum": 0,
261
- "maximum": 9007199254740991
262
- }
263
- },
264
- "required": [
265
- "start",
266
- "length"
267
- ],
268
- "additionalProperties": false
269
- }
270
- },
271
- "required": [
272
- "address"
273
- ],
274
- "additionalProperties": false
275
- }
276
- }
277
- },
278
- "required": [
279
- "sourceCell",
280
- "sourceSelections"
281
- ],
282
- "additionalProperties": false
283
- }
284
- },
285
- "sourceParagraphMode": {
286
- "type": "string",
287
- "const": "omit-paired-latin-prose",
288
- "description": "Optional deterministic text selection for every mapped source cell. omit-paired-latin-prose preserves Han content and standalone technical expressions while omitting adjacent Latin prose paragraphs and punctuation-delimited translation clauses. It cannot be combined with sourceCellContents."
289
200
  }
290
201
  },
291
202
  "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.14"
5
+ "version": "0.18.15"
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": "a9f8d27a753da4d16b4046562c986561731562d716d5e88300b6f3b08c48c26c"
166
+ "sha256": "180cd21147fcd8158d640d769d9b6e435f0fe8761a0c41a03b711582dfb9c64c"
167
167
  },
168
168
  "inputContract": {
169
169
  "path": "office/contracts/docx_replace_table_rows.schema.json",
170
- "sha256": "a9f8d27a753da4d16b4046562c986561731562d716d5e88300b6f3b08c48c26c"
170
+ "sha256": "180cd21147fcd8158d640d769d9b6e435f0fe8761a0c41a03b711582dfb9c64c"
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 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 paragraphs and clauses while retaining Han text and standalone technical expressions; explicit sourceCellContents remains available for exact selections.',
360
+ description: 'Atomically replace a contiguous data-row range 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. It maps complete source columns into the target grid and copies every source paragraph. Prepare any semantic content changes with separate published text or object operations before this structural replacement.',
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),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiwater/office-mcp",
3
- "version": "0.18.14",
3
+ "version": "0.18.15",
4
4
  "description": "Published MCP server for Tiwater Office document capabilities",
5
5
  "type": "module",
6
6
  "license": "MIT",