ATC-83 Place avatars by ID through tmux's image placements #76

Merged
nelson merged 2 commits from ATC-83-placed-avatars into main 2026-11-13 21:04:12 -08:00
Owner

Work package: https://openproject.romaine.life/wp/ATC-83 (for https://openproject.romaine.life/wp/TMUX-211)

PR 2 of 2, held until PR 1 (nelsong6/at-tmux#153) is delivered: on a tmux without placed images, at-claude says once that avatars aren't shown.

at-claude no longer predicts what tmux does with an avatar. Avatars are now tmux image placements by ID (kitty graphics, one ID per row). The Screen places one the view put somewhere new, deletes one it took away, and clears every placement when it takes the alternate screen. Removed: the cursor tracking, the blanks written in place of clearings beside an avatar, the redraw guessing (where the duplicate-line and missing-avatar bugs lived), and the sixel encoder. Image support is now detected by tmux answering a kitty a=q before the device attributes.

Tests: the full suite passes, with new tests for placing, moving, replacing, deleting, chunking and the a=q notice. Run on a throwaway server with PR 1's tmux build: tmux's a=q answer reaches at-claude through ConPTY, and at-claude placed its avatars and deleted the Thinking avatar when the turn ended.

Work package: https://openproject.romaine.life/wp/ATC-83 (for https://openproject.romaine.life/wp/TMUX-211) PR 2 of 2, held until PR 1 (https://forgejo.romaine.life/nelsong6/at-tmux/pulls/153) is delivered: on a tmux without placed images, at-claude says once that avatars aren't shown. at-claude no longer predicts what tmux does with an avatar. Avatars are now tmux image placements by ID (kitty graphics, one ID per row). The Screen places one the view put somewhere new, deletes one it took away, and clears every placement when it takes the alternate screen. Removed: the cursor tracking, the blanks written in place of clearings beside an avatar, the redraw guessing (where the duplicate-line and missing-avatar bugs lived), and the sixel encoder. Image support is now detected by tmux answering a kitty `a=q` before the device attributes. Tests: the full suite passes, with new tests for placing, moving, replacing, deleting, chunking and the `a=q` notice. Run on a throwaway server with PR 1's tmux build: tmux's `a=q` answer reaches at-claude through ConPTY, and at-claude placed its avatars and deleted the Thinking avatar when the turn ended.
ATC-83 Place avatars by ID through tmux's image placements
Some checks failed
CI / changes (pull_request) Successful in 5s
CI / build (pull_request) Failing after 29s
CI / home-sync (pull_request) Failing after 0s
437ebf2aba
The Screen no longer predicts what tmux does with an image. Avatars are
tmux image placements by ID (kitty graphics, one ID a row): the Screen
places one the view put somewhere new, deletes one it took away, and
clears every placement on taking the alternate screen. tmux keeps a
placed image whatever frames write or clear over it (TMUX-212), so the
cursor tracking, the blanks written for clearings beside an avatar and
the redraw guessing are gone, with the sixel encoder. A terminal that
doesn't answer a=q before its device attributes says once that avatars
aren't shown.
ATC-83 gofmt the test imports
All checks were successful
CI / changes (pull_request) Successful in 4s
CI / build (pull_request) Successful in 3m24s
CI / pcs (pull_request) Has been skipped
CI / prune-releases (pull_request) Has been skipped
CI / home-sync (pull_request) Successful in 0s
970686e6ed
nelson merged commit fe50548dfe into main 2026-11-13 21:04:12 -08:00
nelson deleted branch ATC-83-placed-avatars 2026-11-13 21:04:13 -08:00
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/at-claude!76
No description provided.