Ahmed R.andAhmed R 0a902790ca Fix crash when rendering code blocks with unsupported languages (#266 & #210) (#279)
The app crashed when displaying code blocks with language identifiers
not bundled in Shiki (e.g. "env" from .env file edits). The language
string was cast to SupportedLanguages without validation, causing
resolveLanguage to throw an unhandled error that killed the thread.

Three layers of defense added:
- getHighlighterPromise falls back to "text" when Shiki rejects
- codeToHtml call wrapped in try/catch with "text" fallback
- CodeHighlightErrorBoundary prevents component tree crashes

Closes #266

Co-authored-by: Ahmed R <[email protected]>
2026-03-07 02:12:54 -08:00
2026-03-05 23:07:59 -08:00
2026-02-26 13:20:36 -08:00
2026-03-07 00:57:40 +00:00
2026-02-26 13:20:36 -08:00
fmt
2026-02-26 16:58:27 -08:00
2026-03-07 00:57:40 +00:00
2026-02-09 02:07:17 -08:00
2026-03-05 22:58:18 -08:00
2026-02-26 13:20:36 -08:00
2026-02-09 01:11:20 -08:00
2026-02-26 19:27:08 -08:00

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.

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%