Commit Graph

51 Commits

Author SHA1 Message Date
Alex Austin Chettiar
b0d4631316 feat(cli): undeprecate the --prompt flag (#13981)
Co-authored-by: Allen Hutchison <adh@google.com>
2026-01-14 23:09:27 +00:00
Sandy Tao
4846a206df feat(cli): implement passive activity logger for session analysis (#15829) 2026-01-11 13:22:49 +00:00
Sandy Tao
e835b552f7 feat(hooks): implement granular stop and block behavior for agent hooks (#15824) 2026-01-05 02:58:34 +00:00
Sandy Tao
3f17c6a6c3 feat(hooks): implement STOP_EXECUTION and enhance hook decision handling (#15685) 2025-12-30 23:22:53 +00:00
Adib234
97bc542183 Migrate console to coreEvents.emitFeedback or debugLogger (#15219) 2025-12-29 20:46:10 +00:00
Gaurav Sehgal
7761c6a9a5 Add clarity to error messages (#14879) 2025-12-13 01:01:12 +00:00
Jainam M
86daca4828 Adding session id as part of json o/p (#14504) 2025-12-04 17:06:20 +00:00
Edilmo Palencia
fc8ac73725 feat(hooks): Hook Session Lifecycle & Compression Integration (#14151) 2025-12-03 17:04:13 +00:00
Allen Hutchison
3686f63257 refactor(stdio): always patch stdout and use createWorkingStdio for clean output (#14159) 2025-12-02 23:08:25 +00:00
Megha Bansal
16ec067312 Improve code coverage for cli package (#13724) 2025-11-24 17:41:46 +00:00
Jacob Richman
9409be8e1b 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
b8c169ed34 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
93cc1f893e [Extension Reloading]: Update custom commands, add enable/disable command (#12547) 2025-11-05 19:36:07 +00:00
shishu314
94d70199ca Fix(noninteractive) - Add message when user uses deprecated flag (#11682)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-10-29 21:54:40 +00:00
Krishna Bajpai
5553f077aa fix(cli): Add delimiter before printing tool response in non-interactive mode (#11351) 2025-10-27 14:57:54 +00:00
Abhi
27b7279608 feat(ux): Surface internal errors via unified event system (#11803) 2025-10-23 18:14:14 +00:00
James
5bf36eefaa feat(cli): Adds the ability to run MCP prompt commands in non-interactive mode (#10194)
Co-authored-by: Allen Hutchison <adh@google.com>
2025-10-21 23:40:13 +00:00
Sandy Tao
bef40df7fb fix(cli): Enable typechecking for more test files (#11455) 2025-10-19 03:43:19 +00:00
Allen Hutchison
b7e4e8b1de refactor: Remove deprecated --all-files flag (#11228)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-16 19:09:21 +00:00
bl-ue
b91e77b9c6 fix(cli): record tool calls in non-interactive mode (#10951) 2025-10-14 15:51:00 +00:00
shrutip90
e22c2f9135 fix: Usage of folder trust config flags in FileCommandLoader (#10837) 2025-10-10 18:07:40 +00:00
mistergarrison
12213bab84 Re-submission: Make --allowed-tools work in non-interactive mode (#10289)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-10-06 19:15:21 +00:00
Gal Zahavi
4dd047053e Revert "Make --allowed-tools work in non-interactive mode" (#10006) 2025-09-26 16:22:02 -07:00
mistergarrison
ff213e8f61 Make --allowed-tools work in non-interactive mode (#9114)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-09-26 17:03:35 +00:00
James
3204278216 feat(cli) Custom Commands work in Non-Interactive/Headless Mode (#8305) 2025-09-19 13:49:35 +00:00
Jerop Kipruto
d468caeaa9 Structured JSON Output (#8119) 2025-09-10 20:19:47 +00:00
bl-ue
c88afaa5f5 feat(sessions): Integrate chat recording into GeminiChat (#6721) 2025-09-03 05:29:07 +00:00
Tommaso Sciortino
6a26741ec6 Standardize exit codes (#7055) 2025-08-26 04:44:45 +00:00
Pascal Birchler
a97a6cc71b Explict imports & exports with type modifier (#3774) 2025-08-25 22:04:53 +00:00
Victor May
205b052b7a At Command Race Condition Bugfix For Non-Interactive Mode (#6676) 2025-08-21 18:47:40 +00:00
Tommaso Sciortino
9f23c95f0b Get ToolRegistry from config instead of passing it (#6592) 2025-08-19 23:27:15 +00:00
Tommaso Sciortino
c0c371bf5d Remove unnecessary promiuse usage. (#6585) 2025-08-19 22:31:02 +00:00
joshualitt
274898d6f5 bug(core): Do not throw validation errors when building tools in nonInteractiveToolExecutor. (#6363) 2025-08-18 20:28:15 +00:00
Allen Hutchison
bc1ab4e6d4 feat(cli): route non-interactive output to stderr (#5624) 2025-08-05 23:11:21 +00:00
Silvio Junior
7c6b21266e [Fix Telemetry for tool calls, PR 1/n] Propagate tool reported errors via ToolCallResponseInfo and ToolResult (#5222) 2025-08-01 15:20:08 +00:00
anj-s
737717e730 Fix: Ensure that non interactive mode and interactive mode are calling the same entry points (#5137) 2025-07-31 12:36:12 +00:00
Josh Soref
03f7b220d3 Various spelling improvements (#3497)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2025-07-21 21:54:44 +00:00
anj-s
0c63983909 Add support for specifying maxSessionTurns via the settings configuration (#3507) 2025-07-11 14:55:03 +00:00
uttamkanodia14
3bd85150b2 Adding TurnId to Tool call and API responses and error logs. (#3039)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-09 18:49:30 +00:00
N. Taylor Mullen
b9195adb0f fix(deps): revert yargs bump and fix npx regression (#3610) 2025-07-08 23:44:56 -07:00
Vachan
83bab4b624 Updates error handling in case of incorrect tool calling. (#2304) 2025-06-27 23:57:40 +00:00
Brandon Keiji
5ad4a0a826 fix: prepublish changes to package names (#1420) 2025-06-25 12:41:11 +00:00
Abhi
b308e0eaef feat: add custom message for 429 errors (#1366) 2025-06-24 03:43:00 +00:00
Abhi
749de0662e Add error messaging for 429 errors (#1316) 2025-06-23 21:30:13 +00:00
jerop
47b87a05f1 refactor(telemetry): pass config object to telemetry functions
This commit refactors the telemetry system to pass a  object to various logging and metrics functions. This change centralizes configuration management within the telemetry system, making it more modular and easier to maintain.

The  constructor and various tool execution functions have been updated to accept the  object, which is then passed down to the telemetry functions. This eliminates the need to pass individual configuration values, such as , through multiple layers of the application.
2025-06-11 13:24:41 -04:00
Seth Troisi
8c5cc17f18 Remove unneeded mockRestore()s from tests (#919) 2025-06-10 20:32:00 -07:00
cperry-goog
a49f734c13 refactor: rename gemini-code to gemini-cli (#822) 2025-06-07 14:27:22 -07:00
N. Taylor Mullen
71697da1d9 Refactor: Use config.getGeminiClient() for GeminiClient instantiation (#715) 2025-06-03 05:30:52 +00:00
Brandon Keiji
f5416be22b refactor: maintain 1 GeminiChat per GeminiClient (#710) 2025-06-02 19:10:54 -07:00
Olcan
55d4bbb8e7 enable async tool discovery by making the registry accessor async; remove call to discoverTools that caused duplicate discovery (#691) 2025-06-02 09:56:32 -07:00