-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
kimi-cliRelated to Kimi CLIRelated to Kimi CLIopportunityConcrete PR opportunityConcrete PR opportunityplan-mode
Description
Target Project
Kimi CLI (MoonshotAI/kimi-cli)
Related Issue(s)
- Kimi #1354 — "I want a plan mode"
What
Implement a plan mode where users can:
- Ask the agent to create a step-by-step plan before executing
- Review and edit the plan
- Approve execution step by step or all at once
- Track progress through the plan
Why
- Explicit user request in Kimi #1354
- Claude Code and OpenCode both have mature plan mode implementations
- Plan mode is the [Cross-Ref] Windows Path Handling — Universal Pain Point Across All CLIs #1 differentiator for complex tasks — without it, agents take random walks
- High-visibility feature that would attract power users
Prior Art
Claude Code
- Toggle with Shift+Tab or /plan command
- Creates numbered step list
- User can edit steps before execution
- Integrated with permission system
OpenCode
- Similar plan/execute flow
- Subagent session forking for plan exploration
Implementation Plan
- Add plan mode state to agent session (planning vs executing)
- Create plan data structure (steps, status, dependencies)
- Add /plan command or Ctrl-P toggle
- Render plan in TUI with step status indicators
- Allow step editing before execution
- Execute steps sequentially with approval gates
- Resume from failed step
Estimated Effort
Large (2-3 weeks)
Status
- Research complete
- Implementation started
- PR submitted
- PR merged
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kimi-cliRelated to Kimi CLIRelated to Kimi CLIopportunityConcrete PR opportunityConcrete PR opportunityplan-mode