mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-13 23:51:16 -07:00
- 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.