mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-16 13:00:39 -07:00
fix(policy): address review feedback for wildcard policy
- add checkExhaustive to switch block in ApprovalModeIndicator.tsx - add test coverage for wildcard styling in InputPrompt.test.tsx - update lingering YOLO comment in exit-plan-mode.ts
This commit is contained in:
@@ -259,7 +259,7 @@ Ask the user for specific feedback on how to improve the plan.`,
|
||||
// For non-interactive environment requires minimal user action, exit as AUTO_EDIT mode for plan implementation.
|
||||
return ApprovalMode.AUTO_EDIT;
|
||||
}
|
||||
// By default, YOLO mode in interactive environment cannot enter/exit plan mode.
|
||||
// By default, wildcard policies in interactive environment cannot enter/exit plan mode.
|
||||
// Always exit plan mode and move to default approval mode if exit_plan_mode tool is configured with allow decision.
|
||||
return ApprovalMode.DEFAULT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user