<feed xmlns='http://www.w3.org/2005/Atom'>
<title>agent686/src/line.rs, branch 0.12.1</title>
<subtitle>Small agent harness with support for GNU/Linux x86_64 and i686 platforms.
</subtitle>
<id>https://git.2137697.xyz/agent686/atom?h=0.12.1</id>
<link rel='self' href='https://git.2137697.xyz/agent686/atom?h=0.12.1'/>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/'/>
<updated>2026-11-23T19:36:22Z</updated>
<entry>
<title>License</title>
<updated>2026-11-23T19:36:22Z</updated>
<author>
<name>salmonik</name>
<email>salmon@2137697.xyz</email>
</author>
<published>2026-11-23T19:36:22Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=e803aa488c3a95193d3e3ae358b640c299f8f121'/>
<id>urn:sha1:e803aa488c3a95193d3e3ae358b640c299f8f121</id>
<content type='text'>
</content>
</entry>
<entry>
<title>0.9.1: correctness fixes from the audit</title>
<updated>2026-11-18T11:28:29Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-18T11:28:29Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=84e70c0e73460e5db1297c47d02d9b76802bfdf7'/>
<id>urn:sha1:84e70c0e73460e5db1297c47d02d9b76802bfdf7</id>
<content type='text'>
- 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)
</content>
</entry>
<entry>
<title>0.6.2: resizing no longer duplicates the prompt</title>
<updated>2026-11-15T16:46:47Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T16:46:47Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=1eebc384f60b73f8c0dbcd2dbcb1ce578702be46'/>
<id>urn:sha1:1eebc384f60b73f8c0dbcd2dbcb1ce578702be46</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>0.6.1: redraw from the caret row, not the block height</title>
<updated>2026-11-15T16:43:11Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T16:43:11Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=371027a85f44470880b1436d59fa97774e9c8642'/>
<id>urn:sha1:371027a85f44470880b1436d59fa97774e9c8642</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>0.5.3: session locking, UTF-8 and size guards for edit, correct character widths</title>
<updated>2026-11-15T16:14:22Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T16:13:24Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=b7b01494926a134f39daf8102281889702ddf62b'/>
<id>urn:sha1:b7b01494926a134f39daf8102281889702ddf62b</id>
<content type='text'>
- exclusive flock on session files
- edit refuses non-UTF-8 and &gt;64 MiB files with actionable messages
- editor uses unicode-width, expands tabs, handles resize
</content>
</entry>
<entry>
<title>0.5.2: lazy-wrap redraw, and reasoning ends its own line</title>
<updated>2026-11-15T16:09:59Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T16:09:59Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=a05c142be27f8be9d570e60d58476143cf139d58'/>
<id>urn:sha1:a05c142be27f8be9d570e60d58476143cf139d58</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>0.4.3: kill process groups, bound bash output, keep the key out of tool env</title>
<updated>2026-11-15T14:38:57Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T14:38:57Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=c7afd1ea752aeff0310ac7c6b78d091ac360c760'/>
<id>urn:sha1:c7afd1ea752aeff0310ac7c6b78d091ac360c760</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>Input editor: history, bracketed paste, in-line editing</title>
<updated>2026-11-15T14:07:45Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T14:07:45Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=37184044609997604bfa1ab08be356d8b4e5e19d'/>
<id>urn:sha1:37184044609997604bfa1ab08be356d8b4e5e19d</id>
<content type='text'>
- 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
</content>
</entry>
</feed>
