v0.2.0 — Windows (Claude Code) + hardening
Windows support (Claude Code) + OpenCode on macOS/Linux + reliability hardening.
Highlights since v0.1.0
- Windows — Claude Code (new).
witnessnow cross-compiles and runs on Windows (amd64 + arm64), andwitness install claudewires Claude Code natively: exec-form hooks pointing atwitness.exe(no shell/Git Bash needed), install into%LOCALAPPDATA%\witness, and user-PATH registration. Verified end-to-end on real Intel Windows. (#6, #9) - OpenCode (macOS/Linux). Full OpenCode runtime support — plugin + MCP + long-session distillation stability. (#3, #5)
- Self-healing data dir. The archive directory now adopts an existing install in place and only creates the new preferred name (
witness) on a fresh machine — the rename never orphans an existing archive. (#12)
Install
macOS / Linux — from a checkout:
./install.sh claude # or: opencodeWindows (Claude Code) — download witness-v0.2.0-windows-amd64.zip (Intel/AMD) or -arm64.zip, unzip to a witness\ folder, then from inside it:
.\witness.exe install claudeThe zip is self-contained (exe + prompt templates + the ~448 MB embedding model). Install copies everything into %LOCALAPPDATA%\witness and adds it to your PATH, so you can delete the download afterward.
Not yet supported
- OpenCode on Windows — the OpenCode plugin still relies on a shell shim; the native Windows path is designed but not built (tracked in #10). OpenCode works on macOS/Linux.
- Windows uninstall leaves the copied
%LOCALAPPDATA%\witnessfiles + PATH entry in place.
Notes
- Existing installs keep using
~/.local/share/claude-witness; fresh installs use~/.local/share/witness. Both are adopted automatically — no migration, no data loss. - Windows binaries are unsigned; SmartScreen may warn on first run ("More info → Run anyway").
Artifacts
- macOS/Linux: raw
witness-v0.2.0-<os>-<arch>binaries. - Windows: self-contained
witness-v0.2.0-windows-<arch>.zip(exe + prompts + model). SHA256SUMS.txtfor all of the above.
🤖 Generated with Claude Code