e21687300e8d53345b180d24f4bf3f18fa603d1d
Every keystroke triggered full JSON serialization of all composer drafts (including base64 image attachments) and a synchronous localStorage write. At normal typing speed this caused 5+ writes/sec, blocking the main thread and creating noticeable input lag. Wrap the Zustand persist storage with a 300ms debounce. In-memory state updates remain immediate; only the serialization and storage write are deferred. A beforeunload handler flushes pending writes to prevent data loss. The removeItem method cancels any pending setItem to avoid resurrecting cleared drafts. Adds unit tests for the DebouncedStorage utility covering debounce timing, rapid writes, removeItem cancellation, flush, and edge cases.
T3 Code
T3 Code is a minimal web GUI for coding agents. Currently Codex-first, with Claude Code support coming soon.
How to use
Warning
You need to have Codex CLI installed and authorized for T3 Code to work.
npx t3
You can also just install the desktop app. It's cooler.
Install the desktop app from the Releases page
Some notes
We are very very early in this project. Expect bugs.
We are not accepting contributions yet.
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%