Show message timestamps in GitHub Copilot CLI conversations
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the feature or problem you'd like to solve
GitHub Copilot CLI doesn't show when each prompt or response occurred, making it hard to tell when something was asked or answered and whether a session was interrupted.
### Proposed solution
Display a timestamp for each turn (user prompt and Copilot response) in the CLI transcript.
• Show a compact local-time stamp per message (e.g., [09:47] or [2026-06-25 09:47] ), respecting the user's timezone.
• Optionally insert a time-gap separator when a significant interval elapses between turns (e.g., — 3 hours later — ), so interruptions and resumed sessions are obvious when scrolling back.
• Make it configurable (on/off, relative vs. absolute, time vs. date+time) via a CLI flag or setting.
• Include timestamps when a session is resumed so the boundary between old and new turns is clear.
### Example prompts or workflows
• Resumed session: I run a task in the morning, step away, and resume the CLI hours later — timestamps immediately show the gap and that the last answer is stale.
• Scheduled/recurring prompts: A scheduled prompt posts updates into the session; timestamps confirm exactly when each run executed and replied.
• Operational debugging: Correlating Copilot CLI suggestions with deployment and log timestamps to reconstruct an accurate timeline.
### Additional context
• The CLI already runs long-lived and resumable sessions where timing context matters most, yet that information isn't surfaced.
• A compact, optional timestamp keeps the terminal output clean while preserving precision when needed.
• This is primarily a UX enhancement; the timing data already exists at message creation time.
贡献指南
调研方向
首先跟踪 GitHub Copilot CLI 的 transcript 渲染和会话恢复流程,然后确定消息创建时间在哪里可用。在决定如何配置时间戳显示和时间间隔分隔符之前,检查 CLI 标志或设置是如何定义的。完成的标准是:恢复的会话和已安排的对话能够显示时间正确的轮次,同时不会让默认终端输出变得不必要地嘈杂。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100