mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
The CLI adapter read only the editor-plugin files, so `codeburn quota` and the Windows Capacity Dock — which has no Settings screen to fall back on — could not see an enterprise credential that lives anywhere else. It now walks the same rung order as the menubar for the sources a CLI can reach: the plugin files, then COPILOT_GITHUB_TOKEN / GH_TOKEN / GITHUB_TOKEN paired with GH_HOST, then gh's own hosts.yml. The gh rung reads the oauth_token out of that file rather than spawning gh, so the token and the host come from one entry and a keyring-backed login simply has no token there and falls through. The pasted-token rung stays macOS-only: it lives in that app's Keychain item, which has no CLI equivalent. Note the behaviour change this implies: a shell that exports GITHUB_TOKEN, or a gh login with no Copilot entitlement, now reports a Copilot fetch failure where it previously reported "disconnected". That is the same answer the menubar has always given for those credentials. The existing suites pin env and ghConfigPaths explicitly so a developer's own GH_TOKEN or gh login can never change what they read. Closes #1306 |
||
|---|---|---|
| .. | ||
| design | ||
| providers | ||
| release-acceptance | ||
| sync | ||
| architecture.md | ||
| optimize.md | ||