summaryrefslogtreecommitdiffstats
path: root/src/main.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Format with rustfmtsalmonik17 hours1-14/+27
|
* Licensesalmonik18 hours1-0/+7
|
* 0.12.0: provider is a type + URL, plus a config filesalmonik5 days1-24/+22
| | | | | | | - --provider opencode|openai-compatible; opencode keeps the session header, openai-compatible needs a base URL and sends none - config file at ~/.config/agent686/config.toml (provider, url, model, flags) - fix the doubled-dash --provider help message
* 0.11.0: /undo via git checkpoints, /compact, provider presets, leniency, ↵salmonik6 days1-12/+103
| | | | | | | | | | 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.10.0: --json, /models /model /forget, git-repo gate for --yolosalmonik6 days1-17/+165
| | | | | | - --list/--show/--doctor gain --json for scripts - /models lists provider models, /model switches mid-session, /forget prunes sessions - --yolo refused outside a git repo (AGENT686_ALLOW_NOGIT=1 opts out)
* 0.9.2: doc accuracy and UX fixes from the reviewsalmonik6 days1-1/+2
| | | | | | | | - missing key exits 1, consistent with --doctor - HTML error bodies get a one-line message - no unapprovable diff printed on a non-terminal - weak GLIBC_2.39 fix covers x86_64 gnu as well as i686 - README/PLAN/CHANGELOG brought in line with the actual binary
* 0.9.1: correctness fixes from the auditsalmonik6 days1-5/+34
| | | | | | | | | | - 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.7.0: resume shows where you left off; no approval for unparsable callssalmonik9 days1-0/+43
| | | | | | | | | - --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/+219
| | | | | | | - --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.4.5: CLI validation, instruction scope, resume context, prompt hygienesalmonik9 days1-39/+138
| | | | | | | | | - 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.1 + 0.4.2: abort integrity, stream completeness, tool-call indexingsalmonik9 days1-3/+19
| | | | | | | | - 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.3.0: --version and --doctorsalmonik9 days1-0/+13
| | | | | | 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.
* Input editor: history, bracketed paste, in-line editingsalmonik9 days1-14/+20
| | | | | | | | | | - 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
* Robustness: retry with backoff, explained errors, --list, --session createssalmonik9 days1-1/+56
| | | | | | | | | - 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 gatesalmonik9 days1-55/+162
| | | | | | | | | | - 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/+136