MoonshotAI / MoonshotAI/kimi-cli

能否在kimi-cli提供查询和快速恢复session的方法 || Can kimi-cli provide methods for querying and quickly restoring sessions?

Open
#1,814 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
11.4k
Forks
1.3k
Avg merge
9h 47m
Merged PRs (30d)
2

Description

What feature would you like to see?

目前要恢复session需要先进入kimi-cli并使用/sessions来查询,但是经常会忘记之前的session在哪个目录下,能否在kimi-cli下提供形如 kimi-cli --list-sessions这样的参数来列出己有的session,这样方便kimi --session来直接切换到对应目录下并使用,多谢先~

Additional information

No response


What feature would you like to see?

Currently, to restore a session, you need to enter kimi-cli and use /sessions to query, but you often forget which directory the previous session is in. Can you provide parameters in the form kimi-cli --list-sessions under kimi-cli to list the existing sessions? This will make it convenient for kimi --session to directly switch to the corresponding directory and use it. Thank you~

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

Start by tracing the existing /sessions flow and the kimi-cli --session entry point. Identify how sessions are discovered and how their directories are selected. Done means a command such as kimi-cli --list-sessions can show existing sessions and support quickly restoring one without first entering the interactive CLI.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.