cabef3a4c (a used quota window with no reset isn't "Not used yet") grew
app.js by 28 bytes and raised appScriptBudget and coreScriptBudget by
exactly that. A budget raised whenever a change reaches it bounds nothing
(LESSONS.md), so this pays for it instead.
Five Settings model pickers (Codex thread descriptions, composer
predictions, thread titles, auto-review, Image recognition) each defined
the same opt(x) to turn a model into a picker row, and Disabled models
wrote it out inline. They now share modelOpt. Disabled models' list holds
only models with a provider, so its group (x.providerName) is the same
under modelOpt's routing-group rule. No behaviour changes.
app.js: 1,321,294 -> 1,320,558 (736 bytes out). The budgets go back to
their values before cabef3a4c: appScriptBudget 1,321,319, coreScriptBudget
1,537,645.
Run, at 4e5b2ad81 + this change (macOS):
- go test ./internal/gui -run Budget -count=1: ok.
- GUI (NODE_PATH to playwright 1.62.0, chromium and webkit):
codex-auto-review, codex-descriptions, codex-predictions, codex-titles,
disabled-models, vision-mcp, vision-not-marked, routing-vision-why,
codex-memories-settings, i18n-keys: 132/132 pass; agent-prefs,
settings-general, omp-roles, mobile-web: 102/102 pass.
- gofmt -l internal/gui: clean. go vet ./internal/gui (darwin) and
-tags nogui for linux and windows: clean.
Not run: go test ./... and the whole GUI suite (a function hoisted out of
five pickers, no layout or API change); the real Linux app.