From 059a1a697fff6a75316bf9e836031963fd82276d Mon Sep 17 00:00:00 2001 From: Robert DeLanghe <1240090+bdelanghe@users.noreply.github.com> Date: Tue, 23 Jun 2026 00:40:38 -0400 Subject: [PATCH] =?UTF-8?q?fix(keeper):=20importAndPush=20requires=20repo?= =?UTF-8?q?=20(forwarded)=20=E2=80=94=20v0.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit door-keeper import-and-push requires a repo (the daemon-side keeper clone) but ImportAndPushOptions omitted it — the wire path was incomplete (commit/push both take repo). Add repo (required, path-translated like commit/push). Surfaced by a live daemon e2e. Breaking for importAndPush callers → v0.6.0. Co-Authored-By: Claude Opus 4.8 (1M context) --- jsr.json | 2 +- lib/keeper.ts | 5 +++++ package.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/jsr.json b/jsr.json index 7d36666..41dd470 100644 --- a/jsr.json +++ b/jsr.json @@ -1,6 +1,6 @@ { "name": "@bounded-systems/door-kit", - "version": "0.5.2", + "version": "0.6.0", "license": "PolyForm-Noncommercial-1.0.0", "exports": { "./keeper": "./lib/keeper.ts", diff --git a/lib/keeper.ts b/lib/keeper.ts index a3e3148..a07f540 100644 --- a/lib/keeper.ts +++ b/lib/keeper.ts @@ -273,6 +273,10 @@ export async function push(options: PushOptions): Promise { /** Options for import-and-push: the host builds commits locally (keyless) and keeperd signs the push. */ export type ImportAndPushOptions = { + /** The repo keeperd imports the bundle into and pushes from (the daemon-side + * keeper clone; path-translated like `commit`/`push` via CLAUDE_BOX_HOST_REPO). + * Required — the daemon has no implicit repo. */ + repo: string; /** Commit-range git bundle (base64) carrying the new commits the host built. */ bundleBase64: string; /** The already-materialized commit the daemon imports as the tip and pushes. */ @@ -314,6 +318,7 @@ export async function importAndPush( ): Promise { return request("import-and-push", { kind: "import-and-push", + repo: translateRepoPath(options.repo), bundleBase64: options.bundleBase64, commitSha: options.commitSha, branch: options.branch, diff --git a/package.json b/package.json index 6a8bc4e..38851d4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bounded-systems/door-kit", - "version": "0.5.2", + "version": "0.6.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.",