Theo BrowneandClaude Fable 5 03196ef7ad fix: address review findings on upload-on-attach
Real bugs from Macroscope and Bugbot, all verified against source:

- awaitAttachmentUploads consulted only live jobs, so an upload that
  settled before the await lost its result and a ready image could drop
  from a pick-and-send message. Terminal states are now kept in a
  settled map that cancel/release clean up.
- Stashing cancelled in-flight uploads before the localStorage write was
  confirmed; a quota failure stranded chips in uploading forever.
  Cancellation now happens only after the write lands.
- Retargeting a draft to another environment overwrote a reload-restored
  attachment's ready state with a dead failed state. The mismatch is now
  derived (never written), so switching back recovers the attachment,
  and re-uploads release the old environment's bytes first.
- The turn-start failure path restored chips from the pre-await
  snapshot, resurrecting uploading states no job would ever advance.
- The "images were not attached" toast could fire when no message was
  sent; it now waits for the turn to actually start.
- Removing a preview annotation or discarding a draft leaked the upload
  and its server-side bytes; both now release like chip removal.
- Mobile paste drops now surface the needs-an-update banner instead of
  a console.warn.
- Normalizer error mappings keep their PlatformError causes; the dead
  unstructured AttachmentUploadRequestError is deleted; the sweep test
  no longer reads the real clock (effect-diagnostics CI failure).

Also folds the rebase onto main: the new moveComposerPromptAndImages
draft-carry now merges the unified image list, and in-flight uploads are
retargeted to the destination draft so moved chips keep their progress.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-13 18:03:23 -07:00
2026-04-16 17:01:27 -07:00
2026-03-05 22:58:18 -08:00

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:

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.

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.

S
Description
T3 Code fork for Android and server fixes
Readme MIT
902 MiB
0 Stars 1 Watchers 0 Forks
2026-09-20 14:36:07 +02:00
Languages
TypeScript 95.5%
MDX 2.1%
JavaScript 0.7%
Astro 0.3%
CSS 0.3%
Other 0.9%