@vite-hub/workspace 0.5.0 → 0.6.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.
Files changed (112) hide show
  1. package/dist/{abort-BCwpdrN0.js → abort-CQGxJBqa.js} +1 -2
  2. package/dist/{asset-registry-DfBV5kmw.js → asset-registry-0CdRAjIV.js} +2 -3
  3. package/dist/blob-database/postgres.d.ts +2 -3
  4. package/dist/blob-database/postgres.js +1 -2
  5. package/dist/{blob-database-sources-DDZ1wV9w.js → blob-database-sources-CQPAyCz3.js} +1 -2
  6. package/dist/blob-database.d.ts +2 -8
  7. package/dist/blob-database.js +12 -15
  8. package/dist/checkout.d.ts +1 -2
  9. package/dist/checkout.js +3 -4
  10. package/dist/cloudflare.d.ts +1 -5
  11. package/dist/cloudflare.js +1 -2
  12. package/dist/{config-B-863EgC.js → config-CsgNNVAI.js} +1 -2
  13. package/dist/{config-hxABr_Gg.d.ts → config-DeA287c0.d.ts} +1 -5
  14. package/dist/{config-DiyPi3Ff.js → config-jo5QgE1w.js} +18 -27
  15. package/dist/{discard-CNNtCozM.js → discard-BkoLmmmN.js} +1 -2
  16. package/dist/durability.d.ts +2 -5
  17. package/dist/durability.js +4 -5
  18. package/dist/{error-diagnostics-Cth97txN.js → error-diagnostics-B4me-ouV.js} +1 -2
  19. package/dist/{error-diagnostics-C0KyI408.js → error-diagnostics-kKXseq8d.js} +5 -2
  20. package/dist/{errors-DXCZjdUU.d.ts → errors-CnFDXxeJ.d.ts} +0 -2
  21. package/dist/{file-C1DYoGz3.js → file-BrNAXQgY.js} +4 -8
  22. package/dist/{file-metadata-Dv2JZwal.js → file-metadata-Bpsvjw_X.js} +2 -3
  23. package/dist/{files-iHyik8jj.js → files--z2dLC5z.js} +3 -4
  24. package/dist/files.d.ts +6 -10
  25. package/dist/files.js +6 -6
  26. package/dist/{github-CFHl6RI0.js → github-k--_LCrX.js} +7 -9
  27. package/dist/{glob-BitxqDhb.js → glob-BEutagp1.js} +3 -4
  28. package/dist/{glob-Buxfvmyy.js → glob-BreFjNAV.js} +3 -4
  29. package/dist/{history-schema-BBWbpDk4.d.ts → history-schema-BR4UDPHL.d.ts} +0 -2
  30. package/dist/{history-schema-postgres-U_ueRvmO.js → history-schema-postgres-DZepCSBq.js} +0 -1
  31. package/dist/{host-Dmr2Ctem.js → host-C8yZizfk.js} +11 -14
  32. package/dist/{hosted-BktlvkF2.js → hosted-8BTKAtMX.js} +15 -18
  33. package/dist/{hosted-vercel-blob-D0IPAjb1.js → hosted-vercel-blob-B6kygYqn.js} +10 -12
  34. package/dist/hosted-vercel-blob.d.ts +1 -3
  35. package/dist/hosted-vercel-blob.js +1 -2
  36. package/dist/hosted.d.ts +1 -3
  37. package/dist/hosted.js +1 -2
  38. package/dist/index.d.ts +7 -25
  39. package/dist/index.js +18 -22
  40. package/dist/internal/path.d.ts +1 -1
  41. package/dist/internal/path.js +1 -2
  42. package/dist/internal/workspace.d.ts +1 -5
  43. package/dist/internal/workspace.js +2 -3
  44. package/dist/{lifecycle-D6WN2dd_.js → lifecycle-IReZfi0b.js} +9 -10
  45. package/dist/lineage.d.ts +1 -3
  46. package/dist/lineage.js +1 -2
  47. package/dist/loader.d.ts +1 -7
  48. package/dist/loader.js +4 -6
  49. package/dist/{mcp-resources-TtxLNSL6.js → mcp-resources-DeJnbOaw.js} +4 -5
  50. package/dist/{memory-DjzwSng2.js → memory-BlSRrBH1.js} +7 -9
  51. package/dist/{metadata-target-CR0aDtvS.js → metadata-target-CaGLY4ay.js} +15 -23
  52. package/dist/{object-Da1zyPCR.js → object-CAK6UYR5.js} +1 -2
  53. package/dist/{operation-definition-CI2PJGqu.d.ts → operation-definition-CqZkx1Rm.d.ts} +0 -4
  54. package/dist/{operations-Cib30_dt.js → operations-BIaK_uYG.js} +7 -8
  55. package/dist/{operations-dtcU5LkD.js → operations-DS1C4uXd.js} +22 -29
  56. package/dist/operations.d.ts +2 -6
  57. package/dist/operations.js +2 -2
  58. package/dist/{path-BlIBpI7U.js → path-Bb9OIc_F.js} +2 -3
  59. package/dist/{path-zHxQUbqa.d.ts → path-C0uZxDdW.d.ts} +0 -2
  60. package/dist/{path-DrSIenjj.js → path-CuYE8-X6.js} +2 -4
  61. package/dist/{plugins-DKCBrH31.d.ts → plugins-CLc32jvL.d.ts} +1 -3
  62. package/dist/{provider-Fc3M6bEx.js → provider-CN14ewvx.js} +15 -20
  63. package/dist/providers/github/store.d.ts +2 -4
  64. package/dist/providers/github/store.js +1 -2
  65. package/dist/{registry-DpB5PBA4.d.ts → registry-B0g19sdy.d.ts} +1 -5
  66. package/dist/{registry-CedQvQxW.js → registry-BbUg9vJB.js} +4 -5
  67. package/dist/{registry-CLL0TY0L.d.ts → registry-s2Ob9PeX.d.ts} +2 -4
  68. package/dist/{request-scope-Bcv2kD8h.js → request-scope-CXCI_wCb.js} +2 -3
  69. package/dist/{results-DgkZUmTL.js → results-z-HpV9EP.js} +1 -2
  70. package/dist/{rolldown-runtime-rQ84J-ij.js → rolldown-runtime-DnNXxpGL.js} +2 -3
  71. package/dist/{rule-keys-Bsz6jTTF.js → rule-keys-BLEbi1h5.js} +2 -3
  72. package/dist/{rules-OHaPFopX.js → rules-BPDXypZV.js} +6 -8
  73. package/dist/runtime/assets.d.ts +2 -3
  74. package/dist/runtime/assets.js +5 -6
  75. package/dist/runtime/empty-assets-registry.d.ts +1 -3
  76. package/dist/runtime/empty-assets-registry.js +1 -2
  77. package/dist/runtime/empty-registry.d.ts +2 -4
  78. package/dist/runtime/empty-registry.js +1 -2
  79. package/dist/runtime/registry.d.ts +1 -1
  80. package/dist/runtime/registry.js +2 -3
  81. package/dist/runtime/request.d.ts +1 -3
  82. package/dist/runtime/request.js +2 -3
  83. package/dist/runtime/state.d.ts +5 -5
  84. package/dist/runtime/state.js +9 -10
  85. package/dist/runtime/workspace.d.ts +1 -1
  86. package/dist/runtime/workspace.js +1 -2
  87. package/dist/runtime.d.ts +8 -24
  88. package/dist/runtime.js +21 -24
  89. package/dist/{search-BqNV9LnO.js → search-C_nVorq7.js} +3 -4
  90. package/dist/{server-CFtrOPk6.js → server-aa1a4rkV.js} +8 -10
  91. package/dist/server.d.ts +3 -4
  92. package/dist/server.js +1 -2
  93. package/dist/{shared-BgDjxY3J.js → shared-C20Wh1mp.js} +12 -19
  94. package/dist/source-metadata.d.ts +2 -6
  95. package/dist/source-metadata.js +4 -5
  96. package/dist/{state-DBV6VHS6.d.ts → state-BdDfBtOR.d.ts} +5 -15
  97. package/dist/{store-BRMdD8Ft.js → store-cx3OqNTi.js} +11 -14
  98. package/dist/{sync-BezGVzrW.js → sync-BBfR4g5y.js} +6 -7
  99. package/dist/test.d.ts +1 -1
  100. package/dist/test.js +1 -2
  101. package/dist/{types-9DMtFjaa.d.ts → types-Bel5IDmF.d.ts} +0 -2
  102. package/dist/{use-Dv973swc.d.ts → use-CpphIBof.d.ts} +1 -5
  103. package/dist/{use-Dm2tbI5F.js → use-D0DyTMxM.js} +12 -14
  104. package/dist/{use-tools-CMUthOdy.d.ts → use-tools-CAK10LTc.d.ts} +2 -4
  105. package/dist/{use-tools-C1qvhzme.js → use-tools-CHduR5k6.js} +7 -10
  106. package/dist/{utils-C0Au2R16.js → utils-DXP9xfXo.js} +7 -9
  107. package/dist/vite.d.ts +3 -21
  108. package/dist/vite.js +574 -409
  109. package/dist/{vitehub-grants-C8IAl5-M.js → vitehub-grants-Co713QTg.js} +2 -4
  110. package/dist/{workspace-Cw4ycIW-.d.ts → workspace-BOuxrZrP.d.ts} +1 -3
  111. package/dist/{workspace-CFrwWhEm.js → workspace-CLuPkyZR.js} +26 -35
  112. package/package.json +24 -24
