Josh Gratton 604de5d345 fix(desktop): don't let spec.onShutdown abort stop() teardown
Inside stop(), Ref.modify atomically flips state to "no active run, no
restart fiber" before spec.onShutdown is invoked, but the physical
teardown (Fiber.interrupt + closeRun) runs *after* the mutex releases.
If onShutdown raised, the whole mutex effect failed and both cleanup
steps were skipped — leaving the child process and restart fiber
running while state claimed nothing was active. The next start() would
then spawn a second backend on top.

Wrap the onShutdown call in Effect.ignore so its failure can't abort
the surrounding teardown. Matches the pattern closeRun already uses
for the same reason.
2026-05-28 17:22:26 -04:00
2026-04-14 18:18:37 -07:00
2026-03-20 02:54:21 +00:00
2026-05-28 18:43:48 +00:00
2026-04-16 17:01:27 -07:00
2026-03-05 22:58:18 -08:00

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.

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%