Commit Graph
2814 Commits
Author SHA1 Message Date
Dara Adedejiandshivam 09d13de438 feat(mobile): make chat text selectable on Android (#8779)
Co-authored-by: shivam <[email protected]>
2026-09-04 09:52:07 +00:00
mariaandmaria-rcks 5f878d2a85 fix(web,mobile): fold context compaction under settled turn folds (#9623)
Co-authored-by: maria-rcks <[email protected]>
2026-09-04 04:12:46 -04:00
mariaandmaria-rcks ec3ec6f0b4 fix(web): mute sidebar branch name to match worktree icon (#9622)
Co-authored-by: maria-rcks <[email protected]>
2026-09-04 04:08:08 -04:00
Barry 2152d44de2 fix(server): load OpenCode workspace skills via SDK to avoid 64KB CLI pipe truncation (#9585) 2026-09-04 03:58:56 -04:00
oliver 706231535c fix(web): match composer pull request state icons (#9375) 2026-09-04 03:57:35 -04:00
Rakshith Bhat 93c3ab4ffe fix(web): snooze menu no longer overlaps thread details (#9601) 2026-09-04 03:52:26 -04:00
Guillermo Casanova 4cc800c759 fix(web): keep command palette above composer menus (#9613) 2026-09-04 03:50:44 -04:00
Julius Marminge 99e3b721c5 fix(connect): diagnose incomplete headless server setup (#9602) 2026-09-04 00:43:47 -07:00
Julius Marminge c3b8825bf4 fix: preserve tool icons on failed calls (#9606) 2026-09-04 00:30:55 -07:00
Julius MarmingeandClaude Code 61a91b6ef1 fix(web): group image views like other tool calls (#9597)
Co-authored-by: Claude Code <[email protected]>
2026-09-04 00:27:16 -07:00
Theo Browne 00f8b7c280 fix: show idle subagent batches without completion marks (#9616) 2026-09-04 00:24:44 -07:00
Julius Marminge f1e90e388b refactor(web): move usage provider controls to settings (#9599) 2026-09-03 23:56:23 -07:00
Exotic caab2fdbac fix(web): render draft PRs in gray (#9537) 2026-09-04 02:17:18 -04:00
mariaandmaria-rcks 5cc369b7eb fix(pull-requests): refresh data after thread turns (#9496)
Co-authored-by: maria-rcks <[email protected]>
2026-09-04 02:16:25 -04:00
Guilherme Vieira f559fe0ba6 fix(web): show context meter in compact composer (#9430) 2026-09-04 01:25:37 -04:00
mariaandmaria-rcks 57832803ee fix(desktop): restore panel titlebar interactions (#9591)
Co-authored-by: maria-rcks <[email protected]>
2026-09-04 01:07:11 -04:00
mariaandmaria-rcks 07891e9569 fix(web): bound disconnected send toasts (#9592)
Co-authored-by: maria-rcks <[email protected]>
2026-09-04 00:47:09 -04:00
Julius Marminge b34ff8f564 fix(usage): deduplicate CLI proxy subscription accounts (#9584) 2026-09-03 21:38:45 -07:00
Dara Adedeji 09b81a3495 fix(mobile): render workspace images in markdown file previews (#8769) 2026-09-03 21:27:16 -07:00
Theo Browne 2675e3c703 fix(antigravity): keep subagent batches active after launch (#9579) 2026-09-03 20:29:56 -07:00
mariaandmaria-rcks bf40fa786c fix(web): align the sidebar wordmark by baseline (#9578)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 23:26:31 -04:00
Yash Singh 0cb02abf5b fix: better shell syntax handling for labels (#9371) 2026-09-03 22:20:10 -05:00
mariaandmaria-rcks 42bdea1c9c fix(web): stabilize right panel transitions (#9554)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 23:17:41 -04:00
mariaandmaria-rcks 2b10398cca fix(web): render settings sidebar immediately (#9563)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 23:08:26 -04:00
Julius MarmingeandClaude Fable 5 d7884ce90b fix(web): make settings sidebar sub-section buttons full width (#9562)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-09-03 20:05:01 -07:00
mariaandmaria-rcks 65f1839ae8 fix(web): keep codex restart responses continuous (#9560)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 23:00:04 -04:00
Theo Browne fee2e0ff81 test(web): fix flaky startup and Tailwind tests (#9558) 2026-09-03 19:50:20 -07:00
Theo BrowneandClaude Fable 5.1 9e1bc36a08 fix(web): keep the last message visible when the resting composer expands (#9553)
Scrolling a long thread to the end with the composer at rest landed flush
against the short composer. The expansion that followed then covered the
last rows, because the timeline reserves only the live overlay height and
does not move for footer growth.

The timeline now keeps the expanded composer's height clear while the
composer rests, so expanding it again changes nothing above the composer.
The composer reports its resting flag from a layout effect and publishes a
fresh overlay height whenever that flag changes, so the reservation is
always computed from a height that belongs to the same layout.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-03 19:36:10 -07:00
mariaandmaria-rcks 710f6dc417 fix(web): simplify expanded tool details (#9549)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 22:35:24 -04:00
Julius MarmingeandClaude Code f96a220b5b ci: add on-demand Windows test workflow (#9538)
Co-authored-by: Claude Code <[email protected]>
2026-09-03 19:30:37 -07:00
Theo BrowneandClaude Fable 5.1 4e547318b6 fix(server): find newly opened pull requests after agent turns (#9125)
Refresh missing PR associations after agent turns on the thread's current branch. Preserve background policy, known PR caches, and failed-lookup backoff. Serialize status loads and refreshes to prevent stale responses from hiding a PR. Find branches pushed under their own name while still tracking the default branch.

Original work by Theo Browne with Claude Fable 5.1 in Claude Code. Takeover fixes created with GPT-6 Astra (preview) in Codex.

Co-authored-by: Theo Browne <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-09-03 19:19:26 -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
Theo BrowneandClaude Fable 5.1 232de5e8aa feat(marketing): fresh screenshot and floating marks on the homepage (#9547)
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-09-03 19:14:12 -07:00
Julius Marminge 617edab653 fix(server): reveal normalized paths in File Explorer (#9551) 2026-09-03 19:07:24 -07:00
oliver 3e2c1a66f7 fix(web): thread error banner no longer shifts the chat (#9473) 2026-09-03 22:04:40 -04:00
Julius Marminge f239b77df9 fix(web): close composer menus when their controls hide (#9541) 2026-09-03 18:55:44 -07:00
Julius Marminge 3c3e05ccfe fix(web): measure collapsed model labels at their visible width (#9540) 2026-09-03 18:55:43 -07:00
Julius Marminge 54aef6fbe1 fix(web): restore composer controls as space becomes available (#9539) 2026-09-03 18:55:43 -07:00
Julius MarmingeandClaude Fable 5 5989de44a2 fix(mobile): keep store screenshots free of system banners and show dictation (#9548)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-09-03 18:53:21 -07:00
mariaandmaria-rcks c5ba51d629 feat(providers): add context compaction command (#9293)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 21:48:28 -04:00
Theo Browne 6f405370c8 fix(dev): keep shared dev reloads and hot updates working (#9543) 2026-09-03 18:45:08 -07:00
dddc0bdcb2 fix(server): include SQLite conditions in persistence errors
Include SQLite conditions and schema issue tags without copying query data.

Continue @Sy-D's [#4837](https://github.com/pingdotgg/t3code/pull/4837). Add the missing Bun error codes and test the real SQL client.

Created with GPT-6 Astra (preview) in Codex.

Co-authored-by: Sy-D <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>
2026-09-03 18:35:27 -07:00
Theo Browne 07c4ab5077 fix(web): keep automatic project icons consistent (#9535) 2026-09-03 18:28:55 -07:00
Matheus Timbó PereiraandClaude Opus 5 0ba06a122b fix(web): settle the resting composer layout with a pixel of slack (#9482)
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
2026-09-04 01:23:52 +00:00
Jake Leventhal f54ab901fa Fix worktree removal timing out on large install trees (#3902) 2026-09-03 18:17:36 -07:00
Seth WebsterandClaude Fable 5 6319a97148 fix(desktop): preview CDP sessions no longer hard-crash the app (#9068)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-09-03 18:16:57 -07:00
Derek Trimm b90898077e fix(server): back off relay client restarts after rapid exits (#8788) 2026-09-03 18:16:16 -07:00
mariaandmaria-rcks 2b96220f00 fix(server): settle branch threads immediately on pull request merge (#9528)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 21:11:57 -04:00
mariaandmaria-rcks 343db2c328 feat(web): reorganize settings pages (#9354)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 20:48:03 -04: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