@@ -1,7 +1,7 @@
1
- import { n as __exportAll } from "./rolldown-runtime-rQ84J-ij.js";
2
- import { d as withWorkspaceRuntimeOptions, u as ownSourceOption } from "./config-DiyPi3Ff.js";
1
+ import { n as __exportAll } from "./rolldown-runtime-DnNXxpGL.js";
2
+ import { d as withWorkspaceRuntimeOptions, u as ownSourceOption } from "./config-jo5QgE1w.js";
3
3
  import * as source from "@vite-hub/source";
4
- //#region src/sources/glob.ts
4
+ // src/sources/glob.ts
5
5
  var glob_exports = /* @__PURE__ */ __exportAll({ glob: () => glob });
6
6
  function glob(options) {
7
7
  const fileSource = source.glob({
@@ -17,5 +17,4 @@ function isLazySource(options) {
17
17
  const mountMaterialize = typeof mount === "object" ? ownSourceOption(mount, "materialize") : void 0;
18
18
  return mountMaterialize === "lazy" || mountMaterialize === "startup";
19
19
  }
20
- //#endregion
21
20
  export { glob_exports as n, glob as t };
@@ -1,7 +1,7 @@
1
- import { t as normalizeSafeWorkspacePath } from "./path-DrSIenjj.js";
2
- import { l as normalizeWorkspacePath } from "./path-BlIBpI7U.js";
1
+ import { t as normalizeSafeWorkspacePath } from "./path-CuYE8-X6.js";
2
+ import { l as normalizeWorkspacePath } from "./path-Bb9OIc_F.js";
3
3
  import { Minimatch } from "minimatch";
4
- //#region src/core/glob.ts
4
+ // src/core/glob.ts
5
5
  function createWorkspaceGlobMatcher(pattern, options = {}) {
6
6
  const requestedCwd = options.cwd === "." ? "" : options.cwd;
7
7
  let cwd;
@@ -26,5 +26,4 @@ function createWorkspaceGlobMatcher(pattern, options = {}) {
26
26
  }
27
27
  };
28
28
  }
29
- //#endregion
30
29
  export { createWorkspaceGlobMatcher as t };
@@ -1,4 +1,3 @@
1
- //#region src/storage/history-schema.d.ts
2
1
  interface HistoryManifestFile {
3
2
  digest: string;
4
3
  size: number;
@@ -432,5 +431,4 @@ declare const workspaceHistorySchema: {
432
431
  isAlias: false;
433
432
  }>;
434
433
  };
435
- //#endregion
436
434
  export { workspaceHistorySchema as n, HistoryManifestFile as t };
@@ -37,5 +37,4 @@ const workspaceHistorySchema = {
37
37
  value: json("value").$type().notNull()
38
38
  }, (table) => [primaryKey({ columns: [table.workspace, table.key] })])
39
39
  };
40
- //#endregion
41
40
  export { workspaceHistorySchema as t };
@@ -1,14 +1,14 @@
1
- import { n as __exportAll } from "./rolldown-runtime-rQ84J-ij.js";
2
- import { a as workspaceConflict, s as workspaceError, t as normalizeSafeWorkspacePath } from "./path-DrSIenjj.js";
3
- import { a as isExcludedWorkspacePath, d as sha256, i as decodeFile, l as normalizeWorkspacePath, r as contentToBytes, s as matchesAny } from "./path-BlIBpI7U.js";
4
- import { t as workspaceErrorDiagnostics } from "./error-diagnostics-Cth97txN.js";
5
- import { n as createSnapshotFromEntries, r as diffSnapshots } from "./utils-C0Au2R16.js";
6
- import { r as resolveWorkspaceRevisionMaterializer } from "./vitehub-grants-C8IAl5-M.js";
7
- import { C as isMissingWorkspacePathError, S as filterSessionEntries, b as assertPathInSessionScope, w as scopedSearchQuery, x as filterSessionDiff, y as assertDiffInsideSessionPaths } from "./workspace-CFrwWhEm.js";
1
+ import { n as __exportAll } from "./rolldown-runtime-DnNXxpGL.js";
2
+ import { a as workspaceConflict, s as workspaceError, t as normalizeSafeWorkspacePath } from "./path-CuYE8-X6.js";
3
+ import { a as isExcludedWorkspacePath, d as sha256, i as decodeFile, l as normalizeWorkspacePath, r as contentToBytes, s as matchesAny } from "./path-Bb9OIc_F.js";
4
+ import { n as createSnapshotFromEntries, r as diffSnapshots } from "./utils-DXP9xfXo.js";
5
+ import { C as isMissingWorkspacePathError, S as filterSessionEntries, b as assertPathInSessionScope, w as scopedSearchQuery, x as filterSessionDiff, y as assertDiffInsideSessionPaths } from "./workspace-CLuPkyZR.js";
6
+ import { r as resolveWorkspaceRevisionMaterializer } from "./vitehub-grants-Co713QTg.js";
7
+ import { t as workspaceErrorDiagnostics } from "./error-diagnostics-B4me-ouV.js";
8
8
  import { normalizeExecutionAuthority } from "@vite-hub/runtime";
9
9
  import { posix } from "node:path";
10
10
  import { randomUUID } from "node:crypto";
