@bendyline/docblocks 2.7.2 → 2.7.4
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/THIRD_PARTY_NOTICES.txt +4 -4
- package/dist/{capabilities-BvUC17t9.d.ts → capabilities-BJEkIsO1.d.ts} +9 -4
- package/dist/{chunk-KQ6756AJ.js → chunk-3GSMJ4MQ.js} +1 -1
- package/dist/{chunk-YWYT6K6J.js → chunk-3LXXRIO2.js} +1 -1
- package/dist/{chunk-STUIS5UZ.js → chunk-7LPIGCBG.js} +17 -3
- package/dist/{chunk-UK7R3RC7.js → chunk-BC42VRYW.js} +1 -1
- package/dist/{chunk-IGB2VSRE.js → chunk-FIEMYP2N.js} +2 -2
- package/dist/{chunk-M5ZNQGR5.js → chunk-IYKGM3PV.js} +1 -1
- package/dist/{chunk-6UPO2GE6.js → chunk-K5HRMSXD.js} +3 -3
- package/dist/{chunk-NM5KF6YF.js → chunk-KXQDMZFH.js} +9 -1
- package/dist/{chunk-UDEWLHQI.js → chunk-LDAG5NTQ.js} +3 -3
- package/dist/{chunk-7SN7YQL4.js → chunk-LJLQYXVL.js} +99 -3
- package/dist/{chunk-L657M3XG.js → chunk-PSGAZKWO.js} +2 -2
- package/dist/{chunk-HKOOHM67.js → chunk-Q3OFZWJS.js} +3 -3
- package/dist/{chunk-AYWKIZLD.js → chunk-UTH3HYCZ.js} +5 -1
- package/dist/{chunk-QS5WTLUZ.js → chunk-XI2LYBRR.js} +167 -0
- package/dist/document/index.d.ts +2 -2
- package/dist/document/index.js +3 -3
- package/dist/filesystem/electron.d.ts +5 -5
- package/dist/filesystem/electron.js +4 -4
- package/dist/filesystem/host.d.ts +4 -4
- package/dist/filesystem/host.js +4 -4
- package/dist/filesystem/index.d.ts +27 -8
- package/dist/filesystem/index.js +22 -12
- package/dist/filesystem/indexeddb.d.ts +2 -2
- package/dist/filesystem/indexeddb.js +4 -4
- package/dist/filesystem/memory.d.ts +2 -2
- package/dist/filesystem/memory.js +4 -4
- package/dist/filesystem/native.d.ts +2 -2
- package/dist/filesystem/native.js +4 -4
- package/dist/{filesystem-v2-C8AdSXUN.d.ts → filesystem-v2-CXdAPR27.d.ts} +1 -1
- package/dist/host/index.d.ts +5 -5
- package/dist/host/index.js +1 -1
- package/dist/host/mobile.d.ts +2 -2
- package/dist/host/mobile.js +1 -1
- package/dist/{host-provider-v2-CV0joXaL.d.ts → host-provider-v2-DEWMPiRD.d.ts} +2 -2
- package/dist/index.d.ts +8 -7
- package/dist/index.js +23 -13
- package/dist/mcp/index.js +2 -2
- package/dist/mcp/zod.js +2 -2
- package/dist/reconcile-electron-Bz-iAY_B.d.ts +142 -0
- package/dist/{types-BvDnr3YU.d.ts → types-DLteNrK0.d.ts} +3 -1
- package/dist/{v2-BVnZZyd4.d.ts → v2-DwxWjFC0.d.ts} +12 -1
- package/dist/vscode/index.d.ts +28 -2
- package/dist/vscode/index.js +21 -3
- package/dist/workspace/index.d.ts +41 -141
- package/dist/workspace/index.js +16 -1
- package/dist/workspace-index/index.d.ts +3 -1
- package/dist/workspace-index/index.js +18 -2
- package/dist/workspace-settings/index.d.ts +1 -1
- package/dist/workspace-settings/index.js +3 -3
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as FileSystemProvider, F as FileCommitResult, c as FileSystemEntry, b as FileMeta } from '../types-
|
|
2
|
-
import { H as HostFileSystemProviderV2 } from '../host-provider-v2-
|
|
1
|
+
import { d as FileSystemProvider, F as FileCommitResult, c as FileSystemEntry, b as FileMeta } from '../types-DLteNrK0.js';
|
|
2
|
+
import { H as HostFileSystemProviderV2 } from '../host-provider-v2-DEWMPiRD.js';
|
|
3
3
|
export { isElectronHost } from '../host/index.js';
|
|
4
|
-
import '../v2-
|
|
4
|
+
import '../v2-DwxWjFC0.js';
|
|
5
5
|
import '../workspace-path-CWVrcuPL.js';
|
|
6
|
-
import '../filesystem-v2-
|
|
7
|
-
import '../capabilities-
|
|
6
|
+
import '../filesystem-v2-CXdAPR27.js';
|
|
7
|
+
import '../capabilities-BJEkIsO1.js';
|
|
8
8
|
|
|
9
9
|
/** Compatibility entry point retaining the Electron backend's exact guarantees. */
|
|
10
10
|
declare class ElectronFileSystemProviderV2 extends HostFileSystemProviderV2 {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ElectronFileSystemProvider,
|
|
3
3
|
ElectronFileSystemProviderV2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-PSGAZKWO.js";
|
|
5
|
+
import "../chunk-7LPIGCBG.js";
|
|
6
6
|
import {
|
|
7
7
|
isElectronHost
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-KXQDMZFH.js";
|
|
9
9
|
import "../chunk-245W57QP.js";
|
|
10
10
|
import "../chunk-46AGYHDY.js";
|
|
11
11
|
import "../chunk-73OOROXH.js";
|
|
12
12
|
import "../chunk-HABG2JM3.js";
|
|
13
13
|
import "../chunk-LPIJ6HKL.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-UTH3HYCZ.js";
|
|
15
15
|
export {
|
|
16
16
|
ElectronFileSystemProvider,
|
|
17
17
|
ElectronFileSystemProviderV2,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { H as HostFileSystemProviderV2, a as HostFileSystemClientOptions } from '../host-provider-v2-
|
|
2
|
-
import { d as FileSystemProvider, F as FileCommitResult, c as FileSystemEntry, b as FileMeta } from '../types-
|
|
3
|
-
import '../filesystem-v2-
|
|
4
|
-
import '../v2-
|
|
1
|
+
import { H as HostFileSystemProviderV2, a as HostFileSystemClientOptions } from '../host-provider-v2-DEWMPiRD.js';
|
|
2
|
+
import { d as FileSystemProvider, F as FileCommitResult, c as FileSystemEntry, b as FileMeta } from '../types-DLteNrK0.js';
|
|
3
|
+
import '../filesystem-v2-CXdAPR27.js';
|
|
4
|
+
import '../v2-DwxWjFC0.js';
|
|
5
5
|
import '../workspace-path-CWVrcuPL.js';
|
|
6
6
|
|
|
7
7
|
/** Temporary text facade; all storage and conditional mutation is owned by v2. */
|
package/dist/filesystem/host.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HostFileSystemProviderV2
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7LPIGCBG.js";
|
|
4
4
|
import {
|
|
5
5
|
ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
|
|
6
6
|
maybeGetDocBlocksHost
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-KXQDMZFH.js";
|
|
8
8
|
import "../chunk-245W57QP.js";
|
|
9
9
|
import "../chunk-46AGYHDY.js";
|
|
10
10
|
import "../chunk-73OOROXH.js";
|
|
@@ -12,11 +12,11 @@ import "../chunk-HABG2JM3.js";
|
|
|
12
12
|
import "../chunk-LPIJ6HKL.js";
|
|
13
13
|
import {
|
|
14
14
|
decodeUtf8Text
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-IYKGM3PV.js";
|
|
16
16
|
import {
|
|
17
17
|
FsError,
|
|
18
18
|
parseWorkspacePath
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-UTH3HYCZ.js";
|
|
20
20
|
|
|
21
21
|
// src/filesystem/host-provider.ts
|
|
22
22
|
var HostFileSystemProvider = class {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { d as FileSystemProvider } from '../types-
|
|
2
|
-
export { F as FileCommitResult, a as FileEntry, b as FileMeta, c as FileSystemEntry, e as FileSystemProviderWithV2, f as FolderEntry, g as getFileSystemProviderV2, h as hasFileSystemProviderV2 } from '../types-
|
|
1
|
+
import { d as FileSystemProvider } from '../types-DLteNrK0.js';
|
|
2
|
+
export { F as FileCommitResult, a as FileEntry, b as FileMeta, c as FileSystemEntry, e as FileSystemProviderWithV2, f as FolderEntry, g as getFileSystemProviderV2, h as hasFileSystemProviderV2 } from '../types-DLteNrK0.js';
|
|
3
|
+
import { WikiLinkSuggestion } from '@bendyline/squisq/markdown';
|
|
3
4
|
import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
|
|
4
5
|
export { W as WORKSPACE_ROOT, 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';
|
|
5
|
-
import {
|
|
6
|
-
export { b as FileSystemConditionalWriteStrength, c as FileSystemCreateDirectoryMode,
|
|
6
|
+
import { J as FsOperation, o as FileSystemProviderV2, n as FileSystemProviderCapabilities, F as FileSystemAtomicity, a as FileSystemCaseSensitivity, u as FileSystemSymlinkPolicy, f as FileSystemDurability, h as FileSystemEntrySnapshot, j as FileSystemFileRead, E as FileSystemWriteOptions, k as FileSystemFileSnapshot, d as FileSystemCreateDirectoryOptions, e as FileSystemDirectorySnapshot, p as FileSystemRemoveOptions, q as FileSystemRemoveResult, l as FileSystemMoveOptions, r as FileSystemSnapshot, A as FileSystemWatchListener, B as FileSystemWatchOptions, C as FileSystemWatchSubscription } from '../v2-DwxWjFC0.js';
|
|
7
|
+
export { b as FileSystemConditionalWriteStrength, c as FileSystemCreateDirectoryMode, g as FileSystemEntryReadIssue, i as FileSystemEntryWatchEvent, m as FileSystemOverflowWatchEvent, s as FileSystemSnapshotEntry, t as FileSystemSnapshotFile, v as FileSystemVersion, w as FileSystemWatchErrorListener, x as FileSystemWatchEvent, y as FileSystemWatchEventOrigin, z as FileSystemWatchEventType, D as FileSystemWriteMode, G as FsError, H as FsErrorCode, I as FsErrorContext, S as SerializedFsError, K as deserializeFsError, L as fsErrorFromUnknown, M as isQuotaExceededError, N as isSerializedFsError, O as mapDomExceptionToFsErrorCode, P as mapNodeErrorCodeToFsErrorCode, Q as parseFileSystemVersion, R as serializeFsError, T as tryParseFileSystemVersion } from '../v2-DwxWjFC0.js';
|
|
7
8
|
import { MemoryFileSystemSnapshot, MemoryFileSystemProvider } from './memory.js';
|
|
8
9
|
export { MemoryFilePayloadKind, MemoryFileSystemProviderV2, MemoryFileSystemSnapshotFile, MemoryFileSystemV2CompatibilityFile, MemoryFileSystemV2Replacement, MemoryFileSystemV2ReplacementFile, MemoryFileSystemV2State, MemoryFileSystemV2StateFile } from './memory.js';
|
|
9
10
|
export { IndexedDBContentContainer, IndexedDBFileSystemProvider, IndexedDBFileSystemProviderV2, IndexedDBFileSystemProviderV2Options, IndexedDBLegacyConflictReason, IndexedDBLegacyConflictResolution, IndexedDBLegacyMigrationConflict, IndexedDBLegacyOpaqueDiscardTarget, IndexedDBLegacyOpaqueRecord, IndexedDBLegacyOpaqueRecordSummary, IndexedDBLegacyOpaqueValue, IndexedDBLegacyRecoveryCandidate, IndexedDBLegacyRecoveryKind } from './indexeddb.js';
|
|
@@ -12,9 +13,27 @@ import { MediaProvider } from '@bendyline/squisq/schemas';
|
|
|
12
13
|
export { NativeFileSystemMovePathState, NativeFileSystemMoveRecoveryError, NativeFileSystemMoveRecoveryState, NativeFileSystemProvider, NativeFileSystemProviderV2, isNativeFileSystemSupported, loadDirectoryHandle, openNativeFolder, removeDirectoryHandle, restoreNativeFolder, storeDirectoryHandle } from './native.js';
|
|
13
14
|
export { ElectronFileSystemProvider, ElectronFileSystemProviderV2 } from './electron.js';
|
|
14
15
|
export { isElectronHost } from '../host/index.js';
|
|
15
|
-
import '../host-provider-v2-
|
|
16
|
-
import '../filesystem-v2-
|
|
17
|
-
import '../capabilities-
|
|
16
|
+
import '../host-provider-v2-DEWMPiRD.js';
|
|
17
|
+
import '../filesystem-v2-CXdAPR27.js';
|
|
18
|
+
import '../capabilities-BJEkIsO1.js';
|
|
19
|
+
|
|
20
|
+
/** Immediate article/folder suggestions from an already bounded listing. */
|
|
21
|
+
declare function suggestWikiArticles(files: readonly {
|
|
22
|
+
path: string;
|
|
23
|
+
}[], directories: readonly string[], documentPath: string, query: string, extension?: '.md' | '.html', explicitExtensions?: boolean): Promise<WikiLinkSuggestion[]>;
|
|
24
|
+
/** Resolve a literal wiki name beside its source, never relative to the media sidecar. */
|
|
25
|
+
declare function resolveWikiArticlePath(documentPath: string, target: string, extension?: '.md' | '.html'): Promise<WorkspacePath>;
|
|
26
|
+
/** Prefer the workspace's article format, then reuse an existing alternate.
|
|
27
|
+
* Explicit extensions always address exactly that file. No recursive scan. */
|
|
28
|
+
declare function findWikiArticle(provider: FileSystemProvider, documentPath: string, target: string, extension?: '.md' | '.html'): Promise<{
|
|
29
|
+
path: WorkspacePath;
|
|
30
|
+
relativePath: string;
|
|
31
|
+
exists: boolean;
|
|
32
|
+
}>;
|
|
33
|
+
declare function wikiArticleExists(provider: FileSystemProvider, path: WorkspacePath): Promise<boolean>;
|
|
34
|
+
/** Create only after the current DocumentSession has flushed. A race winner
|
|
35
|
+
* is opened as-is; permission and IO errors must not become "missing". */
|
|
36
|
+
declare function ensureWikiArticle(provider: FileSystemProvider, path: WorkspacePath): Promise<boolean>;
|
|
18
37
|
|
|
19
38
|
interface DecodeUtf8TextOptions {
|
|
20
39
|
/** User-facing description of the payload being decoded. */
|
|
@@ -272,4 +291,4 @@ declare function isFileSystemMoveStateError(error: unknown): error is FileSystem
|
|
|
272
291
|
declare function describePartialMove(provider: FileSystemProvider, sourcePath: string, destinationPath: string, companionSourcePath: string, companionDestinationPath: string): Promise<FileSystemPartialMoveState>;
|
|
273
292
|
declare function describeEntryMove(provider: FileSystemProvider, sourcePath: string, destinationPath: string): Promise<FileSystemEntryMoveState>;
|
|
274
293
|
|
|
275
|
-
export { type DbkWorkspaceAssetLayout, type DbkWorkspaceSnapshot, type DbkWorkspaceSnapshotOptions, type DecodeUtf8TextOptions, FileSystemAtomicity, FileSystemCaseSensitivity, FileSystemContentContainer, FileSystemCreateDirectoryOptions, FileSystemDirectorySnapshot, FileSystemDurability, type FileSystemEntryMoveOptions, type FileSystemEntryMoveState, FileSystemEntrySnapshot, FileSystemFileRead, FileSystemFileSnapshot, type FileSystemMoveLocation, FileSystemMoveOptions, FileSystemMoveRecoveryError, FileSystemPartialMoveError, type FileSystemPartialMoveState, type FileSystemPathPresence, FileSystemProvider, FileSystemProviderCapabilities, FileSystemProviderV2, FileSystemRemoveOptions, FileSystemRemoveResult, FileSystemSnapshot, FileSystemSymlinkPolicy, FileSystemWatchListener, FileSystemWatchOptions, FileSystemWatchSubscription, FileSystemWriteOptions, FsOperation, type LegacyFilePayloadModel, LegacyFileSystemProviderV2Adapter, type LegacyFileSystemProviderV2AdapterOptions, MARKDOWN_FILE_EXTENSIONS, MemoryFileSystemProvider, MemoryFileSystemSnapshot, SQUISQ_RUNTIME_DIRECTORY_NAME, WorkspacePath, createDbkWorkspaceSnapshot, createFileMediaProvider, decodeUtf8Text, describeEntryMove, describePartialMove, documentCompanionPath, isBrowsableWorkspaceEntry, isCompanionDirectoryName, isDiscoverableWorkspaceEntry, isFileSystemMoveRecoveryError, isFileSystemMoveStateError, isFileSystemPartialMoveError, isIgnoredWorkspaceEntryName, isMarkdownFileName, moveFileSystemEntry, replaceMemoryWorkspaceFromDbk, rewriteCompanionReferences };
|
|
294
|
+
export { type DbkWorkspaceAssetLayout, type DbkWorkspaceSnapshot, type DbkWorkspaceSnapshotOptions, type DecodeUtf8TextOptions, FileSystemAtomicity, FileSystemCaseSensitivity, FileSystemContentContainer, FileSystemCreateDirectoryOptions, FileSystemDirectorySnapshot, FileSystemDurability, type FileSystemEntryMoveOptions, type FileSystemEntryMoveState, FileSystemEntrySnapshot, FileSystemFileRead, FileSystemFileSnapshot, type FileSystemMoveLocation, FileSystemMoveOptions, FileSystemMoveRecoveryError, FileSystemPartialMoveError, type FileSystemPartialMoveState, type FileSystemPathPresence, FileSystemProvider, FileSystemProviderCapabilities, FileSystemProviderV2, FileSystemRemoveOptions, FileSystemRemoveResult, FileSystemSnapshot, FileSystemSymlinkPolicy, FileSystemWatchListener, FileSystemWatchOptions, FileSystemWatchSubscription, FileSystemWriteOptions, FsOperation, type LegacyFilePayloadModel, LegacyFileSystemProviderV2Adapter, type LegacyFileSystemProviderV2AdapterOptions, MARKDOWN_FILE_EXTENSIONS, MemoryFileSystemProvider, MemoryFileSystemSnapshot, SQUISQ_RUNTIME_DIRECTORY_NAME, WorkspacePath, createDbkWorkspaceSnapshot, createFileMediaProvider, decodeUtf8Text, describeEntryMove, describePartialMove, documentCompanionPath, ensureWikiArticle, findWikiArticle, isBrowsableWorkspaceEntry, isCompanionDirectoryName, isDiscoverableWorkspaceEntry, isFileSystemMoveRecoveryError, isFileSystemMoveStateError, isFileSystemPartialMoveError, isIgnoredWorkspaceEntryName, isMarkdownFileName, moveFileSystemEntry, replaceMemoryWorkspaceFromDbk, resolveWikiArticlePath, rewriteCompanionReferences, suggestWikiArticles, wikiArticleExists };
|
package/dist/filesystem/index.js
CHANGED
|
@@ -4,10 +4,15 @@ import {
|
|
|
4
4
|
createDbkWorkspaceSnapshot,
|
|
5
5
|
createFileMediaProvider,
|
|
6
6
|
documentCompanionPath,
|
|
7
|
+
ensureWikiArticle,
|
|
8
|
+
findWikiArticle,
|
|
7
9
|
moveFileSystemEntry,
|
|
8
10
|
replaceMemoryWorkspaceFromDbk,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
resolveWikiArticlePath,
|
|
12
|
+
rewriteCompanionReferences,
|
|
13
|
+
suggestWikiArticles,
|
|
14
|
+
wikiArticleExists
|
|
15
|
+
} from "../chunk-LJLQYXVL.js";
|
|
11
16
|
import {
|
|
12
17
|
MARKDOWN_FILE_EXTENSIONS,
|
|
13
18
|
SQUISQ_RUNTIME_DIRECTORY_NAME,
|
|
@@ -21,12 +26,12 @@ import {
|
|
|
21
26
|
IndexedDBContentContainer,
|
|
22
27
|
IndexedDBFileSystemProvider,
|
|
23
28
|
IndexedDBFileSystemProviderV2
|
|
24
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-Q3OFZWJS.js";
|
|
25
30
|
import "../chunk-DAPFSEKY.js";
|
|
26
31
|
import {
|
|
27
32
|
MemoryFileSystemProvider,
|
|
28
33
|
MemoryFileSystemProviderV2
|
|
29
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-LDAG5NTQ.js";
|
|
30
35
|
import {
|
|
31
36
|
NativeFileSystemMoveRecoveryError,
|
|
32
37
|
NativeFileSystemProvider,
|
|
@@ -37,17 +42,17 @@ import {
|
|
|
37
42
|
removeDirectoryHandle,
|
|
38
43
|
restoreNativeFolder,
|
|
39
44
|
storeDirectoryHandle
|
|
40
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-K5HRMSXD.js";
|
|
41
46
|
import "../chunk-DZB666V7.js";
|
|
42
|
-
import "../chunk-
|
|
47
|
+
import "../chunk-3GSMJ4MQ.js";
|
|
43
48
|
import {
|
|
44
49
|
ElectronFileSystemProvider,
|
|
45
50
|
ElectronFileSystemProviderV2
|
|
46
|
-
} from "../chunk-
|
|
47
|
-
import "../chunk-
|
|
51
|
+
} from "../chunk-PSGAZKWO.js";
|
|
52
|
+
import "../chunk-7LPIGCBG.js";
|
|
48
53
|
import {
|
|
49
54
|
isElectronHost
|
|
50
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-KXQDMZFH.js";
|
|
51
56
|
import "../chunk-245W57QP.js";
|
|
52
57
|
import "../chunk-46AGYHDY.js";
|
|
53
58
|
import "../chunk-73OOROXH.js";
|
|
@@ -64,14 +69,14 @@ import {
|
|
|
64
69
|
isFileSystemMoveRecoveryError,
|
|
65
70
|
isFileSystemMoveStateError,
|
|
66
71
|
isFileSystemPartialMoveError
|
|
67
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-FIEMYP2N.js";
|
|
68
73
|
import {
|
|
69
74
|
getFileSystemProviderV2,
|
|
70
75
|
hasFileSystemProviderV2
|
|
71
76
|
} from "../chunk-XAMILHQP.js";
|
|
72
77
|
import {
|
|
73
78
|
decodeUtf8Text
|
|
74
|
-
} from "../chunk-
|
|
79
|
+
} from "../chunk-IYKGM3PV.js";
|
|
75
80
|
import {
|
|
76
81
|
FsError,
|
|
77
82
|
WORKSPACE_ROOT,
|
|
@@ -89,7 +94,7 @@ import {
|
|
|
89
94
|
workspacePathDirname,
|
|
90
95
|
workspacePathJoin,
|
|
91
96
|
workspacePathToLegacy
|
|
92
|
-
} from "../chunk-
|
|
97
|
+
} from "../chunk-UTH3HYCZ.js";
|
|
93
98
|
export {
|
|
94
99
|
ElectronFileSystemProvider,
|
|
95
100
|
ElectronFileSystemProviderV2,
|
|
@@ -116,6 +121,8 @@ export {
|
|
|
116
121
|
describePartialMove,
|
|
117
122
|
deserializeFsError,
|
|
118
123
|
documentCompanionPath,
|
|
124
|
+
ensureWikiArticle,
|
|
125
|
+
findWikiArticle,
|
|
119
126
|
fsErrorFromUnknown,
|
|
120
127
|
getFileSystemProviderV2,
|
|
121
128
|
hasFileSystemProviderV2,
|
|
@@ -140,12 +147,15 @@ export {
|
|
|
140
147
|
parseWorkspacePath,
|
|
141
148
|
removeDirectoryHandle,
|
|
142
149
|
replaceMemoryWorkspaceFromDbk,
|
|
150
|
+
resolveWikiArticlePath,
|
|
143
151
|
restoreNativeFolder,
|
|
144
152
|
rewriteCompanionReferences,
|
|
145
153
|
serializeFsError,
|
|
146
154
|
storeDirectoryHandle,
|
|
155
|
+
suggestWikiArticles,
|
|
147
156
|
tryParseFileSystemVersion,
|
|
148
157
|
tryParseWorkspacePath,
|
|
158
|
+
wikiArticleExists,
|
|
149
159
|
workspacePathBasename,
|
|
150
160
|
workspacePathContains,
|
|
151
161
|
workspacePathDirname,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as FileMeta, d as FileSystemProvider, F as FileCommitResult, c as FileSystemEntry } from '../types-
|
|
2
|
-
import {
|
|
1
|
+
import { b as FileMeta, d as FileSystemProvider, F as FileCommitResult, c as FileSystemEntry } from '../types-DLteNrK0.js';
|
|
2
|
+
import { o as FileSystemProviderV2, n as FileSystemProviderCapabilities, h as FileSystemEntrySnapshot, j as FileSystemFileRead, E as FileSystemWriteOptions, k as FileSystemFileSnapshot, d as FileSystemCreateDirectoryOptions, e as FileSystemDirectorySnapshot, p as FileSystemRemoveOptions, q as FileSystemRemoveResult, l as FileSystemMoveOptions, r as FileSystemSnapshot, A as FileSystemWatchListener, B as FileSystemWatchOptions, C as FileSystemWatchSubscription } from '../v2-DwxWjFC0.js';
|
|
3
3
|
import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
|
|
4
4
|
import { ContentContainer, ContentEntry } from '@bendyline/squisq/storage';
|
|
5
5
|
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
IndexedDBContentContainer,
|
|
3
3
|
IndexedDBFileSystemProvider,
|
|
4
4
|
IndexedDBFileSystemProviderV2
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-Q3OFZWJS.js";
|
|
6
6
|
import {
|
|
7
7
|
deleteIndexedDBWorkspaceData,
|
|
8
8
|
indexedDBWorkspaceDatabaseName
|
|
9
9
|
} from "../chunk-DAPFSEKY.js";
|
|
10
10
|
import "../chunk-DZB666V7.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-3GSMJ4MQ.js";
|
|
12
12
|
import "../chunk-73OOROXH.js";
|
|
13
13
|
import "../chunk-HABG2JM3.js";
|
|
14
14
|
import "../chunk-LPIJ6HKL.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-IYKGM3PV.js";
|
|
16
|
+
import "../chunk-UTH3HYCZ.js";
|
|
17
17
|
export {
|
|
18
18
|
IndexedDBContentContainer,
|
|
19
19
|
IndexedDBFileSystemProvider,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FileCommitResult, d as FileSystemProvider, c as FileSystemEntry, b as FileMeta } from '../types-
|
|
2
|
-
import {
|
|
1
|
+
import { F as FileCommitResult, d as FileSystemProvider, c as FileSystemEntry, b as FileMeta } from '../types-DLteNrK0.js';
|
|
2
|
+
import { o as FileSystemProviderV2, n as FileSystemProviderCapabilities, E as FileSystemWriteOptions, k as FileSystemFileSnapshot, h as FileSystemEntrySnapshot, j as FileSystemFileRead, d as FileSystemCreateDirectoryOptions, e as FileSystemDirectorySnapshot, p as FileSystemRemoveOptions, q as FileSystemRemoveResult, l as FileSystemMoveOptions, r as FileSystemSnapshot, A as FileSystemWatchListener, B as FileSystemWatchOptions, C as FileSystemWatchSubscription } from '../v2-DwxWjFC0.js';
|
|
3
3
|
import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
|
|
4
4
|
|
|
5
5
|
type MemoryFilePayloadKind = 'text' | 'binary';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MemoryFileSystemProvider,
|
|
3
3
|
MemoryFileSystemProviderV2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-LDAG5NTQ.js";
|
|
5
|
+
import "../chunk-3GSMJ4MQ.js";
|
|
6
6
|
import "../chunk-HABG2JM3.js";
|
|
7
7
|
import "../chunk-LPIJ6HKL.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-IYKGM3PV.js";
|
|
9
|
+
import "../chunk-UTH3HYCZ.js";
|
|
10
10
|
export {
|
|
11
11
|
MemoryFileSystemProvider,
|
|
12
12
|
MemoryFileSystemProviderV2
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as FileSystemProvider, F as FileCommitResult, c as FileSystemEntry, b as FileMeta } from '../types-
|
|
2
|
-
import {
|
|
1
|
+
import { d as FileSystemProvider, F as FileCommitResult, c as FileSystemEntry, b as FileMeta } from '../types-DLteNrK0.js';
|
|
2
|
+
import { G as FsError, o as FileSystemProviderV2, n as FileSystemProviderCapabilities, h as FileSystemEntrySnapshot, j as FileSystemFileRead, E as FileSystemWriteOptions, k as FileSystemFileSnapshot, d as FileSystemCreateDirectoryOptions, e as FileSystemDirectorySnapshot, p as FileSystemRemoveOptions, q as FileSystemRemoveResult, l as FileSystemMoveOptions, r as FileSystemSnapshot, A as FileSystemWatchListener, B as FileSystemWatchOptions, C as FileSystemWatchSubscription } from '../v2-DwxWjFC0.js';
|
|
3
3
|
import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
|
|
4
4
|
|
|
5
5
|
type NativeFileSystemMovePathState = 'present' | 'missing' | 'unknown';
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
removeDirectoryHandle,
|
|
9
9
|
restoreNativeFolder,
|
|
10
10
|
storeDirectoryHandle
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-K5HRMSXD.js";
|
|
12
12
|
import "../chunk-DZB666V7.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-3GSMJ4MQ.js";
|
|
14
14
|
import "../chunk-HABG2JM3.js";
|
|
15
15
|
import "../chunk-LPIJ6HKL.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-IYKGM3PV.js";
|
|
17
|
+
import "../chunk-UTH3HYCZ.js";
|
|
18
18
|
export {
|
|
19
19
|
NativeFileSystemMoveRecoveryError,
|
|
20
20
|
NativeFileSystemProvider,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as FileSystemProviderCapabilities, S as SerializedFsError, k as FileSystemFileSnapshot, E as FileSystemWriteOptions, h as FileSystemEntrySnapshot, j as FileSystemFileRead, d as FileSystemCreateDirectoryOptions, e as FileSystemDirectorySnapshot, p as FileSystemRemoveOptions, q as FileSystemRemoveResult, l as FileSystemMoveOptions, r as FileSystemSnapshot, x as FileSystemWatchEvent } from './v2-DwxWjFC0.js';
|
|
2
2
|
import { a as WorkspacePath } from './workspace-path-CWVrcuPL.js';
|
|
3
3
|
|
|
4
4
|
/** File size and per-message size are deliberately separate budgets. */
|
package/dist/host/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as AiChatEvent, d as AiChatProgress, f as AiChatRequest, i as AiError, q as AiModelDownloadInfo, s as AiModelInfo, t as AiModelInstallEvent, v as AiPreferences, w as AiPreferencesPatch, x as AiProgress, G as AiStatus, at as SpeechAudioChunk, au as SpeechCatalog, av as SpeechError, ax as SpeechInstallEvent, az as SpeechModelInfo, aA as SpeechModelKind, aG as SpeechResult, aB as SpeechPreferences, aC as SpeechPreferencesPatch, aD as SpeechProgress, aE as SpeechReadiness, aI as SpeechStatus, aK as SpeechSynthesisSummary, aL as SpeechSynthesizeEvent, aM as SpeechSynthesizeRequest, aN as SpeechTranscribeRequest, aO as SpeechTranscript, aP as SpeechVoiceInfo, as as OpenRequest, al as HostPinnedDocument, L as DocBlocksHostAPI, ah as HostCapabilities, aj as HostEnvironment } from '../capabilities-
|
|
2
|
-
export { A as AiChatCompletion, b as AiChatHandle, c as AiChatMessage, e as AiChatPurpose, g as AiConnectionStep, h as AiEnsureWorkspaceHandle, j as AiErrorCode, k as AiImageRequest, l as AiImageResult, m as AiKnowledgeAPI, n as AiKnowledgeAction, o as AiKnowledgeCatalog, p as AiKnowledgeState, r as AiModelFit, u as AiModelInstallHandle, y as AiProviderInfo, z as AiResult, B as AiReviewMode, C as AiSearchHit, D as AiSearchQuery, E as AiSearchResult, F as AiSpeechAudio, H as AiSynthesizeRequest, I as AiTranscribeRequest, J as AiTranscript, K as AiUnavailableReason, M as DocBlocksHostAiAPI, N as DocBlocksHostClipboardAPI, O as DocBlocksHostExportAPI, P as DocBlocksHostExternalAPI, Q as DocBlocksHostFfmpegAPI, R as DocBlocksHostFsAPI, S as DocBlocksHostGitAPI, T as DocBlocksHostLifecycleAPI, U as DocBlocksHostMenuAPI, V as DocBlocksHostShellAPI, W as DocBlocksHostSpeechAPI, X as DocBlocksHostUpdaterAPI, Y as DocBlocksHostWorkspacesAPI, Z as ElectronWorkspaceInfo, _ as ExternalBinaryCommitResult, $ as GitBranchInfo, a0 as GitCapabilities, a1 as GitCloneHandle, a2 as GitCloneProgress, a3 as GitError, a4 as GitErrorCode, a5 as GitFileAtRevision, a6 as GitFileChange, a7 as GitFileStatusCode, a8 as GitLogEntry, a9 as GitLogOptions, aa as GitRemoteInfo, ab as GitRepoDetection, ac as GitResult, ad as GitRevision, ae as GitStatus, af as HOST_PLATFORMS, ag as HOST_SURFACE_KINDS, ai as HostCloseReason, ak as HostExportTargetGrant, am as HostPlatform, an as HostPrepareCloseRequest, ao as HostPrepareCloseResult, ap as HostSurfaceKind, aq as MenuCommand, ar as NO_HOST_CAPABILITIES, aw as SpeechErrorCode, ay as SpeechInstallHandle, aF as SpeechReadinessState, aH as SpeechSegment, aJ as SpeechSynthesisHandle, aQ as SpeechWordTiming, aR as UpdateCheckResult, aS as UpdateInstallResult, aT as UpdaterStatus, aU as deriveHostCapabilities, aV as parseAiKnowledgeAction, aW as parseAiKnowledgeState, aX as parseHostEnvironment } from '../capabilities-
|
|
3
|
-
export { D as DocBlocksHostFsV2API, E as ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, F as FILE_SYSTEM_TRANSFER_LIMITS, H as HostFileSystemReadTransfer, a as HostFileSystemV2OpenRequest, b as HostFileSystemV2Result, c as HostFileSystemV2WatchMessage } from '../filesystem-v2-
|
|
4
|
-
import '../types-
|
|
5
|
-
import '../v2-
|
|
1
|
+
import { a as AiChatEvent, d as AiChatProgress, f as AiChatRequest, i as AiError, q as AiModelDownloadInfo, s as AiModelInfo, t as AiModelInstallEvent, v as AiPreferences, w as AiPreferencesPatch, x as AiProgress, G as AiStatus, at as SpeechAudioChunk, au as SpeechCatalog, av as SpeechError, ax as SpeechInstallEvent, az as SpeechModelInfo, aA as SpeechModelKind, aG as SpeechResult, aB as SpeechPreferences, aC as SpeechPreferencesPatch, aD as SpeechProgress, aE as SpeechReadiness, aI as SpeechStatus, aK as SpeechSynthesisSummary, aL as SpeechSynthesizeEvent, aM as SpeechSynthesizeRequest, aN as SpeechTranscribeRequest, aO as SpeechTranscript, aP as SpeechVoiceInfo, as as OpenRequest, al as HostPinnedDocument, L as DocBlocksHostAPI, ah as HostCapabilities, aj as HostEnvironment } from '../capabilities-BJEkIsO1.js';
|
|
2
|
+
export { A as AiChatCompletion, b as AiChatHandle, c as AiChatMessage, e as AiChatPurpose, g as AiConnectionStep, h as AiEnsureWorkspaceHandle, j as AiErrorCode, k as AiImageRequest, l as AiImageResult, m as AiKnowledgeAPI, n as AiKnowledgeAction, o as AiKnowledgeCatalog, p as AiKnowledgeState, r as AiModelFit, u as AiModelInstallHandle, y as AiProviderInfo, z as AiResult, B as AiReviewMode, C as AiSearchHit, D as AiSearchQuery, E as AiSearchResult, F as AiSpeechAudio, H as AiSynthesizeRequest, I as AiTranscribeRequest, J as AiTranscript, K as AiUnavailableReason, M as DocBlocksHostAiAPI, N as DocBlocksHostClipboardAPI, O as DocBlocksHostExportAPI, P as DocBlocksHostExternalAPI, Q as DocBlocksHostFfmpegAPI, R as DocBlocksHostFsAPI, S as DocBlocksHostGitAPI, T as DocBlocksHostLifecycleAPI, U as DocBlocksHostMenuAPI, V as DocBlocksHostShellAPI, W as DocBlocksHostSpeechAPI, X as DocBlocksHostUpdaterAPI, Y as DocBlocksHostWorkspacesAPI, Z as ElectronWorkspaceInfo, _ as ExternalBinaryCommitResult, $ as GitBranchInfo, a0 as GitCapabilities, a1 as GitCloneHandle, a2 as GitCloneProgress, a3 as GitError, a4 as GitErrorCode, a5 as GitFileAtRevision, a6 as GitFileChange, a7 as GitFileStatusCode, a8 as GitLogEntry, a9 as GitLogOptions, aa as GitRemoteInfo, ab as GitRepoDetection, ac as GitResult, ad as GitRevision, ae as GitStatus, af as HOST_PLATFORMS, ag as HOST_SURFACE_KINDS, ai as HostCloseReason, ak as HostExportTargetGrant, am as HostPlatform, an as HostPrepareCloseRequest, ao as HostPrepareCloseResult, ap as HostSurfaceKind, aq as MenuCommand, ar as NO_HOST_CAPABILITIES, aw as SpeechErrorCode, ay as SpeechInstallHandle, aF as SpeechReadinessState, aH as SpeechSegment, aJ as SpeechSynthesisHandle, aQ as SpeechWordTiming, aR as UpdateCheckResult, aS as UpdateInstallResult, aT as UpdaterStatus, aU as deriveHostCapabilities, aV as parseAiKnowledgeAction, aW as parseAiKnowledgeState, aX as parseHostEnvironment } from '../capabilities-BJEkIsO1.js';
|
|
3
|
+
export { D as DocBlocksHostFsV2API, E as ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, F as FILE_SYSTEM_TRANSFER_LIMITS, H as HostFileSystemReadTransfer, a as HostFileSystemV2OpenRequest, b as HostFileSystemV2Result, c as HostFileSystemV2WatchMessage } from '../filesystem-v2-CXdAPR27.js';
|
|
4
|
+
import '../types-DLteNrK0.js';
|
|
5
|
+
import '../v2-DwxWjFC0.js';
|
|
6
6
|
import '../workspace-path-CWVrcuPL.js';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/host/index.js
CHANGED
package/dist/host/mobile.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as FileSystemProviderCapabilities } from '../v2-DwxWjFC0.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { D as DocBlocksHostFsV2API } from '../filesystem-v2-
|
|
3
|
+
import { D as DocBlocksHostFsV2API } from '../filesystem-v2-CXdAPR27.js';
|
|
4
4
|
import '../workspace-path-CWVrcuPL.js';
|
|
5
5
|
|
|
6
6
|
/** Capabilities cross the native boundary and must describe the actual backend. */
|
package/dist/host/mobile.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as DocBlocksHostFsV2API } from './filesystem-v2-
|
|
1
|
+
import { D as DocBlocksHostFsV2API } from './filesystem-v2-CXdAPR27.js';
|
|
2
2
|
import { a as WorkspacePath } from './workspace-path-CWVrcuPL.js';
|
|
3
|
-
import {
|
|
3
|
+
import { o as FileSystemProviderV2, n as FileSystemProviderCapabilities, h as FileSystemEntrySnapshot, j as FileSystemFileRead, E as FileSystemWriteOptions, k as FileSystemFileSnapshot, d as FileSystemCreateDirectoryOptions, e as FileSystemDirectorySnapshot, p as FileSystemRemoveOptions, q as FileSystemRemoveResult, l as FileSystemMoveOptions, r as FileSystemSnapshot, x as FileSystemWatchEvent, B as FileSystemWatchOptions, C as FileSystemWatchSubscription } from './v2-DwxWjFC0.js';
|
|
4
4
|
|
|
5
5
|
interface HostFileSystemClientOptions {
|
|
6
6
|
readonly capabilities: FileSystemProviderCapabilities;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
export { F as FileCommitResult, a as FileEntry, b as FileMeta, c as FileSystemEntry, d as FileSystemProvider, e as FileSystemProviderWithV2, f as FolderEntry, g as getFileSystemProviderV2, h as hasFileSystemProviderV2 } from './types-
|
|
1
|
+
export { F as FileCommitResult, a as FileEntry, b as FileMeta, c as FileSystemEntry, d as FileSystemProvider, e as FileSystemProviderWithV2, f as FolderEntry, g as getFileSystemProviderV2, h as hasFileSystemProviderV2 } from './types-DLteNrK0.js';
|
|
2
|
+
export { DbkWorkspaceAssetLayout, DbkWorkspaceSnapshot, DbkWorkspaceSnapshotOptions, DecodeUtf8TextOptions, FileSystemContentContainer, FileSystemEntryMoveOptions, FileSystemEntryMoveState, FileSystemMoveLocation, FileSystemMoveRecoveryError, FileSystemPartialMoveError, FileSystemPartialMoveState, FileSystemPathPresence, LegacyFilePayloadModel, LegacyFileSystemProviderV2Adapter, LegacyFileSystemProviderV2AdapterOptions, MARKDOWN_FILE_EXTENSIONS, SQUISQ_RUNTIME_DIRECTORY_NAME, createDbkWorkspaceSnapshot, createFileMediaProvider, decodeUtf8Text, describeEntryMove, describePartialMove, documentCompanionPath, ensureWikiArticle, findWikiArticle, isBrowsableWorkspaceEntry, isCompanionDirectoryName, isDiscoverableWorkspaceEntry, isFileSystemMoveRecoveryError, isFileSystemMoveStateError, isFileSystemPartialMoveError, isIgnoredWorkspaceEntryName, isMarkdownFileName, moveFileSystemEntry, replaceMemoryWorkspaceFromDbk, resolveWikiArticlePath, rewriteCompanionReferences, suggestWikiArticles, wikiArticleExists } from './filesystem/index.js';
|
|
2
3
|
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 { F as FileSystemAtomicity, a as FileSystemCaseSensitivity, b as FileSystemConditionalWriteStrength, c as FileSystemCreateDirectoryMode, d as FileSystemCreateDirectoryOptions, e as FileSystemDirectorySnapshot, f as FileSystemDurability, g as
|
|
4
|
-
export { DbkWorkspaceAssetLayout, DbkWorkspaceSnapshot, DbkWorkspaceSnapshotOptions, DecodeUtf8TextOptions, FileSystemContentContainer, FileSystemEntryMoveOptions, FileSystemEntryMoveState, FileSystemMoveLocation, FileSystemMoveRecoveryError, FileSystemPartialMoveError, FileSystemPartialMoveState, FileSystemPathPresence, LegacyFilePayloadModel, LegacyFileSystemProviderV2Adapter, LegacyFileSystemProviderV2AdapterOptions, MARKDOWN_FILE_EXTENSIONS, SQUISQ_RUNTIME_DIRECTORY_NAME, createDbkWorkspaceSnapshot, createFileMediaProvider, decodeUtf8Text, describeEntryMove, describePartialMove, documentCompanionPath, isBrowsableWorkspaceEntry, isCompanionDirectoryName, isDiscoverableWorkspaceEntry, isFileSystemMoveRecoveryError, isFileSystemMoveStateError, isFileSystemPartialMoveError, isIgnoredWorkspaceEntryName, isMarkdownFileName, moveFileSystemEntry, replaceMemoryWorkspaceFromDbk, rewriteCompanionReferences } from './filesystem/index.js';
|
|
4
|
+
export { F as FileSystemAtomicity, a as FileSystemCaseSensitivity, b as FileSystemConditionalWriteStrength, c as FileSystemCreateDirectoryMode, d as FileSystemCreateDirectoryOptions, e as FileSystemDirectorySnapshot, f as FileSystemDurability, g as FileSystemEntryReadIssue, h as FileSystemEntrySnapshot, i as FileSystemEntryWatchEvent, j as FileSystemFileRead, k as FileSystemFileSnapshot, l as FileSystemMoveOptions, m as FileSystemOverflowWatchEvent, n as FileSystemProviderCapabilities, o as FileSystemProviderV2, p as FileSystemRemoveOptions, q as FileSystemRemoveResult, r as FileSystemSnapshot, s as FileSystemSnapshotEntry, t as FileSystemSnapshotFile, u as FileSystemSymlinkPolicy, v as FileSystemVersion, w as FileSystemWatchErrorListener, x as FileSystemWatchEvent, y as FileSystemWatchEventOrigin, z as FileSystemWatchEventType, A as FileSystemWatchListener, B as FileSystemWatchOptions, C as FileSystemWatchSubscription, D as FileSystemWriteMode, E as FileSystemWriteOptions, G as FsError, H as FsErrorCode, I as FsErrorContext, J as FsOperation, S as SerializedFsError, K as deserializeFsError, L as fsErrorFromUnknown, M as isQuotaExceededError, N as isSerializedFsError, O as mapDomExceptionToFsErrorCode, P as mapNodeErrorCodeToFsErrorCode, Q as parseFileSystemVersion, R as serializeFsError, T as tryParseFileSystemVersion } from './v2-DwxWjFC0.js';
|
|
5
5
|
export { MemoryFilePayloadKind, MemoryFileSystemProvider, MemoryFileSystemProviderV2, MemoryFileSystemSnapshot, MemoryFileSystemSnapshotFile, MemoryFileSystemV2CompatibilityFile, MemoryFileSystemV2Replacement, MemoryFileSystemV2ReplacementFile, MemoryFileSystemV2State, MemoryFileSystemV2StateFile } from './filesystem/memory.js';
|
|
6
6
|
export { IndexedDBContentContainer, IndexedDBFileSystemProvider, IndexedDBFileSystemProviderV2, IndexedDBFileSystemProviderV2Options, IndexedDBLegacyConflictReason, IndexedDBLegacyConflictResolution, IndexedDBLegacyMigrationConflict, IndexedDBLegacyOpaqueDiscardTarget, IndexedDBLegacyOpaqueRecord, IndexedDBLegacyOpaqueRecordSummary, IndexedDBLegacyOpaqueValue, IndexedDBLegacyRecoveryCandidate, IndexedDBLegacyRecoveryKind } from './filesystem/indexeddb.js';
|
|
7
7
|
export { NativeFileSystemMovePathState, NativeFileSystemMoveRecoveryError, NativeFileSystemMoveRecoveryState, NativeFileSystemProvider, NativeFileSystemProviderV2, isNativeFileSystemSupported, loadDirectoryHandle, openNativeFolder, removeDirectoryHandle, restoreNativeFolder, storeDirectoryHandle } from './filesystem/native.js';
|
|
8
8
|
export { ElectronFileSystemProvider, ElectronFileSystemProviderV2 } from './filesystem/electron.js';
|
|
9
9
|
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';
|
|
10
|
-
export { DEFAULT_WORKSPACE_ID, ElectronWorkspaceReconciliation, TransientOrigin, WorkspaceDescriptor, ensureDefaultWorkspace, getTransientWorkspace, getWorkspace, listWorkspaces, parsePersistedWorkspaceList, reconcileElectronWorkspaceDescriptors, registerTransientWorkspace, removeWorkspace, saveWorkspace, touchWorkspace, unregisterTransientWorkspace } from './
|
|
10
|
+
export { D as DEFAULT_WORKSPACE_ID, E as ElectronWorkspaceReconciliation, T as TransientOrigin, W as WorkspaceDescriptor, e as ensureDefaultWorkspace, g as getTransientWorkspace, a as getWorkspace, l as listWorkspaces, p as parsePersistedWorkspaceList, r as reconcileElectronWorkspaceDescriptors, b as registerTransientWorkspace, c as removeWorkspace, s as saveWorkspace, t as touchWorkspace, u as unregisterTransientWorkspace } from './reconcile-electron-Bz-iAY_B.js';
|
|
11
11
|
export { AI_WIRE_LIMITS, EXPORT_TRANSFER_LIMITS, HOST_WIRE_LIMITS, MAX_HOST_PINNED_DOCUMENTS, SPEECH_WIRE_LIMITS, getDocBlocksHost, getHostCapabilities, getHostEnvironment, hasDocBlocksHost, hostSupports, isBoundedBytePayload, isBoundedString, isElectronHost, isSpeechModelId, isTrustedRendererUrl, maybeGetDocBlocksHost, parseAiChatEvent, parseAiChatProgress, parseAiChatRequest, parseAiError, parseAiModelDownloadInfo, parseAiModelDownloadInfoList, parseAiModelInfo, parseAiModelInfoList, parseAiModelInstallEvent, parseAiPreferences, parseAiPreferencesPatch, parseAiProgress, parseAiStatus, parseExternalHttpUrl, parseOpenRequest, parsePinnedMenuDocuments, parseSpeechAudioChunk, parseSpeechCatalog, parseSpeechError, parseSpeechInstallEvent, parseSpeechModelInfo, parseSpeechModelKind, parseSpeechNullResult, parseSpeechPreferences, parseSpeechPreferencesPatch, parseSpeechProgress, parseSpeechReadiness, parseSpeechResult, parseSpeechStatus, parseSpeechSynthesisSummary, parseSpeechSynthesizeEvent, parseSpeechSynthesizeRequest, parseSpeechTranscribeRequest, parseSpeechTranscript, parseSpeechVoiceInfo } from './host/index.js';
|
|
12
12
|
export { SHARED_DOCUMENT_LIMITS, SharedDocumentHashParseResult, SharedDocumentMode, SharedDocumentPayload, createSharedDocumentHash, createSharedDocumentUrl, parseSharedDocumentHash } from './share/index.js';
|
|
13
|
-
export { A as AiChatCompletion, a as AiChatEvent, b as AiChatHandle, c as AiChatMessage, d as AiChatProgress, e as AiChatPurpose, f as AiChatRequest, g as AiConnectionStep, h as AiEnsureWorkspaceHandle, i as AiError, j as AiErrorCode, k as AiImageRequest, l as AiImageResult, m as AiKnowledgeAPI, n as AiKnowledgeAction, o as AiKnowledgeCatalog, p as AiKnowledgeState, q as AiModelDownloadInfo, r as AiModelFit, s as AiModelInfo, t as AiModelInstallEvent, u as AiModelInstallHandle, v as AiPreferences, w as AiPreferencesPatch, x as AiProgress, y as AiProviderInfo, z as AiResult, B as AiReviewMode, C as AiSearchHit, D as AiSearchQuery, E as AiSearchResult, F as AiSpeechAudio, G as AiStatus, H as AiSynthesizeRequest, I as AiTranscribeRequest, J as AiTranscript, K as AiUnavailableReason, L as DocBlocksHostAPI, M as DocBlocksHostAiAPI, N as DocBlocksHostClipboardAPI, O as DocBlocksHostExportAPI, P as DocBlocksHostExternalAPI, Q as DocBlocksHostFfmpegAPI, R as DocBlocksHostFsAPI, S as DocBlocksHostGitAPI, T as DocBlocksHostLifecycleAPI, U as DocBlocksHostMenuAPI, V as DocBlocksHostShellAPI, W as DocBlocksHostSpeechAPI, X as DocBlocksHostUpdaterAPI, Y as DocBlocksHostWorkspacesAPI, Z as ElectronWorkspaceInfo, _ as ExternalBinaryCommitResult, $ as GitBranchInfo, a0 as GitCapabilities, a1 as GitCloneHandle, a2 as GitCloneProgress, a3 as GitError, a4 as GitErrorCode, a5 as GitFileAtRevision, a6 as GitFileChange, a7 as GitFileStatusCode, a8 as GitLogEntry, a9 as GitLogOptions, aa as GitRemoteInfo, ab as GitRepoDetection, ac as GitResult, ad as GitRevision, ae as GitStatus, af as HOST_PLATFORMS, ag as HOST_SURFACE_KINDS, ah as HostCapabilities, ai as HostCloseReason, aj as HostEnvironment, ak as HostExportTargetGrant, al as HostPinnedDocument, am as HostPlatform, an as HostPrepareCloseRequest, ao as HostPrepareCloseResult, ap as HostSurfaceKind, aq as MenuCommand, ar as NO_HOST_CAPABILITIES, as as OpenRequest, at as SpeechAudioChunk, au as SpeechCatalog, av as SpeechError, aw as SpeechErrorCode, ax as SpeechInstallEvent, ay as SpeechInstallHandle, az as SpeechModelInfo, aA as SpeechModelKind, aB as SpeechPreferences, aC as SpeechPreferencesPatch, aD as SpeechProgress, aE as SpeechReadiness, aF as SpeechReadinessState, aG as SpeechResult, aH as SpeechSegment, aI as SpeechStatus, aJ as SpeechSynthesisHandle, aK as SpeechSynthesisSummary, aL as SpeechSynthesizeEvent, aM as SpeechSynthesizeRequest, aN as SpeechTranscribeRequest, aO as SpeechTranscript, aP as SpeechVoiceInfo, aQ as SpeechWordTiming, aR as UpdateCheckResult, aS as UpdateInstallResult, aT as UpdaterStatus, aU as deriveHostCapabilities, aV as parseAiKnowledgeAction, aW as parseAiKnowledgeState, aX as parseHostEnvironment } from './capabilities-
|
|
14
|
-
export { D as DocBlocksHostFsV2API, E as ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, F as FILE_SYSTEM_TRANSFER_LIMITS, H as HostFileSystemReadTransfer, a as HostFileSystemV2OpenRequest, b as HostFileSystemV2Result, c as HostFileSystemV2WatchMessage } from './filesystem-v2-
|
|
13
|
+
export { A as AiChatCompletion, a as AiChatEvent, b as AiChatHandle, c as AiChatMessage, d as AiChatProgress, e as AiChatPurpose, f as AiChatRequest, g as AiConnectionStep, h as AiEnsureWorkspaceHandle, i as AiError, j as AiErrorCode, k as AiImageRequest, l as AiImageResult, m as AiKnowledgeAPI, n as AiKnowledgeAction, o as AiKnowledgeCatalog, p as AiKnowledgeState, q as AiModelDownloadInfo, r as AiModelFit, s as AiModelInfo, t as AiModelInstallEvent, u as AiModelInstallHandle, v as AiPreferences, w as AiPreferencesPatch, x as AiProgress, y as AiProviderInfo, z as AiResult, B as AiReviewMode, C as AiSearchHit, D as AiSearchQuery, E as AiSearchResult, F as AiSpeechAudio, G as AiStatus, H as AiSynthesizeRequest, I as AiTranscribeRequest, J as AiTranscript, K as AiUnavailableReason, L as DocBlocksHostAPI, M as DocBlocksHostAiAPI, N as DocBlocksHostClipboardAPI, O as DocBlocksHostExportAPI, P as DocBlocksHostExternalAPI, Q as DocBlocksHostFfmpegAPI, R as DocBlocksHostFsAPI, S as DocBlocksHostGitAPI, T as DocBlocksHostLifecycleAPI, U as DocBlocksHostMenuAPI, V as DocBlocksHostShellAPI, W as DocBlocksHostSpeechAPI, X as DocBlocksHostUpdaterAPI, Y as DocBlocksHostWorkspacesAPI, Z as ElectronWorkspaceInfo, _ as ExternalBinaryCommitResult, $ as GitBranchInfo, a0 as GitCapabilities, a1 as GitCloneHandle, a2 as GitCloneProgress, a3 as GitError, a4 as GitErrorCode, a5 as GitFileAtRevision, a6 as GitFileChange, a7 as GitFileStatusCode, a8 as GitLogEntry, a9 as GitLogOptions, aa as GitRemoteInfo, ab as GitRepoDetection, ac as GitResult, ad as GitRevision, ae as GitStatus, af as HOST_PLATFORMS, ag as HOST_SURFACE_KINDS, ah as HostCapabilities, ai as HostCloseReason, aj as HostEnvironment, ak as HostExportTargetGrant, al as HostPinnedDocument, am as HostPlatform, an as HostPrepareCloseRequest, ao as HostPrepareCloseResult, ap as HostSurfaceKind, aq as MenuCommand, ar as NO_HOST_CAPABILITIES, as as OpenRequest, at as SpeechAudioChunk, au as SpeechCatalog, av as SpeechError, aw as SpeechErrorCode, ax as SpeechInstallEvent, ay as SpeechInstallHandle, az as SpeechModelInfo, aA as SpeechModelKind, aB as SpeechPreferences, aC as SpeechPreferencesPatch, aD as SpeechProgress, aE as SpeechReadiness, aF as SpeechReadinessState, aG as SpeechResult, aH as SpeechSegment, aI as SpeechStatus, aJ as SpeechSynthesisHandle, aK as SpeechSynthesisSummary, aL as SpeechSynthesizeEvent, aM as SpeechSynthesizeRequest, aN as SpeechTranscribeRequest, aO as SpeechTranscript, aP as SpeechVoiceInfo, aQ as SpeechWordTiming, aR as UpdateCheckResult, aS as UpdateInstallResult, aT as UpdaterStatus, aU as deriveHostCapabilities, aV as parseAiKnowledgeAction, aW as parseAiKnowledgeState, aX as parseHostEnvironment } from './capabilities-BJEkIsO1.js';
|
|
14
|
+
export { D as DocBlocksHostFsV2API, E as ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, F as FILE_SYSTEM_TRANSFER_LIMITS, H as HostFileSystemReadTransfer, a as HostFileSystemV2OpenRequest, b as HostFileSystemV2Result, c as HostFileSystemV2WatchMessage } from './filesystem-v2-CXdAPR27.js';
|
|
15
|
+
import '@bendyline/squisq/markdown';
|
|
15
16
|
import '@bendyline/squisq/storage';
|
|
16
17
|
import '@bendyline/squisq/schemas';
|
|
17
|
-
import './host-provider-v2-
|
|
18
|
+
import './host-provider-v2-DEWMPiRD.js';
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
saveWorkspace,
|
|
12
12
|
touchWorkspace,
|
|
13
13
|
unregisterTransientWorkspace
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XI2LYBRR.js";
|
|
15
15
|
import {
|
|
16
16
|
SHARED_DOCUMENT_LIMITS,
|
|
17
17
|
createSharedDocumentHash,
|
|
@@ -24,10 +24,15 @@ import {
|
|
|
24
24
|
createDbkWorkspaceSnapshot,
|
|
25
25
|
createFileMediaProvider,
|
|
26
26
|
documentCompanionPath,
|
|
27
|
+
ensureWikiArticle,
|
|
28
|
+
findWikiArticle,
|
|
27
29
|
moveFileSystemEntry,
|
|
28
30
|
replaceMemoryWorkspaceFromDbk,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
resolveWikiArticlePath,
|
|
32
|
+
rewriteCompanionReferences,
|
|
33
|
+
suggestWikiArticles,
|
|
34
|
+
wikiArticleExists
|
|
35
|
+
} from "./chunk-LJLQYXVL.js";
|
|
31
36
|
import {
|
|
32
37
|
MARKDOWN_FILE_EXTENSIONS,
|
|
33
38
|
SQUISQ_RUNTIME_DIRECTORY_NAME,
|
|
@@ -41,12 +46,12 @@ import {
|
|
|
41
46
|
IndexedDBContentContainer,
|
|
42
47
|
IndexedDBFileSystemProvider,
|
|
43
48
|
IndexedDBFileSystemProviderV2
|
|
44
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-Q3OFZWJS.js";
|
|
45
50
|
import "./chunk-DAPFSEKY.js";
|
|
46
51
|
import {
|
|
47
52
|
MemoryFileSystemProvider,
|
|
48
53
|
MemoryFileSystemProviderV2
|
|
49
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-LDAG5NTQ.js";
|
|
50
55
|
import {
|
|
51
56
|
NativeFileSystemMoveRecoveryError,
|
|
52
57
|
NativeFileSystemProvider,
|
|
@@ -57,14 +62,14 @@ import {
|
|
|
57
62
|
removeDirectoryHandle,
|
|
58
63
|
restoreNativeFolder,
|
|
59
64
|
storeDirectoryHandle
|
|
60
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-K5HRMSXD.js";
|
|
61
66
|
import "./chunk-DZB666V7.js";
|
|
62
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-3GSMJ4MQ.js";
|
|
63
68
|
import {
|
|
64
69
|
ElectronFileSystemProvider,
|
|
65
70
|
ElectronFileSystemProviderV2
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-PSGAZKWO.js";
|
|
72
|
+
import "./chunk-7LPIGCBG.js";
|
|
68
73
|
import {
|
|
69
74
|
AI_WIRE_LIMITS,
|
|
70
75
|
ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
|
|
@@ -117,7 +122,7 @@ import {
|
|
|
117
122
|
parseSpeechTranscribeRequest,
|
|
118
123
|
parseSpeechTranscript,
|
|
119
124
|
parseSpeechVoiceInfo
|
|
120
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-KXQDMZFH.js";
|
|
121
126
|
import "./chunk-245W57QP.js";
|
|
122
127
|
import {
|
|
123
128
|
EXPORT_TRANSFER_LIMITS,
|
|
@@ -154,14 +159,14 @@ import {
|
|
|
154
159
|
isFileSystemMoveRecoveryError,
|
|
155
160
|
isFileSystemMoveStateError,
|
|
156
161
|
isFileSystemPartialMoveError
|
|
157
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-FIEMYP2N.js";
|
|
158
163
|
import {
|
|
159
164
|
getFileSystemProviderV2,
|
|
160
165
|
hasFileSystemProviderV2
|
|
161
166
|
} from "./chunk-XAMILHQP.js";
|
|
162
167
|
import {
|
|
163
168
|
decodeUtf8Text
|
|
164
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-IYKGM3PV.js";
|
|
165
170
|
import {
|
|
166
171
|
FsError,
|
|
167
172
|
WORKSPACE_ROOT,
|
|
@@ -179,7 +184,7 @@ import {
|
|
|
179
184
|
workspacePathDirname,
|
|
180
185
|
workspacePathJoin,
|
|
181
186
|
workspacePathToLegacy
|
|
182
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-UTH3HYCZ.js";
|
|
183
188
|
export {
|
|
184
189
|
AI_WIRE_LIMITS,
|
|
185
190
|
DEFAULT_WORKSPACE_ID,
|
|
@@ -229,6 +234,8 @@ export {
|
|
|
229
234
|
deserializeFsError,
|
|
230
235
|
documentCompanionPath,
|
|
231
236
|
ensureDefaultWorkspace,
|
|
237
|
+
ensureWikiArticle,
|
|
238
|
+
findWikiArticle,
|
|
232
239
|
fsErrorFromUnknown,
|
|
233
240
|
getDefaultDocumentRecoveryStorage,
|
|
234
241
|
getDocBlocksHost,
|
|
@@ -310,15 +317,18 @@ export {
|
|
|
310
317
|
removeDirectoryHandle,
|
|
311
318
|
removeWorkspace,
|
|
312
319
|
replaceMemoryWorkspaceFromDbk,
|
|
320
|
+
resolveWikiArticlePath,
|
|
313
321
|
restoreNativeFolder,
|
|
314
322
|
rewriteCompanionReferences,
|
|
315
323
|
saveWorkspace,
|
|
316
324
|
serializeFsError,
|
|
317
325
|
storeDirectoryHandle,
|
|
326
|
+
suggestWikiArticles,
|
|
318
327
|
touchWorkspace,
|
|
319
328
|
tryParseFileSystemVersion,
|
|
320
329
|
tryParseWorkspacePath,
|
|
321
330
|
unregisterTransientWorkspace,
|
|
331
|
+
wikiArticleExists,
|
|
322
332
|
workspacePathBasename,
|
|
323
333
|
workspacePathContains,
|
|
324
334
|
workspacePathDirname,
|
package/dist/mcp/index.js
CHANGED
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
parseMcpDiagnostic,
|
|
12
12
|
parseMcpErrorResult,
|
|
13
13
|
parsePreviewResult
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-3LXXRIO2.js";
|
|
15
|
+
import "../chunk-UTH3HYCZ.js";
|
|
16
16
|
export {
|
|
17
17
|
DOCBLOCKS_MCP_TOOL_NAMES,
|
|
18
18
|
DOCBLOCKS_MCP_WIRE_VERSION,
|
package/dist/mcp/zod.js
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
parseConversionResult,
|
|
6
6
|
parseInspectionResult,
|
|
7
7
|
parsePreviewResult
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-3LXXRIO2.js";
|
|
9
|
+
import "../chunk-UTH3HYCZ.js";
|
|
10
10
|
|
|
11
11
|
// src/mcp/zod.ts
|
|
12
12
|
import { z } from "zod";
|