Philippe Granger
c904f4cece
fix: resolve infinite loop when using 'Modify with external editor' ( #7669 )
...
This fix addresses the infinite loop issue reported in #7669 where selecting
"Modify with external editor" would loop indefinitely when no editor was
configured or available.
Root cause: When getPreferredEditor() returned undefined, the code silently
returned without changing the outcome, causing the while loop to repeat.
Changes:
- Add detectFirstAvailableEditor() to auto-detect available editors
- Add resolveEditor() to handle editor resolution with proper error messages
- Update confirmation.ts to break the loop and show error when editor unavailable
- Update coreToolScheduler.ts to cancel operation with feedback when editor unavailable
- Add 11 new tests for the new editor resolution functions
The fix:
1. Properly validates editor availability before attempting to use it
2. Auto-detects an available editor if none is configured
3. Provides clear error messages explaining why the editor cannot be used
4. Breaks the loop gracefully instead of looping infinitely
2026-01-22 21:25:40 +01:00
kapsner
233fe90f17
bug: fix ide-client connection to ide-companion when inside docker via ssh/devcontainer ( #15049 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-22 19:19:04 +00:00
Sandy Tao
902e5d6dae
feat(cli): Add state management and plumbing for agent configuration dialog ( #17259 )
2026-01-22 18:30:44 +00:00
Jacob Richman
1320ebceb9
Remove redundant calls setting linuxClipboardTool. getUserLinuxClipboardTool() now handles the caching internally ( #17320 )
2026-01-22 18:11:56 +00:00
Saksham Goyal
6d7423263b
fix: show whitespace changes in edit tool diffs ( #17213 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2026-01-22 18:02:37 +00:00
Mag1ck
fe06f9a1ea
fix cli settings: resolve layout jitter in settings bar ( #16256 )
2026-01-22 17:38:38 +00:00
Jack Wotherspoon
e65208b244
feat: add AskUser tool schema ( #16988 )
2026-01-22 17:12:13 +00:00
Dev Randalpura
7962801a14
Added image pasting capabilities for Wayland and X11 on Linux ( #17144 )
2026-01-22 17:02:56 +00:00
Shreya Keshive
87a0db20d2
fix(auth): don't crash when initial auth fails ( #17308 )
2026-01-22 16:44:55 +00:00
Emily Hedlund
d956c5b221
Sanitize command names and descriptions ( #17228 )
2026-01-22 16:41:51 +00:00
Adib234
3b9f580fa4
feat: implement /rewind command ( #15720 )
2026-01-22 15:26:52 +00:00
Chuck
ff9c77925e
Feature/jetbrains ide detection ( #16243 )
...
Co-authored-by: Adib234 <30782825+Adib234@users.noreply.github.com >
2026-01-22 15:21:05 +00:00
Jacob Richman
56f9ab025a
refactor: improve large text paste placeholder ( #17269 )
...
Co-authored-by: Jack Wotherspoon <jackwoth@google.com >
2026-01-22 15:05:38 +00:00
Yuna Seol
5debf86854
security(hooks): Wrap hook-injected context in distinct XML tags ( #17237 )
...
Co-authored-by: Yuna Seol <yunaseol@google.com >
2026-01-22 02:11:45 +00:00
Jack Wotherspoon
75e4f492ab
feat: replace large text pastes with [Pasted Text: X lines] placeholder ( #16422 )
2026-01-22 02:09:24 +00:00
joshualitt
27d21f9921
feat(core): Have subagents use a JSON schema type for input. ( #17152 )
2026-01-22 00:56:01 +00:00
Sandy Tao
b24544c80e
feat(core): Enable AgentRegistry to track all discovered subagents ( #17253 )
2026-01-22 00:19:04 +00:00
Abhi
61040d0eb8
feat(hooks): enable hooks system by default ( #17247 )
2026-01-21 22:40:31 +00:00
Abhi
3cca8ec0f0
feat(config): default enableEventDrivenScheduler to true ( #17211 )
2026-01-21 22:40:19 +00:00
Abhi
2219bac16d
fix(scheduler): prevent stale tool re-publication and fix stuck UI state ( #17227 )
2026-01-21 22:39:20 +00:00
N. Taylor Mullen
1c9a57c3c2
feat(cli): consolidate shell inactivity and redirection monitoring ( #17086 )
2026-01-21 22:31:24 +00:00
Sandy Tao
a1233e7e5c
fix(core): simplify replace tool error message ( #17246 )
2026-01-21 22:25:36 +00:00
Ishaan Gupta
1033550f78
fix: /policy to display policies according to mode ( #16772 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Allen Hutchison <adh@google.com >
2026-01-21 21:33:57 +00:00
Pyush Sinha
addecf2c74
fix(core): update token count and telemetry on /chat resume history load ( #16279 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-01-21 21:24:33 +00:00
Abhi
c266b529ae
refactor(cli): decouple UI from live tool execution via ToolActionsContext ( #17183 )
2026-01-21 21:16:30 +00:00
Tommaso Sciortino
dce450b1e8
drain stdin on exit ( #17241 )
2026-01-21 21:13:10 +00:00
Sandy Tao
f79124f96e
feat(core): enable disableLLMCorrection by default ( #17223 )
2026-01-21 18:53:41 +00:00
Jerop Kipruto
eb2af84bb9
feat(plan): add approval mode instructions to system prompt ( #17151 )
2026-01-21 18:44:35 +00:00
Tommaso Sciortino
f190b87223
Support command/ctrl/alt backspace correctly ( #17175 )
2026-01-21 18:13:26 +00:00
Gal Zahavi
45d554ae2f
fix(core,cli): enable recursive directory access for ( #17094 )
2026-01-21 17:58:23 +00:00
N. Taylor Mullen
acbef4cd31
feat(core): support dynamic variable substitution in system prompt override ( #17042 )
2026-01-21 17:43:50 +00:00
N. Taylor Mullen
80069b4a78
feat(cli): improve skill enablement/disablement verbiage ( #17192 )
2026-01-21 17:39:37 +00:00
Shreya Keshive
d0cae4547e
fix(admin): Ensure CLI commands run in non-interactive mode ( #17218 )
2026-01-21 17:38:20 +00:00
Vedant Mahajan
6b14dc8240
Migrate beforeTool and afterTool hooks to hookSystem ( #17204 )
...
Co-authored-by: Ishaan Gupta <ishaankone@gmail.com >
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-01-21 17:13:03 +00:00
Jerop Kipruto
c21c297133
feat(plan): refactor TestRig and eval helper to support configurable approval modes ( #17171 )
2026-01-21 15:43:48 +00:00
Adib234
0605e6e3e9
feat(plan): Extend Shift+Tab Mode Cycling to include Plan Mode ( #17177 )
2026-01-21 15:19:47 +00:00
gemini-cli-robot
169d906fe3
chore(release): bump version to 0.27.0-nightly.20260121.97aac696f ( #17181 )
2026-01-21 05:23:58 +00:00
Abhi
525539fc13
feat(cli): implement event-driven tool execution scheduler ( #17078 )
2026-01-21 05:18:42 +00:00
Sehoon Shon
7990073543
feat(cli): sanitize ANSI escape sequences in non-interactive output ( #17172 )
2026-01-21 04:58:37 +00:00
Sehoon Shon
367e7bf401
Update Attempt text to Retry when showing the retry happening to the … ( #17178 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-21 04:57:00 +00:00
Vedant Mahajan
3a4012f76a
Remove unused modelHooks and toolHooks ( #17115 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-01-21 04:34:50 +00:00
Ishaan Gupta
c9f0a48bdc
remove fireAgent and beforeAgent hook ( #16919 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-01-21 04:32:07 +00:00
Andrew Garrett
97aac696fb
Fix mcp tool lookup in tool registry ( #17054 )
...
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-01-21 04:18:33 +00:00
Jacob Richman
93ae7772fd
Fix bug where System scopes weren't migrated. ( #17174 )
2026-01-21 04:07:17 +00:00
Tommaso Sciortino
9866eb0551
fix bad fallback logic external editor logic ( #17166 )
2026-01-21 02:48:44 +00:00
Panagiotis Mantafounis
55c2783e6a
fix(cli): display 'http' type on mcp list ( #16915 )
...
Co-authored-by: Jack Wotherspoon <jackwoth@google.com >
2026-01-21 02:37:19 +00:00
Tommaso Sciortino
2455f939a3
fix(cli): resolve home/end keybinding conflict ( #17124 )
2026-01-21 02:15:18 +00:00
Jacob Richman
995ae42f53
Avoid spurious warnings about unexpected renders triggered by appEvents and coreEvents. ( #17160 )
2026-01-21 00:46:10 +00:00
Adib234
e1fd5be429
Add Esc-Esc to clear prompt when it's not empty ( #17131 )
2026-01-21 00:32:26 +00:00
Gaurav
3b626e7c61
Add interactive ValidationDialog for handling 403 VALIDATION_REQUIRED errors. ( #16231 )
2026-01-21 00:23:01 +00:00