@bendyline/docblocks 2.2.2 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.txt +4 -4
- package/dist/{chunk-DBJW7BZI.js → chunk-EG3WGSZH.js} +1 -53
- package/dist/{chunk-45T5AFCN.js → chunk-MO2VYEZQ.js} +1 -1
- package/dist/document/index.d.ts +1 -1
- package/dist/filesystem/electron.d.ts +2 -2
- package/dist/filesystem/index.d.ts +3 -3
- package/dist/filesystem/index.js +1 -1
- package/dist/filesystem/indexeddb.d.ts +1 -1
- package/dist/filesystem/memory.d.ts +1 -1
- package/dist/filesystem/native.d.ts +1 -1
- package/dist/host/index.d.ts +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/mcp/index.d.ts +3 -4
- package/dist/mcp/index.js +3 -5
- package/dist/mcp/zod.d.ts +63 -337
- package/dist/mcp/zod.js +3 -22
- package/dist/{types-BEg5SQ1_.d.ts → types-Bb3yccTH.d.ts} +2 -0
- package/dist/{types-CHhtLOXM.d.ts → types-CREx02sE.d.ts} +1 -1
- package/dist/{types-DkvEkg0I.d.ts → types-DapJIsC2.d.ts} +3 -17
- package/dist/workspace/index.d.ts +2 -2
- package/package.json +5 -2
package/THIRD_PARTY_NOTICES.txt
CHANGED
|
@@ -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.4.
|
|
17
|
+
| @bendyline/squisq | 2.4.4 | MIT | https://github.com/bendyline/squisq |
|
|
18
18
|
| @types/debug | 4.1.12 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
|
|
19
19
|
| @types/hast | 3.0.4 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
|
|
20
20
|
| @types/katex | 0.16.8 | MIT | https://github.com/DefinitelyTyped/DefinitelyTyped |
|
|
@@ -132,7 +132,7 @@ This notice is included in the published npm tarball. Transitive packages instal
|
|
|
132
132
|
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.
|
|
133
133
|
|
|
134
134
|
==============================================================================
|
|
135
|
-
Components: @bendyline/squisq@2.4.
|
|
135
|
+
Components: @bendyline/squisq@2.4.4
|
|
136
136
|
Source files: node_modules/@bendyline/squisq/LICENSE
|
|
137
137
|
==============================================================================
|
|
138
138
|
MIT License
|
|
@@ -158,7 +158,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
158
158
|
SOFTWARE.
|
|
159
159
|
|
|
160
160
|
==============================================================================
|
|
161
|
-
Components: @bendyline/squisq@2.4.
|
|
161
|
+
Components: @bendyline/squisq@2.4.4
|
|
162
162
|
Source files: node_modules/@bendyline/squisq/NOTICE.md
|
|
163
163
|
==============================================================================
|
|
164
164
|
# Third-Party Notices for @bendyline/squisq
|
|
@@ -189,7 +189,7 @@ third-party license texts for bundled code and data are shipped in
|
|
|
189
189
|
THIRD_PARTY_LICENSES.txt.
|
|
190
190
|
|
|
191
191
|
==============================================================================
|
|
192
|
-
Components: @bendyline/squisq@2.4.
|
|
192
|
+
Components: @bendyline/squisq@2.4.4
|
|
193
193
|
Source files: node_modules/@bendyline/squisq/THIRD_PARTY_LICENSES.txt
|
|
194
194
|
==============================================================================
|
|
195
195
|
THIRD-PARTY LICENSES FOR @bendyline/squisq
|
|
@@ -11,7 +11,6 @@ var DOCBLOCKS_MCP_TOOL_NAMES = [
|
|
|
11
11
|
"create_document_bundle",
|
|
12
12
|
"save_artifact",
|
|
13
13
|
"inspect_document",
|
|
14
|
-
"validate_document",
|
|
15
14
|
"preview_document",
|
|
16
15
|
"compare_documents",
|
|
17
16
|
"get_authoring_context",
|
|
@@ -307,35 +306,6 @@ function parseInspectionResult(value) {
|
|
|
307
306
|
diagnostics
|
|
308
307
|
};
|
|
309
308
|
}
|
|
310
|
-
function parseValidationResult(value) {
|
|
311
|
-
if (!isRecord(value) || !hasExactKeys(value, [
|
|
312
|
-
"version",
|
|
313
|
-
"kind",
|
|
314
|
-
"sourceFormat",
|
|
315
|
-
"targetFormat",
|
|
316
|
-
"valid",
|
|
317
|
-
"summary",
|
|
318
|
-
"diagnostics"
|
|
319
|
-
]) || value.version !== DOCBLOCKS_MCP_WIRE_VERSION || value.kind !== "validation" || !isFormat(value.sourceFormat) || !(value.targetFormat === null || isFormat(value.targetFormat)) || typeof value.valid !== "boolean") {
|
|
320
|
-
return null;
|
|
321
|
-
}
|
|
322
|
-
const summary = parseValidationSummary(value.summary);
|
|
323
|
-
const diagnostics = parseArray(value.diagnostics, parseMcpDiagnostic);
|
|
324
|
-
if (summary === null || diagnostics === null) return null;
|
|
325
|
-
const actualSummary = summarizeDiagnostics(diagnostics);
|
|
326
|
-
if (summary.errorCount !== actualSummary.errorCount || summary.warningCount !== actualSummary.warningCount || summary.infoCount !== actualSummary.infoCount || value.valid !== (summary.errorCount === 0)) {
|
|
327
|
-
return null;
|
|
328
|
-
}
|
|
329
|
-
return {
|
|
330
|
-
version: DOCBLOCKS_MCP_WIRE_VERSION,
|
|
331
|
-
kind: "validation",
|
|
332
|
-
sourceFormat: value.sourceFormat,
|
|
333
|
-
targetFormat: value.targetFormat,
|
|
334
|
-
valid: value.valid,
|
|
335
|
-
summary,
|
|
336
|
-
diagnostics
|
|
337
|
-
};
|
|
338
|
-
}
|
|
339
309
|
function parsePreviewResult(value) {
|
|
340
310
|
if (!isRecord(value) || !hasExactKeys(value, [
|
|
341
311
|
"version",
|
|
@@ -595,16 +565,6 @@ function parseThemeSummary(value) {
|
|
|
595
565
|
if (layouts === null || new Set(layouts).size !== layouts.length) return null;
|
|
596
566
|
return { id: value.id, name: value.name, source: value.source, layouts };
|
|
597
567
|
}
|
|
598
|
-
function parseValidationSummary(value) {
|
|
599
|
-
if (!isRecord(value) || !hasExactKeys(value, ["errorCount", "warningCount", "infoCount"]) || !isNonNegativeInteger(value.errorCount) || !isNonNegativeInteger(value.warningCount) || !isNonNegativeInteger(value.infoCount)) {
|
|
600
|
-
return null;
|
|
601
|
-
}
|
|
602
|
-
return {
|
|
603
|
-
errorCount: value.errorCount,
|
|
604
|
-
warningCount: value.warningCount,
|
|
605
|
-
infoCount: value.infoCount
|
|
606
|
-
};
|
|
607
|
-
}
|
|
608
568
|
function parsePreviewItem(value) {
|
|
609
569
|
if (!isRecord(value) || !hasExactKeys(value, ["kind", "index", "label", "artifact", "width", "height"]) || !isPreviewItemKind(value.kind) || !isNonNegativeInteger(value.index) || !isNullableBoundedString(value.label, MCP_WIRE_LIMITS.labelCharacters) || !isBoundedInteger(value.width, 1, MCP_WIRE_LIMITS.imageDimension) || !isBoundedInteger(value.height, 1, MCP_WIRE_LIMITS.imageDimension)) {
|
|
610
570
|
return null;
|
|
@@ -642,17 +602,6 @@ function parseComparisonMetric(value) {
|
|
|
642
602
|
similarity: value.similarity
|
|
643
603
|
};
|
|
644
604
|
}
|
|
645
|
-
function summarizeDiagnostics(diagnostics) {
|
|
646
|
-
let errorCount = 0;
|
|
647
|
-
let warningCount = 0;
|
|
648
|
-
let infoCount = 0;
|
|
649
|
-
for (const diagnostic of diagnostics) {
|
|
650
|
-
if (diagnostic.severity === "error") errorCount += diagnostic.count;
|
|
651
|
-
else if (diagnostic.severity === "warning") warningCount += diagnostic.count;
|
|
652
|
-
else infoCount += diagnostic.count;
|
|
653
|
-
}
|
|
654
|
-
return { errorCount, warningCount, infoCount };
|
|
655
|
-
}
|
|
656
605
|
function parseArray(value, parser, maximumEntries = MCP_WIRE_LIMITS.arrayEntries) {
|
|
657
606
|
if (!Array.isArray(value) || value.length > maximumEntries) return null;
|
|
658
607
|
const parsed = [];
|
|
@@ -729,7 +678,7 @@ function isDiagnosticSeverity(value) {
|
|
|
729
678
|
return value === "info" || value === "warning" || value === "error";
|
|
730
679
|
}
|
|
731
680
|
function isDiagnosticStage(value) {
|
|
732
|
-
return value === "resolve" || value === "import" || value === "parse" || value === "inspect" || value === "
|
|
681
|
+
return value === "resolve" || value === "import" || value === "parse" || value === "inspect" || value === "transform" || value === "convert" || value === "render" || value === "export" || value === "materialize" || value === "compare";
|
|
733
682
|
}
|
|
734
683
|
function isConversionFidelity(value) {
|
|
735
684
|
return value === "semantic" || value === "editable-native" || value === "rendered-fidelity" || value === "hybrid";
|
|
@@ -804,7 +753,6 @@ export {
|
|
|
804
753
|
parseMcpErrorResult,
|
|
805
754
|
parseConversionResult,
|
|
806
755
|
parseInspectionResult,
|
|
807
|
-
parseValidationResult,
|
|
808
756
|
parsePreviewResult,
|
|
809
757
|
parseComparisonResult,
|
|
810
758
|
parseMaterializationOptions
|
|
@@ -834,7 +834,7 @@ var FileSystemContentContainer = class {
|
|
|
834
834
|
const childPath = parseWorkspacePath(child.path);
|
|
835
835
|
const prefixPath = parseWorkspacePath(this.prefix);
|
|
836
836
|
if (!workspacePathContains(prefixPath, childPath)) continue;
|
|
837
|
-
const rel = childPath === prefixPath ? "" : childPath.slice(prefixPath.length + 1);
|
|
837
|
+
const rel = prefixPath ? childPath === prefixPath ? "" : childPath.slice(prefixPath.length + 1) : childPath;
|
|
838
838
|
if (prefix && !rel.startsWith(prefix)) continue;
|
|
839
839
|
const size = child.size ?? (await this.provider.stat(child.path))?.size ?? 0;
|
|
840
840
|
entries.push({
|
package/dist/document/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as FileSystemProviderV2, r as FileSystemProviderCapabilities, k as FileSystemEntrySnapshot, m as FileSystemFileRead, K as FileSystemWriteOptions, n as FileSystemFileSnapshot, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, o as FileSystemMoveOptions, w as FileSystemSnapshot, C as FileSystemWatchEvent, H as FileSystemWatchOptions, I as FileSystemWatchSubscription, q as FileSystemProvider, F as FileCommitResult, j as FileSystemEntry, b as FileMeta } from '../types-
|
|
1
|
+
import { s as FileSystemProviderV2, r as FileSystemProviderCapabilities, k as FileSystemEntrySnapshot, m as FileSystemFileRead, K as FileSystemWriteOptions, n as FileSystemFileSnapshot, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, o as FileSystemMoveOptions, w as FileSystemSnapshot, C as FileSystemWatchEvent, H as FileSystemWatchOptions, I as FileSystemWatchSubscription, q as FileSystemProvider, F as FileCommitResult, j as FileSystemEntry, b as FileMeta } from '../types-Bb3yccTH.js';
|
|
2
2
|
import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
|
|
3
3
|
export { isElectronHost } from '../host/index.js';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-CREx02sE.js';
|
|
5
5
|
|
|
6
6
|
/** Pure renderer-side client for the typed Electron filesystem v2 transport. */
|
|
7
7
|
declare class ElectronFileSystemProviderV2 implements FileSystemProviderV2 {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as FsOperation, s as FileSystemProviderV2, r as FileSystemProviderCapabilities, q as FileSystemProvider, c as FileSystemAtomicity, d as FileSystemCaseSensitivity, z as FileSystemSymlinkPolicy, i as FileSystemDurability, k as FileSystemEntrySnapshot, m as FileSystemFileRead, K as FileSystemWriteOptions, n as FileSystemFileSnapshot, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, o as FileSystemMoveOptions, w as FileSystemSnapshot, G as FileSystemWatchListener, H as FileSystemWatchOptions, I as FileSystemWatchSubscription } from '../types-
|
|
2
|
-
export { F as FileCommitResult, a as FileEntry, b as FileMeta, e as FileSystemConditionalWriteStrength, f as FileSystemCreateDirectoryMode, j as FileSystemEntry, l as FileSystemEntryWatchEvent, p as FileSystemOverflowWatchEvent, t as FileSystemProviderWithV2, x as FileSystemSnapshotEntry, y as FileSystemSnapshotFile, A as FileSystemVersion, B as FileSystemWatchErrorListener, C as FileSystemWatchEvent, D as FileSystemWatchEventOrigin, E as FileSystemWatchEventType, J as FileSystemWriteMode, L as FolderEntry, M as FsError, N as FsErrorCode, O as FsErrorContext, S as SerializedFsError, Q as deserializeFsError, R as fsErrorFromUnknown, T as getFileSystemProviderV2, U as hasFileSystemProviderV2, V as isQuotaExceededError, W as isSerializedFsError, X as mapDomExceptionToFsErrorCode, Y as mapNodeErrorCodeToFsErrorCode, Z as parseFileSystemVersion, _ as serializeFsError, $ as tryParseFileSystemVersion } from '../types-
|
|
1
|
+
import { P as FsOperation, s as FileSystemProviderV2, r as FileSystemProviderCapabilities, q as FileSystemProvider, c as FileSystemAtomicity, d as FileSystemCaseSensitivity, z as FileSystemSymlinkPolicy, i as FileSystemDurability, k as FileSystemEntrySnapshot, m as FileSystemFileRead, K as FileSystemWriteOptions, n as FileSystemFileSnapshot, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, o as FileSystemMoveOptions, w as FileSystemSnapshot, G as FileSystemWatchListener, H as FileSystemWatchOptions, I as FileSystemWatchSubscription } from '../types-Bb3yccTH.js';
|
|
2
|
+
export { F as FileCommitResult, a as FileEntry, b as FileMeta, e as FileSystemConditionalWriteStrength, f as FileSystemCreateDirectoryMode, j as FileSystemEntry, l as FileSystemEntryWatchEvent, p as FileSystemOverflowWatchEvent, t as FileSystemProviderWithV2, x as FileSystemSnapshotEntry, y as FileSystemSnapshotFile, A as FileSystemVersion, B as FileSystemWatchErrorListener, C as FileSystemWatchEvent, D as FileSystemWatchEventOrigin, E as FileSystemWatchEventType, J as FileSystemWriteMode, L as FolderEntry, M as FsError, N as FsErrorCode, O as FsErrorContext, S as SerializedFsError, Q as deserializeFsError, R as fsErrorFromUnknown, T as getFileSystemProviderV2, U as hasFileSystemProviderV2, V as isQuotaExceededError, W as isSerializedFsError, X as mapDomExceptionToFsErrorCode, Y as mapNodeErrorCodeToFsErrorCode, Z as parseFileSystemVersion, _ as serializeFsError, $ as tryParseFileSystemVersion } from '../types-Bb3yccTH.js';
|
|
3
3
|
import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
|
|
4
4
|
export { W as WORKSPACE_ROOT, p as parseWorkspacePath, t as tryParseWorkspacePath, w as workspacePathBasename, b as workspacePathContains, c as workspacePathDirname, d as workspacePathJoin, e as workspacePathToLegacy } from '../workspace-path-CWVrcuPL.js';
|
|
5
5
|
import { MemoryFileSystemSnapshot, MemoryFileSystemProvider } from './memory.js';
|
|
@@ -10,7 +10,7 @@ import { MediaProvider } from '@bendyline/squisq/schemas';
|
|
|
10
10
|
export { NativeFileSystemMovePathState, NativeFileSystemMoveRecoveryError, NativeFileSystemMoveRecoveryState, NativeFileSystemProvider, NativeFileSystemProviderV2, isNativeFileSystemSupported, loadDirectoryHandle, openNativeFolder, removeDirectoryHandle, restoreNativeFolder, storeDirectoryHandle } from './native.js';
|
|
11
11
|
export { ElectronFileSystemProvider, ElectronFileSystemProviderV2 } from './electron.js';
|
|
12
12
|
export { isElectronHost } from '../host/index.js';
|
|
13
|
-
import '../types-
|
|
13
|
+
import '../types-CREx02sE.js';
|
|
14
14
|
|
|
15
15
|
interface DecodeUtf8TextOptions {
|
|
16
16
|
/** User-facing description of the payload being decoded. */
|
package/dist/filesystem/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as FileSystemProviderV2, r as FileSystemProviderCapabilities, k as FileSystemEntrySnapshot, m as FileSystemFileRead, K as FileSystemWriteOptions, n as FileSystemFileSnapshot, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, o as FileSystemMoveOptions, w as FileSystemSnapshot, G as FileSystemWatchListener, H as FileSystemWatchOptions, I as FileSystemWatchSubscription, b as FileMeta, q as FileSystemProvider, F as FileCommitResult, j as FileSystemEntry } from '../types-
|
|
1
|
+
import { s as FileSystemProviderV2, r as FileSystemProviderCapabilities, k as FileSystemEntrySnapshot, m as FileSystemFileRead, K as FileSystemWriteOptions, n as FileSystemFileSnapshot, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, o as FileSystemMoveOptions, w as FileSystemSnapshot, G as FileSystemWatchListener, H as FileSystemWatchOptions, I as FileSystemWatchSubscription, b as FileMeta, q as FileSystemProvider, F as FileCommitResult, j as FileSystemEntry } from '../types-Bb3yccTH.js';
|
|
2
2
|
import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
|
|
3
3
|
import { ContentContainer, ContentEntry } from '@bendyline/squisq/storage';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as FileSystemProviderV2, r as FileSystemProviderCapabilities, K as FileSystemWriteOptions, n as FileSystemFileSnapshot, F as FileCommitResult, k as FileSystemEntrySnapshot, m as FileSystemFileRead, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, o as FileSystemMoveOptions, w as FileSystemSnapshot, G as FileSystemWatchListener, H as FileSystemWatchOptions, I as FileSystemWatchSubscription, q as FileSystemProvider, j as FileSystemEntry, b as FileMeta } from '../types-
|
|
1
|
+
import { s as FileSystemProviderV2, r as FileSystemProviderCapabilities, K as FileSystemWriteOptions, n as FileSystemFileSnapshot, F as FileCommitResult, k as FileSystemEntrySnapshot, m as FileSystemFileRead, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, o as FileSystemMoveOptions, w as FileSystemSnapshot, G as FileSystemWatchListener, H as FileSystemWatchOptions, I as FileSystemWatchSubscription, q as FileSystemProvider, j as FileSystemEntry, b as FileMeta } from '../types-Bb3yccTH.js';
|
|
2
2
|
import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
|
|
3
3
|
|
|
4
4
|
type MemoryFilePayloadKind = 'text' | 'binary';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as FsError, s as FileSystemProviderV2, r as FileSystemProviderCapabilities, k as FileSystemEntrySnapshot, m as FileSystemFileRead, K as FileSystemWriteOptions, n as FileSystemFileSnapshot, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, o as FileSystemMoveOptions, w as FileSystemSnapshot, G as FileSystemWatchListener, H as FileSystemWatchOptions, I as FileSystemWatchSubscription, q as FileSystemProvider, F as FileCommitResult, j as FileSystemEntry, b as FileMeta } from '../types-
|
|
1
|
+
import { M as FsError, s as FileSystemProviderV2, r as FileSystemProviderCapabilities, k as FileSystemEntrySnapshot, m as FileSystemFileRead, K as FileSystemWriteOptions, n as FileSystemFileSnapshot, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, o as FileSystemMoveOptions, w as FileSystemSnapshot, G as FileSystemWatchListener, H as FileSystemWatchOptions, I as FileSystemWatchSubscription, q as FileSystemProvider, F as FileCommitResult, j as FileSystemEntry, b as FileMeta } from '../types-Bb3yccTH.js';
|
|
2
2
|
import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
|
|
3
3
|
|
|
4
4
|
type NativeFileSystemMovePathState = 'present' | 'missing' | 'unknown';
|
package/dist/host/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as OpenRequest, L as HostPinnedDocument, D as DocBlocksHostAPI } from '../types-
|
|
2
|
-
export { a as DocBlocksHostExportAPI, b as DocBlocksHostExternalAPI, c as DocBlocksHostFfmpegAPI, d as DocBlocksHostFsAPI, e as DocBlocksHostFsV2API, f as DocBlocksHostGitAPI, g as DocBlocksHostLifecycleAPI, h as DocBlocksHostMenuAPI, i as DocBlocksHostShellAPI, j as DocBlocksHostUpdaterAPI, k as DocBlocksHostWorkspacesAPI, E as ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, l as ElectronWorkspaceInfo, m as ExternalBinaryCommitResult, G as GitBranchInfo, n as GitCapabilities, o as GitCloneHandle, p as GitCloneProgress, q as GitError, r as GitErrorCode, s as GitFileAtRevision, t as GitFileChange, u as GitFileStatusCode, v as GitLogEntry, w as GitLogOptions, x as GitRemoteInfo, y as GitRepoDetection, z as GitResult, A as GitRevision, B as GitStatus, H as HostCloseReason, C as HostEnvironment, F as HostExportTargetGrant, I as HostFileSystemV2OpenRequest, J as HostFileSystemV2Result, K as HostFileSystemV2WatchMessage, M as HostPrepareCloseRequest, N as HostPrepareCloseResult, O as MenuCommand, U as UpdateCheckResult, Q as UpdateInstallResult, R as UpdaterStatus } from '../types-
|
|
3
|
-
import '../types-
|
|
1
|
+
import { P as OpenRequest, L as HostPinnedDocument, D as DocBlocksHostAPI } from '../types-CREx02sE.js';
|
|
2
|
+
export { a as DocBlocksHostExportAPI, b as DocBlocksHostExternalAPI, c as DocBlocksHostFfmpegAPI, d as DocBlocksHostFsAPI, e as DocBlocksHostFsV2API, f as DocBlocksHostGitAPI, g as DocBlocksHostLifecycleAPI, h as DocBlocksHostMenuAPI, i as DocBlocksHostShellAPI, j as DocBlocksHostUpdaterAPI, k as DocBlocksHostWorkspacesAPI, E as ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, l as ElectronWorkspaceInfo, m as ExternalBinaryCommitResult, G as GitBranchInfo, n as GitCapabilities, o as GitCloneHandle, p as GitCloneProgress, q as GitError, r as GitErrorCode, s as GitFileAtRevision, t as GitFileChange, u as GitFileStatusCode, v as GitLogEntry, w as GitLogOptions, x as GitRemoteInfo, y as GitRepoDetection, z as GitResult, A as GitRevision, B as GitStatus, H as HostCloseReason, C as HostEnvironment, F as HostExportTargetGrant, I as HostFileSystemV2OpenRequest, J as HostFileSystemV2Result, K as HostFileSystemV2WatchMessage, M as HostPrepareCloseRequest, N as HostPrepareCloseResult, O as MenuCommand, U as UpdateCheckResult, Q as UpdateInstallResult, R as UpdaterStatus } from '../types-CREx02sE.js';
|
|
3
|
+
import '../types-Bb3yccTH.js';
|
|
4
4
|
import '../workspace-path-CWVrcuPL.js';
|
|
5
5
|
|
|
6
6
|
/** Upper bound on shortcuts mirrored into the native menu, to keep it usable. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as FileCommitResult, a as FileEntry, b as FileMeta, c as FileSystemAtomicity, d as FileSystemCaseSensitivity, e as FileSystemConditionalWriteStrength, f as FileSystemCreateDirectoryMode, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, i as FileSystemDurability, j as FileSystemEntry, k as FileSystemEntrySnapshot, l as FileSystemEntryWatchEvent, m as FileSystemFileRead, n as FileSystemFileSnapshot, o as FileSystemMoveOptions, p as FileSystemOverflowWatchEvent, q as FileSystemProvider, r as FileSystemProviderCapabilities, s as FileSystemProviderV2, t as FileSystemProviderWithV2, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, w as FileSystemSnapshot, x as FileSystemSnapshotEntry, y as FileSystemSnapshotFile, z as FileSystemSymlinkPolicy, A as FileSystemVersion, B as FileSystemWatchErrorListener, C as FileSystemWatchEvent, D as FileSystemWatchEventOrigin, E as FileSystemWatchEventType, G as FileSystemWatchListener, H as FileSystemWatchOptions, I as FileSystemWatchSubscription, J as FileSystemWriteMode, K as FileSystemWriteOptions, L as FolderEntry, M as FsError, N as FsErrorCode, O as FsErrorContext, P as FsOperation, S as SerializedFsError, Q as deserializeFsError, R as fsErrorFromUnknown, T as getFileSystemProviderV2, U as hasFileSystemProviderV2, V as isQuotaExceededError, W as isSerializedFsError, X as mapDomExceptionToFsErrorCode, Y as mapNodeErrorCodeToFsErrorCode, Z as parseFileSystemVersion, _ as serializeFsError, $ as tryParseFileSystemVersion } from './types-
|
|
1
|
+
export { F as FileCommitResult, a as FileEntry, b as FileMeta, c as FileSystemAtomicity, d as FileSystemCaseSensitivity, e as FileSystemConditionalWriteStrength, f as FileSystemCreateDirectoryMode, g as FileSystemCreateDirectoryOptions, h as FileSystemDirectorySnapshot, i as FileSystemDurability, j as FileSystemEntry, k as FileSystemEntrySnapshot, l as FileSystemEntryWatchEvent, m as FileSystemFileRead, n as FileSystemFileSnapshot, o as FileSystemMoveOptions, p as FileSystemOverflowWatchEvent, q as FileSystemProvider, r as FileSystemProviderCapabilities, s as FileSystemProviderV2, t as FileSystemProviderWithV2, u as FileSystemRemoveOptions, v as FileSystemRemoveResult, w as FileSystemSnapshot, x as FileSystemSnapshotEntry, y as FileSystemSnapshotFile, z as FileSystemSymlinkPolicy, A as FileSystemVersion, B as FileSystemWatchErrorListener, C as FileSystemWatchEvent, D as FileSystemWatchEventOrigin, E as FileSystemWatchEventType, G as FileSystemWatchListener, H as FileSystemWatchOptions, I as FileSystemWatchSubscription, J as FileSystemWriteMode, K as FileSystemWriteOptions, L as FolderEntry, M as FsError, N as FsErrorCode, O as FsErrorContext, P as FsOperation, S as SerializedFsError, Q as deserializeFsError, R as fsErrorFromUnknown, T as getFileSystemProviderV2, U as hasFileSystemProviderV2, V as isQuotaExceededError, W as isSerializedFsError, X as mapDomExceptionToFsErrorCode, Y as mapNodeErrorCodeToFsErrorCode, Z as parseFileSystemVersion, _ as serializeFsError, $ as tryParseFileSystemVersion } from './types-Bb3yccTH.js';
|
|
2
2
|
export { W as WORKSPACE_ROOT, a as WorkspacePath, p as parseWorkspacePath, t as tryParseWorkspacePath, w as workspacePathBasename, b as workspacePathContains, c as workspacePathDirname, d as workspacePathJoin, e as workspacePathToLegacy } from './workspace-path-CWVrcuPL.js';
|
|
3
3
|
export { DbkWorkspaceAssetLayout, DbkWorkspaceSnapshot, DbkWorkspaceSnapshotOptions, DecodeUtf8TextOptions, FileSystemContentContainer, FileSystemEntryMoveState, FileSystemMoveLocation, FileSystemMoveRecoveryError, FileSystemPartialMoveError, FileSystemPartialMoveState, FileSystemPathPresence, LegacyFilePayloadModel, LegacyFileSystemProviderV2Adapter, LegacyFileSystemProviderV2AdapterOptions, createDbkWorkspaceSnapshot, createFileMediaProvider, decodeUtf8Text, describeEntryMove, describePartialMove, documentCompanionPath, isFileSystemMoveRecoveryError, isFileSystemMoveStateError, isFileSystemPartialMoveError, moveFileSystemEntry, replaceMemoryWorkspaceFromDbk } from './filesystem/index.js';
|
|
4
4
|
export { MemoryFilePayloadKind, MemoryFileSystemProvider, MemoryFileSystemProviderV2, MemoryFileSystemSnapshot, MemoryFileSystemSnapshotFile, MemoryFileSystemV2CompatibilityFile, MemoryFileSystemV2Replacement, MemoryFileSystemV2ReplacementFile, MemoryFileSystemV2State, MemoryFileSystemV2StateFile } from './filesystem/memory.js';
|
|
@@ -9,6 +9,6 @@ export { DOCUMENT_RECOVERY_JOURNAL_SCHEMA_VERSION, DOCUMENT_RECOVERY_JOURNAL_STO
|
|
|
9
9
|
export { ElectronWorkspaceReconciliation, TransientOrigin, WorkspaceDescriptor, ensureDefaultWorkspace, getTransientWorkspace, getWorkspace, listWorkspaces, parsePersistedWorkspaceList, reconcileElectronWorkspaceDescriptors, registerTransientWorkspace, removeWorkspace, saveWorkspace, touchWorkspace, unregisterTransientWorkspace } from './workspace/index.js';
|
|
10
10
|
export { HOST_WIRE_LIMITS, MAX_HOST_PINNED_DOCUMENTS, getDocBlocksHost, isBoundedBytePayload, isBoundedString, isElectronHost, isTrustedRendererUrl, maybeGetDocBlocksHost, parseExternalHttpUrl, parseOpenRequest, parsePinnedMenuDocuments } from './host/index.js';
|
|
11
11
|
export { SHARED_DOCUMENT_LIMITS, SharedDocumentHashParseResult, SharedDocumentMode, SharedDocumentPayload, createSharedDocumentHash, createSharedDocumentUrl, parseSharedDocumentHash } from './share/index.js';
|
|
12
|
-
export { D as DocBlocksHostAPI, a as DocBlocksHostExportAPI, b as DocBlocksHostExternalAPI, c as DocBlocksHostFfmpegAPI, d as DocBlocksHostFsAPI, e as DocBlocksHostFsV2API, f as DocBlocksHostGitAPI, g as DocBlocksHostLifecycleAPI, h as DocBlocksHostMenuAPI, i as DocBlocksHostShellAPI, j as DocBlocksHostUpdaterAPI, k as DocBlocksHostWorkspacesAPI, E as ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, l as ElectronWorkspaceInfo, m as ExternalBinaryCommitResult, G as GitBranchInfo, n as GitCapabilities, o as GitCloneHandle, p as GitCloneProgress, q as GitError, r as GitErrorCode, s as GitFileAtRevision, t as GitFileChange, u as GitFileStatusCode, v as GitLogEntry, w as GitLogOptions, x as GitRemoteInfo, y as GitRepoDetection, z as GitResult, A as GitRevision, B as GitStatus, H as HostCloseReason, C as HostEnvironment, F as HostExportTargetGrant, I as HostFileSystemV2OpenRequest, J as HostFileSystemV2Result, K as HostFileSystemV2WatchMessage, L as HostPinnedDocument, M as HostPrepareCloseRequest, N as HostPrepareCloseResult, O as MenuCommand, P as OpenRequest, U as UpdateCheckResult, Q as UpdateInstallResult, R as UpdaterStatus } from './types-
|
|
12
|
+
export { D as DocBlocksHostAPI, a as DocBlocksHostExportAPI, b as DocBlocksHostExternalAPI, c as DocBlocksHostFfmpegAPI, d as DocBlocksHostFsAPI, e as DocBlocksHostFsV2API, f as DocBlocksHostGitAPI, g as DocBlocksHostLifecycleAPI, h as DocBlocksHostMenuAPI, i as DocBlocksHostShellAPI, j as DocBlocksHostUpdaterAPI, k as DocBlocksHostWorkspacesAPI, E as ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, l as ElectronWorkspaceInfo, m as ExternalBinaryCommitResult, G as GitBranchInfo, n as GitCapabilities, o as GitCloneHandle, p as GitCloneProgress, q as GitError, r as GitErrorCode, s as GitFileAtRevision, t as GitFileChange, u as GitFileStatusCode, v as GitLogEntry, w as GitLogOptions, x as GitRemoteInfo, y as GitRepoDetection, z as GitResult, A as GitRevision, B as GitStatus, H as HostCloseReason, C as HostEnvironment, F as HostExportTargetGrant, I as HostFileSystemV2OpenRequest, J as HostFileSystemV2Result, K as HostFileSystemV2WatchMessage, L as HostPinnedDocument, M as HostPrepareCloseRequest, N as HostPrepareCloseResult, O as MenuCommand, P as OpenRequest, U as UpdateCheckResult, Q as UpdateInstallResult, R as UpdaterStatus } from './types-CREx02sE.js';
|
|
13
13
|
import '@bendyline/squisq/storage';
|
|
14
14
|
import '@bendyline/squisq/schemas';
|
package/dist/index.js
CHANGED
package/dist/mcp/index.d.ts
CHANGED
|
@@ -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
|
|
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,
|
|
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-DapJIsC2.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-DapJIsC2.js';
|
|
3
3
|
import '../workspace-path-CWVrcuPL.js';
|
|
4
4
|
|
|
5
5
|
/** Quantitative limits for untrusted MCP payloads. */
|
|
@@ -25,9 +25,8 @@ declare function parseMcpDiagnostic(value: unknown): McpDiagnostic | null;
|
|
|
25
25
|
declare function parseMcpErrorResult(value: unknown): McpErrorResult | null;
|
|
26
26
|
declare function parseConversionResult(value: unknown): ConversionResult | null;
|
|
27
27
|
declare function parseInspectionResult(value: unknown): InspectionResult | null;
|
|
28
|
-
declare function parseValidationResult(value: unknown): ValidationResult | null;
|
|
29
28
|
declare function parsePreviewResult(value: unknown): PreviewResult | null;
|
|
30
29
|
declare function parseComparisonResult(value: unknown): ComparisonResult | null;
|
|
31
30
|
declare function parseMaterializationOptions(value: unknown): MaterializationOptions | null;
|
|
32
31
|
|
|
33
|
-
export { ArtifactRef, ComparisonResult, ConversionResult, DocumentSource, InspectionResult, MCP_WIRE_LIMITS, MaterializationOptions, McpDiagnostic, McpErrorResult, PreviewResult,
|
|
32
|
+
export { ArtifactRef, ComparisonResult, ConversionResult, DocumentSource, InspectionResult, MCP_WIRE_LIMITS, MaterializationOptions, McpDiagnostic, McpErrorResult, PreviewResult, parseArtifactRef, parseComparisonResult, parseConversionResult, parseDocumentSource, parseInspectionResult, parseMaterializationOptions, parseMcpDiagnostic, parseMcpErrorResult, parsePreviewResult };
|
package/dist/mcp/index.js
CHANGED
|
@@ -10,9 +10,8 @@ import {
|
|
|
10
10
|
parseMaterializationOptions,
|
|
11
11
|
parseMcpDiagnostic,
|
|
12
12
|
parseMcpErrorResult,
|
|
13
|
-
parsePreviewResult
|
|
14
|
-
|
|
15
|
-
} from "../chunk-DBJW7BZI.js";
|
|
13
|
+
parsePreviewResult
|
|
14
|
+
} from "../chunk-EG3WGSZH.js";
|
|
16
15
|
import "../chunk-AYWKIZLD.js";
|
|
17
16
|
export {
|
|
18
17
|
DOCBLOCKS_MCP_TOOL_NAMES,
|
|
@@ -26,6 +25,5 @@ export {
|
|
|
26
25
|
parseMaterializationOptions,
|
|
27
26
|
parseMcpDiagnostic,
|
|
28
27
|
parseMcpErrorResult,
|
|
29
|
-
parsePreviewResult
|
|
30
|
-
parseValidationResult
|
|
28
|
+
parsePreviewResult
|
|
31
29
|
};
|