MoonshotAI / MoonshotAI/kimi-code

改动了项目路径,如何还原之前的会话?

Open
#2,883 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?

改动了项目路径,如何还原之前的会话?

Additional information

(base) ➜ hrmp git:(dev) pwd
/Users/maxid/Develop/IdeaProjects/hurray/hrmp
(base) ➜ hrmp git:(dev) kimi --auto --resume 'session_33e479c7-9c94-4a30-ab5e-7dcf98b2f686'

Session "session_33e479c7-9c94-4a30-ab5e-7dcf98b2f686" was created under a different directory.
cd "/Users/maxid/IdeaProjects/hurray/hrmp" && kimi -r session_33e479c7-9c94-4a30-ab5e-7dcf98b2f686

error: failed to start shell: Session "session_33e479c7-9c94-4a30-ab5e-7dcf98b2f686" was created under a different directory.

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

Start with the kimi --auto --resume command path and reproduce the failure using the session ID and the two directories shown in the issue. Trace where the session’s original directory is checked, then determine the supported behavior for resuming after a project move; done should be a documented or implemented way to restore that session without the current directory error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.