feat: split SDKs by target for NPM

This commit is contained in:
jif-oai
2026-02-11 19:39:26 +00:00
parent b4ffb2eb58
commit 7df70d6500
6 changed files with 159 additions and 14 deletions

View File

@@ -18,6 +18,11 @@ When `--package codex` is provided, the staging helper builds the lightweight
`@openai/codex` meta package plus all platform-native `@openai/codex` variants
that are later published under platform-specific dist-tags.
When `--package codex-sdk` is provided, the staging helper now follows the same
pattern: it builds a lightweight `@openai/codex-sdk` meta package plus
platform-native `@openai/codex-sdk` variants published under platform-specific
dist-tags.
If you need to invoke `build_npm_package.py` directly, run
`codex-cli/scripts/install_native_deps.py` first and pass `--vendor-src` pointing to the
directory that contains the populated `vendor/` tree.