A Claude V2 turn whose terminal SDK result carried origin.kind "task-notification" had that result discarded, so the run stayed running forever and every run queued behind it stalled. The drop is now limited to results reporting zero model turns, which is what the stale debris the guard was written for actually looks like. ClaudeAdapterV2 dropped any task-notification-origin result unless the turn was an agent/provider continuation. An app-owned delegated-task wake run is agent/server, so its terminal results were discarded and finalizeActiveTurn never ran. Any turn whose final result carries that origin hangs, not just wakes. Observed in production against a real session: three terminal success results with num_turns 154, 60 and 7 were all dropped, the session went silent for 8h27m, and five queued runs behind it never dispatched. The guard could not simply be deleted. After interrupt recovery a stale stopped task_notification and its origin result interleave ahead of the real root assistant stream and must not terminalize the turn or leak their text. Zero-turn results are still dropped, so that path is unchanged: this drops strictly fewer results than before, so no previously working path can regress. num_turns separates the two cases cleanly. The existing stale fixture sets numTurns 0 explicitly, makeResultFrame defaults to 1, and the production results all carried positive turns. The predicate is num_turns === 0 rather than < 1 or a truthiness check on purpose: num_turns is required on both result variants in 0.3.205, but if an older emitter ever omitted it, undefined === 0 is false, so the result is accepted rather than dropped. That fails toward terminalizing rather than toward the hang class this fixes. Both drops and accepts are logged with num_turns, stop_reason, terminal_reason, result uuid, session id and message provenance. The drop is debug level because interrupt recovery produces it routinely; the accept is info, because a positive-turn task-notification result settling a non-continuation turn is both the hang fix working and the exact shape a stale positive-turn result would take. Co-authored-by: codex <[email protected]>
T3 Code
T3 Code is an "agent harness control surface". It enables control of the agents on your machine with a best-in-class mobile app (iOS, Android), web app and Electron-based desktop app.
Works with your subscriptions on Claude Code, Codex, Cursor, Grok Build, and OpenCode. If they're set up on your computer, T3 Code can control them.
"Wait, what are you selling me?"
Nothing. We built T3 Code because we wanted the best possible development experience with agents. We were inspired by existing solutions like the Codex desktop app, Conductor, Claude Desktop and Cursor Glass, but none met our bar.
We wanted something performant, remote-ready, and truly open. If we ever go the wrong direction, we want you to have everything you need to fork and build the editor that you want.
Installation
Warning
T3 Code currently supports Codex, Claude, Cursor, Grok Build 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
agent login- Grok Build: install Grok Build CLI and run
grok login- OpenCode: install OpenCode and run
opencode auth login
Try it out (install-free)
The easiest way to test T3 Code is to run the server in your terminal (requires Node.js 22.16+, 23.11+, or 24.10+):
npx t3@latest
This will launch T3 Code's backend on your machine as well as the local web app to control your agents.
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 (mostly) not accepting contributions yet. Small fixes may be considered. Big features will not be.
Documentation
Full docs live in docs/. There's no docs site yet.
- Install and first run
- Permission modes
- Keyboard shortcuts
- Remote access from a phone or another machine
- Keeping app and server in sync
- Source control integrations
- Multiple accounts: Codex · Claude
- Linux: run T3 Code as a background service
Building from source? Start at docs/internals/overview.md.
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.