@bendyline/docblocks 2.1.0 → 2.1.2

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.
Files changed (72) hide show
  1. package/README.md +2 -2
  2. package/dist/{chunk-WJKYY5QR.js → chunk-4437YWLE.js} +5 -6
  3. package/dist/{chunk-XUML3MKV.js → chunk-45T5AFCN.js} +5 -6
  4. package/dist/{chunk-COYQXQK3.js → chunk-6L3JRDE7.js} +4 -5
  5. package/dist/{chunk-BNKV7MTO.js → chunk-6XHOOBYF.js} +0 -1
  6. package/dist/{chunk-U722UUFN.js → chunk-73OOROXH.js} +0 -1
  7. package/dist/{chunk-JS6XFWQK.js → chunk-AYWKIZLD.js} +0 -1
  8. package/dist/{chunk-VTCSF7VS.js → chunk-BVY7GGNV.js} +4 -5
  9. package/dist/{chunk-B56KWCSE.js → chunk-DOV5VRTD.js} +61 -10
  10. package/dist/{chunk-AEHCVWU5.js → chunk-DZB666V7.js} +0 -1
  11. package/dist/{chunk-GM5YXU4L.js → chunk-KQ6756AJ.js} +1 -2
  12. package/dist/{chunk-BXMF5YQJ.js → chunk-LMMOFRGQ.js} +0 -1
  13. package/dist/{chunk-FNW556FN.js → chunk-M2PUNKHS.js} +0 -1
  14. package/dist/{chunk-FA7UNOXK.js → chunk-M5ZNQGR5.js} +1 -2
  15. package/dist/{chunk-P4WATND4.js → chunk-M62ZGJ5I.js} +0 -1
  16. package/dist/{chunk-RVPGQBWR.js → chunk-OQCPBOQA.js} +0 -1
  17. package/dist/{chunk-MNSZ7EZN.js → chunk-QI6YKTQV.js} +2 -3
  18. package/dist/{chunk-P3DVZQ6S.js → chunk-SJBB5OD7.js} +2 -3
  19. package/dist/{chunk-EZKJZUNJ.js → chunk-XAMILHQP.js} +0 -1
  20. package/dist/{chunk-6IYMTYMQ.js → chunk-YM7O3PWO.js} +7 -8
  21. package/dist/{chunk-DN7A33LL.js → chunk-ZO7G53QP.js} +4 -5
  22. package/dist/document/index.js +5 -6
  23. package/dist/filesystem/electron.js +6 -7
  24. package/dist/filesystem/index.js +16 -17
  25. package/dist/filesystem/indexeddb.js +8 -9
  26. package/dist/filesystem/memory.js +5 -6
  27. package/dist/filesystem/native.js +6 -7
  28. package/dist/host/index.js +2 -3
  29. package/dist/index.js +19 -20
  30. package/dist/mcp/index.d.ts +6 -3
  31. package/dist/mcp/index.js +4 -3
  32. package/dist/mcp/zod.d.ts +1859 -648
  33. package/dist/mcp/zod.js +78 -7
  34. package/dist/share/index.js +1 -2
  35. package/dist/{types-CX893hgH.d.ts → types-B7BBB5az.d.ts} +63 -2
  36. package/dist/vscode/index.d.ts +5 -0
  37. package/dist/vscode/index.js +11 -5
  38. package/dist/workspace/index.js +3 -4
  39. package/package.json +3 -2
  40. package/dist/chunk-6IYMTYMQ.js.map +0 -1
  41. package/dist/chunk-AEHCVWU5.js.map +0 -1
  42. package/dist/chunk-B56KWCSE.js.map +0 -1
  43. package/dist/chunk-BNKV7MTO.js.map +0 -1
  44. package/dist/chunk-BXMF5YQJ.js.map +0 -1
  45. package/dist/chunk-COYQXQK3.js.map +0 -1
  46. package/dist/chunk-DN7A33LL.js.map +0 -1
  47. package/dist/chunk-EZKJZUNJ.js.map +0 -1
  48. package/dist/chunk-FA7UNOXK.js.map +0 -1
  49. package/dist/chunk-FNW556FN.js.map +0 -1
  50. package/dist/chunk-GM5YXU4L.js.map +0 -1
  51. package/dist/chunk-JS6XFWQK.js.map +0 -1
  52. package/dist/chunk-MNSZ7EZN.js.map +0 -1
  53. package/dist/chunk-P3DVZQ6S.js.map +0 -1
  54. package/dist/chunk-P4WATND4.js.map +0 -1
  55. package/dist/chunk-RVPGQBWR.js.map +0 -1
  56. package/dist/chunk-U722UUFN.js.map +0 -1
  57. package/dist/chunk-VTCSF7VS.js.map +0 -1
  58. package/dist/chunk-WJKYY5QR.js.map +0 -1
  59. package/dist/chunk-XUML3MKV.js.map +0 -1
  60. package/dist/document/index.js.map +0 -1
  61. package/dist/filesystem/electron.js.map +0 -1
  62. package/dist/filesystem/index.js.map +0 -1
  63. package/dist/filesystem/indexeddb.js.map +0 -1
  64. package/dist/filesystem/memory.js.map +0 -1
  65. package/dist/filesystem/native.js.map +0 -1
  66. package/dist/host/index.js.map +0 -1
  67. package/dist/index.js.map +0 -1
  68. package/dist/mcp/index.js.map +0 -1
  69. package/dist/mcp/zod.js.map +0 -1
  70. package/dist/share/index.js.map +0 -1
  71. package/dist/vscode/index.js.map +0 -1
  72. package/dist/workspace/index.js.map +0 -1
