Commit Graph
64 Commits
Author SHA1 Message Date
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
Theo Browne 3b75e607eb feat(server): add reusable auth token for dev worktrees (#8606) 2026-09-13 20:18:17 -07:00
maria db6e0531e4 feat(github): route pull request operations across matching accounts (#11367) 2026-09-13 03:33:13 -03:00
Julius Marminge d2eeacd8cc feat(devices): connect simulator hosts over SSH (#10856) 2026-09-10 11:59:34 -07: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 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
Julius Marminge bd56e920b7 chore(deps): upgrade Effect to rc.112 and Alchemy to beta.76 (#10652) 2026-09-07 21:54:43 -07:00
maria 420fd76f60 feat(connections): balance new threads across connected machines (#9895) 2026-09-06 02:33:13 -03:00
Theo BrowneandClaude Fable 5 09aac71563 feat(web): first-run welcome wizard with agent setup and project import (#5362)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-09-05 02:22:30 -07:00
Julius Marminge 363cde4114 fix(connect): refresh HTTP credentials without reconnecting (#9594) 2026-09-04 20:12:04 -07:00
Julius MarmingeandClaude Code cc60753aa2 test: stop path and platform tests depending on the host OS (#9564)
Co-authored-by: Claude Code <[email protected]>
2026-09-04 20:33:19 +00:00
seeb1337andTheo Browne eb77683e55 fix(server): prevent duplicate desktop clients after restart
Replace stale local desktop sessions in one transaction. Preserve paired clients and browser sessions, and keep the previous credential valid if replacement fails.

Closes https://github.com/pingdotgg/t3code/issues/6283.

Original implementation by seeb1337. Reviewed and verified with GPT-6 Astra (preview) in Codex.

Co-authored-by: seeb1337 <[email protected]>
Co-authored-by: Theo Browne <[email protected]>
2026-09-04 04:20:53 -07: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
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 Browne 9d28c21a26 fix(auth): keep pairing credentials out of access read models (#9523) 2026-09-03 17:17:38 -07:00
Theo BrowneandClaude Fable 5.1 2b745efe57 fix(usage): price new models without waiting a day for the rate table (#9202)
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-09-03 02:46:51 -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
f5fbb1bcb0 chore: upgrade vite-plus to 0.3.0 (#9327)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
2026-09-03 03:40:31 +00:00
9ebbeda5a0 feat(web): apply and remove labels from the pull request tab (#9313)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
2026-09-03 02:25:21 +00: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
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
ExoticandJulius Marminge 94f1948166 fix(connect): explain DPoP connection failures (#8351)
Co-authored-by: Julius Marminge <[email protected]>
2026-08-28 14:14:32 -07:00
Theo Browne e9f50c3efc feat(web): upload image attachments before sending (#8048) 2026-08-24 01:44:39 -07:00
Theo Browne 3db38b8814 feat(codex): submit thread feedback to OpenAI (#7949) 2026-08-23 00:00:36 -07:00
Theo BrowneandClaude Fable 5 11f051373e feat(analytics): threads and turns now know which client started them (#7774)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-21 21:04:46 -07:00
Bilal Bakr ba46f922a2 fix(pull-requests): protect provider API budgets (#6466) 2026-08-17 01:39:25 +02:00
Bilal BakrandJulius Marminge b28f9bf0a1 feat(web): pull request surfaces — filters & qualifiers, all-server listing, update branch, reactions, in-place editing, smarter diffs (#6039)
Co-authored-by: Julius Marminge <[email protected]>
2026-08-12 22:58:36 +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 BrowneandClaude Fable 5 a2ca89aa10 feat: native subagent & workflow observability (#5219)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-06 00:32:28 -04:00
maria 4fb03aff0b fix(web): better right panel (new diffs styling) (#5260) 2026-08-05 00:00:24 +02:00
abc409c2d4 Add project file picker (⌘P) and project content search (⇧⌘F) (#4855)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-07-30 16:39:15 +02:00
Theo Browne 4b71a2ae2f feat(search): find threads by conversation content (#4959) 2026-07-30 05:30:11 -07:00
Theo Browne 197d348711 fix(web): show server update progress through reconnect (#4903) 2026-07-30 04:45:04 -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 f4c394323d Add background preview capture and picture-in-picture support (#4397)
Co-authored-by: codex <[email protected]>
2026-07-27 13:58:17 +02:00
Theo BrowneandClaude Opus 5 23b5502217 feat(dev): Make t3 code dev instances shareable over Tailscale (#4556)
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
2026-07-26 19:48:09 -07:00
Julius MarmingeandClaude Opus 4.8 482d56233d Load thread snapshots over HTTP before live sync (#3719)
Co-authored-by: Claude Opus 4.8 <[email protected]>
2026-07-05 22:00:13 -07:00
Jgratton24 a9b1190a11 Desktop: parallel WSL + Windows backends with mode picker (#2751) 2026-06-27 08:53:34 -07:00
92e54fb96c [codex] fix: guard DPoP fallback URL construction (#3503)
Co-authored-by: Codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-06-22 16:21:06 -07:00
Julius Marminge 82a9bcc7f4 [codex] add session context to credential errors (#3349) 2026-06-20 20:45:17 -07:00
Julius Marmingeandcodex fdc1e8b3a2 [codex] Structure pairing grant failures (#3386)
Co-authored-by: codex <[email protected]>
2026-06-20 12:02:16 -07:00
Julius Marmingeandcodex 97e5cd3bf7 [codex] align server auth Effect services (#3180)
Co-authored-by: codex <[email protected]>
2026-06-20 01:34:52 -07:00
Julius Marmingeandcodex 2fa37ec183 [codex] Enforce canonical Node namespace imports (#3238)
Co-authored-by: codex <[email protected]>
2026-06-20 01:06:37 -07:00
Julius Marmingeandcodex df1540f3ac [codex] align persistence Effect service modules (#3184)
Co-authored-by: codex <[email protected]>
2026-06-19 21:14:18 -07:00
Julius Marmingeandcodex 1cf3647da6 [codex] Normalize server core Effect service modules (#3187)
Co-authored-by: codex <[email protected]>
2026-06-19 19:58:48 -07:00
13917df1fe Use idiomatic Effect options for server secret reads (#3110)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-06-19 11:15:35 -07:00
Julius Marmingeandcodex e95b57dc26 [codex] Rewrite client connection architecture (#2978)
Co-authored-by: codex <[email protected]>
2026-06-18 13:10:32 -07:00