@tiwater/office-mcp 0.16.19 → 0.16.20

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.
@@ -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.16.19"
5
+ "version": "0.16.20"
6
6
  },
7
7
  "tools": [
8
8
  {
package/office/index.mjs CHANGED
@@ -200,7 +200,7 @@ const tools = [
200
200
  },
201
201
  {
202
202
  name: 'docx_read_object',
203
- description: 'Read one selected native DOCX object as an ordered native hierarchy written to the requested output artifact. The tool response only identifies that artifact and the selected root object; read the artifact for descendant refs and content. For a table, request row and cell kinds once; each row contains its ordered cells with text, grid span, and vertical merge state. Also request paragraph when paragraph boundaries determine what a later copy operation must retain.',
203
+ description: 'Read one selected native DOCX object as an ordered native hierarchy written to the requested output artifact. The tool response only identifies that artifact and the selected root object; read the artifact for descendant refs and content. For a table, request row and cell once. Add paragraph for whole-paragraph choices; add run and text for exact content selections.',
204
204
  inputSchema: inputContract('docx_read_object'),
205
205
  outputSchema: docxReadObjectOutput,
206
206
  annotations: { readOnlyHint: true, idempotentHint: true },
@@ -208,14 +208,14 @@ const tools = [
208
208
  },
209
209
  {
210
210
  name: 'docx_copy_content',
211
- description: 'Replace content in existing target cells while retaining target cell formatting and source inline meaning. Use this directly or after docx_copy_table_rows when a target cell needs an exact observed subset of source content. A source selection copies a whole object by ref, or an exact substring when range is attached to a run or text ref.',
211
+ description: 'Replace content in existing target cells while retaining target cell formatting and source inline meaning. Batch cells that need exact observed subsets after docx_copy_table_rows. A selection copies a whole object by ref, or an exact substring when range is attached to a run or text ref.',
212
212
  inputSchema: inputContract('docx_copy_content'),
213
213
  outputSchema: fixedEditOutput('docx_copy_content'),
214
214
  handler: args => fixedEdit('docx_copy_content', args),
215
215
  },
216
216
  {
217
217
  name: 'docx_copy_table_rows',
218
- description: 'Populate existing target tables by replacing selected data-row ranges with selected source rows. Use this whenever the target table already exists; explicit header-cell mappings preserve target presentation and native source grouping even when source and target grid spans differ. Each column must explicitly copy all source-cell paragraphs or only the first; inspect paragraph children before choosing.',
218
+ description: 'Populate existing target tables by replacing selected data-row ranges with selected source rows. Explicit header-cell mappings preserve target presentation and source grouping. A column content mode applies to every copied cell in that column; when cells need different subsets, copy the row structure first and batch those cells with docx_copy_content.',
219
219
  inputSchema: inputContract('docx_copy_table_rows'),
220
220
  outputSchema: fixedEditOutput('docx_copy_table_rows'),
221
221
  handler: args => fixedEdit('docx_copy_table_rows', args),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiwater/office-mcp",
3
- "version": "0.16.19",
3
+ "version": "0.16.20",
4
4
  "description": "Published MCP server for Tiwater Office document capabilities",
5
5
  "type": "module",
6
6
  "license": "MIT",