package/README.md CHANGED
@@ -55,8 +55,8 @@ compatibility `filesystem` barrel still re-exports every provider, but eagerly
55
55
  constructing from that barrel puts mutually exclusive backends in one startup
56
56
  bundle.
57
57
 
58
- Mutation behavior is explicit: `writeFile` requires a `create`, `replace`, or
59
- `upsert` mode; `remove` distinguishes an empty-directory removal from a
58
+ Mutation behavior is explicit: `writeFile` accepts a `create`, `replace`, or
59
+ `upsert` mode and defaults to `upsert` when omitted; `remove` distinguishes an empty-directory removal from a
60
60
  recursive tree removal; and `move` never overwrites its destination. Missing
61
61
  entries are returned as `null` only by `stat` and `readFile`. Permission,
62
62
  wrong-kind, conflict, quota, and I/O failures remain typed `FsError`s.
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  withFileCommitLock
3
- } from "./chunk-AEHCVWU5.js";
3
+ } from "./chunk-DZB666V7.js";
4
4
  import {
5
5
  parentChain
6
- } from "./chunk-GM5YXU4L.js";
6
+ } from "./chunk-KQ6756AJ.js";
7
7
  import {
8
8
  bytesEqual,
9
9
  compareSnapshotsByName,
10
10
  compareText,
11
11
  copyBytes,
12
12
  parseFileSystemVersion
13
- } from "./chunk-P4WATND4.js";
13
+ } from "./chunk-M62ZGJ5I.js";
14
14
  import {
15
15
  decodeUtf8Text
16
- } from "./chunk-FA7UNOXK.js";
16
+ } from "./chunk-M5ZNQGR5.js";
17
17
  import {
18
18
  FsError,
19
19
  WORKSPACE_ROOT,
@@ -23,7 +23,7 @@ import {
23
23
  workspacePathContains,
24
24
  workspacePathDirname,
25
25
  workspacePathJoin
26
- } from "./chunk-JS6XFWQK.js";
26
+ } from "./chunk-AYWKIZLD.js";
27
27
 
28
28
  // src/filesystem/native-provider-v2.ts
29
29
  var NativeFileSystemMoveRecoveryError = class extends FsError {
@@ -1347,4 +1347,3 @@ export {
1347
1347
  openNativeFolder,
1348
1348
  restoreNativeFolder
1349
1349
  };
1350
- //# sourceMappingURL=chunk-WJKYY5QR.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  guessMimeType
3
- } from "./chunk-6IYMTYMQ.js";
3
+ } from "./chunk-YM7O3PWO.js";
4
4
  import {
5
5
  bytesEqual,
6
6
  compareSnapshotsByName,
7
7
  compareText,
8
8
  copyBytes,
9
9
  parseFileSystemVersion
10
- } from "./chunk-P4WATND4.js";
10
+ } from "./chunk-M62ZGJ5I.js";
11
11
  import {
12
12
  FileSystemMoveRecoveryError,
13
13
  FileSystemPartialMoveError,
14
14
  describeEntryMove,
15
15
  describePartialMove
16
- } from "./chunk-MNSZ7EZN.js";
16
+ } from "./chunk-QI6YKTQV.js";
17
17
  import {
18
18
  FsError,
19
19
  WORKSPACE_ROOT,
@@ -24,10 +24,10 @@ import {
24
24
  workspacePathDirname,
25
25
  workspacePathJoin,
26
26
  workspacePathToLegacy
27
- } from "./chunk-JS6XFWQK.js";
27
+ } from "./chunk-AYWKIZLD.js";
28
28
  import {
29
29
  getFileSystemProviderV2
30
- } from "./chunk-EZKJZUNJ.js";
30
+ } from "./chunk-XAMILHQP.js";
31
31
 
