Outbound (plugin -> user): `media.deliver` handling mirrors `home.deliver`'s durable-write-then-ack contract, extracted into makeHermesDeliveryHandlers so the delivery rules — projection-backed deliveryId dedupe (the decider's in-memory scan cannot survive a restart), pessimistic ack, racing-socket re-read — are testable without a WebSocket. Decoded bytes are re-checked against the 25MB ceiling and the declared size (±2 bytes of base64 padding ambiguity); bytes land in the attachment store before the message row, so a failed dispatch leaks a file rather than rendering a broken row. Turnless media re-resolves the instance's Home thread and ignores the frame's threadId; turn-scoped media must name a thread the instance's adapter holds a live session for. Oversized images (>10MB) degrade to the file variant rather than failing the delivery. Inbound (user -> plugin): HermesAdapter.sendTurn/steer replaces the attachments-not-supported rejection — bytes are read from attachmentsDir and inlined as base64 on the frame (no side-channel URL: the plugin may have no authenticated route back), with the 25MB per-turn total enforced where the whole turn is visible. Normalizer accepts `file` uploads at 10MB and picks the persisted variant from the payload's real mime, so an image uploaded as "file" still renders inline. The projection persists attachments/turnId off the notification event into the existing attachments_json column, and the revert-time prune no longer skips file-variant attachments. The broker's version-incompatible rejection now names the fix (upgrade the plugin) and distinguishes wrong-version from capabilities that don't satisfy the v4 contract. Co-Authored-By: Claude Fable 5 <[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.