Support custom status line and context-window usage in the Copilot desktop app
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza comparando el comportamiento de la aplicación de escritorio iniciada mediante github.exe con el comportamiento de Copilot CLI en el terminal para ~/.copilot/settings.json. Sigue cómo se gestionan statusLine.command, footer.showCustom y footer.showContextWindow, y verifica después si la sesión de escritorio renderiza la salida configurada o muestra continuamente el uso de la ventana de contexto, como la CLI.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- powershell
- Área
- cli, desktop
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100