@bendyline/docblocks 1.1.2 → 2.1.0
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/README.md +76 -11
- package/dist/chunk-6IYMTYMQ.js +1692 -0
- package/dist/chunk-6IYMTYMQ.js.map +1 -0
- package/dist/chunk-AEHCVWU5.js +25 -0
- package/dist/chunk-AEHCVWU5.js.map +1 -0
- package/dist/chunk-B56KWCSE.js +802 -0
- package/dist/chunk-B56KWCSE.js.map +1 -0
- package/dist/{chunk-ME76RUMR.js → chunk-BNKV7MTO.js} +15 -1
- package/dist/chunk-BNKV7MTO.js.map +1 -0
- package/dist/chunk-BXMF5YQJ.js +149 -0
- package/dist/chunk-BXMF5YQJ.js.map +1 -0
- package/dist/chunk-COYQXQK3.js +1071 -0
- package/dist/chunk-COYQXQK3.js.map +1 -0
- package/dist/chunk-DN7A33LL.js +780 -0
- package/dist/chunk-DN7A33LL.js.map +1 -0
- package/dist/chunk-EZKJZUNJ.js +13 -0
- package/dist/chunk-EZKJZUNJ.js.map +1 -0
- package/dist/chunk-FA7UNOXK.js +20 -0
- package/dist/chunk-FA7UNOXK.js.map +1 -0
- package/dist/chunk-FNW556FN.js +75 -0
- package/dist/chunk-FNW556FN.js.map +1 -0
- package/dist/chunk-GM5YXU4L.js +29 -0
- package/dist/chunk-GM5YXU4L.js.map +1 -0
- package/dist/chunk-JS6XFWQK.js +225 -0
- package/dist/chunk-JS6XFWQK.js.map +1 -0
- package/dist/chunk-MNSZ7EZN.js +111 -0
- package/dist/chunk-MNSZ7EZN.js.map +1 -0
- package/dist/chunk-P3DVZQ6S.js +228 -0
- package/dist/chunk-P3DVZQ6S.js.map +1 -0
- package/dist/chunk-P4WATND4.js +52 -0
- package/dist/chunk-P4WATND4.js.map +1 -0
- package/dist/chunk-RVPGQBWR.js +169 -0
- package/dist/chunk-RVPGQBWR.js.map +1 -0
- package/dist/chunk-U722UUFN.js +9 -0
- package/dist/chunk-U722UUFN.js.map +1 -0
- package/dist/chunk-VTCSF7VS.js +553 -0
- package/dist/chunk-VTCSF7VS.js.map +1 -0
- package/dist/chunk-WJKYY5QR.js +1350 -0
- package/dist/chunk-WJKYY5QR.js.map +1 -0
- package/dist/chunk-XUML3MKV.js +945 -0
- package/dist/chunk-XUML3MKV.js.map +1 -0
- package/dist/document/index.d.ts +358 -0
- package/dist/document/index.js +25 -0
- package/dist/document/index.js.map +1 -0
- package/dist/filesystem/electron.d.ts +73 -0
- package/dist/filesystem/electron.js +17 -0
- package/dist/filesystem/electron.js.map +1 -0
- package/dist/filesystem/index.d.ts +228 -8
- package/dist/filesystem/index.js +133 -6
- package/dist/filesystem/index.js.map +1 -1
- package/dist/filesystem/indexeddb.d.ts +284 -0
- package/dist/filesystem/indexeddb.js +23 -0
- package/dist/filesystem/indexeddb.js.map +1 -0
- package/dist/filesystem/memory.d.ts +152 -0
- package/dist/filesystem/memory.js +13 -0
- package/dist/filesystem/memory.js.map +1 -0
- package/dist/filesystem/native.d.ts +136 -0
- package/dist/filesystem/native.js +28 -0
- package/dist/filesystem/native.js.map +1 -0
- package/dist/host/index.d.ts +32 -6
- package/dist/host/index.js +26 -27
- package/dist/host/index.js.map +1 -1
- package/dist/index.d.ts +14 -9
- package/dist/index.js +204 -8
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.d.ts +33 -0
- package/dist/mcp/index.js +32 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/zod.d.ts +5765 -0
- package/dist/mcp/zod.js +724 -0
- package/dist/mcp/zod.js.map +1 -0
- package/dist/share/index.d.ts +43 -0
- package/dist/share/index.js +13 -0
- package/dist/share/index.js.map +1 -0
- package/dist/types-BEg5SQ1_.d.ts +301 -0
- package/dist/types-CX893hgH.d.ts +468 -0
- package/dist/types-CueK0tvU.d.ts +501 -0
- package/dist/vscode/index.d.ts +220 -0
- package/dist/vscode/index.js +383 -0
- package/dist/vscode/index.js.map +1 -0
- package/dist/workspace/index.d.ts +141 -3
- package/dist/workspace/index.js +28 -1
- package/dist/workspace/index.js.map +1 -1
- package/dist/workspace-path-CWVrcuPL.d.ts +21 -0
- package/package.json +50 -5
- package/dist/chunk-GUNM43XZ.js +0 -63
- package/dist/chunk-GUNM43XZ.js.map +0 -1
- package/dist/chunk-IM7LCQJ6.js +0 -850
- package/dist/chunk-IM7LCQJ6.js.map +0 -1
- package/dist/chunk-ME76RUMR.js.map +0 -1
- package/dist/filesystem/electron-provider.d.ts +0 -32
- package/dist/filesystem/electron-provider.d.ts.map +0 -1
- package/dist/filesystem/electron-provider.js +0 -64
- package/dist/filesystem/electron-provider.js.map +0 -1
- package/dist/filesystem/file-media-provider.d.ts +0 -23
- package/dist/filesystem/file-media-provider.d.ts.map +0 -1
- package/dist/filesystem/file-media-provider.js +0 -85
- package/dist/filesystem/file-media-provider.js.map +0 -1
- package/dist/filesystem/filesystem-content-container.d.ts +0 -24
- package/dist/filesystem/filesystem-content-container.d.ts.map +0 -1
- package/dist/filesystem/filesystem-content-container.js +0 -116
- package/dist/filesystem/filesystem-content-container.js.map +0 -1
- package/dist/filesystem/index.d.ts.map +0 -1
- package/dist/filesystem/indexeddb-content-container.d.ts +0 -20
- package/dist/filesystem/indexeddb-content-container.d.ts.map +0 -1
- package/dist/filesystem/indexeddb-content-container.js +0 -93
- package/dist/filesystem/indexeddb-content-container.js.map +0 -1
- package/dist/filesystem/indexeddb-provider.d.ts +0 -32
- package/dist/filesystem/indexeddb-provider.d.ts.map +0 -1
- package/dist/filesystem/indexeddb-provider.js +0 -295
- package/dist/filesystem/indexeddb-provider.js.map +0 -1
- package/dist/filesystem/native-provider.d.ts +0 -45
- package/dist/filesystem/native-provider.d.ts.map +0 -1
- package/dist/filesystem/native-provider.js +0 -336
- package/dist/filesystem/native-provider.js.map +0 -1
- package/dist/filesystem/types.d.ts +0 -50
- package/dist/filesystem/types.d.ts.map +0 -1
- package/dist/filesystem/types.js +0 -8
- package/dist/filesystem/types.js.map +0 -1
- package/dist/host/index.d.ts.map +0 -1
- package/dist/host/types.d.ts +0 -149
- package/dist/host/types.d.ts.map +0 -1
- package/dist/host/types.js +0 -10
- package/dist/host/types.js.map +0 -1
- package/dist/index-pgBHBQ9G.d.ts +0 -213
- package/dist/index.d.ts.map +0 -1
- package/dist/workspace/index.d.ts.map +0 -1
- package/dist/workspace/types.d.ts +0 -29
- package/dist/workspace/types.d.ts.map +0 -1
- package/dist/workspace/types.js +0 -6
- package/dist/workspace/types.js.map +0 -1
- package/dist/workspace/workspace-manager.d.ts +0 -35
- package/dist/workspace/workspace-manager.d.ts.map +0 -1
- package/dist/workspace/workspace-manager.js +0 -82
- package/dist/workspace/workspace-manager.js.map +0 -1
- package/src/filesystem/electron-provider.ts +0 -88
- package/src/filesystem/file-media-provider.ts +0 -103
- package/src/filesystem/filesystem-content-container.ts +0 -126
- package/src/filesystem/index.ts +0 -24
- package/src/filesystem/indexeddb-content-container.ts +0 -104
- package/src/filesystem/indexeddb-provider.ts +0 -345
- package/src/filesystem/native-provider.ts +0 -384
- package/src/filesystem/types.ts +0 -69
- package/src/host/index.ts +0 -47
- package/src/host/types.ts +0 -153
- package/src/index.ts +0 -9
- package/src/workspace/index.ts +0 -10
- package/src/workspace/types.ts +0 -29
- package/src/workspace/workspace-manager.ts +0 -90
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IndexedDBContentContainer,
|
|
3
|
+
IndexedDBFileSystemProvider,
|
|
4
|
+
IndexedDBFileSystemProviderV2
|
|
5
|
+
} from "../chunk-6IYMTYMQ.js";
|
|
6
|
+
import "../chunk-AEHCVWU5.js";
|
|
7
|
+
import "../chunk-GM5YXU4L.js";
|
|
8
|
+
import "../chunk-U722UUFN.js";
|
|
9
|
+
import "../chunk-P4WATND4.js";
|
|
10
|
+
import "../chunk-FA7UNOXK.js";
|
|
11
|
+
import "../chunk-JS6XFWQK.js";
|
|
12
|
+
import {
|
|
13
|
+
deleteIndexedDBWorkspaceData,
|
|
14
|
+
indexedDBWorkspaceDatabaseName
|
|
15
|
+
} from "../chunk-RVPGQBWR.js";
|
|
16
|
+
export {
|
|
17
|
+
IndexedDBContentContainer,
|
|
18
|
+
IndexedDBFileSystemProvider,
|
|
19
|
+
IndexedDBFileSystemProviderV2,
|
|
20
|
+
deleteIndexedDBWorkspaceData,
|
|
21
|
+
indexedDBWorkspaceDatabaseName
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=indexeddb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,152 @@
|
|
|
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-BEg5SQ1_.js';
|
|
2
|
+
import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
|
|
3
|
+
|
|
4
|
+
type MemoryFilePayloadKind = 'text' | 'binary';
|
|
5
|
+
interface MemoryFileSystemV2StateFile {
|
|
6
|
+
readonly path: WorkspacePath;
|
|
7
|
+
readonly data: ArrayBuffer;
|
|
8
|
+
readonly payloadKind: MemoryFilePayloadKind;
|
|
9
|
+
}
|
|
10
|
+
interface MemoryFileSystemV2CompatibilityFile {
|
|
11
|
+
readonly data: ArrayBuffer;
|
|
12
|
+
readonly payloadKind: MemoryFilePayloadKind;
|
|
13
|
+
}
|
|
14
|
+
interface MemoryFileSystemV2State {
|
|
15
|
+
readonly revision: number;
|
|
16
|
+
readonly files: readonly MemoryFileSystemV2StateFile[];
|
|
17
|
+
readonly directories: readonly WorkspacePath[];
|
|
18
|
+
}
|
|
19
|
+
interface MemoryFileSystemV2ReplacementFile {
|
|
20
|
+
readonly path: WorkspacePath;
|
|
21
|
+
readonly data: ArrayBuffer | Uint8Array;
|
|
22
|
+
readonly payloadKind: MemoryFilePayloadKind;
|
|
23
|
+
}
|
|
24
|
+
interface MemoryFileSystemV2Replacement {
|
|
25
|
+
readonly files: readonly MemoryFileSystemV2ReplacementFile[];
|
|
26
|
+
readonly directories?: readonly WorkspacePath[];
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Correctness reference for FileSystemProviderV2.
|
|
30
|
+
*
|
|
31
|
+
* Every mutation validates first, stages a fresh map, swaps it once, and only
|
|
32
|
+
* then emits notifications. File buffers are owned by the provider and every
|
|
33
|
+
* read/snapshot returns a defensive copy.
|
|
34
|
+
*/
|
|
35
|
+
declare class MemoryFileSystemProviderV2 implements FileSystemProviderV2 {
|
|
36
|
+
readonly id: string;
|
|
37
|
+
readonly label: string;
|
|
38
|
+
readonly capabilities: FileSystemProviderCapabilities;
|
|
39
|
+
private entries;
|
|
40
|
+
private readonly watchers;
|
|
41
|
+
private readonly subscriptions;
|
|
42
|
+
private readonly pendingEvents;
|
|
43
|
+
private emittingEvents;
|
|
44
|
+
private mutationCounter;
|
|
45
|
+
private eventSequence;
|
|
46
|
+
private treeVersion;
|
|
47
|
+
private disposed;
|
|
48
|
+
private disposePromise;
|
|
49
|
+
constructor(id: string, label: string);
|
|
50
|
+
/** Monotonic in-process revision used by synchronous transient-workspace staging. */
|
|
51
|
+
get mutationRevision(): number;
|
|
52
|
+
/** @internal Atomically couple owned bytes to their v1 compatibility kind. */
|
|
53
|
+
readCompatibilityFile(path: WorkspacePath): MemoryFileSystemV2CompatibilityFile | null;
|
|
54
|
+
/** @internal Capture an owned synchronous copy for DBK whole-tree staging. */
|
|
55
|
+
captureState(): MemoryFileSystemV2State;
|
|
56
|
+
/** @internal Atomically replace a transient workspace after complete validation. */
|
|
57
|
+
replaceState(replacement: MemoryFileSystemV2Replacement, expectedRevision?: number): void;
|
|
58
|
+
/** @internal Synchronous setup hook used before a transient provider is published. */
|
|
59
|
+
seedText(path: WorkspacePath, content: string): void;
|
|
60
|
+
/** @internal Legacy text write that preserves text/binary compatibility metadata. */
|
|
61
|
+
writeText(path: WorkspacePath, content: string, options?: FileSystemWriteOptions): Promise<FileSystemFileSnapshot>;
|
|
62
|
+
/** @internal Legacy binary write that explicitly changes compatibility payload kind. */
|
|
63
|
+
writeBinary(path: WorkspacePath, data: ArrayBuffer | Uint8Array, options?: FileSystemWriteOptions): Promise<FileSystemFileSnapshot>;
|
|
64
|
+
/** @internal Atomic legacy compare-and-write over the authoritative v2 entry. */
|
|
65
|
+
commitText(path: WorkspacePath, content: string, expectedContent: string | null): Promise<FileCommitResult>;
|
|
66
|
+
stat(path: WorkspacePath): Promise<FileSystemEntrySnapshot | null>;
|
|
67
|
+
readFile(path: WorkspacePath): Promise<FileSystemFileRead | null>;
|
|
68
|
+
readDirectory(path: WorkspacePath): Promise<readonly FileSystemEntrySnapshot[]>;
|
|
69
|
+
writeFile(path: WorkspacePath, data: ArrayBuffer | Uint8Array, options?: FileSystemWriteOptions): Promise<FileSystemFileSnapshot>;
|
|
70
|
+
private writeFileNow;
|
|
71
|
+
createDirectory(path: WorkspacePath, options?: FileSystemCreateDirectoryOptions): Promise<FileSystemDirectorySnapshot>;
|
|
72
|
+
remove(path: WorkspacePath, options?: FileSystemRemoveOptions): Promise<FileSystemRemoveResult>;
|
|
73
|
+
move(oldPath: WorkspacePath, newPath: WorkspacePath, options?: FileSystemMoveOptions): Promise<FileSystemEntrySnapshot>;
|
|
74
|
+
snapshot(): Promise<FileSystemSnapshot>;
|
|
75
|
+
watch(listener: FileSystemWatchListener, options?: FileSystemWatchOptions): FileSystemWatchSubscription;
|
|
76
|
+
dispose(): Promise<void>;
|
|
77
|
+
private canonical;
|
|
78
|
+
private canonicalNonRoot;
|
|
79
|
+
private assertOpen;
|
|
80
|
+
private assertExpectedVersion;
|
|
81
|
+
private planParents;
|
|
82
|
+
private addDirectories;
|
|
83
|
+
private touchParents;
|
|
84
|
+
private withVersion;
|
|
85
|
+
private nextVersion;
|
|
86
|
+
private toEntrySnapshot;
|
|
87
|
+
private toFileSnapshot;
|
|
88
|
+
private toDirectorySnapshot;
|
|
89
|
+
private emit;
|
|
90
|
+
private error;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* In-memory filesystem used by transient loose-file and DBK workspaces.
|
|
95
|
+
*
|
|
96
|
+
* MemoryFileSystemProviderV2 is authoritative. This class is the temporary
|
|
97
|
+
* text-oriented v1 facade retained while callers migrate to the byte contract.
|
|
98
|
+
*/
|
|
99
|
+
|
|
100
|
+
type MemoryFileSystemSnapshotFile = {
|
|
101
|
+
readonly kind: 'text';
|
|
102
|
+
readonly path: string;
|
|
103
|
+
readonly content: string;
|
|
104
|
+
} | {
|
|
105
|
+
readonly kind: 'binary';
|
|
106
|
+
readonly path: string;
|
|
107
|
+
readonly data: ArrayBuffer | Uint8Array;
|
|
108
|
+
};
|
|
109
|
+
/** Complete provider-relative state for a transient memory workspace. */
|
|
110
|
+
interface MemoryFileSystemSnapshot {
|
|
111
|
+
readonly files: readonly MemoryFileSystemSnapshotFile[];
|
|
112
|
+
readonly directories?: readonly string[];
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Legacy facade over the correctness-first memory provider.
|
|
116
|
+
*
|
|
117
|
+
* Synchronous seed/snapshot replacement methods remain because DBK import
|
|
118
|
+
* fully stages external bytes before publishing one atomic in-memory swap.
|
|
119
|
+
*/
|
|
120
|
+
declare class MemoryFileSystemProvider implements FileSystemProvider {
|
|
121
|
+
readonly id: string;
|
|
122
|
+
readonly label: string;
|
|
123
|
+
readonly v2: MemoryFileSystemProviderV2;
|
|
124
|
+
constructor(id: string, label: string);
|
|
125
|
+
/** Monotonic version of the complete in-memory tree. */
|
|
126
|
+
get treeVersion(): number;
|
|
127
|
+
/** Capture an owned deterministic copy of the complete transient tree. */
|
|
128
|
+
captureContents(): MemoryFileSystemSnapshot;
|
|
129
|
+
/** Atomically replace the complete tree after validating and owning all input. */
|
|
130
|
+
replaceContents(snapshot: MemoryFileSystemSnapshot, expectedTreeVersion?: number): void;
|
|
131
|
+
/** Seed synchronously before publishing a transient provider to consumers. */
|
|
132
|
+
seedText(path: string, content: string): void;
|
|
133
|
+
readFile(path: string): Promise<string | null>;
|
|
134
|
+
writeFile(path: string, content: string): Promise<void>;
|
|
135
|
+
commitFile(path: string, content: string, expectedContent: string | null): Promise<FileCommitResult>;
|
|
136
|
+
delete(path: string): Promise<void>;
|
|
137
|
+
rename(oldPath: string, newPath: string): Promise<void>;
|
|
138
|
+
readDirectory(path: string): Promise<FileSystemEntry[]>;
|
|
139
|
+
exists(path: string): Promise<boolean>;
|
|
140
|
+
createDirectory(path: string): Promise<void>;
|
|
141
|
+
stat(path: string): Promise<FileMeta | null>;
|
|
142
|
+
/**
|
|
143
|
+
* Every stored file is bytes, so every stored file is readable as binary.
|
|
144
|
+
* `payloadKind` records how a file was written for DBK export fidelity; it is
|
|
145
|
+
* not a filter. Gating on it made `readBinary` report an existing text file as
|
|
146
|
+
* missing, which no other provider does and which callers read as "no file".
|
|
147
|
+
*/
|
|
148
|
+
readBinary(path: string): Promise<ArrayBuffer | null>;
|
|
149
|
+
writeBinary(path: string, data: ArrayBuffer | Uint8Array): Promise<void>;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export { type MemoryFilePayloadKind, MemoryFileSystemProvider, MemoryFileSystemProviderV2, type MemoryFileSystemSnapshot, type MemoryFileSystemSnapshotFile, type MemoryFileSystemV2CompatibilityFile, type MemoryFileSystemV2Replacement, type MemoryFileSystemV2ReplacementFile, type MemoryFileSystemV2State, type MemoryFileSystemV2StateFile };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MemoryFileSystemProvider,
|
|
3
|
+
MemoryFileSystemProviderV2
|
|
4
|
+
} from "../chunk-DN7A33LL.js";
|
|
5
|
+
import "../chunk-GM5YXU4L.js";
|
|
6
|
+
import "../chunk-P4WATND4.js";
|
|
7
|
+
import "../chunk-FA7UNOXK.js";
|
|
8
|
+
import "../chunk-JS6XFWQK.js";
|
|
9
|
+
export {
|
|
10
|
+
MemoryFileSystemProvider,
|
|
11
|
+
MemoryFileSystemProviderV2
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=memory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,136 @@
|
|
|
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-BEg5SQ1_.js';
|
|
2
|
+
import { a as WorkspacePath } from '../workspace-path-CWVrcuPL.js';
|
|
3
|
+
|
|
4
|
+
type NativeFileSystemMovePathState = 'present' | 'missing' | 'unknown';
|
|
5
|
+
interface NativeFileSystemMoveRecoveryState {
|
|
6
|
+
readonly source: NativeFileSystemMovePathState;
|
|
7
|
+
readonly destination: NativeFileSystemMovePathState;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A copy/delete move failed and the provider could not prove that rollback
|
|
11
|
+
* restored the source-only state. Callers must inspect `state` before retrying.
|
|
12
|
+
*/
|
|
13
|
+
declare class NativeFileSystemMoveRecoveryError extends FsError {
|
|
14
|
+
readonly primaryError: FsError;
|
|
15
|
+
readonly recoveryErrors: readonly FsError[];
|
|
16
|
+
readonly state: NativeFileSystemMoveRecoveryState;
|
|
17
|
+
constructor(sourcePath: WorkspacePath, destinationPath: WorkspacePath, primaryError: FsError, recoveryErrors: readonly FsError[], state: NativeFileSystemMoveRecoveryState);
|
|
18
|
+
}
|
|
19
|
+
/** Direct File System Access API implementation of FileSystemProviderV2. */
|
|
20
|
+
declare class NativeFileSystemProviderV2 implements FileSystemProviderV2 {
|
|
21
|
+
readonly id: string;
|
|
22
|
+
readonly label: string;
|
|
23
|
+
readonly capabilities: FileSystemProviderCapabilities;
|
|
24
|
+
private readonly root;
|
|
25
|
+
private readonly lockKey;
|
|
26
|
+
private readonly subscriptions;
|
|
27
|
+
private readonly inFlight;
|
|
28
|
+
private disposed;
|
|
29
|
+
private disposePromise;
|
|
30
|
+
constructor(id: string, root: FileSystemDirectoryHandle);
|
|
31
|
+
stat(path: WorkspacePath): Promise<FileSystemEntrySnapshot | null>;
|
|
32
|
+
readFile(path: WorkspacePath): Promise<FileSystemFileRead | null>;
|
|
33
|
+
readDirectory(path: WorkspacePath): Promise<readonly FileSystemEntrySnapshot[]>;
|
|
34
|
+
writeFile(path: WorkspacePath, data: ArrayBuffer | Uint8Array, options?: FileSystemWriteOptions): Promise<FileSystemFileSnapshot>;
|
|
35
|
+
createDirectory(path: WorkspacePath, options?: FileSystemCreateDirectoryOptions): Promise<FileSystemDirectorySnapshot>;
|
|
36
|
+
remove(path: WorkspacePath, options?: FileSystemRemoveOptions): Promise<FileSystemRemoveResult>;
|
|
37
|
+
move(oldPath: WorkspacePath, newPath: WorkspacePath, options?: FileSystemMoveOptions): Promise<FileSystemEntrySnapshot>;
|
|
38
|
+
snapshot(): Promise<FileSystemSnapshot>;
|
|
39
|
+
watch(_listener: FileSystemWatchListener, options?: FileSystemWatchOptions): FileSystemWatchSubscription;
|
|
40
|
+
dispose(): Promise<void>;
|
|
41
|
+
private canonical;
|
|
42
|
+
private canonicalNonRoot;
|
|
43
|
+
private execute;
|
|
44
|
+
private mutate;
|
|
45
|
+
private assertOpen;
|
|
46
|
+
private translateError;
|
|
47
|
+
private error;
|
|
48
|
+
private assertExpectedVersion;
|
|
49
|
+
private resolveDirectory;
|
|
50
|
+
private getHandle;
|
|
51
|
+
private tryScanMetadata;
|
|
52
|
+
private tryScanSnapshot;
|
|
53
|
+
private requireMetadata;
|
|
54
|
+
private requireSnapshot;
|
|
55
|
+
private scanMetadataHandle;
|
|
56
|
+
private scanSnapshotHandle;
|
|
57
|
+
private scanHandle;
|
|
58
|
+
private scanFileMetadata;
|
|
59
|
+
private scanFileSnapshot;
|
|
60
|
+
private getFileSnapshot;
|
|
61
|
+
private fileMetadata;
|
|
62
|
+
private planParents;
|
|
63
|
+
private createDirectories;
|
|
64
|
+
private rollbackDirectories;
|
|
65
|
+
private writeBytes;
|
|
66
|
+
private removeEntry;
|
|
67
|
+
private removeEmptyFileIfPresent;
|
|
68
|
+
private currentTreeVersion;
|
|
69
|
+
private writeTree;
|
|
70
|
+
private rollbackMoveAndThrow;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the source still holds exactly the bytes the move captured.
|
|
73
|
+
*
|
|
74
|
+
* A probe that fails answers "no": rollback must never treat an unverifiable
|
|
75
|
+
* source as whole, because that is precisely what licenses deleting the copy
|
|
76
|
+
* at the destination.
|
|
77
|
+
*/
|
|
78
|
+
private matchesCapturedSource;
|
|
79
|
+
private probeScan;
|
|
80
|
+
private probeSnapshot;
|
|
81
|
+
private probePresence;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* NativeFileSystemProvider — wraps the File System Access API
|
|
86
|
+
* (window.showDirectoryPicker / FileSystemDirectoryHandle).
|
|
87
|
+
*
|
|
88
|
+
* Progressive enhancement: only available in browsers that support
|
|
89
|
+
* the API (Chrome, Edge). Feature-detect with `isNativeFileSystemSupported()`.
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
declare function isNativeFileSystemSupported(): boolean;
|
|
93
|
+
/** Persist a FileSystemDirectoryHandle so it survives page reloads. */
|
|
94
|
+
declare function storeDirectoryHandle(workspaceId: string, handle: FileSystemDirectoryHandle): Promise<void>;
|
|
95
|
+
/** Retrieve a previously stored handle. Returns null if not found. */
|
|
96
|
+
declare function loadDirectoryHandle(workspaceId: string): Promise<FileSystemDirectoryHandle | null>;
|
|
97
|
+
/** Remove a stored handle (e.g. when deleting a workspace). */
|
|
98
|
+
declare function removeDirectoryHandle(workspaceId: string): Promise<void>;
|
|
99
|
+
declare class NativeFileSystemProvider implements FileSystemProvider {
|
|
100
|
+
readonly id: string;
|
|
101
|
+
readonly label: string;
|
|
102
|
+
readonly v2: NativeFileSystemProviderV2;
|
|
103
|
+
private root;
|
|
104
|
+
constructor(id: string, root: FileSystemDirectoryHandle);
|
|
105
|
+
private withMutationLock;
|
|
106
|
+
private copyDirectory;
|
|
107
|
+
readFile(path: string): Promise<string | null>;
|
|
108
|
+
writeFile(path: string, content: string): Promise<void>;
|
|
109
|
+
private writeFileUnlocked;
|
|
110
|
+
commitFile(path: string, content: string, expectedContent: string | null): Promise<FileCommitResult>;
|
|
111
|
+
delete(path: string): Promise<void>;
|
|
112
|
+
private deleteUnlocked;
|
|
113
|
+
rename(oldPath: string, newPath: string): Promise<void>;
|
|
114
|
+
private renameUnlocked;
|
|
115
|
+
readDirectory(path: string): Promise<FileSystemEntry[]>;
|
|
116
|
+
exists(path: string): Promise<boolean>;
|
|
117
|
+
createDirectory(path: string): Promise<void>;
|
|
118
|
+
stat(path: string): Promise<FileMeta | null>;
|
|
119
|
+
readBinary(path: string): Promise<ArrayBuffer | null>;
|
|
120
|
+
writeBinary(path: string, data: ArrayBuffer | Uint8Array): Promise<void>;
|
|
121
|
+
private writeBinaryUnlocked;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Prompt the user to pick a local folder and return a NativeFileSystemProvider.
|
|
125
|
+
* The directory handle is persisted in IndexedDB so it can be restored later.
|
|
126
|
+
* Throws if the user cancels or the API is unsupported.
|
|
127
|
+
*/
|
|
128
|
+
declare function openNativeFolder(): Promise<NativeFileSystemProvider>;
|
|
129
|
+
/**
|
|
130
|
+
* Restore a previously opened native folder from a persisted handle.
|
|
131
|
+
* Re-requests read/write permission (browser will show a prompt).
|
|
132
|
+
* Returns null if the handle is not found or permission is denied.
|
|
133
|
+
*/
|
|
134
|
+
declare function restoreNativeFolder(workspaceId: string): Promise<NativeFileSystemProvider | null>;
|
|
135
|
+
|
|
136
|
+
export { type NativeFileSystemMovePathState, NativeFileSystemMoveRecoveryError, type NativeFileSystemMoveRecoveryState, NativeFileSystemProvider, NativeFileSystemProviderV2, isNativeFileSystemSupported, loadDirectoryHandle, openNativeFolder, removeDirectoryHandle, restoreNativeFolder, storeDirectoryHandle };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NativeFileSystemMoveRecoveryError,
|
|
3
|
+
NativeFileSystemProvider,
|
|
4
|
+
NativeFileSystemProviderV2,
|
|
5
|
+
isNativeFileSystemSupported,
|
|
6
|
+
loadDirectoryHandle,
|
|
7
|
+
openNativeFolder,
|
|
8
|
+
removeDirectoryHandle,
|
|
9
|
+
restoreNativeFolder,
|
|
10
|
+
storeDirectoryHandle
|
|
11
|
+
} from "../chunk-WJKYY5QR.js";
|
|
12
|
+
import "../chunk-AEHCVWU5.js";
|
|
13
|
+
import "../chunk-GM5YXU4L.js";
|
|
14
|
+
import "../chunk-P4WATND4.js";
|
|
15
|
+
import "../chunk-FA7UNOXK.js";
|
|
16
|
+
import "../chunk-JS6XFWQK.js";
|
|
17
|
+
export {
|
|
18
|
+
NativeFileSystemMoveRecoveryError,
|
|
19
|
+
NativeFileSystemProvider,
|
|
20
|
+
NativeFileSystemProviderV2,
|
|
21
|
+
isNativeFileSystemSupported,
|
|
22
|
+
loadDirectoryHandle,
|
|
23
|
+
openNativeFolder,
|
|
24
|
+
removeDirectoryHandle,
|
|
25
|
+
restoreNativeFolder,
|
|
26
|
+
storeDirectoryHandle
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/host/index.d.ts
CHANGED
|
@@ -1,14 +1,40 @@
|
|
|
1
|
+
import { O as OpenRequest, D as DocBlocksHostAPI } from '../types-CueK0tvU.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 DocBlocksHostShellAPI, i as DocBlocksHostUpdaterAPI, j as DocBlocksHostWorkspacesAPI, E as ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, k as ElectronWorkspaceInfo, l as ExternalBinaryCommitResult, G as GitBranchInfo, m as GitCapabilities, n as GitCloneHandle, o as GitCloneProgress, p as GitError, q as GitErrorCode, r as GitFileAtRevision, s as GitFileChange, t as GitFileStatusCode, u as GitLogEntry, v as GitLogOptions, w as GitRemoteInfo, x as GitRepoDetection, y as GitResult, z as GitRevision, A as GitStatus, H as HostCloseReason, B as HostEnvironment, C as HostExportTargetGrant, F as HostFileSystemV2OpenRequest, I as HostFileSystemV2Result, J as HostFileSystemV2WatchMessage, K as HostPrepareCloseRequest, L as HostPrepareCloseResult, M as MenuCommand, U as UpdateCheckResult, N as UpdateInstallResult, P as UpdaterStatus } from '../types-CueK0tvU.js';
|
|
3
|
+
import '../types-BEg5SQ1_.js';
|
|
4
|
+
import '../workspace-path-CWVrcuPL.js';
|
|
5
|
+
|
|
6
|
+
/** Quantitative limits shared by privileged host boundaries. */
|
|
7
|
+
declare const HOST_WIRE_LIMITS: Readonly<{
|
|
8
|
+
identifierCharacters: 256;
|
|
9
|
+
labelCharacters: 1024;
|
|
10
|
+
pathCharacters: 4096;
|
|
11
|
+
urlCharacters: 8192;
|
|
12
|
+
messageCharacters: 2000;
|
|
13
|
+
documentCharacters: number;
|
|
14
|
+
binaryBytes: number;
|
|
15
|
+
base64Characters: number;
|
|
16
|
+
arrayEntries: 10000;
|
|
17
|
+
}>;
|
|
18
|
+
declare function isBoundedString(value: unknown, maximumCharacters: number, minimumCharacters?: number): value is string;
|
|
19
|
+
declare function isBoundedBytePayload(value: unknown, maximumBytes?: number): value is ArrayBuffer | Uint8Array;
|
|
20
|
+
/** Parse one exact, bounded main-to-renderer open request. */
|
|
21
|
+
declare function parseOpenRequest(value: unknown): OpenRequest | null;
|
|
22
|
+
/** Return one canonical HTTP(S) URL, or null when external navigation is unsafe. */
|
|
23
|
+
declare function parseExternalHttpUrl(value: unknown): string | null;
|
|
24
|
+
/** True only for the packaged renderer origin or the exact configured dev origin. */
|
|
25
|
+
declare function isTrustedRendererUrl(value: unknown, developmentOrigin?: string): boolean;
|
|
26
|
+
|
|
1
27
|
/**
|
|
2
28
|
* Host bridge — shared types + runtime access for the Electron desktop
|
|
3
29
|
* host. The renderer calls `getDocBlocksHost()` to reach the preload
|
|
4
30
|
* contextBridge; `isElectronHost()` gates desktop-only UI branches.
|
|
5
31
|
*/
|
|
6
|
-
|
|
7
|
-
import type { DocBlocksHostAPI } from './types.js';
|
|
32
|
+
|
|
8
33
|
/** True when running inside the Electron desktop shell. */
|
|
9
|
-
|
|
34
|
+
declare function isElectronHost(): boolean;
|
|
10
35
|
/** Return the host API, or throw if not running under Electron. */
|
|
11
|
-
|
|
36
|
+
declare function getDocBlocksHost(): DocBlocksHostAPI;
|
|
12
37
|
/** Return the host API, or null if not running under Electron. */
|
|
13
|
-
|
|
14
|
-
|
|
38
|
+
declare function maybeGetDocBlocksHost(): DocBlocksHostAPI | null;
|
|
39
|
+
|
|
40
|
+
export { DocBlocksHostAPI, HOST_WIRE_LIMITS, OpenRequest, getDocBlocksHost, isBoundedBytePayload, isBoundedString, isElectronHost, isTrustedRendererUrl, maybeGetDocBlocksHost, parseExternalHttpUrl, parseOpenRequest };
|
package/dist/host/index.js
CHANGED
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
1
|
+
import {
|
|
2
|
+
ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
|
|
3
|
+
getDocBlocksHost,
|
|
4
|
+
isElectronHost,
|
|
5
|
+
maybeGetDocBlocksHost
|
|
6
|
+
} from "../chunk-BNKV7MTO.js";
|
|
7
|
+
import {
|
|
8
|
+
HOST_WIRE_LIMITS,
|
|
9
|
+
isBoundedBytePayload,
|
|
10
|
+
isBoundedString,
|
|
11
|
+
isTrustedRendererUrl,
|
|
12
|
+
parseExternalHttpUrl,
|
|
13
|
+
parseOpenRequest
|
|
14
|
+
} from "../chunk-FNW556FN.js";
|
|
15
|
+
export {
|
|
16
|
+
ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
|
|
17
|
+
HOST_WIRE_LIMITS,
|
|
18
|
+
getDocBlocksHost,
|
|
19
|
+
isBoundedBytePayload,
|
|
20
|
+
isBoundedString,
|
|
21
|
+
isElectronHost,
|
|
22
|
+
isTrustedRendererUrl,
|
|
23
|
+
maybeGetDocBlocksHost,
|
|
24
|
+
parseExternalHttpUrl,
|
|
25
|
+
parseOpenRequest
|
|
26
|
+
};
|
|
28
27
|
//# sourceMappingURL=index.js.map
|
package/dist/host/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
|
|
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-BEg5SQ1_.js';
|
|
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
|
+
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
|
+
export { MemoryFilePayloadKind, MemoryFileSystemProvider, MemoryFileSystemProviderV2, MemoryFileSystemSnapshot, MemoryFileSystemSnapshotFile, MemoryFileSystemV2CompatibilityFile, MemoryFileSystemV2Replacement, MemoryFileSystemV2ReplacementFile, MemoryFileSystemV2State, MemoryFileSystemV2StateFile } from './filesystem/memory.js';
|
|
5
|
+
export { IndexedDBContentContainer, IndexedDBFileSystemProvider, IndexedDBFileSystemProviderV2, IndexedDBFileSystemProviderV2Options, IndexedDBLegacyConflictReason, IndexedDBLegacyConflictResolution, IndexedDBLegacyMigrationConflict, IndexedDBLegacyOpaqueDiscardTarget, IndexedDBLegacyOpaqueRecord, IndexedDBLegacyOpaqueRecordSummary, IndexedDBLegacyOpaqueValue, IndexedDBLegacyRecoveryCandidate, IndexedDBLegacyRecoveryKind } from './filesystem/indexeddb.js';
|
|
6
|
+
export { NativeFileSystemMovePathState, NativeFileSystemMoveRecoveryError, NativeFileSystemMoveRecoveryState, NativeFileSystemProvider, NativeFileSystemProviderV2, isNativeFileSystemSupported, loadDirectoryHandle, openNativeFolder, removeDirectoryHandle, restoreNativeFolder, storeDirectoryHandle } from './filesystem/native.js';
|
|
7
|
+
export { ElectronFileSystemProvider, ElectronFileSystemProviderV2 } from './filesystem/electron.js';
|
|
8
|
+
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';
|
|
9
|
+
export { ElectronWorkspaceReconciliation, TransientOrigin, WorkspaceDescriptor, ensureDefaultWorkspace, getTransientWorkspace, getWorkspace, listWorkspaces, parsePersistedWorkspaceList, reconcileElectronWorkspaceDescriptors, registerTransientWorkspace, removeWorkspace, saveWorkspace, touchWorkspace, unregisterTransientWorkspace } from './workspace/index.js';
|
|
10
|
+
export { HOST_WIRE_LIMITS, getDocBlocksHost, isBoundedBytePayload, isBoundedString, isElectronHost, isTrustedRendererUrl, maybeGetDocBlocksHost, parseExternalHttpUrl, parseOpenRequest } from './host/index.js';
|
|
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 DocBlocksHostShellAPI, i as DocBlocksHostUpdaterAPI, j as DocBlocksHostWorkspacesAPI, E as ELECTRON_FILE_SYSTEM_V2_CAPABILITIES, k as ElectronWorkspaceInfo, l as ExternalBinaryCommitResult, G as GitBranchInfo, m as GitCapabilities, n as GitCloneHandle, o as GitCloneProgress, p as GitError, q as GitErrorCode, r as GitFileAtRevision, s as GitFileChange, t as GitFileStatusCode, u as GitLogEntry, v as GitLogOptions, w as GitRemoteInfo, x as GitRepoDetection, y as GitResult, z as GitRevision, A as GitStatus, H as HostCloseReason, B as HostEnvironment, C as HostExportTargetGrant, F as HostFileSystemV2OpenRequest, I as HostFileSystemV2Result, J as HostFileSystemV2WatchMessage, K as HostPrepareCloseRequest, L as HostPrepareCloseResult, M as MenuCommand, O as OpenRequest, U as UpdateCheckResult, N as UpdateInstallResult, P as UpdaterStatus } from './types-CueK0tvU.js';
|
|
13
|
+
import '@bendyline/squisq/storage';
|
|
14
|
+
import '@bendyline/squisq/schemas';
|