Commit Graph

4803 Commits

Author SHA1 Message Date
Bryan Morgan
e234c95b8a fix: regenerate settings docs and schema for retryFetchErrors default change 2026-02-22 16:16:35 -05:00
Bryan Morgan
78114e904c fix(core): remove invalid third argument to fetchWithTimeout in web-fetch 2026-02-22 15:54:37 -05:00
Bryan Morgan
aed28faf0f Update packages/core/src/tools/web-fetch.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-22 15:54:37 -05:00
Bryan Morgan
2594201bee Update packages/core/src/tools/web-fetch.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-22 15:54:37 -05:00
Bryan Morgan
8d88fde964 Update packages/core/src/tools/web-fetch.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-22 15:54:37 -05:00
Bryan Morgan
78cd88fc7c Update packages/core/src/tools/web-fetch.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-22 15:54:37 -05:00
Bryan Morgan
4f72d4d9a7 feat(core): add non-interactive prompt guidance for missing commands, file writing, and background services
Phase 2 benchmark improvements targeting recurring failure patterns:
- Command-not-found recovery with package install mappings and fallback process verification
- File writing guidance preferring write_file over error-prone shell heredocs
- Background service persistence using nohup with startup verification
2026-02-22 15:54:37 -05:00
Bryan Morgan
047f180346 fix(core): update tests missed by preflight for benchmark changes
- Add isInteractive mock to loggers.test.ts cfg2 for GeminiClient
- Update config.test.ts shell timeout test for non-interactive default
  (600s) and add interactive case (300s)
