@tiwater/office-mcp 0.21.16 → 0.21.17

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.
@@ -100,18 +100,23 @@
100
100
  "columnMappings": {
101
101
  "type": "array",
102
102
  "minItems": 1,
103
- "description": "Complete source-to-target grid-column mapping. Target columns that belong to one prototype cell remain one cell. When the selected target columns cover multiple prototype cells, those cells receive the source column's logical values in source-row order and unused trailing cells stay blank.",
103
+ "description": "Complete source-to-target grid-column projection. Multiple adjacent source columns may compose one target cell. One source column may spread its logical values across several prototype cells. Composition and spreading cannot occur in the same mapping. Target columns that belong to one prototype cell remain one cell, and unused trailing spread cells stay blank.",
104
104
  "items": {
105
105
  "type": "object",
106
106
  "properties": {
107
- "sourceColumn": {
108
- "type": "object",
109
- "properties": {
110
- "part": { "type": "string", "minLength": 1, "pattern": "^\\/" },
111
- "path": { "type": "string", "pattern": "^\\/[A-Za-z_][A-Za-z0-9_.-]*:[A-Za-z_][A-Za-z0-9_.-]*\\[[1-9][0-9]*\\](?:\\/[A-Za-z_][A-Za-z0-9_.-]*:[A-Za-z_][A-Za-z0-9_.-]*\\[[1-9][0-9]*\\])*$" }
112
- },
113
- "required": ["part", "path"],
114
- "additionalProperties": false
107
+ "sourceColumns": {
108
+ "type": "array",
109
+ "minItems": 1,
110
+ "description": "One or more contiguous source grid columns in native order. Multiple columns compose one target cell; a source cell spanning several selected columns contributes once.",
111
+ "items": {
112
+ "type": "object",
113
+ "properties": {
114
+ "part": { "type": "string", "minLength": 1, "pattern": "^\\/" },
115
+ "path": { "type": "string", "pattern": "^\\/[A-Za-z_][A-Za-z0-9_.-]*:[A-Za-z_][A-Za-z0-9_.-]*\\[[1-9][0-9]*\\](?:\\/[A-Za-z_][A-Za-z0-9_.-]*:[A-Za-z_][A-Za-z0-9_.-]*\\[[1-9][0-9]*\\])*$" }
116
+ },
117
+ "required": ["part", "path"],
118
+ "additionalProperties": false
119
+ }
115
120
  },
116
121
  "targetColumns": {
117
122
  "type": "array",
@@ -125,9 +130,13 @@
125
130
  "required": ["part", "path"],
126
131
  "additionalProperties": false
127
132
  }
133
+ },
134
+ "joinWith": {
135
+ "type": "string",
136
+ "description": "Separator used when sourceColumns compose one target cell. Defaults to a newline. It does not apply when one source column spreads across multiple target cells."
128
137
  }
129
138
  },
130
- "required": ["sourceColumn", "targetColumns"],
139
+ "required": ["sourceColumns", "targetColumns"],
131
140
  "additionalProperties": false
132
141
  }
133
142
  },
@@ -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.16"
5
+ "version": "0.21.17"
6
6
  },
7
7
  "tools": [
8
8
  {
@@ -86,11 +86,11 @@
86
86
  "name": "docx_fill_table_from_table",
87
87
  "providerContract": {
88
88
  "source": "packages/docx-cli/contracts/mcp-input/docx_fill_table_from_table.schema.json",
89
- "sha256": "03a5afe6443899e3daae8825070a341254c0bd23ae4505a8c6119f524fd61a9b"
89
+ "sha256": "473b4e8ac319c0edcf481fa8c2167ea9b1c340995311ca662e34f493772a0de4"
90
90
  },
91
91
  "inputContract": {
92
92
  "path": "office/contracts/docx_fill_table_from_table.schema.json",
93
- "sha256": "03a5afe6443899e3daae8825070a341254c0bd23ae4505a8c6119f524fd61a9b"
93
+ "sha256": "473b4e8ac319c0edcf481fa8c2167ea9b1c340995311ca662e34f493772a0de4"
94
94
  }
95
95
  },
96
96
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiwater/office-mcp",
3
- "version": "0.21.16",
3
+ "version": "0.21.17",
4
4
  "description": "Published MCP server for Tiwater Office document capabilities",
5
5
  "type": "module",
6
6
  "license": "MIT",