cornmander
dcf362bcf9
Inline tree-sitter wasm and add runtime fallback ( #11157 )
2025-10-17 00:25:30 +00:00
mistergarrison
2e6d69c9c8
Fix --allowed-tools in non-interactive mode to do substring matching for parity with interactive mode. ( #10944 )
...
Co-authored-by: Allen Hutchison <adh@google.com >
2025-10-15 19:44:07 +00:00
cornmander
bd5c158a62
Revert "Shell approval rework" ( #11143 )
2025-10-14 22:55:28 +00:00
cornmander
92dbdbb93b
Shell approval rework ( #11073 )
2025-10-14 16:51:32 +00:00
Gal Zahavi
467a305f26
chore(shell): Enable interactive shell by default ( #10661 )
2025-10-08 20:28:19 +00:00
mistergarrison
d9fdff339a
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
24c15b9d43
Revert "Make --allowed-tools work in non-interactive mode" ( #10006 )
2025-09-26 16:22:02 -07:00
owenofbrien
e909993dd1
Added warning to avoid command substitution in run_shell_command tool… ( #9934 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-26 18:16:05 +00:00
mistergarrison
e8a065cb9f
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
Hadi Minooei
2e12a67198
update shell info ( #8489 )
2025-09-15 20:27:19 +00:00
Hadi Minooei
35aeb3f420
Remove conflicting shell Directory checks ( #7845 )
...
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com >
Co-authored-by: Sandy Tao <sandytao520@icloud.com >
2025-09-13 17:33:12 +00:00
Gal Zahavi
181898cb5d
feat(shell): enable interactive commands with virtual terminal ( #6694 )
2025-09-11 20:27:27 +00:00
Jacob MacDonald
45d494a8d8
improve performance of shell commands with lots of output ( #7680 )
2025-09-04 16:20:24 +00:00
Jack Wotherspoon
39c35e7d61
chore: improve inclusive-language ( #7558 )
2025-09-03 00:09:28 +00:00
shishu314
142192ae59
fix(cli) - Add logging for shell errors ( #7007 )
...
Co-authored-by: Shi Shu <shii@google.com >
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2025-08-26 19:26:16 +00:00
Pascal Birchler
0f031a7f89
Explict imports & exports with type modifier ( #3774 )
2025-08-25 22:04:53 +00:00
Pascal Birchler
ee4feea006
chore: consistently import node modules with prefix ( #3013 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com >
2025-08-25 20:11:27 +00:00
fuyou
ef46d64ae5
Fix(grep): memory overflow in grep search and enhance test coverage ( #5911 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2025-08-22 06:10:45 +00:00
Gal Zahavi
f1575f6d8d
feat(core): refactor shell execution to use node-pty ( #6491 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2025-08-19 23:03:51 +00:00
joshualitt
b9cece767d
feat(core): Cleanup after migrating tools. ( #6199 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2025-08-19 20:55:06 +00:00
Tommaso Sciortino
01b8a7565c
Fix shell tool description to be os-specific ( #6335 )
2025-08-15 19:08:29 +00:00
Gal Zahavi
1a2906a8ad
Revert #6088 ( #6328 )
2025-08-15 17:27:33 +00:00
Gal Zahavi
980091cbc2
feat(core): refactor shell execution to use node-pty ( #6088 )
2025-08-14 20:40:12 +00:00
Richie Foreman
a90aeb3d8f
chore(build/compiler): Enable a bunch of strict TS compiler options. ( #6138 )
2025-08-13 20:17:38 +00:00
joshualitt
c0c0e9b7a0
feat(core): Migrate read_many_files, shell, and web_fetch. ( #6167 )
2025-08-13 19:27:09 +00:00
Agus Zubiaga
d3fda9dafb
Zed integration schema upgrade ( #5536 )
...
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com >
Co-authored-by: Ben Brandt <benjamin@zed.dev >
2025-08-13 15:58:26 +00:00
Wanlin Du
d9fb08c9da
feat: migrate tools to use parametersJsonSchema. ( #5330 )
2025-08-11 23:12:41 +00:00
Akhil Appana
f5e0f16157
fix: properly report tool errors in telemetry ( #5688 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-08 11:33:42 +00:00
Yuki Okita
c1fe688956
feat: Multi-Directory Workspace Support (part1: add --include-directories option) ( #4605 )
...
Co-authored-by: Allen Hutchison <adh@google.com >
2025-07-30 20:38:20 +00:00
Abhi
ca5dd28ab6
refactor(core): Centralize shell logic into ShellExecutionService ( #4823 )
2025-07-26 01:56:49 +00:00
matt korwel
820105e982
Safer Shell command Execution ( #4795 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com >
2025-07-25 19:25:32 +00:00
Daniel Lee
3dd6e431df
feat: add GEMINI_CLI environment variable to spawned shell commands ( #4791 )
2025-07-24 17:13:00 +00:00
Conrad Irwin
761ffc6338
Zed integration ( #4266 )
...
Co-authored-by: Agus Zubiaga <agus@zed.dev >
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com >
Co-authored-by: mkorwel <matt.korwel@gmail.com >
2025-07-17 22:25:23 +00:00
anj-s
d3ee9de3c3
Enable tool summarization only when explicitly set in settings.json ( #4140 )
...
Co-authored-by: matt korwel <matt.korwel@gmail.com >
2025-07-15 17:22:31 +00:00
N. Taylor Mullen
44ef0408f3
feat(tools): Centralize shell tool summarization ( #4009 )
2025-07-13 04:09:12 +00:00
anj-s
23197151c2
Summarize tool call outputs using tool specific summarizers ( #3745 )
2025-07-11 16:29:08 +00:00
Tommaso Sciortino
4dab31f1c8
Improve Function Call argument validation and typing ( #2881 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com >
2025-07-08 06:48:44 +00:00
N. Taylor Mullen
17dfa267d5
Re-enable backticks in shell tool usage. ( #3360 )
2025-07-07 16:15:10 +00:00
Yuki Okita
87a44ec468
feat(core): improve error messages in isCommandAllowed ( #3349 )
2025-07-07 05:03:36 +00:00
moon jooho
8d3fec08e5
Add and improve JSDoc comments for core tool methods ( #3128 )
2025-07-04 00:13:02 +00:00
Jerop Kipruto
f3849627fc
feat(shell): Enable prefix matching for flexible command validation ( #2653 )
2025-06-30 15:42:35 +00:00
Jerop Kipruto
d8d78d73f9
feat: allow command-specific restrictions for ShellTool ( #2605 )
2025-06-29 19:32:26 +00:00
Billy Biggs
25cdf9b762
Inline the description and schema of the shell tool in the source ( #1709 )
2025-06-28 09:53:03 +00:00
Sijie Wang
7352cb403c
fix(core): Improve shell tool reliability and test portability ( #1036 )
2025-06-15 09:19:19 +00:00
matt korwel
3b943c1582
Windows: Refactor Shell Scripts to Node.js for Cross-Platform Compatibility ( #784 )
2025-06-09 12:19:42 -07:00
Olcan
87474e52d7
rename shell tool more intuitively as run_shell_command (from historical name of execute_bash_command inherited from terminal tool) ( #869 )
2025-06-09 08:57:30 -07:00
N. Taylor Mullen
d62dad5575
Revert "Add batch editing capabilities to Edit Tool ( #648 )" ( #857 )
2025-06-08 23:20:43 +00:00
N. Taylor Mullen
f2ea78d0e4
fix(tool-scheduler): Correctly pipe cancellation signal to tool calls ( #852 )
2025-06-08 22:42:49 +00:00
Keith Ballinger
0c86874677
Add batch editing capabilities to Edit Tool ( #648 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com >
2025-06-06 22:54:37 -07:00
Jacob Richman
aa386d135b
Jacob314/memory fixes ( #754 )
...
Address multiple possible memory leaks found bystatic analysis of the codebase. The primary source of the leaks was event listeners on child processes and global objects that were not being properly removed, potentially causing their closures to be retained in memory indefinitely particularly for processes that did not exit.
There are two commits. A larger one made by gemini CLI and a smaller one by me to make sure we always disconnect child processes as part of the cleanup methods. These changes may not actually fix any leaks but do look like reasonable defensive coding to avoid leaking event listeners or child processes.
The following files were fixed:
This is Gemini's somewhat overconfident description of what it did.
packages/core/src/tools/shell.ts: Fixed a leak where an abortSignal listener was not being reliably removed.
packages/cli/src/utils/readStdin.ts: Fixed a significant leak where listeners on process.stdin were never removed.
packages/cli/src/utils/sandbox.ts: Fixed leaks in the imageExists and pullImage helper functions where listeners on spawned child processes were not being removed.
packages/core/src/tools/grep.ts: Fixed three separate leaks in the isCommandAvailable check and the git grep and system grep strategies due to un-removed listeners on child processes.
packages/core/src/tools/tool-registry.ts: Corrected a leak in the execute method of the DiscoveredTool class where listeners on the spawned tool process were not being removed.
2025-06-05 06:40:33 -07:00