Client or integration
Other: OpenCodex CLI (ocx)
Area
Installation or packaging
Summary
When OpenCodex is installed globally with pnpm, ocx update invokes the npm-oriented staging command. The pnpm CLI rejects the forwarded --allow-scripts, --no-audit, and --no-fund options, so the update aborts after the proxy has been stopped. The expected behaviour is for the updater to detect pnpm and use a pnpm-native global update path, or report a safe actionable error before stopping the proxy.
Reproduction
- Install OpenCodex globally with pnpm:
pnpm add -g @bitkyc08/opencodex.
- Use an installed version for which a newer package is available.
- Run
ocx update.
- Observe that the update is redirected to pnpm with npm-only flags and fails with unknown-option errors.
Version
2.46.0
Operating system
Ubuntu Linux on arm64 (exact distro release not recorded)
Provider and model
N/A, this is an installation and packaging issue.
Logs or error output
[npm-guard] global 'install' -> pnpm add -g --allow-scripts=bun --no-audit --no-fund @bitkyc08/opencodex@...
[ERROR] Unknown options: 'allow-scripts', 'audit', 'fund'
Screenshots and supporting files
None.
Redacted configuration
No configuration is required to reproduce this beyond a global pnpm installation.
Checks
Client or integration
Other: OpenCodex CLI (
ocx)Area
Installation or packaging
Summary
When OpenCodex is installed globally with pnpm,
ocx updateinvokes the npm-oriented staging command. The pnpm CLI rejects the forwarded--allow-scripts,--no-audit, and--no-fundoptions, so the update aborts after the proxy has been stopped. The expected behaviour is for the updater to detect pnpm and use a pnpm-native global update path, or report a safe actionable error before stopping the proxy.Reproduction
pnpm add -g @bitkyc08/opencodex.ocx update.Version
2.46.0
Operating system
Ubuntu Linux on arm64 (exact distro release not recorded)
Provider and model
N/A, this is an installation and packaging issue.
Logs or error output
Screenshots and supporting files
None.
Redacted configuration
No configuration is required to reproduce this beyond a global pnpm installation.
Checks