Changelog: @harnessweaver/ai-sdk¶
All notable changes to this package. The format follows Keep a Changelog, and this package uses Semantic Versioning on its own (RULES V1). Versions before 0.2.0 were never published; their Git tags (@harnessweaver/ai-sdk@<version>) mark the commit where each one landed.
[Unreleased]¶
0.2.0 - 2026-11-02¶
The first version published to npm.
Added¶
holdStreamdelivers a stream's parts only once it has finished, so nothing from a declined answer reaches the app.blockEmptyAnswerstreats an answer with no text and no tool calls as declined, for a provider that drops the refusal.
Fixed¶
- An answer with the finish reason
content-filternow throwsModelRefusal, from the call or the stream, and the run endsblockedwith codemodel_refusaland its usage and cost counted. It used to pass as an ordinary answer. Needs@harnessweaver/core0.5.0.
0.1.1 - 2026-11-01¶
Added¶
- The package ships the Apache-2.0
LICENSEin its tarball.
Fixed¶
- The package's README no longer says it isn't published.
0.1.0 - 2026-10-23¶
Added¶
wrapModel(session, model)(andharnessMiddleware) govern AI SDK v7 models: allowed aliases and budgets,model.beforeredactions written back into the prompt,model.afterredactions in the answer, usage and cost, andstream.chunkon each streamed text delta.