On Windows the devin CLI reads %APPDATA%\devin\ whatever folder it is given (#17), so cliAnswersFor turned it away for every account before looking at whose sign-in it reads, and an account without the CLI never asked at all. Both kept the 2026-09-30 SNAPSHOT, which has no Gemini 4 Argon; moving a built-in Devin with it ticked then failed with "the plugin doesn't serve Gemini 4 Argon" (NieiR). The list now comes from GetCliModelConfigs, asked with the account's token (the call the plugin already made for images): its configs carry each model's label, context (18), output (model_info 13), family uid (model_info 23) and family label (30.1). Read over Devin's real response for the owner's account, parseConfigFamilies gives exactly the 52 families and 262 variants `devin models list --format json` prints, in its order, less Adaptive and Fusion. When Devin can't be asked, the CLI's list is used if the CLI names the account Devin names the token's, even when it reads its own folder (the Windows case); else SNAPSHOT, now refreshed from the CLI (Gemini 4 Argon and Claude Haiku 5.5 added, Inkling and Claude Sonnet 4.5 kept for the accounts still offered them). Run: - TMPDIR/HOME in a scratch dir, bun test packages/devin: 54 pass, 0 fail. With index.mjs put back to 0.1.14, the 4 new identity tests fail (parseConfigFamilies missing; familiesFor without gemini-4-argon; "models list" never run for a same-account CLI reading its own folder; provider.models without gemini-4-argon). - bun scripts/check.mjs devin passes. - Real account (owner's Devin, sandbox HOME, no devin CLI on PATH): provider.models gave 85 models with gemini-4-argon (1048576/1000000) and claude-haiku-5-5; 0.1.14 gave the declared list only. Not tried: the Windows box itself; the new path doesn't run the CLI.
4.3 KiB
4.3 KiB