Skip to content

unch v0.4.1

Choose a tag to compare

@github-actions github-actions released this 25 Apr 14:16
· 9 commits to main since this release
042b3e2

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 openrouter for index, search, and MCP, with unch 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.cpp models and remote OpenRouter models can coexist in the same .semsearch state
  • Added unch start mcp, a stdio MCP server exposing workspace_status, search_code, and index_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/yzma to v1.13.0, fixing first-run local indexing with the current downloaded llama.cpp runtime 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; use unch 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 unch and arguments start mcp, or run unch start mcp directly from the repository root
  • If you install from source, use go install github.com/uchebnick/unch/cmd/unch@v0.4.1