@ai-sdk/policy-opa
1.0.177 · 18 Nov 2026Apache-2.025.7k / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/policy-opa From 1.0.0 to 1.0.177
167 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
1.0.92 – 1.0.17782 releases, nothing new or fixed in the notes
- Fixed
policy-opa: Deny tool execution when OPA returns an unrecognized decision
- Fixed
1.0.83 – 1.0.908 releases, nothing new or fixed in the notes
- New
Allow manual tool approval statuses to include a reason and preserve it across core, model, and UI approval requests. OPA
requires-approvaldecisions now surface their reason to human approvers. UI request chunks serialize the optionalreason, while UI messages retain it asapproval.requestReasonseparately from an approver's responsereason.
- New
1.0.20 – 1.0.7956 releases, nothing new or fixed in the notes
- Fixed
Use own-property checks when resolving per-tool approvals so tool names and approval ids that match inherited object properties (e.g.
constructor,toString,valueOf,__proto__) are treated as unconfigured/absent. - Fixed
wrapMcpTools: per-tool approval functions now fail closed. In the per-tool map form, a per-tool approval function that returns a "no opinion" result (not-applicableorundefined) is now forced through the configured fallback (user-approvalby default), matching the generic-function form. Previously such a result passed through and the tool resolved tonot-applicable, letting it run without an approval request. Static per-tool statuses the caller configured explicitly are unchanged.
- Fixed
1.0.15 – 1.0.184 releases, nothing new or fixed in the notes
- New
Add experimental streaming transcription support for transcription models, including OpenAI
gpt-realtime-whisperand xAI WebSocket STT.
- New
169 internal lines (docs, tests, tooling) left out.
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.