@mulmoclaude/core 5.12.1 → 5.13.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 (186) hide show
  1. package/assets/helps/presenthtml.md +18 -0
  2. package/dist/artifacts/paths.cjs +1 -2
  3. package/dist/artifacts/paths.js +1 -2
  4. package/dist/collection/firestore.cjs +1 -2
  5. package/dist/collection/firestore.js +1 -2
  6. package/dist/collection/index.cjs +18 -30
  7. package/dist/collection/index.cjs.map +1 -1
  8. package/dist/collection/index.js +18 -30
  9. package/dist/collection/index.js.map +1 -1
  10. package/dist/collection/paths.cjs +1 -1
  11. package/dist/collection/paths.js +1 -1
  12. package/dist/collection/registry/index.cjs +1 -1
  13. package/dist/collection/registry/index.js +1 -1
  14. package/dist/collection/registry/server/index.cjs +17 -26
  15. package/dist/collection/registry/server/index.cjs.map +1 -1
  16. package/dist/collection/registry/server/index.js +16 -25
  17. package/dist/collection/registry/server/index.js.map +1 -1
  18. package/dist/collection/server/index.cjs +5 -5
  19. package/dist/collection/server/index.js +5 -5
  20. package/dist/collection-watchers/index.cjs +10 -14
  21. package/dist/collection-watchers/index.cjs.map +1 -1
  22. package/dist/collection-watchers/index.js +10 -14
  23. package/dist/collection-watchers/index.js.map +1 -1
  24. package/dist/{discovery-DgZRmO7F.cjs → discovery-CYIV1J5l.cjs} +25 -42
  25. package/dist/{discovery-DgZRmO7F.cjs.map → discovery-CYIV1J5l.cjs.map} +1 -1
  26. package/dist/{discovery-CbwHtcwk.js → discovery-duLlygnJ.js} +24 -41
  27. package/dist/{discovery-CbwHtcwk.js.map → discovery-duLlygnJ.js.map} +1 -1
  28. package/dist/{dist-BZ62pKuU.cjs → dist-734JaRYi.cjs} +2 -4
  29. package/dist/{dist-BZ62pKuU.cjs.map → dist-734JaRYi.cjs.map} +1 -1
  30. package/dist/{dist-MFUV9FYo.js → dist-BmO4oSQy.js} +2 -4
  31. package/dist/{dist-MFUV9FYo.js.map → dist-BmO4oSQy.js.map} +1 -1
  32. package/dist/errorMessage-D0kR547_.cjs +1 -0
  33. package/dist/errorMessage-TpKxrmeo.js +1 -0
  34. package/dist/{errors-zTAsW7dS.js → errors-0QwjDxsv.js} +3 -4
  35. package/dist/{errors-zTAsW7dS.js.map → errors-0QwjDxsv.js.map} +1 -1
  36. package/dist/{errors-B0xloJ3E.cjs → errors-B9mCEVG9.cjs} +3 -4
  37. package/dist/{errors-B0xloJ3E.cjs.map → errors-B9mCEVG9.cjs.map} +1 -1
  38. package/dist/feeds/index.cjs +2 -2
  39. package/dist/feeds/index.js +2 -2
  40. package/dist/feeds/paths.cjs +2 -3
  41. package/dist/feeds/paths.js +1 -2
  42. package/dist/feeds/server/index.cjs +23 -37
  43. package/dist/feeds/server/index.cjs.map +1 -1
  44. package/dist/feeds/server/index.js +22 -36
  45. package/dist/feeds/server/index.js.map +1 -1
  46. package/dist/file-change/index.cjs +2 -3
  47. package/dist/file-change/index.js +1 -2
  48. package/dist/files/index.cjs +136 -11
  49. package/dist/files/index.cjs.map +1 -1
  50. package/dist/files/index.d.ts +1 -0
  51. package/dist/files/index.js +132 -12
  52. package/dist/files/index.js.map +1 -1
  53. package/dist/files/verified.d.ts +28 -0
  54. package/dist/global-config/index.cjs +3 -5
  55. package/dist/global-config/index.cjs.map +1 -1
  56. package/dist/global-config/index.js +3 -5
  57. package/dist/global-config/index.js.map +1 -1
  58. package/dist/google/index.cjs +38 -67
  59. package/dist/google/index.cjs.map +1 -1
  60. package/dist/google/index.js +37 -66
  61. package/dist/google/index.js.map +1 -1
  62. package/dist/{graph-CURotEkH.cjs → graph-BvVMZfDV.cjs} +6 -11
  63. package/dist/{graph-CURotEkH.cjs.map → graph-BvVMZfDV.cjs.map} +1 -1
  64. package/dist/{graph-DBxSOx3v.js → graph-DBbzemby.js} +6 -11
  65. package/dist/{graph-DBxSOx3v.js.map → graph-DBbzemby.js.map} +1 -1
  66. package/dist/{iconGlyph-fSBp6k4J.cjs → iconGlyph-CFOiFsmq.cjs} +2 -3
  67. package/dist/{iconGlyph-fSBp6k4J.cjs.map → iconGlyph-CFOiFsmq.cjs.map} +1 -1
  68. package/dist/{iconGlyph-D8JeNg7R.js → iconGlyph-D9h__VaM.js} +2 -3
  69. package/dist/{iconGlyph-D8JeNg7R.js.map → iconGlyph-D9h__VaM.js.map} +1 -1
  70. package/dist/{ingestTypes-DS9HiR2I.cjs → ingestTypes-CLDvn7kw.cjs} +3 -4
  71. package/dist/{ingestTypes-DS9HiR2I.cjs.map → ingestTypes-CLDvn7kw.cjs.map} +1 -1
  72. package/dist/{ingestTypes-Bs31Xt5c.js → ingestTypes-DuXuSBSn.js} +3 -4
  73. package/dist/{ingestTypes-Bs31Xt5c.js.map → ingestTypes-DuXuSBSn.js.map} +1 -1
  74. package/dist/{itemId-CVrNibwT.cjs → itemId-D2XAQ8RU.cjs} +9 -17
  75. package/dist/{itemId-CVrNibwT.cjs.map → itemId-D2XAQ8RU.cjs.map} +1 -1
  76. package/dist/{itemId-C9s-Jd5s.js → itemId-D_pSpa3U.js} +9 -17
  77. package/dist/{itemId-C9s-Jd5s.js.map → itemId-D_pSpa3U.js.map} +1 -1
  78. package/dist/{listen-N_8XdKz_.cjs → listen-OmfLDX1l.cjs} +3 -4
  79. package/dist/{listen-N_8XdKz_.cjs.map → listen-OmfLDX1l.cjs.map} +1 -1
  80. package/dist/{listen-DUlzSOzX.js → listen-uiEnXcW9.js} +3 -4
  81. package/dist/{listen-DUlzSOzX.js.map → listen-uiEnXcW9.js.map} +1 -1
  82. package/dist/notifier/index.cjs +1 -1
  83. package/dist/notifier/index.js +1 -1
  84. package/dist/{notifier-CiemUClt.cjs → notifier-CRTk34EC.cjs} +6 -10
  85. package/dist/{notifier-CiemUClt.cjs.map → notifier-CRTk34EC.cjs.map} +1 -1
  86. package/dist/{notifier-dgkC-h80.js → notifier-htdf4ekH.js} +6 -10
  87. package/dist/{notifier-dgkC-h80.js.map → notifier-htdf4ekH.js.map} +1 -1
  88. package/dist/{paths-CkJxNZ7T.js → paths-BMQNHdaJ.js} +2 -3
  89. package/dist/{paths-CkJxNZ7T.js.map → paths-BMQNHdaJ.js.map} +1 -1
  90. package/dist/{paths-C8-jxR0s.cjs → paths-DUHAueEv.cjs} +2 -3
  91. package/dist/{paths-C8-jxR0s.cjs.map → paths-DUHAueEv.cjs.map} +1 -1
  92. package/dist/plugin-vue/i18n.cjs +1 -2
  93. package/dist/plugin-vue/i18n.js +1 -2
  94. package/dist/plugin-vue/index.cjs +9 -17
  95. package/dist/plugin-vue/index.cjs.map +1 -1
  96. package/dist/plugin-vue/index.js +9 -17
  97. package/dist/plugin-vue/index.js.map +1 -1
  98. package/dist/{project-C1ep9pvo.cjs → project-DDTIVEMU.cjs} +2 -3
  99. package/dist/{project-C1ep9pvo.cjs.map → project-DDTIVEMU.cjs.map} +1 -1
  100. package/dist/{project-B0j_Vf_Q.js → project-mU6-xLfy.js} +2 -3
  101. package/dist/{project-B0j_Vf_Q.js.map → project-mU6-xLfy.js.map} +1 -1
  102. package/dist/prompt-files/index.cjs +4 -6
  103. package/dist/prompt-files/index.cjs.map +1 -1
  104. package/dist/prompt-files/index.js +3 -5
  105. package/dist/prompt-files/index.js.map +1 -1
  106. package/dist/{promptSafety-DFaOnOWN.js → promptSafety-B8LECAkY.js} +14 -25
  107. package/dist/{promptSafety-DFaOnOWN.js.map → promptSafety-B8LECAkY.js.map} +1 -1
  108. package/dist/{promptSafety-yET9jLep.cjs → promptSafety-CjxafW2b.cjs} +14 -25
  109. package/dist/{promptSafety-yET9jLep.cjs.map → promptSafety-CjxafW2b.cjs.map} +1 -1
  110. package/dist/{relPath-DW8MC8VO.js → relPath-BkKmqiiF.js} +2 -3
  111. package/dist/{relPath-DW8MC8VO.js.map → relPath-BkKmqiiF.js.map} +1 -1
  112. package/dist/{relPath-CTAjGdCL.cjs → relPath-CZiP2S_a.cjs} +3 -4
  113. package/dist/{relPath-CTAjGdCL.cjs.map → relPath-CZiP2S_a.cjs.map} +1 -1
  114. package/dist/remote-host/index.cjs +1 -1
  115. package/dist/remote-host/index.js +1 -1
  116. package/dist/remote-host/server/index.cjs +14 -25
  117. package/dist/remote-host/server/index.cjs.map +1 -1
  118. package/dist/remote-host/server/index.js +14 -25
  119. package/dist/remote-host/server/index.js.map +1 -1
  120. package/dist/{remote-host-CR5W9uj4.cjs → remote-host-BW_eH-Nu.cjs} +4 -6
  121. package/dist/{remote-host-CR5W9uj4.cjs.map → remote-host-BW_eH-Nu.cjs.map} +1 -1
  122. package/dist/{remote-host-9NNAvUhU.js → remote-host-CSeDNbE6.js} +4 -6
  123. package/dist/{remote-host-9NNAvUhU.js.map → remote-host-CSeDNbE6.js.map} +1 -1
  124. package/dist/remote-view/index.cjs +3 -4
  125. package/dist/remote-view/index.js +3 -4
  126. package/dist/{rolldown-runtime-VH7oDXx4.cjs → rolldown-runtime-CmQyd0Gu.cjs} +1 -2
  127. package/dist/{root-BvwBUcol.cjs → root-9lRFeXbm.cjs} +10 -6
  128. package/dist/{root-BvwBUcol.cjs.map → root-9lRFeXbm.cjs.map} +1 -1
  129. package/dist/{root-BcS4-Kge.js → root-CqxPNSyK.js} +4 -6
  130. package/dist/{root-BcS4-Kge.js.map → root-CqxPNSyK.js.map} +1 -1
  131. package/dist/scheduler/index.cjs +6 -9
  132. package/dist/scheduler/index.cjs.map +1 -1
  133. package/dist/scheduler/index.js +5 -8
  134. package/dist/scheduler/index.js.map +1 -1
  135. package/dist/{server-CJek9Y3Q.cjs → server-ByKWGQn2.cjs} +25 -41
  136. package/dist/{server-CJek9Y3Q.cjs.map → server-ByKWGQn2.cjs.map} +1 -1
  137. package/dist/{server-BtbbQqBY.js → server-CA-alqqN.js} +24 -40
  138. package/dist/{server-BtbbQqBY.js.map → server-CA-alqqN.js.map} +1 -1
  139. package/dist/skill-bridge/index.cjs +3 -4
  140. package/dist/skill-bridge/index.js +2 -3
  141. package/dist/{slug-BpjumQfe.js → slug-D24AYqCZ.js} +2 -3
  142. package/dist/{slug-BpjumQfe.js.map → slug-D24AYqCZ.js.map} +1 -1
  143. package/dist/{slug-JxgB0ru9.cjs → slug-DVkuPjIv.cjs} +2 -3
  144. package/dist/{slug-JxgB0ru9.cjs.map → slug-DVkuPjIv.cjs.map} +1 -1
  145. package/dist/{templatePath-27vUZowm.cjs → templatePath-BIh7wqgS.cjs} +2 -3
  146. package/dist/{templatePath-27vUZowm.cjs.map → templatePath-BIh7wqgS.cjs.map} +1 -1
  147. package/dist/{templatePath-k_WNbL_Q.js → templatePath-CB3wtVpe.js} +2 -3
  148. package/dist/{templatePath-k_WNbL_Q.js.map → templatePath-CB3wtVpe.js.map} +1 -1
  149. package/dist/{text-CjDbP2O1.js → text-BQAuwKVj.js} +2 -3
  150. package/dist/{text-CjDbP2O1.js.map → text-BQAuwKVj.js.map} +1 -1
  151. package/dist/{text-CaAh9ZSO.cjs → text-BQiyo5R9.cjs} +2 -3
  152. package/dist/{text-CaAh9ZSO.cjs.map → text-BQiyo5R9.cjs.map} +1 -1
  153. package/dist/translation/client.cjs +1 -2
  154. package/dist/translation/client.js +1 -2
  155. package/dist/{types-BKVZrtyc.js → types-BLCZTGW2.js} +4 -7
  156. package/dist/{types-BKVZrtyc.js.map → types-BLCZTGW2.js.map} +1 -1
  157. package/dist/{types-CNqkLT4M.cjs → types-DPycxnDf.cjs} +4 -7
  158. package/dist/{types-CNqkLT4M.cjs.map → types-DPycxnDf.cjs.map} +1 -1
  159. package/dist/utils/fetch.cjs +0 -1
  160. package/dist/utils/fetch.js +0 -1
  161. package/dist/utils/index.cjs +3 -3
  162. package/dist/utils/index.js +3 -3
  163. package/dist/whisper/client.cjs +2 -4
  164. package/dist/whisper/client.cjs.map +1 -1
  165. package/dist/whisper/client.js +2 -4
  166. package/dist/whisper/client.js.map +1 -1
  167. package/dist/whisper/index.cjs +9 -15
  168. package/dist/whisper/index.cjs.map +1 -1
  169. package/dist/whisper/index.js +8 -14
  170. package/dist/whisper/index.js.map +1 -1
  171. package/dist/wiki/index.cjs +5 -7
  172. package/dist/wiki/index.cjs.map +1 -1
  173. package/dist/wiki/index.js +5 -7
  174. package/dist/wiki/index.js.map +1 -1
  175. package/dist/wiki/paths.cjs +3 -4
  176. package/dist/wiki/paths.js +2 -3
  177. package/dist/wiki/server/index.cjs +7 -11
  178. package/dist/wiki/server/index.cjs.map +1 -1
  179. package/dist/wiki/server/index.js +6 -10
  180. package/dist/wiki/server/index.js.map +1 -1
  181. package/dist/workspace-setup/index.js +4 -9
  182. package/dist/workspace-setup/index.js.map +1 -1
  183. package/dist/workspace-setup/slug.js +1 -2
  184. package/package.json +2 -2
  185. package/dist/errorMessage-OEQzRwsi.cjs +0 -1
  186. package/dist/errorMessage-VEiXHRnX.js +0 -1