32
32
  // src/filesystem/legacy-v2-adapter.ts
33
33
  var EPOCH = (/* @__PURE__ */ new Date(0)).toISOString();
@@ -942,4 +942,3 @@ export {
942
942
  FileSystemContentContainer,
943
943
  createFileMediaProvider
944
944
  };
945
- //# sourceMappingURL=chunk-XUML3MKV.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  isFileSystemMoveStateError
3
- } from "./chunk-MNSZ7EZN.js";
3
+ } from "./chunk-QI6YKTQV.js";
4
4
  import {
5
5
  decodeUtf8Text
6
- } from "./chunk-FA7UNOXK.js";
6
+ } from "./chunk-M5ZNQGR5.js";
7
7
  import {
8
8
  FsError,
9
9
  parseWorkspacePath
10
- } from "./chunk-JS6XFWQK.js";
10
+ } from "./chunk-AYWKIZLD.js";
11
11
  import {
12
12
  getFileSystemProviderV2
13
- } from "./chunk-EZKJZUNJ.js";
13
+ } from "./chunk-XAMILHQP.js";
14
14
 
15
15
  // src/document/document-session.ts
16
16
  var DEFAULT_AUTO_SAVE_RETRY_DELAYS_MS = [1e3, 3e3, 1e4];
@@ -1068,4 +1068,3 @@ export {
1068
1068
  DocumentRecoveryJournal,
1069
1069
  getDefaultDocumentRecoveryStorage
1070
1070
  };
1071
- //# sourceMappingURL=chunk-COYQXQK3.js.map
@@ -34,4 +34,3 @@ export {
34
34
  getDocBlocksHost,
35
35
  maybeGetDocBlocksHost
36
36
  };
37
- //# sourceMappingURL=chunk-BNKV7MTO.js.map
@@ -6,4 +6,3 @@ function isRecord(value) {
6
6
  export {
7
7
  isRecord
8
8
  };
9
- //# sourceMappingURL=chunk-U722UUFN.js.map
@@ -222,4 +222,3 @@ export {
222
222
  workspacePathBasename,
223
223
  workspacePathContains
224
224
  };
225
- //# sourceMappingURL=chunk-JS6XFWQK.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  ELECTRON_FILE_SYSTEM_V2_CAPABILITIES,
3
3
  maybeGetDocBlocksHost
4
- } from "./chunk-BNKV7MTO.js";
4
+ } from "./chunk-6XHOOBYF.js";
5
5
  import {
6
6
  isRecord
7
- } from "./chunk-U722UUFN.js";
7
+ } from "./chunk-73OOROXH.js";
8
8
  import {
9
9
  compareSnapshotsByPath,
10
10
  compareText,
11
11
  copyBytes,
12
12
  parseFileSystemVersion
13
- } from "./chunk-P4WATND4.js";
13
+ } from "./chunk-M62ZGJ5I.js";
14
14
  import {
15
15
  FsError,
16
16
  WORKSPACE_ROOT,
@@ -20,7 +20,7 @@ import {
20
20
  parseWorkspacePath,
21
21
  workspacePathBasename,
22
22
  workspacePathDirname
23
- } from "./chunk-JS6XFWQK.js";
23
+ } from "./chunk-AYWKIZLD.js";
24
24
 
25
25
  // src/filesystem/electron-provider-v2.ts
26
26
  var fallbackInstanceSequence = 0;
@@ -550,4 +550,3 @@ export {
550
550
  ElectronFileSystemProviderV2,
551
551
  ElectronFileSystemProvider
552
552
  };
553
- //# sourceMappingURL=chunk-VTCSF7VS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tryParseWorkspacePath
3
- } from "./chunk-JS6XFWQK.js";
3
+ } from "./chunk-AYWKIZLD.js";
4
4
 
5
5
  // src/mcp/types.ts
6
6
  var DOCBLOCKS_MCP_WIRE_VERSION = 1;
