Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 4 additions & 0 deletions lib/keeper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ export type ImportAndPushOptions = {
/** Opt-in: project the signed attestation onto the pushed commit as a git note
* under `refs/notes/<notesRef>` (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
Expand Down Expand Up @@ -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 } : {}),
});
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
Loading