chore(sdk): bump @governs-ai/sdk alpha.12 -> alpha.14#10
Merged
Shaivpidadi merged 1 commit intodevfrom Apr 23, 2026
Merged
Conversation
SDK alpha.14 removed "block" from the Decision union (redundant with "deny"). Reconciled local usages: - src/lib/types.ts: Decision = allow | deny | redact | confirm. Updated isValidDecision guard to match. - src/components/DecisionBadge.tsx: removed duplicate "block" style entry (identical to existing "deny" rose-red styling). - src/components/Message.tsx: isBlocked now checks "deny". - src/components/Chat.tsx: counts record keyed by Decision; normalizer drops the legacy deny->block rewrite; decisionBadgeStyle uses "deny". - src/app/advanced-demo/page.tsx, src/app/api/chat/route.ts, src/app/api/mcp/route.ts: comparisons narrowed to === 'deny'. - src/lib/precheck.ts: mock/error returns set decision: 'deny'. Refs: GOV-380
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps
@governs-ai/sdkfrom1.0.0-alpha.12to1.0.0-alpha.14(published earlier today).Alpha.14 removed
"block"from theDecisionunion (redundant with"deny"— both mean "request denied"). Reconciled local usages across components, API routes, and the precheck wrapper. Behavior is identical: anything that wasdecision === 'block'now checksdecision === 'deny'.Type-check
pnpm run type-checkpasses clean.GovernsAI Tracker issue
GOV-380
Reviewers
Tagging Nexus (code quality) and Cipher (security/arch) — both approvals required.
Test plan