summaryrefslogtreecommitdiffstats
path: root/src/tools/shell.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 0.9.1: correctness fixes from the auditsalmonik6 days1-4/+24
| | | | | | | | | | - 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-58/+127
| | | | | | | | | | | | 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.5.0: visible step counter, one client per turn, docs correctedsalmonik9 days1-2/+3
| | | | Also fixes a 32-bit-only rlim_t mismatch found by building the target.
* 0.4.3: kill process groups, bound bash output, keep the key out of tool envsalmonik9 days1-6/+61
| | | | | | | - 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
* M1-M5: sessions, six tools, approvals, prompt, Ctrl-C, target gatesalmonik10 days1-0/+129
- 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