summaryrefslogtreecommitdiffstats
path: root/src/agent.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Licensesalmonik18 hours1-19/+27
|
* 0.12.1: accept `command` as an alias for `cmd` in bashsalmonik43 hours1-1/+21
| | | | | 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.11.0: /undo via git checkpoints, /compact, provider presets, leniency, ↵salmonik6 days1-1/+1
| | | | | | | | | | system CA - /undo resets to a git checkpoint taken before each turn - /compact summarises and rewrites the transcript (ADR 0003, the one sanctioned rewrite) - --provider presets for six OpenAI-compatible gateways, local ones lenient by default - --lenient and --system-ca - proxies already honoured via ureq; documented
* 0.9.0: distinguishable tool errors, separated stderr, configurable limitssalmonik6 days1-14/+25
| | | | | | | | | | | | 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-1/+14
| | | | | | | - 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-1/+12
| | | | | | | | | - --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.6.0: transcript viewer, turn summary, yolo floor, model/version recordssalmonik9 days1-2/+14
| | | | | | | - --show renders a session without locking it - status line summarises writes, commands and denials per turn - sessions record harness version; model switches are appended and listed - --yolo refuses $HOME and / unless AGENT686_ALLOW_HOME=1
* 0.5.0: visible step counter, one client per turn, docs correctedsalmonik9 days1-3/+12
| | | | Also fixes a 32-bit-only rlim_t mismatch found by building the target.
* 0.4.5: CLI validation, instruction scope, resume context, prompt hygienesalmonik9 days1-9/+37
| | | | | | | | | - session ids validated; missing flag values and conflicting flags are usage errors - -- terminator; usage goes to stderr - doctor sends a real session header - sessions record their starting cwd and warn when resumed elsewhere - AGENTS.md stops at the git root; no parent-directory injection - typeahead flush, Ctrl-C during prompts, NO_COLOR/TERM=dumb
* 0.4.4: file-tool correctnesssalmonik9 days1-8/+11
| | | | | | | | - read: regular files only, checked offset conversion on 32-bit - write/edit: atomic rename, re-read before apply, preserve mode - edit: CRLF files match and keep their line endings - grep: missing path is an error, skipped files are reported - glob: follows file symlinks
* 0.4.3: kill process groups, bound bash output, keep the key out of tool envsalmonik9 days1-4/+15
| | | | | | | - 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.1 + 0.4.2: abort integrity, stream completeness, tool-call indexingsalmonik9 days1-22/+134
| | | | | | | | - 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
* M1-M5: sessions, six tools, approvals, prompt, Ctrl-C, target gatesalmonik9 days1-20/+198
| | | | | | | | | | - 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
* M0: streaming provider, SSE decoder, mock provider, i686 build gatesalmonik9 days1-0/+67