You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
-**NEVER create PRs, push branches, post comments, or perform ANY write operation against `pingdotgg/t3code` or any upstream/third-party repo.**
7
7
-**NEVER run `gh pr create` without `--repo aaditagrawal/t3code`.** Always explicitly target the fork.
8
8
-**NEVER run `gh` write commands (pr create, issue create, pr comment, pr close, pr merge) against any repo other than `aaditagrawal/t3code`.**
9
+
- Any request involving PRs, issues, GitHub Actions, workflows, checks, comments, labels, releases, or other GitHub repo operations is fork-only: use `aaditagrawal/t3code` explicitly and do not target upstream.
9
10
- The ONLY interaction with upstream is `git fetch upstream` to pull changes. Everything else targets `origin` (the fork).
10
11
- When merging upstream changes, create a PR on `aaditagrawal/t3code` targeting the fork's `main` branch.
11
12
@@ -14,23 +15,33 @@
14
15
- The fork's `README.md` takes priority over upstream's. On merge conflicts, keep ours.
15
16
- Do NOT commit scratch/analysis markdown files (e.g. `CONFLICT_ANALYSIS.md`, plan dumps) into the repo.
16
17
18
+
## Protected Fork Features
19
+
20
+
When syncing upstream, preserve these fork features unless the user explicitly asks to remove them:
21
+
22
+
1. Multi-provider runtime support for the built-in drivers: Codex CLI, Claude Code, Cursor, Droid, OpenCode, Amp, Copilot, Gemini CLI, and Kilo.
23
+
2. Usage and limit monitoring, including token/context usage snapshots, provider usage events, Codex account rate-limit streams, and the web rate-limit banner/panel UX.
24
+
3. Provider management UX, including custom provider instances, per-instance environment/config/model state, custom model slugs, and provider-scoped traits such as reasoning, context window, fast mode, and agent selection.
25
+
4. Provider-neutral orchestration reliability, including SQLite event persistence, command receipts, replay/live stream ordering, session restart/reconnect behavior, and projection consistency.
26
+
17
27
## Task Completion Requirements
18
28
19
29
- All of `bun fmt`, `bun lint`, and `bun typecheck` must pass before considering tasks completed.
20
30
- NEVER run `bun test`. Always use `bun run test` (runs Vitest).
21
31
22
32
## Project Snapshot
23
33
24
-
T3 Code is a multi-provider web GUI for coding agents. It supports 8 providers:
34
+
T3 Code is a multi-provider web GUI for coding agents. This fork supports 9 built-in provider drivers:
25
35
26
36
-**Codex CLI** (v0.37.0+) — JSON-RPC over stdio
27
37
-**Claude Code** — Claude Agent SDK with thinking tokens and permission modes
28
38
-**Cursor** — ACP (Agent Communication Protocol) over stdio
39
+
-**Droid** — Factory Droid SDK runtime
40
+
-**OpenCode** — SDK CLI server
29
41
-**Copilot** — GitHub Copilot CLI
30
42
-**Gemini CLI** — Google Gemini CLI with persistent JSON
31
43
-**Amp** — Amp Code headless mode (no `/mode free`)
32
44
-**Kilo** — HTTP SSE transport
33
-
-**OpenCode** — SDK CLI server
34
45
35
46
This repository is a VERY EARLY WIP. Proposing sweeping changes that improve long-term maintainability is encouraged.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,16 @@
2
2
3
3
First off, thank you for considering contributing to this fork! It's people like you that make the open-source community such an amazing place to learn, inspire, and create.
4
4
5
-
This fork is maintained in [aaditagrawal/t3code](https://github.com/aaditagrawal/t3code) and focuses on expanding provider support while improving the core orchestration and persistence layers.
5
+
This fork is maintained in [aaditagrawal/t3code](https://github.com/aaditagrawal/t3code) and focuses on expanding provider support, preserving usage and limit monitoring, and improving the core orchestration and persistence layers.
6
+
7
+
## Protected Fork Features
8
+
9
+
Pull requests and upstream syncs should preserve these four fork features unless the change explicitly replaces them with equivalent or better behavior:
10
+
11
+
1. Multi-provider runtime support across Codex CLI, Claude Code, Cursor, Droid, OpenCode, Amp, Copilot, Gemini CLI, and Kilo.
12
+
2. Usage and limit monitoring, including token/context usage, provider usage events, and rate-limit UI.
13
+
3. Provider management UX for custom instances, per-instance config/environment/model state, and provider-scoped traits.
14
+
4. Provider-neutral orchestration reliability for persistence, replay/live ordering, reconnects, restarts, and projections.
Copy file name to clipboardExpand all lines: README.md
+18-12Lines changed: 18 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,29 +2,33 @@
2
2
3
3
T3 Code is a minimal web GUI for coding agents made by [Pingdotgg](https://github.com/pingdotgg). This project is a downstream fork of the original [T3 Code](https://github.com/pingdotgg/t3code), maintained in [aaditagrawal/t3code](https://github.com/aaditagrawal/t3code).
4
4
5
-
This fork focuses on expanding provider support, improving persistence layers, and refining provider management across the app.
5
+
This fork focuses on expanding provider support, keeping usage and limit monitoring visible, improving persistence layers, and refining provider management across the app.
6
6
7
-
It supports Codex, Claude Code, Cursor, Copilot, Gemini CLI, Amp, Kilo, and OpenCode.
7
+
It supports Codex, Claude Code, Cursor, Droid, OpenCode, Copilot, Gemini CLI, Amp, and Kilo.
8
8
9
9
(NOTE: Amp /mode free is not supported, as Amp Code doesn't support it in headless mode - since they need to show ads for that business model to work.)
10
10
11
11
## Why this fork?
12
12
13
-
This fork aims to provide a more robust and feature-rich multi-provider experience, with improved server management, more reliable persistence of orchestration events, and UI refinements for settings and model selection.
13
+
This fork aims to provide a more robust and feature-rich multi-provider experience, with improved server management, visible usage/rate-limit monitoring, more reliable persistence of orchestration events, and UI refinements for settings and model selection.
14
+
15
+
The protected fork features are multi-provider runtime support, usage and limit monitoring, provider management UX, and provider-neutral orchestration reliability. Upstream syncs should preserve those unless a change explicitly replaces them with equivalent or better behavior.
14
16
15
17
### Multi-provider support (Enhanced)
16
18
17
19
Adds full provider adapters (server managers, service layers, runtime layers) for agents that are not yet on the upstream roadmap:
0 commit comments