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
Sandy Tao
16e345831b
fix(cli): hide /memory add subcommand when memoryV2 is enabled ( #26605 )
2026-05-07 20:48:12 +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
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
David Pierce
adf7b3b717
Improve sandbox error matching and caching ( #24550 )
2026-04-07 21:08:18 +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
Alisa
3344f6849c
Unused error variables in catch block are not allowed ( #24487 )
2026-04-02 04:33:07 +00:00
Sehoon Shon
41f1ea4672
fix(core): handle EISDIR in robustRealpath on Windows ( #21984 )
2026-03-11 18:22:10 +00:00
Adib234
4f4431e4e1
fix(core): prevent infinite recursion in symlink resolution ( #21750 )
2026-03-09 19:38:45 +00:00
Adib234
7837194ab5
fix(core): resolve symlinks for non-existent paths during validation ( #21487 )
2026-03-09 16:02:13 +00:00
Spencer
5e2f5df62c
fix(paths): Add cross-platform path normalization ( #18939 )
2026-02-17 22:52:55 +00:00
Tommaso Sciortino
e7e4c68c5c
fix windows escaping (and broken tests) ( #19011 )
2026-02-13 22:19:08 +00:00
Tommaso Sciortino
d82f66973f
Fix drag and drop escaping ( #18965 )
2026-02-13 02:27:56 +00:00
joshualitt
89d4556c45
feat(core): Render memory hierarchically in context. ( #18350 )
2026-02-10 02:01:59 +00:00
Tommaso Sciortino
1b98c1f806
refactor: push isValidPath() into parsePastedPaths() ( #18664 )
2026-02-09 21:19:51 +00:00
Dongjun Shin
4827333c48
fix(core): handle URI-encoded workspace paths in IdeClient ( #17476 )
...
Co-authored-by: Shreya Keshive <shreyakeshive@google.com >
2026-01-26 17:09:43 +00:00
N. Taylor Mullen
7956eb239e
Introduce GEMINI_CLI_HOME for strict test isolation ( #15907 )
2026-01-07 04:09:39 +00:00
Tommaso Sciortino
f05d937f39
Use consistent param names ( #12517 )
2025-11-06 23:03:52 +00:00
ph-sp
73570f1c86
Fix the shortenPath function to correctly insert ellipsis. ( #12004 )
...
Co-authored-by: Greg Shikhman <shikhman@google.com >
2025-10-25 04:10:00 +00:00
Pascal Birchler
ee4feea006
chore: consistently import node modules with prefix ( #3013 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com >
2025-08-25 20:11:27 +00:00
Yuki Okita
21c6480b65
Refac: Centralize storage file management ( #4078 )
...
Co-authored-by: Taylor Mullen <ntaylormullen@google.com >
2025-08-20 01:55:47 +00:00
christine betts
5c5fc89eb1
[ide-mode] Support multi-folder workspaces ( #6177 )
2025-08-14 20:12:57 +00:00
Sandy Tao
b9fe4fc263
feat(cli): Handle Punctuation in @ Command Parsing ( #5482 )
2025-08-04 17:49:15 +00:00
Abhi
9daead63dd
(feat): Initial Version of Custom Commands ( #4572 )
2025-07-22 04:34:55 +00:00
Josh Soref
dc2ac144b7
Various spelling improvements ( #3497 )
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
Co-authored-by: Sandy Tao <sandytao520@icloud.com >
2025-07-21 21:54:44 +00:00
Gaurav
8f12e8a114
fix: clearcut logging (retry #3744 ) ( #3751 )
2025-07-11 17:57:35 +00:00
Louis Jimenez
ea63a8401e
Move the shell history our of the project .gemini to the home dir ( #1195 )
2025-06-19 23:53:24 -04:00
anj-s
fffa06f0b1
Modify shortenPath and add param validation ( #663 )
2025-06-03 08:59:17 -07:00
Tommaso Sciortino
21fba832d1
Rename server->core ( #638 )
2025-05-30 18:25:47 -07:00