Packages

ai

7.0.176 · 17 Nov 2026Apache-2.048.5M / weekRepositoryHomepagenpmAtom feed

Your version

7.0.113

23 Sep 2026Where it was published

7.0.181 is the newest release of 7.x.

In short

1 new6 fixed2 internal

Release note

The section about ai of a note shared by several packages.

Patch Changes

  • ai: Route completed streamed tool input callbacks to repaired tools

  • ai: Preserve video models from legacy fallback providers

  • Fix Google embedMany calls with more than 100 values by keeping per-value multimodal content aligned across automatic batches, including text-only entries. Validate content length before sending requests and validate each batch's provider options after middleware transforms them.

  • ai: Resume tool approvals from earlier messages

  • ai: Execute manually approved tool inputs produced by schema transforms

    Preserve approved inputs during revalidation and reject histories whose reconstructed schema output differs, including signed approvals with missing original input. Validate transformed UI tool inputs against the reconstructed output before returning them as static tool parts.

  • Add Gemini 3.8 TTS support with structured speech metadata and per-turn speaker and style controls for prebuilt voices. Preserve native WAV responses without adding a second header, support explicit raw PCM, mu-law, and A-law output, and identify headerless audio formats correctly. Add the Gemini 3.8 speech model IDs to Google and Gateway types.

    Share transcript and custom-voice inspection through the Google provider internal export, and reject empty speech transcripts before sending a request. Default newer and custom model IDs to structured speech while preserving the legacy format for Gemini 2.5 and 3.1.

  • ai: Preserve message history for direct transport stream callbacks

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.