Commit Graph
1749 Commits
Author SHA1 Message Date
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
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
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
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
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
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
mariaandmaria-rcks 0a0b6be968 fix(web): keep right panel controls clickable (#9517)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 20:38:43 -04:00
Theo Browne d76b24dd15 feat(codex): support async questions (#9512) 2026-09-03 17:36:41 -07:00
Theo Browne 9d28c21a26 fix(auth): keep pairing credentials out of access read models (#9523) 2026-09-03 17:17:38 -07:00
Julius MarmingeandClaude Code c0ebc882b8 fix(web): return focus to the composer after closing a media preview (#9513)
Co-authored-by: Claude Code <[email protected]>
2026-09-03 17:04:39 -07:00
Julius MarmingeandClaude Code 522ebe65a5 fix(web): keep the composer open while selecting timeline text (#9499)
Co-authored-by: Claude Code <[email protected]>
2026-09-03 17:04:39 -07:00
Julius MarmingeandClaude Code 6382268323 fix(web): let paste expand a resting composer (#9498)
Co-authored-by: Claude Code <[email protected]>
2026-09-03 17:04:39 -07:00
3653cb22ff fix(desktop): address the browser import review left over from the stack (#9516)
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Co-authored-by: Utkarsh Patil <[email protected]>
2026-09-03 16:57:10 -07:00
Julius MarmingeandClaude Opus 5 498ab9c399 feat(desktop): resolve Chromium cookie keys on Linux (#7261)
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
2026-09-03 16:30:21 -07:00
Julius MarmingeandClaude Opus 5 39449e53e3 feat(desktop): import browser cookies into a profile (#7255)
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
2026-09-03 16:30:20 -07:00
mariaandmaria-rcks 12e8997e58 fix(web): keep agent browser preview visible (#9484)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 18:50:04 -04:00
mariaandmaria-rcks c726c30a14 fix(web): keep opencode icon hollow in collapsed composer (#9492)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 18:48:44 -04:00
Exotic 77138cf331 fix(web): dont collapse composer when interacting with bottom row (#9490) 2026-09-03 15:23:01 -07:00
Julius MarmingeandClaude Code 0869ad648b fix(web): let the PR reviewer and label search boxes take keystrokes (#9479)
Co-authored-by: Claude Code <[email protected]>
2026-09-03 15:21:07 -07:00
mariaandmaria-rcks 373be93e68 fix(web): move workflow approval beside checks (#9465)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 17:44:05 -04:00
Julius MarmingeandClaude Code 03728361aa feat(web): let users turn off composer collapse on blur and scroll (#9469)
Co-authored-by: Claude Code <[email protected]>
2026-09-03 14:28:36 -07:00
mariaandmaria-rcks 493fbb5887 fix(web): reuse pull request list data while loading (#9467)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 17:28:28 -04:00
Utkarsh Patil db8d60f486 fix(web): render transparent previews on white (#9463) 2026-09-03 12:46:28 -07:00
mariaandmaria-rcks 46e8b1a23a fix(web): make right panel tabs easier to scroll (#9461)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 15:09:54 -04:00
ZortosandCursor d5825e1d2f fix(web): stop clipping the traits chevron on long Codex effort labels (#9433)
Co-authored-by: Cursor <[email protected]>
2026-09-03 11:35:49 -07:00
Julius Marminge 126afb56fc fix(web): banner buttons no longer expand the resting composer (#9452) 2026-09-03 11:09:51 -07:00
mariaandmaria-rcks 8bd544cdfd fix(web): keep agent images collapsed (#9460)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 14:04:10 -04:00
mariaandmaria-rcks 4e89d74436 fix(web): make project icons the default (#9457)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 13:53:16 -04:00
mariaandmaria-rcks 645d58547d fix(web): prioritize authored pull requests (#9453)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 13:47:01 -04:00
mariaandmaria-rcks 21b9dda5af fix(web): unify skeleton loading animations on one pulse (#9448)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 13:30:07 -04:00
mariaandmaria-rcks d4ba2a1f11 fix(composer): mute fast icon when collapsed (#9451)
Co-authored-by: maria-rcks <[email protected]>
2026-09-03 13:29:38 -04:00
Rakshith Bhat 2120fbc185 fix(web): avoid duplicate Antigravity install status (#9419) 2026-09-03 09:36:09 -07:00
Simone cfddb4201d fix(mobile): skip unsupported shared settings targets (#9381) 2026-09-03 09:35:25 -07:00
oliver 57626eb6ea fix(web): prevent loading ssh environments from overriding navigation (#9168) 2026-09-03 09:33:56 -07:00
Yukun Shan 098bf53297 fix(web): preserve explicit preview navigation URLs (#8902) 2026-09-03 09:32:40 -07:00
Exotic 77e35c5612 fix(web): send cited messages with Cmd+Enter (#9307) 2026-09-03 09:22:06 -07:00