@bendyline/docblocks 2.7.6 → 2.7.8

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.
@@ -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-DJ7X9EOt.js';
18
+ import '../capabilities-CH66e2pR.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
- declare function createFileMediaProvider(container: ContentContainer, markdownBasename: string): MediaProvider;
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 };
@@ -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-LJLQYXVL.js";
17
+ } from "../chunk-CI3DHDPG.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-Q3OFZWJS.js";
30
- import "../chunk-DAPFSEKY.js";
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-56QRV45P.js";
52
- import "../chunk-45XD424D.js";
53
+ } from "../chunk-LP6JHGBP.js";
54
+ import "../chunk-ZBRXXOW5.js";
53
55
  import {
54
56
  isElectronHost
55
- } from "../chunk-P4VIU7MB.js";
57
+ } from "../chunk-WE5W7BRL.js";
56
58
  import "../chunk-245W57QP.js";
57
59
  import "../chunk-V5SWLUZY.js";
58
60
  import "../chunk-73OOROXH.js";
@@ -69,7 +71,7 @@ import {
69
71
  isFileSystemMoveRecoveryError,
70
72
  isFileSystemMoveStateError,
71
73
  isFileSystemPartialMoveError
72
- } from "../chunk-FIEMYP2N.js";
74
+ } from "../chunk-D7VUEVAX.js";
73
75
  import {
74
76
  getFileSystemProviderV2,
75
77
  hasFileSystemProviderV2
@@ -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-Q3OFZWJS.js";
5
+ } from "../chunk-3HUKGWDK.js";
6
6
  import {
7
7
  deleteIndexedDBWorkspaceData,
8
8
  indexedDBWorkspaceDatabaseName
9
- } from "../chunk-DAPFSEKY.js";
9
+ } from "../chunk-OPLU2CYA.js";
10
10
  import "../chunk-DZB666V7.js";
11
11
  import "../chunk-3GSMJ4MQ.js";
12
12
  import "../chunk-73OOROXH.js";
