Skip to content

fix: show original session command after fork - #103

Merged
kermanx merged 1 commit into
MoonshotAI:mainfrom
kermanx:xtr/fork-return-command
May 27, 2026
Merged

fix: show original session command after fork#103
kermanx merged 1 commit into
MoonshotAI:mainfrom
kermanx:xtr/fork-return-command

Conversation

@kermanx

@kermanx kermanx commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Related Issue

No linked issue; this addresses a small TUI clarity gap in the fork flow.

Problem

After running /fork, the TUI switches into the forked session and only shows the new session id. Users who want to return to the pre-fork session need the exact resume command for the original session.

What changed

  • Include kimi -r <original-session-id> in the successful fork status message after switching to the forked session.
  • Update the existing fork flow test to assert the return command.
  • Add a patch changeset for the CLI package.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot

changeset-bot Bot commented May 27, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9d2907c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@kermanx
kermanx merged commit 73c4232 into MoonshotAI:main May 27, 2026
5 checks passed
@github-actions github-actions Bot mentioned this pull request May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant