Commit Graph
136 Commits
Author SHA1 Message Date
Callum Alpass 4ef243875f Run terminals and $EDITOR in a pane beside the conversation
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.
2026-11-03 02:53:53 +11:00
callumalpass 4434fa7107 Merge pull request #1 from callumalpass/install-binaries
Release standalone binaries with a one-line installer
2026-11-03 02:49:09 +11:00
callumalpass 9bf9abb540 Release standalone binaries with a one-line installer
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.
2026-11-03 02:48:57 +11:00
Callum Alpass c0b7615590 Scroll to the last line, not past it: OpenTUI 0.8 rejects the overshoot 2026-11-03 02:38:39 +11:00
Callum Alpass f90270594a Require Bun 1.3.14
OpenTUI 0.8 supports Bun 1.3.14 and later. On Bun 1.3.9 the bundled
dist/bin.js segfaults as it exits; 1.3.14 and 1.4.4 exit cleanly.
2026-11-03 02:20:46 +11:00
Callum Alpass 32ac1a2a32 Keep the diff and pull request status lines from shrinking away
OpenTUI 0.8 draws nothing for a node Yoga shrinks to zero rows, so a status
line above a long scrollbox vanished instead of overlapping its first row.
2026-11-03 02:09:44 +11:00
Callum Alpass 1399112379 Exit only once the renderer has restored the terminal
OpenTUI 0.8 restores the terminal after destroy() returns; renderer.closed
says when it is done.
2026-11-03 02:09:44 +11:00
Callum Alpass ba157ccab7 Copy through the clipboard tool when OSC 52 is refused
OpenTUI 0.8 throws when asked for OSC 52 while it isn't drawing.
2026-11-03 02:05:13 +11:00
Callum Alpass 60e2357dab Wait for the renderer to suspend and resume
OpenTUI 0.8 suspends and resumes asynchronously and refuses to resume
mid-transition, so $EDITOR and an attached terminal wait for each step.
2026-11-03 02:05:13 +11:00
Callum Alpass b35263b41b Upgrade OpenTUI to 0.8.1
The native library now comes from a package per platform, so the bundle
leaves those imports to run time. A SyntaxStyle belongs to the renderer
that made it, so the markdown style is kept per renderer.
2026-11-03 02:05:13 +11:00
Callum Alpass e2d2892c52 Hide the thread list with B; both side panels' visibility kept across runs 2026-11-03 01:58:09 +11:00
Callum Alpass ae1068a1ac Limits: the tightest windows that fit on one line, then "left"
Claude reports a per-model sub-limit next to its weekly window, which
wrapped the line.
2026-11-03 01:54:18 +11:00
Callum Alpass 24d25bb8ff Start the folded to-do list two steps before the current one 2026-11-03 01:51:16 +11:00
Callum Alpass 46e0588359 Test the details panel's status block, tasks and changes in the app 2026-11-03 01:50:12 +11:00
Callum Alpass bbf8ff49e1 Resize the details column by dragging its edge
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.
2026-11-03 01:49:12 +11:00
Callum Alpass 9702c31e62 Redesign the details panel around what changes
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.
2026-11-03 01:46:23 +11:00
Callum Alpass 1cccff8031 Rename to t3tui
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.
2026-11-03 01:12:17 +11:00
callumalpass 673d314e46 Merge branch 'pane' 2026-11-03 01:10:04 +11:00
Callum Alpass ac903fdcba Keep the composer under a pending approval, and no working line meanwhile
The approval sits above the message box rather than replacing it, so a
message can still go with a decline, as in the web.
2026-11-03 01:09:59 +11:00
Callum Alpass 5b55f2ff30 Keep turn summaries stable across timeline rebuilds 2026-11-03 01:06:20 +11:00
Callum Alpass 09207de2b6 MIT licence 2026-11-03 01:06:06 +11:00
Callum Alpass 99da44df15 README and docs: install, use, reference and development notes
Also the demo-capture script that renders the app against demo threads
for the landing page.
2026-11-03 01:06:06 +11:00
Callum Alpass d95ebadd87 Truncate work labels to fit their details 2026-11-03 01:04:24 +11:00
Callum Alpass 2418b17f20 One layout for work rows; accent user bar; reading width 2026-11-03 01:02:01 +11:00
Callum Alpass bb6d67ec1b Live status pinned above the composer 2026-11-03 00:52:35 +11:00
Callum Alpass 3a7c183e1c Pending approvals in the composer's place 2026-11-03 00:49:52 +11:00
Callum Alpass 000645909c A blank row above the composer and between the text and the model line 2026-11-03 00:49:12 +11:00
Callum Alpass 49b04f9012 Changed files under each reply, with a turn footer 2026-11-03 00:46:30 +11:00
Callum Alpass b70099f23f Make the thread right-click test independent of the date 2026-11-03 00:41:48 +11:00
Callum Alpass 356b9e5818 Bold and italic markdown in the text colour, so they show on light backgrounds 2026-11-03 00:37:16 +11:00
Callum Alpass 67c8a79275 Draft fields in a panel block; approval card on panel so its buttons show 2026-11-03 00:32:21 +11:00
callumalpass f54ea6ad42 Bundle tui3 into dist/ and run the bundle
Running the TypeScript sources makes Bun compile and keep hundreds of
vendored modules, which cost 110-130 MB at startup. scripts/build.ts
bundles bin.ts and OpenTUI's syntax-highlighting worker into dist/;
bun install builds it, bun run build rebuilds it, and the tui3 bin runs
it. bun run dev still runs the sources.
2026-11-03 00:23:45 +11:00
callumalpass 42189808f3 Exit when the terminal closes or tui3 is killed; collect garbage while idle
OpenTUI answers SIGHUP and SIGTERM by tearing the screen down without
exiting, so the session's socket kept a closed terminal's tui3 running
indefinitely. Exit once the renderer is destroyed.

