githolon 0.58.1 → 0.59.1
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.mjs +10 -3
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
|
@@ -2234,8 +2234,15 @@ async function runOfflineLegs(eng, ws, lawHash, legs, frameworkHash, deployUsda)
|
|
|
2234
2234
|
lines.push(`\u2713 spatial ${leg.spatial.id} \u2014 the created row answers the R*Tree probe (index membership proven)`);
|
|
2235
2235
|
}
|
|
2236
2236
|
}
|
|
2237
|
-
|
|
2238
|
-
|
|
2237
|
+
const allBirthLegs = legs.childBirths ?? (legs.childBirth !== void 0 ? [legs.childBirth] : []);
|
|
2238
|
+
const provenAsSetup = new Set(allBirthLegs.map((l) => l.parentSetup && `${l.parentSetup.parentDomain}/${l.parentSetup.birthDirectiveId}`).filter((s) => s !== void 0));
|
|
2239
|
+
const birthLegs = allBirthLegs.filter((l) => !provenAsSetup.has(`${l.parentDomain}/${l.birthDirectiveId}`));
|
|
2240
|
+
for (const [i, birthLeg] of birthLegs.entries()) {
|
|
2241
|
+
let cbWs = ws;
|
|
2242
|
+
if (i > 0 && deployUsda !== void 0) {
|
|
2243
|
+
cbWs = await mountIsolatedProofWs(eng, ws, lawHash, deployUsda);
|
|
2244
|
+
}
|
|
2245
|
+
const v = runChildBirthLeg(eng, cbWs, lawHash, birthLeg, frameworkHash);
|
|
2239
2246
|
lines.push(...v.legs);
|
|
2240
2247
|
if (!v.ok) return done(false, lines, v.error);
|
|
2241
2248
|
}
|
|
@@ -2248,7 +2255,7 @@ async function runOfflineLegs(eng, ws, lawHash, legs, frameworkHash, deployUsda)
|
|
|
2248
2255
|
lines.push(...v.legs);
|
|
2249
2256
|
if (!v.ok) return done(false, lines, v.error);
|
|
2250
2257
|
}
|
|
2251
|
-
if (legs.directiveId === void 0 &&
|
|
2258
|
+
if (legs.directiveId === void 0 && birthLegs.length === 0 && legs.relationBootstrap === void 0) {
|
|
2252
2259
|
lines.push(`\u2713 ${legs.domain} \u2014 compile-valid (the law compiled; no standalone create or .births() to prove a write)${kinds.length ? ` [${kinds.join(", ")}]` : ""}`);
|
|
2253
2260
|
}
|
|
2254
2261
|
return done(true, lines);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "githolon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "githolon — the Nomos developer CLI: Rails-style generators for @githolon/dsl domains + the package compiler. Kernel-independent.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@bjorn3/browser_wasi_shim": "0.4.2",
|
|
32
|
-
"@githolon/client": "^0.
|
|
33
|
-
"@githolon/dsl": "^0.
|
|
32
|
+
"@githolon/client": "^0.59.1",
|
|
33
|
+
"@githolon/dsl": "^0.59.1",
|
|
34
34
|
"isomorphic-git": "^1.38.4"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|