@@ -1,10 +1,10 @@
1
- const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
2
- const require_dist = require("./dist-BZ62pKuU.cjs");
3
- const require_root = require("./root-BvwBUcol.cjs");
4
- const require_itemId = require("./itemId-CVrNibwT.cjs");
5
- const require_project = require("./project-C1ep9pvo.cjs");
6
- const require_listen = require("./listen-N_8XdKz_.cjs");
7
- const require_templatePath = require("./templatePath-27vUZowm.cjs");
1
+ const require_rolldown_runtime = require("./rolldown-runtime-CmQyd0Gu.cjs");
2
+ const require_dist = require("./dist-734JaRYi.cjs");
3
+ const require_root = require("./root-9lRFeXbm.cjs");
4
+ const require_itemId = require("./itemId-D2XAQ8RU.cjs");
5
+ const require_project = require("./project-DDTIVEMU.cjs");
6
+ const require_listen = require("./listen-OmfLDX1l.cjs");
7
+ const require_templatePath = require("./templatePath-BIh7wqgS.cjs");
8
8
  let node_fs = require("node:fs");
9
9
  let node_path = require("node:path");
10
10
  node_path = require_rolldown_runtime.__toESM(node_path, 1);
@@ -14,7 +14,7 @@ let node_os = require("node:os");
14
14
  let iconv_lite = require("iconv-lite");
