release: consume standalone zsh artifacts

This commit is contained in:
Michael Bolin
2026-06-25 13:28:14 -07:00
parent 5185180544
commit 0b9345fc8d
6 changed files with 111 additions and 22 deletions

View File

@@ -90,6 +90,14 @@ def parse_args() -> argparse.Namespace:
"targets, bwrap is built with Cargo."
),
)
parser.add_argument(
"--zsh-manifest",
type=Path,
help=(
"Optional DotSlash manifest for the patched zsh fork instead of "
"scripts/codex_package/codex-zsh."
),
)
parser.add_argument(
"--codex-command-runner-bin",
type=Path,
@@ -160,7 +168,7 @@ def main() -> int:
inputs = PackageInputs(
entrypoint_bin=source_outputs.entrypoint_bin,
rg_bin=resolve_rg_bin(spec, args.rg_bin),
zsh_bin=resolve_zsh_bin(spec),
zsh_bin=resolve_zsh_bin(spec, args.zsh_manifest),
bwrap_bin=source_outputs.bwrap_bin,
codex_command_runner_bin=source_outputs.codex_command_runner_bin,
codex_windows_sandbox_setup_bin=source_outputs.codex_windows_sandbox_setup_bin,