unch v0.4.1
unch v0.4.1
v0.4.1 is the publishable v0.4 release. It includes the v0.4 workflow expansion changes and fixes the release-blocking llama.cpp runtime ABI mismatch that broke the v0.4.0 tag smoke test.
Highlights
- Added
--provider openrouterforindex,search, and MCP, withunch auth openrouter --token ...for storing API keys outside the project tree - Added Rust Tree-sitter indexing for functions, methods, structs, traits, impl blocks, enums, modules, and attached docs
- Upgraded the local index schema to isolate snapshots by provider, model, and embedding dimension, so local
llama.cppmodels and remote OpenRouter models can coexist in the same.semsearchstate - Added
unch start mcp, a stdio MCP server exposingworkspace_status,search_code, andindex_repository - Added MCP initialize instructions that tell agents to check workspace status first, search before broad file reads, and rebuild the index only when needed
- Added npm wrapper installation support for the CLI and MCP entrypoint
- Updated
github.com/hybridgroup/yzmatov1.13.0, fixing first-run local indexing with the current downloadedllama.cppruntime archives
Upgrade notes
- Local index storage moves to schema version 2. Existing v1 indexes are reset automatically, so run
unch index --root .once after upgrading - OpenRouter credentials can be saved globally in
~/.config/unch/tokens.json; useunch auth openrouter --local --token ...only when you intentionally want repository-local credentials in.semsearch/tokens.json - MCP uses stdio only in this release. Configure clients with command
unchand argumentsstart mcp, or rununch start mcpdirectly from the repository root - If you install from source, use
go install github.com/uchebnick/unch/cmd/unch@v0.4.1