mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-14 04:12:08 +00:00
Edit and Write already carried Kimi-specific descriptions; the other four built-ins were still fabro's one-liners, roughly 150-220 characters against Kimi Code's 1-5KB. Port Bash, Read, Grep, and Glob the same way. Bash is the largest and the most useful: most of its length is an explicit translation table steering shell usage to the dedicated tools -- cat to Read, sed to Edit, find to Glob, grep to Grep -- under the names this profile exposes. It also states that each call runs in a fresh bash process, so `cd` and environment variables do not persist, and that a command which timed out needs a raised `timeout_ms` rather than a retry. Two of the observed K3 tool failures were shell timeouts. The port stays subtractive. Kimi Code's Bash documents background execution, TaskOutput, TaskStop, and a `cwd` argument; fabro's shell has none of those, so none of it is claimed. Read drops Kimi Code's media and paging specifics that do not match fabro's offset/limit, and gains the fact that reading a file is what clears it for writing. Grep deliberately does not promise ripgrep syntax: fabro falls back to POSIX grep when rg is absent, so the description asks for portable patterns instead. Bash quotes the timeouts this profile actually enforces by interpolating them from NativeToolOptions, so the description cannot drift from behavior. Tests assert the interpolation rendered, that the translation table names the exposed tools, and that no background-execution guidance leaked in. Parameter names stay fabro's. Kimi Code's differ (`path` and `line_offset` where fabro has `file_path` and `offset`), but across roughly 1200 tool calls in two observed K3 runs there were no schema or missing-parameter errors, so the model reads the schema it is given. Renaming parameters would be churn against a hypothesis the data does not support. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apps | ||
| components | ||
| foundation | ||
| packages/fabro-api-client | ||