@@ -9,11 +9,13 @@ var DOCBLOCKS_MCP_TOOL_NAMES = [
9
9
  "get_conversion_report",
10
10
  "convert_document",
11
11
  "create_document_bundle",
12
+ "revise_document",
12
13
  "save_artifact",
13
14
  "inspect_document",
14
15
  "validate_document",
15
16
  "preview_document",
16
17
  "compare_documents",
18
+ "get_authoring_context",
17
19
  "list_templates",
18
20
  "describe_template",
19
21
  "recommend_templates",
@@ -37,6 +39,8 @@ var MCP_WIRE_LIMITS = Object.freeze({
37
39
  messageCharacters: 4e3,
38
40
  excerptCharacters: 4096,
39
41
  documentCharacters: 20 * 1024 * 1024,
42
+ revisionFragmentCharacters: 1024 * 1024,
43
+ revisionEdits: 64,
40
44
  artifactBytes: 500 * 1024 * 1024,
41
45
  bundleAssets: 256,
42
46
  arrayEntries: 1e4,
@@ -105,16 +109,22 @@ function parseDocumentSource(value) {
105
109
  if (!isRecord(value) || typeof value.kind !== "string") return null;
106
110
  switch (value.kind) {
107
111
  case "markdown": {
108
- if (!hasExactKeys(value, ["kind", "markdown", "name"])) return null;
109
- const { markdown, name } = value;
112
+ if (!hasExactKeys(value, ["kind", "markdown"]) && !hasExactKeys(value, ["kind", "markdown", "name"])) {
113
+ return null;
114
+ }
115
+ const { markdown } = value;
116
+ const name = Object.prototype.hasOwnProperty.call(value, "name") ? value.name : null;
110
117
  if (!isBoundedString(markdown, MCP_WIRE_LIMITS.documentCharacters) || !isNullableBoundedString(name, MCP_WIRE_LIMITS.labelCharacters)) {
111
118
  return null;
112
119
  }
113
120
  return { kind: "markdown", markdown, name };
114
121
  }
115
122
  case "file": {
116
- if (!hasExactKeys(value, ["kind", "rootId", "path", "format"])) return null;
117
- const { rootId, path, format } = value;
123
+ if (!hasExactKeys(value, ["kind", "rootId", "path"]) && !hasExactKeys(value, ["kind", "rootId", "path", "format"])) {
124
+ return null;
125
+ }
126
+ const { rootId, path } = value;
127
+ const format = Object.prototype.hasOwnProperty.call(value, "format") ? value.format : null;
118
128
  const parsedPath = parseNonRootWorkspacePath(path);
119
129
  if (!isIdentifier(rootId) || parsedPath === null || !(format === null || isFormat(format))) {
120
130
  return null;
@@ -126,8 +136,11 @@ function parseDocumentSource(value) {
126
136
  return { kind: "artifact", uri: value.uri };
127
137
  }
128
138
  case "bundle": {
129
- if (!hasExactKeys(value, ["kind", "markdown", "assets", "name"])) return null;
130
- const { markdown, name } = value;
139
+ if (!hasExactKeys(value, ["kind", "markdown", "assets"]) && !hasExactKeys(value, ["kind", "markdown", "assets", "name"])) {
140
+ return null;
141
+ }
142
+ const { markdown } = value;
143
+ const name = Object.prototype.hasOwnProperty.call(value, "name") ? value.name : null;
131
144
  if (!isBoundedString(markdown, MCP_WIRE_LIMITS.documentCharacters) || !isNullableBoundedString(name, MCP_WIRE_LIMITS.labelCharacters)) {
132
145
  return null;
133
146
  }
@@ -240,6 +253,33 @@ function parseConversionResult(value) {
240
253
  diagnostics
241
254
  };
242
255
  }
256
+ function parseDocumentRevisionResult(value) {
257
+ if (!isRecord(value) || !hasExactKeys(value, [
258
+ "version",
259
+ "kind",
260
+ "parentArtifact",
261
+ "artifact",
262
+ "edits",
263
+ "diagnostics"
264
+ ]) || value.version !== DOCBLOCKS_MCP_WIRE_VERSION || value.kind !== "revision") {
265
+ return null;
266
+ }
267
+ const parentArtifact = parseArtifactRef(value.parentArtifact);
268
+ const artifact = parseArtifactRef(value.artifact);
269
+ const edits = parseArray(value.edits, parseAppliedBlockRevision, MCP_WIRE_LIMITS.revisionEdits);
270
+ const diagnostics = parseArray(value.diagnostics, parseMcpDiagnostic);
271
+ if (parentArtifact === null || artifact === null || edits === null || diagnostics === null || edits.length < 1 || new Set(edits.map((edit) => edit.blockId)).size !== edits.length || parentArtifact.uri === artifact.uri || parentArtifact.format !== "dbk" || artifact.format !== "dbk" || artifact.sourceFormat !== "dbk" || artifact.sourceSha256 === null) {
272
+ return null;
273
+ }
274
+ return {
275
+ version: DOCBLOCKS_MCP_WIRE_VERSION,
276
+ kind: "revision",
277
+ parentArtifact,
278
+ artifact,
279
+ edits,
280
+ diagnostics
281
+ };
282
+ }
243
283
  function parseInspectionResult(value) {
244
284
  if (!isRecord(value) || !hasExactKeys(value, [
245
285
  "version",
@@ -390,12 +430,12 @@ function parseComparisonResult(value) {
390
430
  };
391
431
  }
392
432
  function parseMaterializationOptions(value) {
393
- if (!isRecord(value) || !hasExactKeys(value, ["rootId", "path", "ifExists", "expectedSha256"]) || !isIdentifier(value.rootId)) {
433
+ if (!isRecord(value) || !hasExactKeys(value, ["rootId", "path", "ifExists"]) && !hasExactKeys(value, ["rootId", "path", "ifExists", "expectedSha256"]) || !isIdentifier(value.rootId)) {
394
434
  return null;
395
435
  }
396
436
  const path = parseNonRootWorkspacePath(value.path);
397
437
  if (path === null) return null;
398
- if (value.ifExists === "error" && value.expectedSha256 === null) {
438
+ if (value.ifExists === "error" && (value.expectedSha256 === null || !Object.prototype.hasOwnProperty.call(value, "expectedSha256"))) {
399
439
  return { rootId: value.rootId, path, ifExists: "error", expectedSha256: null };
400
440
  }
401
441
  if (value.ifExists === "replace" && isSha256(value.expectedSha256)) {
@@ -470,6 +510,17 @@ function parseEngineVersion(value) {
470
510
  }
471
511
  return { name: value.name, version: value.version };
472
512
  }
513
+ function parseAppliedBlockRevision(value) {
514
+ if (!isRecord(value) || !hasExactKeys(value, ["kind", "blockId", "beforeSha256", "afterSha256"]) || value.kind !== "replace_block" || !isIdentifier(value.blockId) || !isSha256(value.beforeSha256) || !isSha256(value.afterSha256)) {
515
+ return null;
516
+ }
517
+ return {
518
+ kind: "replace_block",
519
+ blockId: value.blockId,
520
+ beforeSha256: value.beforeSha256,
521
+ afterSha256: value.afterSha256
522
+ };
523
+ }
473
524
  function parseDocumentMetadata(value) {
474
525
  if (!isRecord(value) || !hasExactKeys(value, ["title", "author", "description"]) || !isNullableBoundedString(value.title, MCP_WIRE_LIMITS.labelCharacters) || !isNullableBoundedString(value.author, MCP_WIRE_LIMITS.labelCharacters) || !isNullableBoundedString(value.description, MCP_WIRE_LIMITS.messageCharacters)) {
475
526
  return null;
@@ -793,10 +844,10 @@ export {
793
844
  parseMcpDiagnostic,
794
845
  parseMcpErrorResult,
795
846
  parseConversionResult,
847
+ parseDocumentRevisionResult,
796
848
  parseInspectionResult,
797
849
  parseValidationResult,
798
850
  parsePreviewResult,
799
851
  parseComparisonResult,
800
852
  parseMaterializationOptions
801
853
  };
802
- //# sourceMappingURL=chunk-B56KWCSE.js.map
@@ -22,4 +22,3 @@ async function withFileCommitLock(key, operation) {
22
22
  export {
23
23
  withFileCommitLock
24
24
  };
25
- //# sourceMappingURL=chunk-AEHCVWU5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  workspacePathDirname
3
- } from "./chunk-JS6XFWQK.js";
3
+ } from "./chunk-AYWKIZLD.js";
4
4
 
5
5
  // src/filesystem/internal/parent-chain.ts
6
6
  function parentChain(path) {
@@ -26,4 +26,3 @@ export {
26
26
  parentChain,
27
27
  parentChainWithRoot
28
28
  };
29
- //# sourceMappingURL=chunk-GM5YXU4L.js.map
@@ -146,4 +146,3 @@ export {
146
146
  createSharedDocumentUrl,
147
147
  parseSharedDocumentHash
148
148
  };
149
- //# sourceMappingURL=chunk-BXMF5YQJ.js.map
@@ -72,4 +72,3 @@ export {
72
72
  parseExternalHttpUrl,
73
73
  isTrustedRendererUrl
74
74
  };
75
- //# sourceMappingURL=chunk-FNW556FN.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  FsError
3
- } from "./chunk-JS6XFWQK.js";
3
+ } from "./chunk-AYWKIZLD.js";
4
4
 
5
5
  // src/filesystem/utf8.ts
6
6
  function decodeUtf8Text(data, options = {}) {
@@ -17,4 +17,3 @@ function decodeUtf8Text(data, options = {}) {
17
17
  export {
18
18
  decodeUtf8Text
19
19
  };
20
- //# sourceMappingURL=chunk-FA7UNOXK.js.map
@@ -49,4 +49,3 @@ export {
49
49
  compareSnapshotsByName,
50
50
  compareSnapshotsByPath
51
51
  };
52
- //# sourceMappingURL=chunk-P4WATND4.js.map
@@ -166,4 +166,3 @@ export {
166
166
  deleteIndexedDBWorkspaceData,
167
167
  RawIndexedDBFileSystemStore
168
168
  };
169
- //# sourceMappingURL=chunk-RVPGQBWR.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  parseWorkspacePath
3
- } from "./chunk-JS6XFWQK.js";
3
+ } from "./chunk-AYWKIZLD.js";
4
4
  import {
5
5
  getFileSystemProviderV2
6
- } from "./chunk-EZKJZUNJ.js";
6
+ } from "./chunk-XAMILHQP.js";
7
7
 
8
8
  // src/filesystem/move-error.ts
9
9
  function locationFromPresence(source, destination) {
@@ -108,4 +108,3 @@ export {
108
108
  describePartialMove,
109
109
  describeEntryMove
110
110
  };
111
- //# sourceMappingURL=chunk-MNSZ7EZN.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  RawIndexedDBFileSystemStore
3
- } from "./chunk-RVPGQBWR.js";
3
+ } from "./chunk-OQCPBOQA.js";
4
4
  import {
5
5
  getFileSystemProviderV2
6
- } from "./chunk-EZKJZUNJ.js";
6
+ } from "./chunk-XAMILHQP.js";
7
7
 
8
8
  // src/workspace/workspace-schema.ts
9
9
  var MAX_IDENTIFIER_CHARACTERS = 256;
@@ -225,4 +225,3 @@ export {
225
225
  ensureDefaultWorkspace,
226
226
  reconcileElectronWorkspaceDescriptors
227
227
  };
228
- //# sourceMappingURL=chunk-P3DVZQ6S.js.map
@@ -10,4 +10,3 @@ export {
10
10
  hasFileSystemProviderV2,
11
11
  getFileSystemProviderV2
12
12
  };
13
- //# sourceMappingURL=chunk-EZKJZUNJ.js.map
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  withFileCommitLock
3
- } from "./chunk-AEHCVWU5.js";
3
+ } from "./chunk-DZB666V7.js";
4
4
  import {
5
5
  parentChainWithRoot
6
- } from "./chunk-GM5YXU4L.js";
6
+ } from "./chunk-KQ6756AJ.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-U722UUFN.js";
9
+ } from "./chunk-73OOROXH.js";
10
10
  import {
11
11
  bytesEqual,
12
12
  compareSnapshotsByName,
13
13
  compareText,
14
14
  copyBytes,
15
15
  parseFileSystemVersion
16
- } from "./chunk-P4WATND4.js";
16
+ } from "./chunk-M62ZGJ5I.js";
17
17
  import {
18
18
  decodeUtf8Text
19
- } from "./chunk-FA7UNOXK.js";
19
+ } from "./chunk-M5ZNQGR5.js";
20
20
  import {
21
21
  FsError,
22
22
  WORKSPACE_ROOT,
@@ -25,11 +25,11 @@ import {
25
25
  workspacePathBasename,
26
26
  workspacePathContains,
27
27
  workspacePathDirname
28
- } from "./chunk-JS6XFWQK.js";
28
+ } from "./chunk-AYWKIZLD.js";
29
29
  import {
30
30
  RawIndexedDBFileSystemStore,
31
31
  indexedDBWorkspaceDatabaseName
32
- } from "./chunk-RVPGQBWR.js";
32
+ } from "./chunk-OQCPBOQA.js";
33
33
 
34
34
  // src/filesystem/indexeddb-provider-v2.ts
35
35
  var ENTRY_SCHEMA_VERSION = 1;
@@ -1689,4 +1689,3 @@ export {
1689
1689
  guessMimeType,
1690
1690
  IndexedDBContentContainer
1691
1691
  };
1692
- //# sourceMappingURL=chunk-6IYMTYMQ.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  parentChainWithRoot
3
- } from "./chunk-GM5YXU4L.js";
3
+ } from "./chunk-KQ6756AJ.js";
4
4
  import {
5
5
  compareSnapshotsByName,
6
6
  compareText,
7
7
  copyBytes,
8
8
  parseFileSystemVersion
9
- } from "./chunk-P4WATND4.js";
9
+ } from "./chunk-M62ZGJ5I.js";
10
10
  import {
11
11
  decodeUtf8Text
12
- } from "./chunk-FA7UNOXK.js";
12
+ } from "./chunk-M5ZNQGR5.js";
13
13
  import {
14
14
  FsError,
15
15
  WORKSPACE_ROOT,
@@ -17,7 +17,7 @@ import {
17
17
  workspacePathBasename,
18
18
  workspacePathContains,
19
19
  workspacePathDirname
20
- } from "./chunk-JS6XFWQK.js";
20
+ } from "./chunk-AYWKIZLD.js";
21
21
 
