@tiwater/office-mcp 0.21.49 → 0.21.51
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.
- package/office/contracts/docx_set_table.schema.json +19 -3
- package/office/contracts/tiwater-office-provider-contract-manifest-v1.json +3 -3
- package/package.json +1 -1
- package/pdf/contracts/tiwater-pdf-provider-contract-manifest-v1.json +1 -1
- package/text/contracts/tiwater-text-provider-contract-manifest-v1.json +1 -1
|
@@ -59,12 +59,28 @@
|
|
|
59
59
|
}, "required": ["part", "path"], "additionalProperties": false
|
|
60
60
|
},
|
|
61
61
|
"cells": {
|
|
62
|
-
"type": "array", "minItems":
|
|
62
|
+
"type": "array", "minItems": 0,
|
|
63
63
|
"items": {
|
|
64
64
|
"type": "object", "properties": {
|
|
65
65
|
"columns": { "type": "array", "minItems": 1, "description": "One or more contiguous request-local column IDs occupied by this cell.", "items": { "type": "string", "minLength": 1, "maxLength": 80 } },
|
|
66
66
|
"rowSpan": { "type": "integer", "minimum": 1, "maximum": 2147483647 },
|
|
67
|
-
"text": { "anyOf": [{ "type": "string" }, { "type": "null" }], "description": "
|
|
67
|
+
"text": { "anyOf": [{ "type": "string" }, { "type": "null" }], "description": "Use a string for derived plain text. Omit for textRuns. Existing native-source requests may retain the null content-mode marker." },
|
|
68
|
+
"textRuns": {
|
|
69
|
+
"type": "array", "minItems": 1,
|
|
70
|
+
"description": "Exact ordered derived text runs. Each run inherits unrelated formatting from the prototype cell while color and underline are set exactly from this request.",
|
|
71
|
+
"items": {
|
|
72
|
+
"type": "object", "properties": {
|
|
73
|
+
"text": { "type": "string", "minLength": 1 },
|
|
74
|
+
"color": { "anyOf": [{ "type": "string", "pattern": "^(?:[0-9A-Fa-f]{6}|[Ff]{2}[0-9A-Fa-f]{6})$" }, { "type": "null" }] },
|
|
75
|
+
"underline": { "anyOf": [
|
|
76
|
+
{ "type": "string", "const": "single" },
|
|
77
|
+
{ "type": "string", "const": "double" },
|
|
78
|
+
{ "type": "boolean", "const": false },
|
|
79
|
+
{ "type": "null", "const": null }
|
|
80
|
+
] }
|
|
81
|
+
}, "required": ["text"], "additionalProperties": false
|
|
82
|
+
}
|
|
83
|
+
},
|
|
68
84
|
"sourceInput": { "type": "string", "minLength": 1, "description": "Current source DOCX containing sourceSelections. Omit when text is used.", "x-tiwater-file-role": "read" },
|
|
69
85
|
"sourceSelections": {
|
|
70
86
|
"type": "array", "minItems": 1,
|
|
@@ -86,7 +102,7 @@
|
|
|
86
102
|
}, "required": ["address"], "additionalProperties": false
|
|
87
103
|
}
|
|
88
104
|
}
|
|
89
|
-
}, "required": ["columns"
|
|
105
|
+
}, "required": ["columns"], "additionalProperties": false
|
|
90
106
|
}
|
|
91
107
|
},
|
|
92
108
|
"cantSplit": { "type": "boolean" }
|
|
@@ -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.
|
|
5
|
+
"version": "0.21.51"
|
|
6
6
|
},
|
|
7
7
|
"tools": [
|
|
8
8
|
{
|
|
@@ -218,11 +218,11 @@
|
|
|
218
218
|
"name": "docx_set_table",
|
|
219
219
|
"providerContract": {
|
|
220
220
|
"source": "packages/docx-cli/contracts/mcp-input/docx_set_table.schema.json",
|
|
221
|
-
"sha256": "
|
|
221
|
+
"sha256": "856409e7e2245959ee71e41b8ef91cf406fb0b15d4105eacc258c4ddb1fe66cc"
|
|
222
222
|
},
|
|
223
223
|
"inputContract": {
|
|
224
224
|
"path": "office/contracts/docx_set_table.schema.json",
|
|
225
|
-
"sha256": "
|
|
225
|
+
"sha256": "856409e7e2245959ee71e41b8ef91cf406fb0b15d4105eacc258c4ddb1fe66cc"
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
228
|
{
|
package/package.json
CHANGED