Skip to content

Commit ab9ad93

Browse files
ci: Version Packages
1 parent efe3b07 commit ab9ad93

6 files changed

Lines changed: 17 additions & 14 deletions

File tree

.changeset/openrouter-video-adapter.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/perplexity-search.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/ai-openrouter/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @tanstack/ai-openrouter
22

3+
## 0.17.0
4+
5+
### Minor Changes
6+
7+
- [#740](https://github.com/TanStack/ai/pull/740) [`efe3b07`](https://github.com/TanStack/ai/commit/efe3b07688a29960a4b3e25c44219a253bb75a00) - Add `openRouterVideo`, a video generation adapter for OpenRouter's dedicated async API (`POST /api/v1/videos`) — Seedance, Veo 3.1, Wan, Kling, and Sora 2 Pro through one API key. Follows the jobs/polling architecture (`generateVideo()` → `getVideoJobStatus()`), with per-model `size` / `duration` / provider-option types generated from OpenRouter's `GET /api/v1/videos/models` metadata and validated before submit. `duration` is typed per model on the shared typed-duration contract — the adapter implements `availableDurations()` and `snapDuration(seconds)` (matching the Veo adapter) to enumerate the valid set and coerce raw UI seconds to the closest supported value. Image-conditioned prompts map `metadata.role` onto the wire: `start_frame` / `end_frame` → `frame_images[]` (`first_frame` / `last_frame`), `reference` / `character` → `input_references[]`; frame roles are validated against each model's `supported_frame_images`. Completed videos are downloaded server-side and returned as `data:` URLs (OpenRouter's download URLs require the API key), and the gateway-reported cost is surfaced as `usage.cost`.
8+
9+
Image adapter fixes from the [#624](https://github.com/TanStack/ai/issues/624) review: requested `size` is now validated (the `WIDTHxHEIGHT` union previously used a Unicode `×`, so every size except `1024x1024` silently dropped its aspect ratio; unsupported sizes now throw with the supported list), `numberOfImages > 1` throws instead of silently returning one image (verified live: the gateway ignores all count keys in `image_config`), and `image_config.strength` (0.0–1.0 image-to-image influence) is exposed via `modelOptions.strength`.
10+
311
## 0.16.1
412

513
### Patch Changes

packages/ai-openrouter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tanstack/ai-openrouter",
3-
"version": "0.16.1",
3+
"version": "0.17.0",
44
"description": "TanStack AI adapter for OpenRouter chat, provider tools, structured outputs, and access to hundreds of LLMs.",
55
"author": "Tanner Linsley",
66
"license": "MIT",
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# @tanstack/ai-perplexity
2+
3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- [#516](https://github.com/TanStack/ai/pull/516) [`4d5ec57`](https://github.com/TanStack/ai/commit/4d5ec57ea1e6fc053a6a4b5695c8494bbc468b2e) - Add `@tanstack/ai-perplexity` with a Perplexity Search API client and `perplexitySearchTool`.

packages/ai-perplexity/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tanstack/ai-perplexity",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Perplexity Search API client and tool for TanStack AI",
55
"author": "Tanner Linsley",
66
"license": "MIT",

0 commit comments

Comments
 (0)