Support custom status line and context-window usage in the Copilot desktop app
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Verhalten der über github.exe gestarteten Desktop-App mit dem Verhalten der terminalbasierten Copilot CLI für ~/.copilot/settings.json zu vergleichen. Verfolge, wie statusLine.command, footer.showCustom und footer.showContextWindow behandelt werden, und überprüfe anschließend, ob die Desktop-Sitzung entweder die konfigurierte Ausgabe rendert oder wie die CLI kontinuierlich die Nutzung des Kontextfensters anzeigt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- powershell
- Bereich
- cli, desktop
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100