Skip to content

Release Shield 2.1.0 with AI SDK inspection tool - #2

Merged
x1xhlol merged 1 commit into
masterfrom
feat/ai-sdk-registry
Oct 4, 2026
Merged

x1xhlol merged 1 commit into
masterfrom
feat/ai-sdk-registry

Conversation

@x1xhlol

@x1xhlol x1xhlol commented Oct 4, 2026

Copy link
Copy Markdown
Member

Adds shieldCheck at @zeroleaks/shield/ai-sdk/tools for AI SDK 5, 6, and 7. Detection stays local unless hosted detection is explicitly configured. Invalid and oversized input, incomplete hosted coverage, hosted failures, and cancellation reject without producing a verdict. Results omit input text and matching patterns; the optional ai import stays confined to the new subpath.

Prepares version 2.1.0, README/changelog, and an upstream registry entry and issue draft. The verified example pairs the tool with middleware, and the integration guide explains enforcement and error-handling limits. No issue or PR is submitted to vercel/ai.

Validation: 1,263 Shield tests passed (2 existing optional model tests skipped), typecheck and build passed. Isolated packed-package consumers passed generation, streaming, malformed input, hosted errors, middleware gating, and strict ESM/CommonJS types on SDK 5.0.267, 6.0.292, and 7.0.127. The exact registry snippet passed a mocked two-step Gateway roundtrip. Root and middleware imports pass without optional SDKs. These checks run in CI and before npm publication.

The public guide is prepared in ZeroLeaks app PR #229 and deploys after that repository's required review. This release will use the existing npm trusted-publishing workflow.

@x1xhlol
x1xhlol merged commit 01e8a82 into master Oct 4, 2026
1 check passed
@x1xhlol
x1xhlol deleted the feat/ai-sdk-registry branch October 4, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant