@mulmoclaude/core 2.0.0 → 2.0.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 (79) hide show
  1. package/assets/helps/error-recovery.md +32 -0
  2. package/dist/{atomic-C_7YpMiM.cjs → atomic-DhUk8uiM.cjs} +2 -2
  3. package/dist/{atomic-C_7YpMiM.cjs.map → atomic-DhUk8uiM.cjs.map} +1 -1
  4. package/dist/collection/registry/server/index.cjs +21 -26
  5. package/dist/collection/registry/server/index.cjs.map +1 -1
  6. package/dist/collection/registry/server/index.js +18 -23
  7. package/dist/collection/registry/server/index.js.map +1 -1
  8. package/dist/collection/server/index.cjs +2 -2
  9. package/dist/collection/server/index.js +2 -2
  10. package/dist/collection-watchers/index.cjs +3 -3
  11. package/dist/collection-watchers/index.cjs.map +1 -1
  12. package/dist/collection-watchers/index.js +3 -3
  13. package/dist/{discovery-DSLgRQhN.cjs → discovery-B_sHig7n.cjs} +5 -5
  14. package/dist/{discovery-DSLgRQhN.cjs.map → discovery-B_sHig7n.cjs.map} +1 -1
  15. package/dist/{discovery-BSedPW8A.js → discovery-BvnXyUel.js} +3 -3
  16. package/dist/{discovery-BSedPW8A.js.map → discovery-BvnXyUel.js.map} +1 -1
  17. package/dist/dist-CsgSfWwR.cjs.map +1 -1
  18. package/dist/dist-D8zokgGo.js.map +1 -1
  19. package/dist/feeds/paths.cjs +1 -1
  20. package/dist/feeds/server/index.cjs +5 -5
  21. package/dist/feeds/server/index.cjs.map +1 -1
  22. package/dist/feeds/server/index.js +4 -4
  23. package/dist/feeds/server/index.js.map +1 -1
  24. package/dist/file-change/index.cjs +1 -1
  25. package/dist/file-change/index.cjs.map +1 -1
  26. package/dist/files/index.cjs +3 -3
  27. package/dist/files/index.cjs.map +1 -1
  28. package/dist/google/index.cjs +7 -6
  29. package/dist/google/index.cjs.map +1 -1
  30. package/dist/google/index.js +5 -4
  31. package/dist/google/index.js.map +1 -1
  32. package/dist/notifier/index.cjs +1 -1
  33. package/dist/notifier/index.js +1 -1
  34. package/dist/{notifier-CKFVVwDP.cjs → notifier-DZJj0sOh.cjs} +2 -2
  35. package/dist/{notifier-CKFVVwDP.cjs.map → notifier-DZJj0sOh.cjs.map} +1 -1
  36. package/dist/{notifier-CQD8NljP.js → notifier-DhnwR82U.js} +2 -2
  37. package/dist/{notifier-CQD8NljP.js.map → notifier-DhnwR82U.js.map} +1 -1
  38. package/dist/plugin-vue/i18n.cjs.map +1 -1
  39. package/dist/plugin-vue/index.cjs +39 -10
  40. package/dist/plugin-vue/index.cjs.map +1 -1
  41. package/dist/plugin-vue/index.js +39 -10
  42. package/dist/plugin-vue/index.js.map +1 -1
  43. package/dist/{relPath-CgGi4-Nv.cjs → relPath-CTAjGdCL.cjs} +2 -2
  44. package/dist/{relPath-CgGi4-Nv.cjs.map → relPath-CTAjGdCL.cjs.map} +1 -1
  45. package/dist/remote-host/server/index.cjs +3 -2
  46. package/dist/remote-host/server/index.cjs.map +1 -1
  47. package/dist/remote-host/server/index.js +3 -2
  48. package/dist/remote-host/server/index.js.map +1 -1
  49. package/dist/remote-host-CtQjagPt.cjs.map +1 -1
  50. package/dist/{rolldown-runtime-D6vf50IK.cjs → rolldown-runtime-VH7oDXx4.cjs} +1 -1
  51. package/dist/scheduler/index.cjs +6 -4
  52. package/dist/scheduler/index.cjs.map +1 -1
  53. package/dist/scheduler/index.js +5 -3
  54. package/dist/scheduler/index.js.map +1 -1
  55. package/dist/{server-B78f_bnY.js → server-DJt6USBQ.js} +11 -7
  56. package/dist/{server-B78f_bnY.js.map → server-DJt6USBQ.js.map} +1 -1
  57. package/dist/{server-By4oSql2.cjs → server-DoyGZMPS.cjs} +14 -10
  58. package/dist/{server-By4oSql2.cjs.map → server-DoyGZMPS.cjs.map} +1 -1
  59. package/dist/skill-bridge/index.cjs +1 -1
  60. package/dist/skill-bridge/index.cjs.map +1 -1
  61. package/dist/utils/fetch.cjs +1 -1
  62. package/dist/utils/fetch.cjs.map +1 -1
  63. package/dist/utils/fetch.js +1 -1
  64. package/dist/utils/fetch.js.map +1 -1
  65. package/dist/whisper/client.cjs.map +1 -1
  66. package/dist/whisper/client.js.map +1 -1
  67. package/dist/whisper/index.cjs +1 -1
  68. package/dist/whisper/index.cjs.map +1 -1
  69. package/dist/wiki/index.cjs +2 -1
  70. package/dist/wiki/index.cjs.map +1 -1
  71. package/dist/wiki/index.js +2 -1
  72. package/dist/wiki/index.js.map +1 -1
  73. package/dist/wiki/paths.cjs +1 -1
  74. package/dist/wiki/server/index.cjs +5 -3
  75. package/dist/wiki/server/index.cjs.map +1 -1
  76. package/dist/wiki/server/index.js +4 -2
  77. package/dist/wiki/server/index.js.map +1 -1
  78. package/dist/workspace-setup/index.js.map +1 -1
  79. package/package.json +6 -6