- Update prompts.test.ts snapshots for new error recovery section
2026-02-22 15:54:36 -05:00
Bryan Morgan
c2ad740d66 feat(core): add non-interactive performance defaults
Shell timeout 10min (vs 5min interactive), MAX_TURNS 200 (vs 100
interactive) to give autonomous sessions more room to complete
complex tasks.
2026-02-22 15:54:36 -05:00
Bryan Morgan
692a8efe2a feat(core): increase context compression preservation
COMPRESSION_PRESERVE_THRESHOLD 0.3→0.4, FUNCTION_RESPONSE_TOKEN_BUDGET
50k→75k to retain more context for incremental tasks.
2026-02-22 15:54:36 -05:00
Bryan Morgan
8be312c483 feat(core): tune loop detection for earlier catch and alternating patterns
TOOL_CALL_LOOP_THRESHOLD 5→4, LLM_CHECK_AFTER_TURNS 30→20, and new
alternating-pattern detection (A→B→A→B) that the consecutive-only
check missed.
2026-02-22 15:54:36 -05:00
Bryan Morgan
3371f5e11f feat(core): add error recovery guidance to non-interactive system prompt
Teaches the agent to analyze errors before retrying, try alternatives
after 2 failures, and avoid fallback loops. Gated behind
!options.interactive.
2026-02-22 15:54:36 -05:00
Bryan Morgan
4524e30e4e feat(core): increase thought signature retry resilience
maxAttempts 2→3, initialDelayMs 500→1000 for "thought signature
chunk" errors to better handle transient API flakes.
2026-02-22 15:54:36 -05:00
Bryan Morgan
87ac43cdef feat(core): increase sub-agent turn and time limits
DEFAULT_MAX_TURNS 15→30, DEFAULT_MAX_TIME_MINUTES 5→10 to reduce
timeouts on complex multi-step tasks.
2026-02-22 15:54:36 -05:00
Bryan Morgan
09e7f615d6 fix(core): process all URLs in web_fetch instead of only the first
The tool accepts up to 20 URLs but only processed urls[0] in both
execute and fallback paths. Now iterates all URLs for rate-limit
checks and fetches all in fallback mode.
2026-02-22 15:54:36 -05:00
Bryan Morgan
dd16aa0602 feat(core): enable retryFetchErrors by default
Transient "fetch failed" network errors are common in non-interactive
contexts; the retry infrastructure exists but was off by default.
2026-02-22 15:54:36 -05:00
Shivangi Sharma
a91bc60e18 fix(core): add uniqueness guard to edit tool (#19890)
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
2026-02-22 20:24:58 +00:00
Nick Salerni
faa1ec3044 fix(core): prevent omission placeholder deletions in replace/write_file (#19870)
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
2026-02-22 19:58:31 +00:00
Bryan Morgan
d96bd05d36 fix(core): allow any preview model in quota access check (#19867) 2026-02-22 12:53:24 +00:00
Adib234
84666e1bbc fix(plan): time share by approval mode dashboard reporting negative time shares (#19847) 2026-02-22 00:32:57 +00:00
N. Taylor Mullen
a7d851146a feat(core): remove unnecessary login verbiage from Code Assist auth (#19861) 2026-02-21 21:55:11 +00:00
Abhi
acb7f577de chore(lint): fix lint errors seen when running npm run lint (#19844) 2026-02-21 18:33:25 +00:00
Abhi
d2d345f41a fix(cli): filter subagent sessions from resume history (#19698) 2026-02-21 17:41:27 +00:00
Christian Gunderman
dfd7721e69 Disallow unsafe returns. (#19767) 2026-02-21 01:12:56 +00:00
matt korwel
09218572d0 refactor(core): remove unsafe type assertions in error utils (Phase 1.1) (#19750) 2026-02-21 01:00:57 +00:00
Christian Gunderman
5d98ed5820 Utilize pipelining of grep_search -> read_file to eliminate turns (#19574) 2026-02-21 00:36:10 +00:00
Jarrod Whelan
727f9b67b1 feat(cli): improve CTRL+O experience for both standard and alternate screen buffer (ASB) modes (#19010)
Co-authored-by: jacob314 <jacob314@gmail.com>
2026-02-21 00:26:11 +00:00
Adam Weidman
547f5d45f5 feat(core): migrate read_file to 1-based start_line/end_line parameters (#19526) 2026-02-20 22:59:18 +00:00
Christian Gunderman
58d637f919 Disallow and suppress unsafe assignment (#19736) 2026-02-20 22:28:55 +00:00
Sehoon Shon
b746524a1b fix(cli): re-enable CLI banner (#19741) 2026-02-20 22:21:26 +00:00
Abhijit Balaji
c5baf39dbd feat(policy): repurpose "Always Allow" persistence to workspace level (#19707) 2026-02-20 22:07:20 +00:00
Sehoon Shon
b48970da15 fix(cli): use getDisplayString for manual model selection in dialog (#19726) 2026-02-20 22:03:32 +00:00
Jacob Richman
9a8e5d3940 fix(cli): extensions dialog UX polish (#19685) 2026-02-20 21:08:24 +00:00
Jacob Richman
089aec8b8d feat(cli): make JetBrains warning more specific (#19687) 2026-02-20 21:06:35 +00:00
Christian Gunderman
b7555ab1e1 Fix unsafe assertions in code_assist folder. (#19706)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-20 20:44:23 +00:00
Emily Hedlund
c04602f209 fix(core): restore auth consent in headless mode and add unit tests (#19689) 2026-02-20 20:31:43 +00:00
Emily Hedlund
a01d7e9a05 security: implement deceptive URL detection and disclosure in tool confirmations (#19288) 2026-02-20 20:21:31 +00:00
Emily Hedlund
49b2e76ee1 Revert "feat(ui): add source indicators to slash commands" (#19695) 2026-02-20 20:08:49 +00:00
Emily Hedlund
aed348a99c security: strip deceptive Unicode characters from terminal output (#19026)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-20 20:04:32 +00:00
Christian Gunderman
7cf4c05c66 Fixes 'input.on' is not a function error in Gemini CLI (#19691) 2026-02-20 20:03:57 +00:00
Sam Roberts
cdf157e52a Update sidebar.json for to allow top nav tabs. (#19595) 2026-02-20 19:54:26 +00:00
Sehoon Shon
723f269df6 fix(core): treat 503 Service Unavailable as retryable quota error (#19642) 2026-02-20 19:51:53 +00:00
Spencer
239aa0909c fix(cli): allow perfect match @-path completions to submit on Enter (#19562) 2026-02-20 19:46:48 +00:00
matt korwel
6cfd29ef9b feat(plan): enforce read-only constraints in Plan Mode (#19433)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Jerop Kipruto <jerop@google.com>
2026-02-20 19:33:04 +00:00
Sehoon Shon
f97b04cc9a feat(models): support Gemini 3.1 Pro Preview and fixes (#19676) 2026-02-20 19:19:21 +00:00
Christian Gunderman
788a40c445 Send accepted/removed lines with ACCEPT_FILE telemetry. (#19670) 2026-02-20 19:07:43 +00:00
Adam Weidman
ce03156c9f feat(a2a): Add API key authentication provider (#19548) 2026-02-20 18:55:36 +00:00
Spencer
fe428936d5 feat(ui): improve startup warnings UX with dismissal and show-count limits (#19584) 2026-02-20 18:22:45 +00:00
Gal Zahavi
d24f10b087 feat(cli): enhance folder trust with configuration discovery and security warnings (#19492)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-20 18:21:03 +00:00
Tommaso Sciortino
d54702185b feat(cli): add support for numpad SS3 sequences (#19659) 2026-02-20 18:09:10 +00:00