fix(types)!: remove unused sessionStore/messageBroker options, export AllowedOrigins #277
All Vouch review confidence checks passed
Residual risk 0.09 = Change Risk (0.29) × (1 − Review Confidence (0.68)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.29 · 20 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.182
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
2 items
Approved
good we marked it as a semver major 👍🏼
rozzilla
mcollina
Summary
MCPPluginOptionsdeclaredsessionStore?: 'memory' | 'redis'andmessageBroker?: 'memory' | 'redis', but nothing insrc/read them. Backends are chosen only fromopts.redis, sosessionStore: 'redis'withoutrediswas silently ignored.MCPPluginOptions(src/types.ts).AllowedOriginstype (the type ofMCPPluginOptions.allowedOrigins) from the package entry.AllowedOriginsis importable and matchesMCPPluginOptions['allowedOrigins'].README and CLAUDE.md did not mention these options, so no doc changes were needed.
Breaking change
sessionStoreandmessageBrokerare no longer accepted byMCPPluginOptions. TypeScript code that passes them will fail to compile. Runtime behaviour does not change because the options were never read. Remove them, and setredisto use the Redis session store and message broker.Fixes #266
🤖 Generated with Claude Code
https://claude.ai/code/session_01UF4S3w7iA83V9DVsasLJzM