diff --git a/jsr.json b/jsr.json index 9b55398..c0783ac 100644 --- a/jsr.json +++ b/jsr.json @@ -1,6 +1,6 @@ { "name": "@bounded-systems/door-kit", - "version": "0.4.0", + "version": "0.5.0", "license": "PolyForm-Noncommercial-1.0.0", "exports": { "./keeper": "./lib/keeper.ts", diff --git a/lib/keeper.ts b/lib/keeper.ts index 97ad768..ede93fa 100644 --- a/lib/keeper.ts +++ b/lib/keeper.ts @@ -280,6 +280,9 @@ export type ImportAndPushOptions = { /** Opt-in: project the signed attestation onto the pushed commit as a git note * under `refs/notes/` (e.g. `"provenance"`) and push the notes ref. */ notesRef?: string; + /** Opt-in: the content-address of the box's L2 launch attestation, so the L3 + * write links back to its launch (capability chain: write → launch). */ + l2LaunchDigest?: string; }; /** keeperd's verdict for an import-and-push: `ok` carries the pushed identity @@ -313,6 +316,7 @@ export async function importAndPush( ...(options.pushArgs !== undefined ? { pushArgs: options.pushArgs } : {}), ...(options.ledgerRef !== undefined ? { ledgerRef: options.ledgerRef } : {}), ...(options.notesRef !== undefined ? { notesRef: options.notesRef } : {}), + ...(options.l2LaunchDigest !== undefined ? { l2LaunchDigest: options.l2LaunchDigest } : {}), }); } diff --git a/package.json b/package.json index 49aa3df..0c6c7c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bounded-systems/door-kit", - "version": "0.4.0", + "version": "0.5.0", "private": true, "type": "module", "description": "In-box door-client SDK for claude-box's capability doors (keeper/scout/concierge/spawn), over the guest-room protocol.",