bad66041a69d6f0254c7bfafcd0f62f899e165ed
getLocalEnvironmentBootstrap used to hand back a single bootstrap for the primary backend. With the WSL backend running as a second pool instance, the renderer needs to learn about both so step 7 can register them as separate local environments. Rename the IPC to getLocalEnvironmentBootstraps (plural) and walk pool.list, emitting one entry per instance that already has a config. Instances that are registered but haven't produced a config yet (WSL backend mid-registration before its first start cycle) are skipped and will appear on the next call. The bootstrap entry gains an id field that mirrors the backend instance id (e.g. "primary" or "wsl:ubuntu"). The renderer uses that to find the primary entry today (auth.ts, target.ts); step 7 keys local environments off the same id. PRIMARY_LOCAL_ENVIRONMENT_ID is exported from contracts so web code can reference the primary by name without importing brand machinery from the desktop package. The desktop side wraps the same constant in BackendInstanceId so the two stay locked together. Test bridge mocks updated. The DesktopBridge casts in authBootstrap.test.ts went through `as DesktopBridge` previously; the array-returning plural is structurally different enough that TS flagged it, so they go through `as unknown as DesktopBridge` now.
T3 Code
T3 Code is a minimal web GUI for coding agents (currently Codex, Claude, and OpenCode, more coming soon).
Installation
Warning
T3 Code currently supports Codex, Claude, 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- OpenCode: install OpenCode and run
opencode auth login
Run without installing
npx t3
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.
Observability guide: docs/observability.md
If you REALLY want to contribute still.... read this first
Before local development, prepare the environment and install dependencies:
# Optional: only needed if you use mise for dev tool management.
mise install
bun install .
Read CONTRIBUTING.md before opening an issue or PR.
Need support? Join the Discord.
Releases
7
Android APK · build 49
Latest
Languages
TypeScript
95.5%
MDX
2.1%
JavaScript
0.7%
Astro
0.3%
CSS
0.3%
Other
0.9%