@tiwater/office-mcp 0.15.7 → 0.15.8

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.
@@ -10,7 +10,7 @@
10
10
  "output": {
11
11
  "type": "string",
12
12
  "minLength": 1,
13
- "description": "New JSON artifact path. Existing files are never overwritten.",
13
+ "description": "Absolute path for a new JSON artifact inside the caller-authorized output directory. Existing files are never overwritten.",
14
14
  "x-tiwater-file-role": "write"
15
15
  }
16
16
  },
@@ -10,7 +10,7 @@
10
10
  "output": {
11
11
  "type": "string",
12
12
  "minLength": 1,
13
- "description": "New JSON artifact path. Existing files are never overwritten.",
13
+ "description": "Absolute path for a new JSON artifact inside the caller-authorized output directory. Existing files are never overwritten.",
14
14
  "x-tiwater-file-role": "write"
15
15
  }
16
16
  },
@@ -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.15.7"
5
+ "version": "0.15.8"
6
6
  },
7
7
  "tools": [
8
8
  {
@@ -130,11 +130,11 @@
130
130
  "name": "docx_export_json",
131
131
  "providerContract": {
132
132
  "source": "packages/docx-cli/contracts/mcp-input/docx_export_json.schema.json",
133
- "sha256": "f14160d7cff99949dd3e14d60a2d532b31f520bfa72327de972c29c15b9817aa"
133
+ "sha256": "ecf528f83a28f2709efb12182dba18f5f4baf065e8442c76ab568ad01465603d"
134
134
  },
135
135
  "inputContract": {
136
136
  "path": "office/contracts/docx_export_json.schema.json",
137
- "sha256": "f14160d7cff99949dd3e14d60a2d532b31f520bfa72327de972c29c15b9817aa"
137
+ "sha256": "ecf528f83a28f2709efb12182dba18f5f4baf065e8442c76ab568ad01465603d"
138
138
  }
139
139
  },
140
140
  {
@@ -207,11 +207,11 @@
207
207
  "name": "docx_inspect",
208
208
  "providerContract": {
209
209
  "source": "packages/docx-cli/contracts/mcp-input/docx_inspect.schema.json",
210
- "sha256": "f14160d7cff99949dd3e14d60a2d532b31f520bfa72327de972c29c15b9817aa"
210
+ "sha256": "ecf528f83a28f2709efb12182dba18f5f4baf065e8442c76ab568ad01465603d"
211
211
  },
212
212
  "inputContract": {
213
213
  "path": "office/contracts/docx_inspect.schema.json",
214
- "sha256": "f14160d7cff99949dd3e14d60a2d532b31f520bfa72327de972c29c15b9817aa"
214
+ "sha256": "ecf528f83a28f2709efb12182dba18f5f4baf065e8442c76ab568ad01465603d"
215
215
  }
216
216
  },
217
217
  {
package/office/index.mjs CHANGED
@@ -191,7 +191,7 @@ function artifactOutput(tool) {
191
191
  const tools = [
192
192
  {
193
193
  name: 'docx_inspect',
194
- description: 'Inspect a DOCX document and write one unified JSON observation containing placeholders, comments, anchors, tables, fields, flow, fonts, and formatting metrics.',
194
+ description: 'Write the default single full-document DOCX observation containing body content, structure, placeholders, comments, anchors, tables, fields, flow, fonts, and formatting metrics. Do not also call docx_export_json for the same observation.',
195
195
  inputSchema: inputContract('docx_inspect'),
196
196
  outputSchema: artifactOutput('docx_inspect'),
197
197
  handler: docxInspect,
@@ -241,7 +241,7 @@ const tools = [
241
241
  },
242
242
  {
243
243
  name: 'docx_export_json',
244
- description: 'Export DOCX body content to a new JSON artifact without returning the full document through MCP.',
244
+ description: 'Write a body-only DOCX JSON projection only when a downstream consumer explicitly requires that format. It is not a companion to docx_inspect and does not replace bounded list/find/read object selection.',
245
245
  inputSchema: inputContract('docx_export_json'),
246
246
  outputSchema: artifactOutput('docx_export_json'),
247
247
  handler: docxExportJson,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiwater/office-mcp",
3
- "version": "0.15.7",
3
+ "version": "0.15.8",
4
4
  "description": "Published MCP server for Tiwater Office document capabilities",
5
5
  "type": "module",
6
6
  "license": "MIT",