Support custom status line and context-window usage in the Copilot desktop app
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách so sánh hành vi của ứng dụng desktop được khởi chạy thông qua github.exe với hành vi của Copilot CLI trong terminal đối với ~/.copilot/settings.json. Theo dõi cách statusLine.command, footer.showCustom và footer.showContextWindow được xử lý, sau đó xác minh rằng phiên desktop либо hiển thị đầu ra đã cấu hình либо liên tục hiển thị mức sử dụng cửa sổ ngữ cảnh như CLI.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
The native GitHub Copilot desktop app does not render the custom status line or context-window footer configured in ~/.copilot/settings.json, even though the same configuration works in the terminal-hosted Copilot CLI.
Environment
- OS: Windows
- GitHub Copilot desktop app:
1.1.19 - Desktop executable:
C:\Users\<user>\AppData\Local\Programs\GitHub Copilot\github.exe - GitHub Copilot CLI:
1.0.84-4
Configuration
{
"statusLine": {
"type": "command",
"command": "powershell.exe -NoProfile -ExecutionPolicy Bypass -File \"C:\\Users\\<user>\\.copilot\\statusline.ps1\""
},
"footer": {
"showContextWindow": true,
"showCustom": true
}
}
The configured PowerShell command reads the status payload from stdin and prints context-token usage.
Steps to reproduce
- Configure
statusLine.command,footer.showCustom, andfooter.showContextWindowin~/.copilot/settings.json. - Start Copilot CLI from PowerShell by running
copilot. - Send a prompt and observe that the custom context usage (for example,
49.5k/? tokens) appears in the terminal footer. - Close the terminal session and launch the native desktop app using
github.exe. - Open a session and send a prompt.
Actual behavior
The desktop app does not display the custom status-line output or a context-window usage indicator. The command itself is valid and works in the terminal CLI.
Expected behavior
The desktop app should either:
- honor
statusLine.commandand the relevantfooter.*settings, or - provide a native equivalent that continuously shows used/remaining context-window capacity for the active session.
Why this matters
Context-window visibility helps users decide when to summarize, checkpoint, or start a new session before earlier context is compacted or lost. Users moving between the terminal CLI and native desktop app should have equivalent visibility into session context usage.
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 17 giờ 6 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/copilot-cli
-
triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
github/copilot-cli#4963 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
github/copilot-cli#4932 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github/copilot-cli#4909 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
github/copilot-cli#4906 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot-cli#4848 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của github/copilot-cli
Issue tương tự
-
🎙️ task - fix(deployer): deploy --env prep runs deploy:dev where the repo declares deploy:prepĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
backlog bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
WLAN-Pi/wlanpi-profiler#306 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: backend good first issue priority: P3 - low size: S type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Mizithra/ActiveTerrain#31 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
obra/superpowers#2422 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ComplianceAsCode/content#15152 ·
Maintainer thường phản hồi trong vòng 3 ngày