Releases: TanStack/ai
Release list
@tanstack/ai@0.44.1
@tanstack/ai-persistence@0.1.4
@tanstack/ai-perplexity@0.2.0
@tanstack/ai-openrouter@0.17.0
Minor Changes
-
#740
efe3b07- AddopenRouterVideo, 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-modelsize/duration/ provider-option types generated from OpenRouter'sGET /api/v1/videos/modelsmetadata and validated before submit.durationis typed per model on the shared typed-duration contract — the adapter implementsavailableDurations()andsnapDuration(seconds)(matching the Veo adapter) to enumerate the valid set and coerce raw UI seconds to the closest supported value. Image-conditioned prompts mapmetadata.roleonto the wire:start_frame/end_frame→frame_images[](first_frame/last_frame),reference/character→input_references[]; frame roles are validated against each model'ssupported_frame_images. Completed videos are downloaded server-side and returned asdata:URLs (OpenRouter's download URLs require the API key), and the gateway-reported cost is surfaced asusage.cost.Image adapter fixes from the #624 review: requested
sizeis now validated (theWIDTHxHEIGHTunion previously used a Unicode×, so every size except1024x1024silently dropped its aspect ratio; unsupported sizes now throw with the supported list),numberOfImages > 1throws instead of silently returning one image (verified live: the gateway ignores all count keys inimage_config), andimage_config.strength(0.0–1.0 image-to-image influence) is exposed viamodelOptions.strength.
Patch Changes
@tanstack/ai-isolate-quickjs@0.3.0
@tanstack/ai-gemini@0.23.0
@tanstack/ai-vercel-gateway@0.1.0
@tanstack/ai-sandbox@0.3.2
Patch Changes
-
#1094
d5bdc36- fix: make default Daytona + Grok/Codex sandbox runs work without extra wrappersHeadless Grok and Codex stay permissive when policy is deny-only plus default allow. Daytona remaps
/workspace, starts stopped sandboxes on resume, keeps secrets out of create-time envVars and command strings, and uses native fs/git plus session stdin. Nested skills project by name. Durable Grok journals when durability is wired. -
#1079
9424acd- AddsbxSandbox()for Docker Sandboxes microVMs, and optionaladapterNameon sandbox ensure/create so network policy can allow the model API host.
@tanstack/ai-sandbox-docker@0.3.0
@tanstack/ai-sandbox-daytona@0.3.0
Minor Changes
-
#1094
d5bdc36- fix: make default Daytona + Grok/Codex sandbox runs work without extra wrappersHeadless Grok and Codex stay permissive when policy is deny-only plus default allow. Daytona remaps
/workspace, starts stopped sandboxes on resume, keeps secrets out of create-time envVars and command strings, and uses native fs/git plus session stdin. Nested skills project by name. Durable Grok journals when durability is wired.