@m8t-stack/cli 0.2.122 → 0.2.123
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/cli.js +21 -8
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1454,7 +1454,7 @@ function installFoundryDnsShim() {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
|
|
1456
1456
|
// src/lib/package-version.ts
|
|
1457
|
-
var CLI_VERSION = "0.2.
|
|
1457
|
+
var CLI_VERSION = "0.2.123";
|
|
1458
1458
|
|
|
1459
1459
|
// src/lib/render-error.ts
|
|
1460
1460
|
init_errors();
|
|
@@ -24697,14 +24697,27 @@ function crossCheckContent(manifest, content) {
|
|
|
24697
24697
|
if (content.infra !== manifestInfra) {
|
|
24698
24698
|
problems.push({ field: "infra", baked: content.infra, manifest: manifestInfra });
|
|
24699
24699
|
}
|
|
24700
|
-
const manifestSeeds = seedSetRev(manifest);
|
|
24701
|
-
if (content.brainSeedsRev !== manifestSeeds) {
|
|
24702
|
-
problems.push({ field: "brainSeeds", baked: content.brainSeedsRev, manifest: manifestSeeds });
|
|
24703
|
-
}
|
|
24704
24700
|
for (const [name, item] of Object.entries(manifest.components.personas.items)) {
|
|
24705
|
-
|
|
24706
|
-
if (
|
|
24707
|
-
problems.push({ field: `personas.${name}`, baked:
|
|
24701
|
+
if (!Object.hasOwn(content.personas, name)) continue;
|
|
24702
|
+
if (content.personas[name] !== item.treeSha) {
|
|
24703
|
+
problems.push({ field: `personas.${name}`, baked: content.personas[name], manifest: item.treeSha });
|
|
24704
|
+
}
|
|
24705
|
+
}
|
|
24706
|
+
const manifestSeeds = manifest.components.brainSeeds.items;
|
|
24707
|
+
for (const entry of content.brainSeedsRev.split("|")) {
|
|
24708
|
+
if (!entry) continue;
|
|
24709
|
+
const first = entry.indexOf(":");
|
|
24710
|
+
const second = entry.indexOf(":", first + 1);
|
|
24711
|
+
if (first < 0 || second < 0) continue;
|
|
24712
|
+
const name = entry.slice(0, first);
|
|
24713
|
+
const sub = entry.slice(first + 1, second);
|
|
24714
|
+
const baked = entry.slice(second + 1);
|
|
24715
|
+
if (!Object.hasOwn(manifestSeeds, name)) continue;
|
|
24716
|
+
const subtrees = manifestSeeds[name].subtrees;
|
|
24717
|
+
if (!Object.hasOwn(subtrees, sub)) continue;
|
|
24718
|
+
const want = subtrees[sub] ?? "-";
|
|
24719
|
+
if (baked !== want) {
|
|
24720
|
+
problems.push({ field: `brainSeeds.${name}.${sub}`, baked, manifest: want });
|
|
24708
24721
|
}
|
|
24709
24722
|
}
|
|
24710
24723
|
return problems;
|