mirror of
https://github.com/openai/codex.git
synced 2026-05-01 09:56:37 +00:00
## Why The VS Code extension and desktop app do not need the full TUI binary, and `codex-app-server` is materially smaller than standalone `codex`. We still want to publish it as an official release artifact, but building it by tacking another `--bin` onto the existing release `cargo build` invocations would lengthen those jobs. This change keeps `codex-app-server` on its own release bundle so it can build in parallel with the existing `codex` and helper bundles. ## What changed - Made `.github/workflows/rust-release.yml` bundle-aware so each macOS and Linux MUSL target now builds either the existing `primary` bundle (`codex` and `codex-responses-api-proxy`) or a standalone `app-server` bundle (`codex-app-server`). - Preserved the historical artifact names for the primary macOS/Linux bundles so `scripts/stage_npm_packages.py` and `codex-cli/scripts/install_native_deps.py` continue to find release assets under the paths they already expect, while giving the new app-server artifacts distinct names. - Added a matching `app-server` bundle to `.github/workflows/rust-release-windows.yml`, and updated the final Windows packaging job to download, sign, stage, and archive `codex-app-server.exe` alongside the existing release binaries. - Generalized the shared signing actions in `.github/actions/linux-code-sign/action.yml`, `.github/actions/macos-code-sign/action.yml`, and `.github/actions/windows-code-sign/action.yml` so each workflow row declares its binaries once and reuses that list for build, signing, and staging. - Added `codex-app-server` to `.github/dotslash-config.json` so releases also publish a generated DotSlash manifest for the standalone app-server binary. - Kept the macOS DMG focused on the existing `primary` bundle; `codex-app-server` ships as the regular standalone archives and DotSlash manifest. ## Verification - Parsed the modified workflow and action YAML files locally with `python3` + `yaml.safe_load(...)`. - Parsed `.github/dotslash-config.json` locally with `python3` + `json.loads(...)`. - Reviewed the resulting release matrices, artifact names, and packaging paths to confirm that `codex-app-server` is built separately on macOS, Linux MUSL, and Windows, while the existing npm staging and Windows `codex` zip bundling contracts remain intact.
113 lines
3.6 KiB
JSON
113 lines
3.6 KiB
JSON
{
|
|
"outputs": {
|
|
"codex": {
|
|
"platforms": {
|
|
"macos-aarch64": {
|
|
"regex": "^codex-aarch64-apple-darwin\\.zst$",
|
|
"path": "codex"
|
|
},
|
|
"macos-x86_64": {
|
|
"regex": "^codex-x86_64-apple-darwin\\.zst$",
|
|
"path": "codex"
|
|
},
|
|
"linux-x86_64": {
|
|
"regex": "^codex-x86_64-unknown-linux-musl\\.zst$",
|
|
"path": "codex"
|
|
},
|
|
"linux-aarch64": {
|
|
"regex": "^codex-aarch64-unknown-linux-musl\\.zst$",
|
|
"path": "codex"
|
|
},
|
|
"windows-x86_64": {
|
|
"regex": "^codex-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex.exe"
|
|
}
|
|
}
|
|
},
|
|
"codex-app-server": {
|
|
"platforms": {
|
|
"macos-aarch64": {
|
|
"regex": "^codex-app-server-aarch64-apple-darwin\\.zst$",
|
|
"path": "codex-app-server"
|
|
},
|
|
"macos-x86_64": {
|
|
"regex": "^codex-app-server-x86_64-apple-darwin\\.zst$",
|
|
"path": "codex-app-server"
|
|
},
|
|
"linux-x86_64": {
|
|
"regex": "^codex-app-server-x86_64-unknown-linux-musl\\.zst$",
|
|
"path": "codex-app-server"
|
|
},
|
|
"linux-aarch64": {
|
|
"regex": "^codex-app-server-aarch64-unknown-linux-musl\\.zst$",
|
|
"path": "codex-app-server"
|
|
},
|
|
"windows-x86_64": {
|
|
"regex": "^codex-app-server-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-app-server.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-app-server-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-app-server.exe"
|
|
}
|
|
}
|
|
},
|
|
"codex-responses-api-proxy": {
|
|
"platforms": {
|
|
"macos-aarch64": {
|
|
"regex": "^codex-responses-api-proxy-aarch64-apple-darwin\\.zst$",
|
|
"path": "codex-responses-api-proxy"
|
|
},
|
|
"macos-x86_64": {
|
|
"regex": "^codex-responses-api-proxy-x86_64-apple-darwin\\.zst$",
|
|
"path": "codex-responses-api-proxy"
|
|
},
|
|
"linux-x86_64": {
|
|
"regex": "^codex-responses-api-proxy-x86_64-unknown-linux-musl\\.zst$",
|
|
"path": "codex-responses-api-proxy"
|
|
},
|
|
"linux-aarch64": {
|
|
"regex": "^codex-responses-api-proxy-aarch64-unknown-linux-musl\\.zst$",
|
|
"path": "codex-responses-api-proxy"
|
|
},
|
|
"windows-x86_64": {
|
|
"regex": "^codex-responses-api-proxy-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-responses-api-proxy.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-responses-api-proxy-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-responses-api-proxy.exe"
|
|
}
|
|
}
|
|
},
|
|
"codex-command-runner": {
|
|
"platforms": {
|
|
"windows-x86_64": {
|
|
"regex": "^codex-command-runner-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-command-runner.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-command-runner-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-command-runner.exe"
|
|
}
|
|
}
|
|
},
|
|
"codex-windows-sandbox-setup": {
|
|
"platforms": {
|
|
"windows-x86_64": {
|
|
"regex": "^codex-windows-sandbox-setup-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-windows-sandbox-setup.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-windows-sandbox-setup-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-windows-sandbox-setup.exe"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|