Commit Graph

4515 Commits

Author SHA1 Message Date
Spencer 1e4d02745b test(cli): update InputPrompt svg snapshots 2026-04-10 17:33:00 +00:00
Spencer f7ef749a39 test(cli): fix flaky InputPrompt snapshot test caused by polling inside waitFor 2026-04-10 17:01:49 +00:00
Spencer f3869f947a fix(core): ensure childProcessFallback also streams file_data unconditionally without truncation 2026-04-10 16:43:03 +00:00
Spencer 35a6bc245a fix(core): ensure binary shell output files are still written to disk for 20MB files, and wait for stream close 2026-04-10 15:47:53 +00:00
Spencer b07d8215fc Merge branch 'main' into memory_usage3 2026-04-10 01:05:39 -04:00
Spencer ca4c1946f3 Merge branch 'main' into memory_usage3 2026-04-10 00:21:49 -04:00
Spencer 5fc8fea8d7 fix: resolve lifecycle memory leaks by cleaning up listeners and root closures (#25049) 2026-04-10 04:21:14 +00:00
Spencer 194487498b fix(core): ensure file stream output dir exists and test uses explicit tool output path 2026-04-10 03:47:14 +00:00
Jacob Richman 43b93e9e1b debugging(ui): add optional debugRainbow setting (#25088) 2026-04-10 02:42:21 +00:00
June 69bf2d75ef fix: decode Uint8Array and multi-byte UTF-8 in API error messages (#23341)
Co-authored-by: Coco Sheng <cocosheng@google.com>
2026-04-10 01:06:54 +00:00
Spencer 582f968278 Merge branch 'main' into memory_usage3 2026-04-09 20:15:39 -04:00
Tommaso Sciortino 55db77bb91 fix(core): silently handle EPERM when listing dir structure (#25066) 2026-04-09 22:25:23 +00:00
Sri Pasumarthi de628b04fc feat(test): add high-volume shell test and refine perf harness (#24983) 2026-04-09 22:23:00 +00:00
Spencer 396608ac6b Merge branch 'main' into memory_usage3 2026-04-09 18:10:24 -04:00
Spencer c8f94e952c test: fix tests failing due to close event changes in childProcessFallback and add missing config mocks 2026-04-09 22:09:14 +00:00
Emily Hedlund 451edb3ea6 fix(sandbox): centralize async git worktree resolution and enforce read-only security (#25040) 2026-04-09 22:04:16 +00:00
Spencer 8dd39fbf9e Merge branch 'main' into memory_usage3 2026-04-09 17:30:24 -04:00
Spencer 0f7f7be4ef fix(core): clear 5-minute timeouts in oauth flow to prevent memory leaks (#24968) 2026-04-09 21:14:07 +00:00
Spencer f744913584 feat(core): migrate chat recording to JSONL streaming (#23749) 2026-04-09 21:13:55 +00:00
Michael Bleigh 45100f7c0e feat(cli): wire up useAgentStream in AppContainer (#24297)
Co-authored-by: Adam Weidman <adamfweidman@gmail.com>
Co-authored-by: Adam Weidman <adamfweidman@google.com>
2026-04-09 20:40:00 +00:00
Spencer 821bd91d27 Merge branch 'main' into memory_usage3 2026-04-09 16:28:21 -04:00
Abhi a7a091360e fix(core): remediate subagent memory leaks using AbortSignal in MessageBus (#25048) 2026-04-09 20:22:26 +00:00
Yuna Seol 20113ee595 fix(core): honor retryDelay in RetryInfo for 503 errors (#25057) 2026-04-09 20:16:36 +00:00
ruomeng 2a5f798863 refactor(plan) Clean default plan toml (#25037) 2026-04-09 20:04:20 +00:00
Abhi 570f0235f8 refactor(core): remove legacy subagent wrapping tools (#25053) 2026-04-09 19:51:36 +00:00
Spencer 4e6d886c95 Merge branch 'main' into memory_usage3 2026-04-09 15:07:16 -04:00
Michael Bleigh e406856343 feat(cli): implement useAgentStream hook (#24292)
Co-authored-by: Adam Weidman <adamfweidman@gmail.com>
Co-authored-by: Adam Weidman <adamfweidman@google.com>
2026-04-09 19:06:27 +00:00
Spencer 7539de5e55 Merge branch 'main' into memory_usage3 2026-04-09 14:32:13 -04:00
euxaristia a9b5c693ca fix(cli): suppress unhandled AbortError logs during request cancellation (#22621) 2026-04-09 18:27:08 +00:00
chernistry 0690192d45 fix: respect hideContextPercentage when FooterConfigDialog is closed without changes (#24773)
Co-authored-by: Coco Sheng <cocosheng@google.com>
2026-04-09 18:17:00 +00:00
Spencer 47575605d2 fix: resolve childProcessFallback on close instead of exit to prevent stdout truncation, and fix recursive file search in tests 2026-04-09 18:10:58 +00:00
MD. MOHIBUR RAHMAN 5bcb6b619d fix(core): add explicit git identity env vars to prevent sandbox checkpointing error (#19775)
Co-authored-by: David Pierce <davidapierce@google.com>
2026-04-09 17:24:04 +00:00
Spencer 36bc97c157 Merge branch 'main' into memory_usage3 2026-04-09 12:58:19 -04:00
Abhi b238a453e3 feat(core): refactor subagent tool to unified invoke_subagent tool (#24489) 2026-04-09 16:48:24 +00:00
Jacob Richman 6686c8ee4c Support ctrl+shift+g (#25035) 2026-04-09 16:23:04 +00:00
Spencer 3dba67afa8 test: fix failing tests in core due to shell stream logic changes 2026-04-09 16:18:54 +00:00
Spencer 35bc1e6e0f Merge branch 'main' into memory_usage3 2026-04-09 12:12:55 -04:00
Spencer 23aa04ffcb fix: preserve fullOutputFilePath when content is summarized and flush pending lines on exit 2026-04-09 15:30:53 +00:00
Emily Hedlund 5724d6be0f refactor(core): use centralized path resolution for Linux sandbox (#24985) 2026-04-09 15:28:58 +00:00
Spencer 63021b14b6 fix: properly serialize initial AnsiOutput for background processes 2026-04-09 13:53:52 +00:00
Spencer 9fca61147c chore: finish truncation and stream logging logic 2026-04-09 13:52:15 +00:00
Spencer d2e9d883ec chore: fix truncation logic and test duplications 2026-04-09 13:52:15 +00:00
A.K.M. Adib f5d2062fd3 lint passes and failing test passes 2026-04-09 13:52:15 +00:00
A.K.M. Adib 074245891e bring new functiontruncateOutputIfNeeded without changes to current branch in there 2026-04-09 13:52:15 +00:00
A.K.M. Adib a9928b4b7a tests pass 2026-04-09 13:52:15 +00:00
A.K.M. Adib e118e4514c fix build 2026-04-09 13:52:15 +00:00
jacob314 ade0efb3d2 Code review fix. 2026-04-09 13:52:15 +00:00
jacob314 a3d9cbfe55 Checkpoint of shell optimization
fix(cli): Write shell command output to a file and limit memory buffered in UI

Fixes.

Checkpoint.

fix(core, cli): await outputStream.end() to prevent race conditions

This commit fixes a critical race condition where
was called synchronously without being awaited. This led to potential file
truncation or EBUSY errors on Windows when attempting to manipulate the file
immediately after the  call.

Additionally, this change removes fixed wait times (`setTimeout`) that
were previously used in test files as a band-aid.

fix(core): stream processed xterm output to file to remove spurious escape codes

test(core): update shell regression tests to use file_data events
2026-04-09 13:52:15 +00:00
Sandy Tao 615e078341 fix(sdk): skip broken sendStream tests to unblock nightly (#25000) 2026-04-09 03:39:36 +00:00
Jarrod Whelan faa7a9da30 feat(cli): refine tool output formatting for compact mode (#24677) 2026-04-09 03:30:52 +00:00