aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tools.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
9 days0.4.3: kill process groups, bound bash output, keep the key out of tool envsalmonik1-22/+84
- 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
9 days0.4.1 + 0.4.2: abort integrity, stream completeness, tool-call indexingsalmonik9-65/+548
- an aborted multi-call step now answers every announced tool call - sessions with unanswered calls are repaired by appending results - a stream without [DONE]/finish_reason is an error, not an answer - tool call deltas keyed by index can no longer vanish or invent empty calls - one-shot exit codes: 130 aborted, 3 denied
9 days0.4.0: grep takes a regular expression, fixed=true for literalssalmonik6-22/+153
Invalid patterns explain themselves and point at fixed, rather than failing with a bare regex error the model cannot act on.
9 days0.3.0: --version and --doctorsalmonik9-20/+315
doctor reports key source, writable dirs, provider, model, then checks the key against GET /models and confirms the model id is listed. Non-zero exit on failure, so it can gate a deployment.
9 days0.2.0: streaming line-range readssalmonik6-34/+227
read seeks to offset with a buffered reader and consumes over-long lines without keeping them: 16 MB RSS on a 200 MB file, 0.8s to line 999000. Adds CHANGELOG and the versioning policy.
9 daysInput editor: history, bracketed paste, in-line editingsalmonik7-20/+737
- crossterm raw mode only for the duration of a prompt, so SIGINT keeps working during a turn - persisted history with prompt commands excluded and newlines escaped - bracketed paste inserts one multi-line buffer instead of firing N turns - ctrl-a/e/u/k/w editing, ctrl-c abandons the line, ctrl-d exits - ctrl-j submits, so pipes and pty harnesses work - width fallback: a 0-column pty is 80 columns, not 1
9 daysdocs: correct the context-window assumption in ADR 0002salmonik1-2/+3
9 daysRobustness: retry with backoff, explained errors, --list, --session createssalmonik8-38/+503
- four attempts on 408/425/429/500/502/503/504 and transport errors, honouring Retry-After - backoff is interruptible so Ctrl-C is not held for up to 8s - context overflow, auth failure and rate limit messages say what to do - --list shows id/model/messages/age without needing a key - --session <id> creates the session when the id does not exist - probes recorded: session header is mandatory, consecutive user messages allowed
10 daysM1-M5: sessions, six tools, approvals, prompt, Ctrl-C, target gatesalmonik20-155/+2061
- 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