@tiwater/office-mcp 0.17.12 → 0.17.13
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.
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"targetRef": {
|
|
22
22
|
"type": "string",
|
|
23
23
|
"pattern": "^dox1_[0-9a-f]{64}$",
|
|
24
|
-
"description": "Observed
|
|
24
|
+
"description": "Observed paragraph or cell ref whose whole text content is replaced. Bookmarks and target formatting are preserved; tabs and line breaks are written as native OpenXML text controls. Targets containing fields, drawings, nested tables, controls, links, or other non-text content are rejected."
|
|
25
25
|
},
|
|
26
26
|
"text": { "type": "string" }
|
|
27
27
|
},
|
|
@@ -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.
|
|
5
|
+
"version": "0.17.13"
|
|
6
6
|
},
|
|
7
7
|
"tools": [
|
|
8
8
|
{
|
|
@@ -174,11 +174,11 @@
|
|
|
174
174
|
"name": "docx_set_text",
|
|
175
175
|
"providerContract": {
|
|
176
176
|
"source": "packages/docx-cli/contracts/mcp-input/docx_set_text.schema.json",
|
|
177
|
-
"sha256": "
|
|
177
|
+
"sha256": "f66adf07e6e53599d93ad29420d7a977d869371ef3e0759a128fb2333f8daf08"
|
|
178
178
|
},
|
|
179
179
|
"inputContract": {
|
|
180
180
|
"path": "office/contracts/docx_set_text.schema.json",
|
|
181
|
-
"sha256": "
|
|
181
|
+
"sha256": "f66adf07e6e53599d93ad29420d7a977d869371ef3e0759a128fb2333f8daf08"
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
184
|
{
|
package/office/index.mjs
CHANGED
|
@@ -280,7 +280,7 @@ const tools = [
|
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
name: 'docx_set_text',
|
|
283
|
-
description: 'Replace the whole text content of observed
|
|
283
|
+
description: 'Replace the whole text content of observed paragraph or cell objects while retaining target formatting and bookmarks. Tabs and line breaks remain native document text controls; targets containing non-text objects are rejected. This sets already-derived text; it does not insert objects, copy source formatting, or decide business wording.',
|
|
284
284
|
inputSchema: inputContract('docx_set_text'),
|
|
285
285
|
outputSchema: fixedEditOutput('docx_set_text'),
|
|
286
286
|
handler: args => fixedEdit('docx_set_text', args),
|