Skip to content

feat(inapps): detect ChatGPT desktop app - #844

Merged
faisalman merged 1 commit into
faisalman:masterfrom
wojtekmaj:fix/codex-inapp
Sep 1, 2026
Merged

feat(inapps): detect ChatGPT desktop app#844
faisalman merged 1 commit into
faisalman:masterfrom
wojtekmaj:fix/codex-inapp

Conversation

@wojtekmaj

@wojtekmaj wojtekmaj commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Prerequisites

Type of Change

Feature

Description

Map the Codex/ product token emitted by the ChatGPT desktop app to ChatGPT through the InApps extension instead of falling back to Electron. This adds the ChatGPT in-app enum and a detection fixture based on a user agent reproduced by the public UAParser.js demo.

OpenAI now brands the desktop application as ChatGPT and describes Codex as a capability within that app: https://learn.chatgpt.com/

Fixes #843.

Test

npm run test completed the build, JSHint, ESLint, and Mocha stages. The local browser stage was not completed.

Impact

No breaking change. Consumers using the InApps extension will receive ChatGPT as the browser name and inapp as its type for matching Codex/ desktop user agents.

Other Info

None.

@wojtekmaj wojtekmaj changed the title feat(inapps): detect Codex desktop app feat(inapps): detect ChatGPT desktop app Aug 31, 2026
@faisalman
faisalman merged commit 6151503 into faisalman:master Sep 1, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Identify Codex user agent as ChatGPT desktop app

2 participants