Christian Gunderman
5dc5b4ed4a
fix: handle ENAMETOOLONG gracefully during path resolution
...
This fix was recovered from a timed-out bot run. It addresses issue #26979
where the CLI would crash if a user provided an extremely long path string
in an @ command (e.g. @/aaa...a).
Changes:
- Updated 'robustRealpath' in 'packages/core/src/utils/paths.ts' to catch
and gracefully handle 'ENAMETOOLONG' and 'EINVAL' errors from fs.realpathSync
and fs.lstatSync.
- Added a defensive try-catch block to 'checkPermissions' in
'packages/cli/src/ui/hooks/atCommandProcessor.ts' to prevent long path
strings from crashing the CLI during @ command parsing.
- Added regression unit tests to verify the fix.
2026-05-13 20:24:15 -07:00
joshualitt
07792f98cd
feat(context): Introduce adaptive token calculator to more accurately calculate content sizes. ( #26888 )
2026-05-12 15:51:20 +00:00
Coco Sheng
7a9ed4c20a
fix: respect explicit model selection after Flash quota exhaustion ( #26759 ) ( #26872 )
2026-05-12 14:26:50 +00:00
Eswar809
9f759f97a2
fix(core): ignore .pak and .rpa game archive formats by default ( #26884 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-05-11 21:58:08 +00:00
Suhaan Raqeeb Khavas
8e58df72c6
fix: prevent EISDIR crash when customIgnoreFilePaths contains directories ( #19868 ) ( #19898 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-05-11 20:46:08 +00:00
Sandy Tao
16e345831b
fix(cli): hide /memory add subcommand when memoryV2 is enabled ( #26605 )
2026-05-07 20:48:12 +00:00
Tommaso Sciortino
a809bc7c51
don't wrap args unnecessarily ( #26599 )
2026-05-06 23:20:47 +00:00
Himanshu Kumar
d8f2a89865
fix(core): remove unsafe type assertion suppressions in error utils ( #19881 )
...
Co-authored-by: David Pierce <davidapierce@google.com >
2026-05-05 19:52:29 +00:00
Coco Sheng
f5c0977e96
fix(core): retry on ERR_STREAM_PREMATURE_CLOSE errors ( #26519 )
2026-05-05 19:19:50 +00:00
Aishanee Shah
4d1ca92a19
fix(core): filter unsupported multimodal types from tool responses ( #26352 )
2026-05-04 20:31:20 +00:00
Adib234
704be5a418
fix(cli): ensure branch indicator updates in sub-directories and worktrees ( #26330 )
2026-05-04 17:35:13 +00:00
Sri Pasumarthi
4e175527a2
fix(acp): resolve agent mode disconnect and improve mode awareness ( #26332 )
2026-05-01 23:00:10 +00:00
joshualitt
de8fdcfa16
Fix bulk of remaining issues with generalist profile ( #26073 )
2026-05-01 22:04:39 +00:00
Martin
80e3bb9689
fix(core): silently skip GEMINI.md paths that are directories (EISDIR) ( #25662 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-04-30 21:06:56 +00:00
Coco Sheng
8c1e255ac0
fix(cli): prevent informational logs from polluting json output ( #26264 )
2026-04-30 18:34:25 +00:00
Adam Weidman
3aedbbc067
fix(core): distinguish fallback chains and fix maxAttempts for auto vs explicit model selection ( #26163 )
2026-04-29 20:23:37 +00:00
Adib234
99235fc59d
fix(core): reduce default API timeout to 60s and enable retries for undici timeouts ( #26191 )
2026-04-29 20:05:45 +00:00
Sri Pasumarthi
c2e5b28e94
refactor(acp): modularize monolithic acpClient into specialized files ( #26143 )
2026-04-29 14:51:01 +00:00
Adib234
f8603e990b
fix(cli): prevent automatic updates from switching to less stable channels ( #26132 )
2026-04-28 18:03:08 +00:00
Dev Randalpura
8e1cecac06
fix(ux): added error message for ENOTDIR ( #26128 )
2026-04-28 17:12:51 +00:00
joshualitt
71f313b51a
feat(core): wire up the new ContextManager and AgentChatHistory ( #25409 )
2026-04-27 18:50:00 +00:00
Dev Randalpura
98aca28985
fix(ui): better error messages for ECONNRESET and ETIMEDOUT ( #26059 )
2026-04-27 17:17:04 +00:00
Abhijit Balaji
2e0641c83b
feat(voice): implement real-time voice mode with cloud and local backends ( #24174 )
2026-04-24 21:29:38 +00:00
Gal Zahavi
27927c55e5
feat(core): enhance shell command validation and add core tools allowlist ( #25720 )
...
Co-authored-by: David Pierce <davidapierce@google.com >
Co-authored-by: Keith Schaab <keithsc@google.com >
Co-authored-by: Keith Schaab <keith.schaab@gmail.com >
Co-authored-by: Emily Hedlund <ehedlund@google.com >
2026-04-23 20:26:01 +00:00
Emily Hedlund
dba9b9a0ff
feat(cli): secure .env loading and enforce workspace trust in headless mode ( #25814 )
...
Co-authored-by: galz10 <galzahavi@google.com >
Co-authored-by: davidapierce <davidapierce@google.com >
2026-04-23 16:09:14 +00:00
Horizon_Architect_07
2a52611e71
Fix/command injection shell ( #24170 )
...
Co-authored-by: David Pierce <davidapierce@google.com >
2026-04-22 20:00:44 +00:00
xoma-zver
1c43deee07
fix(core): handle line endings in ignore file parsing ( #23895 )
...
Co-authored-by: cynthialong0-0 <82900738+cynthialong0-0@users.noreply.github.com >
2026-04-22 18:09:36 +00:00
Sandy Tao
6edfba481f
refactor(memory): replace MemoryManagerAgent with prompt-driven memory editing across four tiers ( #25716 )
2026-04-22 01:21:55 +00:00
PRAS Samin
cdc5cccc13
feat: detect new files in @ recommendations with watcher based updates ( #25256 )
2026-04-21 18:35:14 +00:00
Mahima Shanware
a4e98c0a4c
fix(core): resolve nested plan directory duplication and relative path policies ( #25138 )
2026-04-21 18:20:57 +00:00
Rob Clevenger
06e7621b26
Fix(core): retry additional OpenSSL 3.x SSL errors during streaming ( #16075 ) ( #25187 )
2026-04-15 02:50:22 +00:00
Clay
161ba28966
fix(core): detect kmscon terminal as supporting true color ( #25282 )
...
Co-authored-by: Adib234 <30782825+Adib234@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-04-14 19:08:51 +00:00
Anjaligarhwal
ea36ccb567
fix(core): replace custom binary detection with isbinaryfile to correctly handle UTF-8 (U+FFFD) ( #25297 )
2026-04-13 18:58:18 +00:00
Emily Hedlund
0d6d5d90b9
refactor(core): extract and centralize sandbox path utilities ( #25305 )
...
Co-authored-by: David Pierce <davidapierce@google.com >
2026-04-13 18:43:13 +00:00
Abhijit Balaji
0957f7d3e2
fix(cli): exclude update_topic from confirmation queue count ( #24945 )
2026-04-10 23:04:59 +00:00
M Junaid Shaukat
21e1c60922
fix: improve audio MIME normalization and validation in file reads ( #21636 )
...
Co-authored-by: Coco Sheng <cocosheng@google.com >
2026-04-10 21:46:24 +00:00
Spencer
128e3567cb
fix(core): resolve PTY exhaustion and orphan MCP subprocess leaks ( #25079 )
2026-04-10 18:57:09 +00:00
Tommaso Sciortino
55db77bb91
fix(core): silently handle EPERM when listing dir structure ( #25066 )
2026-04-09 22:25:23 +00: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
Yuna Seol
20113ee595
fix(core): honor retryDelay in RetryInfo for 503 errors ( #25057 )
2026-04-09 20:16:36 +00:00
Tommaso Sciortino
d06dba3538
fix(core): dynamic session ID injection to resolve resume bugs ( #24972 )
2026-04-08 23:27:24 +00:00
Emily Hedlund
a39461718c
fix(core): ensure robust sandbox cleanup in all process execution paths ( #24763 )
...
Co-authored-by: Spencer <spencertang@google.com >
2026-04-08 19:03:36 +00:00
Yuna Seol
3c5b5db034
feat(core): use experiment flags for default fetch timeouts ( #24261 )
2026-04-07 22:35:04 +00:00
David Pierce
adf7b3b717
Improve sandbox error matching and caching ( #24550 )
2026-04-07 21:08:18 +00:00
Jack Wotherspoon
9637fb3990
fix(core): remove tmux alternate buffer warning ( #24852 )
2026-04-07 21:01:14 +00:00
Michael Bleigh
e432f7c009
feat(hooks): display hook system messages in UI ( #24616 )
2026-04-07 17:42:39 +00:00
Jacob Richman
ec35ebbe57
fix(core): detect uninitialized lines ( #24646 )
2026-04-04 00:51:29 +00:00
Gal Zahavi
893ae4d29a
fix(core): ensure sandbox approvals are correctly persisted and matched for proactive expansions ( #24577 )
2026-04-03 21:48:18 +00:00
Emily Hedlund
ca0e6f9bd9
test: fix Windows CI execution and resolve exposed platform failures ( #24476 )
2026-04-03 15:50:29 +00:00