| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
- --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
|
| |
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
- 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
|
| |
|
|
|
| |
.cargo/config.toml defines pidfd_spawnp/pidfd_getpid as absolute zero for i686,
removing the version need while keeping std's NULL-check fallback.
|
| |
|
|
| |
Also fixes a 32-bit-only rlim_t mismatch found by building the target.
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
- 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
|
| |
|
|
|
| |
Invalid patterns explain themselves and point at fixed, rather than failing with
a bare regex error the model cannot act on.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|