Commit Graph
100 Commits
Author SHA1 Message Date
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
mariaandmaria-rcks dd6879ffea fix(pull-requests): reuse github api reads (#9176)
Co-authored-by: maria-rcks <[email protected]>
2026-09-02 03:56:32 -04:00
b2f25d390a feat(desktop): update the desktop app on remote Macs from the Update button (#6554)
Use a prepare and commit handoff for remote desktop updates. Retry lost commits, require the prepared version after reconnect, and recover backends and windows when installation fails.

Built with GPT-5.6 Sol in Codex.

Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Adolanium <[email protected]>
2026-09-01 19:08:38 -07:00
Theo Browne f32f9a2f41 fix(server): settle threads server-side (#8600) 2026-09-01 03:24:24 -07:00
Bilal BakrandJulius Marminge c78ae50a5a fix(server): isolate remote web session cookies (#8085)
Co-authored-by: Julius Marminge <[email protected]>
2026-08-31 20:07:42 -07:00
Yukun Shan 41adccc83e fix(server): allow long thread IDs in HTTP routes (#8898) 2026-08-31 16:38:19 -07:00
Ryan HughesandTheo Browne c1c2d5401d feat: let an environment publish themes as a file (#8569)
Co-authored-by: Theo Browne <[email protected]>
2026-08-28 22:46:09 -07:00
Theo BrowneandClaude Fable 5 badae6a5cc feat(server): fetch legacy model classification from a hosted manifest (#8227)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-25 19:32:19 -07:00
Theo Browne 06de9e90ab fix(server): keep previously used providers working after upgrades (#8176) 2026-08-25 01:10:55 -07:00
Theo Browne e9f50c3efc feat(web): upload image attachments before sending (#8048) 2026-08-24 01:44:39 -07:00
Bilal Bakr ba46f922a2 fix(pull-requests): protect provider API budgets (#6466) 2026-08-17 01:39:25 +02:00
Aditya Garud 931e91527c Keep the server alive when a response write hits a dead socket (#4470) 2026-08-15 12:31:32 +00:00
Theo BrowneandClaude Fable 5 57a299a785 feat(web): open remote environments in your local editor over SSH (#6572)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-14 17:35:34 -07:00
Guilherme Vieira f5fce74169 fix(pull-requests): route self-hosted GitLab remotes (#6061) 2026-08-11 13:11:19 +02:00
cad2c93616 feat: multi-provider pull requests page with in-app reviews (#4849)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: maria <[email protected]>
Co-authored-by: maria-rcks <[email protected]>
Co-authored-by: codex <[email protected]>
2026-08-10 17:47:02 +02:00
Theo BrowneandClaude Opus 5 8101cd0449 feat(usage): usage page reading provider transcripts across environments (#5684)
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
2026-08-08 03:59:04 -07:00
Theo Browne 64a3cd6d7d fix(server): separate trial cleanup from handoff retention 2026-08-06 08:09:51 -04:00
Theo Browne df2f1273e9 fix(server): clean up interrupted update trials 2026-08-06 08:09:51 -04:00
Theo BrowneandClaude Fable 5 990bb0b689 fix: reconnect faster after remote server updates (#5404)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-05 19:12:52 -07:00
Julius Marminge 2b1d4fecb8 Upgrade Effect to beta.103 (#5331) 2026-08-04 13:56:50 +02:00
Theo Browne d3037064e6 fix(server): make remote updates rollback-safe (#5181) 2026-08-01 05:48:03 -07:00
Theo BrowneandClaude Fable 5 1877237c7a fix(connect): reboots no longer strand the relay link, 403s now say why (#4988)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-30 07:31:53 -07:00
Julius Marmingeandcodex 49c0d96edf Reduce idle work and disk churn with native resource diagnostics (#2679)
Co-authored-by: codex <[email protected]>
2026-07-29 14:42:01 +02:00
Julius Marmingeandcodex 8650f05f95 refactor(server): use native HTTP compression streams (#4798)
Co-authored-by: codex <[email protected]>
2026-07-29 00:03:39 +00:00
Theo Browne 8829e2f9b9 perf(server): gzip large thread snapshots (#4788) 2026-07-28 15:17:30 -07:00
Julius MarmingeandClaude Fable 5 96398e3775 feat(connect): release the Cloudflare tunnel when the environment shuts down (#4531)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-27 17:33:41 +02:00
Julius Marminge 1c9a6de26e Add shared t3.json project configuration support (#4317) 2026-07-23 09:42:35 +00:00