Commit Graph

2338 Commits

Author SHA1 Message Date
galz10
08b1d89c62 fix: ensure folderTrust returns true in headless mode 2026-02-11 14:48:20 -08:00
galz10
c576f3a367 fix(cli): disable folder trust and headless mode in tests 2026-02-09 11:45:59 -08:00
galz10
c4da99840d fix(cli): disable folder trust in test environments
Disable folder trust when running in integration tests (GEMINI_CLI_INTEGRATION_TEST)
   or unit tests (VITEST) to prevent interactive prompts from blocking automated tests.

   Also updates config.test.ts to isolate folder trust tests from these environment
   variables so the underlying logic can still be verified.
2026-02-09 10:46:55 -08:00
galz10
ad02f74171 test(cli): isolate config tests from CI environment variables
Unset CI and GITHUB_ACTIONS environment variables in config.test.ts to
   ensure tests that rely on interactive/TTY mode pass correctly in CI
   environments.

   The isHeadlessMode detection logic defaults to non-interactive mode if
   these variables are present, which previously caused assertion failures
   in tests expecting interactive startup messages and specific tool
   exclusion behaviors.
2026-02-09 10:10:01 -08:00
galz10
f1454e6f68 Merge branch 'main' into galzahavi/fix/headless-foldertrust 2026-02-09 09:50:30 -08:00
Gal Zahavi
ea738ec719 Merge branch 'main' into galzahavi/fix/headless-foldertrust 2026-02-09 09:30:49 -08:00
Gal Zahavi
81ccd80c6d feat(cli): implement atomic writes and safety checks for trusted folders (#18406) 2026-02-09 17:16:56 +00:00
Tommaso Sciortino
29a6aecffc propagate abortSignal (#18477) 2026-02-08 21:56:26 +00:00
Abhi
802bcf4dee refactor(cli): switch useToolScheduler to event-driven engine (#18565) 2026-02-08 20:28:37 +00:00
Jarrod Whelan
4a48d7cf93 feat(cli): truncate shell output in UI history and improve active shell display (#17438) 2026-02-08 08:09:48 +00:00
Abhi
31522045cd refactor(config): remove experimental.enableEventDrivenScheduler setting (#17924) 2026-02-08 04:05:03 +00:00
Jack Wotherspoon
979bbee485 chore: update colors for ask_user dialog (#18543) 2026-02-07 22:11:51 +00:00
Thanh Nguyen
af606aed9b fix(cli): add SS3 Shift+Tab support for Windows terminals (#18187) 2026-02-07 15:38:59 +00:00
Jacob Richman
a37844e5a1 Code review fixes for show question mark pr. (#18480) 2026-02-07 06:35:14 +00:00
N. Taylor Mullen
bc9b3052ee fix(cli): reload skills and agents on extension restart (#18411) 2026-02-07 00:40:43 +00:00
Jerop Kipruto
3b0649d408 feat(cli): update approval modes UI (#18476) 2026-02-07 00:23:59 +00:00
Sandy Tao
7409ce5df6 feat(cli): add WebSocket-based network logging and streaming chunk support (#18383) 2026-02-07 00:20:22 +00:00
Jerop Kipruto
e3796d137a fix(core): prevent subagent bypass in plan mode (#18484) 2026-02-06 22:55:00 +00:00
galz10
8daf6151e8 Merge branch 'main' into galzahavi/fix/headless-foldertrust 2026-02-06 14:49:23 -08:00
Sandy Tao
28805a4b2d refactor: simplify tool output truncation to single config (#18446) 2026-02-06 21:41:19 +00:00
joshualitt
fd72a8c40f bug(core): Ensure storage is initialized early, even if config is not. (#18471) 2026-02-06 21:33:13 +00:00
Tommaso Sciortino
e844d4f45f Refactor atCommandProcessor (#18461) 2026-02-06 20:49:11 +00:00
joshualitt
7a8d6f6095 bug(core): Fix bug when saving plans. (#18465) 2026-02-06 20:45:37 +00:00
Zac Koch
95d79b7cbe fix- windows: add shell: true for spawnSync to fix EINVAL with .cmd editors (#18408) 2026-02-06 19:47:33 +00:00
Spencer
ad6d3fd902 fix(config): treat system settings as read-only during migration and warn user (#18277) 2026-02-06 19:35:58 +00:00
Dmitry Lyalin
1f1cf756c8 Add shortcuts hint and panel for discoverability (#18035) 2026-02-06 19:33:39 +00:00
Gal Zahavi
ec5836c4d6 fix(cli): improve focus navigation for interactive and background shells (#18343) 2026-02-06 18:36:14 +00:00
Shreya Keshive
f062f56b43 feat(admin): apply MCP allowlist to extensions & gemini mcp list command (#18442) 2026-02-06 18:07:00 +00:00
Sehoon Shon
61d92c4a21 Remove previewFeatures and default to Gemini 3 (#18414) 2026-02-06 18:02:57 +00:00
christine betts
d86b1f7b7e Enable extension config by default (#18447) 2026-02-06 17:27:39 +00:00
christine betts
099fea2434 Add extension registry client (#18396) 2026-02-06 17:14:14 +00:00
joshualitt
6fb3b09003 Shorten temp directory (#17901) 2026-02-06 16:10:17 +00:00
Abhi
30354892b3 feat(core,cli): implement session-linked tool output storage and cleanup (#18416) 2026-02-06 06:36:42 +00:00
Abhi
8ec176e005 feat(context): implement observation masking for tool outputs (#18389) 2026-02-06 01:53:11 +00:00
Gaurav
289769f544 perf(ui): optimize stripUnsafeCharacters with regex (#18413) 2026-02-06 01:46:23 +00:00
Gal Zahavi
83c6342e6e chore: update folder trust error messaging (#18402)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-05 23:26:30 +00:00
galz10
80a6ac3759 feat(core,cli): harden headless mode detection and align mocks
- Update isHeadlessMode in packages/core to check both stdin.isTTY and stdout.isTTY.
- Synchronize isHeadlessMode mock in packages/cli tests and add global TTY stubs to ensure consistent test environments.
- Add isMounted guard to useFolderTrust hook to prevent state updates on unmounted components in headless mode.
- Expand unit tests in packages/core to cover new TTY check combinations and edge cases.
- Stabilize flaky MCP initialization test in packages/core/src/config/config.test.ts by using a deterministic promise.
- Address review findings regarding environment detection consistency and CI indicator checks.
2026-02-05 15:19:36 -08:00
Adib234
fe975da91e feat(plan): implement support for MCP servers in Plan mode (#18229) 2026-02-05 21:37:28 +00:00
Philippe
2498114df6 fix: resolve infinite loop when using 'Modify with external editor' (#17453)
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
Co-authored-by: ehedlund <ehedlund@google.com>
2026-02-05 20:52:41 +00:00
Jacob Richman
8efae719ee ux(polish) autocomplete in the input prompt (#18181) 2026-02-05 20:38:29 +00:00
Jacob Richman
258643dec4 undo (#18147) 2026-02-05 18:54:46 +00:00
Grant McCloskey
5d04a01b06 fix(cli): color extension link success message green (#18386) 2026-02-05 18:34:09 +00:00
Jerop Kipruto
4a6e3eb646 feat(plan): support replace tool in plan mode to edit plans (#18379) 2026-02-05 17:51:35 +00:00
Adam DeMuri
ee2c8eef19 feat(cli): Add W, B, E Vim motions and operator support (#16209)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2026-02-05 17:29:30 +00:00
christine betts
ee58e1e3c1 Add support for /extensions config command (#17895) 2026-02-05 16:04:24 +00:00
Shreya Keshive
2566057e44 feat(admin): Implement admin allowlist for MCP server configurations (#18311) 2026-02-05 13:46:01 +00:00
Grant McCloskey
a3af4a8cae feat(skills): implement linking for agent skills (#18295) 2026-02-04 22:11:01 +00:00
Adib234
d79478689f Stop showing an error message in /plan (#18333) 2026-02-04 19:43:25 +00:00
Adib234
0012d95848 feat(plan): implement plan slash command (#17698) 2026-02-04 17:01:43 +00:00
gemini-cli-robot
99e523a15f chore(release): bump version to 0.29.0-nightly.20260203.71f46f116 (#18243) 2026-02-04 14:43:29 +00:00