@superdoc/mcp 1.4.0-next.6 → 1.4.0-next.7
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/index.js +5 -3
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -31330,7 +31330,7 @@ var init_host = __esm(() => {
|
|
|
31330
31330
|
});
|
|
31331
31331
|
|
|
31332
31332
|
// ../../packages/sdk/langs/node/src/runtime/sdk-version.generated.ts
|
|
31333
|
-
var SDK_VERSION = "2.17.0-next.
|
|
31333
|
+
var SDK_VERSION = "2.17.0-next.7";
|
|
31334
31334
|
|
|
31335
31335
|
// ../../packages/sdk/langs/node/src/runtime/embedded-platform.ts
|
|
31336
31336
|
import { chmodSync, existsSync } from "node:fs";
|
|
@@ -153497,10 +153497,12 @@ var init_content_types = __esm(() => {
|
|
|
153497
153497
|
|
|
153498
153498
|
// ../../../v2/editor-core/dist/opc/package-open.js
|
|
153499
153499
|
function isCompleteOpenedPartBytes(opened, partUri, bytes) {
|
|
153500
|
-
if (!bytes
|
|
153500
|
+
if (!bytes)
|
|
153501
153501
|
return false;
|
|
153502
153502
|
const expected = opened.parts.get(normalizePartUri(partUri))?.uncompressedSize;
|
|
153503
|
-
|
|
153503
|
+
if (bytes.byteLength === 0)
|
|
153504
|
+
return expected === 0;
|
|
153505
|
+
return typeof expected !== "number" || expected < 0 || bytes.byteLength === expected;
|
|
153504
153506
|
}
|
|
153505
153507
|
function readCompleteOpenedPartBytes(opened, partUri) {
|
|
153506
153508
|
const fromZip = opened.zip.readPayload(partUri);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc/mcp",
|
|
3
|
-
"version": "1.4.0-next.
|
|
3
|
+
"version": "1.4.0-next.7",
|
|
4
4
|
"description": "Model Context Protocol server for SuperDoc, giving an AI agent tools to read and edit .docx files.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
27
|
-
"@superdoc/sdk": "2.17.0-next.
|
|
27
|
+
"@superdoc/sdk": "2.17.0-next.7",
|
|
28
28
|
"debug": "^4.4.3",
|
|
29
29
|
"zod": "^4.3.6"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"superdoc": "2.20.0-next.
|
|
33
|
-
"@superdoc/docx-engine": "0.19.0-next.
|
|
32
|
+
"superdoc": "2.20.0-next.9",
|
|
33
|
+
"@superdoc/docx-engine": "0.19.0-next.10",
|
|
34
34
|
"@superdoc/document-api": "0.1.0-alpha.0",
|
|
35
35
|
"@types/bun": "^1.3.8",
|
|
36
36
|
"@types/node": "22.19.2",
|