Commit Graph
1 Commits
Author SHA1 Message Date
yetone 07d19510f6 gui: the Codex client is picked in the Codex provider's Advanced too, which gateway mode reaches
The Codex client (CLI or desktop app, which Codex requests to the
ChatGPT accounts say they come from) could be set only in Agents ›
Codex, which gateway mode doesn't have, so a gateway user couldn't
reach it at all. The Codex provider's editor now has it under Advanced:
the same app menu (codexMenuBtn, split out of codexMenuPick), posted at
once to settings/codex-client like the Agents row, and the button
redraws after a pick. The Agents row is unchanged.

New test: codex-client-editor.test.cjs, the editor's pick in the app
and in gateway mode, every language, Chromium and WebKit.

Run (mica, at this tree, rebased on origin/main 39c5040d7):
- go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS':
  ok.
- codex-client-editor, codex-client, i18n-keys: 44 of 44 pass.
- nav-timeout (the guard over every GUI file): 1 of 1.
- The 19 GUI files that open these editors and the Agents rows ran
  before the rebase; the seven red files there (account-arrange,
  account-cap, account-refresh-holds, accounts-own-signin,
  agent-details-ready, agent-expand-steady, agent-menu-label) were run
  again at this change and at origin/main 039719491: 44 and 46 red, the
  same tests. Filed: #6010, #6003, #6038, #6369, #6373, #6371, #2935,
  and account-cap's page error as #7046.

Broken by hand, each red, then put back:
- app.js from before this change: codex-client-editor 8 of 8 red (en,
  zh).
- the redraw after a pick removed: 4 of 4 red.

Not tried: the real app window, the full GUI suite.
2026-11-18 14:20:00 +08:00