5487222658
Three gaps between the copilot-acp picker row and what the user's subscription actually serves (reported: picker showed the stale curated list while the Copilot CLI offered Sonnet 5 / Opus 5 / GPT-5.6): 1. _resolve_copilot_catalog_api_key() never looked at the Copilot CLI's own token store (~/.copilot/config.json copilotTokens). A user whose only credential is 'copilot login' got no catalog key, the live fetch 401'd, and copilot-acp silently fell back to the stale curated list. Add it as resolution source 3, JSONC-tolerant, with each candidate validated and exchanged like pool entries. 2. The existing credential-pool branch unpacked exchange_copilot_token() into two names, but it returns (api_token, expires_at, base_url) — the ValueError was swallowed by the enclosing except, disabling that entire resolution path. Latent since the base_url return was added. 3. GitHub now returns model_picker_enabled: false for EVERY model on some accounts/token types, so honoring the flag rejected the whole live catalog. Treat the flag as a display hint: when it empties the result, refilter without it (chat/endpoint checks still exclude embeddings and non-chat rows). Verified live: catalog resolves 44 models for a copilot-login-only account, matching the CLI's own picker (claude-sonnet-5, claude-opus-5, gpt-5.6-sol/terra, gemini, kimi).