github / github/copilot-cli

Auto-rename session on exit

未關閉
#2,546 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:configuration area:sessions
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the feature or problem you'd like to solve

When closing Copilot CLI, sessions are left with default/unnamed labels unless the user manually runs /rename before exiting. This makes it hard to find and resume past sessions later, as they lack meaningful descriptions. Most users forget to rename, resulting in a list of unnamed sessions that all look the same.

### Proposed solution

Add a configuration option (e.g., auto_rename_on_exit: true) that automatically triggers the /rename auto-generation
logic when the user exits the CLI via /exit, /quit, ctrl+d, or ctrl+c ×2. This would use the existing conversation-based name
generation — no user input required.

### Example prompts or workflows

_No response_

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

Start by locating the existing conversation-based auto-generation logic behind /rename and the exit handling for /exit, /quit, ctrl+d, and ctrl+c twice. Define how the new configuration option applies to each path, then verify that enabled exits assign generated names while disabled exits retain current behavior.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。