Repository navigation
v0.0.5
Release v0.0.5
New Features
Proxy-side Tool Search (regex / BM25) (#13)
Implement Anthropic's Tool Search Tool proxy-side since the Kiro backend does not support it natively. Supports both tool_search_tool_regex_20251119 and tool_search_tool_bm25_20251119 variants with defer_loading for on-demand tool discovery.
How it works:
- Client sends a tool search tool definition + tools with
defer_loading: true - Proxy partitions tools into active (sent to Kiro) and deferred (held for search)
- Proxy injects a
ToolSearchtool definition that Kiro can call - When the model calls
ToolSearch, the proxy intercepts the tool_use, executes regex or BM25 search against deferred tools, emitsserver_tool_use+tool_search_tool_resultSSE events to the client, and promotes discovered tools to active (up to 3 rounds) - When the model calls a regular tool or produces text, the response is forwarded normally
Code Improvements
- Add block type constants (
BlockTypeToolUse,BlockTypeServerToolUse, etc.) andIsToolUse()/IsToolResult()helpers to replace string literals across the codebase - Conversation history
tool_referenceextraction for automatic tool promotion across turns - Extract
writeStreamingOrJSONErrorhelper for reuse in tool search orchestrator - Empty visible end_turn (thinking-only) retry support for the tool search path
Upgrade Instructions
Homebrew
brew upgrade kiroccgo install
go install github.com/d-kuro/kirocc/cmd/kirocc@v0.0.5Full Changelog: v0.0.4...v0.0.5