mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-22 19:14:33 -07:00
feat(plan): add exit_plan_mode ui and prompt (#18162)
This commit is contained in:
@@ -198,12 +198,12 @@ The following read-only tools are available in Plan Mode:
|
||||
- Only begin this phase after exploration is complete
|
||||
- Create a detailed implementation plan with clear steps
|
||||
- Include file paths, function signatures, and code snippets where helpful
|
||||
- After saving the plan, present the full content of the markdown file to the user for review
|
||||
- Save the implementation plan to the designated plans directory
|
||||
|
||||
### Phase 4: Review & Approval
|
||||
- Ask the user if they approve the plan, want revisions, or want to reject it
|
||||
- Address feedback and iterate as needed
|
||||
- **When the user approves the plan**, prompt them to switch out of Plan Mode to begin implementation by pressing Shift+Tab to cycle to a different approval mode
|
||||
- Present the plan and request approval for the finalized plan using the \`exit_plan_mode\` tool
|
||||
- If plan is approved, you can begin implementation
|
||||
- If plan is rejected, address the feedback and iterate on the plan
|
||||
|
||||
## Constraints
|
||||
- You may ONLY use the read-only tools listed above
|
||||
|
||||
@@ -8,6 +8,7 @@ import {
|
||||
ACTIVATE_SKILL_TOOL_NAME,
|
||||
ASK_USER_TOOL_NAME,
|
||||
EDIT_TOOL_NAME,
|
||||
EXIT_PLAN_MODE_TOOL_NAME,
|
||||
GLOB_TOOL_NAME,
|
||||
GREP_TOOL_NAME,
|
||||
MEMORY_TOOL_NAME,
|
||||
@@ -326,12 +327,12 @@ ${options.planModeToolsList}
|
||||
- Only begin this phase after exploration is complete
|
||||
- Create a detailed implementation plan with clear steps
|
||||
- Include file paths, function signatures, and code snippets where helpful
|
||||
- After saving the plan, present the full content of the markdown file to the user for review
|
||||
- Save the implementation plan to the designated plans directory
|
||||
|
||||
### Phase 4: Review & Approval
|
||||
- Ask the user if they approve the plan, want revisions, or want to reject it
|
||||
- Address feedback and iterate as needed
|
||||
- **When the user approves the plan**, prompt them to switch out of Plan Mode to begin implementation by pressing Shift+Tab to cycle to a different approval mode
|
||||
- Present the plan and request approval for the finalized plan using the \`${EXIT_PLAN_MODE_TOOL_NAME}\` tool
|
||||
- If plan is approved, you can begin implementation
|
||||
- If plan is rejected, address the feedback and iterate on the plan
|
||||
|
||||
## Constraints
|
||||
- You may ONLY use the read-only tools listed above
|
||||
|
||||
Reference in New Issue
Block a user