MoonshotAI / MoonshotAI/kimi-code
改动了项目路径,如何还原之前的会话?
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?
改动了项目路径,如何还原之前的会话?
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
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
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