Repository navigation
v0.1.1
KAP v0.1.1
A patch release focused on reliability of the Claude Code path, plus the bugs reported after v0.1.0.
Reliability
- Hooks can no longer break an agent's turn. Malformed or empty input, a missing session id, or a
locked database used to surface as a failed hook in Claude Code. Hooks now always exit 0 and write
the failure to.kap/logs/hooks.log. - A duplicated tool call is recorded once. Event ids derive from the tool call's id.
- Writers wait for the database instead of failing with "database is locked" (5s timeout).
- Output is bounded: 8 MiB per stream, 16 MiB per snapshotted file, with truncation marked.
- A malformed object address is an error, not a panic.
Fixed
kap mergeno longer fails because of untracked files unrelated to the attempt.kap attempt cleanremoves a merged branch along with its worktree, and keeps an unmerged one.kap statuscounts uncommitted and untracked files, and says that hooks record nothing in the main
checkout.- File evidence is stored relative to the worktree and deduplicated by content, so a hook and the
stop snapshot no longer record the same edit twice. - Three stray files from a test run were removed from the tree.
Added
- Claude Code subagent tool calls are attributed: the subagent's id and type are stored with the
event. Schema migration 0008; existing stores migrate on open.
Install
macOS, Apple silicon:
curl -Ls https://github.com/Manifestro/kap/releases/download/v0.1.1/kap-aarch64-apple-darwin.tar.gz \
| tar -xz -C ~/.local/binkap-x86_64-apple-darwin.tar.gz for Intel, kap-x86_64-unknown-linux-gnu.tar.gz for Linux. Each
archive has a .sha256. Or build with cargo install --git https://github.com/Manifestro/kap --locked.