The changed-files card and per-turn inline diff are derived from full-tree checkpoint snapshots, so any tree-rewriting git command the agent runs (pull, checkout, cherry-pick, rebase) shows up as hundreds of "changed files" the agent never authored. This adds a read-side attribution layer on top of the existing checkpoint mechanism (capture, storage, and revert are untouched): - Checkpoint commits now record the HEAD oid and branch in their commit message. Legacy checkpoints without metadata degrade to today's behavior. - attributeCheckpointDiff classifies each path in a checkpoint tree delta: a path is "git" only when its exact blob transition also appears in the HEAD-movement delta for the turn and no commit authored during the turn touched it. Every ambiguity resolves to "agent" (shown), so misclassification can add noise but never hide agent work. Merge commits use the combined diff so only conflict resolutions count as agent work. - The checkpoint reactor tags each file with an origin; attribution failures degrade to unattributed files and never block the pipeline. - getTurnDiff/getFullThreadDiff drop git-attributed file sections from the patch unless the new includeGitChanges input is set. - The changed-files card lists agent files only, with a muted "Updated via git — N files" row for demoted changes. The diff panel shows a banner with a show/hide toggle so the full tree delta stays one click away. Co-Authored-By: Claude Fable 5 <[email protected]>
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
- Getting started
- Remote access
- Keeping T3 Code in sync
- Architecture overview
- Provider guides
- Operations
- Reference
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.