@tiwater/office-mcp 0.17.10 → 0.17.11

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.
@@ -57,14 +57,9 @@
57
57
  "type": "object",
58
58
  "properties": {
59
59
  "sourceHeaderRef": { "type": "string", "pattern": "^dox1_[0-9a-f]{64}$" },
60
- "targetHeaderRef": { "type": "string", "pattern": "^dox1_[0-9a-f]{64}$" },
61
- "content": {
62
- "type": "string",
63
- "enum": ["all-paragraphs", "first-paragraph"],
64
- "description": "Content copied from each mapped source cell. all-paragraphs preserves every source paragraph in order. first-paragraph copies only the first source paragraph. Before choosing first-paragraph, read the selected source table with docx_read_object kinds row, cell, and paragraph to prove later paragraphs are intentionally omitted."
65
- }
60
+ "targetHeaderRef": { "type": "string", "pattern": "^dox1_[0-9a-f]{64}$" }
66
61
  },
67
- "required": ["sourceHeaderRef", "targetHeaderRef", "content"],
62
+ "required": ["sourceHeaderRef", "targetHeaderRef"],
68
63
  "additionalProperties": false
69
64
  }
70
65
  }
@@ -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.17.10"
5
+ "version": "0.17.11"
6
6
  },
7
7
  "tools": [
8
8
  {
@@ -64,11 +64,11 @@
64
64
  "name": "docx_copy_table_rows",
65
65
  "providerContract": {
66
66
  "source": "packages/docx-cli/contracts/mcp-input/docx_copy_table_rows.schema.json",
67
- "sha256": "a246ed7a97fce47ab0cde6f6ad9c97a2936a775d8b390b4ad807c1dff5720fb7"
67
+ "sha256": "15418038e4478aad8a9244d29a2ccf8578df10a3769836db8381a2e58d0f6b4c"
68
68
  },
69
69
  "inputContract": {
70
70
  "path": "office/contracts/docx_copy_table_rows.schema.json",
71
- "sha256": "a246ed7a97fce47ab0cde6f6ad9c97a2936a775d8b390b4ad807c1dff5720fb7"
71
+ "sha256": "15418038e4478aad8a9244d29a2ccf8578df10a3769836db8381a2e58d0f6b4c"
72
72
  }
73
73
  },
74
74
  {
package/office/index.mjs CHANGED
@@ -287,7 +287,7 @@ const tools = [
287
287
  },
288
288
  {
289
289
  name: 'docx_copy_table_rows',
290
- 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.',
290
+ description: 'Populate existing target tables by replacing selected data-row ranges with selected source rows. Explicit header-cell mappings preserve target presentation, source grouping, and every source-cell paragraph. When a target cell needs an exact subset, copy the row structure first and batch those cells with docx_copy_content.',
291
291
  inputSchema: inputContract('docx_copy_table_rows'),
292
292
  outputSchema: fixedEditOutput('docx_copy_table_rows'),
293
293
  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.17.10",
3
+ "version": "0.17.11",
4
4
  "description": "Published MCP server for Tiwater Office document capabilities",
5
5
  "type": "module",
6
6
  "license": "MIT",