Support custom status line and context-window usage in the Copilot desktop app
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、github.exe から起動したデスクトップアプリと、~/.copilot/settings.json に対するターミナルの Copilot CLI の動作を比較します。statusLine.command、footer.showCustom、footer.showContextWindow がどのように処理されるかを追跡し、デスクトップセッションが設定された出力をレンダリングするか、CLI のようにコンテキストウィンドウの使用量を継続的に表示するかを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- powershell
- 領域
- cli, desktop
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100