22
22
  // src/filesystem/memory-provider-v2.ts
23
23
  var MEMORY_CAPABILITIES = Object.freeze({
@@ -777,4 +777,3 @@ export {
777
777
  MemoryFileSystemProviderV2,
778
778
  MemoryFileSystemProvider
779
779
  };
780
- //# sourceMappingURL=chunk-DN7A33LL.js.map
@@ -7,11 +7,11 @@ import {
7
7
  DocumentSessionConflictError,
8
8
  createFileSystemDocumentTarget,
9
9
  getDefaultDocumentRecoveryStorage
10
- } from "../chunk-COYQXQK3.js";
11
- import "../chunk-MNSZ7EZN.js";
12
- import "../chunk-FA7UNOXK.js";
13
- import "../chunk-JS6XFWQK.js";
14
- import "../chunk-EZKJZUNJ.js";
10
+ } from "../chunk-6L3JRDE7.js";
11
+ import "../chunk-QI6YKTQV.js";
12
+ import "../chunk-M5ZNQGR5.js";
13
+ import "../chunk-AYWKIZLD.js";
14
+ import "../chunk-XAMILHQP.js";
15
15
  export {
16
16
  DOCUMENT_RECOVERY_JOURNAL_SCHEMA_VERSION,
17
17
  DOCUMENT_RECOVERY_JOURNAL_STORAGE_KEY,
@@ -22,4 +22,3 @@ export {
22
22
  createFileSystemDocumentTarget,
23
23
  getDefaultDocumentRecoveryStorage
24
24
  };
25
- //# sourceMappingURL=index.js.map
@@ -1,17 +1,16 @@
1
1
  import {
2
2
  ElectronFileSystemProvider,
3
3
  ElectronFileSystemProviderV2
4
- } from "../chunk-VTCSF7VS.js";
4
+ } from "../chunk-BVY7GGNV.js";
5
5
  import {
6
6
  isElectronHost
7
- } from "../chunk-BNKV7MTO.js";
8
- import "../chunk-FNW556FN.js";
9
- import "../chunk-U722UUFN.js";
10
- import "../chunk-P4WATND4.js";
11
- import "../chunk-JS6XFWQK.js";
7
+ } from "../chunk-6XHOOBYF.js";
8
+ import "../chunk-M2PUNKHS.js";
9
+ import "../chunk-73OOROXH.js";
10
+ import "../chunk-M62ZGJ5I.js";
11
+ import "../chunk-AYWKIZLD.js";
12
12
  export {
13
13
  ElectronFileSystemProvider,
14
14
  ElectronFileSystemProviderV2,
15
15
  isElectronHost
16
16
  };
