@tiwater/office-mcp 0.21.7 → 0.21.9

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.
@@ -98,7 +98,7 @@
98
98
  "verticalMerge": {
99
99
  "type": "string",
100
100
  "enum": ["restart", "continue"],
101
- "description": "Native OpenXML vertical merge state. A restart cell owns the text; the same columns in the next physical row use continue with empty text. Omit for an unmerged cell."
101
+ "description": "Native OpenXML vertical merge state. A restart cell owns the text; the same columns in the next physical row use continue. A continue cell may repeat the restart text as its logical value or use empty text; it is written physically empty. Omit for an unmerged cell."
102
102
  }
103
103
  },
104
104
  "required": ["columns", "text"],
@@ -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.21.7"
5
+ "version": "0.21.9"
6
6
  },
7
7
  "tools": [
8
8
  {
@@ -185,11 +185,11 @@
185
185
  "name": "docx_set_table_body",
186
186
  "providerContract": {
187
187
  "source": "packages/docx-cli/contracts/mcp-input/docx_set_table_body.schema.json",
188
- "sha256": "e1f6c96d71dc42904fb1d0c8b049c1398e1155d76db481b58064cede9e30fad6"
188
+ "sha256": "10ece7fbf7116c55b7c29e3657d6350895389e92543f08c34dc15af97b444ceb"
189
189
  },
190
190
  "inputContract": {
191
191
  "path": "office/contracts/docx_set_table_body.schema.json",
192
- "sha256": "e1f6c96d71dc42904fb1d0c8b049c1398e1155d76db481b58064cede9e30fad6"
192
+ "sha256": "10ece7fbf7116c55b7c29e3657d6350895389e92543f08c34dc15af97b444ceb"
193
193
  }
194
194
  },
195
195
  {
package/office/index.mjs CHANGED
@@ -424,7 +424,7 @@ const tools = [
424
424
  },
425
425
  {
426
426
  name: 'docx_set_table_body',
427
- description: 'Atomically replace one exact current target-table row range with final physical text rows while retaining the table, target styles, grid widths, and all rows and surrounding content outside the range. Name every target grid column in native order, choose one current row as the style prototype for each final row, and cover every row completely with explicit cells. Horizontal spans use contiguous column IDs. Native vertical merges use a restart cell followed by continue cells on the same columns; continue cells have empty physical text. An empty final row array removes the range when another table row remains. The provider commits once and returns structural readback. It does not read a source table, map source to target, derive text, choose business columns, identify headers, or accept non-text cell content.',
427
+ description: 'Atomically replace one exact current target-table row range while retaining the table, target styles, grid widths, and all rows and surrounding content outside the range. Name every target grid column in native order, choose one current row as the style prototype for each final row, and cover every row completely with explicit cells. Horizontal spans use contiguous column IDs. Native vertical merges use a restart cell followed by continue cells on the same columns; a continue cell may repeat its restart text as a logical value or use empty text, and is written physically empty. An empty final row array removes the range when another table row remains. The provider commits once and returns structural readback. It does not read a source table, map source to target, derive text, choose business columns, identify headers, or accept non-text cell content.',
428
428
  inputSchema: inputContract('docx_set_table_body'),
429
429
  outputSchema: fixedEditOutput('docx_set_table_body'),
430
430
  handler: args => fixedEdit('docx_set_table_body', args),
@@ -640,7 +640,7 @@ function buildServer() {
640
640
  const server = new McpServer(
641
641
  { name: 'tiwater-office', version: packageMetadata.version },
642
642
  {
643
- instructions: 'Use these tools only for generic Office observation, conversion, editing, validation, and native rendering. Callers own all selected objects, values, and business decisions. A read-only output path is an immutable artifact identity: an identical request may replay it; every different request uses a different path.',
643
+ instructions: 'Use these tools only for generic Office observation, conversion, editing, validation, and native rendering. Callers own all selected objects, values, and business decisions. A read-only output path is an immutable artifact identity: an identical request may replay it; every different request uses a different path. Every mutation receiptOutput is a new immutable receipt identity for that exact call and must use a path that has never been used, including when the same document object is updated again.',
644
644
  },
645
645
  );
646
646
  for (const tool of tools) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiwater/office-mcp",
3
- "version": "0.21.7",
3
+ "version": "0.21.9",
4
4
  "description": "Published MCP server for Tiwater Office document capabilities",
5
5
  "type": "module",
6
6
  "license": "MIT",