summaryrefslogtreecommitdiffstats
path: root/src/tools/mod.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 0.12.1: accept `command` as an alias for `cmd` in bashsalmonik2 days1-3/+7
| | | | | A field report showed ~40% of bash calls died on a one-word slip (command vs cmd); the alias removes the failure class instead of improving the error for it.
* 0.9.1: correctness fixes from the auditsalmonik6 days1-26/+32
| | | | | | | | | | - 64 MiB limit detected by file length, so pipelines and redirects are reported - bash temp files removed on every path via a scope guard - validate requires content/new as the schemas declare (present, may be empty) - Session::open folds in model-switch records; resume matches --list - combining mark at a wrap boundary no longer counts as a new row - --flag=value accepted; flag-shaped values rejected - dead code removed; last_reply folded into open (one read per resume)
* 0.9.0: distinguishable tool errors, separated stderr, configurable limitssalmonik6 days1-20/+54
| | | | | | | | | | | | From a field report porting a Neovim config to Helix: - validate() now separates 'empty value', 'wrong key (here is what you sent)' and 'no arguments at all, retry' instead of one false message for all four causes - named calls with no arguments are answered rather than dropped silently - bash keeps stdout and stderr in labelled sections when both produce output - bash gains timeout_seconds (1-600) and max_bytes, and says when output was cut - tool lines/results carry [step.call] labels when a step has several calls - invalid JSON errors include a preview of what arrived
* 0.7.1: drop argument-less tool calls, print each command oncesalmonik9 days1-0/+13
| | | | | | | - a name+no-arguments placeholder is removed before the assistant message is recorded, instead of prompting for an empty command - the bash prompt shows the command; the tool line shows only the name - the edit prompt no longer repeats the path already shown above
* 0.7.0: resume shows where you left off; no approval for unparsable callssalmonik9 days1-0/+24
| | | | | | | | | - --continue prints the last answer, or the last reasoning block if there was none - tool arguments are validated before prompting, so an empty bash call becomes an error for the model instead of a blank approval - empty placeholder tool calls are dropped and reported - sessions tolerate invalid UTF-8 lines from a torn write - AGENT686_DEBUG_STREAM=1 dumps SSE frames
* 0.4.3: kill process groups, bound bash output, keep the key out of tool envsalmonik9 days1-2/+2
| | | | | | | - setsid-style process group kill on timeout and on Ctrl-C - 64 MiB RLIMIT_FSIZE so a runaway command cannot fill /tmp - OPENCODE_API_KEY removed from child environment - sessions 0600/0700, history 0600 and trimmed
* 0.4.0: grep takes a regular expression, fixed=true for literalssalmonik9 days1-3/+4
| | | | | Invalid patterns explain themselves and point at fixed, rather than failing with a bare regex error the model cannot act on.
* M1-M5: sessions, six tools, approvals, prompt, Ctrl-C, target gatesalmonik10 days1-0/+148
- append-only JSONL sessions with --continue/--session; reasoning stored, stripped on replay - read/write/edit/grep/glob + bash with timeout and capped output - diff-preview approval for the first edit of a session, per-call approval for bash - system prompt frozen per session with AGENTS.md snapshot and change warning - SIGINT aborts the turn, second Ctrl-C exits - glibc gate ignores weak symbols; verified in linux/386 debian:12 - acceptance test (calculator in C) passes on both x86-64 and i386