gemini-cli/packages/core/src/tools
Horizon_Architect_07 2a52611e71
Fix/command injection shell (#24170)
Co-authored-by: David Pierce <davidapierce@google.com>
2026-04-22 20:00:44 +00:00
..
__snapshots__ feat(core): centralize read_file limits and update gemini-3 description (#20619) 2026-03-02 20:11:58 +00:00
definitions feat(core): add tools to list and read MCP resources (#25395) 2026-04-16 17:57:43 +00:00
activate-skill.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
activate-skill.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
ask-user.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
ask-user.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
base-tool-invocation.test.ts feat(safety): Introduce safety checker framework (#12504) 2025-11-12 21:18:34 +00:00
complete-task.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
complete-task.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
confirmation-policy.test.ts fix(plan): sandbox path resolution in Plan Mode to prevent hallucinations (#22737) 2026-03-24 13:19:29 +00:00
constants.ts feat(core): rename search_file_content tool to grep_search and add legacy alias (#18003) 2026-02-03 04:18:24 +00:00
diff-utils.test.ts Utilize pipelining of grep_search -> read_file to eliminate turns (#19574) 2026-02-21 00:36:10 +00:00
diff-utils.ts Utilize pipelining of grep_search -> read_file to eliminate turns (#19574) 2026-02-21 00:36:10 +00:00
diffOptions.test.ts fix: show whitespace changes in edit tool diffs (#17213) 2026-01-22 18:02:37 +00:00
diffOptions.ts refactor(cli,core): foundational layout, identity management, and type safety (#23286) 2026-03-24 01:49:51 +00:00
edit.test.ts fix(core): resolve nested plan directory duplication and relative path policies (#25138) 2026-04-21 18:20:57 +00:00
edit.ts fix(core): resolve nested plan directory duplication and relative path policies (#25138) 2026-04-21 18:20:57 +00:00
enter-plan-mode.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
enter-plan-mode.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
exit-plan-mode.test.ts fix(core): resolve nested plan directory duplication and relative path policies (#25138) 2026-04-21 18:20:57 +00:00
exit-plan-mode.ts fix(core): resolve nested plan directory duplication and relative path policies (#25138) 2026-04-21 18:20:57 +00:00
get-internal-docs.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
get-internal-docs.ts feat(core): add .mdx support to get-internal-docs tool (#25090) 2026-04-16 20:58:34 +00:00
glob.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
glob.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
grep-utils.ts feat(cli): implement compact tool output (#20974) 2026-03-30 23:43:29 +00:00
grep.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
grep.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
jit-context.test.ts feat(core): Land ContextCompressionService (#24483) 2026-04-02 16:22:04 +00:00
jit-context.ts feat(core): Land ContextCompressionService (#24483) 2026-04-02 16:22:04 +00:00
line-endings.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
list-mcp-resources.test.ts feat(core): add tools to list and read MCP resources (#25395) 2026-04-16 17:57:43 +00:00
list-mcp-resources.ts feat(core): add tools to list and read MCP resources (#25395) 2026-04-16 17:57:43 +00:00
ls.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
ls.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
mcp-client-manager.test.ts feat(core): add tools to list and read MCP resources (#25395) 2026-04-16 17:57:43 +00:00
mcp-client-manager.ts feat(core): add tools to list and read MCP resources (#25395) 2026-04-16 17:57:43 +00:00
mcp-client.test.ts chore(mcp): check MCP error code over brittle string match (#25381) 2026-04-14 17:24:21 +00:00
mcp-client.ts chore(mcp): check MCP error code over brittle string match (#25381) 2026-04-14 17:24:21 +00:00
mcp-tool.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
mcp-tool.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
memoryTool.test.ts refactor(memory): replace MemoryManagerAgent with prompt-driven memory editing across four tiers (#25716) 2026-04-22 01:21:55 +00:00
memoryTool.ts refactor(memory): replace MemoryManagerAgent with prompt-driven memory editing across four tiers (#25716) 2026-04-22 01:21:55 +00:00
message-bus-integration.test.ts fix(hooks): support 'ask' decision for BeforeTool hooks (#21146) 2026-03-21 03:52:39 +00:00
modifiable-tool.test.ts fix: merge duplicate imports in packages/core (3/4) (#20928) 2026-03-04 00:12:59 +00:00
modifiable-tool.ts fix: merge duplicate imports in packages/core (3/4) (#20928) 2026-03-04 00:12:59 +00:00
omissionPlaceholderDetector.test.ts fix(core): prevent omission placeholder deletions in replace/write_file (#19870) 2026-02-22 19:58:31 +00:00
omissionPlaceholderDetector.ts fix(core): prevent omission placeholder deletions in replace/write_file (#19870) 2026-02-22 19:58:31 +00:00
read-file.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
read-file.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
read-many-files.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
read-many-files.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
read-mcp-resource.test.ts feat(core): add tools to list and read MCP resources (#25395) 2026-04-16 17:57:43 +00:00
read-mcp-resource.ts feat(core): add tools to list and read MCP resources (#25395) 2026-04-16 17:57:43 +00:00
ripGrep.test.ts feat: bundle ripgrep binaries into SEA for offline support (#25342) 2026-04-15 06:28:06 +00:00
ripGrep.ts feat: bundle ripgrep binaries into SEA for offline support (#25342) 2026-04-15 06:28:06 +00:00
shell.test.ts Fix/command injection shell (#24170) 2026-04-22 20:00:44 +00:00
shell.ts Fix/command injection shell (#24170) 2026-04-22 20:00:44 +00:00
shell_proactive.test.ts fix(core): ensure sandbox approvals are correctly persisted and matched for proactive expansions (#24577) 2026-04-03 21:48:18 +00:00
shellBackgroundTools.integration.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
shellBackgroundTools.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
shellBackgroundTools.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
tool-error.ts feat(core): add tools to list and read MCP resources (#25395) 2026-04-16 17:57:43 +00:00
tool-names.test.ts fix(core): resolve MCP tool FQN validation, schema export, and wildcards in subagents (#22069) 2026-03-12 14:17:36 +00:00
tool-names.ts feat(core): add tools to list and read MCP resources (#25395) 2026-04-16 17:57:43 +00:00
tool-registry.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
tool-registry.ts feat(core): add tools to list and read MCP resources (#25395) 2026-04-16 17:57:43 +00:00
tools.test.ts chore(tools): add toJSON to tools and invocations to reduce logging verbosity (#22899) 2026-03-24 23:08:29 +00:00
tools.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
topicTool.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
topicTool.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
trackerTools.test.ts feat: add 'blocked' status to tasks and todos (#22735) 2026-03-17 23:24:26 +00:00
trackerTools.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
web-fetch.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
web-fetch.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
web-search.test.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
web-search.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
write-file.test.ts fix(core): resolve nested plan directory duplication and relative path policies (#25138) 2026-04-21 18:20:57 +00:00
write-file.ts fix(core): resolve nested plan directory duplication and relative path policies (#25138) 2026-04-21 18:20:57 +00:00
write-todos.test.ts feat: add 'blocked' status to tasks and todos (#22735) 2026-03-17 23:24:26 +00:00
write-todos.ts refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
xcode-mcp-fix-transport.test.ts fix(core): handle non-compliant mcpbridge responses from Xcode 26.3 (#18376) 2026-02-05 17:03:32 +00:00
xcode-mcp-fix-transport.ts Unused error variables in catch block are not allowed (#24487) 2026-04-02 04:33:07 +00:00