@ohos-ports/codex
v0.140.0-beta.0
Published
Codex CLI - HarmonyOS compatible, auto-downloads from GitCode
Keywords
Readme
codex
Codex CLI wrapper for HarmonyOS.
When you npm install @ohos-ports/codex, npm automatically downloads the real @openai/codex package (with HarmonyOS native binary) from GitCode as a dependency. This works even with --ignore-scripts because the download happens during dependency resolution, not via lifecycle scripts.
Usage
npm install @ohos-ports/codex
npx codexHow it works
dependenciesfield points directly to the tarball URL on GitCode- npm fetches the tarball as part of normal dependency resolution
- The
bin/codex.jswrapper delegates to@openai/codex/bin/codex.js - No postinstall scripts needed — works with
--ignore-scripts
