mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-28 15:01:14 -07:00
feat(plan): add exit_plan_mode ui and prompt (#18162)
This commit is contained in:
@@ -25,6 +25,7 @@ function getConfirmationHeader(
|
||||
Record<SerializableConfirmationDetails['type'], string>
|
||||
> = {
|
||||
ask_user: 'Answer Questions',
|
||||
exit_plan_mode: 'Ready to start implementation?',
|
||||
};
|
||||
if (!details?.type) {
|
||||
return 'Action Required';
|
||||
@@ -70,7 +71,9 @@ export const ToolConfirmationQueue: React.FC<ToolConfirmationQueueProps> = ({
|
||||
: undefined;
|
||||
|
||||
const borderColor = theme.status.warning;
|
||||
const hideToolIdentity = tool.confirmationDetails?.type === 'ask_user';
|
||||
const hideToolIdentity =
|
||||
tool.confirmationDetails?.type === 'ask_user' ||
|
||||
tool.confirmationDetails?.type === 'exit_plan_mode';
|
||||
|
||||
return (
|
||||
<OverflowProvider>
|
||||
|
||||
Reference in New Issue
Block a user