@tiwater/office-mcp 0.18.0 → 0.18.2

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.
@@ -79,7 +79,7 @@
79
79
  "repeat": {
80
80
  "type": "integer",
81
81
  "minimum": 1,
82
- "maximum": 1000
82
+ "maximum": 2147483647
83
83
  }
84
84
  },
85
85
  "required": [
@@ -53,7 +53,7 @@
53
53
  "default": 50,
54
54
  "type": "integer",
55
55
  "minimum": 1,
56
- "maximum": 100
56
+ "maximum": 2147483647
57
57
  },
58
58
  "offset": {
59
59
  "default": 0,
@@ -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.0"
5
+ "version": "0.18.2"
6
6
  },
7
7
  "tools": [
8
8
  {
@@ -53,11 +53,11 @@
53
53
  "name": "docx_copy_object",
54
54
  "providerContract": {
55
55
  "source": "packages/docx-cli/contracts/mcp-input/docx_copy_object.schema.json",
56
- "sha256": "03bbda134699a76193054a18ca72199d4e74ebd6437a94bb6512a68597dcb0df"
56
+ "sha256": "5c76b96e7a56f10a2e2c14e5d40dfe40e44dc6b21c2265bbf54c06953703ac12"
57
57
  },
58
58
  "inputContract": {
59
59
  "path": "office/contracts/docx_copy_object.schema.json",
60
- "sha256": "03bbda134699a76193054a18ca72199d4e74ebd6437a94bb6512a68597dcb0df"
60
+ "sha256": "5c76b96e7a56f10a2e2c14e5d40dfe40e44dc6b21c2265bbf54c06953703ac12"
61
61
  }
62
62
  },
63
63
  {
@@ -97,11 +97,11 @@
97
97
  "name": "docx_list_objects",
98
98
  "providerContract": {
99
99
  "source": "packages/docx-cli/contracts/mcp-input/docx_list_objects.schema.json",
100
- "sha256": "2709c5e81ce6a421d12b8ae5752b9251c7e379c0dc5fb5872b658466172a1c2f"
100
+ "sha256": "37b32320e04584f837d36a5c90c726434ab875cdbf0840d2cd62dd98e93ae882"
101
101
  },
102
102
  "inputContract": {
103
103
  "path": "office/contracts/docx_list_objects.schema.json",
104
- "sha256": "2709c5e81ce6a421d12b8ae5752b9251c7e379c0dc5fb5872b658466172a1c2f"
104
+ "sha256": "37b32320e04584f837d36a5c90c726434ab875cdbf0840d2cd62dd98e93ae882"
105
105
  }
106
106
  },
107
107
  {
package/office/index.mjs CHANGED
@@ -239,7 +239,7 @@ const tools = [
239
239
  },
240
240
  {
241
241
  name: 'docx_read_object',
242
- description: 'Read selected rows, cells, or paragraphs from one native DOCX in one call and return them in address order. Pass the document path once and only the OpenXML addresses needed for the current target. For exact inline content, use an observed cell or paragraph address and request run or text.',
242
+ description: 'Read selected tables, rows, cells, or paragraphs from one native DOCX in one call and return them in address order. Pass the document path once and only the OpenXML addresses needed for the current target. For exact inline content, use an observed cell or paragraph address and request run or text.',
243
243
  inputSchema: inputContract('docx_read_object'),
244
244
  outputSchema: docxReadObjectOutput,
245
245
  annotations: { readOnlyHint: true, idempotentHint: true },
@@ -569,9 +569,6 @@ async function docxReadObject(args) {
569
569
  const { output: _output, ...request } = args;
570
570
  return withTempJsonFile(request, async requestPath => {
571
571
  const result = await runJsonCandidateChain(docxCandidates, ['docx_read_object', requestPath]);
572
- if (result.json?.observations?.some(observation => observation?.object?.kind === 'table')) {
573
- throw new Error('docx-table-read-requires-paged-row-selection');
574
- }
575
572
  return {
576
573
  tool: 'docx_read_object',
577
574
  runtime: commandRuntime(result),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiwater/office-mcp",
3
- "version": "0.18.0",
3
+ "version": "0.18.2",
4
4
  "description": "Published MCP server for Tiwater Office document capabilities",
5
5
  "type": "module",
6
6
  "license": "MIT",