Bun collects so lazily that a streaming thread took tui3 past 500 MB of
garbage while the live heap stayed near 70 MB. Run a full collection
every 30 seconds, but only after 5 seconds without input, since one
pauses for up to ~150 ms.
2026-11-03 00:23:45 +11:00
Callum Alpass c8f7a48552 Composer: left bar and element block, model line inside 2026-11-03 00:17:20 +11:00
Callum Alpass 071961ac5b Diff and pull request views: spacing, not boxes 2026-11-03 00:17:20 +11:00
Callum Alpass d6bd91872c Panels above the composer: background blocks with a left bar 2026-11-03 00:17:20 +11:00
Callum Alpass fc42f2b170 Conversation: raised blocks and bars, no rules, no repeated title 2026-11-03 00:17:14 +11:00
Callum Alpass 1a868ec10b Markdown: quiet headings and links, plan-coloured code spans 2026-11-03 00:17:14 +11:00
Callum Alpass 13675858e8 Header names the open thread; commands is a bare label
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.
2026-11-02 23:58:19 +11:00
Callum Alpass 2653209b14 Details, palette and settings in the same treatment
Panels without dividers or rounded borders: bold titles, muted bodies, the selected row's accent bar over the full width. The in-place details panel now takes its column's height instead of spilling over the composer.
2026-11-02 23:58:19 +11:00
Callum Alpass 0d59ec0fd3 Thread list on a panel with a status gutter
Title over project, the status or time on the right, a 2-column gutter (spinner, ◆, ✕, ●), the accent bar on the selected row, faint bold section headings with a blank row above, and the filter as an element row with a bar.
2026-11-02 23:58:19 +11:00
Callum Alpass 9293be206c Shared bar edge, invisible resize handle, quieter hint bar
edges.ts carries opencode's border chars (BAR/NO_BORDER). The resize handle is a bar in the background colour at rest and accent under the pointer. Hint keys sit in text over faint labels, and hints that don't fit drop whole from the end.
2026-11-02 23:58:19 +11:00
Callum Alpass e22885d802 Neutral grey palette with one accent, after opencode's 2026-11-02 23:36:10 +11:00
Callum Alpass e857146c9a Text fields keep ctrl+u and ctrl+d for editing 2026-11-02 23:26:01 +11:00
Callum Alpass 49fc25f7a2 Light palette, chosen from the terminal's background or the Colours setting 2026-11-02 23:21:55 +11:00
Callum Alpass 3ef67c5b50 Fetch command output the server left out, for the open row and Copy output 2026-11-02 23:19:54 +11:00
Callum Alpass 81a1ee942c Remember the thread list's dragged width across runs
Kept in layout.json next to the config, as the web keeps its sidebar
width in browser storage. Tests now write to a scratch config folder.
2026-11-02 23:15:33 +11:00
Callum Alpass 320dbf492d Keep the open thread on screen while reconnecting
The session resubscribes threads itself after a reconnect; App no
longer drops the subscription, so the thread doesn't blank to loading.
2026-11-02 23:13:51 +11:00
Callum Alpass 2c5eedc869 Keep retrying the connection and say why; never lose a message that didn't send
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.
2026-11-02 23:13:06 +11:00
Callum Alpass 275a2bcde1 PR view and find bar keys come from their hooks; drop their dead key handlers
w and u in the PR view now act on the PR it shows, not the first linked one.
2026-11-02 23:06:10 +11:00