mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-27 21:44:25 -07:00
90cbd0cd5b
- 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.