Repository navigation
nanocoder v1.22.3
What's Changed
-
Fix: Removed tool call deduplication from JSON parser that silently dropped duplicate tool calls, breaking the 1:1 pairing between tool calls and results expected by AI SDK. This caused "Tool result is missing for tool call" errors that would end the agent's turn prematurely. Consolidated three overlapping regex patterns into a single comprehensive pattern to prevent duplicate matches. Thanks to @cleyesode.
-
Fix: Added missing capture group for arguments in the consolidated JSON tool call regex pattern, which caused inline tool calls to have empty arguments instead of actual parsed values.
-
Fix: When the model batched read-only and write tools in a single response (e.g.
read_file+string_replace), the auto-executed read tools would recurse into the next conversation turn, abandoning the confirmation-needed write tools. This left orphanedtool_useblocks without matchingtool_resultentries, triggering intermittent "Tool result is missing for tool call" errors with the Anthropic provider. -
Dependency updates:
@ai-sdk/openai-compatible2.0.27,undici7.21.0,@biomejs/biome2.3.14,@types/vscode1.109.0,@types/node25.2.1.
Installation
npm install -g @nanocollective/nanocoderUsage
nanocoderFull Changelog: v1.22.2...v1.22.3