You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 23, 2026. It is now read-only.
[Feature Request] Add /delete command to remove sessions #1783
功能請求:添加 /delete 或 /remove 命令來刪除 Session
問題描述
目前 Kimi Code CLI 沒有提供直接刪除 session 的命令,用戶需要手動到 ~/.kimi/sessions/ 目錄下刪除資料夾。
使用場景
建議的解決方案
添加一個新的斜杠命令來刪除 session:
刪除指定 session
/delete <session_id>
或
/remove <session_id>
交互式選擇刪除
/delete
預期行為
替代方案
目前只能手動刪除:
macOS/Linux
rm -rf ~/.kimi/sessions/<session_id>
Windows
Remove-Item -Path ~/.kimi/sessions/<session_id> -Recurse -Force
環境信息
• 版本: kimi, version 1.30.0
• 平台: Windows / macOS / Linux
額外說明
可以考慮同時添加:
• /delete --all 刪除所有非當前 session
• 在 /sessions 列表中添加刪除快捷鍵(如 D 鍵)