@@ -745,7 +745,7 @@ function isMissingKeyColumnError(err) {
745
745
  /** Bytes sniffed for UTF-8 validity. The trailing 3 bytes of the sample
746
746
  * are dropped so a multibyte char split at the boundary can't produce a
747
747
  * false negative on a valid file. */
748
- var SNIFF_BYTES = 1024 * 1024;
748
+ var SNIFF_BYTES = 1048576;
749
749
  function isValidUtf8(buf) {
750
750
  try {
751
751
  new TextDecoder("utf-8", { fatal: true }).decode(buf);
@@ -864,7 +864,7 @@ async function ensureUtf8CsvPath(absPath, workspaceRoot) {
864
864
  const info = await safeCsvStat(absPath, workspaceRoot);
865
865
  if (info === null) return null;
866
866
  const head = await readHead(absPath, SNIFF_BYTES);
867
- const sample = head.length === SNIFF_BYTES ? head.subarray(0, SNIFF_BYTES - 3) : head;
867
+ const sample = head.length === SNIFF_BYTES ? head.subarray(0, 1048573) : head;
868
868
  if (!(head.length >= 2 && (head[0] === 255 && head[1] === 254 || head[0] === 254 && head[1] === 255)) && isValidUtf8(sample)) return absPath;
869
869
  return decodeToCache(absPath, info);
870
870
  }
@@ -2723,4 +2723,4 @@ function toDetail(collection) {
2723
2723
  //#endregion
2724
2724
  export { skillsStagingDir as $, deleteItem as A, itemFilePath as B, compileCsvQuery as C, MAX_QUERY_ROWS as D, DEFAULT_QUERY_ROWS as E, resolveCreateItemId as F, archiveDir as G, resolveTemplatePath as H, writeItem as I, getWorkspaceRoot as J, collectionsRegistriesConfigPath as K, SCHEMA_FILE as L, isRegularFile as M, listItems as N, BackendUnavailableError as O, readItem as P, setCollectionChangePublisher as Q, isContainedInRoot as R, queryCsv as S, CollectionQueryZ as T, safeRecordId as U, resolveDataDir as V, safeSlugName as W, log as X, isPresetSlug as Y, publishCollectionChange as Z, csvRowToItem as _, toDetail as a, encodeCsvRecordId as b, resolveMutateSet as c, storeFor as d, createForwardingLogger as et, checkpointSqliteDatabase as f, cacheDir as g, MAX_CSV_ROWS as h, resolvePrimaryField as i, generateItemId as j, isBackendUnavailable as k, collectionWritable as l, projectItemFields as m, discoverCollections as n, toSummary as o, pageFromFullRead as p, configureCollectionHost as q, loadCollection as r, CollectionSchemaZ as s, acceptParsedSchema as t, createHostSlot as tt, readOnlyRefusal as u, decodeCsvRecordId as v, compileJsonlQuery as w, normalizeCsvValue as x, dedupeByRecordId as y, isContainedInWorkspace as z };
2725
2725
 
2726
- //# sourceMappingURL=discovery-BSedPW8A.js.map
2726
+ //# sourceMappingURL=discovery-BvnXyUel.js.map