Files
gemini-cli/packages/core
Mahima Shanware 2c7a62049e fix(prompts): dynamically list active tools in Plan Mode system prompt
- Updates `PromptProvider` to retrieve and alphabetically sort the active tools from `ToolRegistry` for the Plan Mode prompt list.
- Removes hardcoded descriptions for `write_file` and `replace` from `snippets.ts` and `snippets.legacy.ts` as they are now dynamically included.
- Modifies verbiage in Plan Mode instructions to reflect that tools may not be exclusively "read-only" when workspace policies apply overrides.
- Updates snapshot assertions and prompt test mocks to verify the correct dynamic and sorted injection of tool descriptions.
2026-02-24 00:07:42 +00:00
..