codex - 💡(How to fix) Fix /pet opens overlay/status tray but no pet mascot is visible [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#21065Fetched 2026-05-05 05:53:59
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
1
Author
Timeline (top)
labeled ×3cross-referenced ×2commented ×1
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

26.429.30905 (CFBundleVersion 2345)

What subscription do you have?

ChatGPT Pro

What platform is your computer?

25.3.0 arm64 arm / macOS on Apple Silicon

What issue are you seeing?

<img width="1293" height="1072" alt="Image" src="https://github.com/user-attachments/assets/0d0b269b-3858-46ec-bf3f-4231f7109316" />

When I run /pet in Codex Desktop, it opens the pet/avatar overlay window, but the actual pet mascot is not visible.

What does work:

  • /pet opens a second small Codex overlay window.
  • The activity/status tray renders inside that overlay.
  • The overlay shows current Codex activity/status.

What does not work:

  • No pet/mascot sprite appears anywhere in the overlay.
  • Restarting Codex did not fix it.
  • Loading /pet again does not make the mascot appear.
  • I also have a custom pet installed under ~/.codex/pets/blink, but the issue appears to affect the mascot rendering generally, not only the custom pet.

Observed result: The overlay/status tray appears, but the pet itself is invisible.

Additional local investigation:

  • The Codex app bundle contains built-in pet spritesheets.
  • My custom pet spritesheet validates as a 1536x1872 RGBA WebP atlas.
  • The overlay window exists and has the expected approximate size.
  • A screenshot crop of the expected mascot region contains only the overlay/status UI, not the mascot.
  • The app bundle contains webview/assets/codex-avatar-D82knaKt.css, which defines .codex-avatar-root.
  • That CSS appears to contain the required avatar sizing/background rules:
    • aspect-ratio: 192/208
    • width: 7.04rem
    • background-repeat: no-repeat
    • background-size: 800% 900%
  • However, in this installed bundle, webview/index.html links several CSS files but does not appear to link codex-avatar-D82knaKt.css.
  • avatar-overlay-page-Dj9Zinq_.js imports codex-avatar-BpKnWN_W.js, but that JS chunk does not appear to import the avatar CSS.

Suspected cause: The avatar overlay may be rendering the mascot element without loading codex-avatar-D82knaKt.css, causing .codex-avatar-root to have no effective dimensions/background sizing, so the pet sprite is invisible even though the overlay window and status tray render.

What steps can reproduce the bug?

Uploaded thread: 019df448-6f4e-7ac1-aa62-b7e681236b971. Open Codex Desktop on macOS. 2. Start or open any Codex thread. 3. Run /pet. 4. Observe that a second small Codex overlay/status window opens. 5. Observe that the status/activity tray renders. 6. Look for the pet/mascot in the overlay.

Actual result: Only the activity/status tray is visible. The pet/mascot sprite does not appear.

Expected result: The selected Codex pet/mascot should be visible in the overlay.

This reproduced after restarting Codex.

Uploaded thread: 019df448-6f4e-7ac1-aa62-b7e681236b97

What is the expected behavior?

Running /pet should show the floating Codex pet/avatar mascot on screen, together with any status/activity UI.

The pet should be visible and animated, using either the default selected pet or a custom installed pet if one is selected.

Additional information

I attached a screenshot showing the overlay/status tray visible but no mascot.

Local app details:

  • Codex Desktop version: 26.429.30905
  • CFBundleVersion: 2345
  • Platform: macOS / Apple Silicon
  • uname -mpr: 25.3.0 arm64 arm

I also verified that the overlay window exists separately from the main Codex window. The problem seems to be mascot rendering, not /pet failing to open the overlay.

extent analysis

TL;DR

The issue is likely due to the missing link to codex-avatar-D82knaKt.css in webview/index.html, causing the mascot element to have no effective dimensions or background sizing.

Guidance

  • Verify that codex-avatar-D82knaKt.css is indeed not linked in webview/index.html and that this CSS file is required for mascot rendering.
  • Check if avatar-overlay-page-Dj9Zinq_.js can be modified to import the missing CSS file, potentially by adding an import statement for codex-avatar-D82knaKt.css.
  • Investigate if there's a configuration or build issue that's preventing the CSS file from being included in the webview/index.html.
  • Consider manually adding a link to codex-avatar-D82knaKt.css in webview/index.html as a temporary workaround to test if this resolves the issue.

Notes

The provided information suggests a specific technical cause related to missing CSS styling for the mascot element. However, without direct access to the codebase or the ability to run tests, these steps are based on the information given and may require further investigation or verification.

Recommendation

Apply workaround: Manually add a link to codex-avatar-D82knaKt.css in webview/index.html to test if this resolves the mascot rendering issue, as this directly addresses the suspected cause.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING