githolon 0.105.8 → 0.105.11
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/dev-server.mjs
CHANGED
|
@@ -2991,8 +2991,8 @@ function resolveGatewayOperation(spec, opName, method) {
|
|
|
2991
2991
|
|
|
2992
2992
|
// ../cloud/cloudflare-shell/src/kernel-registry.generated.ts
|
|
2993
2993
|
var DEPLOYED_KERNELS = [
|
|
2994
|
-
{ prefix: "
|
|
2995
|
-
{ prefix: "
|
|
2994
|
+
{ prefix: "7602d5c0", hash: "7602d5c014cbf79a1069ff0f542b7b5dd3dde6d4920f44e56710bbe23ee3257d", version: "kernel-7602d5c0", note: "production (this candidate)", features: ["compoundKeys", "capturedReads", "invariantGate", "surfacedMerge", "fieldProvenance", "nullSemantics", "attestedReads", "conflictSnapshots", "ownedAudience", "temporalEnum"] },
|
|
2995
|
+
{ prefix: "6e5e6d2f", hash: "6e5e6d2f655c0a951e8a04a2a4334131cc7237aa3ff8605d575c50598c2ee803", version: "kernel-6e5e6d2f", note: "test-mint (this candidate) \u2014 feature-equivalent to production", features: ["compoundKeys", "capturedReads", "invariantGate", "surfacedMerge", "fieldProvenance", "nullSemantics", "attestedReads", "conflictSnapshots", "ownedAudience", "temporalEnum"] }
|
|
2996
2996
|
];
|
|
2997
2997
|
|
|
2998
2998
|
// ../cloud/cloudflare-shell/src/staged-intents.ts
|
|
Binary file
|
|
Binary file
|
package/dist/full-cli.mjs
CHANGED
|
@@ -8180,7 +8180,7 @@ ${String(commit).toLowerCase()}`;
|
|
|
8180
8180
|
}));
|
|
8181
8181
|
await offerDirective(domain, OWNED_RECOVERY_COMPLETE_DIRECTIVE, {
|
|
8182
8182
|
requestId,
|
|
8183
|
-
|
|
8183
|
+
ownedCustody: String(prepared.ownedCustody || ""),
|
|
8184
8184
|
completedAt: Date.now()
|
|
8185
8185
|
}, { domainHash, actor: connectionPrincipal });
|
|
8186
8186
|
}
|
|
@@ -8203,21 +8203,17 @@ ${String(commit).toLowerCase()}`;
|
|
|
8203
8203
|
let orders = await ownedRecoveryOrdersRaw(recoveryPrincipal);
|
|
8204
8204
|
let order = orders.find((row) => row.ownerPrincipal === connectionPrincipal && row.deviceRequest === deviceRequest);
|
|
8205
8205
|
if (!order) {
|
|
8206
|
-
const
|
|
8207
|
-
queryBytes: qBytes({ op: "mint", typeTag: "NomosOwnedRecoveryOrder", nowMillis: Date.now() })
|
|
8208
|
-
}));
|
|
8209
|
-
const requestId2 = String(minted.id || "");
|
|
8210
|
-
const now = Date.now();
|
|
8211
|
-
await offerDirective(domain, OWNED_RECOVERY_REQUEST_DIRECTIVE, {
|
|
8212
|
-
requestId: requestId2,
|
|
8213
|
-
requestedBy: connectionPrincipal,
|
|
8214
|
-
requestedAt: now,
|
|
8215
|
-
scheduledAt: now,
|
|
8216
|
-
deadlineAt: now + 30 * 24 * 60 * 60 * 1e3,
|
|
8206
|
+
const accepted = await offerDirective(domain, OWNED_RECOVERY_REQUEST_DIRECTIVE, {
|
|
8217
8207
|
ownerPrincipal: connectionPrincipal,
|
|
8218
8208
|
recoveryPrincipal,
|
|
8219
8209
|
deviceRequest
|
|
8220
|
-
}, { domainHash, actor: connectionPrincipal });
|
|
8210
|
+
}, { domainHash, actor: connectionPrincipal, returnCreated: true });
|
|
8211
|
+
const requestId2 = accepted.created?.find(
|
|
8212
|
+
(ref) => ref.type === "NomosOwnedRecoveryOrder"
|
|
8213
|
+
)?.id ?? "";
|
|
8214
|
+
if (!requestId2) {
|
|
8215
|
+
throw new Error("owned recovery request was accepted without its created obligation reference");
|
|
8216
|
+
}
|
|
8221
8217
|
orders = await ownedRecoveryOrdersRaw(recoveryPrincipal);
|
|
8222
8218
|
order = orders.find((row) => row.requestId === requestId2) ?? {
|
|
8223
8219
|
id: requestId2,
|
|
@@ -8230,12 +8226,7 @@ ${String(commit).toLowerCase()}`;
|
|
|
8230
8226
|
}
|
|
8231
8227
|
const requestId = String(order.requestId || order.id || "");
|
|
8232
8228
|
if (order.status === "completed") {
|
|
8233
|
-
|
|
8234
|
-
try {
|
|
8235
|
-
receipt = JSON.parse(String(order.resultRef || "{}"));
|
|
8236
|
-
} catch {
|
|
8237
|
-
}
|
|
8238
|
-
const ownedCustody = String(receipt.ownedCustody || "");
|
|
8229
|
+
const ownedCustody = String(order.ownedCustody || "");
|
|
8239
8230
|
if (!ownedCustody) {
|
|
8240
8231
|
throw new OwnedRecoveryPendingError("Recovery is still being prepared; Nomos will continue safely.", {
|
|
8241
8232
|
workspace,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "githolon",
|
|
3
|
-
"version": "0.105.
|
|
3
|
+
"version": "0.105.11",
|
|
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",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@bjorn3/browser_wasi_shim": "0.4.2",
|
|
32
32
|
"@bufbuild/protobuf": "^2.13.0",
|
|
33
|
-
"@githolon/dsl": "^0.105.
|
|
33
|
+
"@githolon/dsl": "^0.105.11",
|
|
34
34
|
"isomorphic-git": "^1.38.4",
|
|
35
35
|
"tsx": "^4.19.2"
|
|
36
36
|
},
|