17
- //# sourceMappingURL=electron.js.map
@@ -6,16 +6,16 @@ import {
6
6
  documentCompanionPath,
7
7
  moveFileSystemEntry,
8
8
  replaceMemoryWorkspaceFromDbk
9
- } from "../chunk-XUML3MKV.js";
9
+ } from "../chunk-45T5AFCN.js";
10
10
  import {
11
11
  IndexedDBContentContainer,
12
12
  IndexedDBFileSystemProvider,
13
13
  IndexedDBFileSystemProviderV2
14
- } from "../chunk-6IYMTYMQ.js";
14
+ } from "../chunk-YM7O3PWO.js";
15
15
  import {
16
16
  MemoryFileSystemProvider,
17
17
  MemoryFileSystemProviderV2
18
- } from "../chunk-DN7A33LL.js";
18
+ } from "../chunk-ZO7G53QP.js";
19
19
  import {
20
20
  NativeFileSystemMoveRecoveryError,
21
21
  NativeFileSystemProvider,
@@ -26,22 +26,22 @@ import {
26
26
  removeDirectoryHandle,
27
27
  restoreNativeFolder,
28
28
  storeDirectoryHandle
29
- } from "../chunk-WJKYY5QR.js";
30
- import "../chunk-AEHCVWU5.js";
31
- import "../chunk-GM5YXU4L.js";
29
+ } from "../chunk-4437YWLE.js";
30
+ import "../chunk-DZB666V7.js";
31
+ import "../chunk-KQ6756AJ.js";
32
32
  import {
33
33
  ElectronFileSystemProvider,
34
34
  ElectronFileSystemProviderV2
35
- } from "../chunk-VTCSF7VS.js";
35
+ } from "../chunk-BVY7GGNV.js";
36
36
  import {
37
37
  isElectronHost
38
- } from "../chunk-BNKV7MTO.js";
39
- import "../chunk-FNW556FN.js";
40
- import "../chunk-U722UUFN.js";
38
+ } from "../chunk-6XHOOBYF.js";
39
+ import "../chunk-M2PUNKHS.js";
40
+ import "../chunk-73OOROXH.js";
41
41
  import {
42
42
  parseFileSystemVersion,
43
43
  tryParseFileSystemVersion
44
- } from "../chunk-P4WATND4.js";
44
+ } from "../chunk-M62ZGJ5I.js";
45
45
  import {
46
46
  FileSystemMoveRecoveryError,
47
47
  FileSystemPartialMoveError,
@@ -50,10 +50,10 @@ import {
50
50
  isFileSystemMoveRecoveryError,
51
51
  isFileSystemMoveStateError,
52
52
  isFileSystemPartialMoveError
53
- } from "../chunk-MNSZ7EZN.js";
53
+ } from "../chunk-QI6YKTQV.js";
54
54
  import {
55
55
  decodeUtf8Text
56
- } from "../chunk-FA7UNOXK.js";
56
+ } from "../chunk-M5ZNQGR5.js";
57
57
  import {
58
58
  FsError,
59
59
  WORKSPACE_ROOT,
@@ -71,12 +71,12 @@ import {
71
71
  workspacePathDirname,
72
72
  workspacePathJoin,
73
73
  workspacePathToLegacy
74
- } from "../chunk-JS6XFWQK.js";
75
- import "../chunk-RVPGQBWR.js";
74
+ } from "../chunk-AYWKIZLD.js";
75
+ import "../chunk-OQCPBOQA.js";
76
76
  import {
77
77
  getFileSystemProviderV2,
78
78
  hasFileSystemProviderV2
79
- } from "../chunk-EZKJZUNJ.js";
79
+ } from "../chunk-XAMILHQP.js";
80
80
  export {
81
81
  ElectronFileSystemProvider,
82
82
  ElectronFileSystemProviderV2,
@@ -131,4 +131,3 @@ export {
131
131
  workspacePathJoin,
132
132
  workspacePathToLegacy
133
133
  };
134
- //# sourceMappingURL=index.js.map
@@ -2,17 +2,17 @@ import {
2
2
  IndexedDBContentContainer,
3
3
  IndexedDBFileSystemProvider,
4
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";
5
+ } from "../chunk-YM7O3PWO.js";
6
+ import "../chunk-DZB666V7.js";
7
+ import "../chunk-KQ6756AJ.js";
8
+ import "../chunk-73OOROXH.js";
9
+ import "../chunk-M62ZGJ5I.js";
10
+ import "../chunk-M5ZNQGR5.js";
11
+ import "../chunk-AYWKIZLD.js";
12
12
  import {
13
13
  deleteIndexedDBWorkspaceData,
14
14
  indexedDBWorkspaceDatabaseName
15
- } from "../chunk-RVPGQBWR.js";
15
+ } from "../chunk-OQCPBOQA.js";
16
16
  export {
17
17
  IndexedDBContentContainer,
18
18
  IndexedDBFileSystemProvider,
@@ -20,4 +20,3 @@ export {
20
20
  deleteIndexedDBWorkspaceData,
21
21
  indexedDBWorkspaceDatabaseName
22
22
  };
23
- //# sourceMappingURL=indexeddb.js.map