@bendyline/docblocks 2.7.13 → 2.7.15

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.
@@ -14,7 +14,7 @@ This notice is included in the published npm tarball. Transitive packages instal
14
14
 
15
15
  | Package | Version | License | Source |
16
16
  | --- | --- | --- | --- |
17
- | @bendyline/squisq | 2.13.12 | MIT | https://github.com/bendyline/squisq |
17
+ | @bendyline/squisq | 2.13.15 | MIT | https://github.com/bendyline/squisq |
18
18
  | @bendyline/squisq-graph | 2.13.1 | MIT | https://github.com/bendyline/squisq |
19
19
  | @types/debug | 4.1.12 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
20
20
  | @types/hast | 3.0.4 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
@@ -133,7 +133,7 @@ This notice is included in the published npm tarball. Transitive packages instal
133
133
  Package-local license, copying, and notice files are reproduced below. Where a published package omits its repository license, the reviewed aggregate or README identified in `Source files` supplies the retained material.
134
134
 
135
135
  ==============================================================================
136
- Components: @bendyline/squisq-graph@2.13.1, @bendyline/squisq@2.13.12
136
+ Components: @bendyline/squisq-graph@2.13.1, @bendyline/squisq@2.13.15
137
137
  Source files: node_modules/@bendyline/squisq-graph/LICENSE, node_modules/@bendyline/squisq/LICENSE
138
138
  ==============================================================================
139
139
  MIT License
@@ -189,7 +189,7 @@ repository license, the pinned upstream copy is vendored and identified below.
189
189
  COMPONENTS
190
190
 
191
191
  ==============================================================================
192
- Components: @bendyline/squisq@2.13.12
192
+ Components: @bendyline/squisq@2.13.15
193
193
  Source files: node_modules/@bendyline/squisq/NOTICE.md
194
194
  ==============================================================================
195
195
  # Third-Party Notices for @bendyline/squisq
@@ -220,7 +220,7 @@ third-party license texts for bundled code and data are shipped in
220
220
  THIRD_PARTY_LICENSES.txt.
221
221
 
222
222
  ==============================================================================
223
- Components: @bendyline/squisq@2.13.12
223
+ Components: @bendyline/squisq@2.13.15
224
224
  Source files: node_modules/@bendyline/squisq/THIRD_PARTY_LICENSES.txt
225
225
  ==============================================================================
226
226
  THIRD-PARTY LICENSES FOR @bendyline/squisq
@@ -1149,6 +1149,12 @@ interface ElectronWorkspaceInfo {
1149
1149
  * never default. Hosts that cannot tell omit it.
1150
1150
  */
1151
1151
  isDefault?: boolean;
1152
+ /**
1153
+ * True when the platform deletes this workspace's files along with the app
1154
+ * (Android's private "On this device" storage). The shell warns while it is
1155
+ * open and offers to move its documents into a folder that outlives the app.
1156
+ */
1157
+ deletedWithApp?: boolean;
1152
1158
  }
1153
1159
  /** Workspace-management operations exposed to the renderer. */
