Skip to content

v0.3.1

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Jun 16:08
1cf578f

New Features

  • Video image inputsai video now accepts --image / -i image inputs from local paths, file:// URLs, http(s):// URLs and data URLs (#57)

Improvements

  • Default output filenames — generated text, image and video files now use response IDs when available and random 8-character IDs otherwise, replacing generic output.* filenames (#59)
  • Agent setup cleanup — removed outdated opensrc references from local agent configuration (#58)

Contributors

New Features

  • Reference image inputsai image and ai text now accept repeatable --image references from local paths, file:// URLs, http(s):// URLs and data URLs
  • Vision stdin detectionai text can distinguish piped image bytes from piped text, enabling image prompts from stdin without treating binary data as prompt text

Contributors

Bug Fixes

  • Published CLI binary — packages ai as a Node-targeted dist/index.js bundle and points npm's bin/files metadata at dist, fixing global installs that could not execute the TypeScript source (#52)

Improvements

  • Node engine requirement — declares and documents the Node.js 20+ runtime requirement for the CLI package (#52)

Contributors

New Features

  • Dynamic model discovery — replaced hardcoded fallback model lists with live fetches from the AI Gateway API, so new models are available immediately without a CLI update (#48)
  • Model capabilities & metadataai models now shows creator, capabilities, and pricing info for each model (#48)
  • Language-image model routing — language models tagged with image-generation (e.g. Gemini) are automatically detected and routed through generateText instead of generateImage (#48)
  • Stdin image support for language-image models — piping an image via stdin to a language-based image model now correctly passes the image data via the messages API (#48)

Improvements

  • --provider renamed to --creator — aligns with the AI Gateway's creator/model-name convention and reserves --provider for future multi-provider support (#48)
  • Deduplicated --json outputai models --json now returns a flat array where each model appears once with all its capabilities (#48)
  • Gateway fetch resilience — failed gateway fetches are no longer permanently cached, so retries work correctly; requests time out after 5 seconds (#48)
  • Documentation overhaul — filled gaps across README, web docs, and added a SKILL.md for agent integration (#42)
  • Favicon & OG images — added favicon and Open Graph image generation to the web app (#40)
  • OG card refresh — updated OG card to match the portless design and removed outdated tagline (#41)

Bug Fixes

  • Mobile responsive overflow — fixed layout overflow on the landing page for mobile viewports (#47)

Breaking Changes

  • ai completions removed — the shell completions command has been removed (#48)
  • --provider flag renamed to --creator — update any scripts using --provider to use --creator instead (#48)

Contributors

Improvements

  • npm README — replaced symlink with a real file so the README renders correctly on the npm registry (#38)

Contributors