Releases: tovmeod/saferead
Release list
saferead 2026.6
First calendar-versioned release. Fixes the installer that the earlier 0.1.x releases shipped broken.
Fixed
uvx saferead installis now a true one-command setup. It bootstraps a permanent install (uv tool install saferead --upgrade) and writes the PreToolUse hook entry pointing at the permanent binary path (resolved viauv tool dir --bin) instead of the ephemeraluvxcache path that vanished when the process exited — the bug that made the shipped 0.1.x installer register a dead hook. (INST-01)- The interactive global-vs-project target prompt no longer crashes with
EOFErroron non-interactive or closed stdin; it falls back to the global default.--projectand an explicit settings-path argument still bypass the prompt.
Added
- Refuse-to-write guard: if no permanent binary path can be resolved (e.g.
uvis absent or the bootstrap fails), the installer prints actionable guidance and exits non-zero without touchingsettings.json, rather than registering a doomed hook.
Removed
- The
saferead updatesubcommand. Updating is now just re-runninguvx saferead install, which upgrades to the latest version and refreshes the hook entry in place.
Full changelog: https://github.com/tovmeod/saferead/blob/master/CHANGELOG.md
saferead 0.1.4
Fix: saferead install with no arguments now installs to the global settings non-interactively (the blocking [1]/[2] prompt is removed). --project and explicit-path forms unchanged.
saferead 0.1.3
Docs-only release: corrected install/usage instructions (uv tool install + full-path hook). Functionally identical to 0.1.0.
saferead 0.1.2
Docs-only release: uvx-only usage instructions on the PyPI page. Functionally identical to 0.1.0.
saferead 0.1.1
Docs-only release: ships the README as the PyPI project description. Functionally identical to 0.1.0.
saferead 0.1.0
First public release of saferead — a Claude Code PreToolUse hook that auto-approves known-safe read-only shell commands.