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)
Installation (AI SDK v6):
npm install ai-sdk-provider-codex-cli ai@^6.0.0