githolon 0.94.0 → 0.95.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/cli.mjs +32 -2
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
|
@@ -2727,7 +2727,37 @@ var init_engine = __esm({
|
|
|
2727
2727
|
branch: BRANCH,
|
|
2728
2728
|
queryBytes: b64Json({ op: "attestedRead", queryId, paramsJson: paramsJson || "{}", attestorSecret, nowMs: nowMs ?? Date.now(), sourceWorkspace: ws, ...includeRosterProof ? { includeRosterProof: true } : {} })
|
|
2729
2729
|
}, eng.STDERR));
|
|
2730
|
-
certSign = (eng, {
|
|
2730
|
+
certSign = (eng, {
|
|
2731
|
+
child,
|
|
2732
|
+
founder,
|
|
2733
|
+
verified,
|
|
2734
|
+
parentKey,
|
|
2735
|
+
parentId,
|
|
2736
|
+
epoch,
|
|
2737
|
+
secret,
|
|
2738
|
+
verifiedVia,
|
|
2739
|
+
idpToken,
|
|
2740
|
+
capturedClock,
|
|
2741
|
+
authProviderIssuer,
|
|
2742
|
+
authProviderJwks,
|
|
2743
|
+
authProviderAudience
|
|
2744
|
+
}) => JSON.parse(call(eng.ex, "query", { queryBytes: b64Json({
|
|
2745
|
+
op: "certSign",
|
|
2746
|
+
child,
|
|
2747
|
+
founder,
|
|
2748
|
+
verified,
|
|
2749
|
+
parentKey,
|
|
2750
|
+
parentId,
|
|
2751
|
+
epoch,
|
|
2752
|
+
secret,
|
|
2753
|
+
// forwarded only when present (the op reads them optionally; absent ⇒ classic cert bytes).
|
|
2754
|
+
...verifiedVia !== void 0 ? { verifiedVia } : {},
|
|
2755
|
+
...idpToken !== void 0 ? { idpToken } : {},
|
|
2756
|
+
...capturedClock !== void 0 ? { capturedClock } : {},
|
|
2757
|
+
...authProviderIssuer !== void 0 ? { authProviderIssuer } : {},
|
|
2758
|
+
...authProviderJwks !== void 0 ? { authProviderJwks } : {},
|
|
2759
|
+
...authProviderAudience !== void 0 ? { authProviderAudience } : {}
|
|
2760
|
+
}) }, eng.STDERR)).cert;
|
|
2731
2761
|
cryptoWrapKey = (eng, { recipientPub, scopeKey }) => JSON.parse(call(eng.ex, "query", { queryBytes: b64Json({ op: "cryptoWrapKey", recipientPub, scopeKey }) }, eng.STDERR));
|
|
2732
2762
|
cryptoUnwrapKey = (eng, { secret, hpkeEpk, ct }) => JSON.parse(call(eng.ex, "query", { queryBytes: b64Json({ op: "cryptoUnwrapKey", secret, hpkeEpk, ct }) }, eng.STDERR)).scopeKey;
|
|
2733
2763
|
readPosture = (eng, ws, principal = "", authToken = "", nowUnix = 0) => JSON.parse(call(eng.ex, "query", { repoArg: repoArgOf(ws), workspace: ws, queryBytes: b64Json({ op: "readPosture", authToken, nowUnix }), principal, branch: BRANCH }, eng.STDERR));
|
|
@@ -6574,7 +6604,7 @@ async function harnessInstall(opts) {
|
|
|
6574
6604
|
writeFileSync8(outPath, treeBytes);
|
|
6575
6605
|
process.stderr.write(`harness-install: snapshot written (${treeBytes.length} bytes) \u2192 ${outPath}
|
|
6576
6606
|
`);
|
|
6577
|
-
process.stdout.write(JSON.stringify({ ok: true, snapshot: outPath, workspace, lawHashes }) + "\n");
|
|
6607
|
+
process.stdout.write(JSON.stringify({ ok: true, snapshot: outPath, workspace, lawHashes, frameworkHash: eng.hashes.nomos }) + "\n");
|
|
6578
6608
|
return 0;
|
|
6579
6609
|
}
|
|
6580
6610
|
var STALE_RUNTIME_HINT, die;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "githolon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.95.0",
|
|
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.95.0",
|
|
33
|
+
"@githolon/dsl": "^0.95.0",
|
|
34
34
|
"isomorphic-git": "^1.38.4"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|