Show message timestamps in GitHub Copilot CLI conversations
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
### 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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách theo dõi quá trình kết xuất bản ghi của GitHub Copilot CLI và luồng tiếp tục phiên, sau đó xác định nơi có thời điểm tạo tin nhắn. Kiểm tra cách các cờ hoặc thiết lập CLI được định nghĩa trước khi quyết định cách cấu hình việc hiển thị dấu thời gian và các dấu phân cách khoảng thời gian. Được xem là hoàn thành khi các cuộc hội thoại được tiếp tục và được lên lịch hiển thị các lượt với thời gian chính xác mà không khiến đầu ra terminal mặc định trở nên rườm rà không cần thiết.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- shell
- Lĩnh vực
- cli
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100