@bendyline/docblocks 2.0.0 → 2.1.1
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 +2 -2
- package/dist/{chunk-2D7Y4IR3.js → chunk-4437YWLE.js} +123 -67
- package/dist/{chunk-5MYAICRE.js → chunk-45T5AFCN.js} +44 -57
- package/dist/{chunk-PGR7LK6D.js → chunk-6L3JRDE7.js} +14 -6
- package/dist/{chunk-RVQHY3XU.js → chunk-6XHOOBYF.js} +0 -1
- package/dist/chunk-73OOROXH.js +8 -0
- package/dist/{chunk-SI2LU2RP.js → chunk-AYWKIZLD.js} +1 -1
- package/dist/{chunk-GCPBEMMH.js → chunk-BVY7GGNV.js} +10 -21
- package/dist/{chunk-AEHCVWU5.js → chunk-DZB666V7.js} +0 -1
- package/dist/{chunk-75UUF6C4.js → chunk-HI7QEWL6.js} +18 -10
- package/dist/chunk-KQ6756AJ.js +28 -0
- package/dist/chunk-LMMOFRGQ.js +148 -0
- package/dist/{chunk-FNW556FN.js → chunk-M2PUNKHS.js} +0 -1
- package/dist/chunk-M5ZNQGR5.js +19 -0
- package/dist/chunk-M62ZGJ5I.js +51 -0
- package/dist/chunk-OQCPBOQA.js +168 -0
- package/dist/{chunk-EGNDADXB.js → chunk-QI6YKTQV.js} +2 -3
- package/dist/chunk-SJBB5OD7.js +227 -0
- package/dist/{chunk-EZKJZUNJ.js → chunk-XAMILHQP.js} +0 -1
- package/dist/{chunk-J32GU3F3.js → chunk-YM7O3PWO.js} +249 -222
- package/dist/{chunk-RQJRQF46.js → chunk-ZO7G53QP.js} +41 -49
- package/dist/document/index.d.ts +358 -6
- package/dist/document/index.js +24 -4
- package/dist/filesystem/electron.d.ts +73 -4
- package/dist/filesystem/electron.js +16 -4
- package/dist/filesystem/index.d.ts +228 -22
- package/dist/filesystem/index.js +133 -20
- package/dist/filesystem/indexeddb.d.ts +284 -5
- package/dist/filesystem/indexeddb.js +22 -5
- package/dist/filesystem/memory.d.ts +152 -4
- package/dist/filesystem/memory.js +12 -4
- package/dist/filesystem/native.d.ts +136 -4
- package/dist/filesystem/native.js +27 -4
- package/dist/host/index.d.ts +32 -9
- package/dist/host/index.js +26 -30
- package/dist/index.d.ts +14 -10
- package/dist/index.js +204 -10
- package/dist/mcp/index.d.ts +33 -4
- package/dist/mcp/index.js +31 -4
- package/dist/mcp/zod.d.ts +645 -643
- package/dist/mcp/zod.js +700 -885
- package/dist/share/index.d.ts +43 -0
- package/dist/share/index.js +12 -0
- package/dist/{types-CsX6EN2t.d.ts → types-BEg5SQ1_.d.ts} +1 -1
- package/dist/{types-eOlt9J7n.d.ts → types-CueK0tvU.d.ts} +34 -11
- package/dist/vscode/index.d.ts +225 -3
- package/dist/vscode/index.js +389 -3
- package/dist/workspace/index.d.ts +141 -4
- package/dist/workspace/index.js +28 -3
- package/package.json +10 -5
- package/dist/chunk-2D7Y4IR3.js.map +0 -1
- package/dist/chunk-5MYAICRE.js.map +0 -1
- package/dist/chunk-75UUF6C4.js.map +0 -1
- package/dist/chunk-AEHCVWU5.js.map +0 -1
- package/dist/chunk-AYZ4HN5M.js +0 -20
- package/dist/chunk-AYZ4HN5M.js.map +0 -1
- package/dist/chunk-EGNDADXB.js.map +0 -1
- package/dist/chunk-EZKJZUNJ.js.map +0 -1
- package/dist/chunk-FNW556FN.js.map +0 -1
- package/dist/chunk-GCPBEMMH.js.map +0 -1
- package/dist/chunk-J32GU3F3.js.map +0 -1
- package/dist/chunk-PGR7LK6D.js.map +0 -1
- package/dist/chunk-RQJRQF46.js.map +0 -1
- package/dist/chunk-RVQHY3XU.js.map +0 -1
- package/dist/chunk-SI2LU2RP.js.map +0 -1
- package/dist/chunk-W5UUUII5.js +0 -142
- package/dist/chunk-W5UUUII5.js.map +0 -1
- package/dist/document/document-session.d.ts +0 -127
- package/dist/document/document-session.d.ts.map +0 -1
- package/dist/document/document-session.js +0 -749
- package/dist/document/document-session.js.map +0 -1
- package/dist/document/filesystem-target.d.ts +0 -17
- package/dist/document/filesystem-target.d.ts.map +0 -1
- package/dist/document/filesystem-target.js +0 -70
- package/dist/document/filesystem-target.js.map +0 -1
- package/dist/document/index.d.ts.map +0 -1
- package/dist/document/index.js.map +0 -1
- package/dist/document/recovery-journal.d.ts +0 -125
- package/dist/document/recovery-journal.d.ts.map +0 -1
- package/dist/document/recovery-journal.js +0 -385
- package/dist/document/recovery-journal.js.map +0 -1
- package/dist/document/types.d.ts +0 -89
- package/dist/document/types.d.ts.map +0 -1
- package/dist/document/types.js +0 -9
- package/dist/document/types.js.map +0 -1
- package/dist/filesystem/commit-lock.d.ts +0 -3
- package/dist/filesystem/commit-lock.d.ts.map +0 -1
- package/dist/filesystem/commit-lock.js +0 -20
- package/dist/filesystem/commit-lock.js.map +0 -1
- package/dist/filesystem/dbk-workspace.d.ts +0 -34
- package/dist/filesystem/dbk-workspace.d.ts.map +0 -1
- package/dist/filesystem/dbk-workspace.js +0 -85
- package/dist/filesystem/dbk-workspace.js.map +0 -1
- package/dist/filesystem/electron-provider-v2.d.ts +0 -36
- package/dist/filesystem/electron-provider-v2.d.ts.map +0 -1
- package/dist/filesystem/electron-provider-v2.js +0 -503
- package/dist/filesystem/electron-provider-v2.js.map +0 -1
- package/dist/filesystem/electron-provider.d.ts +0 -35
- package/dist/filesystem/electron-provider.d.ts.map +0 -1
- package/dist/filesystem/electron-provider.js +0 -69
- package/dist/filesystem/electron-provider.js.map +0 -1
- package/dist/filesystem/electron.d.ts.map +0 -1
- package/dist/filesystem/electron.js.map +0 -1
- package/dist/filesystem/file-media-provider.d.ts +0 -23
- package/dist/filesystem/file-media-provider.d.ts.map +0 -1
- package/dist/filesystem/file-media-provider.js +0 -85
- package/dist/filesystem/file-media-provider.js.map +0 -1
- package/dist/filesystem/filesystem-content-container.d.ts +0 -24
- package/dist/filesystem/filesystem-content-container.d.ts.map +0 -1
- package/dist/filesystem/filesystem-content-container.js +0 -153
- package/dist/filesystem/filesystem-content-container.js.map +0 -1
- package/dist/filesystem/fs-error.d.ts +0 -46
- package/dist/filesystem/fs-error.d.ts.map +0 -1
- package/dist/filesystem/fs-error.js +0 -170
- package/dist/filesystem/fs-error.js.map +0 -1
- package/dist/filesystem/index.d.ts.map +0 -1
- package/dist/filesystem/index.js.map +0 -1
- package/dist/filesystem/indexeddb-content-container.d.ts +0 -22
- package/dist/filesystem/indexeddb-content-container.d.ts.map +0 -1
- package/dist/filesystem/indexeddb-content-container.js +0 -100
- package/dist/filesystem/indexeddb-content-container.js.map +0 -1
- package/dist/filesystem/indexeddb-provider-v2.d.ts +0 -96
- package/dist/filesystem/indexeddb-provider-v2.d.ts.map +0 -1
- package/dist/filesystem/indexeddb-provider-v2.js +0 -1241
- package/dist/filesystem/indexeddb-provider-v2.js.map +0 -1
- package/dist/filesystem/indexeddb-provider.d.ts +0 -39
- package/dist/filesystem/indexeddb-provider.d.ts.map +0 -1
- package/dist/filesystem/indexeddb-provider.js +0 -145
- package/dist/filesystem/indexeddb-provider.js.map +0 -1
- package/dist/filesystem/indexeddb-store.d.ts +0 -34
- package/dist/filesystem/indexeddb-store.d.ts.map +0 -1
- package/dist/filesystem/indexeddb-store.js +0 -165
- package/dist/filesystem/indexeddb-store.js.map +0 -1
- package/dist/filesystem/indexeddb.d.ts.map +0 -1
- package/dist/filesystem/indexeddb.js.map +0 -1
- package/dist/filesystem/legacy-v2-adapter.d.ts +0 -62
- package/dist/filesystem/legacy-v2-adapter.d.ts.map +0 -1
- package/dist/filesystem/legacy-v2-adapter.js +0 -499
- package/dist/filesystem/legacy-v2-adapter.js.map +0 -1
- package/dist/filesystem/memory-provider-v2.d.ts +0 -92
- package/dist/filesystem/memory-provider-v2.d.ts.map +0 -1
- package/dist/filesystem/memory-provider-v2.js +0 -615
- package/dist/filesystem/memory-provider-v2.js.map +0 -1
- package/dist/filesystem/memory-provider.d.ts +0 -54
- package/dist/filesystem/memory-provider.d.ts.map +0 -1
- package/dist/filesystem/memory-provider.js +0 -132
- package/dist/filesystem/memory-provider.js.map +0 -1
- package/dist/filesystem/memory.d.ts.map +0 -1
- package/dist/filesystem/memory.js.map +0 -1
- package/dist/filesystem/move-entry.d.ts +0 -9
- package/dist/filesystem/move-entry.d.ts.map +0 -1
- package/dist/filesystem/move-entry.js +0 -103
- package/dist/filesystem/move-entry.js.map +0 -1
- package/dist/filesystem/move-error.d.ts +0 -53
- package/dist/filesystem/move-error.d.ts.map +0 -1
- package/dist/filesystem/move-error.js +0 -99
- package/dist/filesystem/move-error.js.map +0 -1
- package/dist/filesystem/native-provider-v2.d.ts +0 -75
- package/dist/filesystem/native-provider-v2.d.ts.map +0 -1
- package/dist/filesystem/native-provider-v2.js +0 -849
- package/dist/filesystem/native-provider-v2.js.map +0 -1
- package/dist/filesystem/native-provider.d.ts +0 -53
- package/dist/filesystem/native-provider.d.ts.map +0 -1
- package/dist/filesystem/native-provider.js +0 -471
- package/dist/filesystem/native-provider.js.map +0 -1
- package/dist/filesystem/native.d.ts.map +0 -1
- package/dist/filesystem/native.js.map +0 -1
- package/dist/filesystem/types.d.ts +0 -83
- package/dist/filesystem/types.d.ts.map +0 -1
- package/dist/filesystem/types.js +0 -16
- package/dist/filesystem/types.js.map +0 -1
- package/dist/filesystem/v2.d.ts +0 -172
- package/dist/filesystem/v2.d.ts.map +0 -1
- package/dist/filesystem/v2.js +0 -16
- package/dist/filesystem/v2.js.map +0 -1
- package/dist/filesystem/workspace-path.d.ts +0 -21
- package/dist/filesystem/workspace-path.d.ts.map +0 -1
- package/dist/filesystem/workspace-path.js +0 -80
- package/dist/filesystem/workspace-path.js.map +0 -1
- package/dist/host/filesystem-v2.d.ts +0 -45
- package/dist/host/filesystem-v2.d.ts.map +0 -1
- package/dist/host/filesystem-v2.js +0 -13
- package/dist/host/filesystem-v2.js.map +0 -1
- package/dist/host/git.d.ts +0 -200
- package/dist/host/git.d.ts.map +0 -1
- package/dist/host/git.js +0 -15
- package/dist/host/git.js.map +0 -1
- package/dist/host/index.d.ts.map +0 -1
- package/dist/host/index.js.map +0 -1
- package/dist/host/types.d.ts +0 -232
- package/dist/host/types.d.ts.map +0 -1
- package/dist/host/types.js +0 -10
- package/dist/host/types.js.map +0 -1
- package/dist/host/wire-policy.d.ts +0 -22
- package/dist/host/wire-policy.d.ts.map +0 -1
- package/dist/host/wire-policy.js +0 -92
- package/dist/host/wire-policy.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/mcp/index.d.ts.map +0 -1
- package/dist/mcp/index.js.map +0 -1
- package/dist/mcp/types.d.ts +0 -466
- package/dist/mcp/types.d.ts.map +0 -1
- package/dist/mcp/types.js +0 -25
- package/dist/mcp/types.js.map +0 -1
- package/dist/mcp/wire.d.ts +0 -29
- package/dist/mcp/wire.d.ts.map +0 -1
- package/dist/mcp/wire.js +0 -1046
- package/dist/mcp/wire.js.map +0 -1
- package/dist/mcp/zod.d.ts.map +0 -1
- package/dist/mcp/zod.js.map +0 -1
- package/dist/vscode/index.d.ts.map +0 -1
- package/dist/vscode/index.js.map +0 -1
- package/dist/vscode/messages.d.ts +0 -204
- package/dist/vscode/messages.d.ts.map +0 -1
- package/dist/vscode/messages.js +0 -494
- package/dist/vscode/messages.js.map +0 -1
- package/dist/workspace/index.d.ts.map +0 -1
- package/dist/workspace/index.js.map +0 -1
- package/dist/workspace/reconcile-electron.d.ts +0 -19
- package/dist/workspace/reconcile-electron.d.ts.map +0 -1
- package/dist/workspace/reconcile-electron.js +0 -42
- package/dist/workspace/reconcile-electron.js.map +0 -1
- package/dist/workspace/types.d.ts +0 -69
- package/dist/workspace/types.d.ts.map +0 -1
- package/dist/workspace/types.js +0 -2
- package/dist/workspace/types.js.map +0 -1
- package/dist/workspace/workspace-manager.d.ts +0 -47
- package/dist/workspace/workspace-manager.d.ts.map +0 -1
- package/dist/workspace/workspace-manager.js +0 -126
- package/dist/workspace/workspace-manager.js.map +0 -1
- package/src/document/document-session.ts +0 -834
- package/src/document/filesystem-target.ts +0 -109
- package/src/document/index.ts +0 -41
- package/src/document/recovery-journal.ts +0 -536
- package/src/document/types.ts +0 -116
- package/src/filesystem/commit-lock.ts +0 -29
- package/src/filesystem/dbk-workspace.ts +0 -135
- package/src/filesystem/electron-provider-v2.ts +0 -630
- package/src/filesystem/electron-provider.ts +0 -99
- package/src/filesystem/electron.ts +0 -3
- package/src/filesystem/file-media-provider.ts +0 -103
- package/src/filesystem/filesystem-content-container.ts +0 -164
- package/src/filesystem/fs-error.ts +0 -234
- package/src/filesystem/index.ts +0 -143
- package/src/filesystem/indexeddb-content-container.ts +0 -112
- package/src/filesystem/indexeddb-provider-v2.ts +0 -1740
- package/src/filesystem/indexeddb-provider.ts +0 -171
- package/src/filesystem/indexeddb-store.ts +0 -207
- package/src/filesystem/indexeddb.ts +0 -12
- package/src/filesystem/legacy-v2-adapter.ts +0 -779
- package/src/filesystem/memory-provider-v2.ts +0 -896
- package/src/filesystem/memory-provider.ts +0 -180
- package/src/filesystem/memory.ts +0 -15
- package/src/filesystem/move-entry.ts +0 -142
- package/src/filesystem/move-error.ts +0 -159
- package/src/filesystem/native-provider-v2.ts +0 -1165
- package/src/filesystem/native-provider.ts +0 -537
- package/src/filesystem/native.ts +0 -16
- package/src/filesystem/types.ts +0 -114
- package/src/filesystem/v2.ts +0 -231
- package/src/filesystem/workspace-path.ts +0 -92
- package/src/host/filesystem-v2.ts +0 -104
- package/src/host/git.ts +0 -246
- package/src/host/index.ts +0 -93
- package/src/host/types.ts +0 -274
- package/src/host/wire-policy.ts +0 -103
- package/src/index.ts +0 -10
- package/src/mcp/index.ts +0 -3
- package/src/mcp/types.ts +0 -594
- package/src/mcp/wire.ts +0 -1280
- package/src/mcp/zod.ts +0 -1000
- package/src/vscode/index.ts +0 -2
- package/src/vscode/messages.ts +0 -704
- package/src/workspace/index.ts +0 -17
- package/src/workspace/reconcile-electron.ts +0 -65
- package/src/workspace/types.ts +0 -67
- package/src/workspace/workspace-manager.ts +0 -151
package/dist/host/index.d.ts
CHANGED
|
@@ -1,17 +1,40 @@
|
|
|
1
|
+
import { O as OpenRequest, D as DocBlocksHostAPI } from '../types-CueK0tvU.js';
|
|
2
|
+
export { a as DocBlocksHostExportAPI, b as DocBlocksHostExternalAPI, c as DocBlocksHostFfmpegAPI, d as DocBlocksHostFsAPI, e as DocBlocksHostFsV2API, f as DocBlocksHostGitAPI, g as DocBlocksHostLifecycleAPI, h as DocBlocksHostShellAPI, i as DocBlocksHostUpdaterAPI, j as DocBlocksHostWorkspacesAPI, E as ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, k as ElectronWorkspaceInfo, l as ExternalBinaryCommitResult, G as GitBranchInfo, m as GitCapabilities, n as GitCloneHandle, o as GitCloneProgress, p as GitError, q as GitErrorCode, r as GitFileAtRevision, s as GitFileChange, t as GitFileStatusCode, u as GitLogEntry, v as GitLogOptions, w as GitRemoteInfo, x as GitRepoDetection, y as GitResult, z as GitRevision, A as GitStatus, H as HostCloseReason, B as HostEnvironment, C as HostExportTargetGrant, F as HostFileSystemV2OpenRequest, I as HostFileSystemV2Result, J as HostFileSystemV2WatchMessage, K as HostPrepareCloseRequest, L as HostPrepareCloseResult, M as MenuCommand, U as UpdateCheckResult, N as UpdateInstallResult, P as UpdaterStatus } from '../types-CueK0tvU.js';
|
|
3
|
+
import '../types-BEg5SQ1_.js';
|
|
4
|
+
import '../workspace-path-CWVrcuPL.js';
|
|
5
|
+
|
|
6
|
+
/** Quantitative limits shared by privileged host boundaries. */
|
|
7
|
+
declare const HOST_WIRE_LIMITS: Readonly<{
|
|
8
|
+
identifierCharacters: 256;
|
|
9
|
+
labelCharacters: 1024;
|
|
10
|
+
pathCharacters: 4096;
|
|
11
|
+
urlCharacters: 8192;
|
|
12
|
+
messageCharacters: 2000;
|
|
13
|
+
documentCharacters: number;
|
|
14
|
+
binaryBytes: number;
|
|
15
|
+
base64Characters: number;
|
|
16
|
+
arrayEntries: 10000;
|
|
17
|
+
}>;
|
|
18
|
+
declare function isBoundedString(value: unknown, maximumCharacters: number, minimumCharacters?: number): value is string;
|
|
19
|
+
declare function isBoundedBytePayload(value: unknown, maximumBytes?: number): value is ArrayBuffer | Uint8Array;
|
|
20
|
+
/** Parse one exact, bounded main-to-renderer open request. */
|
|
21
|
+
declare function parseOpenRequest(value: unknown): OpenRequest | null;
|
|
22
|
+
/** Return one canonical HTTP(S) URL, or null when external navigation is unsafe. */
|
|
23
|
+
declare function parseExternalHttpUrl(value: unknown): string | null;
|
|
24
|
+
/** True only for the packaged renderer origin or the exact configured dev origin. */
|
|
25
|
+
declare function isTrustedRendererUrl(value: unknown, developmentOrigin?: string): boolean;
|
|
26
|
+
|
|
1
27
|
/**
|
|
2
28
|
* Host bridge — shared types + runtime access for the Electron desktop
|
|
3
29
|
* host. The renderer calls `getDocBlocksHost()` to reach the preload
|
|
4
30
|
* contextBridge; `isElectronHost()` gates desktop-only UI branches.
|
|
5
31
|
*/
|
|
6
|
-
|
|
7
|
-
export type { DocBlocksHostGitAPI, GitBranchInfo, GitCapabilities, GitCloneHandle, GitCloneProgress, GitError, GitErrorCode, GitFileAtRevision, GitFileChange, GitFileStatusCode, GitLogEntry, GitLogOptions, GitRemoteInfo, GitRepoDetection, GitResult, GitRevision, GitStatus, } from './git.js';
|
|
8
|
-
export { ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, type DocBlocksHostFsV2API, type HostFileSystemV2OpenRequest, type HostFileSystemV2Result, type HostFileSystemV2WatchMessage, } from './filesystem-v2.js';
|
|
9
|
-
export { HOST_WIRE_LIMITS, isBoundedBytePayload, isBoundedString, isTrustedRendererUrl, parseExternalHttpUrl, parseOpenRequest, } from './wire-policy.js';
|
|
10
|
-
import type { DocBlocksHostAPI } from './types.js';
|
|
32
|
+
|
|
11
33
|
/** True when running inside the Electron desktop shell. */
|
|
12
|
-
|
|
34
|
+
declare function isElectronHost(): boolean;
|
|
13
35
|
/** Return the host API, or throw if not running under Electron. */
|
|
14
|
-
|
|
36
|
+
declare function getDocBlocksHost(): DocBlocksHostAPI;
|
|
15
37
|
/** Return the host API, or null if not running under Electron. */
|
|
16
|
-
|
|
17
|
-
|
|
38
|
+
declare function maybeGetDocBlocksHost(): DocBlocksHostAPI | null;
|
|
39
|
+
|
|
40
|
+
export { DocBlocksHostAPI, HOST_WIRE_LIMITS, OpenRequest, getDocBlocksHost, isBoundedBytePayload, isBoundedString, isElectronHost, isTrustedRendererUrl, maybeGetDocBlocksHost, parseExternalHttpUrl, parseOpenRequest };
|
package/dist/host/index.js
CHANGED
|
@@ -1,30 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export function maybeGetDocBlocksHost() {
|
|
28
|
-
return globalThis.docBlocksHost ?? null;
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import {
|
|
2
|
+
ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
|
|
3
|
+
getDocBlocksHost,
|
|
4
|
+
isElectronHost,
|
|
5
|
+
maybeGetDocBlocksHost
|
|
6
|
+
} from "../chunk-6XHOOBYF.js";
|
|
7
|
+
import {
|
|
8
|
+
HOST_WIRE_LIMITS,
|
|
9
|
+
isBoundedBytePayload,
|
|
10
|
+
isBoundedString,
|
|
11
|
+
isTrustedRendererUrl,
|
|
12
|
+
parseExternalHttpUrl,
|
|
13
|
+
parseOpenRequest
|
|
14
|
+
} from "../chunk-M2PUNKHS.js";
|
|
15
|
+
export {
|
|
16
|
+
ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
|
|
17
|
+
HOST_WIRE_LIMITS,
|
|
18
|
+
getDocBlocksHost,
|
|
19
|
+
isBoundedBytePayload,
|
|
20
|
+
isBoundedString,
|
|
21
|
+
isElectronHost,
|
|
22
|
+
isTrustedRendererUrl,
|
|
23
|
+
maybeGetDocBlocksHost,
|
|
24
|
+
parseExternalHttpUrl,
|
|
25
|
+
parseOpenRequest
|
|
26
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
|
|
1
|
+
export { F as FileCommitResult, a as FileEntry, b as FileMeta, c as FileSystemAtomicity, d as FileSystemCaseSensitivity, e as FileSystemConditionalWriteStrength, f as FileSystemCreateDirectoryMode, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, i as FileSystemDurability, j as FileSystemEntry, k as FileSystemEntrySnapshot, l as FileSystemEntryWatchEvent, m as FileSystemFileRead, n as FileSystemFileSnapshot, o as FileSystemMoveOptions, p as FileSystemOverflowWatchEvent, q as FileSystemProvider, r as FileSystemProviderCapabilities, s as FileSystemProviderV2, t as FileSystemProviderWithV2, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, w as FileSystemSnapshot, x as FileSystemSnapshotEntry, y as FileSystemSnapshotFile, z as FileSystemSymlinkPolicy, A as FileSystemVersion, B as FileSystemWatchErrorListener, C as FileSystemWatchEvent, D as FileSystemWatchEventOrigin, E as FileSystemWatchEventType, G as FileSystemWatchListener, H as FileSystemWatchOptions, I as FileSystemWatchSubscription, J as FileSystemWriteMode, K as FileSystemWriteOptions, L as FolderEntry, M as FsError, N as FsErrorCode, O as FsErrorContext, P as FsOperation, S as SerializedFsError, Q as deserializeFsError, R as fsErrorFromUnknown, T as getFileSystemProviderV2, U as hasFileSystemProviderV2, V as isQuotaExceededError, W as isSerializedFsError, X as mapDomExceptionToFsErrorCode, Y as mapNodeErrorCodeToFsErrorCode, Z as parseFileSystemVersion, _ as serializeFsError, $ as tryParseFileSystemVersion } from './types-BEg5SQ1_.js';
|
|
2
|
+
export { W as WORKSPACE_ROOT, a as WorkspacePath, p as parseWorkspacePath, t as tryParseWorkspacePath, w as workspacePathBasename, b as workspacePathContains, c as workspacePathDirname, d as workspacePathJoin, e as workspacePathToLegacy } from './workspace-path-CWVrcuPL.js';
|
|
3
|
+
export { DbkWorkspaceAssetLayout, DbkWorkspaceSnapshot, DbkWorkspaceSnapshotOptions, DecodeUtf8TextOptions, FileSystemContentContainer, FileSystemEntryMoveState, FileSystemMoveLocation, FileSystemMoveRecoveryError, FileSystemPartialMoveError, FileSystemPartialMoveState, FileSystemPathPresence, LegacyFilePayloadModel, LegacyFileSystemProviderV2Adapter, LegacyFileSystemProviderV2AdapterOptions, createDbkWorkspaceSnapshot, createFileMediaProvider, decodeUtf8Text, describeEntryMove, describePartialMove, documentCompanionPath, isFileSystemMoveRecoveryError, isFileSystemMoveStateError, isFileSystemPartialMoveError, moveFileSystemEntry, replaceMemoryWorkspaceFromDbk } from './filesystem/index.js';
|
|
4
|
+
export { MemoryFilePayloadKind, MemoryFileSystemProvider, MemoryFileSystemProviderV2, MemoryFileSystemSnapshot, MemoryFileSystemSnapshotFile, MemoryFileSystemV2CompatibilityFile, MemoryFileSystemV2Replacement, MemoryFileSystemV2ReplacementFile, MemoryFileSystemV2State, MemoryFileSystemV2StateFile } from './filesystem/memory.js';
|
|
5
|
+
export { IndexedDBContentContainer, IndexedDBFileSystemProvider, IndexedDBFileSystemProviderV2, IndexedDBFileSystemProviderV2Options, IndexedDBLegacyConflictReason, IndexedDBLegacyConflictResolution, IndexedDBLegacyMigrationConflict, IndexedDBLegacyOpaqueDiscardTarget, IndexedDBLegacyOpaqueRecord, IndexedDBLegacyOpaqueRecordSummary, IndexedDBLegacyOpaqueValue, IndexedDBLegacyRecoveryCandidate, IndexedDBLegacyRecoveryKind } from './filesystem/indexeddb.js';
|
|
6
|
+
export { NativeFileSystemMovePathState, NativeFileSystemMoveRecoveryError, NativeFileSystemMoveRecoveryState, NativeFileSystemProvider, NativeFileSystemProviderV2, isNativeFileSystemSupported, loadDirectoryHandle, openNativeFolder, removeDirectoryHandle, restoreNativeFolder, storeDirectoryHandle } from './filesystem/native.js';
|
|
7
|
+
export { ElectronFileSystemProvider, ElectronFileSystemProviderV2 } from './filesystem/electron.js';
|
|
8
|
+
export { DOCUMENT_RECOVERY_JOURNAL_SCHEMA_VERSION, DOCUMENT_RECOVERY_JOURNAL_STORAGE_KEY, DocumentCommitConflictError, DocumentCommitRequest, DocumentCommitResult, DocumentCommitTarget, DocumentConflictStrategy, DocumentExternalChangeResult, DocumentExternalSnapshot, DocumentExternalVersion, DocumentRecoveryAcknowledgement, DocumentRecoveryJournal, DocumentRecoveryJournalOptions, DocumentRecoveryRecord, DocumentRecoveryStorage, DocumentRecoveryWrite, DocumentRecoveryWriteFailure, DocumentRecoveryWriteResult, DocumentSaveReason, DocumentSession, DocumentSessionConflict, DocumentSessionConflictError, DocumentSessionEditScope, DocumentSessionLifecycle, DocumentSessionOptions, DocumentSessionSnapshot, DocumentSessionStatus, DocumentSessionTransition, FileSystemDocumentTargetOptions, createFileSystemDocumentTarget, getDefaultDocumentRecoveryStorage } from './document/index.js';
|
|
9
|
+
export { ElectronWorkspaceReconciliation, TransientOrigin, WorkspaceDescriptor, ensureDefaultWorkspace, getTransientWorkspace, getWorkspace, listWorkspaces, parsePersistedWorkspaceList, reconcileElectronWorkspaceDescriptors, registerTransientWorkspace, removeWorkspace, saveWorkspace, touchWorkspace, unregisterTransientWorkspace } from './workspace/index.js';
|
|
10
|
+
export { HOST_WIRE_LIMITS, getDocBlocksHost, isBoundedBytePayload, isBoundedString, isElectronHost, isTrustedRendererUrl, maybeGetDocBlocksHost, parseExternalHttpUrl, parseOpenRequest } from './host/index.js';
|
|
11
|
+
export { SHARED_DOCUMENT_LIMITS, SharedDocumentHashParseResult, SharedDocumentMode, SharedDocumentPayload, createSharedDocumentHash, createSharedDocumentUrl, parseSharedDocumentHash } from './share/index.js';
|
|
12
|
+
export { D as DocBlocksHostAPI, a as DocBlocksHostExportAPI, b as DocBlocksHostExternalAPI, c as DocBlocksHostFfmpegAPI, d as DocBlocksHostFsAPI, e as DocBlocksHostFsV2API, f as DocBlocksHostGitAPI, g as DocBlocksHostLifecycleAPI, h as DocBlocksHostShellAPI, i as DocBlocksHostUpdaterAPI, j as DocBlocksHostWorkspacesAPI, E as ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, k as ElectronWorkspaceInfo, l as ExternalBinaryCommitResult, G as GitBranchInfo, m as GitCapabilities, n as GitCloneHandle, o as GitCloneProgress, p as GitError, q as GitErrorCode, r as GitFileAtRevision, s as GitFileChange, t as GitFileStatusCode, u as GitLogEntry, v as GitLogOptions, w as GitRemoteInfo, x as GitRepoDetection, y as GitResult, z as GitRevision, A as GitStatus, H as HostCloseReason, B as HostEnvironment, C as HostExportTargetGrant, F as HostFileSystemV2OpenRequest, I as HostFileSystemV2Result, J as HostFileSystemV2WatchMessage, K as HostPrepareCloseRequest, L as HostPrepareCloseResult, M as MenuCommand, O as OpenRequest, U as UpdateCheckResult, N as UpdateInstallResult, P as UpdaterStatus } from './types-CueK0tvU.js';
|
|
13
|
+
import '@bendyline/squisq/storage';
|
|
14
|
+
import '@bendyline/squisq/schemas';
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,204 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import {
|
|
2
|
+
SHARED_DOCUMENT_LIMITS,
|
|
3
|
+
createSharedDocumentHash,
|
|
4
|
+
createSharedDocumentUrl,
|
|
5
|
+
parseSharedDocumentHash
|
|
6
|
+
} from "./chunk-LMMOFRGQ.js";
|
|
7
|
+
import {
|
|
8
|
+
FileSystemContentContainer,
|
|
9
|
+
LegacyFileSystemProviderV2Adapter,
|
|
10
|
+
createDbkWorkspaceSnapshot,
|
|
11
|
+
createFileMediaProvider,
|
|
12
|
+
documentCompanionPath,
|
|
13
|
+
moveFileSystemEntry,
|
|
14
|
+
replaceMemoryWorkspaceFromDbk
|
|
15
|
+
} from "./chunk-45T5AFCN.js";
|
|
16
|
+
import {
|
|
17
|
+
IndexedDBContentContainer,
|
|
18
|
+
IndexedDBFileSystemProvider,
|
|
19
|
+
IndexedDBFileSystemProviderV2
|
|
20
|
+
} from "./chunk-YM7O3PWO.js";
|
|
21
|
+
import {
|
|
22
|
+
MemoryFileSystemProvider,
|
|
23
|
+
MemoryFileSystemProviderV2
|
|
24
|
+
} from "./chunk-ZO7G53QP.js";
|
|
25
|
+
import {
|
|
26
|
+
NativeFileSystemMoveRecoveryError,
|
|
27
|
+
NativeFileSystemProvider,
|
|
28
|
+
NativeFileSystemProviderV2,
|
|
29
|
+
isNativeFileSystemSupported,
|
|
30
|
+
loadDirectoryHandle,
|
|
31
|
+
openNativeFolder,
|
|
32
|
+
removeDirectoryHandle,
|
|
33
|
+
restoreNativeFolder,
|
|
34
|
+
storeDirectoryHandle
|
|
35
|
+
} from "./chunk-4437YWLE.js";
|
|
36
|
+
import "./chunk-DZB666V7.js";
|
|
37
|
+
import "./chunk-KQ6756AJ.js";
|
|
38
|
+
import {
|
|
39
|
+
ElectronFileSystemProvider,
|
|
40
|
+
ElectronFileSystemProviderV2
|
|
41
|
+
} from "./chunk-BVY7GGNV.js";
|
|
42
|
+
import {
|
|
43
|
+
ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
|
|
44
|
+
getDocBlocksHost,
|
|
45
|
+
isElectronHost,
|
|
46
|
+
maybeGetDocBlocksHost
|
|
47
|
+
} from "./chunk-6XHOOBYF.js";
|
|
48
|
+
import {
|
|
49
|
+
HOST_WIRE_LIMITS,
|
|
50
|
+
isBoundedBytePayload,
|
|
51
|
+
isBoundedString,
|
|
52
|
+
isTrustedRendererUrl,
|
|
53
|
+
parseExternalHttpUrl,
|
|
54
|
+
parseOpenRequest
|
|
55
|
+
} from "./chunk-M2PUNKHS.js";
|
|
56
|
+
import "./chunk-73OOROXH.js";
|
|
57
|
+
import {
|
|
58
|
+
parseFileSystemVersion,
|
|
59
|
+
tryParseFileSystemVersion
|
|
60
|
+
} from "./chunk-M62ZGJ5I.js";
|
|
61
|
+
import {
|
|
62
|
+
DOCUMENT_RECOVERY_JOURNAL_SCHEMA_VERSION,
|
|
63
|
+
DOCUMENT_RECOVERY_JOURNAL_STORAGE_KEY,
|
|
64
|
+
DocumentCommitConflictError,
|
|
65
|
+
DocumentRecoveryJournal,
|
|
66
|
+
DocumentSession,
|
|
67
|
+
DocumentSessionConflictError,
|
|
68
|
+
createFileSystemDocumentTarget,
|
|
69
|
+
getDefaultDocumentRecoveryStorage
|
|
70
|
+
} from "./chunk-6L3JRDE7.js";
|
|
71
|
+
import {
|
|
72
|
+
FileSystemMoveRecoveryError,
|
|
73
|
+
FileSystemPartialMoveError,
|
|
74
|
+
describeEntryMove,
|
|
75
|
+
describePartialMove,
|
|
76
|
+
isFileSystemMoveRecoveryError,
|
|
77
|
+
isFileSystemMoveStateError,
|
|
78
|
+
isFileSystemPartialMoveError
|
|
79
|
+
} from "./chunk-QI6YKTQV.js";
|
|
80
|
+
import {
|
|
81
|
+
decodeUtf8Text
|
|
82
|
+
} from "./chunk-M5ZNQGR5.js";
|
|
83
|
+
import {
|
|
84
|
+
FsError,
|
|
85
|
+
WORKSPACE_ROOT,
|
|
86
|
+
deserializeFsError,
|
|
87
|
+
fsErrorFromUnknown,
|
|
88
|
+
isQuotaExceededError,
|
|
89
|
+
isSerializedFsError,
|
|
90
|
+
mapDomExceptionToFsErrorCode,
|
|
91
|
+
mapNodeErrorCodeToFsErrorCode,
|
|
92
|
+
parseWorkspacePath,
|
|
93
|
+
serializeFsError,
|
|
94
|
+
tryParseWorkspacePath,
|
|
95
|
+
workspacePathBasename,
|
|
96
|
+
workspacePathContains,
|
|
97
|
+
workspacePathDirname,
|
|
98
|
+
workspacePathJoin,
|
|
99
|
+
workspacePathToLegacy
|
|
100
|
+
} from "./chunk-AYWKIZLD.js";
|
|
101
|
+
import {
|
|
102
|
+
ensureDefaultWorkspace,
|
|
103
|
+
getTransientWorkspace,
|
|
104
|
+
getWorkspace,
|
|
105
|
+
listWorkspaces,
|
|
106
|
+
parsePersistedWorkspaceList,
|
|
107
|
+
reconcileElectronWorkspaceDescriptors,
|
|
108
|
+
registerTransientWorkspace,
|
|
109
|
+
removeWorkspace,
|
|
110
|
+
saveWorkspace,
|
|
111
|
+
touchWorkspace,
|
|
112
|
+
unregisterTransientWorkspace
|
|
113
|
+
} from "./chunk-SJBB5OD7.js";
|
|
114
|
+
import "./chunk-OQCPBOQA.js";
|
|
115
|
+
import {
|
|
116
|
+
getFileSystemProviderV2,
|
|
117
|
+
hasFileSystemProviderV2
|
|
118
|
+
} from "./chunk-XAMILHQP.js";
|
|
119
|
+
export {
|
|
120
|
+
DOCUMENT_RECOVERY_JOURNAL_SCHEMA_VERSION,
|
|
121
|
+
DOCUMENT_RECOVERY_JOURNAL_STORAGE_KEY,
|
|
122
|
+
DocumentCommitConflictError,
|
|
123
|
+
DocumentRecoveryJournal,
|
|
124
|
+
DocumentSession,
|
|
125
|
+
DocumentSessionConflictError,
|
|
126
|
+
ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
|
|
127
|
+
ElectronFileSystemProvider,
|
|
128
|
+
ElectronFileSystemProviderV2,
|
|
129
|
+
FileSystemContentContainer,
|
|
130
|
+
FileSystemMoveRecoveryError,
|
|
131
|
+
FileSystemPartialMoveError,
|
|
132
|
+
FsError,
|
|
133
|
+
HOST_WIRE_LIMITS,
|
|
134
|
+
IndexedDBContentContainer,
|
|
135
|
+
IndexedDBFileSystemProvider,
|
|
136
|
+
IndexedDBFileSystemProviderV2,
|
|
137
|
+
LegacyFileSystemProviderV2Adapter,
|
|
138
|
+
MemoryFileSystemProvider,
|
|
139
|
+
MemoryFileSystemProviderV2,
|
|
140
|
+
NativeFileSystemMoveRecoveryError,
|
|
141
|
+
NativeFileSystemProvider,
|
|
142
|
+
NativeFileSystemProviderV2,
|
|
143
|
+
SHARED_DOCUMENT_LIMITS,
|
|
144
|
+
WORKSPACE_ROOT,
|
|
145
|
+
createDbkWorkspaceSnapshot,
|
|
146
|
+
createFileMediaProvider,
|
|
147
|
+
createFileSystemDocumentTarget,
|
|
148
|
+
createSharedDocumentHash,
|
|
149
|
+
createSharedDocumentUrl,
|
|
150
|
+
decodeUtf8Text,
|
|
151
|
+
describeEntryMove,
|
|
152
|
+
describePartialMove,
|
|
153
|
+
deserializeFsError,
|
|
154
|
+
documentCompanionPath,
|
|
155
|
+
ensureDefaultWorkspace,
|
|
156
|
+
fsErrorFromUnknown,
|
|
157
|
+
getDefaultDocumentRecoveryStorage,
|
|
158
|
+
getDocBlocksHost,
|
|
159
|
+
getFileSystemProviderV2,
|
|
160
|
+
getTransientWorkspace,
|
|
161
|
+
getWorkspace,
|
|
162
|
+
hasFileSystemProviderV2,
|
|
163
|
+
isBoundedBytePayload,
|
|
164
|
+
isBoundedString,
|
|
165
|
+
isElectronHost,
|
|
166
|
+
isFileSystemMoveRecoveryError,
|
|
167
|
+
isFileSystemMoveStateError,
|
|
168
|
+
isFileSystemPartialMoveError,
|
|
169
|
+
isNativeFileSystemSupported,
|
|
170
|
+
isQuotaExceededError,
|
|
171
|
+
isSerializedFsError,
|
|
172
|
+
isTrustedRendererUrl,
|
|
173
|
+
listWorkspaces,
|
|
174
|
+
loadDirectoryHandle,
|
|
175
|
+
mapDomExceptionToFsErrorCode,
|
|
176
|
+
mapNodeErrorCodeToFsErrorCode,
|
|
177
|
+
maybeGetDocBlocksHost,
|
|
178
|
+
moveFileSystemEntry,
|
|
179
|
+
openNativeFolder,
|
|
180
|
+
parseExternalHttpUrl,
|
|
181
|
+
parseFileSystemVersion,
|
|
182
|
+
parseOpenRequest,
|
|
183
|
+
parsePersistedWorkspaceList,
|
|
184
|
+
parseSharedDocumentHash,
|
|
185
|
+
parseWorkspacePath,
|
|
186
|
+
reconcileElectronWorkspaceDescriptors,
|
|
187
|
+
registerTransientWorkspace,
|
|
188
|
+
removeDirectoryHandle,
|
|
189
|
+
removeWorkspace,
|
|
190
|
+
replaceMemoryWorkspaceFromDbk,
|
|
191
|
+
restoreNativeFolder,
|
|
192
|
+
saveWorkspace,
|
|
193
|
+
serializeFsError,
|
|
194
|
+
storeDirectoryHandle,
|
|
195
|
+
touchWorkspace,
|
|
196
|
+
tryParseFileSystemVersion,
|
|
197
|
+
tryParseWorkspacePath,
|
|
198
|
+
unregisterTransientWorkspace,
|
|
199
|
+
workspacePathBasename,
|
|
200
|
+
workspacePathContains,
|
|
201
|
+
workspacePathDirname,
|
|
202
|
+
workspacePathJoin,
|
|
203
|
+
workspacePathToLegacy
|
|
204
|
+
};
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,4 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { A as ArtifactRef, C as ComparisonResult, a as ConversionResult, D as DocumentSource, I as InspectionResult, M as MaterializationOptions, b as McpDiagnostic, c as McpErrorResult, P as PreviewResult, V as ValidationResult } from '../types-CX893hgH.js';
|
|
2
|
+
export { d as AppliedOption, e as AppliedOptionValue, f as ApplyInferredThemeResult, g as ArtifactDocumentSource, h as AssetSummary, B as BlockSummary, i as BundleAssetContentSource, j as BundleAssetRef, k as BundleDocumentSource, l as ComparisonCategory, m as ComparisonChange, n as ComparisonMetric, o as ComparisonStatus, p as ConversionFidelity, q as ConvertDocumentResult, r as DOCBLOCKS_MCP_TOOL_NAMES, s as DOCBLOCKS_MCP_WIRE_VERSION, t as DescribeTemplateResult, u as DescribeThemeResult, v as DescribedTemplate, w as DiagnosticLocation, x as DiagnosticSeverity, y as DiagnosticStage, z as DocBlocksMcpToolName, E as DocBlocksMcpWireVersion, F as DocumentItemSummary, G as DocumentMetadataSummary, H as DocumentStatistics, J as EngineVersion, K as FileDocumentSource, L as FormatCapabilitySummary, N as FormatDirectionCapability, O as InferThemeResult, Q as InferredLayoutSummary, R as InspectPptxLayoutsResult, S as LinkSummary, T as ListFormatsResult, U as ListRootsResult, W as ListTemplatesResult, X as ListThemesResult, Y as ListTransformStylesResult, Z as MarkdownDocumentSource, _ as McpErrorDetail, $ as McpSuccessResult, a0 as OutlineEntry, a1 as PptxLayoutSummary, a2 as PptxSlideSize, a3 as PreviewItem, a4 as PreviewItemKind, a5 as RecommendTemplatesResult, a6 as RootGrantSummary, a7 as SaveArtifactResult, a8 as SavedArtifactDestination, a9 as SourceRange, aa as TableSummary, ab as TemplateContentProfile, ac as TemplateInputSummary, ad as TemplateRecommendation, ae as TemplateSummary, af as ThemeCatalogEntry, ag as ThemeDescription, ah as ThemeDescriptionColors, ai as ThemeSummary, aj as TransformStyleSummary, ak as ValidationSummary } from '../types-CX893hgH.js';
|
|
3
|
+
import '../workspace-path-CWVrcuPL.js';
|
|
4
|
+
|
|
5
|
+
/** Quantitative limits for untrusted MCP payloads. */
|
|
6
|
+
declare const MCP_WIRE_LIMITS: Readonly<{
|
|
7
|
+
identifierCharacters: 256;
|
|
8
|
+
formatCharacters: 64;
|
|
9
|
+
mimeTypeCharacters: 256;
|
|
10
|
+
labelCharacters: 1024;
|
|
11
|
+
pathCharacters: 4096;
|
|
12
|
+
uriCharacters: 8192;
|
|
13
|
+
messageCharacters: 4000;
|
|
14
|
+
excerptCharacters: 4096;
|
|
15
|
+
documentCharacters: number;
|
|
16
|
+
artifactBytes: number;
|
|
17
|
+
bundleAssets: 256;
|
|
18
|
+
arrayEntries: 10000;
|
|
19
|
+
previewItems: 1000;
|
|
20
|
+
imageDimension: 32768;
|
|
21
|
+
}>;
|
|
22
|
+
declare function parseArtifactRef(value: unknown): ArtifactRef | null;
|
|
23
|
+
declare function parseDocumentSource(value: unknown): DocumentSource | null;
|
|
24
|
+
declare function parseMcpDiagnostic(value: unknown): McpDiagnostic | null;
|
|
25
|
+
declare function parseMcpErrorResult(value: unknown): McpErrorResult | null;
|
|
26
|
+
declare function parseConversionResult(value: unknown): ConversionResult | null;
|
|
27
|
+
declare function parseInspectionResult(value: unknown): InspectionResult | null;
|
|
28
|
+
declare function parseValidationResult(value: unknown): ValidationResult | null;
|
|
29
|
+
declare function parsePreviewResult(value: unknown): PreviewResult | null;
|
|
30
|
+
declare function parseComparisonResult(value: unknown): ComparisonResult | null;
|
|
31
|
+
declare function parseMaterializationOptions(value: unknown): MaterializationOptions | null;
|
|
32
|
+
|
|
33
|
+
export { ArtifactRef, ComparisonResult, ConversionResult, DocumentSource, InspectionResult, MCP_WIRE_LIMITS, MaterializationOptions, McpDiagnostic, McpErrorResult, PreviewResult, ValidationResult, parseArtifactRef, parseComparisonResult, parseConversionResult, parseDocumentSource, parseInspectionResult, parseMaterializationOptions, parseMcpDiagnostic, parseMcpErrorResult, parsePreviewResult, parseValidationResult };
|
package/dist/mcp/index.js
CHANGED
|
@@ -1,4 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import {
|
|
2
|
+
DOCBLOCKS_MCP_TOOL_NAMES,
|
|
3
|
+
DOCBLOCKS_MCP_WIRE_VERSION,
|
|
4
|
+
MCP_WIRE_LIMITS,
|
|
5
|
+
parseArtifactRef,
|
|
6
|
+
parseComparisonResult,
|
|
7
|
+
parseConversionResult,
|
|
8
|
+
parseDocumentSource,
|
|
9
|
+
parseInspectionResult,
|
|
10
|
+
parseMaterializationOptions,
|
|
11
|
+
parseMcpDiagnostic,
|
|
12
|
+
parseMcpErrorResult,
|
|
13
|
+
parsePreviewResult,
|
|
14
|
+
parseValidationResult
|
|
15
|
+
} from "../chunk-HI7QEWL6.js";
|
|
16
|
+
import "../chunk-AYWKIZLD.js";
|
|
17
|
+
export {
|
|
18
|
+
DOCBLOCKS_MCP_TOOL_NAMES,
|
|
19
|
+
DOCBLOCKS_MCP_WIRE_VERSION,
|
|
20
|
+
MCP_WIRE_LIMITS,
|
|
21
|
+
parseArtifactRef,
|
|
22
|
+
parseComparisonResult,
|
|
23
|
+
parseConversionResult,
|
|
24
|
+
parseDocumentSource,
|
|
25
|
+
parseInspectionResult,
|
|
26
|
+
parseMaterializationOptions,
|
|
27
|
+
parseMcpDiagnostic,
|
|
28
|
+
parseMcpErrorResult,
|
|
29
|
+
parsePreviewResult,
|
|
30
|
+
parseValidationResult
|
|
31
|
+
};
|