at-claude v1: transcript, composer and tool calls over claude stream-json #1

Merged
nelson merged 1 commit from ATC-2-v1 into main 2026-11-09 18:51:04 -08:00
Owner

Work package: https://openproject.romaine.life/wp/ATC-2

at-claude v1: a Go terminal harness that runs the claude binary over stream-json and draws the conversation with Bubble Tea in inline mode. Finished messages and tool calls go into the terminal's scrollback; a fixed-height dock holds what's streaming, running tools, queued messages, the status line and the composer. It has the fzt palette on Ctrl+P, an info pane, a log, crash recovery that continues the session, a job object that ends claude with it, and CI that tests, signs and releases from main.

Checked in a throwaway tmux against real haiku turns: tool calls, long streamed answers, queueing during a turn, interrupt, the palette and info pane, a claude crash continued with context intact, and a hard kill of at-claude taking claude and its tools with it. The dock keeps one height because Bubble Tea v2 leaves stale frames in the scrollback when an inline view changes height (bubbletea#1736, #1883); that is the one place the library's limits shaped the design.

This is PR 1 of 2: home-sync's entry for it follows the first release, then the at-menu entry.

Work package: https://openproject.romaine.life/wp/ATC-2 at-claude v1: a Go terminal harness that runs the `claude` binary over stream-json and draws the conversation with Bubble Tea in inline mode. Finished messages and tool calls go into the terminal's scrollback; a fixed-height dock holds what's streaming, running tools, queued messages, the status line and the composer. It has the fzt palette on Ctrl+P, an info pane, a log, crash recovery that continues the session, a job object that ends claude with it, and CI that tests, signs and releases from main. Checked in a throwaway tmux against real haiku turns: tool calls, long streamed answers, queueing during a turn, interrupt, the palette and info pane, a claude crash continued with context intact, and a hard kill of at-claude taking claude and its tools with it. The dock keeps one height because Bubble Tea v2 leaves stale frames in the scrollback when an inline view changes height (bubbletea#1736, #1883); that is the one place the library's limits shaped the design. This is PR 1 of 2: home-sync's entry for it follows the first release, then the at-menu entry.
at-claude v1: transcript, composer and tool calls over claude stream-json (ATC-2)
All checks were successful
CI / build (pull_request) Successful in 1m41s
CI / pcs (pull_request) Has been skipped
CI / home-sync (pull_request) Successful in 0s
acafa8fc58
A Go terminal harness for Claude Code. It runs the claude binary with
stream-json input and output, one process per session, and draws the
conversation with Bubble Tea in inline mode: finished messages and tool
calls go into the terminal's scrollback, and a fixed-height dock holds
what's streaming, running tools, the queue, the status line and the
composer.

Messages typed during a turn wait for it to end. Esc interrupts over the
control channel. A claude that exits is started again in the same
session. On Windows claude runs with a windowless console of its own, in
a job that ends it and its tools' processes with at-claude.

Home-app pieces: fzt palette on Ctrl+P covering every shortcut, info
pane, RFC 3339 log in %LOCALAPPDATA%\at-claude, CI that tests on Linux,
vets both platforms and publishes a signed release from main, README,
AGENTS.md and TESTING.md.
nelson merged commit 25f294d987 into main 2026-11-09 18:51:04 -08:00
nelson deleted branch ATC-2-v1 2026-11-09 18:51:05 -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!1
No description provided.