summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 0.9.1: correctness fixes from the auditsalmonik6 days11-97/+214
| | | | | | | | | | - 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 days10-110/+373
| | | | | | | | | | | | 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.8.2: comp.sh defaults to this CPU, --portable for travelsalmonik9 days5-83/+161
| | | | | | | | - default build uses -C target-cpu=native, with the portable command printed alongside and the SIGILL consequence stated - fix x86-64 level detection: /proc/cpuinfo has 'abm' not 'lzcnt', and never 'osxsave', so a v3 CPU was reported as v2 - --old-glibc recipe carries the same CPU choice
* 0.8.0: comp.sh reports how to build for the machine it runs onsalmonik9 days7-13/+293
| | | | | | | | | | Detects distro, arch, libc/glibc, CPU baseline and toolchain, prints the target triple, build command, cfg values, and the portable paths (static musl, older glibc image, cargo-zigbuild). --run builds and checks; --musl and --old-glibc select the other plans. Verified: native gnu build needs GLIBC_2.34; static musl build runs on Debian 10 and reaches the live API.
* 0.7.1: drop argument-less tool calls, print each command oncesalmonik9 days7-11/+109
| | | | | | | - 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 days13-11/+327
| | | | | | | | | - --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.2: resizing no longer duplicates the promptsalmonik9 days6-11/+55
| | | | | | The terminal reflows the input block and moves the caret with it, so drawing on resize produced a second copy. Recompute the caret's row and let the next redraw work from the reflowed block. Documented the dependency on reflowing terminals.
* 0.6.1: redraw from the caret row, not the block heightsalmonik9 days5-15/+179
| | | | | | | | | A two-line prompt with the caret moved up made the next redraw overshoot by one row and clear the line above, erasing the model's output. The editor now tracks the caret's row. Adds scripts/ux-check.sh, which drives tmux and asserts the rendered screen: byte-level tests cannot see misplaced cursors or erased rows.
* 0.6.0: transcript viewer, turn summary, yolo floor, model/version recordssalmonik9 days12-52/+420
| | | | | | | - --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.3: session locking, UTF-8 and size guards for edit, correct character widthssalmonik9 days8-4/+129
| | | | | | - exclusive flock on session files - edit refuses non-UTF-8 and >64 MiB files with actionable messages - editor uses unicode-width, expands tabs, handles resize
* 0.5.2: lazy-wrap redraw, and reasoning ends its own linesalmonik9 days6-60/+168
| | | | | | | - layout models pending-wrap, so a prompt that fills a row exactly no longer clears the line above on the next redraw - the renderer closes a reasoning block with a newline only when it needs one - renderer is generic over Write, with tests for the line-break rules
* 0.5.1: silence the GLIBC_2.39 weak-version warning on the targetsalmonik9 days4-2/+24
| | | | | .cargo/config.toml defines pidfd_spawnp/pidfd_getpid as absolute zero for i686, removing the version need while keeping std's NULL-check fallback.
* 0.5.0: visible step counter, one client per turn, docs correctedsalmonik9 days11-56/+191
| | | | 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 days10-56/+369
| | | | | | | | | - 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 days6-65/+346
| | | | | | | | - 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 days11-38/+225
| | | | | | | - 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 days9-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
* 0.4.0: grep takes a regular expression, fixed=true for literalssalmonik9 days6-22/+153
| | | | | Invalid patterns explain themselves and point at fixed, rather than failing with a bare regex error the model cannot act on.
* 0.3.0: --version and --doctorsalmonik9 days9-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.
* 0.2.0: streaming line-range readssalmonik9 days6-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.
* Input editor: history, bracketed paste, in-line editingsalmonik9 days7-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
* docs: correct the context-window assumption in ADR 0002salmonik9 days1-2/+3
|
* Robustness: retry with backoff, explained errors, --list, --session createssalmonik9 days8-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
* M1-M5: sessions, six tools, approvals, prompt, Ctrl-C, target gatesalmonik10 days20-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
* M0: streaming provider, SSE decoder, mock provider, i686 build gatesalmonik10 days18-0/+1782