@bendyline/docblocks 2.7.6 → 2.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.txt +4 -4
- package/dist/{capabilities-DJ7X9EOt.d.ts → capabilities-D4Z1xYZV.d.ts} +43 -5
- package/dist/{chunk-Q3OFZWJS.js → chunk-3HUKGWDK.js} +14 -2
- package/dist/{chunk-LJLQYXVL.js → chunk-5VEIEFFC.js} +73 -13
- package/dist/{chunk-56QRV45P.js → chunk-66WTIYYG.js} +2 -2
- package/dist/{chunk-XI2LYBRR.js → chunk-FGT6AW2D.js} +1 -1
- package/dist/{chunk-45XD424D.js → chunk-NECMAJHS.js} +1 -1
- package/dist/{chunk-DAPFSEKY.js → chunk-OPLU2CYA.js} +30 -6
- package/dist/{chunk-P4VIU7MB.js → chunk-RFEB4N5Q.js} +50 -12
- package/dist/filesystem/electron.d.ts +1 -1
- package/dist/filesystem/electron.js +3 -3
- package/dist/filesystem/host.js +2 -2
- package/dist/filesystem/index.d.ts +39 -3
- package/dist/filesystem/index.js +10 -6
- package/dist/filesystem/indexeddb.js +2 -2
- package/dist/host/index.d.ts +4 -2
- package/dist/host/index.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +11 -7
- package/dist/mcp/zod.d.ts +542 -542
- package/dist/{reconcile-electron-CwPGhW5-.d.ts → reconcile-electron-DuwLsuic.d.ts} +1 -1
- package/dist/workspace/index.d.ts +2 -2
- package/dist/workspace/index.js +2 -2
- package/package.json +2 -2
|
@@ -15,7 +15,7 @@ export { ElectronFileSystemProvider, ElectronFileSystemProviderV2 } from './elec
|
|
|
15
15
|
export { isElectronHost } from '../host/index.js';
|
|
16
16
|
import '../host-provider-v2-DEWMPiRD.js';
|
|
17
17
|
import '../filesystem-v2-CXdAPR27.js';
|
|
18
|
-
import '../capabilities-
|
|
18
|
+
import '../capabilities-D4Z1xYZV.js';
|
|
19
19
|
|
|
20
20
|
/** Immediate article/folder suggestions from an already bounded listing. */
|
|
21
21
|
declare function suggestWikiArticles(files: readonly {
|
|
@@ -192,9 +192,45 @@ declare class FileSystemContentContainer implements ContentContainer {
|
|
|
192
192
|
* (`notes_files/image.png`) references — so legacy markdown and
|
|
193
193
|
* exports from other tools both work
|
|
194
194
|
* • Types resolved URLs by file extension, as the workspace containers do
|
|
195
|
+
* • Optionally falls back, read-only, to a reference as Markdown written
|
|
196
|
+
* elsewhere spells it (`shots/a.png` beside the document) when the
|
|
197
|
+
* sidecar holds no such file
|
|
195
198
|
*/
|
|
196
199
|
|
|
197
|
-
|
|
200
|
+
interface FileMediaProviderOptions {
|
|
201
|
+
/**
|
|
202
|
+
* Read a reference the sidecar does not hold, relative to the document
|
|
203
|
+
* rather than to its sidecar. Receives the reference as written and
|
|
204
|
+
* resolves null when nothing is there. Never consulted for writes, and a
|
|
205
|
+
* failure counts as absence: the fallback can only add resolutions.
|
|
206
|
+
*/
|
|
207
|
+
readonly readDocumentRelative?: (ref: string) => Promise<ArrayBuffer | null>;
|
|
208
|
+
}
|
|
209
|
+
declare function createFileMediaProvider(container: ContentContainer, markdownBasename: string, options?: FileMediaProviderOptions): MediaProvider;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Document-relative media: `shots/a.png` beside `report.md`, as Markdown
|
|
213
|
+
* written by other tools spells it.
|
|
214
|
+
*
|
|
215
|
+
* DocBlocks writes media into the document's `<stem>_files/` sidecar, and
|
|
216
|
+
* `createFileMediaProvider` keeps resolving references there first. These
|
|
217
|
+
* paths are only a read-only fallback for references the sidecar does not
|
|
218
|
+
* hold, so they are confined to media types and never climb above the root
|
|
219
|
+
* they are resolved within.
|
|
220
|
+
*/
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* True when a path names an image, audio, or video file the containers can
|
|
224
|
+
* type by extension -- the only files a document-relative fallback may read.
|
|
225
|
+
*/
|
|
226
|
+
declare function isDocumentMediaPath(path: string): boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Resolve a Markdown media reference against the folder that holds the
|
|
229
|
+
* document. Returns the root-relative path, or null when the reference is not
|
|
230
|
+
* a plain relative path (a URL, an absolute or drive-qualified path), names no
|
|
231
|
+
* media type, or climbs above the root.
|
|
232
|
+
*/
|
|
233
|
+
declare function resolveDocumentRelativeMediaPath(documentDirectory: string, ref: string): WorkspacePath | null;
|
|
198
234
|
|
|
199
235
|
/**
|
|
200
236
|
* Which workspace entries DocBlocks browses, discovers, and watches.
|
|
@@ -291,4 +327,4 @@ declare function isFileSystemMoveStateError(error: unknown): error is FileSystem
|
|
|
291
327
|
declare function describePartialMove(provider: FileSystemProvider, sourcePath: string, destinationPath: string, companionSourcePath: string, companionDestinationPath: string): Promise<FileSystemPartialMoveState>;
|
|
292
328
|
declare function describeEntryMove(provider: FileSystemProvider, sourcePath: string, destinationPath: string): Promise<FileSystemEntryMoveState>;
|
|
293
329
|
|
|
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 };
|
|
330
|
+
export { type DbkWorkspaceAssetLayout, type DbkWorkspaceSnapshot, type DbkWorkspaceSnapshotOptions, type DecodeUtf8TextOptions, type FileMediaProviderOptions, 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, isDocumentMediaPath, isFileSystemMoveRecoveryError, isFileSystemMoveStateError, isFileSystemPartialMoveError, isIgnoredWorkspaceEntryName, isMarkdownFileName, moveFileSystemEntry, replaceMemoryWorkspaceFromDbk, resolveDocumentRelativeMediaPath, resolveWikiArticlePath, rewriteCompanionReferences, suggestWikiArticles, wikiArticleExists };
|
package/dist/filesystem/index.js
CHANGED
|
@@ -6,13 +6,15 @@ import {
|
|
|
6
6
|
documentCompanionPath,
|
|
7
7
|
ensureWikiArticle,
|
|
8
8
|
findWikiArticle,
|
|
9
|
+
isDocumentMediaPath,
|
|
9
10
|
moveFileSystemEntry,
|
|
10
11
|
replaceMemoryWorkspaceFromDbk,
|
|
12
|
+
resolveDocumentRelativeMediaPath,
|
|
11
13
|
resolveWikiArticlePath,
|
|
12
14
|
rewriteCompanionReferences,
|
|
13
15
|
suggestWikiArticles,
|
|
14
16
|
wikiArticleExists
|
|
15
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-5VEIEFFC.js";
|
|
16
18
|
import {
|
|
17
19
|
MARKDOWN_FILE_EXTENSIONS,
|
|
18
20
|
SQUISQ_RUNTIME_DIRECTORY_NAME,
|
|
@@ -26,8 +28,8 @@ import {
|
|
|
26
28
|
IndexedDBContentContainer,
|
|
27
29
|
IndexedDBFileSystemProvider,
|
|
28
30
|
IndexedDBFileSystemProviderV2
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
+
} from "../chunk-3HUKGWDK.js";
|
|
32
|
+
import "../chunk-OPLU2CYA.js";
|
|
31
33
|
import {
|
|
32
34
|
MemoryFileSystemProvider,
|
|
33
35
|
MemoryFileSystemProviderV2
|
|
@@ -48,11 +50,11 @@ import "../chunk-3GSMJ4MQ.js";
|
|
|
48
50
|
import {
|
|
49
51
|
ElectronFileSystemProvider,
|
|
50
52
|
ElectronFileSystemProviderV2
|
|
51
|
-
} from "../chunk-
|
|
52
|
-
import "../chunk-
|
|
53
|
+
} from "../chunk-66WTIYYG.js";
|
|
54
|
+
import "../chunk-NECMAJHS.js";
|
|
53
55
|
import {
|
|
54
56
|
isElectronHost
|
|
55
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-RFEB4N5Q.js";
|
|
56
58
|
import "../chunk-245W57QP.js";
|
|
57
59
|
import "../chunk-V5SWLUZY.js";
|
|
58
60
|
import "../chunk-73OOROXH.js";
|
|
@@ -129,6 +131,7 @@ export {
|
|
|
129
131
|
isBrowsableWorkspaceEntry,
|
|
130
132
|
isCompanionDirectoryName,
|
|
131
133
|
isDiscoverableWorkspaceEntry,
|
|
134
|
+
isDocumentMediaPath,
|
|
132
135
|
isElectronHost,
|
|
133
136
|
isFileSystemMoveRecoveryError,
|
|
134
137
|
isFileSystemMoveStateError,
|
|
@@ -147,6 +150,7 @@ export {
|
|
|
147
150
|
parseWorkspacePath,
|
|
148
151
|
removeDirectoryHandle,
|
|
149
152
|
replaceMemoryWorkspaceFromDbk,
|
|
153
|
+
resolveDocumentRelativeMediaPath,
|
|
150
154
|
resolveWikiArticlePath,
|
|
151
155
|
restoreNativeFolder,
|
|
152
156
|
rewriteCompanionReferences,
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
IndexedDBContentContainer,
|
|
3
3
|
IndexedDBFileSystemProvider,
|
|
4
4
|
IndexedDBFileSystemProviderV2
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-3HUKGWDK.js";
|
|
6
6
|
import {
|
|
7
7
|
deleteIndexedDBWorkspaceData,
|
|
8
8
|
indexedDBWorkspaceDatabaseName
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-OPLU2CYA.js";
|
|
10
10
|
import "../chunk-DZB666V7.js";
|
|
11
11
|
import "../chunk-3GSMJ4MQ.js";
|
|
12
12
|
import "../chunk-73OOROXH.js";
|
package/dist/host/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as AiChatEvent,
|
|
2
|
-
export { A as AiChatCompletion, b as AiChatHandle,
|
|
1
|
+
import { a as AiChatEvent, d as AiChatKnowledge, g as AiChatProgress, i as AiChatRequest, l as AiError, n as AiFactCheck, o as AiFactCheckRequest, w as AiModelDownloadInfo, y as AiModelInfo, z as AiModelInstallEvent, C as AiPreferences, D as AiPreferencesPatch, E as AiProgress, N as AiStatus, aA as SpeechAudioChunk, aB as SpeechCatalog, aC as SpeechError, aE as SpeechInstallEvent, aG as SpeechModelInfo, aH as SpeechModelKind, aN as SpeechResult, aI as SpeechPreferences, aJ as SpeechPreferencesPatch, aK as SpeechProgress, aL as SpeechReadiness, aP as SpeechStatus, aR as SpeechSynthesisSummary, aS as SpeechSynthesizeEvent, aT as SpeechSynthesizeRequest, aU as SpeechTranscribeRequest, aV as SpeechTranscript, aW as SpeechVoiceInfo, az as OpenRequest, as as HostPinnedDocument, S as DocBlocksHostAPI, ao as HostCapabilities, aq as HostEnvironment } from '../capabilities-D4Z1xYZV.js';
|
|
2
|
+
export { A as AiChatCompletion, b as AiChatEvidence, c as AiChatHandle, e as AiChatKnowledgeSource, f as AiChatMessage, h as AiChatPurpose, j as AiConnectionStep, k as AiEnsureWorkspaceHandle, m as AiErrorCode, p as AiFactCheckSentence, q as AiImageRequest, r as AiImageResult, s as AiKnowledgeAPI, t as AiKnowledgeAction, u as AiKnowledgeCatalog, v as AiKnowledgeState, x as AiModelFit, B as AiModelInstallHandle, F as AiProviderInfo, G as AiResponseFormat, H as AiResult, I as AiReviewMode, J as AiSearchHit, K as AiSearchQuery, L as AiSearchResult, M as AiSpeechAudio, O as AiSynthesizeRequest, P as AiTranscribeRequest, Q as AiTranscript, R as AiUnavailableReason, T as DocBlocksHostAiAPI, U as DocBlocksHostClipboardAPI, V as DocBlocksHostExportAPI, W as DocBlocksHostExternalAPI, X as DocBlocksHostFfmpegAPI, Y as DocBlocksHostFsAPI, Z as DocBlocksHostGitAPI, _ as DocBlocksHostLifecycleAPI, $ as DocBlocksHostMenuAPI, a0 as DocBlocksHostShellAPI, a1 as DocBlocksHostSpeechAPI, a2 as DocBlocksHostUpdaterAPI, a3 as DocBlocksHostWorkspacesAPI, a4 as ElectronWorkspaceInfo, a5 as ExternalBinaryCommitResult, a6 as GitBranchInfo, a7 as GitCapabilities, a8 as GitCloneHandle, a9 as GitCloneProgress, aa as GitError, ab as GitErrorCode, ac as GitFileAtRevision, ad as GitFileChange, ae as GitFileStatusCode, af as GitLogEntry, ag as GitLogOptions, ah as GitRemoteInfo, ai as GitRepoDetection, aj as GitResult, ak as GitRevision, al as GitStatus, am as HOST_PLATFORMS, an as HOST_SURFACE_KINDS, ap as HostCloseReason, ar as HostExportTargetGrant, at as HostPlatform, au as HostPrepareCloseRequest, av as HostPrepareCloseResult, aw as HostSurfaceKind, ax as MenuCommand, ay as NO_HOST_CAPABILITIES, aD as SpeechErrorCode, aF as SpeechInstallHandle, aM as SpeechReadinessState, aO as SpeechSegment, aQ as SpeechSynthesisHandle, aX as SpeechWordTiming, aY as UpdateCheckResult, aZ as UpdateInstallResult, a_ as UpdaterStatus, a$ as deriveHostCapabilities, b0 as parseAiKnowledgeAction, b1 as parseAiKnowledgeState, b2 as parseHostEnvironment } from '../capabilities-D4Z1xYZV.js';
|
|
3
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
4
|
import '../types-DLteNrK0.js';
|
|
5
5
|
import '../v2-DwxWjFC0.js';
|
|
@@ -29,6 +29,8 @@ declare const AI_WIRE_LIMITS: Readonly<{
|
|
|
29
29
|
knowledgeSources: 8;
|
|
30
30
|
knowledgeTitles: 8;
|
|
31
31
|
knowledgeTitleCharacters: 256;
|
|
32
|
+
/** A knowledge search; Gezel accepts up to 8,192 characters. */
|
|
33
|
+
knowledgeQueryCharacters: 8192;
|
|
32
34
|
/** Passage texts sent with a knowledge report; Gezel caps a retrieval at 24,000 characters. */
|
|
33
35
|
knowledgeEvidence: 8;
|
|
34
36
|
knowledgeEvidenceCharacters: number;
|
package/dist/host/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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
|
+
export { DbkWorkspaceAssetLayout, DbkWorkspaceSnapshot, DbkWorkspaceSnapshotOptions, DecodeUtf8TextOptions, FileMediaProviderOptions, 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, isDocumentMediaPath, isFileSystemMoveRecoveryError, isFileSystemMoveStateError, isFileSystemPartialMoveError, isIgnoredWorkspaceEntryName, isMarkdownFileName, moveFileSystemEntry, replaceMemoryWorkspaceFromDbk, resolveDocumentRelativeMediaPath, resolveWikiArticlePath, rewriteCompanionReferences, suggestWikiArticles, wikiArticleExists } from './filesystem/index.js';
|
|
3
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';
|
|
4
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';
|
|
@@ -7,10 +7,10 @@ export { IndexedDBContentContainer, IndexedDBFileSystemProvider, IndexedDBFileSy
|
|
|
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 { 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-
|
|
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-DuwLsuic.js';
|
|
11
11
|
export { AI_WIRE_LIMITS, EXPORT_TRANSFER_LIMITS, HOST_WIRE_LIMITS, MAX_HOST_PINNED_DOCUMENTS, SPEECH_WIRE_LIMITS, SUPPORT_EMAIL_ADDRESS, getDocBlocksHost, getHostCapabilities, getHostEnvironment, hasDocBlocksHost, hostSupports, isBoundedBytePayload, isBoundedString, isElectronHost, isSpeechModelId, isTrustedRendererUrl, maybeGetDocBlocksHost, parseAiChatEvent, parseAiChatKnowledge, parseAiChatProgress, parseAiChatRequest, parseAiError, parseAiFactCheck, parseAiFactCheckRequest, parseAiModelDownloadInfo, parseAiModelDownloadInfoList, parseAiModelInfo, parseAiModelInfoList, parseAiModelInstallEvent, parseAiPreferences, parseAiPreferencesPatch, parseAiProgress, parseAiStatus, parseExternalHttpUrl, parseOpenExternalUrl, parseOpenRequest, parsePinnedMenuDocuments, parseSpeechAudioChunk, parseSpeechCatalog, parseSpeechError, parseSpeechInstallEvent, parseSpeechModelInfo, parseSpeechModelKind, parseSpeechNullResult, parseSpeechPreferences, parseSpeechPreferencesPatch, parseSpeechProgress, parseSpeechReadiness, parseSpeechResult, parseSpeechStatus, parseSpeechSynthesisSummary, parseSpeechSynthesizeEvent, parseSpeechSynthesizeRequest, parseSpeechTranscribeRequest, parseSpeechTranscript, parseSpeechVoiceInfo, parseSupportMailtoUrl } 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
|
|
13
|
+
export { A as AiChatCompletion, a as AiChatEvent, b as AiChatEvidence, c as AiChatHandle, d as AiChatKnowledge, e as AiChatKnowledgeSource, f as AiChatMessage, g as AiChatProgress, h as AiChatPurpose, i as AiChatRequest, j as AiConnectionStep, k as AiEnsureWorkspaceHandle, l as AiError, m as AiErrorCode, n as AiFactCheck, o as AiFactCheckRequest, p as AiFactCheckSentence, q as AiImageRequest, r as AiImageResult, s as AiKnowledgeAPI, t as AiKnowledgeAction, u as AiKnowledgeCatalog, v as AiKnowledgeState, w as AiModelDownloadInfo, x as AiModelFit, y as AiModelInfo, z as AiModelInstallEvent, B as AiModelInstallHandle, C as AiPreferences, D as AiPreferencesPatch, E as AiProgress, F as AiProviderInfo, G as AiResponseFormat, H as AiResult, I as AiReviewMode, J as AiSearchHit, K as AiSearchQuery, L as AiSearchResult, M as AiSpeechAudio, N as AiStatus, O as AiSynthesizeRequest, P as AiTranscribeRequest, Q as AiTranscript, R as AiUnavailableReason, S as DocBlocksHostAPI, T as DocBlocksHostAiAPI, U as DocBlocksHostClipboardAPI, V as DocBlocksHostExportAPI, W as DocBlocksHostExternalAPI, X as DocBlocksHostFfmpegAPI, Y as DocBlocksHostFsAPI, Z as DocBlocksHostGitAPI, _ as DocBlocksHostLifecycleAPI, $ as DocBlocksHostMenuAPI, a0 as DocBlocksHostShellAPI, a1 as DocBlocksHostSpeechAPI, a2 as DocBlocksHostUpdaterAPI, a3 as DocBlocksHostWorkspacesAPI, a4 as ElectronWorkspaceInfo, a5 as ExternalBinaryCommitResult, a6 as GitBranchInfo, a7 as GitCapabilities, a8 as GitCloneHandle, a9 as GitCloneProgress, aa as GitError, ab as GitErrorCode, ac as GitFileAtRevision, ad as GitFileChange, ae as GitFileStatusCode, af as GitLogEntry, ag as GitLogOptions, ah as GitRemoteInfo, ai as GitRepoDetection, aj as GitResult, ak as GitRevision, al as GitStatus, am as HOST_PLATFORMS, an as HOST_SURFACE_KINDS, ao as HostCapabilities, ap as HostCloseReason, aq as HostEnvironment, ar as HostExportTargetGrant, as as HostPinnedDocument, at as HostPlatform, au as HostPrepareCloseRequest, av as HostPrepareCloseResult, aw as HostSurfaceKind, ax as MenuCommand, ay as NO_HOST_CAPABILITIES, az as OpenRequest, aA as SpeechAudioChunk, aB as SpeechCatalog, aC as SpeechError, aD as SpeechErrorCode, aE as SpeechInstallEvent, aF as SpeechInstallHandle, aG as SpeechModelInfo, aH as SpeechModelKind, aI as SpeechPreferences, aJ as SpeechPreferencesPatch, aK as SpeechProgress, aL as SpeechReadiness, aM as SpeechReadinessState, aN as SpeechResult, aO as SpeechSegment, aP as SpeechStatus, aQ as SpeechSynthesisHandle, aR as SpeechSynthesisSummary, aS as SpeechSynthesizeEvent, aT as SpeechSynthesizeRequest, aU as SpeechTranscribeRequest, aV as SpeechTranscript, aW as SpeechVoiceInfo, aX as SpeechWordTiming, aY as UpdateCheckResult, aZ as UpdateInstallResult, a_ as UpdaterStatus, a$ as deriveHostCapabilities, b0 as parseAiKnowledgeAction, b1 as parseAiKnowledgeState, b2 as parseHostEnvironment } from './capabilities-D4Z1xYZV.js';
|
|
14
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
15
|
import '@bendyline/squisq/markdown';
|
|
16
16
|
import '@bendyline/squisq/storage';
|
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-FGT6AW2D.js";
|
|
15
15
|
import {
|
|
16
16
|
SHARED_DOCUMENT_LIMITS,
|
|
17
17
|
createSharedDocumentHash,
|
|
@@ -26,13 +26,15 @@ import {
|
|
|
26
26
|
documentCompanionPath,
|
|
27
27
|
ensureWikiArticle,
|
|
28
28
|
findWikiArticle,
|
|
29
|
+
isDocumentMediaPath,
|
|
29
30
|
moveFileSystemEntry,
|
|
30
31
|
replaceMemoryWorkspaceFromDbk,
|
|
32
|
+
resolveDocumentRelativeMediaPath,
|
|
31
33
|
resolveWikiArticlePath,
|
|
32
34
|
rewriteCompanionReferences,
|
|
33
35
|
suggestWikiArticles,
|
|
34
36
|
wikiArticleExists
|
|
35
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-5VEIEFFC.js";
|
|
36
38
|
import {
|
|
37
39
|
MARKDOWN_FILE_EXTENSIONS,
|
|
38
40
|
SQUISQ_RUNTIME_DIRECTORY_NAME,
|
|
@@ -46,8 +48,8 @@ import {
|
|
|
46
48
|
IndexedDBContentContainer,
|
|
47
49
|
IndexedDBFileSystemProvider,
|
|
48
50
|
IndexedDBFileSystemProviderV2
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-3HUKGWDK.js";
|
|
52
|
+
import "./chunk-OPLU2CYA.js";
|
|
51
53
|
import {
|
|
52
54
|
MemoryFileSystemProvider,
|
|
53
55
|
MemoryFileSystemProviderV2
|
|
@@ -68,8 +70,8 @@ import "./chunk-3GSMJ4MQ.js";
|
|
|
68
70
|
import {
|
|
69
71
|
ElectronFileSystemProvider,
|
|
70
72
|
ElectronFileSystemProviderV2
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
+
} from "./chunk-66WTIYYG.js";
|
|
74
|
+
import "./chunk-NECMAJHS.js";
|
|
73
75
|
import {
|
|
74
76
|
AI_WIRE_LIMITS,
|
|
75
77
|
ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
|
|
@@ -125,7 +127,7 @@ import {
|
|
|
125
127
|
parseSpeechTranscribeRequest,
|
|
126
128
|
parseSpeechTranscript,
|
|
127
129
|
parseSpeechVoiceInfo
|
|
128
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-RFEB4N5Q.js";
|
|
129
131
|
import "./chunk-245W57QP.js";
|
|
130
132
|
import {
|
|
131
133
|
EXPORT_TRANSFER_LIMITS,
|
|
@@ -259,6 +261,7 @@ export {
|
|
|
259
261
|
isBrowsableWorkspaceEntry,
|
|
260
262
|
isCompanionDirectoryName,
|
|
261
263
|
isDiscoverableWorkspaceEntry,
|
|
264
|
+
isDocumentMediaPath,
|
|
262
265
|
isElectronHost,
|
|
263
266
|
isFileSystemMoveRecoveryError,
|
|
264
267
|
isFileSystemMoveStateError,
|
|
@@ -329,6 +332,7 @@ export {
|
|
|
329
332
|
removeDirectoryHandle,
|
|
330
333
|
removeWorkspace,
|
|
331
334
|
replaceMemoryWorkspaceFromDbk,
|
|
335
|
+
resolveDocumentRelativeMediaPath,
|
|
332
336
|
resolveWikiArticlePath,
|
|
333
337
|
restoreNativeFolder,
|
|
334
338
|
rewriteCompanionReferences,
|