v0.7.3 (AI SDK v5)
Fixed
- Image + prompt argument parsing: Fix bug where using images with
streamTextcaused "No prompt provided via stdin" error. Codex CLI's--imageflag uses greedy argument parsing (num_args = 1..), which consumed the prompt text as an additional image path. Now adds'--'separator before the prompt when images are present to explicitly mark end of flags. (#19)
Note: This release is for AI SDK v5 users. For AI SDK v6, use v1.0.4 or later.
npm install ai-sdk-provider-codex-cli@ai-sdk-v5 ai@^5.0.0