github vercel/ai @ai-sdk/policy-opa@1.0.180

latest releases: @ai-sdk/workflow-harness@1.0.191, @ai-sdk/workflow@2.0.112, @ai-sdk/tui@1.0.181...
54 minutes ago

Patch Changes

  • fac1d6a: fix(policy-opa): apply the wrapMcpTools fallback to every OPA evaluation

    With wrapMcpTools(tools, opaPolicy(...), { default: 'denied' }), a tool call that the policy did not match could still become approvable when the evaluation with the earlier tool calls of the same response asked for user approval. The fallback now applies to each evaluation before the decisions are compared, so hard allowlist mode denies such a call.

    • ai@7.0.180

Don't miss a new ai release

NewReleases is sending notifications on new releases.