@mulmoclaude/core 7.1.0 → 7.2.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 (57) hide show
  1. package/dist/collection/registry/server/index.cjs +6 -5
  2. package/dist/collection/registry/server/index.cjs.map +1 -1
  3. package/dist/collection/registry/server/index.js +6 -5
  4. package/dist/collection/registry/server/index.js.map +1 -1
  5. package/dist/collection/server/index.cjs +2 -2
  6. package/dist/collection/server/index.js +2 -2
  7. package/dist/collection-watchers/index.cjs +2 -2
  8. package/dist/collection-watchers/index.js +2 -2
  9. package/dist/containment-D_vAa6eT.js +40 -0
  10. package/dist/containment-D_vAa6eT.js.map +1 -0
  11. package/dist/containment-Dc3gO4wD.cjs +65 -0
  12. package/dist/containment-Dc3gO4wD.cjs.map +1 -0
  13. package/dist/{discovery-DR4GNqrp.js → discovery-BIQY56d1.js} +4 -4
  14. package/dist/discovery-BIQY56d1.js.map +1 -0
  15. package/dist/{discovery-BkCeYBf6.cjs → discovery-D3e3JaAv.cjs} +4 -4
  16. package/dist/discovery-D3e3JaAv.cjs.map +1 -0
  17. package/dist/feeds/server/index.cjs +2 -2
  18. package/dist/feeds/server/index.js +2 -2
  19. package/dist/files/containment.d.ts +9 -0
  20. package/dist/files/index.cjs +36 -10
  21. package/dist/files/index.cjs.map +1 -1
  22. package/dist/files/index.d.ts +2 -1
  23. package/dist/files/index.js +30 -5
  24. package/dist/files/index.js.map +1 -1
  25. package/dist/files/withinRoot.d.ts +0 -2
  26. package/dist/google/index.cjs +1 -1
  27. package/dist/google/index.js +1 -1
  28. package/dist/{server-CnCUBmSn.cjs → server-BGxmZppB.cjs} +4 -3
  29. package/dist/server-BGxmZppB.cjs.map +1 -0
  30. package/dist/{server-Dp5KWarO.js → server-MKJPGYKI.js} +4 -3
  31. package/dist/server-MKJPGYKI.js.map +1 -0
  32. package/dist/whisper/extra-args.d.ts +14 -0
  33. package/dist/whisper/index.cjs +76 -8
  34. package/dist/whisper/index.cjs.map +1 -1
  35. package/dist/whisper/index.js +76 -8
  36. package/dist/whisper/index.js.map +1 -1
  37. package/dist/whisper/sidecar-helpers.d.ts +3 -2
  38. package/dist/whisper/sidecar.d.ts +2 -2
  39. package/dist/wiki/server/index.cjs +5 -4
  40. package/dist/wiki/server/index.cjs.map +1 -1
  41. package/dist/wiki/server/index.js +3 -2
  42. package/dist/wiki/server/index.js.map +1 -1
  43. package/dist/withinRoot-CHPN9eHD.cjs +53 -0
  44. package/dist/withinRoot-CHPN9eHD.cjs.map +1 -0
  45. package/dist/withinRoot-CheaBWt0.js +42 -0
  46. package/dist/withinRoot-CheaBWt0.js.map +1 -0
  47. package/dist/workspace-setup/index.js +36 -2
  48. package/dist/workspace-setup/index.js.map +1 -1
  49. package/package.json +1 -1
  50. package/dist/discovery-BkCeYBf6.cjs.map +0 -1
  51. package/dist/discovery-DR4GNqrp.js.map +0 -1
  52. package/dist/server-CnCUBmSn.cjs.map +0 -1
  53. package/dist/server-Dp5KWarO.js.map +0 -1
  54. package/dist/withinRoot-Bbj6E-Lf.js +0 -84
  55. package/dist/withinRoot-Bbj6E-Lf.js.map +0 -1
  56. package/dist/withinRoot-FLjxC8oP.cjs +0 -121
  57. package/dist/withinRoot-FLjxC8oP.cjs.map +0 -1
@@ -1,6 +1,7 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-CmQyd0Gu.cjs");
2
2
  const require_dist = require("./dist-734JaRYi.cjs");
3
3
  const require_root = require("./root-9lRFeXbm.cjs");
4
+ const require_containment = require("./containment-Dc3gO4wD.cjs");
4
5
  const require_itemId = require("./itemId-D2XAQ8RU.cjs");
5
6
  const require_project = require("./project-DDTIVEMU.cjs");
6
7
  const require_listen = require("./listen-OmfLDX1l.cjs");
@@ -335,7 +336,7 @@ function isContainedInRoot(absPath, rootPath) {
335
336
  }
336
337
  const ancestorReal = realpathClosestAncestor(absPath);
337
338
  if (ancestorReal === null) return false;
338
- return isUnderRealRoot(ancestorReal, rootReal);
339
+ return require_containment.isInsideRoot(rootReal, ancestorReal);
339
340
  }
340
341
  /** The containment comparison itself, on two paths a caller has ALREADY
341
342
  * canonicalised. Exported because a caller holding a resolved path must not
@@ -347,8 +348,7 @@ function isContainedInRoot(absPath, rootPath) {
347
348
  * like it was outside it (#2972). Canonicalise both sides the same way, then
348
349
  * come here. */
349
350
  function isUnderRealRoot(realPath, realRoot) {
350
- if (realPath === realRoot) return true;
351
- return realPath.startsWith(realRoot + node_path.default.sep);
351
+ return require_containment.isWithinRoot(realRoot, realPath);
352
352
  }
353
353
  /** Resolve a schema-declared dataPath against `rootPath` (default:
354
354
  * the live workspace), refusing anything that escapes — absolute
@@ -3793,4 +3793,4 @@ Object.defineProperty(exports, "writeItem", {
3793
3793
  }
3794
3794
  });
3795
3795
 
3796
- //# sourceMappingURL=discovery-BkCeYBf6.cjs.map
3796
+ //# sourceMappingURL=discovery-D3e3JaAv.cjs.map