Skip to content

Fix SDK runtime subpath bundles#6

Merged
notmike101 merged 1 commit into
mainfrom
codex/sdk-package-fix
Jul 21, 2026
Merged

Fix SDK runtime subpath bundles#6
notmike101 merged 1 commit into
mainfrom
codex/sdk-package-fix

Conversation

@notmike101

Copy link
Copy Markdown
Owner

Summary

  • build each public SDK entrypoint as a self-contained ESM and CommonJS bundle
  • make the main and renderer runtime subpaths executable instead of bare undefined re-exports
  • exercise every subpath in Bun and Node, then bump host and SDK to 0.3.1

Verification

  • bun audit — no vulnerabilities
  • bun install --frozen-lockfile — no changes
  • bun run check — 30 tests, SDK type consumer, Node ESM/CommonJS subpaths, example, native host build
  • isolated npm tarball consumer — Node ESM and CommonJS root/main/renderer/experimental imports passed
  • npm pack ./sdk --dry-run --json — 28 files, SHA-1 ff6536082a3d03e59118316034d08f932c75ba8c
  • release metadata verified for v0.3.1

@notmike101
notmike101 marked this pull request as ready for review July 21, 2026 05:59
@notmike101
notmike101 merged commit a577c5c into main Jul 21, 2026
2 checks passed
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