Skip to content

v0.5.0 — `klasp demo`, hook-conflict detection & the receipts plugin

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Jun 13:04
· 4 commits to main since this release
d6936cb

v0.5.0 — klasp demo, hook-conflict detection & the receipts plugin

Cross-surface hook-conflict detection, a receipts-gating reference plugin, and a zero-setup klasp demo.

Highlights

  • klasp demo — see klasp work without enrolling a repo (#69): a self-contained replay of a pre-recorded gate session. The replay harness drives the gate binary against a frozen snapshot, so the demo is deterministic across installs — the single most shareable ~20s of the pitch.
  • Hook-conflict detection for Claude Code (#92): ClaudeCodeSurface now fingerprints husky, lefthook, and pre-commit-framework hooks and emits a skip-with-notice instead of overwriting them — bringing the Claude surface to parity with Codex's existing conflict handling. klasp init --adopt keeps your existing hooks; no rip-and-replace.
  • klasp-plugin-agentic-flow receipts-completeness gate (#98): a reference plugin that reads .agentic-flow/ step receipts and blocks a commit/push when required flow steps are missing or stale — exercising the v0 subprocess plugin protocol end-to-end.
  • AgentSurface::install_with_warnings + doctor_check (#55): trait methods that replace stringly-typed dispatch in klasp install / klasp doctor. Surfaces now own their install-side warnings and per-surface doctor checks — the last ad-hoc string matching in the doctor path is gone.
  • klasp-core public text + fs modules (#125, #126): the managed-block hook writer (klasp_core::text) and filesystem helpers (klasp_core::fs) are now part of klasp-core's published API, so out-of-tree surfaces and plugins reuse the same hook read/render/install/uninstall primitives instead of reimplementing them.

Fixed

  • klasp doctor false-positive on managed-block hooks (#110): doctor reported FAIL hook[…] when a hook file had a managed block plus user-added trailing lines. Now only the managed-block region is compared; trailing content is ignored. Setup output also polished — redundant status lines collapsed, install confirmation consistent across surfaces.
  • PEP 440 normalisation in the release version bumper (#26): scripts/bump-source-versions.mjs now whitelists supported tag forms (X.Y.Z, -rc.N, -alpha.N, -beta.N) and errors clearly on unsupported forms instead of silently emitting a malformed PyPI version string.

Install

# Cargo
cargo install klasp

# npm
npm install -g @klasp-dev/klasp

# pip
pip install klasp

Or grab a prebuilt binary from the assets below (macOS arm64, Linux x86_64/arm64, Windows x86_64).

Docs


What's Changed

New Contributors

Full Changelog: v0.4.0...v0.5.0