Repository navigation
Description
Goal
Remove the ChatGPT ("OpenAI") Chrome extension route now, and with it every path that reaches the vendor browser service, codex app-server or codex login.
Owner ruling 2026-10-17: cua's distribution stays internal (research purpose), so the Chrome Web Store listing (#78) is no longer a precondition. This ticket runs ahead of #115 so that #115 can drop CodexCLI.app whole: once this lands, the ChatGPT route is the last caller of the app-server's config and auth RPCs and of codex login, and it is gone.
Context
#10 (spec docs/doperpowers/specs/2026-10-07-own-chrome-extension-design.md, "Out of scope") added cua's own extension and host and kept the vendor route as cua chrome register --vendor; a home uses one route at a time, chosen by the newer registration record (src/chrome/route.mjs). The vendor browser service (@oai/browser-desktop, selected by CUA_BROWSER_SERVICE=vendor or by a home on the ChatGPT route) was "kept one release for rollback (removed by #116)" (src/services/browser.mjs header, src/runtime/launch.mjs) and was not removed then. It is what calls the app-server (configRequirements/read, config/read, getAuthStatus) and makes the Statsig and identity fetches through nodeRepl.fetch (research on #115).
Pieces to remove or collapse:
- the vendor registration:
src/chrome/registration.mjs's vendor functions and records,--vendorinsrc/cli.mjs, the vendor branches insrc/profiles/*,src/runtime/chrome-component.mjsand doctor'schrome.host.config; - the vendor browser service selection:
CUA_BROWSER_SERVICE=vendor, browserSelectionFor'schatgpt_extension_route, replHostFor'svendor_browser_route, src/services/browser.mjs's delegation toCUA_BROWSER_VENDOR_SERVICEand the launch settings only it uses; the browser surface then always runs cua's service (src/browser-service). The runtime manifest'sbrowserVendorServicekey goes unless something else still reads it; cua login(src/runtime/login.mjs, its CLI command and login states) and doctor'scodex.loginrow;scripts/accept/chrome-all*.mjsvendor variants; README's "ChatGPT extension route (until removal)" subsection and every other mention of the route,cua loginand the vendor service.
Stays for #115: CODEX_CLI_PATH and the CodexCLI.app relocation (still the sandbox launcher until #115 replaces it) and CODEX_HOME (the vendor node_repl and sky still use it on the macOS computer route).
Test and benchmark harnesses that use the vendor browser service as an oracle (the browser-route benchmark, repl-parity browser lanes) may keep loading it from the pinned runtime as test-only code; no production route selects it.
Done when
No production code path references the vendor extension id or host, the vendor browser service, codex login or anything that starts codex app-server; the vendor tests are removed or rewritten; docs name one route; a home whose newest registration is the vendor route (or that has none) gets a clear, tested message naming cua chrome register and how to re-bind; npm test, test:mods and plugin validate green; a dated Decision Log entry in the own-chrome-extension spec and in docs/doperpowers/specs/2026-10-02-standalone-cua-design.md; plugin minor bump.
Activity
[-]Remove the ChatGPT extension route (vendor host, --vendor, chrome.host.config, Codex login for the browser) after the Store listing[/-][+]Remove the ChatGPT extension route, the vendor browser service and the Codex login (ahead of #115)[/+]SSFSKIM commentedon Oct 17, 2026
Owner ruling 2026-10-17 (answer to the #115 design question): remove the ChatGPT extension route now; the Store listing (#78) is no longer a precondition, since distribution stays internal. Body rewritten: scope now includes the vendor browser service selection (the app-server's last caller) and
cua login; it runs ahead of #115, which then drops CodexCLI.app whole.SSFSKIM commentedon Oct 17, 2026
[board] in-progress: Built in this session ahead of #115 (owner ruling 2026-10-17).
Migration steps: single-quoted paths, verified backups only, nothing …
Tests: drive the fake runtime as the vendor host explicitly, now that…
Merge pull request #152 from SSFSKIM/feat/79-remove-chatgpt-route
SSFSKIM commentedon Oct 17, 2026
[board] done: Merged in PR #152 (94366c1). Plugin 0.13.0. The ChatGPT extension route, the vendor browser service selection and cua login are removed; a migration note and doctor's chrome.route row guide homes off the old route. CODEX_CLI_PATH, CODEX_HOME and the CodexCLI.app relocation stay for #115.
Own sandbox spec: #79 landed (94366c1); what it removed underneath th…
Merge main (#79, 94366c1) into the M0 branch; the M0 harness no longe…