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
8daf6151e8
Merge branch 'main' into galzahavi/fix/headless-foldertrust
2026-02-06 14:49:23 -08: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
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
Shreya Keshive
2566057e44
feat(admin): Implement admin allowlist for MCP server configurations ( #18311 )
2026-02-05 13:46:01 +00:00
Gal Zahavi
aba8c5f662
fix(cli): allow restricted .env loading in untrusted sandboxed folders ( #17806 )
2026-02-04 01:08:10 +00:00
Jack Wotherspoon
d1cde575d9
fix: remove ask_user tool from non-interactive modes ( #18154 )
2026-02-03 23:41:36 +00:00
Shreya Keshive
f14d0c6a17
feat(admin): provide actionable error messages for disabled features ( #17815 )
2026-01-30 18:05:22 +00:00
Abhi
95b7d69d5b
refactor(hooks): remove legacy tools.enableHooks setting ( #17867 )
2026-01-30 15:15:48 +00:00
Abhi
9035ca32bc
feat(skills): final stable promotion cleanup ( #17726 )
2026-01-28 04:56:04 +00:00
Alisa
adc8e11bb1
Add support for an additional exclusion file besides .gitignore and .geminiignore ( #16487 )
...
Co-authored-by: Adam Weidman <adamfweidman@google.com >
2026-01-28 01:19:13 +00:00
Abhi
ff6547857e
revert: promote Agent Skills to stable ( #17693 ) ( #17712 )
2026-01-27 23:29:12 +00:00
Abhi
6f6445994e
feat(skills): promote Agent Skills to stable ( #17693 )
2026-01-27 21:50:22 +00:00
Jerop Kipruto
13bc5f620c
feat(plan): add persistent plan file storage ( #17563 )
2026-01-26 21:57:27 +00:00
Adib234
6fae28197e
feat(plan): implement persistent approvalMode setting ( #17350 )
2026-01-23 23:14:11 +00:00
Ishaan Gupta
beacc4f6fd
fix(cli)!: Default to interactive mode for positional arguments ( #16329 )
...
Co-authored-by: Allen Hutchison <adh@google.com >
2026-01-22 23:38:53 +00:00
Gal Zahavi
45d554ae2f
fix(core,cli): enable recursive directory access for ( #17094 )
2026-01-21 17:58:23 +00:00
Shreya Keshive
d0cae4547e
fix(admin): Ensure CLI commands run in non-interactive mode ( #17218 )
2026-01-21 17:38:20 +00:00
Alexander Farber
608da23393
feat(settings): rename negative settings to positive naming (disable* -> enable*) ( #14142 )
...
Co-authored-by: jacob314 <jacob314@gmail.com >
2026-01-16 22:33:49 +00:00
Jerop Kipruto
655ab21d8b
feat(plan): add experimental 'plan' approval mode ( #16753 )
2026-01-15 22:00:19 +00:00
Jacob Richman
f7f38e2b9e
Make merged settings non-nullable and fix all lints related to that. ( #16647 )
2026-01-15 17:26:10 +00:00
Sehoon Shon
e58fca68ce
feat(config): add 'auto' alias for default model selection ( #16661 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-15 00:07:51 +00:00
Pyush Sinha
f8138262fa
fix(cli): disableYoloMode shouldn't enforce default approval mode against args ( #16155 )
2026-01-08 19:48:03 +00:00
Shreya Keshive
2fe45834dd
feat(admin): Introduce remote admin settings & implement secureModeEnabled/mcpEnabled ( #15935 )
2026-01-06 21:38:07 +00:00
Abhi
d3c206c677
Unify shell security policy and remove legacy logic ( #15770 )
2026-01-04 05:19:00 +00:00
Abhi
dcd2449b1a
refactor: deprecate legacy confirmation settings and enforce Policy Engine ( #15626 )
2025-12-29 19:22:42 +00:00
Niyas Hameed
6be034392f
feat: automatic /model persistence across Gemini CLI sessions ( #13199 )
...
Co-authored-by: Jack Wotherspoon <jackwoth@google.com >
2025-12-23 14:23:43 +00:00
Tommaso Sciortino
bf90b59935
feat: launch Gemini 3 Flash in Gemini CLI ⚡ ️ ⚡ ️ ⚡ ️ ( #15196 )
...
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com >
Co-authored-by: joshualitt <joshualitt@google.com >
Co-authored-by: Sehoon Shon <sshon@google.com >
Co-authored-by: Adam Weidman <65992621+adamfweidman@users.noreply.github.com >
Co-authored-by: Adib234 <30782825+Adib234@users.noreply.github.com >
Co-authored-by: Jenna Inouye <jinouye@google.com >
2025-12-17 09:43:21 -08:00
Christian Gunderman
942bcfc61e
Disallow redundant typecasts. ( #15030 )
2025-12-13 01:43:43 +00:00
Paresh Joshi
7b811a38a6
chore(tests): remove obsolete test for hierarchical memory ( #13122 )
2025-12-04 00:28:54 +00:00
Allen Hutchison
533a3fb312
feat: enable message bus integration by default ( #14329 )
2025-12-03 00:05:54 +00:00
Mayur Vaid
4228a75186
fix: Exclude web-fetch tool from executing in default non-interactive mode to avoid CLI hang. ( #14244 )
2025-12-01 17:13:14 +00:00
bl-ue
098e5c281c
fix(resume): allow passing a prompt via stdin while resuming using --resume ( #13520 )
2025-11-25 17:53:17 +00:00
Adib234
99c5bf2e97
Remove useModelRouter experimental flag ( #13593 )
2025-11-21 17:54:17 +00:00
Megha Bansal
61582678bf
Optimize and improve test coverage for cli/src/config ( #13485 )
2025-11-21 04:57:59 +00:00
Jacob Richman
d1e35f8660
Protect stdout and stderr so JavaScript code can't accidentally write to stdout corrupting ink rendering ( #13247 )
...
Bypassing rules as link checker failure is spurious.
2025-11-20 10:44:02 -08:00
bl-ue
0d89ac7406
Followup from #10719 ( #13243 )
2025-11-19 16:22:17 +00:00
shrutip90
9786c4dcff
Check folder trust before allowing add directory ( #12652 )
2025-11-15 03:06:30 +00:00
bl-ue
6893d27441
feat(sessions): add resuming to geminiChat and add CLI flags for session management ( #10719 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-11 01:31:00 +00:00
Jacob MacDonald
c883403147
[feat] Extension Reloading - respect updates to exclude tools ( #12728 )
2025-11-07 20:18:35 +00:00
Tommaso Sciortino
475e92da5d
Fix test in windows ( #12681 )
2025-11-07 04:01:30 +00:00
Shreya Keshive
da3da19844
feat(core): Integrate remote experiments configuration ( #12539 )
2025-11-04 23:09:53 +00:00
Jacob MacDonald
da4fa5ad75
Extensions MCP refactor ( #12413 )
2025-11-04 15:51:18 +00:00
Tommaso Sciortino
3332703fca
Make compression threshold editable in the UI. ( #12317 )
2025-10-30 23:03:58 +00:00
Jacob MacDonald
1b302deeff
Add ExtensionLoader interface, use that on Config object ( #12116 )
2025-10-28 16:04:30 +00:00
Jacob Richman
e9f8ccd51a
Fix config test so it passes even if the user running the test happens to have set GEMINI_MODEL to flash ( #12114 )
2025-10-27 23:31:01 +00:00
Abhi
d91484eb4d
Fix tests ( #11998 )
2025-10-24 21:49:42 +00:00
Eric Rahm
40057b55f0
fix(cli): Use correct defaults for file filtering ( #11426 )
2025-10-24 20:20:17 +00:00
Adib234
6d75005afc
Add setting to disable YOLO mode ( #11609 )
...
Co-authored-by: Shreya Keshive <shreyakeshive@google.com >
2025-10-22 18:57:10 +00:00