15
15
  iconv_lite = require_rolldown_runtime.__toESM(iconv_lite, 1);
16
16
  let zod = require("zod");
17
- //#region src/host/hostSlot.ts
17
+ // src/host/hostSlot.ts
18
18
  function createHostSlot(name) {
19
19
  let current = null;
20
20
  const set = (value) => {
@@ -44,8 +44,7 @@ function createForwardingLogger(getLogger) {
44
44
  debug: (prefix, message, data) => getLogger()?.debug(prefix, message, data)
45
45
  };
46
46
  }
47
- //#endregion
48
- //#region src/collection/server/host.ts
47
+ // src/collection/server/host.ts
49
48
  /** `err.code` on the throw from `getWorkspaceRoot()` under an explicit-root
50
49
  * binding: this CALL is missing its `workspaceRoot` option. Exported because
51
50
  * the fix differs from a watcher root conflict — that one means another root's
@@ -247,8 +246,7 @@ function isPresetSlug(slug) {
247
246
  * `getWorkspaceRoot()`, which fails loudly because the engine cannot operate
248
247
  * without a workspace root. */
249
248
  var log = createForwardingLogger(() => hostSlot.peek()?.log ?? null);
250
- //#endregion
251
- //#region src/collection/server/backendAvailability.ts
249
+ // src/collection/server/backendAvailability.ts
252
250
  /** Thrown by a store when its engine or session cannot serve the request. */
253
251
  var BackendUnavailableError = class extends Error {
254
252
  constructor(message) {
@@ -259,8 +257,7 @@ var BackendUnavailableError = class extends Error {
259
257
  function isBackendUnavailable(err) {
260
258
  return err instanceof BackendUnavailableError;
261
259
  }
262
- //#endregion
263
- //#region src/collection/server/paths.ts
260
+ // src/collection/server/paths.ts
264
261
  var SCHEMA_FILE = "schema.json";
265
262
  /** Sanitise a user-supplied slug into a safe directory-name leaf.
266
263
  * Returns null for anything that fails the slug whitelist OR isn't a
@@ -382,8 +379,7 @@ function resolveTemplatePath(skillDir, templateRelPath) {
382
379
  if (!isContainedInRoot(resolved, skillDir)) return null;
383
380
  return resolved;
384
381
  }
385
- //#endregion
386
- //#region src/collection/server/storePage.ts
382
+ // src/collection/server/storePage.ts
387
383
  /** Project `fields` (+ the primary key, always) out of each record. Thin
388
384
  * server-typed alias over the shared isomorphic `projectRecordFields`
389
385
  * (../core/project.ts) — kept as the store layer's exported name. */
@@ -402,8 +398,7 @@ function pageFromFullRead(items, opts, primaryKey, truncated) {
402
398
  truncated
403
399
  };
404
400
  }
405
- //#endregion
406
- //#region src/collection/server/firestoreStore.ts
401
+ // src/collection/server/firestoreStore.ts
407
402
  /** What every operation throws when there is no live session. Worded as an
408
403
  * instruction because it surfaces straight to the user and the agent. */
409
404
  var NOT_CONNECTED = "shared collection unavailable: connect remote-host first — these records live in the app's Firestore, not in the workspace, so nothing can be read or written while the session is closed";
@@ -720,8 +715,7 @@ function firestoreStoreFor(collection, opts) {
720
715
  watch: async (onChange) => armSharedWatch(keyOf(collection), onChange)
721
716
  };
722
717
  }
723
- //#endregion
724
- //#region src/collection/server/appManifest.ts
718
+ // src/collection/server/appManifest.ts
725
719
  /** The app declaration's filename, at the repository root. */
726
720
  var APP_MANIFEST_FILE = "app.json";
727
721
  /** Read `<root>/app.json` and return its `aid`.
@@ -803,8 +797,7 @@ function appManifestReason(failure, root) {
803
797
  if (failure.kind === "unreadable") return `cannot read ${manifestPath}: ${failure.detail}`;
804
798
  return `${manifestPath} ${failure.detail}`;
805
799
  }
806
- //#endregion
807
- //#region src/collection/server/io.ts
800
+ // src/collection/server/io.ts
808
801
  /** True iff `filePath` exists and is a regular file (NOT a symlink).
809
802
  * Defends `listItems` / `readItem` against `*.json` symlinks placed
810
803
  * inside an otherwise-contained data dir — without this, a record
@@ -1027,8 +1020,7 @@ function resolveCreateItemId(schema, record) {
1027
1020
  const primaryRaw = record[schema.primaryKey];
1028
1021
  return typeof primaryRaw === "string" && primaryRaw.length > 0 ? primaryRaw : null;
1029
1022
  }
1030
- //#endregion
1031
- //#region src/collection/core/queryZ.ts
1023
+ // src/collection/core/queryZ.ts
1032
1024
  /** Result-column aliases double as SQL identifiers and JSON keys — keep
1033
1025
  * them to a conservative identifier charset so neither side needs
1034
1026
  * escaping gymnastics. */
@@ -1124,8 +1116,7 @@ var CollectionQueryZ = zod.z.object({
1124
1116
  message: "every `orderBy.field` must be a `groupBy` column or an aggregate alias",
1125
1117
  path: ["orderBy"]
1126
1118
  });
1127
- //#endregion
1128
- //#region src/collection/server/csvQuery.ts
1119
+ // src/collection/server/csvQuery.ts
1129
1120
  /** Double-quote a SQL identifier (CSV column name / result alias). */
1130
1121
  function quoteIdent(name) {
1131
1122
  return `"${name.replaceAll("\"", "\"\"")}"`;
@@ -1235,8 +1226,7 @@ function compileCsvQuery(query, primaryKey) {
1235
1226
  function compileJsonlQuery(query) {
1236
1227
  return compileQuery(query, `read_json(?, format='newline_delimited', sample_size=-1)`);
1237
1228
  }
1238
- //#endregion
1239
- //#region src/collection/server/csvStore.ts
1229
+ // src/collection/server/csvStore.ts
1240
1230
  /** `list()` row cap. Over-cap files are truncated with a warn — the v1
1241
1231
  * contract is "browse + per-record views", not full-table analytics. */
1242
1232
  var MAX_CSV_ROWS = 5e3;
@@ -1537,8 +1527,7 @@ async function csvRunQuery(absPath, primaryKey, query, workspaceRoot) {
1537
1527
  const { sql, params } = compileCsvQuery(query, primaryKey);
1538
1528
  return (await queryCsv(sql, [utf8Path, ...params])).map((row) => Object.fromEntries(Object.entries(row).map(([key, value]) => [key, normalizeCsvValue(value)])));
1539
1529
  }
1540
- //#endregion
1541
- //#region src/collection/server/watchFs.ts
1530
+ // src/collection/server/watchFs.ts
1542
1531
  /** An atomic file replace (editor save, `mv` over the target) surfaces as
1543
1532
  * 2-3 events. Collapse them so one user action reports one change. */
1544
1533
  var REPLACE_DEBOUNCE_MS = 300;
@@ -1620,8 +1609,7 @@ async function watchSingleFile(absPath, alsoAccept, onChange) {
1620
1609
  function closerFor(handle) {
1621
1610
  return handle === null ? null : () => handle.close();
1622
1611
  }
1623
- //#endregion
1624
- //#region src/collection/server/sqliteStore.ts
1612
+ // src/collection/server/sqliteStore.ts
1625
1613
  /** A constructor's parameter and return types are not observable at runtime,
1626
1614
  * so the check stops at "DatabaseSync is constructible" — the only member of
1627
1615
  * the module this store ever touches. */
@@ -1892,8 +1880,7 @@ function sqliteStoreFor(collection, opts) {
1892
1880
  watch: async (onChange) => closerFor(await watchSingleFile(file, (base, name) => name.startsWith(base), () => onChange({ kind: "collection" })))
1893
1881
  };
1894
1882
  }
1895
- //#endregion
1896
- //#region src/collection/server/store.ts
1883
+ // src/collection/server/store.ts
1897
1884
  /** The file store's stable order: lexicographic by record id (codepoint
1898
1885
  * compare — locale-independent). `listItems` returns readdir order, which
1899
1886
  * is filesystem-dependent; paging needs determinism. */
@@ -2009,8 +1996,7 @@ function resolveMutateSet(set, params) {
2009
1996
  }
2010
1997
  return resolved;
2011
1998
  }
2012
- //#endregion
2013
- //#region src/collection/core/schemaRules.ts
1999
+ // src/collection/core/schemaRules.ts
2014
2000
  var declaredField = (fields, name) => Object.hasOwn(fields, name) ? fields[name] : void 0;
2015
2001
  var isDateLike = (type) => type === "date" || type === "datetime";
2016
2002
  var isTimeStringField = (type) => type === "string" || type === "text";
@@ -2334,8 +2320,7 @@ function viewIdsAreSlugs(schema) {
2334
2320
  function viewIdsAreUnique(schema) {
2335
2321
  return hasUniqueIds(schema.views);
2336
2322
  }
2337
- //#endregion
2338
- //#region src/collection/core/schemaZ.ts
2323
+ // src/collection/core/schemaZ.ts
2339
2324
  /** Optional visibility predicate shared by actions and fields: the target
2340
2325
  * shows only when the open record's `field` (stringified) is one of `in`.
2341
2326
  * Domain-free — `field` is any non-empty key, `in` a non-empty array of
@@ -3076,8 +3061,7 @@ var CollectionSchemaZ = zod.z.preprocess((input, ctx) => {
3076
3061
  }
3077
3062
  return input;
3078
3063
  }, BareCollectionSchemaZ);
3079
- //#endregion
3080
- //#region src/collection/server/discovery.ts
3064
+ // src/collection/server/discovery.ts
3081
3065
  function applyFeedSchemaDefaults(parsed, slug) {
3082
3066
  if (!require_dist.isRecord(parsed)) return parsed;
3083
3067
  const icon = typeof parsed.icon === "string" && parsed.icon.trim().length > 0 ? parsed.icon : "dynamic_feed";
@@ -3364,7 +3348,6 @@ function toDetail(collection) {
3364
3348
  schema: collection.schema
3365
3349
  };
3366
3350
  }
3367
- //#endregion
3368
3351
  Object.defineProperty(exports, "APP_MANIFEST_FILE", {
3369
3352
  enumerable: true,
3370
3353
  get: function() {
@@ -3798,4 +3781,4 @@ Object.defineProperty(exports, "writeItem", {
3798
3781
  }
3799
3782
  });
3800
3783
 
3801
- //# sourceMappingURL=discovery-DgZRmO7F.cjs.map
3784
+ //# sourceMappingURL=discovery-CYIV1J5l.cjs.map