Textarea extmarks make [image 1] and @src/ui/App.tsx atomic chips in the accent
colour; backspace deletes one whole, and deleting an attachment's chip removes it.
The sent text is unchanged: attachment chips are left out and @ files go as their
markdown links. The @ menu now edits in place so earlier chips survive.
auto now reads the background through OpenTUI's palette detector (OSC 11) and
falls back to dark. The new terminal theme builds the palette from the detected
background, foreground and ANSI colours, and shows in settings.
Links come from OpenTUI's markdown link detection (renderer.getLinkAt) and open
with xdg-open or open; a path under the click that names a workspace file opens
it in the editor pane. A drag still selects.
A drag over the conversation or the terminal pane copies on release, OSC 52 first
and then the desktop clipboard, with a short Copied toast. The menu and PR copies
go the same way, replacing copyText.
Replies already stream through <markdown streaming>; tables now size to their
cells with the theme's border colour. Tests cover tables mid-stream and settled,
the newest line staying in view, and a scrolled-up view staying still.
Split view with synced scrolling from 140 columns, unified below that, with the
gutter and line colours from theme tokens. Toggle split diff in the palette
overrides the choice for the session.
Clipboard images come through OpenTUI's clipboard service, with wl-paste, xclip,
pngpaste and osascript behind it for any image type. ctrl+v or an empty bracketed
paste attaches the image; a pasted image path attaches the file. Over SSH it points
at a instead. User messages draw their image attachments with <image>.
ctrl+j opens the thread's T3 terminal in an embedded terminal that takes
the details column's place (or the conversation's on narrow terminals);
ctrl+g writes the message there and o on a changed file edits it. While
the pane has focus every key but ctrl+\ goes to its program. Full-screen
attach stays in the T picker and the palette.
Installing meant Bun, a clone with the T3 Code submodule and a build. Now
a tag builds a binary per platform with bun build --compile, carrying
Bun's runtime and OpenTUI's native library, and publishes them as a
GitHub Release after opening each one's dashboard on its own OS.
install.sh picks the right binary and checks it against SHA256SUMS;
`t3tui upgrade` replaces an installed binary with the latest release and
`t3tui version` prints the version. `t3tui tmux` started its windows as
`bun <file>`, which a compiled binary can't do, so it now runs itself.
Like the thread list: drag to resize, right-click to reset, kept as
detailsWidth in layout.json. The conversation keeps its minimum width; a
dragged width gives way to it before the panel goes in place.
Run state, context window and provider limits on top; the agent's latest
to-do list; changes in git-status style with the diff and git quick action
on one line; a one-line branch summary; subagents with their status, the
finished ones folded; automations' next run as a short time; workspace,
model and mode as a quiet footer.
The command, package, env vars (T3TUI_*), config folder, tmux session and
the session label it issues itself. An existing ~/.config/tui3 moves to
~/.config/t3tui on the first run.
Breadcrumb with the list's status word, the connection note only when not live, and ctrl+k commands with no button background. Tests find the new button wording and the resize bar.
As the web's connection supervisor and composer:
- The first connection retries too, so tui3 opens without a server and
connects when it's up. One-off commands still fail fast.
- The header says why it couldn't connect and when it retries; r, a
click on it, or the palette retries now.
- Enter while disconnected keeps the message and says so.
- A failed send, or a new thread that doesn't start, puts the message,
its attachments and its mentions back in the composer.
- Opening a PR in the browser says why it failed and copies the link.
- Error notices stay 8s instead of 4s.
Each binding names its keys, its hint and its palette command once. The app
builds the bindings for the current state in hint order; the first that
takes a key runs it, the hint bar lists them and a click runs the same
action, and the palette reads its shortcuts from them. This replaces the
hand-ordered key handler, the hint strings and the parsing of hint text
back into key events.
The secret, queue and turn hooks return bindings in place of their key()
handlers and command lists.
A fake session serves fixed state and records calls; tests drive the whole
App by key and mouse and check the screen: modes and hints, the palette and
pickers, approvals, questions, the composer and drafts, and mouse clicks,
menus and resizing.
Drag to select copies on release. Request cards, the queue, attachments,
the PR view and the key hints get clickable buttons. Prompts, folds,
commands and diff files respond to clicks; prompts, replies, commands and
the PR view get right-click menus. Clicking a pane focuses it, the wheel
scrolls the thread list and palette, rows highlight under the pointer, and
the thread list's border drags to resize.
The composer's # suggests pull requests in the thread's repository
(recent list plus the exact number typed, linked ones first) and sends
the web's pull request reference record with the message.
P shows a linked pull request (picker first when several): state,
author, branches, description, checks, reviews, comments, commits and
the review guide. o opens it, r refreshes from the host, c comments
and R reviews in $EDITOR, a runs the host's actions behind a confirm,
w watches, u unlinks. The palette links a pull request by URL or
number and checks one out into a new draft thread.
Attachments upload like the web composer's (signed URL, then bytes) and ride on the next message or a draft's first message; pending names show above the composer and removal deletes the unsent upload. Settings shows provider limit windows, banked reset credits and the last 30 days' usage summary, with a status-line note near a limit and a confirmed reset-credit command. Automations can be created and edited in $EDITOR from a template parsed back against the web form's rules, and deleted behind a confirm. Asks for the diagnostics:read and providers:manage scopes the new RPCs need.
Queued messages show above the composer (Q to go through them: send now,
edit in the composer, remove; alt+up edits the last). An empty enter after
an interrupt continues where the run left off and releases held messages.
Secret requests get a masked field that never touches the message box.
Running subagents the web can stop get a palette command. Adds the
diagnostics:read and providers:manage scopes for usage limits.
- . or a right-click opens T3's thread menu, built by the web's buildThreadActionMenuItems
- Settle, pin, snooze (server presets or a typed time), rename, regenerate title, mark unread,
auto-settle, copy path/branch/thread/ID, archive, delete (confirmed), new thread on branch
- Submenus open as pickers; their items are searchable from the top
- Copy via OSC 52 plus the local clipboard tool
- Palette group keys no longer collide for untitled groups
- / offers /model, provider commands (at the message start) and skills; $ offers skills
- @ offers threads and the server's file search; thread mentions ride on the message's context
- Ranking, insertion and trigger detection follow T3's web composer and shared helpers
- The box measures wrapped lines after a programmatic insert
- c starts a draft thread (project, model, mode, worktree) launched with orchestration.launchThread
- m picks model, provider options and access mode from the server's providers, following the web's provider lock; model changes ride on the next message
- Alerts port T3's notification gate: bell, OSC 9/99 desktop notifications when unfocused, in-app flash
- ctrl+g edits the message in $EDITOR; ctrl+j attaches to the thread's T3 terminal
- Credential gains terminal:read