Brings in upstream's desktop-auth to Clerk-bridge migration (#3092) plus 9 other commits. Resolution preserves the WSL parallel-backends work while adopting the new primary-auth flow. Contracts / IPC: keep our plural getLocalEnvironmentBootstraps; add upstream's new getLocalEnvironmentBearerToken (primary bearer token) across the bridge, preload, and the IPC channel / method / handlers. Desktop: - DesktopLocalEnvironmentAuth (upstream's new primary-auth service) now reads the primary instance from our DesktopBackendPool instead of the removed legacy DesktopBackendManager. - main.ts composes both our WSL backend layer and the new local-environment-auth and Clerk layers. - DesktopWindow adopts upstream's local-client window loading (getDesktopUrl / t3:// scheme) rather than loading the backend URL, dropping the now-obsolete backend-URL plumbing. The "Connecting to WSL" splash is kept, re-pointed onto the existing backend-ready latch (upstream's DesktopState.backendReady addition did not land in this merge; the backend pool drives readiness through handleBackendReady / handleBackendNotReady). Web: keep our Layer.effect platform source (primary plus WSL secondaries); the primary now authenticates via upstream's primaryEnvironmentHttpLayer and the secondaries via FetchHttpClient. Verified: typecheck (web, desktop), web tests (connection / provider / authBootstrap / desktopAuth), desktop tests (DesktopWindow splash, DesktopLocalEnvironmentAuth), and lint all pass.
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
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.