Commit Graph
126 Commits
Author SHA1 Message Date
8597558557 perf(usage): the Usage page shows numbers in under a second and dims only what is still loading (#17147)
Takeover of #16376.

Co-authored-by: Ben Davis <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-08 02:48:14 -07:00
Julius MarmingeandClaude Opus 5.5 42d92ec597 refactor(server): GitHub source control reads GitHubApi directly (#16982)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-07 17:26:25 -07:00
Julius MarmingeandClaude Opus 5.5 08b1222d0b refactor(server): GitHub services are named for the API they call, not gh (#16967)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-07 17:26:24 -07:00
Julius MarmingeandClaude Opus 5.5 2c8be5893e feat(server): outside agents sign in to the T3 MCP server with OAuth (#16336)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-06 14:09:35 -07:00
Julius MarmingeandClaude Opus 5.5 649418f01f feat(server): source control, media and discovery use GitHub's API instead of gh (#16321)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-06 13:14:13 -07:00
maria ac8e9453ca feat(preview): run the browser on the environment server (#15328) 2026-10-06 08:04:27 -07:00
Julius MarmingeandClaude Opus 5.5 68e50db20b refactor(server): CloudLink fails with its own errors; the connect routes map them to HTTP (#16341)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-05 20:46:20 -07:00
Julius MarmingeandClaude Opus 5.5 ff873b2ec1 refactor(server): CloudLink keeps only the link lifecycle; pure checks live beside it (#16340)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-05 20:46:19 -07:00
Julius MarmingeandClaude Opus 5.5 3d17862e58 refactor(server): one module per service instead of Services/ and Layers/ folders (#16295)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-05 19:17:27 -07:00
Julius MarmingeandClaude Opus 5.5 9422e2ee12 refactor(server): T3 Connect link capabilities live in a CloudLink service (#16265)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-05 18:48:38 -07:00
Julius MarmingeandClaude Opus 5.5 ecfdda5fa8 refactor: layer variables are named layer or layerXyz (#16282)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-05 18:39:51 -07:00
Julius MarmingeandClaude Opus 5.5 7a047d0136 refactor(server,relay): webhook capabilities live in services, not handlers (#16232)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-05 16:58:19 -07:00
Julius MarmingeandClaude Opus 5.5 f33b060caf feat(relay,server,web,mobile): opt-in to hold webhooks while offline (#15487)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-05 15:14:53 -07:00
Julius Marminge 7dfb86a32b feat(server): scheduled tasks can run on a webhook (#15085) 2026-10-05 15:14:51 -07:00
Julius MarmingeandClaude Opus 5.5 194c73f3f9 chore(deps): upgrade Effect to stable 4.0.1 (#16138)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-05 13:15:14 -07:00
maria 9d029a1df2 feat(acp): support local provider commands (#16021) 2026-10-05 14:11:25 -03:00
Julius MarmingeandClaude Opus 5.5 745c225f92 feat(clients): learn an environment's LAN and tailnet addresses (#15468)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-04 18:11:19 -07:00
Theo BrowneandClaude Opus 5.5 18b21325c3 feat(server): agents can watch a PR and get woken when checks, reviews, or conflicts need them (#15057)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-03 03:08:44 -07:00
+36 de34391427 feat(orchestrator): introduce new orchestrator (#2829)
Co-authored-by: maria-rcks <[email protected]>
Co-authored-by: Bilal Bakr <[email protected]>
Co-authored-by: shivam <[email protected]>
Co-authored-by: Vitalii Yehorov <[email protected]>
Co-authored-by: Jake Leventhal <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Co-authored-by: Alex Southwell <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nicholas Wasmiller <[email protected]>
Co-authored-by: PB <[email protected]>
Co-authored-by: Exotic <[email protected]>
Co-authored-by: Yash Singh <[email protected]>
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Theo Browne <[email protected]>
Co-authored-by: Gabriel De Andrade <[email protected]>
Co-authored-by: Dara Adedeji <[email protected]>
Co-authored-by: scratchyone <[email protected]>
Co-authored-by: Dominic Roy <[email protected]>
Co-authored-by: chukfinley <[email protected]>
Co-authored-by: Primož Ajdišek <[email protected]>
Co-authored-by: benthecarman <[email protected]>
Co-authored-by: NaveDanan <[email protected]>
Co-authored-by: aaditagrawal <[email protected]>
Co-authored-by: Aditya Garud <[email protected]>
Co-authored-by: Nick Anisimov <[email protected]>
Co-authored-by: MacKinley Smith <[email protected]>
Co-authored-by: Yordis Prieto <[email protected]>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: AKolenda <[email protected]>
Co-authored-by: Guillermo Casanova <[email protected]>
Co-authored-by: Otavio Salvador <[email protected]>
Co-authored-by: Shirish Pothi <[email protected]>
Co-authored-by: Ishaan Kothari <[email protected]>
Co-authored-by: Bob Fowler <[email protected]>
Co-authored-by: Anton Bezdenezhnykh <[email protected]>
Co-authored-by: ValeraZSD <[email protected]>
Co-authored-by: Ephraim <[email protected]>
Co-authored-by: Ryan Ilano <[email protected]>
Co-authored-by: Alex <[email protected]>
Co-authored-by: maco <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Tristan Knight <[email protected]>
Co-authored-by: PR Batch Tester <[email protected]>
Co-authored-by: oliver <[email protected]>
Co-authored-by: kamkm <[email protected]>
Signed-off-by: Yordis Prieto <[email protected]>
2026-10-02 12:22:22 -07:00
Julius Marminge 27bdf1aa14 feat(codex): connect ChatGPT accounts with managed authentication (#14290) 2026-09-29 11:15:29 -07:00
Theo BrowneandClaude Opus 5.5 294dd12341 fix(observability): the renderer trace proxy stops tracing itself (#13761)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-26 01:34:55 -07:00
Theo BrowneandClaude Opus 5.5 a21b42cec4 fix(server): prune expired replay-protection files from the secrets directory (#13695)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 21:58:26 -07:00
Theo BrowneandClaude Opus 5.5 ee18e56f90 feat(observability): record event loop stalls in the server trace (#13697)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 20:38:56 -07:00
Theo BrowneandClaude Opus 5.5 1dc8cbe6d1 feat(observability): write a server heap snapshot on SIGUSR2 (#13694)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 20:20:21 -07:00
8d7b5e998c fix(connect): remove tunnels after hosts go offline (#9386)
Co-authored-by: Claude Fable 5.1 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-09-24 17:17:41 -07:00
3412097bff feat(server): show and redeem Claude banked resets (#13118)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-09-24 12:14:04 -07:00
Yordis Prietoandmaria 03950089ff feat(web): pull request files can be marked as viewed (#7721)
Signed-off-by: Yordis Prieto <[email protected]>
Co-authored-by: maria <[email protected]>
2026-09-17 15:33:26 -03:00
mariaandmaria-rcks c4ca1b0f94 feat(settings): add automatic storage cleanup per machine and project (#11598)
Co-authored-by: maria-rcks <[email protected]>
2026-09-17 02:39:49 -03:00
32e8b25845 fix(web): show private repository media in pull request tabs (#11706)
Co-authored-by: maria-rcks <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 18:08:41 -03:00
Julius Marminge 08abda9dcf refactor(server): resolve title links through source control providers (#11844) 2026-09-14 19:57:34 -07:00
Theo BrowneandClaude Fable 5.1 7cafe52bb8 fix(server): keep thread titles tied to user intent (#10720)
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-09-14 19:19:58 -07:00
Julius MarmingeandClaude Fable 5 8d7c700c17 feat(web): clone repositories in the background instead of holding the palette open (#11762)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-09-14 13:00:28 -07:00
Theo Browne 73b206f4bf feat(web): show each worktree setup step and let users cancel it (#11372)
Starting a thread in a new worktree showed one static "Setting up worktree" line while git fetched, checked out files, and the setup script ran. Users could not tell which step was slow, see setup script output without hunting for the terminal, or stop a setup that was going wrong.

The timeline now shows a card with each step and its elapsed time. Check out files has a percent bar fed by git's own progress output. The setup script step shows the last lines of its terminal inline and links to the full terminal. Cancel stops the bootstrap and removes the half built worktree. Work locally cancels, switches the draft to the project checkout, and resends.

The server keeps an in-memory per-thread snapshot of the bootstrap stages and streams it over a new subscribeWorktreeSetup RPC. The bootstrap runs as a child fiber so worktreeSetup.cancel can interrupt it, and the turn handoff is uninterruptible. The setup script's exit code comes from a per-run sentinel echoed after the command in the setup PTY.

Created with Claude Fable 5.1 in Claude Code.
2026-09-13 21:28:59 -07:00
Julius MarmingeandClaude Fable 5 c7f23c4668 feat(cli): add t3 update for self-contained installs (#11451)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-09-13 21:24:22 -07:00
Julius MarmingeandClaude Fable 5 06de59b3d6 build(server): make the CLI bundle loadable as a Node single-executable (#11316)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-09-13 21:24:20 -07:00
maria 6fd68f5c3e feat(source-control): support Forgejo and Gitea with fj and tea (#11436) 2026-09-13 00:02:42 -03:00
Julius MarmingeandClaude Fable 5 dca7b59bea feat(devices): add simulator and emulator support (#10677)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-09-10 11:59:32 -07:00
Julius Marminge 33242d0164 fix(server): preserve recent PR reads across server restarts (#11007) 2026-09-09 16:33:25 -07:00
Julius Marminge afb84898be feat(pull-requests): link multiple pull requests to threads (#10839) 2026-09-09 15:50:58 -07:00
Julius Marminge 6f4cd07b90 refactor(server): classify runtime exports (#10274) 2026-09-08 01:11:08 -07:00
Utkarsh Patil ea646c0834 fix(server): stop Windows terminal polling from spiking CPU (#9476) 2026-09-06 12:47:38 -07:00
Theo BrowneandClaude Fable 5.1 223ff4490f fix(server): link thread PRs without an open client (#10101)
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-09-06 04:06:15 -07:00
maria 420fd76f60 feat(connections): balance new threads across connected machines (#9895) 2026-09-06 02:33:13 -03:00
mariaandmaria-rcks 9f40b2f563 feat(settings): add shared project defaults and scoped overrides (#9754)
Co-authored-by: maria-rcks <[email protected]>
2026-09-06 02:32:48 -03:00
Julius Marminge 99e3b721c5 fix(connect): diagnose incomplete headless server setup (#9602) 2026-09-04 00:43:47 -07:00
1641b4aba5 feat(usage): redeem Codex reset credits from the Limits tab (#9534)
Follow-up to #9507, carrying over the reset-credit redemption from #9421.

Codex grants a reset credit when it has rate-limited an account unfairly (`"Thanks for using Codex! You've been granted one free rate limit reset."`). Redeeming one clears the current 5h/weekly windows. The Limits tab now shows how many are banked and when the next expires, with a confirmed **Use a reset credit** action.

## How it works

- `ServerProviderUsageLimits.resetCredits` carries the count and soonest expiry; the Codex probe reads it from the same `account/rateLimits/read` it already makes.
- `ProviderInstance.consumeResetCredit` is a new optional hook — account-level, so it sits beside `refreshModels` rather than on the thread-routed adapter. The Codex driver implements it over a short-lived app-server (via `withCodexAppServerClient`, factored out of the status and skills probes which duplicated the setup), then re-probes.
- Single-flight per instance with one idempotency key kept until Codex reports an outcome, so a retry after a timeout does not open a second attempt.
- New `provider.consumeResetCredit` RPC under the operate scope; the outcome (`reset` / `nothingToReset` / `noCredit` / `alreadyRedeemed`) is shown inline.

Only Codex reports credits today. A provider without the hook gets a clear "does not bank reset credits" error; one without credits shows nothing.

## Screenshots

The local Codex row with one banked credit (the same account via the CLIProxyAPI hub above it shows no credit, as expected — the hub does not relay them):

![Limits tab with the Codex row showing "1 reset credit banked · next expires in 16d 22h" and a "Use a reset credit" button](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/2897db5e357f12b3/credits-tab.png)

Close-up of the row:

![Codex row: Weekly 25% used bar, then "1 reset credit banked · next expires in 16d 22h" with the "Use a reset credit" button](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/0e80f9114cab8f36/credits-row.png)

Clicking it opens the confirmation; nothing is sent until **Use credit**:

![Confirm dialog: "Use a reset credit? This redeems one credit on your account and clears the current rate-limit windows. It cannot be undone." with Cancel and Use credit](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/dc728580889ef1fe/credits-confirm.png)

## Verification

- Mapper tests for the credit summary; provider, contract, and Usage page suites pass; typecheck clean.
- Verified against a real Codex Pro account holding one credit: summary and expiry render, the confirm dialog opens. **Not redeemed** — that would spend the credit.

Written by Claude Fable 5 via Claude Code; design and single-flight approach from @StiensWout's #9421.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Redemption spends real account credits over a new RPC; correctness depends on per-account locking and idempotency, though disabled instances and non-Codex providers are rejected explicitly.
> 
> **Overview**
> Adds **end-to-end redemption of banked Codex rate-limit reset credits** from the Limits UI on web and mobile, backed by a new operate-scoped `provider.consumeResetCredit` RPC.
> 
> **Contracts and server:** `ServerProviderUsageLimits` can include `resetCredits` (count + next expiry). Codex probes attach that from `account/rateLimits/read`. Optional `ProviderInstance.consumeResetCredit` is implemented for Codex via a scoped app-server call to `account/rateLimitResetCredit/consume`, then a limits refresh. `CodexResetCreditCoordinator` serializes redemptions per Codex account directory, reuses one idempotency key until Codex returns an outcome, and times out hung requests. `withCodexAppServerClient` is extracted so status, skills, and redemption share the same short-lived app-server setup.
> 
> **Clients:** Limits rows show banked credits and a confirmed **Use a reset credit** action that calls `serverEnvironment.consumeResetCredit` and surfaces outcomes (`reset`, `nothingToReset`, etc.) or errors.
> 
> **Web usage sources (same PR):** Adding/removing CLIProxyAPI hubs and the add dialog target a **selected connected environment** (with picker when several are connected), gated by operate access—not only the primary environment.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 98f32e60852dca1d38c94335b3ed7aac8c4b895e. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->


Co-authored-by: Wout Stiens <[email protected]>
Co-authored-by: Claude Code <[email protected]>
2026-09-03 19:14:29 -07:00
19d8ab2ae9 feat(usage): show Codex and Claude subscription limits on a Limits tab (#9507)
Users on Codex or Claude Code subscriptions could not see how much quota was left or when it resets without leaving T3 Code. A user whose CLIs route through a CLIProxyAPI hub could not see it at all.

Each driver now returns `usageLimits` on its own snapshot (Codex from `account/rateLimits/read`, Claude from the SDK's `get_usage`), adapters normalise turn-driven rate-limit events at the boundary, and a driver-blind ingestion layer folds them onto the owning instance. The Usage page gains a Limits tab (mobile a card) with a bar per window, elapsed marker, pace, and reset countdown. CLIProxyAPI hubs can be added as read-only usage-limit sources; their accounts show badged "via CLIProxyAPI" with emails blurred.

Distilled from #1732 (server model, provider rows) and #9421 (Limits tab, window bars, pace maths). Closes #228.

Co-authored-by: Aditya Mer <[email protected]>
Co-authored-by: Wout Stiens <[email protected]>
Co-authored-by: Claude Code <[email protected]>
2026-09-03 17:47:54 -07:00
Theo BrowneandClaude Fable 5.1 06336460c9 feat(providers): add Google Antigravity via the official ACP agent (#9348)
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-09-03 02:34:48 -07:00
Yash Singhandmaria-rcks 6cf0c6ea55 feat: display native app and browser icons in work logs (#9093)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 01:32:41 -04:00
mariaandmaria-rcks ba3cb07738 feat(projects): automatically pull clean default branches (#9277)
Co-authored-by: maria-rcks <[email protected]>
2026-09-02 18:29:07 -04:00