document-mcp 4.5.3 → 4.6.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/dist/bin.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +12 -7
package/dist/bin.js
CHANGED
|
@@ -12,7 +12,7 @@ import { existsSync, readFileSync } from "node:fs";
|
|
|
12
12
|
import { basename, join } from "node:path";
|
|
13
13
|
import { buildOutline, isOutlineNode, outlineLeafText } from "document-outline.js";
|
|
14
14
|
//#region package.json
|
|
15
|
-
var version = "4.
|
|
15
|
+
var version = "4.6.0";
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/io/document-input.ts
|
|
18
18
|
const EXTENSION_TO_FORMAT = {
|
package/dist/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@ let node_fs = require("node:fs");
|
|
|
9
9
|
let node_path = require("node:path");
|
|
10
10
|
let document_outline_js = require("document-outline.js");
|
|
11
11
|
//#region package.json
|
|
12
|
-
var version = "4.
|
|
12
|
+
var version = "4.6.0";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/io/document-input.ts
|
|
15
15
|
const EXTENSION_TO_FORMAT = {
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { existsSync, readFileSync } from "node:fs";
|
|
|
8
8
|
import { basename, join } from "node:path";
|
|
9
9
|
import { buildOutline, isOutlineNode, outlineLeafText } from "document-outline.js";
|
|
10
10
|
//#region package.json
|
|
11
|
-
var version = "4.
|
|
11
|
+
var version = "4.6.0";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/io/document-input.ts
|
|
14
14
|
const EXTENSION_TO_FORMAT = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-mcp",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "MCP (Model Context Protocol) server exposing documents.js's document-conversion, .odb, metadata, and font tooling as MCP tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -64,6 +64,8 @@
|
|
|
64
64
|
"test:watch": "vitest --project unit",
|
|
65
65
|
"test:coverage": "turbo run _test:coverage",
|
|
66
66
|
"_test:coverage": "vitest run --project unit --coverage",
|
|
67
|
+
"test:mutation": "turbo run _test:mutation",
|
|
68
|
+
"_test:mutation": "stryker run stryker.config.mjs",
|
|
67
69
|
"test:smoke": "turbo run _test:smoke",
|
|
68
70
|
"_test:smoke": "vitest run --project smoke",
|
|
69
71
|
"prepare": "husky",
|
|
@@ -88,27 +90,30 @@
|
|
|
88
90
|
"dependencies": {
|
|
89
91
|
"@modelcontextprotocol/node": "^2.0.0",
|
|
90
92
|
"@modelcontextprotocol/server": "^2.0.0",
|
|
91
|
-
"document-compute.js": "^1.
|
|
92
|
-
"document-outline.js": "^3.
|
|
93
|
-
"document-schema.js": "^6.
|
|
94
|
-
"documents.js": "^7.0
|
|
93
|
+
"document-compute.js": "^1.3.0",
|
|
94
|
+
"document-outline.js": "^3.4.0",
|
|
95
|
+
"document-schema.js": "^6.1.0",
|
|
96
|
+
"documents.js": "^7.1.0",
|
|
95
97
|
"zod": "^4.2.0"
|
|
96
98
|
},
|
|
97
99
|
"devDependencies": {
|
|
98
100
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
99
101
|
"@cloudflare/vitest-pool-workers": "^0.20.2",
|
|
100
102
|
"@modelcontextprotocol/client": "^2.0.0",
|
|
103
|
+
"@stryker-mutator/core": "^10.0.0",
|
|
104
|
+
"@stryker-mutator/typescript-checker": "^10.0.0",
|
|
105
|
+
"@stryker-mutator/vitest-runner": "^10.0.0",
|
|
101
106
|
"@types/node": "^26.1.2",
|
|
102
107
|
"@vitest/coverage-v8": "^4.1.10",
|
|
103
108
|
"eslint": "^10.8.0",
|
|
104
109
|
"husky": "^9.1.7",
|
|
105
|
-
"odf.js": "^7.
|
|
110
|
+
"odf.js": "^7.1.0",
|
|
106
111
|
"publint": "^0.3.22",
|
|
107
112
|
"semantic-release": "^25.0.8",
|
|
108
113
|
"tsdown": "^0.22.14",
|
|
109
114
|
"turbo": "^2.10.8",
|
|
110
115
|
"typescript": "^6.0.3",
|
|
111
116
|
"vitest": "^4.1.10",
|
|
112
|
-
"wpd-codec": "^2.
|
|
117
|
+
"wpd-codec": "^2.1.0"
|
|
113
118
|
}
|
|
114
119
|
}
|