11
- //#region src/session/progress.ts
11
+ // src/session/progress.ts
12
12
  async function withWorkspaceProgress(onProgress, event, fn) {
13
13
  const startedAt = Date.now();
14
14
  await onProgress?.({
@@ -43,8 +43,7 @@ async function withWorkspaceProgress(onProgress, event, fn) {
43
43
  throw error;
44
44
  }
45
45
  }
46
- //#endregion
47
- //#region src/session/tar.ts
46
+ // src/session/tar.ts
48
47
  const encoder = new TextEncoder();
49
48
  function writeField(header, offset, length, value) {
50
49
  header.set(encoder.encode(value).subarray(0, length), offset);
@@ -109,8 +108,7 @@ async function createTarGz(entries, maxBytes) {
109
108
  const compressed = new Blob([tar]).stream().pipeThrough(new CompressionStream("gzip"));
110
109
  return new Uint8Array(await new Response(compressed).arrayBuffer());
111
110
  }
112
- //#endregion
113
- //#region src/session/host.ts
111
+ // src/session/host.ts
114
112
  var host_exports = /* @__PURE__ */ __exportAll({ createHostedWorkspaceSession: () => createHostedWorkspaceSession });
115
113
  const publicationQueues = /* @__PURE__ */ new WeakMap();
116
114
  const defaultHostInspectionConcurrency = 16;
@@ -1051,7 +1049,7 @@ async function createHostedWorkspaceSession(workspace, options) {
1051
1049
  },
1052
1050
  async search(query) {
1053
1051
  assertOpen();
1054
- const { searchText } = await import("./search-BqNV9LnO.js").then((n) => n.n);
1052
+ const { searchText } = await import("./search-C_nVorq7.js").then((n) => n.n);
1055
1053
  const scoped = scopedSearchQuery(query, sessionPaths, normalizeSearchRoot);
1056
1054
  if (!scoped) return [];
1057
1055
  const scopedSearchRoots = [...new Set((scoped.paths?.length ? scoped.paths : [scoped.cwd || ""]).map(normalizeSearchRoot))].filter(Boolean);
@@ -1227,5 +1225,4 @@ async function createHostedWorkspaceSession(workspace, options) {
1227
1225
  }
1228
1226
  };
1229
1227
  }
1230
- //#endregion
1231
1228
  export { host_exports as n, withWorkspaceProgress as r, createHostedWorkspaceSession as t };
@@ -1,18 +1,18 @@
1
- import { a as workspaceConflict, n as assertWorkspaceDigest, s as workspaceError, t as normalizeSafeWorkspacePath } from "./path-DrSIenjj.js";
2
- import { t as copyJsonFileMetadata } from "./file-metadata-Dv2JZwal.js";
3
- import { a as isExcludedWorkspacePath, c as normalizeSafeWorkspacePattern, d as sha256, l as normalizeWorkspacePath, r as contentToBytes } from "./path-BlIBpI7U.js";
4
- import { t as workspaceErrorDiagnostics } from "./error-diagnostics-Cth97txN.js";
5
- import { n as createSnapshotFromEntries, r as diffSnapshots } from "./utils-C0Au2R16.js";
6
- import { t as createWorkspaceGlobMatcher } from "./glob-Buxfvmyy.js";
7
- import { t as isRecord } from "./object-Da1zyPCR.js";
8
- import { k as getActiveCloudflareBinding } from "./shared-BgDjxY3J.js";
9
- import { a as resolveGitHubWorkspaceStore, d as setWorkspaceHostedStoreLoader, i as resolveCloudflareArtifactsStore, u as getWorkspaceHostedStoreLoader } from "./provider-Fc3M6bEx.js";
10
- import { t as workspaceStoreDiscard } from "./discard-CNNtCozM.js";
11
- import { t as createGitHubWorkspaceStore } from "./store-BRMdD8Ft.js";
12
- import { n as setWorkspaceRuntimeConfig } from "./config-B-863EgC.js";
1
+ import { a as resolveGitHubWorkspaceStore, d as setWorkspaceHostedStoreLoader, i as resolveCloudflareArtifactsStore, u as getWorkspaceHostedStoreLoader } from "./provider-CN14ewvx.js";
2
+ import { a as workspaceConflict, n as assertWorkspaceDigest, s as workspaceError, t as normalizeSafeWorkspacePath } from "./path-CuYE8-X6.js";
3
+ import { k as getActiveCloudflareBinding } from "./shared-C20Wh1mp.js";
4
+ import { t as copyJsonFileMetadata } from "./file-metadata-Bpsvjw_X.js";
5
+ import { a as isExcludedWorkspacePath, c as normalizeSafeWorkspacePattern, d as sha256, l as normalizeWorkspacePath, r as contentToBytes } from "./path-Bb9OIc_F.js";
6
+ import { t as createWorkspaceGlobMatcher } from "./glob-BreFjNAV.js";
7
+ import { t as workspaceStoreDiscard } from "./discard-BkoLmmmN.js";
8
+ import { t as isRecord } from "./object-CAK6UYR5.js";
9
+ import { t as workspaceErrorDiagnostics } from "./error-diagnostics-B4me-ouV.js";
10
+ import { n as createSnapshotFromEntries, r as diffSnapshots } from "./utils-DXP9xfXo.js";
11
+ import { t as createGitHubWorkspaceStore } from "./store-cx3OqNTi.js";
12
+ import { n as setWorkspaceRuntimeConfig } from "./config-CsgNNVAI.js";
13
13
  import { resolve } from "node:path";
14
14
  import { boolean, check, object, optional, parse as parse$1, pipe, record, string, unknown } from "valibot";
15
- //#region src/storage/memory-fs.ts
15
+ // src/storage/memory-fs.ts
16
16
  function copyBinaryData(data) {
17
17
  if (ArrayBuffer.isView(data)) return Uint8Array.from(new Uint8Array(data.buffer, data.byteOffset, data.byteLength));
18
18
  if (Object.prototype.toString.call(data) === "[object ArrayBuffer]") return Uint8Array.from(new Uint8Array(data));
@@ -182,8 +182,7 @@ var MemoryFS = class {
182
182
  function memoryFsError(code, path) {
183
183
  return Object.assign(workspaceErrorDiagnostics.WORKSPACE_R0065({ message: `${code}: ${path}` }), { code });
184
184
  }
185
- //#endregion
186
- //#region src/providers/cloudflare/artifacts-store.ts
185
+ // src/providers/cloudflare/artifacts-store.ts
187
186
  const dir = "/workspace";
188
187
  const fileMetadataPath = ".vitehub/files.json";
189
188
  const fileMetadataJournalPath = ".vitehub/files.pending.json";
@@ -848,8 +847,7 @@ var CloudflareArtifactsWorkspaceStore = class {
848
847
  function createCloudflareArtifactsWorkspaceStore(options, workspaceName) {
849
848
  return new CloudflareArtifactsWorkspaceStore(options, workspaceName);
850
849
  }
851
- //#endregion
852
- //#region src/hosted.ts
850
+ // src/hosted.ts
853
851
  function installHostedGitHubWorkspaceStore() {
854
852
  const existingWorkspaceHostedStoreLoader = getWorkspaceHostedStoreLoader();
855
853
  setWorkspaceHostedStoreLoader((storeOptions, workspaceName) => {
@@ -882,5 +880,4 @@ function configureHostedWorkspaceRuntime(options = {}) {
882
880
  setWorkspaceRuntimeConfig(config);
883
881
  return config;
884
882
  }
885
- //#endregion
886
883
  export { createCloudflareArtifactsWorkspaceStore as a, installHostedWorkspaceRuntime as i, installHostedCloudflareArtifactsWorkspaceStore as n, installHostedGitHubWorkspaceStore as r, configureHostedWorkspaceRuntime as t };
@@ -1,13 +1,13 @@
1
- import { a as workspaceConflict, s as workspaceError, t as normalizeSafeWorkspacePath } from "./path-DrSIenjj.js";
2
- import { a as isExcludedWorkspacePath, c as normalizeSafeWorkspacePattern, d as sha256, l as normalizeWorkspacePath, r as contentToBytes } from "./path-BlIBpI7U.js";
3
- import { t as workspaceErrorDiagnostics } from "./error-diagnostics-Cth97txN.js";
4
- import { r as diffSnapshots, t as createCurrentSnapshotFromStore } from "./utils-C0Au2R16.js";
5
- import { t as createWorkspaceGlobMatcher } from "./glob-Buxfvmyy.js";
6
- import { t as isRecord } from "./object-Da1zyPCR.js";
7
- import { d as setWorkspaceHostedStoreLoader, l as ownedBlobPrefix, o as resolveRuntimeVercelBlobWorkspaceStore, s as resolveVercelBlobWorkspaceStore, u as getWorkspaceHostedStoreLoader } from "./provider-Fc3M6bEx.js";
8
- import { n as setWorkspaceRuntimeConfig } from "./config-B-863EgC.js";
1
+ import { d as setWorkspaceHostedStoreLoader, l as ownedBlobPrefix, o as resolveRuntimeVercelBlobWorkspaceStore, s as resolveVercelBlobWorkspaceStore, u as getWorkspaceHostedStoreLoader } from "./provider-CN14ewvx.js";
2
+ import { a as workspaceConflict, s as workspaceError, t as normalizeSafeWorkspacePath } from "./path-CuYE8-X6.js";
3
+ import { a as isExcludedWorkspacePath, c as normalizeSafeWorkspacePattern, d as sha256, l as normalizeWorkspacePath, r as contentToBytes } from "./path-Bb9OIc_F.js";
4
+ import { t as createWorkspaceGlobMatcher } from "./glob-BreFjNAV.js";
5
+ import { r as diffSnapshots, t as createCurrentSnapshotFromStore } from "./utils-DXP9xfXo.js";
6
+ import { t as workspaceErrorDiagnostics } from "./error-diagnostics-B4me-ouV.js";
7
+ import { t as isRecord } from "./object-CAK6UYR5.js";
8
+ import { n as setWorkspaceRuntimeConfig } from "./config-CsgNNVAI.js";
9
9
  import { resolve } from "node:path";
10
- //#region src/providers/vercel/blob-store.ts
10
+ // src/providers/vercel/blob-store.ts
11
11
  const fileMutations = /* @__PURE__ */ new Map();
12
12
  async function serializeFileMutation(key, mutate) {
13
13
  const pending = (fileMutations.get(key) || Promise.resolve()).catch(() => {}).then(mutate);
@@ -386,8 +386,7 @@ var VercelBlobWorkspaceStore = class {
386
386
  function createVercelBlobWorkspaceStore(options, workspaceName) {
387
387
  return new VercelBlobWorkspaceStore(options, workspaceName);
388
388
  }
389
- //#endregion
390
- //#region src/hosted-vercel-blob.ts
389
+ // src/hosted-vercel-blob.ts
391
390
  function installHostedVercelBlobWorkspaceRuntime() {
392
391
  const existingWorkspaceHostedStoreLoader = getWorkspaceHostedStoreLoader();
393
392
  setWorkspaceHostedStoreLoader((storeOptions, workspaceName) => {
@@ -406,5 +405,4 @@ function configureHostedVercelBlobWorkspaceRuntime(options = {}) {
406
405
  setWorkspaceRuntimeConfig(config);
407
406
  return config;
408
407
  }
409
- //#endregion
410
408
  export { installHostedVercelBlobWorkspaceRuntime as n, configureHostedVercelBlobWorkspaceRuntime as t };
@@ -1,5 +1,4 @@
1
- import { T as VercelBlobWorkspaceStoreOptions, v as ResolvedWorkspaceModuleOptions } from "./types-9DMtFjaa.js";
2
- //#region src/hosted-vercel-blob.d.ts
1
+ import { T as VercelBlobWorkspaceStoreOptions, v as ResolvedWorkspaceModuleOptions } from "./types-Bel5IDmF.js";
3
2
  export interface HostedVercelBlobWorkspaceRuntimeOptions {
4
3
  assets?: boolean | string[];
5
4
  env?: Record<string, string | undefined>;
@@ -10,5 +9,4 @@ export interface HostedVercelBlobWorkspaceRuntimeOptions {
10
9
  }
11
10
  export declare function installHostedVercelBlobWorkspaceRuntime(): void;
12
11
  export declare function configureHostedVercelBlobWorkspaceRuntime(options?: HostedVercelBlobWorkspaceRuntimeOptions): ResolvedWorkspaceModuleOptions;
13
- //#endregion
14
12
  export type { VercelBlobWorkspaceStoreOptions };
@@ -1,2 +1 @@
1
- import { n as installHostedVercelBlobWorkspaceRuntime, t as configureHostedVercelBlobWorkspaceRuntime } from "./hosted-vercel-blob-D0IPAjb1.js";
2
- export { configureHostedVercelBlobWorkspaceRuntime, installHostedVercelBlobWorkspaceRuntime };
1
+ export { t as configureHostedVercelBlobWorkspaceRuntime, n as installHostedVercelBlobWorkspaceRuntime } from "./hosted-vercel-blob-B6kygYqn.js";
package/dist/hosted.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import { T as VercelBlobWorkspaceStoreOptions, s as GitHubWorkspaceStoreOptions, t as CloudflareArtifactsWorkspaceStoreOptions, v as ResolvedWorkspaceModuleOptions } from "./types-9DMtFjaa.js";
2
- //#region src/hosted.d.ts
1
+ import { T as VercelBlobWorkspaceStoreOptions, s as GitHubWorkspaceStoreOptions, t as CloudflareArtifactsWorkspaceStoreOptions, v as ResolvedWorkspaceModuleOptions } from "./types-Bel5IDmF.js";
3
2
  export type HostedWorkspaceRuntimeStoreOptions = Partial<CloudflareArtifactsWorkspaceStoreOptions> | (Partial<GitHubWorkspaceStoreOptions> & {
4
3
  driver: "github";
5
4
  }) | (Partial<VercelBlobWorkspaceStoreOptions> & {
@@ -15,5 +14,4 @@ export declare function installHostedGitHubWorkspaceStore(): void;
15
14
  export declare function installHostedCloudflareArtifactsWorkspaceStore(): void;
16
15
  export declare function installHostedWorkspaceRuntime(): void;
17
16
  export declare function configureHostedWorkspaceRuntime(options?: HostedWorkspaceRuntimeOptions): ResolvedWorkspaceModuleOptions;
18
- //#endregion
19
17
  export type { CloudflareArtifactsWorkspaceStoreOptions, GitHubWorkspaceStoreOptions, VercelBlobWorkspaceStoreOptions };
package/dist/hosted.js CHANGED
@@ -1,2 +1 @@
1
- import { i as installHostedWorkspaceRuntime, n as installHostedCloudflareArtifactsWorkspaceStore, r as installHostedGitHubWorkspaceStore, t as configureHostedWorkspaceRuntime } from "./hosted-BktlvkF2.js";
2
- export { configureHostedWorkspaceRuntime, installHostedCloudflareArtifactsWorkspaceStore, installHostedGitHubWorkspaceStore, installHostedWorkspaceRuntime };
1
+ export { t as configureHostedWorkspaceRuntime, n as installHostedCloudflareArtifactsWorkspaceStore, r as installHostedGitHubWorkspaceStore, i as installHostedWorkspaceRuntime } from "./hosted-8BTKAtMX.js";
package/dist/index.d.ts CHANGED
@@ -1,21 +1,16 @@
1
- import { $ as WorkspaceHistoryDiffOptions, $t as WorkspaceSourceDefinition, A as WorkspaceAuthor, An as WorkspaceStreamFile, At as WorkspaceOptions, B as WorkspaceDiffEntry, Bn as WorkspaceWriteOperation, Bt as WorkspaceScopeName, C as SourceContextWorkspaceFiles, Cn as WorkspaceSourceSyncResult, Ct as WorkspaceMergeConflict, D as WorkspaceAssetPath, Dn as WorkspaceStoreHistory, Dt as WorkspaceName, E as Workspace, En as WorkspaceStore, Et as WorkspaceMergeResolution, F as WorkspaceContentStream, Fn as WorkspaceWriteCommit, Ft as WorkspaceRetainedHistory, G as WorkspaceFileSourceInput, Gt as WorkspaceSessionHost, H as WorkspaceFetchSourceInput, Hn as WorkspaceWriteValidatorResult, Ht as WorkspaceSearchQuery, I as WorkspaceCustomSourceInput, In as WorkspaceWriteErrorHook, It as WorkspaceRevision, J as WorkspaceHistoryChanges, Jt as WorkspaceSessionOptions, K as WorkspaceGitHubSourceInput, Kt as WorkspaceSessionHostFileEntry, L as WorkspaceDefinition, Ln as WorkspaceWriteHook, Lt as WorkspaceRevisionView, M as WorkspaceCacheOptions, Mn as WorkspaceSyncResultDetails, Mt as WorkspacePrepareSessionProgressEvent, N as WorkspaceCapabilities, Nn as WorkspaceSyncSnapshotOptions, Nt as WorkspacePullRequest, O as WorkspaceAssets, On as WorkspaceStoreHistoryCommitOptions, Ot as WorkspaceNameMap, P as WorkspaceContent, Pn as WorkspaceValidateMode, Pt as WorkspaceRebaseOptions, Q as WorkspaceHistoryDeleteRefOptions, Qt as WorkspaceSourceBindingInput, R as WorkspaceDefinitionInput, Rn as WorkspaceWriteInput, Rt as WorkspaceRule, S as SourceContext, Sn as WorkspaceSourceSyncPolicy, St as WorkspaceMergeCommit, T as VercelBlobWorkspaceStoreOptions, Tn as WorkspaceStat, Tt as WorkspaceMergeOptions, U as WorkspaceFetchSourceRequestOptions, Un as WriteFileOptions, Ut as WorkspaceSelectedScope, V as WorkspaceEntry, Vn as WorkspaceWriteValidator, Vt as WorkspaceSearchHit, W as WorkspaceFile, Wt as WorkspaceSession, X as WorkspaceHistoryCommitBase, Xt as WorkspaceSnapshot, Y as WorkspaceHistoryChangesCommitOptions, Yt as WorkspaceSessionWriteFileOptions, Z as WorkspaceHistoryCommitOptions, Zt as WorkspaceSource, _ as ReadFileResult, _n as WorkspaceSourceResolver, _t as WorkspaceMaterializeMode, a as GitHubWorkspaceOption, an as WorkspaceSourceMount, at as WorkspaceHistoryListResult, b as RmOptions, bn as WorkspaceSourceSyncCounts, bt as WorkspaceMaterializeSourcesResult, c as GlobOptions, cn as WorkspaceSourceRequestExecutionInput, ct as WorkspaceHistoryRefOptions, d as LocalWorkspaceStoreOptions, dn as WorkspaceSourceRequestMethod, dt as WorkspaceInstructionBinding, en as WorkspaceSourceInput, et as WorkspaceHistoryExtensions, f as Logger, fn as WorkspaceSourceResolutionContext, ft as WorkspaceInstructionBindingValue, g as ReadFileOptions, gn as WorkspaceSourceResolutionResult, gt as WorkspaceLookupName, h as MkdirOptions, hn as WorkspaceSourceResolutionInvocation, ht as WorkspaceLoaderSource, i as ExecResult, in as WorkspaceSourceMaterializationStatus, it as WorkspaceHistoryListOptions, j as WorkspaceAutoCommitPlan, jn as WorkspaceSyncOptions, jt as WorkspacePlugin, k as WorkspaceAssetsRegistry, kn as WorkspaceStoreOptions, kt as WorkspaceOpenPullRequestOptions, l as ListOptions, ln as WorkspaceSourceRequestExecutionResult, lt as WorkspaceHookContext, m as MemoryWorkspaceStoreOptions, mn as WorkspaceSourceResolutionContextValueReader, mt as WorkspaceLoader, n as DiffOptions, nn as WorkspaceSourceMaterializationCounts, nt as WorkspaceHistoryFileInput, o as GitHubWorkspaceRefs, on as WorkspaceSourceMountOptions, ot as WorkspaceHistoryReader, p as MaybePromise, pn as WorkspaceSourceResolutionContextMap, pt as WorkspaceLastChange, q as WorkspaceGlobSourceInput, qt as WorkspaceSessionHostFiles, r as ExecOptions, rn as WorkspaceSourceMaterializationPathResult, rt as WorkspaceHistoryFilesCommitOptions, s as GitHubWorkspaceStoreOptions, sn as WorkspaceSourceRequestDescriptor, st as WorkspaceHistoryRef, t as CloudflareArtifactsWorkspaceStoreOptions, tn as WorkspaceSourceItem, tt as WorkspaceHistoryFile, u as LoaderContext, un as WorkspaceSourceRequestExecutor, ut as WorkspaceHooks, v as ResolvedWorkspaceModuleOptions, vn as WorkspaceSourceSelection, vt as WorkspaceMaterializeSourcesOptions, w as ValidatedWorkspaceName, wn as WorkspaceSourceSyncStatus, wt as WorkspaceMergeConflictContext, x as SnapshotOptions, xn as WorkspaceSourceSyncPathResult, xt as WorkspaceMcpResourcesSourceInput, y as ResolvedWorkspaceRule, yn as WorkspaceSourceSyncConfig, yt as WorkspaceMaterializeSourcesProgressEvent, z as WorkspaceDiff, zn as WorkspaceWriteMode, zt as WorkspaceRules } from "./types-9DMtFjaa.js";
2
- import { A as WorkspaceTools, C as ShellEnabled, D as WorkspaceShellResult, E as WorkspaceReadOperations, M as WorkspaceWriteToolMap, N as createWorkspaceTools, O as WorkspaceToolOperations, S as EnabledReadCapability, T as WorkspacePathResult, _ as WritableWorkspaceFiles, a as ReadonlyWorkspaceFiles, b as createWorkspaceFileRuntime, c as WorkspaceFacade, d as WorkspaceReadToolSet, f as WorkspaceReadTools, g as WritableWorkspaceFacadeToolOptions, h as WritableWorkspaceFacade, i as ReadonlyWorkspaceFacade, j as WorkspaceWriteOperations, k as WorkspaceToolOptions, l as WorkspaceFacadeToolOptions, m as WorkspaceWriteTools, n as HistoryCheckpoint, o as ReadonlyWorkspaceFs, p as WorkspaceWriteToolSet, r as HistoryCheckpointOptions, s as UseWorkspaceOptions, t as History, u as WorkspaceHistory, v as WritableWorkspaceFs, w as WorkspaceMoveResult, x as useWorkspaceFiles, y as createReadonlyFs } from "./use-Dv973swc.js";
3
- import { n as isWorkspaceConflict, t as WorkspaceErrorCode } from "./errors-DXCZjdUU.js";
4
- import { t as isWorkspaceName } from "./registry-CLL0TY0L.js";
5
- import { t as registerWorkspacePlugin } from "./plugins-DKCBrH31.js";
6
- import { t as createWorkspace } from "./workspace-Cw4ycIW-.js";
7
- import { t as useWorkspace } from "./use-tools-CMUthOdy.js";
1
+ import { $ as WorkspaceHistoryDiffOptions, $t as WorkspaceSourceDefinition, A as WorkspaceAuthor, An as WorkspaceStreamFile, At as WorkspaceOptions, B as WorkspaceDiffEntry, Bn as WorkspaceWriteOperation, Bt as WorkspaceScopeName, C as SourceContextWorkspaceFiles, Cn as WorkspaceSourceSyncResult, Ct as WorkspaceMergeConflict, D as WorkspaceAssetPath, Dn as WorkspaceStoreHistory, Dt as WorkspaceName, E as Workspace, En as WorkspaceStore, Et as WorkspaceMergeResolution, F as WorkspaceContentStream, Fn as WorkspaceWriteCommit, Ft as WorkspaceRetainedHistory, G as WorkspaceFileSourceInput, Gt as WorkspaceSessionHost, H as WorkspaceFetchSourceInput, Hn as WorkspaceWriteValidatorResult, Ht as WorkspaceSearchQuery, I as WorkspaceCustomSourceInput, In as WorkspaceWriteErrorHook, It as WorkspaceRevision, J as WorkspaceHistoryChanges, Jt as WorkspaceSessionOptions, K as WorkspaceGitHubSourceInput, Kt as WorkspaceSessionHostFileEntry, L as WorkspaceDefinition, Ln as WorkspaceWriteHook, Lt as WorkspaceRevisionView, M as WorkspaceCacheOptions, Mn as WorkspaceSyncResultDetails, Mt as WorkspacePrepareSessionProgressEvent, N as WorkspaceCapabilities, Nn as WorkspaceSyncSnapshotOptions, Nt as WorkspacePullRequest, O as WorkspaceAssets, On as WorkspaceStoreHistoryCommitOptions, Ot as WorkspaceNameMap, P as WorkspaceContent, Pn as WorkspaceValidateMode, Pt as WorkspaceRebaseOptions, Q as WorkspaceHistoryDeleteRefOptions, Qt as WorkspaceSourceBindingInput, R as WorkspaceDefinitionInput, Rn as WorkspaceWriteInput, Rt as WorkspaceRule, S as SourceContext, Sn as WorkspaceSourceSyncPolicy, St as WorkspaceMergeCommit, T as VercelBlobWorkspaceStoreOptions, Tn as WorkspaceStat, Tt as WorkspaceMergeOptions, U as WorkspaceFetchSourceRequestOptions, Un as WriteFileOptions, Ut as WorkspaceSelectedScope, V as WorkspaceEntry, Vn as WorkspaceWriteValidator, Vt as WorkspaceSearchHit, W as WorkspaceFile, Wt as WorkspaceSession, X as WorkspaceHistoryCommitBase, Xt as WorkspaceSnapshot, Y as WorkspaceHistoryChangesCommitOptions, Yt as WorkspaceSessionWriteFileOptions, Z as WorkspaceHistoryCommitOptions, Zt as WorkspaceSource, _ as ReadFileResult, _n as WorkspaceSourceResolver, _t as WorkspaceMaterializeMode, a as GitHubWorkspaceOption, an as WorkspaceSourceMount, at as WorkspaceHistoryListResult, b as RmOptions, bn as WorkspaceSourceSyncCounts, bt as WorkspaceMaterializeSourcesResult, c as GlobOptions, cn as WorkspaceSourceRequestExecutionInput, ct as WorkspaceHistoryRefOptions, d as LocalWorkspaceStoreOptions, dn as WorkspaceSourceRequestMethod, dt as WorkspaceInstructionBinding, en as WorkspaceSourceInput, et as WorkspaceHistoryExtensions, f as Logger, fn as WorkspaceSourceResolutionContext, ft as WorkspaceInstructionBindingValue, g as ReadFileOptions, gn as WorkspaceSourceResolutionResult, gt as WorkspaceLookupName, h as MkdirOptions, hn as WorkspaceSourceResolutionInvocation, ht as WorkspaceLoaderSource, i as ExecResult, in as WorkspaceSourceMaterializationStatus, it as WorkspaceHistoryListOptions, j as WorkspaceAutoCommitPlan, jn as WorkspaceSyncOptions, jt as WorkspacePlugin, k as WorkspaceAssetsRegistry, kn as WorkspaceStoreOptions, kt as WorkspaceOpenPullRequestOptions, l as ListOptions, ln as WorkspaceSourceRequestExecutionResult, lt as WorkspaceHookContext, m as MemoryWorkspaceStoreOptions, mn as WorkspaceSourceResolutionContextValueReader, mt as WorkspaceLoader, n as DiffOptions, nn as WorkspaceSourceMaterializationCounts, nt as WorkspaceHistoryFileInput, o as GitHubWorkspaceRefs, on as WorkspaceSourceMountOptions, ot as WorkspaceHistoryReader, p as MaybePromise, pn as WorkspaceSourceResolutionContextMap, pt as WorkspaceLastChange, q as WorkspaceGlobSourceInput, qt as WorkspaceSessionHostFiles, r as ExecOptions, rn as WorkspaceSourceMaterializationPathResult, rt as WorkspaceHistoryFilesCommitOptions, s as GitHubWorkspaceStoreOptions, sn as WorkspaceSourceRequestDescriptor, st as WorkspaceHistoryRef, t as CloudflareArtifactsWorkspaceStoreOptions, tn as WorkspaceSourceItem, tt as WorkspaceHistoryFile, u as LoaderContext, un as WorkspaceSourceRequestExecutor, ut as WorkspaceHooks, v as ResolvedWorkspaceModuleOptions, vn as WorkspaceSourceSelection, vt as WorkspaceMaterializeSourcesOptions, w as ValidatedWorkspaceName, wn as WorkspaceSourceSyncStatus, wt as WorkspaceMergeConflictContext, x as SnapshotOptions, xn as WorkspaceSourceSyncPathResult, xt as WorkspaceMcpResourcesSourceInput, y as ResolvedWorkspaceRule, yn as WorkspaceSourceSyncConfig, yt as WorkspaceMaterializeSourcesProgressEvent, z as WorkspaceDiff, zn as WorkspaceWriteMode, zt as WorkspaceRules } from "./types-Bel5IDmF.js";
2
+ import { t as createWorkspace } from "./workspace-BOuxrZrP.js";
3
+ import { A as WorkspaceTools, C as ShellEnabled, D as WorkspaceShellResult, E as WorkspaceReadOperations, M as WorkspaceWriteToolMap, N as createWorkspaceTools, O as WorkspaceToolOperations, S as EnabledReadCapability, T as WorkspacePathResult, _ as WritableWorkspaceFiles, a as ReadonlyWorkspaceFiles, b as createWorkspaceFileRuntime, c as WorkspaceFacade, d as WorkspaceReadToolSet, f as WorkspaceReadTools, g as WritableWorkspaceFacadeToolOptions, h as WritableWorkspaceFacade, i as ReadonlyWorkspaceFacade, j as WorkspaceWriteOperations, k as WorkspaceToolOptions, l as WorkspaceFacadeToolOptions, m as WorkspaceWriteTools, n as HistoryCheckpoint, o as ReadonlyWorkspaceFs, p as WorkspaceWriteToolSet, r as HistoryCheckpointOptions, s as UseWorkspaceOptions, t as History, u as WorkspaceHistory, v as WritableWorkspaceFs, w as WorkspaceMoveResult, x as useWorkspaceFiles, y as createReadonlyFs } from "./use-CpphIBof.js";
4
+ import { n as isWorkspaceConflict, t as WorkspaceErrorCode } from "./errors-CnFDXxeJ.js";
5
+ import { t as isWorkspaceName } from "./registry-s2Ob9PeX.js";
6
+ import { t as registerWorkspacePlugin } from "./plugins-CLc32jvL.js";
7
+ import { t as useWorkspace } from "./use-tools-CAK10LTc.js";
8
8
  import * as source from "@vite-hub/source";
9
9
  import { FileSourceOptions as FileSourceOptions$1, GitHubSourceOptions as GitHubSourceOptions$1, sourceIgnores } from "@vite-hub/source";
10
10
  import { McpResourceContent, McpResourceDescriptor, McpResourcesClient, McpResourcesClientConfig, McpResourcesRequestOptions, McpResourcesServer, McpResourcesSourceOptions as McpResourcesSourceOptions$1 } from "@vite-hub/source/mcp";
11
- //#region src/core/define.d.ts
12
11
  export declare function defineWorkspace(definition: WorkspaceDefinitionInput): WorkspaceDefinitionInput;
13
- //#endregion
14
- //#region src/sources/runtime-options.d.ts
15
12
  type ExactOptions$1<TInput, TShape> = TInput & Record<Exclude<keyof TInput, keyof TShape>, never>;
16
13
  type WorkspaceSourceRuntimeOptions = Pick<WorkspaceSource, "cache" | "materialize" | "mount" | "sync" | "validate">;
17
- //#endregion
18
- //#region src/sources/custom.d.ts
19
14
  type CustomWorkspaceSourceFile = Omit<WorkspaceSourceItem, "content" | "contentStream" | "key" | "path"> & {
20
15
  content: WorkspaceContent | ((context: SourceContext) => MaybePromise<WorkspaceContent>);
21
16
  path: string;
@@ -25,14 +20,10 @@ type CustomWorkspaceSourceFiles = WorkspaceSourceRuntimeOptions & Pick<Workspace
25
20
  };
26
21
  export declare function custom<const TSource extends CustomWorkspaceSourceFiles>(source: ExactOptions$1<TSource, CustomWorkspaceSourceFiles>): WorkspaceSource;
27
22
  export declare function custom<const TSource extends WorkspaceSource>(source: ExactOptions$1<TSource, WorkspaceSource>): WorkspaceSource;
28
- //#endregion
29
- //#region src/sources/file.d.ts
30
23
  type FileWorkspaceSourceRuntimeOptions = WorkspaceSourceRuntimeOptions & Pick<WorkspaceSource, "probeKeys">;
31
24
  type FileSourceOptions<TKey extends string = string> = FileSourceOptions$1<TKey> & FileWorkspaceSourceRuntimeOptions;
32
25
  export declare function file<const TKey extends string>(input: TKey): WorkspaceSource;
33
26
  export declare function file<const TKey extends string = string, const TOptions extends FileSourceOptions<TKey> = FileSourceOptions<TKey>>(input: ExactOptions$1<TOptions, FileSourceOptions<TKey>>): WorkspaceSource;
34
- //#endregion
35
- //#region src/sources/fetch.d.ts
36
27
  type FetchSourceMethod = "GET" | "HEAD" | "POST";
37
28
  type FetchSourceResponseType = "json" | "text";
38
29
  interface FetchSourceStandardSchemaResultSuccess<T = unknown> {
@@ -104,8 +95,6 @@ type FetchSourceInput<TResponse = unknown, TOutput = TResponse> = FetchSourceOpt
104
95
  export declare function url<TResponse = unknown, TOutput = TResponse>(options: ExactOptions<FetchSourceOptions<TResponse, TOutput>, FetchSourceOptions<TResponse, TOutput>>): WorkspaceSource;
105
96
  export declare function url<const TOptions extends FetchSourceOptions<any, any>>(options: ExactOptions<TOptions, FetchSourceOptions<any, any>>): WorkspaceSource;
106
97
  export declare function url<TResponse = unknown, TOutput = TResponse>(resolve: FetchSourceResolver<TResponse, TOutput>): WorkspaceSource;
107
- //#endregion
108
- //#region src/sources/github.d.ts
109
98
  type GitHubAuth = NonNullable<GitHubSourceOptions$1["auth"]>;
110
99
  type GitHubResolvedSourceOptions = Omit<GitHubSourceOptions, "repo"> & Partial<Pick<GitHubSourceOptions, "repo">>;
111
100
  interface GitHubSourceOptions extends Omit<GitHubSourceOptions$1, "auth" | "ignore">, WorkspaceSourceRuntimeOptions {
@@ -117,19 +106,12 @@ type GitHubSourceResolver = (context: WorkspaceSourceResolutionContext) => Maybe
117
106
  type GitHubSourceInput = GitHubSourceOptions | GitHubSourceResolver;
118
107
  export declare function github<const TOptions extends GitHubSourceOptions>(options: ExactOptions$1<TOptions, GitHubSourceOptions>): WorkspaceSource;
119
108
  export declare function github(resolve: GitHubSourceResolver): WorkspaceSource;
120
- //#endregion
121
- //#region src/sources/glob.d.ts
122
109
  type GlobSourceOptions = source.GlobSourceOptions & WorkspaceSourceRuntimeOptions;
123
110
  export declare function glob<const TOptions extends GlobSourceOptions>(options: ExactOptions$1<TOptions, GlobSourceOptions>): WorkspaceSource;
124
- //#endregion
125
- //#region src/sources/markdown.d.ts
126
111
  export declare function markdown(options: FileSourceOptions): WorkspaceSource;
127
- //#endregion
128
- //#region src/sources/mcp-resources.d.ts
129
112
  interface McpResourcesSourceOptions<TKey extends string = string> extends Omit<McpResourcesSourceOptions$1<TKey>, "cache">, WorkspaceSourceRuntimeOptions {}
130
113
  export declare function mcpResources<const TKey extends string = string, const TOptions extends McpResourcesSourceOptions<TKey> = McpResourcesSourceOptions<TKey>>(options: ExactOptions$1<TOptions, McpResourcesSourceOptions<TKey>>): WorkspaceSource;
131
114
  declare namespace index_d_exports {
132
115
  export { FetchSourceInput, FetchSourceOptions, FetchSourceRequest, FetchSourceRequestOptions, FetchSourceResolver, FileSourceOptions, GitHubSourceInput, GitHubSourceOptions, GitHubSourceResolver, GlobSourceOptions, McpResourceContent, McpResourceDescriptor, McpResourcesClient, McpResourcesClientConfig, McpResourcesRequestOptions, McpResourcesServer, McpResourcesSourceOptions, custom, file, github, glob, markdown, mcpResources, url };
133
116
  }
134
- //#endregion
135
117
  export { type CloudflareArtifactsWorkspaceStoreOptions, type DiffOptions, type EnabledReadCapability, type ExecOptions, type ExecResult, type FetchSourceInput, type FetchSourceOptions, type FetchSourceRequest, type FetchSourceRequestOptions, type FetchSourceResolver, type FileSourceOptions, type GitHubSourceInput, type GitHubSourceOptions, type GitHubSourceResolver, type GitHubWorkspaceOption, type GitHubWorkspaceRefs, type GitHubWorkspaceStoreOptions, type GlobOptions, type GlobSourceOptions, type History, type HistoryCheckpoint, type HistoryCheckpointOptions, type ListOptions, type LoaderContext, type LocalWorkspaceStoreOptions, type Logger, type MaybePromise, type McpResourceContent, type McpResourceDescriptor, type McpResourcesClient, type McpResourcesClientConfig, type McpResourcesRequestOptions, type McpResourcesServer, type McpResourcesSourceOptions, type MemoryWorkspaceStoreOptions, type MkdirOptions, type ReadFileOptions, type ReadFileResult, type ReadonlyWorkspaceFacade, type ReadonlyWorkspaceFiles, type ReadonlyWorkspaceFs, type ResolvedWorkspaceModuleOptions, type ResolvedWorkspaceRule, type RmOptions, type ShellEnabled, type SnapshotOptions, type SourceContext, type SourceContextWorkspaceFiles, type UseWorkspaceOptions, type ValidatedWorkspaceName, type VercelBlobWorkspaceStoreOptions, type Workspace, type WorkspaceAssetPath, type WorkspaceAssets, type WorkspaceAssetsRegistry, type WorkspaceAuthor, type WorkspaceAutoCommitPlan, type WorkspaceCacheOptions, type WorkspaceCapabilities, type WorkspaceContent, type WorkspaceContentStream, type WorkspaceCustomSourceInput, type WorkspaceDefinition, type WorkspaceDefinitionInput, type WorkspaceDiff, type WorkspaceDiffEntry, type WorkspaceEntry, type WorkspaceErrorCode, type WorkspaceFacade, type WorkspaceFacadeToolOptions, type WorkspaceFetchSourceInput, type WorkspaceFetchSourceRequestOptions, type WorkspaceFile, type WorkspaceFileSourceInput, type WorkspaceGitHubSourceInput, type WorkspaceGlobSourceInput, type WorkspaceHistory, type WorkspaceHistoryChanges, type WorkspaceHistoryChangesCommitOptions, type WorkspaceHistoryCommitBase, type WorkspaceHistoryCommitOptions, type WorkspaceHistoryDeleteRefOptions, type WorkspaceHistoryDiffOptions, type WorkspaceHistoryExtensions, type WorkspaceHistoryFile, type WorkspaceHistoryFileInput, type WorkspaceHistoryFilesCommitOptions, type WorkspaceHistoryListOptions, type WorkspaceHistoryListResult, type WorkspaceHistoryReader, type WorkspaceHistoryRef, type WorkspaceHistoryRefOptions, type WorkspaceHookContext, type WorkspaceHooks, type WorkspaceInstructionBinding, type WorkspaceInstructionBindingValue, type WorkspaceLastChange, type WorkspaceLoader, type WorkspaceLoaderSource, type WorkspaceLookupName, type WorkspaceMaterializeMode, type WorkspaceMaterializeSourcesOptions, type WorkspaceMaterializeSourcesProgressEvent, type WorkspaceMaterializeSourcesResult, type WorkspaceMcpResourcesSourceInput, type WorkspaceMergeCommit, type WorkspaceMergeConflict, type WorkspaceMergeConflictContext, type WorkspaceMergeOptions, type WorkspaceMergeResolution, type WorkspaceMoveResult, type WorkspaceName, type WorkspaceNameMap, type WorkspaceOpenPullRequestOptions, type WorkspaceOptions, type WorkspacePathResult, type WorkspacePlugin, type WorkspacePrepareSessionProgressEvent, type WorkspacePullRequest, type WorkspaceReadOperations, type WorkspaceReadToolSet, type WorkspaceReadTools, type WorkspaceRebaseOptions, type WorkspaceRetainedHistory, type WorkspaceRevision, type WorkspaceRevisionView, type WorkspaceRule, type WorkspaceRules, type WorkspaceScopeName, type WorkspaceSearchHit, type WorkspaceSearchQuery, type WorkspaceSelectedScope, type WorkspaceSession, type WorkspaceSessionHost, type WorkspaceSessionHostFileEntry, type WorkspaceSessionHostFiles, type WorkspaceSessionOptions, type WorkspaceSessionWriteFileOptions, type WorkspaceShellResult, type WorkspaceSnapshot, type WorkspaceSource, type WorkspaceSourceBindingInput, type WorkspaceSourceDefinition, type WorkspaceSourceInput, type WorkspaceSourceItem, type WorkspaceSourceMaterializationCounts, type WorkspaceSourceMaterializationPathResult, type WorkspaceSourceMaterializationStatus, type WorkspaceSourceMount, type WorkspaceSourceMountOptions, type WorkspaceSourceRequestDescriptor, type WorkspaceSourceRequestExecutionInput, type WorkspaceSourceRequestExecutionResult, type WorkspaceSourceRequestExecutor, type WorkspaceSourceRequestMethod, type WorkspaceSourceResolutionContext, type WorkspaceSourceResolutionContextMap, type WorkspaceSourceResolutionContextValueReader, type WorkspaceSourceResolutionInvocation, type WorkspaceSourceResolutionResult, type WorkspaceSourceResolver, type WorkspaceSourceSelection, type WorkspaceSourceSyncConfig, type WorkspaceSourceSyncCounts, type WorkspaceSourceSyncPathResult, type WorkspaceSourceSyncPolicy, type WorkspaceSourceSyncResult, type WorkspaceSourceSyncStatus, type WorkspaceStat, type WorkspaceStore, type WorkspaceStoreHistory, type WorkspaceStoreHistoryCommitOptions, type WorkspaceStoreOptions, type WorkspaceStreamFile, type WorkspaceSyncOptions, type WorkspaceSyncResultDetails, type WorkspaceSyncSnapshotOptions, type WorkspaceToolOperations, type WorkspaceToolOptions, type WorkspaceTools, type WorkspaceValidateMode, type WorkspaceWriteCommit, type WorkspaceWriteErrorHook, type WorkspaceWriteHook, type WorkspaceWriteInput, type WorkspaceWriteMode, type WorkspaceWriteOperation, type WorkspaceWriteOperations, type WorkspaceWriteToolMap, type WorkspaceWriteToolSet, type WorkspaceWriteTools, type WorkspaceWriteValidator, type WorkspaceWriteValidatorResult, type WritableWorkspaceFacade, type WritableWorkspaceFacadeToolOptions, type WritableWorkspaceFiles, type WritableWorkspaceFs, type WriteFileOptions, type createReadonlyFs, createWorkspace, type createWorkspaceFileRuntime, createWorkspaceTools, isWorkspaceConflict, isWorkspaceName, registerWorkspacePlugin, index_d_exports as source, sourceIgnores, useWorkspace, useWorkspaceFiles };
package/dist/index.js CHANGED
@@ -1,20 +1,20 @@
1
- import { n as __exportAll } from "./rolldown-runtime-rQ84J-ij.js";
2
- import { r as isWorkspaceConflict, s as workspaceError, t as normalizeSafeWorkspacePath } from "./path-DrSIenjj.js";
3
- import { t as workspaceErrorDiagnostics } from "./error-diagnostics-Cth97txN.js";
4
- import { t as assertWorkspaceRules } from "./rule-keys-Bsz6jTTF.js";
5
- import { r as registerWorkspacePlugin } from "./rules-OHaPFopX.js";
6
- import { t as createWorkspace } from "./workspace-CFrwWhEm.js";
7
- import { m as url } from "./config-DiyPi3Ff.js";
8
- import { t as isWorkspaceName } from "./registry-CedQvQxW.js";
9
- import { r as useWorkspaceFiles } from "./use-Dm2tbI5F.js";
10
- import { r as withFileSourceOptions, t as file } from "./file-C1DYoGz3.js";
11
- import { t as github } from "./github-CFHl6RI0.js";
12
- import { t as glob } from "./glob-BitxqDhb.js";
13
- import { t as mcpResources } from "./mcp-resources-TtxLNSL6.js";
14
- import { n as createWorkspaceTools, t as useWorkspace } from "./use-tools-C1qvhzme.js";
1
+ import { n as __exportAll } from "./rolldown-runtime-DnNXxpGL.js";
2
+ import { t as assertWorkspaceRules } from "./rule-keys-BLEbi1h5.js";
3
+ import { t as workspaceErrorDiagnostics } from "./error-diagnostics-B4me-ouV.js";
4
+ import { t as createWorkspace } from "./workspace-CLuPkyZR.js";
5
+ import { r as isWorkspaceConflict, s as workspaceError, t as normalizeSafeWorkspacePath } from "./path-CuYE8-X6.js";
6
+ import { r as withFileSourceOptions, t as file } from "./file-BrNAXQgY.js";
7
+ import { m as url } from "./config-jo5QgE1w.js";
8
+ import { t as github } from "./github-k--_LCrX.js";
9
+ import { t as glob } from "./glob-BEutagp1.js";
10
+ import { t as mcpResources } from "./mcp-resources-DeJnbOaw.js";
11
+ import { n as createWorkspaceTools, t as useWorkspace } from "./use-tools-CHduR5k6.js";
12
+ import { t as isWorkspaceName } from "./registry-BbUg9vJB.js";
13
+ import { r as registerWorkspacePlugin } from "./rules-BPDXypZV.js";
14
+ import { r as useWorkspaceFiles } from "./use-D0DyTMxM.js";
15
15
  import { lookup } from "mrmime";
16
16
  import { markdown as markdown$1, sourceIgnores } from "@vite-hub/source";
17
- //#region src/core/define.ts
17
+ // src/core/define.ts
18
18
  const workspaceDefinitionKeys = /* @__PURE__ */ new Set([
19
19
  "bindings",
20
20
  "commit",
@@ -40,8 +40,7 @@ function defineWorkspace(definition) {
40
40
  for (const plugin of definition.plugins ?? []) assertWorkspaceRules(plugin?.rules);
41
41
  return definition;
42
42
  }
43
- //#endregion
44
- //#region src/sources/custom.ts
43
+ // src/sources/custom.ts
45
44
  function custom(source) {
46
45
  if (!Object.hasOwn(source, "files") || !Array.isArray(source.files)) return source;
47
46
  const { files: inputFiles, ...options } = source;
@@ -71,13 +70,11 @@ function custom(source) {
71
70
  } } : {}
72
71
  };
73
72
  }
74
- //#endregion
75
- //#region src/sources/markdown.ts
73
+ // src/sources/markdown.ts
76
74
  function markdown(options) {
77
75
  return withFileSourceOptions(markdown$1(options), options);
78
76
  }
79
- //#endregion
80
- //#region src/sources/index.ts
77
+ // src/sources/index.ts
81
78
  var sources_exports = /* @__PURE__ */ __exportAll({
82
79
  custom: () => custom,
83
80
  file: () => file,
@@ -87,5 +84,4 @@ var sources_exports = /* @__PURE__ */ __exportAll({
87
84
  mcpResources: () => mcpResources,
88
85
  url: () => url
89
86
  });
90
- //#endregion
91
87
  export { createWorkspace, createWorkspaceTools, custom, defineWorkspace, file, github, glob, isWorkspaceConflict, isWorkspaceName, markdown, mcpResources, registerWorkspacePlugin, sources_exports as source, sourceIgnores, url, useWorkspace, useWorkspaceFiles };
@@ -1,2 +1,2 @@
1
- import { n as normalizeSafeWorkspacePath, t as SafeWorkspacePathOptions } from "../path-zHxQUbqa.js";
1
+ import { n as normalizeSafeWorkspacePath, t as SafeWorkspacePathOptions } from "../path-C0uZxDdW.js";
2
2
  export { SafeWorkspacePathOptions, normalizeSafeWorkspacePath };
@@ -1,2 +1 @@
1
- import { t as normalizeSafeWorkspacePath } from "../path-DrSIenjj.js";
2
- export { normalizeSafeWorkspacePath };
1
+ export { t as normalizeSafeWorkspacePath } from "../path-CuYE8-X6.js";
@@ -1,8 +1,5 @@
1
- import { L as WorkspaceDefinition, j as WorkspaceAutoCommitPlan, z as WorkspaceDiff } from "../types-9DMtFjaa.js";
2
- //#region src/core/rules.d.ts
1
+ import { L as WorkspaceDefinition, j as WorkspaceAutoCommitPlan, z as WorkspaceDiff } from "../types-Bel5IDmF.js";
3
2
  export declare function resolveWorkspaceAutoCommit(definition: WorkspaceDefinition, diff: WorkspaceDiff): WorkspaceAutoCommitPlan | undefined;
4
- //#endregion
5
- //#region src/core/glob-pattern.d.ts
6
3
  interface WorkspaceGlobPatternLimits {
7
4
  maxBytes: number;
8
5
  maxComplexity: number;
@@ -10,5 +7,4 @@ interface WorkspaceGlobPatternLimits {
10
7
  }
11
8
  export declare const modelWorkspaceGlobPatternLimits: Readonly<WorkspaceGlobPatternLimits>;
12
9
  export declare function assertModelWorkspaceGlobPattern(pattern: string | readonly string[], limits?: Readonly<WorkspaceGlobPatternLimits>): void;
13
- //#endregion
14
10
  export type { WorkspaceGlobPatternLimits };
@@ -1,5 +1,5 @@
1
- import { t as workspaceErrorDiagnostics } from "../error-diagnostics-Cth97txN.js";
2
- import { n as resolveWorkspaceAutoCommit } from "../rules-OHaPFopX.js";
1
+ import { n as resolveWorkspaceAutoCommit } from "../rules-BPDXypZV.js";
2
+ import { t as workspaceErrorDiagnostics } from "../error-diagnostics-B4me-ouV.js";
3
3
  const modelWorkspaceGlobPatternLimits = Object.freeze({
4
4
  maxBytes: 2048,
5
5
  maxComplexity: 1024,
@@ -82,5 +82,4 @@ function assertModelWorkspaceGlobPattern(pattern, limits = modelWorkspaceGlobPat
82
82
  if (complexity > limits.maxComplexity) throw workspaceErrorDiagnostics.WORKSPACE_R0020({ message: `[vitehub] Workspace glob pattern complexity exceeds the model-facing limit of ${limits.maxComplexity} expansions.` });
83
83
  }
84
84
  }
85
- //#endregion
86
85
  export { assertModelWorkspaceGlobPattern, modelWorkspaceGlobPatternLimits, resolveWorkspaceAutoCommit };
@@ -1,14 +1,14 @@
1
- import { n as __exportAll } from "./rolldown-runtime-rQ84J-ij.js";
2
- import { s as workspaceError } from "./path-DrSIenjj.js";
3
- import { d as sha256, l as normalizeWorkspacePath, t as contentStreamChunks } from "./path-BlIBpI7U.js";
4
- import { s as invalidateWorkspaceSourceMaterialization } from "./workspace-CFrwWhEm.js";
5
- import { a as normalizeWorkspaceSources, c as sourceMountIntersectsPath, f as prepareWorkspaceSource, n as createSourceContext } from "./config-DiyPi3Ff.js";
6
- import { A as removeWorkspaceOwnedFile, C as withWorkspaceStoreMutation, D as readWorkspaceFileOwner, M as registerWorkspaceStoreAlias, N as workspaceStoreIdentity, O as recordWorkspaceFileOwner, _ as reconcileRemovedStartupSources, d as invalidateSourceSnapshot, j as withWorkspaceFileCheckpoint, k as removeWorkspaceFileOwner, m as readCurrentSourceSnapshot, y as sourceSnapshotOwnsAnyPath } from "./metadata-target-CR0aDtvS.js";
7
- import { n as useWorkspaceAssets } from "./asset-registry-DfBV5kmw.js";
8
- import { t as files } from "./files-iHyik8jj.js";
1
+ import { n as __exportAll } from "./rolldown-runtime-DnNXxpGL.js";
2
+ import { n as useWorkspaceAssets } from "./asset-registry-0CdRAjIV.js";
3
+ import { t as files } from "./files--z2dLC5z.js";
4
+ import { d as sha256, l as normalizeWorkspacePath, t as contentStreamChunks } from "./path-Bb9OIc_F.js";
5
+ import { s as workspaceError } from "./path-CuYE8-X6.js";
6
+ import { a as normalizeWorkspaceSources, c as sourceMountIntersectsPath, f as prepareWorkspaceSource, n as createSourceContext } from "./config-jo5QgE1w.js";
7
+ import { A as removeWorkspaceOwnedFile, C as withWorkspaceStoreMutation, D as readWorkspaceFileOwner, M as registerWorkspaceStoreAlias, N as workspaceStoreIdentity, O as recordWorkspaceFileOwner, _ as reconcileRemovedStartupSources, d as invalidateSourceSnapshot, j as withWorkspaceFileCheckpoint, k as removeWorkspaceFileOwner, m as readCurrentSourceSnapshot, y as sourceSnapshotOwnsAnyPath } from "./metadata-target-CaGLY4ay.js";
8
+ import { s as invalidateWorkspaceSourceMaterialization } from "./workspace-CLuPkyZR.js";
9
9
  import { getViteHubErrorShape } from "@vite-hub/runtime";
10
10
  import { createHash } from "node:crypto";
11
- //#region src/lifecycle.ts
11
+ // src/lifecycle.ts
12
12
  var lifecycle_exports = /* @__PURE__ */ __exportAll({ syncWorkspaceDefinition: () => syncWorkspaceDefinition });
13
13
  const buildSourcesMetaKey = (workspace) => `workspace:${encodeURIComponent(workspace)}:build-sources`;
14
14
  const buildFilesMetaKey = (workspace) => `workspace:${encodeURIComponent(workspace)}:build-files`;
@@ -595,5 +595,4 @@ function createMountedBuildSource(source, workspace) {
595
595
  }
596
596
  };
597
597
  }
598
- //#endregion
599
598
  export { syncWorkspaceDefinition as n, lifecycle_exports as t };
package/dist/lineage.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- //#region src/lineage.d.ts
2
1
  /** Where a derived file, such as a translation, came from: a Workspace path and the SHA-256 of its bytes then. */
3
2
  export interface WorkspaceDerivedFrom {
4
3
  path: string;
@@ -22,5 +21,4 @@ export declare function lineageDigest(bytes: Uint8Array): string;
22
21
  */
23
22
  export declare function readDerivedFrom(path: string, bytes: Uint8Array): WorkspaceDerivedFrom | undefined;
24
23
  /** The derived files of a file set whose source changed or is gone, sorted by path. */
25
- export declare function staleDerivedFiles(files: ReadonlyMap<string, Uint8Array>): WorkspaceStaleFile[];
26
- //#endregion
24
+ export declare function staleDerivedFiles(files: ReadonlyMap<string, Uint8Array>): WorkspaceStaleFile[];
package/dist/lineage.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createHash } from "node:crypto";
2
2
  import { parse } from "yaml";
3
- //#region src/lineage.ts
3
+ // src/lineage.ts
4
4
  /** The digest that `derivedFrom.digest` holds: `sha256-` and the hex SHA-256 of the file bytes. */
5
5
  function lineageDigest(bytes) {
6
6
  return `sha256-${createHash("sha256").update(bytes).digest("hex")}`;
@@ -72,5 +72,4 @@ function staleDerivedFiles(files) {
72
72
  }
73
73
  return stale.sort((left, right) => left.path < right.path ? -1 : 1);
74
74
  }
75
- //#endregion
76
75
  export { lineageDigest, readDerivedFrom, staleDerivedFiles };
package/dist/loader.d.ts CHANGED
@@ -1,16 +1,10 @@
1
- import { P as WorkspaceContent, mt as WorkspaceLoader, tn as WorkspaceSourceItem } from "./types-9DMtFjaa.js";
2
- //#region src/loaders/files.d.ts
1
+ import { P as WorkspaceContent, mt as WorkspaceLoader, tn as WorkspaceSourceItem } from "./types-Bel5IDmF.js";
3
2
  interface FilesLoaderOptions {
4
3
  include?: string | string[];
5
4
  exclude?: string | string[];
6
5
  transform?: (item: WorkspaceSourceItem) => WorkspaceContent | WorkspaceSourceItem | Promise<WorkspaceContent | WorkspaceSourceItem>;
7
6
  }
8
7
  export declare function files(options?: FilesLoaderOptions): WorkspaceLoader;
9
- //#endregion
10
- //#region src/loaders/json.d.ts
11
8
  export declare function json(options?: FilesLoaderOptions): WorkspaceLoader;
12
- //#endregion
13
- //#region src/loaders/text.d.ts
14
9
  export declare function text(options?: FilesLoaderOptions): WorkspaceLoader;
15
- //#endregion
16
10
  export type { FilesLoaderOptions };
package/dist/loader.js CHANGED
@@ -1,6 +1,6 @@
1
- import { o as isWorkspaceBytes } from "./path-BlIBpI7U.js";
2
- import { t as files } from "./files-iHyik8jj.js";
3
- //#region src/loaders/json.ts
1
+ import { t as files } from "./files--z2dLC5z.js";
2
+ import { o as isWorkspaceBytes } from "./path-Bb9OIc_F.js";
3
+ // src/loaders/json.ts
4
4
  function json(options = {}) {
5
5
  return files({
6
6
  ...options,
@@ -14,10 +14,8 @@ function json(options = {}) {
14
14
  }
15
15
  });
16
16
  }
17
- //#endregion
18
- //#region src/loaders/text.ts
17
+ // src/loaders/text.ts
19
18
  function text(options = {}) {
20
19
  return files(options);
21
20
  }
22
- //#endregion
23
21
  export { files, json, text };
@@ -1,8 +1,8 @@
1
- import { n as __exportAll } from "./rolldown-runtime-rQ84J-ij.js";
2
- import { t as normalizeSafeWorkspacePath } from "./path-DrSIenjj.js";
3
- import { b as markLiveWorkspaceSource, d as withWorkspaceRuntimeOptions, f as prepareWorkspaceSource, u as ownSourceOption } from "./config-DiyPi3Ff.js";
1
+ import { n as __exportAll } from "./rolldown-runtime-DnNXxpGL.js";
2
+ import { t as normalizeSafeWorkspacePath } from "./path-CuYE8-X6.js";
3
+ import { b as markLiveWorkspaceSource, d as withWorkspaceRuntimeOptions, f as prepareWorkspaceSource, u as ownSourceOption } from "./config-jo5QgE1w.js";
4
4
  import { mcpResources } from "@vite-hub/source/mcp";
5
- //#region src/sources/mcp-resources.ts
5
+ // src/sources/mcp-resources.ts
6
6
  var mcp_resources_exports = /* @__PURE__ */ __exportAll({ mcpResources: () => mcpResources$1 });
7
7
  function mcpResources$1(options) {
8
8
  const livePaths = {};
@@ -35,5 +35,4 @@ function resetLivePaths(paths, mountPath, keys) {
35
35
  paths[path] = key;
36
36
  }
37
37
  }
38
- //#endregion
39
38
  export { mcp_resources_exports as n, mcpResources$1 as t };