document-mcp 1.2.1 → 1.2.3
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/README.md +1 -1
- package/dist/bin.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ Requires Node.js `>=20` and pnpm `11.6.0` (pinned via `packageManager` in `packa
|
|
|
52
52
|
pnpm install
|
|
53
53
|
pnpm build # tsdown -> dist/ (ESM + CJS + .d.ts)
|
|
54
54
|
pnpm typecheck # tsc --noEmit
|
|
55
|
-
pnpm lint # eslint . --max-warnings 0
|
|
55
|
+
pnpm lint # eslint . --fix --cache --max-warnings 0
|
|
56
56
|
pnpm test # vitest run --project unit
|
|
57
57
|
pnpm test:smoke # rebuilds dist/, then spawns dist/bin.js as a real subprocess and drives it over genuine MCP stdio
|
|
58
58
|
```
|
package/dist/bin.js
CHANGED
|
@@ -8,7 +8,7 @@ import { readFontFace } from "pdf-codec";
|
|
|
8
8
|
import { existsSync, readFileSync } from "node:fs";
|
|
9
9
|
import { basename, join } from "node:path";
|
|
10
10
|
//#region package.json
|
|
11
|
-
var version = "1.2.
|
|
11
|
+
var version = "1.2.3";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/io/document-input.ts
|
|
14
14
|
const EXTENSION_TO_FORMAT = {
|
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@ let pdf_codec = require("pdf-codec");
|
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
let node_path = require("node:path");
|
|
9
9
|
//#region package.json
|
|
10
|
-
var version = "1.2.
|
|
10
|
+
var version = "1.2.3";
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/io/document-input.ts
|
|
13
13
|
const EXTENSION_TO_FORMAT = {
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { readFontFace } from "pdf-codec";
|
|
|
6
6
|
import { existsSync, readFileSync } from "node:fs";
|
|
7
7
|
import { basename, join } from "node:path";
|
|
8
8
|
//#region package.json
|
|
9
|
-
var version = "1.2.
|
|
9
|
+
var version = "1.2.3";
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/io/document-input.ts
|
|
12
12
|
const EXTENSION_TO_FORMAT = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
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": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "tsdown",
|
|
44
44
|
"prepublishOnly": "pnpm run lint && pnpm run typecheck && tsdown && publint && attw --pack",
|
|
45
|
-
"lint": "eslint . --max-warnings 0",
|
|
45
|
+
"lint": "eslint . --fix --cache --max-warnings 0",
|
|
46
46
|
"typecheck": "tsc --noEmit",
|
|
47
47
|
"test": "vitest run --project unit",
|
|
48
48
|
"test:watch": "vitest --project unit",
|