Commit Graph
4441 Commits
Author SHA1 Message Date
Jinwoo-HandCursor 5cfce7510f Fix typecheck for host-backed agent launches and address review feedback.
Guard null tab ids from web host routing, narrow runtime environment ids for tab close, and respect mobile resize locks in web refit retries.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-07 12:49:16 -07:00
Jinwoo-HandCursor 2ad4be457b Fix web agent tab close and update tests for host-backed worktree selection.
Route agent quick launches through the host in paired web clients so tab close works, and align runtime/web IPC tests with setActiveWorktree plus notifyHostRuntime: false.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-07 12:37:26 -07:00
Jinwoo-HandCursor ca913e5c11 Fix web remote client workspace switching and terminal wake regressions.
Stop activation echo loops between paired web clients and the host runtime, and harden web terminal overlay sizing so slept workspaces wake with full-width PTY dimensions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-07 12:28:36 -07:00
129b4c755f Show Kimi Code subscription usage in the status bar (#4641)
* Show Kimi Code subscription usage in the status bar

Add a read-only rate-limit fetcher for Kimi Code that reads the OAuth token from ~/.kimi-code/credentials (honoring KIMI_CODE_HOME) and queries Kimi's usages endpoint, surfacing the 5h session window and weekly quota in the existing status-bar rate-limit UI alongside Claude/Codex/Gemini. Gated on the kimi CLI being detected, with a settings toggle.

Read-only by design: the fetcher never refreshes or writes credentials — rotating Kimi's refresh token would log out the user's live CLI session — and never calls Kimi's completion endpoint. It only reads the existing token and the usages quota endpoint, mirroring how the CLI itself reads managed usage.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Harden Kimi usage status handling

Preserve cached quota on transient Kimi credential/API failures and migrate the default status-bar item for existing users.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-07 13:58:29 -04:00
Trevin Chow 8aa5b53148 feat(browser): persist default browser zoom (#4765) 2026-06-07 13:49:38 -04:00
Neil d7aff06e10 Guard renderer backlog under PTY pressure (#4810) 2026-06-07 10:49:07 -07:00
Neil f6a576d09c Measure renderer terminal backlog pressure (#4809) 2026-06-07 10:36:26 -07:00
Neil 7ac509ed62 Scale real PTY pressure benchmarks (#4808) 2026-06-07 10:18:39 -07:00
Neil 9c92e3d47b Measure terminal scroll under PTY pressure (#4807) 2026-06-07 09:59:55 -07:00
Neil 6d4065cae5 Measure hidden PTY restore latency (#4806) 2026-06-07 09:49:03 -07:00
Neil 66a561e18b Add hidden real PTY pressure benchmark (#4805) 2026-06-07 09:40:30 -07:00
Neil 3c38c973bc Add active typing pressure regression benchmark (#4804) 2026-06-07 09:26:50 -07:00
Neil 16fde16e90 Track peak PTY renderer delivery pressure (#4800) 2026-06-07 09:14:30 -07:00
Neil 228da20e93 Annotate terminal perf with main PTY pressure (#4799)
Annotate terminal perf benchmark output with main PTY pressure counters.
2026-06-07 08:54:16 -07:00
Neil c410d051c2 Expose PTY renderer delivery pressure debug (#4798)
Expose main PTY renderer delivery pressure counters for backpressure regression tests.
2026-06-07 08:42:24 -07:00
Neil 62eef67edc Clamp provider terminal data ACKs (#4797)
Clamp provider terminal data ACKs to bytes actually in flight.
2026-06-07 08:36:35 -07:00
Neil be4dc76b8a Tighten OpenCode terminal latency budgets (#4796)
Tighten OpenCode terminal latency budgets and harden the artificial OpenCode prompt-script harness.
2026-06-07 08:28:15 -07:00
Neil 1defc2d1dd Summarize terminal perf benchmark reports (#4795) 2026-06-07 08:08:04 -07:00
Neil 3d9eadf42a Add cross-workspace OpenCode scale benchmarks (#4794) 2026-06-07 07:56:56 -07:00
Neil 8d78e0cf1e Add OpenCode terminal scale benchmarks (#4793) 2026-06-07 07:41:02 -07:00
Neil b88ff2826b Prioritize active terminal renderer writes (#4792)
* Prioritize active terminal renderer writes

* Tighten remote terminal priority test
2026-06-07 07:19:34 -07:00
Neil 3704c7650f Prioritize active terminal output (#4791) 2026-06-07 06:44:29 -07:00
Neil 86baa8e167 Bound live terminal output frames (#4789) 2026-06-07 06:22:10 -07:00
Neil d9c41f4596 Cap terminal stream output batches by bytes (#4787) 2026-06-07 06:03:54 -07:00
Neil 0cbcec01ee Cap terminal multiplex backlog by bytes (#4785) 2026-06-07 05:50:51 -07:00
Neil ad06b87188 Guard partial live chunk hidden restores (#4784) 2026-06-07 05:39:15 -07:00
Neil c91ea599d9 Track split OSC metadata in headless terminals (#4783) 2026-06-07 05:27:58 -07:00
Neil 6caebb27f5 Preserve cold restore cwd in headless snapshots (#4782) 2026-06-07 05:13:18 -07:00
Neil 8bdc55cb81 Adopt seeded titles into headless terminal state (#4781) 2026-06-07 04:58:11 -07:00
Neil 733f77d522 Track terminal titles in headless snapshots (#4780) 2026-06-07 04:47:10 -07:00
Neil e5f09ceacc test: guard hidden terminal side effects (#4779) 2026-06-07 04:29:26 -07:00
Neil 8d1eefb1e1 test: add docker ssh relay perf guard (#4778) 2026-06-07 04:15:26 -07:00
github-actions[bot] e2612a90e5 release: v1.4.51-rc.4 [rc-slot:2026-06-07-03] v1.4.51-rc.4 2026-06-07 10:49:49 +00:00
Neil 2c35f5bf5c perf: batch relay pty output (#4777) 2026-06-07 03:45:24 -07:00
Neil 722c9c6697 perf: reserve renderer budget for terminal input echoes (#4776) 2026-06-07 03:27:31 -07:00
Neil 29999612af test: expand terminal perf guard (#4775) 2026-06-07 03:02:17 -07:00
Neil 429d5935a3 refactor: preserve terminal status connection identity (#4774) 2026-06-07 02:41:09 -07:00
Neil d1aea2a9c5 refactor: make local terminal status runtime-owned (#4773)
* refactor: make local terminal status runtime-owned

* fix: preserve ssh terminal status ownership

* test: document remote status ownership fixture
2026-06-07 02:19:35 -07:00
Neil 2401c3d8d9 refactor: wire rendererless terminal status into hooks 2026-06-07 01:56:39 -07:00
Neil 4116cb900d refactor: add terminal status hook ingest path 2026-06-07 01:44:53 -07:00
Neil aaf51dad45 refactor: parse terminal agent status in runtime 2026-06-07 01:35:46 -07:00
Neil 773ddccd36 refactor: share terminal agent status parser (#4768) 2026-06-07 01:10:05 -07:00
Neil e180d137e9 test: guard hidden terminal renderer skips under load (#4767) 2026-06-07 00:58:33 -07:00
Neil dff2d02891 Improve terminal output backpressure
Adds ACK-backed renderer output admission control for PTY data, bounding per-PTY and global renderer in-flight output while preserving PTY ingestion for runtime state and notifications.
2026-06-07 00:41:42 -07:00
github-actions[bot] 8a6b8eb223 release: v1.4.51-rc.3 v1.4.51-rc.3 2026-06-07 06:42:43 +00:00
Neil 9db0985c7f fix: restore hidden remote terminal output snapshots (#4759) 2026-06-06 23:37:05 -07:00
github-actions[bot] ca5ccdd126 release: v1.4.51-rc.2 [rc-slot:2026-06-06-15] v1.4.51-rc.2 2026-06-06 22:27:43 +00:00
github-actions[bot] 2ddddd8046 release: v1.4.51-rc.0 [rc-slot:2026-06-06-03] v1.4.51-rc.0 2026-06-06 10:42:11 +00:00
Neil 04ddafe100 Improve terminal responsiveness under many TUI redraws (#4744) 2026-06-06 02:14:51 -07:00
github-actions[bot] 0859f5fec0 release: v1.4.50 v1.4.50 2026-06-06 04:17:21 +00:00