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
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
Jack Wotherspoon
e65208b244
feat: add AskUser tool schema ( #16988 )
2026-01-22 17:12:13 +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
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
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
Sandy Tao
a1233e7e5c
fix(core): simplify replace tool error message ( #17246 )
2026-01-21 22:25:36 +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
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
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
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
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
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
Gaurav
3b626e7c61
Add interactive ValidationDialog for handling 403 VALIDATION_REQUIRED errors. ( #16231 )
2026-01-21 00:23:01 +00:00
joshualitt
211d2c5fdd
feat(core): Ensure all properties in hooks object are event names. ( #16870 )
2026-01-20 22:47:31 +00:00
David Soria Parra
b288f124b2
fix(cli): send gemini-cli version as mcp client version ( #13407 )
...
Co-authored-by: Taylor Mullen <ntaylormullen@google.com >
2026-01-20 22:01:18 +00:00
Sehoon Shon
ed0b0fae49
fix(core): resolve auto model in default strategy ( #17116 )
2026-01-20 21:03:34 +00:00
Sandy Tao
f0f705d3ca
feat(core): unify agent enabled and disabled flags ( #17127 )
2026-01-20 21:00:43 +00:00
Adam Weidman
a16d5983cf
feat: Add flash lite utility fallback chain ( #17056 )
2026-01-20 19:43:43 +00:00
Adib234
e5745f16cb
feat(plan): telemetry to track adoption and usage of plan mode ( #16863 )
2026-01-20 18:57:34 +00:00
Pyush Sinha
5b8a23979f
fix(core): update telemetry token count after session resume ( #15491 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-01-20 18:01:39 +00:00
Vedant Mahajan
e92f60b4fc
fix: migrate BeforeModel and AfterModel hooks to HookSystem ( #16599 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-01-20 17:46:54 +00:00
Sandy Tao
15f26175b8
fix(core): Provide compact, actionable errors for agent delegation failures ( #16493 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-01-20 17:30:59 +00:00
Shreya Keshive
943481ccc0
feat(admin): set admin.skills.enabled based on advancedFeaturesEnabled setting ( #17095 )
2026-01-20 16:57:47 +00:00
Coco Sheng
79076d1d52
[A2A] Disable checkpointing if git is not installed ( #16896 )
2026-01-20 16:38:38 +00:00
christine betts
166e04a8dd
Fix mcp instructions ( #16439 )
2026-01-20 16:10:21 +00:00
Ramón Medrano Llamas
1182168bd9
feat(core): enhanced anchored iterative context compression with self-verification ( #15710 )
2026-01-20 08:43:15 +00:00
Adam Weidman
e34f0b4a98
fix: update currentSequenceModel when modelChanged ( #17051 )
2026-01-20 06:25:15 +00:00
N. Taylor Mullen
52fadba9f2
fix(core): deduplicate ModelInfo emission in GeminiClient ( #17075 )
2026-01-20 04:29:45 +00:00
N. Taylor Mullen
ec7413456e
feat(core): improve shell redirection transparency and security ( #16486 )
2026-01-20 04:07:28 +00:00
Abhi
451e0b49cb
feat(cli): add experiment gate for event-driven scheduler ( #17055 )
2026-01-20 03:59:30 +00:00
Vedant Mahajan
155d9aafe2
fix return type of fireSessionStartEvent to defaultHookOutput ( #16833 )
2026-01-20 03:25:43 +00:00
Abhi
e2901f3f7e
refactor(core): decouple scheduler into orchestration, policy, and confirmation ( #16895 )
2026-01-19 23:19:17 +00:00
Pyry Takala
0a6f2e089f
Fix: Process all parts in response chunks when thought is first ( #13539 )
2026-01-19 21:04:45 +00:00
N. Taylor Mullen
08c32f725e
fix(core): attempt compression before context overflow check ( #16914 )
2026-01-19 06:40:07 +00:00
Christian Gunderman
203f5209ba
Stabilize the git evals ( #16989 )
2026-01-19 06:18:06 +00:00
N. Taylor Mullen
9d9e3d1555
Stabilize skill-creator CI and package format ( #17001 )
2026-01-18 19:51:05 -08:00