githolon 0.101.2 → 0.101.3
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 +26 -2
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
|
@@ -6623,7 +6623,8 @@ __export(proof_offline_exports, {
|
|
|
6623
6623
|
runChildBirthLeg: () => runChildBirthLeg,
|
|
6624
6624
|
runOfflineLegs: () => runOfflineLegs,
|
|
6625
6625
|
runOfflineProofStandalone: () => runOfflineProofStandalone,
|
|
6626
|
-
runRelationBootstrapLeg: () => runRelationBootstrapLeg
|
|
6626
|
+
runRelationBootstrapLeg: () => runRelationBootstrapLeg,
|
|
6627
|
+
summarizeOfflineProofLines: () => summarizeOfflineProofLines
|
|
6627
6628
|
});
|
|
6628
6629
|
import { existsSync as existsSync7, readFileSync as readFileSync7 } from "node:fs";
|
|
6629
6630
|
import { createHash as createHash4 } from "node:crypto";
|
|
@@ -6676,6 +6677,29 @@ function parseOfflineLegs(proofSource) {
|
|
|
6676
6677
|
...countLeg !== void 0 ? { count: countLeg } : {}
|
|
6677
6678
|
};
|
|
6678
6679
|
}
|
|
6680
|
+
function summarizeOfflineProofLines(lines) {
|
|
6681
|
+
const diagnosticCounts = /* @__PURE__ */ new Map();
|
|
6682
|
+
for (const line of lines) {
|
|
6683
|
+
if (line.startsWith("\u2013 ")) {
|
|
6684
|
+
diagnosticCounts.set(line, (diagnosticCounts.get(line) ?? 0) + 1);
|
|
6685
|
+
}
|
|
6686
|
+
}
|
|
6687
|
+
const seenDiagnostics = /* @__PURE__ */ new Set();
|
|
6688
|
+
const summary = [];
|
|
6689
|
+
for (const line of lines) {
|
|
6690
|
+
if (!line.startsWith("\u2013 ")) {
|
|
6691
|
+
summary.push(line);
|
|
6692
|
+
continue;
|
|
6693
|
+
}
|
|
6694
|
+
if (seenDiagnostics.has(line)) continue;
|
|
6695
|
+
seenDiagnostics.add(line);
|
|
6696
|
+
const count2 = diagnosticCounts.get(line) ?? 1;
|
|
6697
|
+
summary.push(
|
|
6698
|
+
count2 > 1 ? `${line} (${count2} proof legs share this limitation; reported once)` : line
|
|
6699
|
+
);
|
|
6700
|
+
}
|
|
6701
|
+
return summary;
|
|
6702
|
+
}
|
|
6679
6703
|
async function mountIsolatedProofWs(eng, baseWs, lawHash, deployUsda) {
|
|
6680
6704
|
const iso = `${baseWs}-rb`;
|
|
6681
6705
|
await mountFresh(eng, iso);
|
|
@@ -7371,7 +7395,7 @@ async function runOfflineProofStandalone(proofPath, cloud, domain) {
|
|
|
7371
7395
|
author(eng, ws, "bootstrap", "installDomain", installPayload(eng.hashes.nomos, eng.nomosPkg, "githolon-proof"), "");
|
|
7372
7396
|
author(eng, ws, "nomos", "installDomain", installPayload(lawHash, deployBody.packageUsda, "githolon-proof"), eng.hashes.nomos);
|
|
7373
7397
|
const v = await runOfflineLegs(eng, ws, lawHash, legs, eng.hashes.nomos, deployBody.packageUsda);
|
|
7374
|
-
for (const l of v.legs) console.log(l);
|
|
7398
|
+
for (const l of summarizeOfflineProofLines(v.legs)) console.log(l);
|
|
7375
7399
|
if (!v.ok) {
|
|
7376
7400
|
console.error(`\u2717 ${v.error}`);
|
|
7377
7401
|
return 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "githolon",
|
|
3
|
-
"version": "0.101.
|
|
3
|
+
"version": "0.101.3",
|
|
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.101.
|
|
33
|
-
"@githolon/dsl": "^0.101.
|
|
32
|
+
"@githolon/client": "^0.101.3",
|
|
33
|
+
"@githolon/dsl": "^0.101.3",
|
|
34
34
|
"isomorphic-git": "^1.38.4"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|