Repository navigation
v0.1.2
Added
- Tool call repair. Broken tool-call arguments are fixed before they reach the agent: JSON syntax (trailing or missing commas, raw line breaks and stray quotes in strings, single quotes, unquoted keys, Python literals, comments, a code fence or text around the object, missing closing brackets) and values that do not match the tool's schema (booleans, numbers and strings, arrays and objects sent as JSON strings). Nothing is invented: a guessed reading is only kept when every field is one the tool's schema declares, numbers that would lose digits are not converted, and an answer cut by the token limit is never repaired. On by default for Anthropic and Responses callers;
--tool-repair alladds/v1/chat/completions,--tool-repair offturns it off. Repairs are counted in the log line, never with content. - Library:
repairToolArguments,repairJson,coerceToSchema,toolSchemas,repairChatCompletion,createToolCallRepairStream, and arepairoption on the answer builders. - Tested setup guides for 12 coding agents in docs/guides: Claude Code, Codex CLI, OpenCode, Pi, Oh My Pi, Crush, Cline, Roo Code, Kilo Code, Continue, Aider and Goose.
- Field-by-field translation reference in docs/translation.md.
- Contributing guide and security policy.
Changed
- README reorganized: supported agents first, configuration in its own section, translation details moved to
docs/.
npm: https://www.npmjs.com/package/@voightxyz/router/v/0.1.2