@tiwater/office-mcp 0.17.27 → 0.17.29

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.17.27"
5
+ "version": "0.17.29"
6
6
  },
7
7
  "tools": [
8
8
  {
package/office/index.mjs CHANGED
@@ -173,13 +173,6 @@ function docxInspectionOutput(tool) {
173
173
  revision: docxRevision,
174
174
  summary: z.object({
175
175
  tableCount: z.number().int().nonnegative(),
176
- tables: z.array(z.object({
177
- ref: z.string().regex(/^dox1_[0-9a-f]{64}$/),
178
- parentRef: z.string().regex(/^dox1_[0-9a-f]{64}$/).nullable(),
179
- rowCount: z.number().int().nonnegative(),
180
- columnCount: z.number().int().nonnegative(),
181
- textPreview: z.string().max(240),
182
- }).strict()),
183
176
  openingParagraphs: z.array(z.object({
184
177
  ref: z.string().regex(/^dox1_[0-9a-f]{64}$/),
185
178
  textPreview: z.string().min(1).max(240),
@@ -248,7 +241,7 @@ const docxReadObjectOutput = artifactOutput('docx_read_object').extend({
248
241
  const tools = [
249
242
  {
250
243
  name: 'docx_inspect',
251
- description: 'Inspect one current DOCX. The response returns its revision, every table identity with shape and short text preview, and up to six opening non-empty body paragraphs. Reuse those native refs directly; use docx_find_literal only for text not exposed here and docx_list_objects only for container children. The complete inspection remains in the evidence artifact.',
244
+ description: 'Inspect one current DOCX and retain its complete machine observation at output. The response returns the current revision, observation artifact, table count, and up to six opening non-empty body paragraphs for document identity. Use bounded list, find, and read operations for selected document objects.',
252
245
  inputSchema: inputContract('docx_inspect'),
253
246
  outputSchema: docxInspectionOutput('docx_inspect'),
254
247
  annotations: { readOnlyHint: true, idempotentHint: true },
@@ -528,13 +521,6 @@ function compactDocxInspection(report) {
528
521
  revision: report.tables.revision,
529
522
  summary: {
530
523
  tableCount: report.tables.tables.length,
531
- tables: report.tables.tables.map(table => ({
532
- ref: table.ref,
533
- parentRef: table.parentRef,
534
- rowCount: table.rowCount,
535
- columnCount: table.columnCount,
536
- textPreview: String(table.textPreview ?? '').trim().replace(/\s+/gu, ' ').slice(0, 240),
537
- })),
538
524
  openingParagraphs,
539
525
  },
540
526
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiwater/office-mcp",
3
- "version": "0.17.27",
3
+ "version": "0.17.29",
4
4
  "description": "Published MCP server for Tiwater Office document capabilities",
5
5
  "type": "module",
6
6
  "license": "MIT",