1154
1160
  interface DocBlocksHostWorkspacesAPI {
@@ -1171,6 +1177,11 @@ interface DocBlocksHostWorkspacesAPI {
1171
1177
  register(workspaceId: string): Promise<void>;
1172
1178
  /** Remove a workspace from the trusted whitelist. */
1173
1179
  unregister(id: string): Promise<void>;
1180
+ /**
1181
+ * Make a listed workspace the one the host opens by default from now on.
1182
+ * Hosts whose default is fixed omit it.
1183
+ */
1184
+ setDefault?(id: string): Promise<void>;
1174
1185
  }
1175
1186
  /** Shell operations — reveal in Finder/Explorer, open external URLs. */
1176
1187
  interface DocBlocksHostShellAPI {
@@ -4,7 +4,7 @@ export { isElectronHost } from '../host/index.js';
4
4
  import '../v2-pBdrFAlW.js';
5
5
  import '../workspace-path-CWVrcuPL.js';
6
6
  import '../filesystem-v2-CYPHqoIw.js';
7
- import '../capabilities-yyRj0hyP.js';
7
+ import '../capabilities-98WbPTSj.js';
8
8
 
9
9
  /** Compatibility entry point retaining the Electron backend's exact guarantees. */
10
10
  declare class ElectronFileSystemProviderV2 extends HostFileSystemProviderV2 {
@@ -15,7 +15,7 @@ export { ElectronFileSystemProvider, ElectronFileSystemProviderV2 } from './elec
15
15
  export { isElectronHost } from '../host/index.js';
16
16
  import '../host-provider-v2-C2g9R17A.js';
17
17
  import '../filesystem-v2-CYPHqoIw.js';
18
- import '../capabilities-yyRj0hyP.js';
18
+ import '../capabilities-98WbPTSj.js';
19
19
 
20
20
  /** Immediate article/folder suggestions from an already bounded listing. */
21
21
  declare function suggestWikiArticles(files: readonly {
@@ -1,5 +1,5 @@
1
- import { d as AiChatEvent, g as AiChatKnowledge, j as AiChatProgress, l as AiChatRequest, o as AiError, q as AiFactCheck, r as AiFactCheckRequest, Q as AiModelDownloadInfo, S as AiModelInfo, T as AiModelInstallEvent, V as AiPreferences, W as AiPreferencesPatch, X as AiProgress, a4 as AiStatus, aT as SpeechAudioChunk, aU as SpeechCatalog, aV as SpeechError, aX as SpeechInstallEvent, aZ as SpeechModelInfo, a_ as SpeechModelKind, b4 as SpeechResult, a$ as SpeechPreferences, b0 as SpeechPreferencesPatch, b1 as SpeechProgress, b2 as SpeechReadiness, b6 as SpeechStatus, b8 as SpeechSynthesisSummary, b9 as SpeechSynthesizeEvent, ba as SpeechSynthesizeRequest, bb as SpeechTranscribeRequest, bc as SpeechTranscript, bd as SpeechVoiceInfo, aS as OpenRequest, aL as HostPinnedDocument, a9 as DocBlocksHostAPI, aH as HostCapabilities, aJ as HostEnvironment } from '../capabilities-yyRj0hyP.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 AiImageStyle, J as AiImageUnavailableReason, K as AiImagesAPI, L as AiKnowledgeAPI, M as AiKnowledgeAction, N as AiKnowledgeCatalog, O as AiKnowledgePassage, P as AiKnowledgeState, R as AiModelFit, U as AiModelInstallHandle, Y as AiProviderInfo, Z as AiResponseFormat, _ as AiResult, $ as AiReviewMode, a0 as AiSearchHit, a1 as AiSearchQuery, a2 as AiSearchResult, a3 as AiSpeechAudio, a5 as AiSynthesizeRequest, a6 as AiTranscribeRequest, a7 as AiTranscript, a8 as AiUnavailableReason, aa as DocBlocksHostAiAPI, ab as DocBlocksHostClipboardAPI, ac as DocBlocksHostExportAPI, ad as DocBlocksHostExternalAPI, ae as DocBlocksHostFfmpegAPI, af as DocBlocksHostFsAPI, ag as DocBlocksHostGitAPI, ah as DocBlocksHostLifecycleAPI, ai as DocBlocksHostMenuAPI, aj as DocBlocksHostShellAPI, ak as DocBlocksHostSpeechAPI, al as DocBlocksHostUpdaterAPI, am as DocBlocksHostWorkspacesAPI, an as ElectronWorkspaceInfo, ao as ExternalBinaryCommitResult, ap as GitBranchInfo, aq as GitCapabilities, ar as GitCloneHandle, as as GitCloneProgress, at as GitError, au as GitErrorCode, av as GitFileAtRevision, aw as GitFileChange, ax as GitFileStatusCode, ay as GitLogEntry, az 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, b3 as SpeechReadinessState, b5 as SpeechSegment, b7 as SpeechSynthesisHandle, be as SpeechWord, bf as SpeechWordTiming, bg as UpdateCheckResult, bh as UpdateInstallResult, bi as UpdaterStatus, bj as deriveHostCapabilities, bk as isAiImageAspect, bl as isAiImageModelId, bm as knowledgeChatEvent, bn as knowledgeSources, bo as parseAiImageAccess, bp as parseAiImageEvent, bq as parseAiImageInstallEvent, br as parseAiImageModel, bs as parseAiImageModelList, bt as parseAiImagePreferences, bu as parseAiImagePreferencesPatch, bv as parseAiImageRequest, bw as parseAiImageResult, bx as parseAiImageStyle, by as parseAiImageStyleList, bz as parseAiKnowledgeAction, bA as parseAiKnowledgeState, bB as parseHostEnvironment } from '../capabilities-yyRj0hyP.js';
1
+ import { d as AiChatEvent, g as AiChatKnowledge, j as AiChatProgress, l as AiChatRequest, o as AiError, q as AiFactCheck, r as AiFactCheckRequest, Q as AiModelDownloadInfo, S as AiModelInfo, T as AiModelInstallEvent, V as AiPreferences, W as AiPreferencesPatch, X as AiProgress, a4 as AiStatus, aT as SpeechAudioChunk, aU as SpeechCatalog, aV as SpeechError, aX as SpeechInstallEvent, aZ as SpeechModelInfo, a_ as SpeechModelKind, b4 as SpeechResult, a$ as SpeechPreferences, b0 as SpeechPreferencesPatch, b1 as SpeechProgress, b2 as SpeechReadiness, b6 as SpeechStatus, b8 as SpeechSynthesisSummary, b9 as SpeechSynthesizeEvent, ba as SpeechSynthesizeRequest, bb as SpeechTranscribeRequest, bc as SpeechTranscript, bd as SpeechVoiceInfo, aS as OpenRequest, aL as HostPinnedDocument, a9 as DocBlocksHostAPI, aH as HostCapabilities, aJ as HostEnvironment } from '../capabilities-98WbPTSj.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 AiImageStyle, J as AiImageUnavailableReason, K as AiImagesAPI, L as AiKnowledgeAPI, M as AiKnowledgeAction, N as AiKnowledgeCatalog, O as AiKnowledgePassage, P as AiKnowledgeState, R as AiModelFit, U as AiModelInstallHandle, Y as AiProviderInfo, Z as AiResponseFormat, _ as AiResult, $ as AiReviewMode, a0 as AiSearchHit, a1 as AiSearchQuery, a2 as AiSearchResult, a3 as AiSpeechAudio, a5 as AiSynthesizeRequest, a6 as AiTranscribeRequest, a7 as AiTranscript, a8 as AiUnavailableReason, aa as DocBlocksHostAiAPI, ab as DocBlocksHostClipboardAPI, ac as DocBlocksHostExportAPI, ad as DocBlocksHostExternalAPI, ae as DocBlocksHostFfmpegAPI, af as DocBlocksHostFsAPI, ag as DocBlocksHostGitAPI, ah as DocBlocksHostLifecycleAPI, ai as DocBlocksHostMenuAPI, aj as DocBlocksHostShellAPI, ak as DocBlocksHostSpeechAPI, al as DocBlocksHostUpdaterAPI, am as DocBlocksHostWorkspacesAPI, an as ElectronWorkspaceInfo, ao as ExternalBinaryCommitResult, ap as GitBranchInfo, aq as GitCapabilities, ar as GitCloneHandle, as as GitCloneProgress, at as GitError, au as GitErrorCode, av as GitFileAtRevision, aw as GitFileChange, ax as GitFileStatusCode, ay as GitLogEntry, az 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, b3 as SpeechReadinessState, b5 as SpeechSegment, b7 as SpeechSynthesisHandle, be as SpeechWord, bf as SpeechWordTiming, bg as UpdateCheckResult, bh as UpdateInstallResult, bi as UpdaterStatus, bj as deriveHostCapabilities, bk as isAiImageAspect, bl as isAiImageModelId, bm as knowledgeChatEvent, bn as knowledgeSources, bo as parseAiImageAccess, bp as parseAiImageEvent, bq as parseAiImageInstallEvent, br as parseAiImageModel, bs as parseAiImageModelList, bt as parseAiImagePreferences, bu as parseAiImagePreferencesPatch, bv as parseAiImageRequest, bw as parseAiImageResult, bx as parseAiImageStyle, by as parseAiImageStyleList, bz as parseAiKnowledgeAction, bA as parseAiKnowledgeState, bB as parseHostEnvironment } from '../capabilities-98WbPTSj.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-CYPHqoIw.js';
4
4
  import '../types-BIaQ_gYW.js';
5
5
  import '../v2-pBdrFAlW.js';
@@ -312,6 +312,7 @@ declare function parseMobileBootstrap(value: unknown): {
312
312
  name: string;
313
313
  id: string;
314
314
  rootPath: string;
315
+ deletedWithApp?: boolean | undefined;
315
316
  }[];
316
317
  folderPicker: boolean;
317
318
  capabilities: FileSystemProviderCapabilities;
@@ -385,6 +386,7 @@ declare function parseMobilePickedFolder(input: unknown): {
385
386
  name: string;
386
387
  id: string;
387
388
  rootPath: string;
389
+ deletedWithApp?: boolean | undefined;
388
390
  } | null;
389
391
 
390
392
  export { MOBILE_STORAGE_LIMITS, type MobileExportRequest, type MobileFsRequest, type MobileNativeSend, createMobileFileSystemBridge, encodeMobileBytes, parseMobileBootstrap, parseMobileExportOutcome, parseMobileExportRequest, parseMobileExportToken, parseMobileOpenRequests, parseMobilePickedFolder, parseMobileResult };
@@ -244,7 +244,12 @@ function createMobileFileSystemBridge(send, capabilities) {
244
244
  };
245
245
  return bridge;
246
246
  }
247
- var workspace = z.object({ id, name: z.string().min(1).max(1024), rootPath: z.string().min(1).max(4096) }).strict();
247
+ var workspace = z.object({
248
+ id,
249
+ name: z.string().min(1).max(1024),
250
+ rootPath: z.string().min(1).max(4096),
251
+ deletedWithApp: z.boolean().optional()
252
+ }).strict();
248
253
  function parseMobileBootstrap(value) {
249
254
  return z.object({
250
255
  env: z.object({
package/dist/index.d.ts CHANGED
@@ -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-FvgF5oC7.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-MzNvYOp2.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 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 AiImageStyle, J as AiImageUnavailableReason, K as AiImagesAPI, L as AiKnowledgeAPI, M as AiKnowledgeAction, N as AiKnowledgeCatalog, O as AiKnowledgePassage, 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 AiResponseFormat, _ as AiResult, $ as AiReviewMode, a0 as AiSearchHit, a1 as AiSearchQuery, a2 as AiSearchResult, a3 as AiSpeechAudio, a4 as AiStatus, a5 as AiSynthesizeRequest, a6 as AiTranscribeRequest, a7 as AiTranscript, a8 as AiUnavailableReason, a9 as DocBlocksHostAPI, aa as DocBlocksHostAiAPI, ab as DocBlocksHostClipboardAPI, ac as DocBlocksHostExportAPI, ad as DocBlocksHostExternalAPI, ae as DocBlocksHostFfmpegAPI, af as DocBlocksHostFsAPI, ag as DocBlocksHostGitAPI, ah as DocBlocksHostLifecycleAPI, ai as DocBlocksHostMenuAPI, aj as DocBlocksHostShellAPI, ak as DocBlocksHostSpeechAPI, al as DocBlocksHostUpdaterAPI, am as DocBlocksHostWorkspacesAPI, an as ElectronWorkspaceInfo, ao as ExternalBinaryCommitResult, ap as GitBranchInfo, aq as GitCapabilities, ar as GitCloneHandle, as as GitCloneProgress, at as GitError, au as GitErrorCode, av as GitFileAtRevision, aw as GitFileChange, ax as GitFileStatusCode, ay as GitLogEntry, az 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, a_ as SpeechModelKind, a$ as SpeechPreferences, b0 as SpeechPreferencesPatch, b1 as SpeechProgress, b2 as SpeechReadiness, b3 as SpeechReadinessState, b4 as SpeechResult, b5 as SpeechSegment, b6 as SpeechStatus, b7 as SpeechSynthesisHandle, b8 as SpeechSynthesisSummary, b9 as SpeechSynthesizeEvent, ba as SpeechSynthesizeRequest, bb as SpeechTranscribeRequest, bc as SpeechTranscript, bd as SpeechVoiceInfo, be as SpeechWord, bf as SpeechWordTiming, bg as UpdateCheckResult, bh as UpdateInstallResult, bi as UpdaterStatus, bj as deriveHostCapabilities, bk as isAiImageAspect, bl as isAiImageModelId, bm as knowledgeChatEvent, bn as knowledgeSources, bo as parseAiImageAccess, bp as parseAiImageEvent, bq as parseAiImageInstallEvent, br as parseAiImageModel, bs as parseAiImageModelList, bt as parseAiImagePreferences, bu as parseAiImagePreferencesPatch, bv as parseAiImageRequest, bw as parseAiImageResult, bx as parseAiImageStyle, by as parseAiImageStyleList, bz as parseAiKnowledgeAction, bA as parseAiKnowledgeState, bB as parseHostEnvironment } from './capabilities-yyRj0hyP.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 AiImageStyle, J as AiImageUnavailableReason, K as AiImagesAPI, L as AiKnowledgeAPI, M as AiKnowledgeAction, N as AiKnowledgeCatalog, O as AiKnowledgePassage, 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 AiResponseFormat, _ as AiResult, $ as AiReviewMode, a0 as AiSearchHit, a1 as AiSearchQuery, a2 as AiSearchResult, a3 as AiSpeechAudio, a4 as AiStatus, a5 as AiSynthesizeRequest, a6 as AiTranscribeRequest, a7 as AiTranscript, a8 as AiUnavailableReason, a9 as DocBlocksHostAPI, aa as DocBlocksHostAiAPI, ab as DocBlocksHostClipboardAPI, ac as DocBlocksHostExportAPI, ad as DocBlocksHostExternalAPI, ae as DocBlocksHostFfmpegAPI, af as DocBlocksHostFsAPI, ag as DocBlocksHostGitAPI, ah as DocBlocksHostLifecycleAPI, ai as DocBlocksHostMenuAPI, aj as DocBlocksHostShellAPI, ak as DocBlocksHostSpeechAPI, al as DocBlocksHostUpdaterAPI, am as DocBlocksHostWorkspacesAPI, an as ElectronWorkspaceInfo, ao as ExternalBinaryCommitResult, ap as GitBranchInfo, aq as GitCapabilities, ar as GitCloneHandle, as as GitCloneProgress, at as GitError, au as GitErrorCode, av as GitFileAtRevision, aw as GitFileChange, ax as GitFileStatusCode, ay as GitLogEntry, az 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, a_ as SpeechModelKind, a$ as SpeechPreferences, b0 as SpeechPreferencesPatch, b1 as SpeechProgress, b2 as SpeechReadiness, b3 as SpeechReadinessState, b4 as SpeechResult, b5 as SpeechSegment, b6 as SpeechStatus, b7 as SpeechSynthesisHandle, b8 as SpeechSynthesisSummary, b9 as SpeechSynthesizeEvent, ba as SpeechSynthesizeRequest, bb as SpeechTranscribeRequest, bc as SpeechTranscript, bd as SpeechVoiceInfo, be as SpeechWord, bf as SpeechWordTiming, bg as UpdateCheckResult, bh as UpdateInstallResult, bi as UpdaterStatus, bj as deriveHostCapabilities, bk as isAiImageAspect, bl as isAiImageModelId, bm as knowledgeChatEvent, bn as knowledgeSources, bo as parseAiImageAccess, bp as parseAiImageEvent, bq as parseAiImageInstallEvent, br as parseAiImageModel, bs as parseAiImageModelList, bt as parseAiImagePreferences, bu as parseAiImagePreferencesPatch, bv as parseAiImageRequest, bw as parseAiImageResult, bx as parseAiImageStyle, by as parseAiImageStyleList, bz as parseAiKnowledgeAction, bA as parseAiKnowledgeState, bB as parseHostEnvironment } from './capabilities-98WbPTSj.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-CYPHqoIw.js';
15
15
  import '@bendyline/squisq/markdown';
16
16
  import '@bendyline/squisq/storage';
@@ -1,5 +1,5 @@
1
- import { A as ArtifactRef, C as ComparisonResult, a as ConversionResult, D as DocumentSource, I as InspectionResult, M as MaterializationOptions, b as McpDiagnostic, c as McpErrorResult, P as PreviewResult } from '../types-d0yvHUJz.js';
2
- export { d as AppliedOption, e as AppliedOptionValue, f as ApplyInferredThemeResult, g as ArtifactDocumentSource, h as AssetSummary, i as AuthoringContextResult, j as AuthoringGoal, k as AuthoringSyntaxSummary, l as AuthoringTemplateSummary, B as BlockSummary, m as BundleAssetContentSource, n as BundleAssetRef, o as BundleDocumentSource, p as ComparisonCategory, q as ComparisonChange, r as ComparisonMetric, s as ComparisonStatus, t as ConversionFidelity, u as ConvertDocumentResult, v as DOCBLOCKS_MCP_TOOL_NAMES, w as DOCBLOCKS_MCP_WIRE_VERSION, x as DescribeTemplateResult, y as DescribeThemeResult, z as DescribedTemplate, E as DiagnosticLocation, F as DiagnosticSeverity, G as DiagnosticStage, H as DocBlocksMcpToolName, J as DocBlocksMcpWireVersion, K as DocumentItemSummary, L as DocumentMetadataSummary, N as DocumentStatistics, O as EngineVersion, Q as FileDocumentSource, R as FormatCapabilitySummary, S as FormatDirectionCapability, T as InferThemeResult, U as InferredLayoutSummary, V as InspectPptxLayoutsResult, W as LinkSummary, X as ListFormatsResult, Y as ListRootsResult, Z as ListTemplatesResult, _ as ListThemesResult, $ as ListTransformStylesResult, a0 as MarkdownDocumentSource, a1 as McpErrorDetail, a2 as McpSuccessResult, a3 as OutlineEntry, a4 as PptxLayoutSummary, a5 as PptxSlideSize, a6 as PreviewItem, a7 as PreviewItemKind, a8 as RecommendTemplatesResult, a9 as RootGrantSummary, aa as SaveArtifactResult, ab as SavedArtifactDestination, ac as SourceRange, ad as TableSummary, ae as TemplateAuthoringRole, af as TemplateBodyPolicy, ag as TemplateContentProfile, ah as TemplateInputSummary, ai as TemplateRecommendation, aj as TemplateSummary, ak as ThemeCatalogEntry, al as ThemeDescription, am as ThemeDescriptionColors, an as ThemeSummary, ao as TransformStyleSummary } from '../types-d0yvHUJz.js';
1
+ import { A as ArtifactRef, C as ComparisonResult, a as ConversionResult, D as DocumentSource, I as InspectionResult, M as MaterializationOptions, b as McpDiagnostic, c as McpErrorResult, P as PreviewResult } from '../types-B3PA-vCZ.js';
2
+ export { d as AppliedOption, e as AppliedOptionValue, f as ApplyInferredThemeResult, g as ArtifactDocumentSource, h as AssetSummary, i as AuthoringContextResult, j as AuthoringGoal, k as AuthoringSyntaxSummary, l as AuthoringTemplateSummary, B as BlockSummary, m as BundleAssetContentSource, n as BundleAssetRef, o as BundleDocumentSource, p as ComparisonCategory, q as ComparisonChange, r as ComparisonMetric, s as ComparisonStatus, t as ConversionFidelity, u as ConvertDocumentResult, v as DOCBLOCKS_MCP_TOOL_NAMES, w as DOCBLOCKS_MCP_WIRE_VERSION, x as DescribeTemplateResult, y as DescribeThemeResult, z as DescribedTemplate, E as DiagnosticLocation, F as DiagnosticSeverity, G as DiagnosticStage, H as DocBlocksMcpToolName, J as DocBlocksMcpWireVersion, K as DocumentItemSummary, L as DocumentMetadataSummary, N as DocumentStatistics, O as EngineVersion, Q as FileDocumentSource, R as FormatCapabilitySummary, S as FormatDirectionCapability, T as InferThemeResult, U as InferredLayoutSummary, V as InspectPptxLayoutsResult, W as LinkSummary, X as ListFormatsResult, Y as ListRootsResult, Z as ListTemplatesResult, _ as ListThemesResult, $ as ListTransformStylesResult, a0 as MarkdownDocumentSource, a1 as McpErrorDetail, a2 as McpSuccessResult, a3 as OutlineEntry, a4 as PptxLayoutSummary, a5 as PptxSlideSize, a6 as PreviewItem, a7 as PreviewItemKind, a8 as RecommendTemplatesResult, a9 as RootGrantSummary, aa as SaveArtifactResult, ab as SavedArtifactDestination, ac as SourceRange, ad as TableSummary, ae as TemplateAuthoringRole, af as TemplateBodyPolicy, ag as TemplateContentProfile, ah as TemplateInputSummary, ai as TemplateListShape, aj as TemplateRecommendation, ak as TemplateSummary, al as ThemeCatalogEntry, am as ThemeDescription, an as ThemeDescriptionColors, ao as ThemeSummary, ap as TransformStyleSummary } from '../types-B3PA-vCZ.js';
3
3
  import '../workspace-path-CWVrcuPL.js';
4
4
 
5
5
  /** Quantitative limits for untrusted MCP payloads. */
package/dist/mcp/zod.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { z as z$1 } from 'zod/v4';
3
- import { H as DocBlocksMcpToolName } from '../types-d0yvHUJz.js';
3
+ import { H as DocBlocksMcpToolName } from '../types-B3PA-vCZ.js';
4
4
  import '../workspace-path-CWVrcuPL.js';
5
5
 
6
6
  /** Canonical Zod projection of the exact MCP wire contract for protocol SDKs. */
@@ -4212,6 +4212,22 @@ declare const authoringTemplateSummarySchema: z.ZodObject<{
4212
4212
  safeForContentFirst: boolean;
4213
4213
  placement: "heading";
4214
4214
  }>;
4215
+ declare const templateListShapeSchema: z.ZodObject<{
4216
+ shape: z.ZodString;
4217
+ templateId: z.ZodString;
4218
+ confidence: z.ZodEnum<["strong", "weak"]>;
4219
+ reason: z.ZodString;
4220
+ }, "strict", z.ZodTypeAny, {
4221
+ templateId: string;
4222
+ shape: string;
4223
+ confidence: "strong" | "weak";
4224
+ reason: string;
4225
+ }, {
4226
+ templateId: string;
4227
+ shape: string;
4228
+ confidence: "strong" | "weak";
4229
+ reason: string;
4230
+ }>;
4215
4231
  declare const templateContentProfileSchema: z.ZodObject<{
4216
4232
  hasImage: z.ZodBoolean;
4217
4233
  imageCount: z.ZodNumber;
@@ -4226,6 +4242,22 @@ declare const templateContentProfileSchema: z.ZodObject<{
4226
4242
  hasAsciiDiagram: z.ZodBoolean;
4227
4243
  hasTimeline: z.ZodBoolean;
4228
4244
  hasTree: z.ZodBoolean;
4245
+ listShape: z.ZodNullable<z.ZodObject<{
4246
+ shape: z.ZodString;
4247
+ templateId: z.ZodString;
4248
+ confidence: z.ZodEnum<["strong", "weak"]>;
4249
+ reason: z.ZodString;
4250
+ }, "strict", z.ZodTypeAny, {
4251
+ templateId: string;
4252
+ shape: string;
4253
+ confidence: "strong" | "weak";
4254
+ reason: string;
4255
+ }, {
4256
+ templateId: string;
4257
+ shape: string;
4258
+ confidence: "strong" | "weak";
4259
+ reason: string;
4260
+ }>>;
4229
4261
  }, "strict", z.ZodTypeAny, {
4230
4262
  wordCount: number;
4231
4263
  hasImage: boolean;
@@ -4240,6 +4272,12 @@ declare const templateContentProfileSchema: z.ZodObject<{
4240
4272
  hasAsciiDiagram: boolean;
4241
4273
  hasTimeline: boolean;
4242
4274
  hasTree: boolean;
4275
+ listShape: {
4276
+ templateId: string;
4277
+ shape: string;
4278
+ confidence: "strong" | "weak";
4279
+ reason: string;
4280
+ } | null;
4243
4281
  }, {
4244
4282
  wordCount: number;
4245
4283
  hasImage: boolean;
@@ -4254,6 +4292,12 @@ declare const templateContentProfileSchema: z.ZodObject<{
4254
4292
  hasAsciiDiagram: boolean;
4255
4293
  hasTimeline: boolean;
4256
4294
  hasTree: boolean;
4295
+ listShape: {
4296
+ templateId: string;
4297
+ shape: string;
4298
+ confidence: "strong" | "weak";
4299
+ reason: string;
4300
+ } | null;
4257
4301
  }>;
4258
4302
  declare const templateRecommendationSchema: z.ZodObject<{
4259
4303
  blockId: z.ZodString;
@@ -4272,6 +4316,22 @@ declare const templateRecommendationSchema: z.ZodObject<{
4272
4316
  hasAsciiDiagram: z.ZodBoolean;
4273
4317
  hasTimeline: z.ZodBoolean;
4274
4318
  hasTree: z.ZodBoolean;
4319
+ listShape: z.ZodNullable<z.ZodObject<{
4320
+ shape: z.ZodString;
4321
+ templateId: z.ZodString;
4322
+ confidence: z.ZodEnum<["strong", "weak"]>;
4323
+ reason: z.ZodString;
4324
+ }, "strict", z.ZodTypeAny, {
4325
+ templateId: string;
4326
+ shape: string;
4327
+ confidence: "strong" | "weak";
4328
+ reason: string;
4329
+ }, {
4330
+ templateId: string;
4331
+ shape: string;
4332
+ confidence: "strong" | "weak";
4333
+ reason: string;
4334
+ }>>;
4275
4335
  }, "strict", z.ZodTypeAny, {
4276
4336
  wordCount: number;
4277
4337
  hasImage: boolean;
@@ -4286,6 +4346,12 @@ declare const templateRecommendationSchema: z.ZodObject<{
4286
4346
  hasAsciiDiagram: boolean;
4287
4347
  hasTimeline: boolean;
4288
4348
  hasTree: boolean;
4349
+ listShape: {
4350
+ templateId: string;
4351
+ shape: string;
4352
+ confidence: "strong" | "weak";
4353
+ reason: string;
4354
+ } | null;
4289
4355
  }, {
4290
4356
  wordCount: number;
4291
4357
  hasImage: boolean;
@@ -4300,6 +4366,12 @@ declare const templateRecommendationSchema: z.ZodObject<{
4300
4366
  hasAsciiDiagram: boolean;
4301
4367
  hasTimeline: boolean;
4302
4368
  hasTree: boolean;
4369
+ listShape: {
4370
+ templateId: string;
4371
+ shape: string;
4372
+ confidence: "strong" | "weak";
4373
+ reason: string;
4374
+ } | null;
4303
4375
  }>;
4304
4376
  recommendedTemplateIds: z.ZodArray<z.ZodString, "many">;
4305
4377
  }, "strict", z.ZodTypeAny, {
@@ -4319,6 +4391,12 @@ declare const templateRecommendationSchema: z.ZodObject<{
4319
4391
  hasAsciiDiagram: boolean;
4320
4392
  hasTimeline: boolean;
4321
4393
  hasTree: boolean;
4394
+ listShape: {
4395
+ templateId: string;
4396
+ shape: string;
4397
+ confidence: "strong" | "weak";
4398
+ reason: string;
4399
+ } | null;
4322
4400
  };
4323
4401
  recommendedTemplateIds: string[];
4324
4402
  }, {
@@ -4338,6 +4416,12 @@ declare const templateRecommendationSchema: z.ZodObject<{
4338
4416
  hasAsciiDiagram: boolean;
4339
4417
  hasTimeline: boolean;
4340
4418
  hasTree: boolean;
4419
+ listShape: {
4420
+ templateId: string;
4421
+ shape: string;
4422
+ confidence: "strong" | "weak";
4423
+ reason: string;
4424
+ } | null;
4341
4425
  };
4342
4426
  recommendedTemplateIds: string[];
4343
4427
  }>;
@@ -4359,6 +4443,22 @@ declare const recommendTemplatesResultSchema: z.ZodObject<{
4359
4443
  hasAsciiDiagram: z.ZodBoolean;
4360
4444
  hasTimeline: z.ZodBoolean;
4361
4445
  hasTree: z.ZodBoolean;
4446
+ listShape: z.ZodNullable<z.ZodObject<{
4447
+ shape: z.ZodString;
4448
+ templateId: z.ZodString;
4449
+ confidence: z.ZodEnum<["strong", "weak"]>;
4450
+ reason: z.ZodString;
4451
+ }, "strict", z.ZodTypeAny, {
4452
+ templateId: string;
4453
+ shape: string;
4454
+ confidence: "strong" | "weak";
4455
+ reason: string;
4456
+ }, {
4457
+ templateId: string;
4458
+ shape: string;
4459
+ confidence: "strong" | "weak";
4460
+ reason: string;
4461
+ }>>;
4362
4462
  }, "strict", z.ZodTypeAny, {
4363
4463
  wordCount: number;
4364
4464
  hasImage: boolean;
@@ -4373,6 +4473,12 @@ declare const recommendTemplatesResultSchema: z.ZodObject<{
4373
4473
  hasAsciiDiagram: boolean;
4374
4474
  hasTimeline: boolean;
4375
4475
  hasTree: boolean;
4476
+ listShape: {
4477
+ templateId: string;
4478
+ shape: string;
4479
+ confidence: "strong" | "weak";
4480
+ reason: string;
4481
+ } | null;
4376
4482
  }, {
4377
4483
  wordCount: number;
4378
4484
  hasImage: boolean;
@@ -4387,6 +4493,12 @@ declare const recommendTemplatesResultSchema: z.ZodObject<{
4387
4493
  hasAsciiDiagram: boolean;
4388
4494
  hasTimeline: boolean;
4389
4495
  hasTree: boolean;
4496
+ listShape: {
4497
+ templateId: string;
4498
+ shape: string;
4499
+ confidence: "strong" | "weak";
4500
+ reason: string;
4501
+ } | null;
4390
4502
  }>;
4391
4503
  recommendedTemplateIds: z.ZodArray<z.ZodString, "many">;
4392
4504
  }, "strict", z.ZodTypeAny, {
@@ -4406,6 +4518,12 @@ declare const recommendTemplatesResultSchema: z.ZodObject<{
4406
4518
  hasAsciiDiagram: boolean;
4407
4519
  hasTimeline: boolean;
4408
4520
  hasTree: boolean;
4521
+ listShape: {
4522
+ templateId: string;
4523
+ shape: string;
4524
+ confidence: "strong" | "weak";
4525
+ reason: string;
4526
+ } | null;
4409
4527
  };
4410
4528
  recommendedTemplateIds: string[];
4411
4529
  }, {
@@ -4425,6 +4543,12 @@ declare const recommendTemplatesResultSchema: z.ZodObject<{
4425
4543
  hasAsciiDiagram: boolean;
4426
4544
  hasTimeline: boolean;
4427
4545
  hasTree: boolean;
4546
+ listShape: {
4547
+ templateId: string;
4548
+ shape: string;
4549
+ confidence: "strong" | "weak";
4550
+ reason: string;
4551
+ } | null;
4428
4552
  };
4429
4553
  recommendedTemplateIds: string[];
4430
4554
  }>, "many">;
@@ -4449,6 +4573,12 @@ declare const recommendTemplatesResultSchema: z.ZodObject<{
4449
4573
  hasAsciiDiagram: boolean;
4450
4574
  hasTimeline: boolean;
4451
4575
  hasTree: boolean;
4576
+ listShape: {
4577
+ templateId: string;
4578
+ shape: string;
4579
+ confidence: "strong" | "weak";
4580
+ reason: string;
4581
+ } | null;
4452
4582
  };
4453
4583
  recommendedTemplateIds: string[];
4454
4584
  }[];
@@ -4472,6 +4602,12 @@ declare const recommendTemplatesResultSchema: z.ZodObject<{
4472
4602
  hasAsciiDiagram: boolean;
4473
4603
  hasTimeline: boolean;
4474
4604
  hasTree: boolean;
4605
+ listShape: {
4606
+ templateId: string;
4607
+ shape: string;
4608
+ confidence: "strong" | "weak";
4609
+ reason: string;
4610
+ } | null;
4475
4611
  };
4476
4612
  recommendedTemplateIds: string[];
4477
4613
  }[];
@@ -4688,6 +4824,22 @@ declare const authoringContextResultSchema: z.ZodObject<{
4688
4824
  hasAsciiDiagram: z.ZodBoolean;
4689
4825
  hasTimeline: z.ZodBoolean;
4690
4826
  hasTree: z.ZodBoolean;
4827
+ listShape: z.ZodNullable<z.ZodObject<{
4828
+ shape: z.ZodString;
4829
+ templateId: z.ZodString;
4830
+ confidence: z.ZodEnum<["strong", "weak"]>;
4831
+ reason: z.ZodString;
4832
+ }, "strict", z.ZodTypeAny, {
4833
+ templateId: string;
4834
+ shape: string;
4835
+ confidence: "strong" | "weak";
4836
+ reason: string;
4837
+ }, {
4838
+ templateId: string;
4839
+ shape: string;
4840
+ confidence: "strong" | "weak";
4841
+ reason: string;
4842
+ }>>;
4691
4843
  }, "strict", z.ZodTypeAny, {
4692
4844
  wordCount: number;
4693
4845
  hasImage: boolean;
@@ -4702,6 +4854,12 @@ declare const authoringContextResultSchema: z.ZodObject<{
4702
4854
  hasAsciiDiagram: boolean;
4703
4855
  hasTimeline: boolean;
4704
4856
  hasTree: boolean;
4857
+ listShape: {
4858
+ templateId: string;
4859
+ shape: string;
4860
+ confidence: "strong" | "weak";
4861
+ reason: string;
4862
+ } | null;
4705
4863
  }, {
4706
4864
  wordCount: number;
4707
4865
  hasImage: boolean;
@@ -4716,6 +4874,12 @@ declare const authoringContextResultSchema: z.ZodObject<{
4716
4874
  hasAsciiDiagram: boolean;
4717
4875
  hasTimeline: boolean;
4718
4876
  hasTree: boolean;
4877
+ listShape: {
4878
+ templateId: string;
4879
+ shape: string;
4880
+ confidence: "strong" | "weak";
4881
+ reason: string;
4882
+ } | null;
4719
4883
  }>;
4720
4884
  recommendedTemplateIds: z.ZodArray<z.ZodString, "many">;
4721
4885
  }, "strict", z.ZodTypeAny, {
@@ -4735,6 +4899,12 @@ declare const authoringContextResultSchema: z.ZodObject<{
4735
4899
  hasAsciiDiagram: boolean;
4736
4900
  hasTimeline: boolean;
4737
4901
  hasTree: boolean;
4902
+ listShape: {
4903
+ templateId: string;
4904
+ shape: string;
4905
+ confidence: "strong" | "weak";
4906
+ reason: string;
4907
+ } | null;
4738
4908
  };
4739
4909
  recommendedTemplateIds: string[];
4740
4910
  }, {
@@ -4754,6 +4924,12 @@ declare const authoringContextResultSchema: z.ZodObject<{
4754
4924
  hasAsciiDiagram: boolean;
4755
4925
  hasTimeline: boolean;
4756
4926
  hasTree: boolean;
4927
+ listShape: {
4928
+ templateId: string;
4929
+ shape: string;
4930
+ confidence: "strong" | "weak";
4931
+ reason: string;
4932
+ } | null;
4757
4933
  };
4758
4934
  recommendedTemplateIds: string[];
4759
4935
  }>, "many">;
@@ -4822,6 +4998,12 @@ declare const authoringContextResultSchema: z.ZodObject<{
4822
4998
  hasAsciiDiagram: boolean;
4823
4999
  hasTimeline: boolean;
4824
5000
  hasTree: boolean;
5001
+ listShape: {
5002
+ templateId: string;
5003
+ shape: string;
5004
+ confidence: "strong" | "weak";
5005
+ reason: string;
5006
+ } | null;
4825
5007
  };
4826
5008
  recommendedTemplateIds: string[];
4827
5009
  }[];
@@ -4903,6 +5085,12 @@ declare const authoringContextResultSchema: z.ZodObject<{
4903
5085
  hasAsciiDiagram: boolean;
4904
5086
  hasTimeline: boolean;
4905
5087
  hasTree: boolean;
5088
+ listShape: {
5089
+ templateId: string;
5090
+ shape: string;
5091
+ confidence: "strong" | "weak";
5092
+ reason: string;
5093
+ } | null;
4906
5094
  };
4907
5095
  recommendedTemplateIds: string[];
4908
5096
  }[];
@@ -6061,4 +6249,4 @@ declare const materializationOptionsSchema: z.ZodDiscriminatedUnion<"ifExists",
6061
6249
  expectedSha256: string;
6062
6250
  }>]>;
6063
6251
 
6064
- export { DOCBLOCKS_MCP_TOOL_OUTPUT_SCHEMAS, DOCBLOCKS_MCP_TOOL_RESULT_SCHEMAS, MAX_MARKDOWN_CHARACTERS, MAX_PATH_CHARACTERS, applyInferredThemeResultSchema, artifactRefSchema, artifactUriSchema, authoringContextResultSchema, authoringTemplateSummarySchema, bundleAssetSchema, bundleDocumentSourceSchema, comparisonResultSchema, conversionResultSchema, convertDocumentResultSchema, describeTemplateResultSchema, describeThemeResultSchema, diagnosticSchema, documentSourceSchema, formatCapabilitySummarySchema, formatDirectionCapabilitySchema, formatInputSchema, formatSchema, inferThemeResultSchema, inferredLayoutSummarySchema, inspectPptxLayoutsResultSchema, inspectionResultSchema, listFormatsResultSchema, listRootsResultSchema, listTemplatesResultSchema, listThemesResultSchema, listTransformStylesResultSchema, materializationOptionsSchema, mcpErrorDetailSchema, mcpErrorResultSchema, pptxLayoutSummarySchema, previewResultSchema, recommendTemplatesResultSchema, rootGrantSummarySchema, saveArtifactResultSchema, templateContentProfileSchema, templateInputSummarySchema, templateRecommendationSchema, templateSummarySchema, themeCatalogEntrySchema, themeDescriptionSchema, toolOutputSchema, transformStyleSummarySchema };
6252
+ export { DOCBLOCKS_MCP_TOOL_OUTPUT_SCHEMAS, DOCBLOCKS_MCP_TOOL_RESULT_SCHEMAS, MAX_MARKDOWN_CHARACTERS, MAX_PATH_CHARACTERS, applyInferredThemeResultSchema, artifactRefSchema, artifactUriSchema, authoringContextResultSchema, authoringTemplateSummarySchema, bundleAssetSchema, bundleDocumentSourceSchema, comparisonResultSchema, conversionResultSchema, convertDocumentResultSchema, describeTemplateResultSchema, describeThemeResultSchema, diagnosticSchema, documentSourceSchema, formatCapabilitySummarySchema, formatDirectionCapabilitySchema, formatInputSchema, formatSchema, inferThemeResultSchema, inferredLayoutSummarySchema, inspectPptxLayoutsResultSchema, inspectionResultSchema, listFormatsResultSchema, listRootsResultSchema, listTemplatesResultSchema, listThemesResultSchema, listTransformStylesResultSchema, materializationOptionsSchema, mcpErrorDetailSchema, mcpErrorResultSchema, pptxLayoutSummarySchema, previewResultSchema, recommendTemplatesResultSchema, rootGrantSummarySchema, saveArtifactResultSchema, templateContentProfileSchema, templateInputSummarySchema, templateListShapeSchema, templateRecommendationSchema, templateSummarySchema, themeCatalogEntrySchema, themeDescriptionSchema, toolOutputSchema, transformStyleSummarySchema };
package/dist/mcp/zod.js CHANGED
@@ -462,6 +462,12 @@ var authoringTemplateSummarySchema = templateSummarySchema.extend({
462
462
  placement: z.literal("heading"),
463
463
  annotationExample: boundedString
464
464
  }).strict();
465
+ var templateListShapeSchema = z.object({
466
+ shape: idSchema,
467
+ templateId: idSchema,
468
+ confidence: z.enum(["strong", "weak"]),
469
+ reason: boundedString
470
+ }).strict();
465
471
  var templateContentProfileSchema = z.object({
466
472
  hasImage: z.boolean(),
467
473
  imageCount: nonNegativeSafeIntegerSchema,
@@ -475,7 +481,8 @@ var templateContentProfileSchema = z.object({
475
481
  hasCompoundBody: z.boolean(),
476
482
  hasAsciiDiagram: z.boolean(),
477
483
  hasTimeline: z.boolean(),
478
- hasTree: z.boolean()
484
+ hasTree: z.boolean(),
485
+ listShape: templateListShapeSchema.nullable()
479
486
  }).strict();
480
487
  var templateRecommendationSchema = z.object({
481
488
  blockId: idSchema,
@@ -758,6 +765,7 @@ export {
758
765
  saveArtifactResultSchema,
759
766
  templateContentProfileSchema,
760
767
  templateInputSummarySchema,
768
+ templateListShapeSchema,
761
769
  templateRecommendationSchema,
762
770
  templateSummarySchema,
763
771
  themeCatalogEntrySchema,
@@ -1,5 +1,5 @@
1
1
  import { d as FileSystemProvider } from './types-BIaQ_gYW.js';
2
- import { an as ElectronWorkspaceInfo, aJ as HostEnvironment } from './capabilities-yyRj0hyP.js';
2
+ import { an as ElectronWorkspaceInfo, aJ as HostEnvironment } from './capabilities-98WbPTSj.js';
3
3
 
4
4
  /**
5
5
  * Origin of a transient workspace — records where its contents came from and
@@ -411,6 +411,27 @@ interface TemplateContentProfile {
411
411
  readonly hasAsciiDiagram: boolean;
412
412
  readonly hasTimeline: boolean;
413
413
  readonly hasTree: boolean;
414
+ /**
415
+ * What the block's list is a picture of, when its body is one list; null
416
+ * otherwise. It is the linked Squisq classifier's reading of the heading
417
+ * and the items, so it says what convert_document will draw.
418
+ */
419
+ readonly listShape: TemplateListShape | null;
420
+ }
421
+ /** The relationship among a list's items, and the template that draws it. */
422
+ interface TemplateListShape {
423
+ /** The relationship: sequence, timeline, figures, cycle, hierarchy, plain… */
424
+ readonly shape: string;
425
+ /** The template that draws it; `list` for a plain list. */
426
+ readonly templateId: string;
427
+ /**
428
+ * `strong`: the author's own words or structure say so, and automatic
429
+ * template selection applies it. `weak`: plausible; only an annotation on
430
+ * the heading applies it.
431
+ */
432
+ readonly confidence: 'strong' | 'weak';
433
+ /** What the reading rests on. */
434
+ readonly reason: string;
414
435
  }
415
436
  interface TemplateRecommendation {
416
437
  readonly blockId: string;
@@ -495,4 +516,4 @@ type MaterializationOptions = {
495
516
  readonly expectedSha256: string;
496
517
  };
497
518
 
498
- export { type ListTransformStylesResult as $, type ArtifactRef as A, type BlockSummary as B, type ComparisonResult as C, type DocumentSource as D, type DiagnosticLocation as E, type DiagnosticSeverity as F, type DiagnosticStage as G, type DocBlocksMcpToolName as H, type InspectionResult as I, type DocBlocksMcpWireVersion as J, type DocumentItemSummary as K, type DocumentMetadataSummary as L, type MaterializationOptions as M, type DocumentStatistics as N, type EngineVersion as O, type PreviewResult as P, type FileDocumentSource as Q, type FormatCapabilitySummary as R, type FormatDirectionCapability as S, type InferThemeResult as T, type InferredLayoutSummary as U, type InspectPptxLayoutsResult as V, type LinkSummary as W, type ListFormatsResult as X, type ListRootsResult as Y, type ListTemplatesResult as Z, type ListThemesResult as _, type ConversionResult as a, type MarkdownDocumentSource as a0, type McpErrorDetail as a1, type McpSuccessResult as a2, type OutlineEntry as a3, type PptxLayoutSummary as a4, type PptxSlideSize as a5, type PreviewItem as a6, type PreviewItemKind as a7, type RecommendTemplatesResult as a8, type RootGrantSummary as a9, type SaveArtifactResult as aa, type SavedArtifactDestination as ab, type SourceRange as ac, type TableSummary as ad, type TemplateAuthoringRole as ae, type TemplateBodyPolicy as af, type TemplateContentProfile as ag, type TemplateInputSummary as ah, type TemplateRecommendation as ai, type TemplateSummary as aj, type ThemeCatalogEntry as ak, type ThemeDescription as al, type ThemeDescriptionColors as am, type ThemeSummary as an, type TransformStyleSummary as ao, type McpDiagnostic as b, type McpErrorResult as c, type AppliedOption as d, type AppliedOptionValue as e, type ApplyInferredThemeResult as f, type ArtifactDocumentSource as g, type AssetSummary as h, type AuthoringContextResult as i, type AuthoringGoal as j, type AuthoringSyntaxSummary as k, type AuthoringTemplateSummary as l, type BundleAssetContentSource as m, type BundleAssetRef as n, type BundleDocumentSource as o, type ComparisonCategory as p, type ComparisonChange as q, type ComparisonMetric as r, type ComparisonStatus as s, type ConversionFidelity as t, type ConvertDocumentResult as u, DOCBLOCKS_MCP_TOOL_NAMES as v, DOCBLOCKS_MCP_WIRE_VERSION as w, type DescribeTemplateResult as x, type DescribeThemeResult as y, type DescribedTemplate as z };
519
+ export { type ListTransformStylesResult as $, type ArtifactRef as A, type BlockSummary as B, type ComparisonResult as C, type DocumentSource as D, type DiagnosticLocation as E, type DiagnosticSeverity as F, type DiagnosticStage as G, type DocBlocksMcpToolName as H, type InspectionResult as I, type DocBlocksMcpWireVersion as J, type DocumentItemSummary as K, type DocumentMetadataSummary as L, type MaterializationOptions as M, type DocumentStatistics as N, type EngineVersion as O, type PreviewResult as P, type FileDocumentSource as Q, type FormatCapabilitySummary as R, type FormatDirectionCapability as S, type InferThemeResult as T, type InferredLayoutSummary as U, type InspectPptxLayoutsResult as V, type LinkSummary as W, type ListFormatsResult as X, type ListRootsResult as Y, type ListTemplatesResult as Z, type ListThemesResult as _, type ConversionResult as a, type MarkdownDocumentSource as a0, type McpErrorDetail as a1, type McpSuccessResult as a2, type OutlineEntry as a3, type PptxLayoutSummary as a4, type PptxSlideSize as a5, type PreviewItem as a6, type PreviewItemKind as a7, type RecommendTemplatesResult as a8, type RootGrantSummary as a9, type SaveArtifactResult as aa, type SavedArtifactDestination as ab, type SourceRange as ac, type TableSummary as ad, type TemplateAuthoringRole as ae, type TemplateBodyPolicy as af, type TemplateContentProfile as ag, type TemplateInputSummary as ah, type TemplateListShape as ai, type TemplateRecommendation as aj, type TemplateSummary as ak, type ThemeCatalogEntry as al, type ThemeDescription as am, type ThemeDescriptionColors as an, type ThemeSummary as ao, type TransformStyleSummary as ap, type McpDiagnostic as b, type McpErrorResult as c, type AppliedOption as d, type AppliedOptionValue as e, type ApplyInferredThemeResult as f, type ArtifactDocumentSource as g, type AssetSummary as h, type AuthoringContextResult as i, type AuthoringGoal as j, type AuthoringSyntaxSummary as k, type AuthoringTemplateSummary as l, type BundleAssetContentSource as m, type BundleAssetRef as n, type BundleDocumentSource as o, type ComparisonCategory as p, type ComparisonChange as q, type ComparisonMetric as r, type ComparisonStatus as s, type ConversionFidelity as t, type ConvertDocumentResult as u, DOCBLOCKS_MCP_TOOL_NAMES as v, DOCBLOCKS_MCP_WIRE_VERSION as w, type DescribeTemplateResult as x, type DescribeThemeResult as y, type DescribedTemplate as z };
@@ -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-FvgF5oC7.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-MzNvYOp2.js';
2
2
  import { ContentContainer } from '@bendyline/squisq/storage';
3
3
  import { o as FileSystemProviderV2 } from '../v2-pBdrFAlW.js';
4
4
  import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
5
5
  import '../types-BIaQ_gYW.js';
6
- import '../capabilities-yyRj0hyP.js';
6
+ import '../capabilities-98WbPTSj.js';
7
7
  import '../filesystem-v2-CYPHqoIw.js';
8
8
 
9
9
  declare const WORKSPACE_BACKUP_MANIFEST = "docblocks-backup.json";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/docblocks",
3
- "version": "2.7.13",
3
+ "version": "2.7.15",
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.12",
129
+ "@bendyline/squisq": "2.13.15",
130
130
  "zod": "3.25.76"
131
131
  }
132
132
  }