@tiwater/office-mcp 0.16.4 → 0.16.6
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.
|
@@ -53,11 +53,13 @@
|
|
|
53
53
|
},
|
|
54
54
|
"targetParentRef": {
|
|
55
55
|
"type": "string",
|
|
56
|
-
"pattern": "^dox1_[0-9a-f]{64}$"
|
|
56
|
+
"pattern": "^dox1_[0-9a-f]{64}$",
|
|
57
|
+
"description": "Revision-bound parent ref returned as parentRef on its direct children."
|
|
57
58
|
},
|
|
58
59
|
"beforeRef": {
|
|
59
60
|
"type": "string",
|
|
60
|
-
"pattern": "^dox1_[0-9a-f]{64}$"
|
|
61
|
+
"pattern": "^dox1_[0-9a-f]{64}$",
|
|
62
|
+
"description": "Optional direct child whose returned parentRef equals targetParentRef."
|
|
61
63
|
},
|
|
62
64
|
"repeat": {
|
|
63
65
|
"type": "integer",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"x-tiwater-file-role": "read"
|
|
9
9
|
},
|
|
10
10
|
"kind": {
|
|
11
|
-
"description": "Open XML object kind to list.
|
|
11
|
+
"description": "Open XML object kind to list. Returned parentRef is the valid targetParentRef for inserting beside that object.",
|
|
12
12
|
"type": "string",
|
|
13
13
|
"enum": [
|
|
14
14
|
"part",
|
|
@@ -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.16.
|
|
5
|
+
"version": "0.16.6"
|
|
6
6
|
},
|
|
7
7
|
"tools": [
|
|
8
8
|
{
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"name": "docx_copy_object",
|
|
32
32
|
"providerContract": {
|
|
33
33
|
"source": "packages/docx-cli/contracts/mcp-input/docx_copy_object.schema.json",
|
|
34
|
-
"sha256": "
|
|
34
|
+
"sha256": "5f0bfc826d68f451055aba20390686e0e0df2182797fc36ff285f42d09084104"
|
|
35
35
|
},
|
|
36
36
|
"inputContract": {
|
|
37
37
|
"path": "office/contracts/docx_copy_object.schema.json",
|
|
38
|
-
"sha256": "
|
|
38
|
+
"sha256": "5f0bfc826d68f451055aba20390686e0e0df2182797fc36ff285f42d09084104"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
{
|
|
@@ -97,11 +97,11 @@
|
|
|
97
97
|
"name": "docx_list_objects",
|
|
98
98
|
"providerContract": {
|
|
99
99
|
"source": "packages/docx-cli/contracts/mcp-input/docx_list_objects.schema.json",
|
|
100
|
-
"sha256": "
|
|
100
|
+
"sha256": "d8894a1b453fc780c1d2b355f34de27759a055ef6859333796665ac6439dd464"
|
|
101
101
|
},
|
|
102
102
|
"inputContract": {
|
|
103
103
|
"path": "office/contracts/docx_list_objects.schema.json",
|
|
104
|
-
"sha256": "
|
|
104
|
+
"sha256": "d8894a1b453fc780c1d2b355f34de27759a055ef6859333796665ac6439dd464"
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
{
|
package/office/index.mjs
CHANGED
|
@@ -176,14 +176,14 @@ const tools = [
|
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
name: 'docx_copy_content',
|
|
179
|
-
description: '
|
|
179
|
+
description: 'Create a new output by copying targetDocument and applying one or more content changes to selected target cells, retaining target cell formatting and source inline meaning.',
|
|
180
180
|
inputSchema: inputContract('docx_copy_content'),
|
|
181
181
|
outputSchema: fixedEditOutput('docx_copy_content'),
|
|
182
182
|
handler: args => fixedEdit('docx_copy_content', args),
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
name: 'docx_copy_object',
|
|
186
|
-
description: '
|
|
186
|
+
description: 'Create a new output by copying targetDocument and applying one or more selected-object insertions under selected target parent objects.',
|
|
187
187
|
inputSchema: inputContract('docx_copy_object'),
|
|
188
188
|
outputSchema: fixedEditOutput('docx_copy_object'),
|
|
189
189
|
handler: args => fixedEdit('docx_copy_object', args),
|