MoonshotAI / MoonshotAI/kimi-code

Feature Request: Extend the Existing Undo Command

Open
#2,179 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.