@@ -1,5 +1,5 @@
1
- import { a as AiChatEvent, c as AiChatKnowledge, f as AiChatProgress, h as AiChatRequest, k as AiError, m as AiFactCheck, n as AiFactCheckRequest, v as AiModelDownloadInfo, x as AiModelInfo, y as AiModelInstallEvent, B as AiPreferences, C as AiPreferencesPatch, D as AiProgress, M as AiStatus, az as SpeechAudioChunk, aA as SpeechCatalog, aB as SpeechError, aD as SpeechInstallEvent, aF as SpeechModelInfo, aG as SpeechModelKind, aM as SpeechResult, aH as SpeechPreferences, aI as SpeechPreferencesPatch, aJ as SpeechProgress, aK as SpeechReadiness, aO as SpeechStatus, aQ as SpeechSynthesisSummary, aR as SpeechSynthesizeEvent, aS as SpeechSynthesizeRequest, aT as SpeechTranscribeRequest, aU as SpeechTranscript, aV as SpeechVoiceInfo, ay as OpenRequest, ar as HostPinnedDocument, R as DocBlocksHostAPI, an as HostCapabilities, ap as HostEnvironment } from '../capabilities-DJ7X9EOt.js';
2
- export { A as AiChatCompletion, b as AiChatHandle, d as AiChatKnowledgeSource, e as AiChatMessage, g as AiChatPurpose, i as AiConnectionStep, j as AiEnsureWorkspaceHandle, l as AiErrorCode, o as AiFactCheckSentence, p as AiImageRequest, q as AiImageResult, r as AiKnowledgeAPI, s as AiKnowledgeAction, t as AiKnowledgeCatalog, u as AiKnowledgeState, w as AiModelFit, z as AiModelInstallHandle, E as AiProviderInfo, F as AiResponseFormat, G as AiResult, H as AiReviewMode, I as AiSearchHit, J as AiSearchQuery, K as AiSearchResult, L as AiSpeechAudio, N as AiSynthesizeRequest, O as AiTranscribeRequest, P as AiTranscript, Q as AiUnavailableReason, S as DocBlocksHostAiAPI, T as DocBlocksHostClipboardAPI, U as DocBlocksHostExportAPI, V as DocBlocksHostExternalAPI, W as DocBlocksHostFfmpegAPI, X as DocBlocksHostFsAPI, Y as DocBlocksHostGitAPI, Z as DocBlocksHostLifecycleAPI, _ as DocBlocksHostMenuAPI, $ as DocBlocksHostShellAPI, a0 as DocBlocksHostSpeechAPI, a1 as DocBlocksHostUpdaterAPI, a2 as DocBlocksHostWorkspacesAPI, a3 as ElectronWorkspaceInfo, a4 as ExternalBinaryCommitResult, a5 as GitBranchInfo, a6 as GitCapabilities, a7 as GitCloneHandle, a8 as GitCloneProgress, a9 as GitError, aa as GitErrorCode, ab as GitFileAtRevision, ac as GitFileChange, ad as GitFileStatusCode, ae as GitLogEntry, af as GitLogOptions, ag as GitRemoteInfo, ah as GitRepoDetection, ai as GitResult, aj as GitRevision, ak as GitStatus, al as HOST_PLATFORMS, am as HOST_SURFACE_KINDS, ao as HostCloseReason, aq as HostExportTargetGrant, as as HostPlatform, at as HostPrepareCloseRequest, au as HostPrepareCloseResult, av as HostSurfaceKind, aw as MenuCommand, ax as NO_HOST_CAPABILITIES, aC as SpeechErrorCode, aE as SpeechInstallHandle, aL as SpeechReadinessState, aN as SpeechSegment, aP as SpeechSynthesisHandle, aW as SpeechWordTiming, aX as UpdateCheckResult, aY as UpdateInstallResult, aZ as UpdaterStatus, a_ as deriveHostCapabilities, a$ as parseAiKnowledgeAction, b0 as parseAiKnowledgeState, b1 as parseHostEnvironment } from '../capabilities-DJ7X9EOt.js';
1
+ import { d as AiChatEvent, g as AiChatKnowledge, j as AiChatProgress, l as AiChatRequest, o as AiError, q as AiFactCheck, r as AiFactCheckRequest, O as AiModelDownloadInfo, Q as AiModelInfo, R as AiModelInstallEvent, T as AiPreferences, U as AiPreferencesPatch, V as AiProgress, a2 as AiStatus, aR as SpeechAudioChunk, aS as SpeechCatalog, aT as SpeechError, aV as SpeechInstallEvent, aX as SpeechModelInfo, aY as SpeechModelKind, b2 as SpeechResult, aZ as SpeechPreferences, a_ as SpeechPreferencesPatch, a$ as SpeechProgress, b0 as SpeechReadiness, b4 as SpeechStatus, b6 as SpeechSynthesisSummary, b7 as SpeechSynthesizeEvent, b8 as SpeechSynthesizeRequest, b9 as SpeechTranscribeRequest, ba as SpeechTranscript, bb as SpeechVoiceInfo, aQ as OpenRequest, aJ as HostPinnedDocument, a7 as DocBlocksHostAPI, aF as HostCapabilities, aH as HostEnvironment } from '../capabilities-CH66e2pR.js';
2
+ export { A as AI_IMAGE_ASPECTS, a as AI_IMAGE_FIT_VERDICTS, b as AI_IMAGE_WIRE_LIMITS, c as AiChatCompletion, e as AiChatEvidence, f as AiChatHandle, h as AiChatKnowledgeSource, i as AiChatMessage, k as AiChatPurpose, m as AiConnectionStep, n as AiEnsureWorkspaceHandle, p as AiErrorCode, s as AiFactCheckSentence, t as AiImageAccess, u as AiImageAspect, v as AiImageEvent, w as AiImageHandle, x as AiImageInstallEvent, y as AiImageInstallHandle, z as AiImageModel, B as AiImageModelFit, C as AiImagePhase, D as AiImagePreferences, E as AiImagePreferencesPatch, F as AiImageProgress, G as AiImageRequest, H as AiImageResult, I as AiImageUnavailableReason, J as AiImagesAPI, K as AiKnowledgeAPI, L as AiKnowledgeAction, M as AiKnowledgeCatalog, N as AiKnowledgeState, P as AiModelFit, S as AiModelInstallHandle, W as AiProviderInfo, X as AiResponseFormat, Y as AiResult, Z as AiReviewMode, _ as AiSearchHit, $ as AiSearchQuery, a0 as AiSearchResult, a1 as AiSpeechAudio, a3 as AiSynthesizeRequest, a4 as AiTranscribeRequest, a5 as AiTranscript, a6 as AiUnavailableReason, a8 as DocBlocksHostAiAPI, a9 as DocBlocksHostClipboardAPI, aa as DocBlocksHostExportAPI, ab as DocBlocksHostExternalAPI, ac as DocBlocksHostFfmpegAPI, ad as DocBlocksHostFsAPI, ae as DocBlocksHostGitAPI, af as DocBlocksHostLifecycleAPI, ag as DocBlocksHostMenuAPI, ah as DocBlocksHostShellAPI, ai as DocBlocksHostSpeechAPI, aj as DocBlocksHostUpdaterAPI, ak as DocBlocksHostWorkspacesAPI, al as ElectronWorkspaceInfo, am as ExternalBinaryCommitResult, an as GitBranchInfo, ao as GitCapabilities, ap as GitCloneHandle, aq as GitCloneProgress, ar as GitError, as as GitErrorCode, at as GitFileAtRevision, au as GitFileChange, av as GitFileStatusCode, aw as GitLogEntry, ax as GitLogOptions, ay as GitRemoteInfo, az as GitRepoDetection, aA as GitResult, aB as GitRevision, aC as GitStatus, aD as HOST_PLATFORMS, aE as HOST_SURFACE_KINDS, aG as HostCloseReason, aI as HostExportTargetGrant, aK as HostPlatform, aL as HostPrepareCloseRequest, aM as HostPrepareCloseResult, aN as HostSurfaceKind, aO as MenuCommand, aP as NO_HOST_CAPABILITIES, aU as SpeechErrorCode, aW as SpeechInstallHandle, b1 as SpeechReadinessState, b3 as SpeechSegment, b5 as SpeechSynthesisHandle, bc as SpeechWord, bd as SpeechWordTiming, be as UpdateCheckResult, bf as UpdateInstallResult, bg as UpdaterStatus, bh as deriveHostCapabilities, bi as isAiImageAspect, bj as isAiImageModelId, bk as parseAiImageAccess, bl as parseAiImageEvent, bm as parseAiImageInstallEvent, bn as parseAiImageModel, bo as parseAiImageModelList, bp as parseAiImagePreferences, bq as parseAiImagePreferencesPatch, br as parseAiImageRequest, bs as parseAiImageResult, bt as parseAiKnowledgeAction, bu as parseAiKnowledgeState, bv as parseHostEnvironment } from '../capabilities-CH66e2pR.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;
@@ -85,6 +87,7 @@ declare const SPEECH_WIRE_LIMITS: Readonly<{
85
87
  languageCharacters: 16;
86
88
  transcriptCharacters: number;
87
89
  segmentEntries: 4096;
90
+ segmentWordEntries: 1024;
88
91
  synthesizeTextCharacters: 20000;
89
92
  chunkPcmBytes: number;
90
93
  chunkWordEntries: 1024;
@@ -1,4 +1,7 @@
1
1
  import {
2
+ AI_IMAGE_ASPECTS,
3
+ AI_IMAGE_FIT_VERDICTS,
4
+ AI_IMAGE_WIRE_LIMITS,
2
5
  AI_WIRE_LIMITS,
3
6
  ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
4
7
  FILE_SYSTEM_TRANSFER_LIMITS,
@@ -12,6 +15,8 @@ import {
12
15
  getHostEnvironment,
13
16
  hasDocBlocksHost,
14
17
  hostSupports,
18
+ isAiImageAspect,
19
+ isAiImageModelId,
15
20
  isElectronHost,
16
21
  isSpeechModelId,
17
22
  maybeGetDocBlocksHost,
@@ -22,6 +27,15 @@ import {
22
27
  parseAiError,
23
28
  parseAiFactCheck,
24
29
  parseAiFactCheckRequest,
30
+ parseAiImageAccess,
31
+ parseAiImageEvent,
32
+ parseAiImageInstallEvent,
33
+ parseAiImageModel,
34
+ parseAiImageModelList,
35
+ parseAiImagePreferences,
36
+ parseAiImagePreferencesPatch,
37
+ parseAiImageRequest,
38
+ parseAiImageResult,
25
39
  parseAiKnowledgeAction,
26
40
  parseAiKnowledgeState,
27
41
  parseAiModelDownloadInfo,
@@ -53,7 +67,7 @@ import {
53
67
  parseSpeechTranscribeRequest,
54
68
  parseSpeechTranscript,
55
69
  parseSpeechVoiceInfo
56
- } from "../chunk-P4VIU7MB.js";
70
+ } from "../chunk-WE5W7BRL.js";
57
71
  import {
58
72
  EXPORT_TRANSFER_LIMITS,
59
73
  HOST_WIRE_LIMITS,
@@ -69,6 +83,9 @@ import {
69
83
  parseSupportMailtoUrl
70
84
  } from "../chunk-V5SWLUZY.js";
71
85
  export {
86
+ AI_IMAGE_ASPECTS,
87
+ AI_IMAGE_FIT_VERDICTS,
88
+ AI_IMAGE_WIRE_LIMITS,
72
89
  AI_WIRE_LIMITS,
73
90
  ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
74
91
  EXPORT_TRANSFER_LIMITS,
@@ -86,6 +103,8 @@ export {
86
103
  getHostEnvironment,
87
104
  hasDocBlocksHost,
88
105
  hostSupports,
106
+ isAiImageAspect,
107
+ isAiImageModelId,
89
108
  isBoundedBytePayload,
90
109
  isBoundedString,
91
110
  isElectronHost,
@@ -99,6 +118,15 @@ export {
99
118
  parseAiError,
100
119
  parseAiFactCheck,
101
120
  parseAiFactCheckRequest,
121
+ parseAiImageAccess,
122
+ parseAiImageEvent,
123
+ parseAiImageInstallEvent,
124
+ parseAiImageModel,
125
+ parseAiImageModelList,
126
+ parseAiImagePreferences,
127
+ parseAiImagePreferencesPatch,
128
+ parseAiImageRequest,
129
+ parseAiImageResult,
102
130
  parseAiKnowledgeAction,
103
131
  parseAiKnowledgeState,
104
132
  parseAiModelDownloadInfo,
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-CwPGhW5-.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-BcwJ7z5Z.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 AiChatHandle, c as AiChatKnowledge, d as AiChatKnowledgeSource, e as AiChatMessage, f as AiChatProgress, g as AiChatPurpose, h as AiChatRequest, i as AiConnectionStep, j as AiEnsureWorkspaceHandle, k as AiError, l as AiErrorCode, m as AiFactCheck, n as AiFactCheckRequest, o as AiFactCheckSentence, p as AiImageRequest, q as AiImageResult, r as AiKnowledgeAPI, s as AiKnowledgeAction, t as AiKnowledgeCatalog, u as AiKnowledgeState, v as AiModelDownloadInfo, w as AiModelFit, x as AiModelInfo, y as AiModelInstallEvent, z as AiModelInstallHandle, B as AiPreferences, C as AiPreferencesPatch, D as AiProgress, E as AiProviderInfo, F as AiResponseFormat, G as AiResult, H as AiReviewMode, I as AiSearchHit, J as AiSearchQuery, K as AiSearchResult, L as AiSpeechAudio, M as AiStatus, N as AiSynthesizeRequest, O as AiTranscribeRequest, P as AiTranscript, Q as AiUnavailableReason, R as DocBlocksHostAPI, S as DocBlocksHostAiAPI, T as DocBlocksHostClipboardAPI, U as DocBlocksHostExportAPI, V as DocBlocksHostExternalAPI, W as DocBlocksHostFfmpegAPI, X as DocBlocksHostFsAPI, Y as DocBlocksHostGitAPI, Z as DocBlocksHostLifecycleAPI, _ as DocBlocksHostMenuAPI, $ as DocBlocksHostShellAPI, a0 as DocBlocksHostSpeechAPI, a1 as DocBlocksHostUpdaterAPI, a2 as DocBlocksHostWorkspacesAPI, a3 as ElectronWorkspaceInfo, a4 as ExternalBinaryCommitResult, a5 as GitBranchInfo, a6 as GitCapabilities, a7 as GitCloneHandle, a8 as GitCloneProgress, a9 as GitError, aa as GitErrorCode, ab as GitFileAtRevision, ac as GitFileChange, ad as GitFileStatusCode, ae as GitLogEntry, af as GitLogOptions, ag as GitRemoteInfo, ah as GitRepoDetection, ai as GitResult, aj as GitRevision, ak as GitStatus, al as HOST_PLATFORMS, am as HOST_SURFACE_KINDS, an as HostCapabilities, ao as HostCloseReason, ap as HostEnvironment, aq as HostExportTargetGrant, ar as HostPinnedDocument, as as HostPlatform, at as HostPrepareCloseRequest, au as HostPrepareCloseResult, av as HostSurfaceKind, aw as MenuCommand, ax as NO_HOST_CAPABILITIES, ay as OpenRequest, az as SpeechAudioChunk, aA as SpeechCatalog, aB as SpeechError, aC as SpeechErrorCode, aD as SpeechInstallEvent, aE as SpeechInstallHandle, aF as SpeechModelInfo, aG as SpeechModelKind, aH as SpeechPreferences, aI as SpeechPreferencesPatch, aJ as SpeechProgress, aK as SpeechReadiness, aL as SpeechReadinessState, aM as SpeechResult, aN as SpeechSegment, aO as SpeechStatus, aP as SpeechSynthesisHandle, aQ as SpeechSynthesisSummary, aR as SpeechSynthesizeEvent, aS as SpeechSynthesizeRequest, aT as SpeechTranscribeRequest, aU as SpeechTranscript, aV as SpeechVoiceInfo, aW as SpeechWordTiming, aX as UpdateCheckResult, aY as UpdateInstallResult, aZ as UpdaterStatus, a_ as deriveHostCapabilities, a$ as parseAiKnowledgeAction, b0 as parseAiKnowledgeState, b1 as parseHostEnvironment } from './capabilities-DJ7X9EOt.js';
13
+ export { A as AI_IMAGE_ASPECTS, a as AI_IMAGE_FIT_VERDICTS, b as AI_IMAGE_WIRE_LIMITS, c as AiChatCompletion, d as AiChatEvent, e as AiChatEvidence, f as AiChatHandle, g as AiChatKnowledge, h as AiChatKnowledgeSource, i as AiChatMessage, j as AiChatProgress, k as AiChatPurpose, l as AiChatRequest, m as AiConnectionStep, n as AiEnsureWorkspaceHandle, o as AiError, p as AiErrorCode, q as AiFactCheck, r as AiFactCheckRequest, s as AiFactCheckSentence, t as AiImageAccess, u as AiImageAspect, v as AiImageEvent, w as AiImageHandle, x as AiImageInstallEvent, y as AiImageInstallHandle, z as AiImageModel, B as AiImageModelFit, C as AiImagePhase, D as AiImagePreferences, E as AiImagePreferencesPatch, F as AiImageProgress, G as AiImageRequest, H as AiImageResult, I as AiImageUnavailableReason, J as AiImagesAPI, K as AiKnowledgeAPI, L as AiKnowledgeAction, M as AiKnowledgeCatalog, N as AiKnowledgeState, O as AiModelDownloadInfo, P as AiModelFit, Q as AiModelInfo, R as AiModelInstallEvent, S as AiModelInstallHandle, T as AiPreferences, U as AiPreferencesPatch, V as AiProgress, W as AiProviderInfo, X as AiResponseFormat, Y as AiResult, Z as AiReviewMode, _ as AiSearchHit, $ as AiSearchQuery, a0 as AiSearchResult, a1 as AiSpeechAudio, a2 as AiStatus, a3 as AiSynthesizeRequest, a4 as AiTranscribeRequest, a5 as AiTranscript, a6 as AiUnavailableReason, a7 as DocBlocksHostAPI, a8 as DocBlocksHostAiAPI, a9 as DocBlocksHostClipboardAPI, aa as DocBlocksHostExportAPI, ab as DocBlocksHostExternalAPI, ac as DocBlocksHostFfmpegAPI, ad as DocBlocksHostFsAPI, ae as DocBlocksHostGitAPI, af as DocBlocksHostLifecycleAPI, ag as DocBlocksHostMenuAPI, ah as DocBlocksHostShellAPI, ai as DocBlocksHostSpeechAPI, aj as DocBlocksHostUpdaterAPI, ak as DocBlocksHostWorkspacesAPI, al as ElectronWorkspaceInfo, am as ExternalBinaryCommitResult, an as GitBranchInfo, ao as GitCapabilities, ap as GitCloneHandle, aq as GitCloneProgress, ar as GitError, as as GitErrorCode, at as GitFileAtRevision, au as GitFileChange, av as GitFileStatusCode, aw as GitLogEntry, ax as GitLogOptions, ay as GitRemoteInfo, az as GitRepoDetection, aA as GitResult, aB as GitRevision, aC as GitStatus, aD as HOST_PLATFORMS, aE as HOST_SURFACE_KINDS, aF as HostCapabilities, aG as HostCloseReason, aH as HostEnvironment, aI as HostExportTargetGrant, aJ as HostPinnedDocument, aK as HostPlatform, aL as HostPrepareCloseRequest, aM as HostPrepareCloseResult, aN as HostSurfaceKind, aO as MenuCommand, aP as NO_HOST_CAPABILITIES, aQ as OpenRequest, aR as SpeechAudioChunk, aS as SpeechCatalog, aT as SpeechError, aU as SpeechErrorCode, aV as SpeechInstallEvent, aW as SpeechInstallHandle, aX as SpeechModelInfo, aY as SpeechModelKind, aZ as SpeechPreferences, a_ as SpeechPreferencesPatch, a$ as SpeechProgress, b0 as SpeechReadiness, b1 as SpeechReadinessState, b2 as SpeechResult, b3 as SpeechSegment, b4 as SpeechStatus, b5 as SpeechSynthesisHandle, b6 as SpeechSynthesisSummary, b7 as SpeechSynthesizeEvent, b8 as SpeechSynthesizeRequest, b9 as SpeechTranscribeRequest, ba as SpeechTranscript, bb as SpeechVoiceInfo, bc as SpeechWord, bd as SpeechWordTiming, be as UpdateCheckResult, bf as UpdateInstallResult, bg as UpdaterStatus, bh as deriveHostCapabilities, bi as isAiImageAspect, bj as isAiImageModelId, bk as parseAiImageAccess, bl as parseAiImageEvent, bm as parseAiImageInstallEvent, bn as parseAiImageModel, bo as parseAiImageModelList, bp as parseAiImagePreferences, bq as parseAiImagePreferencesPatch, br as parseAiImageRequest, bs as parseAiImageResult, bt as parseAiKnowledgeAction, bu as parseAiKnowledgeState, bv as parseHostEnvironment } from './capabilities-CH66e2pR.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-XI2LYBRR.js";
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-LJLQYXVL.js";
37
+ } from "./chunk-CI3DHDPG.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-Q3OFZWJS.js";
50
- import "./chunk-DAPFSEKY.js";
51
+ } from "./chunk-3HUKGWDK.js";
52
+ import "./chunk-OPLU2CYA.js";
51
53
  import {
52
54
  MemoryFileSystemProvider,
53
55
  MemoryFileSystemProviderV2
@@ -68,9 +70,12 @@ import "./chunk-3GSMJ4MQ.js";
68
70
  import {
69
71
  ElectronFileSystemProvider,
70
72
  ElectronFileSystemProviderV2
71
- } from "./chunk-56QRV45P.js";
72
- import "./chunk-45XD424D.js";
73
+ } from "./chunk-LP6JHGBP.js";
74
+ import "./chunk-ZBRXXOW5.js";
73
75
  import {
76
+ AI_IMAGE_ASPECTS,
77
+ AI_IMAGE_FIT_VERDICTS,
78
+ AI_IMAGE_WIRE_LIMITS,
74
79
  AI_WIRE_LIMITS,
75
80
  ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
76
81
  FILE_SYSTEM_TRANSFER_LIMITS,
@@ -84,6 +89,8 @@ import {
84
89
  getHostEnvironment,
85
90
  hasDocBlocksHost,
86
91
  hostSupports,
92
+ isAiImageAspect,
93
+ isAiImageModelId,
87
94
  isElectronHost,
88
95
  isSpeechModelId,
89
96
  maybeGetDocBlocksHost,
@@ -94,6 +101,15 @@ import {
94
101
  parseAiError,
95
102
  parseAiFactCheck,
96
103
  parseAiFactCheckRequest,
104
+ parseAiImageAccess,
105
+ parseAiImageEvent,
106
+ parseAiImageInstallEvent,
107
+ parseAiImageModel,
108
+ parseAiImageModelList,
109
+ parseAiImagePreferences,
110
+ parseAiImagePreferencesPatch,
111
+ parseAiImageRequest,
112
+ parseAiImageResult,
97
113
  parseAiKnowledgeAction,
98
114
  parseAiKnowledgeState,
99
115
  parseAiModelDownloadInfo,
@@ -125,7 +141,7 @@ import {
125
141
  parseSpeechTranscribeRequest,
126
142
  parseSpeechTranscript,
127
143
  parseSpeechVoiceInfo
128
- } from "./chunk-P4VIU7MB.js";
144
+ } from "./chunk-WE5W7BRL.js";
129
145
  import "./chunk-245W57QP.js";
130
146
  import {
131
147
  EXPORT_TRANSFER_LIMITS,
@@ -165,7 +181,7 @@ import {
165
181
  isFileSystemMoveRecoveryError,
166
182
  isFileSystemMoveStateError,
167
183
  isFileSystemPartialMoveError
168
- } from "./chunk-FIEMYP2N.js";
184
+ } from "./chunk-D7VUEVAX.js";
169
185
  import {
170
186
  getFileSystemProviderV2,
171
187
  hasFileSystemProviderV2
@@ -192,6 +208,9 @@ import {
192
208
  workspacePathToLegacy
193
209
  } from "./chunk-UTH3HYCZ.js";
194
210
  export {
211
+ AI_IMAGE_ASPECTS,
212
+ AI_IMAGE_FIT_VERDICTS,
213
+ AI_IMAGE_WIRE_LIMITS,
195
214
  AI_WIRE_LIMITS,
196
215
  DEFAULT_WORKSPACE_ID,
197
216
  DOCUMENT_RECOVERY_JOURNAL_SCHEMA_VERSION,
@@ -254,11 +273,14 @@ export {
254
273
  hasDocBlocksHost,
255
274
  hasFileSystemProviderV2,
256
275
  hostSupports,
276
+ isAiImageAspect,
277
+ isAiImageModelId,
257
278
  isBoundedBytePayload,
258
279
  isBoundedString,
259
280
  isBrowsableWorkspaceEntry,
260
281
  isCompanionDirectoryName,
261
282
  isDiscoverableWorkspaceEntry,
283
+ isDocumentMediaPath,
262
284
  isElectronHost,
263
285
  isFileSystemMoveRecoveryError,
264
286
  isFileSystemMoveStateError,
@@ -284,6 +306,15 @@ export {
284
306
  parseAiError,
285
307
  parseAiFactCheck,
286
308
  parseAiFactCheckRequest,
309
+ parseAiImageAccess,
310
+ parseAiImageEvent,
311
+ parseAiImageInstallEvent,
312
+ parseAiImageModel,
313
+ parseAiImageModelList,
314
+ parseAiImagePreferences,
315
+ parseAiImagePreferencesPatch,
316
+ parseAiImageRequest,
317
+ parseAiImageResult,
287
318
  parseAiKnowledgeAction,
288
319
  parseAiKnowledgeState,
289
320
  parseAiModelDownloadInfo,
@@ -329,6 +360,7 @@ export {
329
360
  removeDirectoryHandle,
330
361
  removeWorkspace,
331
362
  replaceMemoryWorkspaceFromDbk,
363
+ resolveDocumentRelativeMediaPath,
332
364
  resolveWikiArticlePath,
333
365
  restoreNativeFolder,
334
366
  rewriteCompanionReferences,
@@ -1,5 +1,5 @@
1
1
  import { d as FileSystemProvider } from './types-DLteNrK0.js';
2
- import { a3 as ElectronWorkspaceInfo, ap as HostEnvironment } from './capabilities-DJ7X9EOt.js';
2
+ import { al as ElectronWorkspaceInfo, aH as HostEnvironment } from './capabilities-CH66e2pR.js';
3
3
 
4
4
  /**
5
5
  * Origin of a transient workspace — records where its contents came from and
@@ -1,9 +1,9 @@
1
- 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-CwPGhW5-.js';
1
+ 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-BcwJ7z5Z.js';
2
2
  import { ContentContainer } from '@bendyline/squisq/storage';
3
3
  import { o as FileSystemProviderV2 } from '../v2-DwxWjFC0.js';
4
4
  import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
5
5
  import '../types-DLteNrK0.js';
6
- import '../capabilities-DJ7X9EOt.js';
6
+ import '../capabilities-CH66e2pR.js';
7
7
  import '../filesystem-v2-CXdAPR27.js';
8
8
 
9
9
  declare const WORKSPACE_BACKUP_MANIFEST = "docblocks-backup.json";
@@ -18,8 +18,8 @@ import {
18
18
  saveWorkspace,
19
19
  touchWorkspace,
20
20
  unregisterTransientWorkspace
21
- } from "../chunk-XI2LYBRR.js";
22
- import "../chunk-DAPFSEKY.js";
21
+ } from "../chunk-FGT6AW2D.js";
22
+ import "../chunk-OPLU2CYA.js";
23
23
  import "../chunk-XAMILHQP.js";
24
24
  import "../chunk-UTH3HYCZ.js";
25
25
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/docblocks",
3
- "version": "2.7.6",
3
+ "version": "2.7.8",
4
4
  "description": "Core data structures and filesystem abstractions for DocBlocks",
5
5
  "license": "MIT",
6
6
  "author": "Bendyline",
@@ -126,7 +126,7 @@
126
126
  "typecheck": "tsc --noEmit"
127
127
  },
128
128
  "dependencies": {
129
- "@bendyline/squisq": "2.13.0",
129
+ "@bendyline/squisq": "2.13.6",
130
130
  "zod": "3.25.76"
131
131
  }
132
132
  }