@tiwater/office-mcp 0.12.0 → 0.13.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiwater/office-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Published MCP server for Tiwater Office document capabilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"office/contracts/*.schema.json"
|
|
23
23
|
],
|
|
24
24
|
"scripts": {
|
|
25
|
-
"test": "node --test office/*.test.mjs"
|
|
25
|
+
"test": "node --test office/*.test.mjs pdf/*.test.mjs"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "tiwater.office.pptx-format-apply-receipt/v1",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"additionalProperties": false,
|
|
6
|
-
"required": ["schema", "pass", "input", "operations", "output", "providerResult"],
|
|
7
|
-
"properties": {
|
|
8
|
-
"schema": { "const": "tiwater.office.pptx-format-apply-receipt/v1" },
|
|
9
|
-
"pass": { "type": "boolean" },
|
|
10
|
-
"input": { "$ref": "#/$defs/artifact" },
|
|
11
|
-
"operations": { "$ref": "#/$defs/artifact" },
|
|
12
|
-
"output": { "oneOf": [{ "$ref": "#/$defs/artifact" }, { "type": "null" }] },
|
|
13
|
-
"providerResult": {
|
|
14
|
-
"type": "object",
|
|
15
|
-
"additionalProperties": false,
|
|
16
|
-
"required": ["input", "output", "operationCount", "changedCount", "changes", "issues"],
|
|
17
|
-
"properties": {
|
|
18
|
-
"input": { "type": "string", "minLength": 1 },
|
|
19
|
-
"output": { "type": "string", "minLength": 1 },
|
|
20
|
-
"operationCount": { "type": "integer", "minimum": 0 },
|
|
21
|
-
"changedCount": { "type": "integer", "minimum": 0 },
|
|
22
|
-
"changes": { "type": "array", "items": { "$ref": "#/$defs/change" } },
|
|
23
|
-
"issues": { "type": "array", "items": { "$ref": "#/$defs/issue" } }
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"$defs": {
|
|
28
|
-
"artifact": {
|
|
29
|
-
"type": "object",
|
|
30
|
-
"additionalProperties": false,
|
|
31
|
-
"required": ["path", "sha256", "bytes"],
|
|
32
|
-
"properties": {
|
|
33
|
-
"path": { "type": "string", "minLength": 1 },
|
|
34
|
-
"sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
|
|
35
|
-
"bytes": { "type": "integer", "minimum": 0 }
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"change": {
|
|
39
|
-
"type": "object",
|
|
40
|
-
"additionalProperties": false,
|
|
41
|
-
"required": ["slideNumber", "shapeId", "runIndex", "properties"],
|
|
42
|
-
"properties": {
|
|
43
|
-
"slideNumber": { "type": "integer", "minimum": 1 },
|
|
44
|
-
"shapeId": { "type": "integer", "minimum": 0, "maximum": 4294967295 },
|
|
45
|
-
"runIndex": { "type": "integer", "minimum": 0 },
|
|
46
|
-
"properties": { "type": "array", "items": { "type": "string" } }
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"issue": {
|
|
50
|
-
"type": "object",
|
|
51
|
-
"additionalProperties": false,
|
|
52
|
-
"required": ["slideNumber", "shapeId", "runIndex", "message"],
|
|
53
|
-
"properties": {
|
|
54
|
-
"slideNumber": { "type": "integer", "minimum": 1 },
|
|
55
|
-
"shapeId": { "type": "integer", "minimum": 0, "maximum": 4294967295 },
|
|
56
|
-
"runIndex": { "type": "integer", "minimum": 0 },
|
|
57
|
-
"message": { "type": "string" }
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "tiwater.office.pptx-template-apply-receipt/v1",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"additionalProperties": false,
|
|
6
|
-
"required": ["schema", "pass", "input", "template", "plan", "output", "providerResult"],
|
|
7
|
-
"properties": {
|
|
8
|
-
"schema": { "const": "tiwater.office.pptx-template-apply-receipt/v1" },
|
|
9
|
-
"pass": { "type": "boolean" },
|
|
10
|
-
"input": { "$ref": "#/$defs/artifact" },
|
|
11
|
-
"template": { "$ref": "#/$defs/artifact" },
|
|
12
|
-
"plan": { "$ref": "#/$defs/artifact" },
|
|
13
|
-
"output": { "oneOf": [{ "$ref": "#/$defs/artifact" }, { "type": "null" }] },
|
|
14
|
-
"providerResult": {
|
|
15
|
-
"type": "object",
|
|
16
|
-
"additionalProperties": false,
|
|
17
|
-
"required": ["input", "template", "output", "changedSlideCount", "issues", "materializedLayoutShapes", "frozenPlaceholderCount", "removedSystemPlaceholders"],
|
|
18
|
-
"properties": {
|
|
19
|
-
"input": { "type": "string", "minLength": 1 },
|
|
20
|
-
"template": { "type": "string", "minLength": 1 },
|
|
21
|
-
"output": { "type": "string", "minLength": 1 },
|
|
22
|
-
"changedSlideCount": { "type": "integer", "minimum": 0 },
|
|
23
|
-
"issues": { "type": "array", "items": { "$ref": "#/$defs/issue" } },
|
|
24
|
-
"materializedLayoutShapes": { "type": "array", "items": { "$ref": "#/$defs/materializedShape" } },
|
|
25
|
-
"frozenPlaceholderCount": { "type": "integer", "minimum": 0 },
|
|
26
|
-
"removedSystemPlaceholders": { "type": "array", "items": { "$ref": "#/$defs/removedPlaceholder" } }
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"$defs": {
|
|
31
|
-
"artifact": {
|
|
32
|
-
"type": "object",
|
|
33
|
-
"additionalProperties": false,
|
|
34
|
-
"required": ["path", "sha256", "bytes"],
|
|
35
|
-
"properties": {
|
|
36
|
-
"path": { "type": "string", "minLength": 1 },
|
|
37
|
-
"sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
|
|
38
|
-
"bytes": { "type": "integer", "minimum": 0 }
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"issue": {
|
|
42
|
-
"type": "object",
|
|
43
|
-
"additionalProperties": false,
|
|
44
|
-
"required": ["slideNumber", "message"],
|
|
45
|
-
"properties": {
|
|
46
|
-
"slideNumber": { "type": ["integer", "null"], "minimum": 1 },
|
|
47
|
-
"message": { "type": "string" }
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"materializedShape": {
|
|
51
|
-
"type": "object",
|
|
52
|
-
"additionalProperties": false,
|
|
53
|
-
"required": ["slideNumber", "sourceLayoutPath", "sourceShapeId", "outputShapeId"],
|
|
54
|
-
"properties": {
|
|
55
|
-
"slideNumber": { "type": "integer", "minimum": 1 },
|
|
56
|
-
"sourceLayoutPath": { "type": "string", "minLength": 1 },
|
|
57
|
-
"sourceShapeId": { "type": "integer", "minimum": 0, "maximum": 4294967295 },
|
|
58
|
-
"outputShapeId": { "type": "integer", "minimum": 0, "maximum": 4294967295 }
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"removedPlaceholder": {
|
|
62
|
-
"type": "object",
|
|
63
|
-
"additionalProperties": false,
|
|
64
|
-
"required": ["slideNumber", "shapeId", "placeholderType"],
|
|
65
|
-
"properties": {
|
|
66
|
-
"slideNumber": { "type": "integer", "minimum": 1 },
|
|
67
|
-
"shapeId": { "type": "integer", "minimum": 0, "maximum": 4294967295 },
|
|
68
|
-
"placeholderType": { "type": "string", "minLength": 1 }
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|