MoonshotAI / MoonshotAI/kimi-code
Feature Request: Extend the Existing Undo Command
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
What feature would you like to see?
Kimi Code already has an undo command, but it is currently limited to reverting only the most recent changes. It would be much more powerful if the existing undo functionality could be extended to support reverting to any previous prompt or edit from the current session.
Instead of only undoing the last step, the undo command could provide a history of prompts that modified the workspace and allow users to select any point to restore. This would make it easy to go back to an earlier implementation, compare different approaches, recover from mistakes made several prompts ago, and continue working from that point without relying on Git or manually reverting files.
This enhancement would make the existing undo feature significantly more flexible while fitting naturally into Kimi Code's workflow.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are identified. First locate the existing undo command and determine how session prompts and workspace changes are tracked. Done means users can select an earlier prompt or edit from the current session and restore the workspace to that point.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100