A terminal-first Go application that reads Codex update manifests, resolves a package for Windows or macOS, and verifies a local package before you use it.
Requirements are Go 1.22 or newer and a supported Windows or macOS target.
go build -o codex-unpacker .
./codex-unpacker probe
./codex-unpacker inspect ./package.msixThe interactive interface starts when no subcommand is supplied. The probe command reads the update manifest and resolves a platform and architecture. The download command saves a package to the selected output path and verifies it. The inspect command checks an existing MSIX or DMG without downloading it.
./codex-unpacker probe --platform macos --arch arm64
./codex-unpacker download --platform macos --arch arm64 --output ./Downloads
./codex-unpacker inspect ./Codex.dmgUse --help for the current flags. Download history is stored in data/latest.json.
go test ./...
GOOS=windows GOARCH=amd64 go test -cThe application reads update metadata and package bytes over HTTPS. Review the resolved target and checksum before using a downloaded package.