Files
gemini-cli/packages/core
Mahima Shanware 90cbd0cd5b feat(policy): add isToolPotentiallyAllowed for pre-execution evaluation
- Introduces `isToolPotentiallyAllowed` to the `PolicyEngine` to evaluate if a tool could be permitted under current modes and rules, without executing it.
- Correctly handles global rules, specific tool rules, wildcards, and conditional (argsPattern) rules.
- Adds comprehensive unit tests for the new method.
2026-02-24 00:02:02 +00:00
..