Josh Gratton 08a3f9f94a Merge upstream/main into josh/desktop-wsl-parallel-backends
Re-integrates the WSL parallel-backends renderer onto upstream's rewritten
connection/RPC architecture (#2978), which deleted the saved-env / environmentApi
/ serverState / wsConnectionState subsystem this branch was built on.

Core (packages/client-runtime/connection):
- Add dynamic platform-managed bearer environments: a PlatformConnectionRegistration
  union (Primary|Bearer) and registry.reconcilePlatform(set), which adds/removes
  platform-managed environments as the host topology changes and stashes the bearer
  credential. This models the dual-mode WSL secondary (separate loopback origin,
  bearer auth, dynamic port so it is rederived rather than persisted). The primary
  and the WSL-only primary keep the same-origin cookie path.

Web platform source (apps/web/src/connection/platform.ts):
- Emit the platform set from the plural getLocalEnvironmentBootstraps() IPC: the
  primary (cookie) plus each WSL backend (bearer via bootstrap-token exchange),
  polling and reconciling on toggle. Replaces the deleted 541-line reconciler.

Renderer re-home:
- Drop the old subsystem (environmentApi, rpc/serverState, rpc/wsConnectionState,
  environments/runtime/*, environments/local/*) and their tests.
- Re-home the Sidebar cold-boot indicator, the ConnectionsSettings WSL picker, and
  the multi-environment provider-update feature onto the new hooks (useEnvironments,
  serverEnvironment.updateProvider, the primaryServer* atoms). Desktop-local
  environments are identified by a BearerConnectionTarget with a "local:"
  connection id.
- Drop the inert swap-suppression surface superseded by parallel backends.

Verified: typecheck (web, desktop, client-runtime), connection / provider /
localApi / authBootstrap tests, and lint all pass.
2026-06-19 16:25:39 -04:00
2026-04-14 18:18:37 -07:00
2026-04-16 17:01:27 -07:00
2026-03-05 22:58:18 -08:00
2026-06-04 23:01:09 -07:00

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.

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%