@mulmoclaude/core 7.0.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.
- package/dist/collection/registry/server/index.cjs +6 -5
- package/dist/collection/registry/server/index.cjs.map +1 -1
- package/dist/collection/registry/server/index.js +6 -5
- package/dist/collection/registry/server/index.js.map +1 -1
- package/dist/collection/server/index.cjs +2 -2
- package/dist/collection/server/index.js +2 -2
- package/dist/collection-watchers/index.cjs +2 -2
- package/dist/collection-watchers/index.js +2 -2
- package/dist/containment-D_vAa6eT.js +40 -0
- package/dist/containment-D_vAa6eT.js.map +1 -0
- package/dist/containment-Dc3gO4wD.cjs +65 -0
- package/dist/containment-Dc3gO4wD.cjs.map +1 -0
- package/dist/{discovery-DR4GNqrp.js → discovery-BIQY56d1.js} +4 -4
- package/dist/discovery-BIQY56d1.js.map +1 -0
- package/dist/{discovery-BkCeYBf6.cjs → discovery-D3e3JaAv.cjs} +4 -4
- package/dist/discovery-D3e3JaAv.cjs.map +1 -0
- package/dist/feeds/server/index.cjs +2 -2
- package/dist/feeds/server/index.js +2 -2
- package/dist/files/containment.d.ts +9 -0
- package/dist/files/index.cjs +38 -8
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.d.ts +2 -0
- package/dist/files/index.js +30 -5
- package/dist/files/index.js.map +1 -1
- package/dist/files/withinRoot.d.ts +5 -0
- package/dist/google/index.cjs +1 -1
- package/dist/google/index.js +1 -1
- package/dist/{server-CnCUBmSn.cjs → server-BGxmZppB.cjs} +4 -3
- package/dist/server-BGxmZppB.cjs.map +1 -0
- package/dist/{server-Dp5KWarO.js → server-MKJPGYKI.js} +4 -3
- package/dist/server-MKJPGYKI.js.map +1 -0
- package/dist/whisper/extra-args.d.ts +14 -0
- package/dist/whisper/index.cjs +76 -8
- package/dist/whisper/index.cjs.map +1 -1
- package/dist/whisper/index.js +76 -8
- package/dist/whisper/index.js.map +1 -1
- package/dist/whisper/sidecar-helpers.d.ts +3 -2
- package/dist/whisper/sidecar.d.ts +2 -2
- package/dist/wiki/server/fs.d.ts +0 -7
- package/dist/wiki/server/index.cjs +7 -59
- package/dist/wiki/server/index.cjs.map +1 -1
- package/dist/wiki/server/index.js +8 -60
- package/dist/wiki/server/index.js.map +1 -1
- package/dist/withinRoot-CHPN9eHD.cjs +53 -0
- package/dist/withinRoot-CHPN9eHD.cjs.map +1 -0
- package/dist/withinRoot-CheaBWt0.js +42 -0
- package/dist/withinRoot-CheaBWt0.js.map +1 -0
- package/dist/workspace-setup/index.js +36 -2
- package/dist/workspace-setup/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/discovery-BkCeYBf6.cjs.map +0 -1
- package/dist/discovery-DR4GNqrp.js.map +0 -1
- package/dist/safe-D79sHxq1.cjs +0 -43
- package/dist/safe-D79sHxq1.cjs.map +0 -1
- package/dist/safe-DRNa8UBp.js +0 -30
- package/dist/safe-DRNa8UBp.js.map +0 -1
- package/dist/server-CnCUBmSn.cjs.map +0 -1
- package/dist/server-Dp5KWarO.js.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
|
|
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
|
-
|
|
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-
|
|
3796
|
+
//# sourceMappingURL=discovery-D3e3JaAv.cjs.map
|