Commit Graph
389 Commits
Author SHA1 Message Date
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
Theo BrowneandClaude Fable 5.1 ab67795dde fix(antigravity): load user skills from ~/.gemini for every project (#10257)
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-09-05 20:54:49 -07:00
Theo BrowneandClaude Fable 5.1 c8872fd22a fix(server): keep the Antigravity Google sign-in across server restarts (#10244)
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-09-05 20:54:29 -07:00
maria 4ca71463a2 fix(opencode): revert from the first removed assistant message (#9924) 2026-09-05 14:57:27 -04:00
maria 0d8a91a25a fix(cursor): cache successful model discovery between refreshes (#9918) 2026-09-05 14:56:43 -04:00
maria 6349a0e68a fix(antigravity): distinguish session initialization auth failures (#9919) 2026-09-05 14:45:16 -04:00
Julius Marminge 2271a27dad fix(server): keep Homebrew mise shims manual-only (#10085) 2026-09-05 03:07:18 -07: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 25cbcd62d9 test(server): cover Grok skill parsing through discovery (#10070) 2026-09-05 01:55:26 -07:00
Julius Marminge 160e337a5c test(server): remove repeated runtime prompt interpolation cases (#10059) 2026-09-05 01:52:24 -07:00
Julius Marminge df370c31d2 test(server): exercise Codex prompts through public assembly (#10045) 2026-09-05 01:29:40 -07:00
Julius Marminge ad3721eb5b refactor(server): keep Cursor fallback models private (#10038) 2026-09-05 01:22:08 -07:00
Julius Marminge 31fb210090 refactor(server): keep manifest age parsing private (#10028) 2026-09-05 01:19:37 -07:00
Julius Marminge 3fedf52467 test(server): cover raw OpenCode deltas through the adapter (#9977) 2026-09-05 00:22:14 -07:00
Julius Marminge 2fc630c9e8 test(server): remove provider equality wrapper fixture (#9979) 2026-09-05 00:12:30 -07:00
Julius Marminge c7dc3cbd06 fix(server): keep mise-owned npm packages manual-only (#9927) 2026-09-04 22:04:49 -07:00
Julius MarmingeandClaude Code 2fb99a7a66 fix(server): only run provider updates through the installer that owns the binary (#9325)
Co-authored-by: Claude Code <[email protected]>
2026-09-04 21:17:31 -07:00
Julius Marminge d28077e585 fix(server): quote copied native provider update commands (#9856) 2026-09-04 19:29:46 -07:00
Muhammad WaleedandJulius Marminge 57a6b70e24 fix(codex): show what a file-change approval will change (#8669)
Co-authored-by: Julius Marminge <[email protected]>
2026-09-04 19:16:04 -07:00
940e8233c2 fix(claude): surface usage-limit pauses in the thread (#7165)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-09-04 18:42:17 -07:00
82f64cd8d0 fix(skills): support names beginning with digits (#9244)
Co-authored-by: Claude Opus 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-09-04 18:13:43 -07:00
Julius Marminge 2d5464afbc fix(server): preserve native provider executable paths during updates (#9850) 2026-09-04 17:39:11 -07:00
fce8508456 fix(server): surface a missing workspace folder instead of a spawn error (#5040)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-09-04 17:31:05 -07:00
Darahaas YajamanyamandJulius Marminge a5bbad910f fix(server): surface Claude safety model fallback notices instead of dropping them (#8853)
Co-authored-by: Julius Marminge <[email protected]>
2026-09-04 17:21:15 -07:00
Ezra 087cfb8ae2 fix(cursor): discover symlinked skills as package boundaries (#9420) 2026-09-04 16:27:27 -07:00
Julius Marminge 5a433244d0 feat: add custom model names and option descriptors (#9807) 2026-09-04 16:11:20 -07:00
maria b906ce2d73 fix(server): recover opted-in threads after machine restarts (#9803) 2026-09-04 18:35:42 -04:00
maria 98a29cbaa1 fix: address usage limits and merge settlement regressions (#9784) 2026-09-04 17:46:12 -04:00
Julius MarmingeandClaude Code b123cbb317 test(server): make Windows path and async fixtures deterministic (#9576)
Co-authored-by: Claude Code <[email protected]>
2026-09-04 20:33:23 +00:00
Julius MarmingeandClaude Code 912276bcd9 test(server): run the Antigravity install harness for the host platform (#9574)
Co-authored-by: Claude Code <[email protected]>
2026-09-04 20:33:22 +00:00
Julius MarmingeandClaude Code 9af5139f59 test(server): keep provider fixture directories host-portable (#9572)
Co-authored-by: Claude Code <[email protected]>
2026-09-04 20:33:22 +00:00
Julius MarmingeandClaude Code 5c6c1d67d8 test(server): run fake provider CLIs through a Node stub on every host (#9567)
Co-authored-by: Claude Code <[email protected]>
2026-09-04 20:33:20 +00:00
Julius MarmingeandClaude Code 30f128faba test: skip symlink fixtures where the host cannot create symlinks (#9566)
Co-authored-by: Claude Code <[email protected]>
2026-09-04 20:33:20 +00:00
Julius MarmingeandClaude Code 4701041eef test(server): skip posix executable fixtures on a Windows host (#9565)
Co-authored-by: Claude Code <[email protected]>
2026-09-04 20:33:19 +00: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
Julius Marminge bfef973d9e fix(server): remove retired Codex models after refresh (#9773) 2026-09-04 13:24:40 -07:00
Julius Marminge bc03c3640d fix(models): make GPT-6-Astra current (#9762) 2026-09-04 12:15:41 -07:00
Theo Browne c8f77e0d44 perf(server): stop caching unused OpenCode tool parts (#9738)
Do not retain OpenCode tool parts after emitting their runtime events. The remaining cache readers need text, reasoning, or step-usage parts, not tool input and output.

Keep tool lifecycle events, output bytes, late-role assistant text, and usage handling unchanged. Add focused lifecycle coverage and verify retained memory through the real adapter.

Created with GPT-6 Astra (preview) in Codex.
2026-09-04 11:04:05 -07:00
Theo Browne dffb4cd3b1 perf(server): use one query for buffered provider events (#9706) 2026-09-04 08:46:29 -07:00
Theo Browne 1587f248dd feat(server): measure provider turn token usage (#9132) 2026-09-04 07:54:23 -07:00
Theo Browne ec8b2119c3 perf(server): omit repeated OpenCode progress logs (#9689) 2026-09-04 07:26:51 -07:00
Theo Browne f2e3764c25 perf(server): stop retaining unused OpenCode tool history (#9684) 2026-09-04 07:19:43 -07:00
Theo BrowneandClaude Fable 5.1 560afffdea fix(server): update Claude Agent SDK to 0.3.260 (#9135)
Co-authored-by: Claude Fable 5.1 <[email protected]>
2026-09-04 06:23:12 -07:00
Theo Browne 01f3e50eca fix(server): unblock OpenCode approvals and stop (#9653)
OpenCode could show an Approval badge with no controls, appear stuck on TodoWrite, and keep showing a running turn after Stop.

- Show every permission, including old saved requests. Keep failed replies retryable and close completed requests even when reply events are lost.
- Keep OpenCode output pipes drained and automatic replies out of the event loop. Handle disconnects, reconnects, and confirmed stops without stale requests or running states.
- Show native task progress and command results. Do not treat TodoWrite or approval history as file edits or executed commands.
- Ignore late aborts and task updates after a turn finishes.

Fixes #4795
Fixes #7113
Fixes #5760

Created with GPT-6 Astra (preview) in Codex. Reviewed and merged with Claude Fable 5.1 in Claude Code.
2026-09-04 05:41:32 -07: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
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
Theo Browne 2675e3c703 fix(antigravity): keep subagent batches active after launch (#9579) 2026-09-03 20:29:56 -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
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