Skip to content

feat(codex): bundle Codex CLI with CSGClaw - #435

Open
GatewayJ wants to merge 2 commits into
OpenCSGs:mainfrom
GatewayJ:feat/bundled-codex-cli
Open

feat(codex): bundle Codex CLI with CSGClaw#435
GatewayJ wants to merge 2 commits into
OpenCSGs:mainfrom
GatewayJ:feat/bundled-codex-cli

Conversation

@GatewayJ

@GatewayJ GatewayJ commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bundle the matching Codex CLI into CLI, Desktop backend, and Docker release artifacts.
  • Resolve Codex only from the real CSGClaw bundle directory; a host Codex beside a launcher symlink cannot override it.
  • Reject upgrade bundles whose required Codex binary is not executable, while retaining Windows .exe handling.
  • Remove the obsolete Windows .cmd/.bat shim path and launch the bundled native executable directly.

Validation

  • Targeted Go tests for Codex, upgrade, runtime wiring, Codex runtime, PicoClaw/OpenClaw sandbox runtimes, BoxLite, Docker, API, CLI serve, and CLI upgrade.
  • Cross-compiled internal/codexcli for Windows amd64 and macOS arm64.
  • Built the Docker image and verified bundled Codex (codex-cli 0.144.1), its symlink, and CSGClaw startup.
  • validate-pr-message passed.

Impact

  • Codex app-server runs on the host from the CSGClaw bundle. PicoClaw/OpenClaw sandbox data flow remains separate and mounts only csgclaw-cli.
  • User-installed Codex and sandbox-provider fallback behavior are not used by the Codex runtime.

Notes

  • Keep as Draft pending broader review.

@GatewayJ
GatewayJ marked this pull request as ready for review August 4, 2026 08:56
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.

1 participant