Mahima Shanware
8d584e4d96
fix(core): handle nested plan files by resolving paths correctly
...
This fixes a bug where path.basename was incorrectly stripping directory structures from plan files (e.g., trying to write to plans/nested/file.md would incorrectly write to plans/file.md). By using path.resolve and verifying with isSubpath, nested files are now handled securely and correctly.
2026-04-10 18:33:02 +00:00
Mahima Shanware
a99cd0be28
Merge branch 'main' into worktree-con-plan-bug
...
Resolves conflict in packages/core/src/tools/enter-plan-mode.test.ts by removing an assertion for directory creation, which has been centralized in config.ts in this branch.
2026-04-10 18:00:53 +00:00
Michael Bleigh
3b7c17a22c
refactor(core): consolidate execute() arguments into ExecuteOptions ( #25101 )
2026-04-10 17:11:17 +00:00
Mahima Shanware
15aa924932
fix(core): migrate consumers to lazily-evaluated getPlansDir
...
Updates prompts and tool implementations (edit, write-file, enter/exit plan mode) to route through Config.getPlansDir() instead of Storage.getPlansDir(). This ensures the plan directory is lazily created exactly when these features attempt to use it, preventing ENOENT failures.
2026-04-08 16:34:05 +00:00
Adib234
dcedc42979
fix(plan): sandbox path resolution in Plan Mode to prevent hallucinations ( #22737 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-24 13:19:29 +00:00
Sandy Tao
7b4a822b0e
feat(core): instrument file system tools for JIT context discovery ( #22082 )
2026-03-13 03:44:42 +00:00
Sandy Tao
0cc4f09595
feat(core): replace expected_replacements with allow_multiple in replace tool ( #20033 )
2026-02-23 19:53: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
Christian Gunderman
ce84b3cb5f
Use ranged reads and limited searches and fuzzy editing improvements ( #19240 )
2026-02-17 23:54:08 +00:00
Andrew Garrett
8cbe851339
Fix newline insertion bug in replace tool ( #18595 )
2026-02-09 06:37:53 +00:00
N. Taylor Mullen
5f569fa103
refactor(core): centralize path validation and allow temp dir access for tools ( #17185 )
...
Co-authored-by: Your Name <joshualitt@google.com >
2026-01-27 21:17:40 +00:00
Sandy Tao
f79124f96e
feat(core): enable disableLLMCorrection by default ( #17223 )
2026-01-21 18:53:41 +00:00
Sandy Tao
b81fe68325
feat(core): add disableLLMCorrection setting to skip auto-correction in edit tools ( #16000 )
2026-01-13 01:26:53 +00:00
Abhi
b13c6b57ae
chore: rename smart-edit to edit ( #15923 )
2026-01-05 20:25:54 +00:00
Abhi
f3625aab13
refactor: consolidate EditTool and SmartEditTool ( #15857 )
2026-01-05 04:52:14 +00:00
Abhi
eec5d5ebf8
feat(core): restore MessageBus optionality for soft migration (Phase 1) ( #15774 )
2026-01-04 19:59:35 +00:00
Adib234
10ae84869a
Migrate console to coreEvents.emitFeedback or debugLogger ( #15219 )
2025-12-29 20:46:10 +00:00
Christian Gunderman
942bcfc61e
Disallow redundant typecasts. ( #15030 )
2025-12-13 01:43:43 +00:00
Riddhi Dutta
394a7ea019
Refactored 3 files of tools package ( #13231 )
...
Co-authored-by: riddhi <duttariddhi@google.com >
2025-11-17 16:54:09 +00:00
N. Taylor Mullen
7bb13d1c41
telemetry: track interactive session state ( #12856 )
...
Co-authored-by: owenofbrien <86964623+owenofbrien@users.noreply.github.com >
2025-11-11 10:03:32 +00:00
Tommaso Sciortino
f05d937f39
Use consistent param names ( #12517 )
2025-11-06 23:03:52 +00:00
Allen Hutchison
ffc5e4d048
Refactor PolicyEngine to Core Package ( #12325 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-03 23:41:00 +00:00
Adib234
b8330b626e
Fix misreported number of lines being removed by model ( #12076 )
2025-10-30 14:29:39 +00:00
Gaurav Sehgal
2fa13420ae
add absolute file path description for windows ( #12007 )
2025-10-27 04:17:13 +00:00
Allen Hutchison
937c15c66e
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
Sandy Tao
ad59be0c81
fix(core): Fix unable to cancel edit tool ( #9299 )
2025-09-24 19:16:00 +00:00
Abhi
1634d5fcca
refactor(core): Use BaseLlmClient for utility LLM calls in edit corrector ( #8443 )
2025-09-16 00:46:41 +00:00
fuyou
73466b626d
Fix dollar sign replacement bug in file editing ( #7871 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2025-09-13 06:05:43 +00:00
Shreya Keshive
8969a232ec
feat(ide): Check for IDE diffing capabilities before opening diffs ( #8266 )
2025-09-11 20:17:57 +00:00
Gal Zahavi
0e284457be
Revert "Fix dollar sign replacement bug in file editing ( #7703 )" ( #7823 )
2025-09-05 20:34:02 +00:00
fuyou
0bc0d23cb3
Fix dollar sign replacement bug in file editing ( #7703 )
2025-09-05 02:12:57 +00:00
Shardul Natu
cda4280d74
fix(diffstats): Always return diff stats from EditTool ( #7489 )
...
Co-authored-by: Shnatu <snatu@google.com >
2025-09-04 17:20:40 +00:00
Tommaso Sciortino
cb43bb9ca4
Use IdeClient directly instead of config.ideClient ( #7627 )
2025-09-04 16:32:09 +00:00
Shardul Natu
cae4cacd6e
rename(telemetry): Update ai_(added|removed)_lines to model_(added|removed)_lines ( #7577 )
...
Co-authored-by: Shnatu <snatu@google.com >
Co-authored-by: Billy Biggs <bbiggs@google.com >
2025-09-04 03:54:52 +00:00
Shardul Natu
af522f21fb
feat(telemetry): Add character counts to diff stats ( #7619 )
...
Co-authored-by: Shnatu <snatu@google.com >
Co-authored-by: cornmander <shikhman@google.com >
2025-09-03 22:51:20 +00:00
Shardul Natu
a167f28ead
fix(diffstats): Fix diff stats to correctly capture the edits ( #7446 )
...
Co-authored-by: Shnatu <snatu@google.com >
Co-authored-by: Gaurav <39389231+gsquared94@users.noreply.github.com >
2025-08-30 20:56:10 +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
joshualitt
76bbbac7ff
bug(core): Fix for "no changes" edits. ( #6836 )
2025-08-22 17:43:19 +00:00
Nanda Kishore
528227a0f8
feat: Add programming language to CLI events ( #6071 )
...
Co-authored-by: christine betts <chrstn@uw.edu >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Adam Weidman <65992621+adamfweidman@users.noreply.github.com >
Co-authored-by: JaeHo Jang <diehreo@gmail.com >
Co-authored-by: Jacob Richman <jacob314@gmail.com >
Co-authored-by: Victor May <mayvic@google.com >
Co-authored-by: Gaurav <39389231+gsquared94@users.noreply.github.com >
Co-authored-by: joshualitt <joshualitt@google.com >
Co-authored-by: Billy Biggs <bbiggs@google.com >
Co-authored-by: Ricardo Fabbri <rfabbri@gmail.com >
Co-authored-by: Arya Gummadi <aryagummadi@google.com >
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com >
Co-authored-by: Shreya Keshive <skeshive@gmail.com >
Co-authored-by: Ben Guo <36952867+HunDun0Ben@users.noreply.github.com >
Co-authored-by: Ben Guo <hundunben@gmail.com >
Co-authored-by: mkusaka <hinoshita1992@gmail.com >
2025-08-22 12:17:32 +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
Conrad Irwin
fb3ceb0da4
Read and write files through Zed ( #6169 )
...
Co-authored-by: Agus Zubiaga <agus@zed.dev >
2025-08-18 22:29:45 +00:00
Shreya Keshive
3a87712c1a
Launch VS Code IDE Integration ( #6063 )
2025-08-12 21:08:07 +00:00
joshualitt
8bac9e7d04
Migrate EditTool, GrepTool, and GlobTool to DeclarativeTool ( #5744 )
2025-08-07 17:05:37 +00:00
christine betts
b55467c1dd
[ide-mode] Support rendering in-IDE diffs using the edit tool ( #5618 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-06 20:55:29 +00:00
Silvio Junior
7748e56153
[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
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
Wen Sun
b4d00ab4fb
feat(edit): Prevent no-op edits ( #3520 )
2025-07-21 21:24:02 +00:00
Tommaso Sciortino
357546a2aa
Initialize MCP tools once at start up instead of every time we auth. ( #3483 )
2025-07-07 22:01:59 +00:00
Colt McAnlis
8f4046c71a
fix: EditTool can clobber human edits to the same file. ( #3043 )
...
Co-authored-by: Colt McAnlis <colton@google.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-07 17:28:56 +00:00