A failed enrollment left an orphaned provider instance in the picker, permanently `instance-not-found`, with no explanation and no way to clear it except editing settings by hand. Enrolling before persisting is not possible: `createEnrollment` reads `providerInstances[instanceId]` and fails unless the instance is already persisted with the Hermes driver, so the settings write is a hard precondition of the RPC. The failure path therefore cleans up after itself. The write registers a pending undo in a ref rather than closure state, and two effects drain it — the existing `!open` reset and a new unmount cleanup, since the parent renders this dialog conditionally and closing unmounts it, so the `!open` branch alone would never run. Rollback reads the latest settings map instead of restoring a captured pre-write snapshot, which would silently revert instances another client added in the interim, and no-ops when the entry is already gone or was replaced. The claimed instance id is retained across a rollback with a `persisted: false` flag so the retry path still refuses to mint a duplicate id while knowing it must re-write the instance. Pairing completes out-of-band on another host, so the dialog now shows an explicit waiting state: what to run, that `hermes gateway restart` is required rather than an error, and a ticking expiry with a way to mint a fresh command. It flips to connected on its own through the status stream already published by the broker — no new polling. That live update watches the snapshot's `checkedAt` revision rather than the connected flag, because `upgrade-required` closes the connection and is therefore indistinguishable from "still offline" through connectedness alone; keying on it would leave the panel waiting forever on a plugin that needs updating. An authoritative status re-read then distinguishes upgrade-required and revoked from a plain wait. Also surfaces the install step the flow always required but never mentioned, and stops labelling the terminal button "Done" while pairing is still pending. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
T3 Code
T3 Code is a minimal web GUI for coding agents (currently Codex, Claude, Cursor, and OpenCode, more coming soon).
Installation
Warning
T3 Code currently supports Codex, Claude, Cursor, and OpenCode. Install and authenticate at least one provider before use:
- Codex: install Codex CLI and run
codex login- Claude: install Claude Code and run
claude auth login- Cursor: install Cursor CLI and run
cursor-agent login- OpenCode: install OpenCode and run
opencode auth login
Run without installing
npx t3@latest
Tip: Use npx t3@latest --help for the full CLI reference.
Desktop app
Install the latest version of the desktop app from GitHub Releases, or from your favorite package registry:
Windows (winget)
winget install T3Tools.T3Code
macOS (Homebrew)
brew install --cask t3-code
Arch Linux (AUR)
yay -S t3code-bin
Some notes
We are very very early in this project. Expect bugs.
We are not accepting contributions yet.
There's no public docs site yet, checkout the miscellaneous markdown files in docs.
Documentation
- Getting started
- Remote access
- Keeping T3 Code in sync
- Architecture overview
- Provider guides
- Operations
- Reference
If you REALLY want to contribute still.... read this first
Install vp
T3 Code uses Vite+ so you'll need to install the global vp command-line tool.
macOS / Linux
curl -fsSL https://vite.plus | bash
Windows
irm https://vite.plus/ps1 | iex
Checkout their getting started guide for more information: https://viteplus.dev/guide/
Install dependencies
vp i
Read CONTRIBUTING.md before opening an issue or PR.
Need support? Join the Discord.