aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Licensesalmonik22 hours1-1/+11
|
* 0.12.0: provider is a type + URL, plus a config filesalmonik5 days1-0/+3
| | | | | | | - --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-0/+2
| | | | | | | | | | 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.7.0: resume shows where you left off; no approval for unparsable callssalmonik9 days1-0/+25
| | | | | | | | | - --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.4.1 + 0.4.2: abort integrity, stream completeness, tool-call indexingsalmonik9 days1-0/+116
| | | | | | | | - 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
* Robustness: retry with backoff, explained errors, --list, --session createssalmonik9 days1-0/+131
| | | | | | | | | - 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 days1-0/+5
| | | | | | | | | | - 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 days1-0/+192