For Codex CLI on Linux

Your pet should work as long as you do.

Keep custom terminal pet animations running beyond three minutes, stop them correctly on completion or interruption, and safely revalidate everything after every Codex update.

curl -fsSL https://raw.githubusercontent.com/Soontosh/codex-pet-patcher/main/install.sh | bash
Automatic lifecycle

One installer. Safe updates.

The launcher follows your installed Codex version rather than replacing it with a permanently frozen build.

01 · DETECT

Exact version and checksum

Every official executable gets a unique validation record. Old patched binaries cannot be reused accidentally.

02 · TEST

Four lifecycle regressions

Long-running, expiration, idle restoration, and interruption behavior must all pass before activation.

03 · ACTIVATE

Atomic and reversible

The patched executable lives outside npm. Official Codex remains available as the immediate fallback.

Fail closed

No blind binary replacement.

If a future Codex release changes the relevant source, fails a test, or exposes different CLI behavior, the patch is rejected automatically.

  • Exact upstream rust-v<version> tag
  • Official and patch SHA-256 matching
  • Identical help and feature output
  • Official Codex used during every new build
  • One-command disable and rollback

Let the animation finish when the task does.

Works with looping custom pet manifests, including community Petdex pets. No character artwork is redistributed.

Read the setup guide