Skip to content

v0.6.4

Choose a tag to compare

@github-actions github-actions released this 23 Aug 19:18
· 692 commits to main since this release

The pi extension failed to load on 0.6.3

@cortexkit/pi-openai-auth@0.6.3 did not start at all on current pi, failing with:

Cannot find module '.../pi-ai/dist/compat.js/api/openai-codex-responses'

Pi rewrites pi-ai imports so extensions share its copy of the SDK, and it does that for a fixed set of import paths. This extension used one outside that set, so the rewrite produced a path that does not exist and the extension never loaded.

It now imports through a path pi rewrites correctly, and a test checks every pi-ai import against that set — the compiler cannot catch this, because the import was valid everywhere except inside pi.

Upgrade if you use the pi extension. Nothing else changed, and the OpenCode plugin was unaffected.

Reported by @Qiiks with the resolution traced to the exact line.