Fix feature flag checker and add insiders mode support#1920
Merged
omgitsads merged 5 commits intohttp-stack-2from Jan 29, 2026
Merged
Fix feature flag checker and add insiders mode support#1920omgitsads merged 5 commits intohttp-stack-2from
omgitsads merged 5 commits intohttp-stack-2from
Summary
Fixes feature flag checking for STDIO and HTTP modes, and adds insiders mode support for HTTP.
Why
Fixes #
What changed
WithFeatureChecker(featureChecker)in STDIO inventory builderX-MCP-InsidersandX-MCP-Featuresheaders parsing in middleware/insiders,/readonly/insiders,/x/{toolset}/insiders, and/x/{toolset}/readonly/insidersWithInsidersMode/IsInsidersModeandWithHeaderFeatures/GetHeaderFeaturesGetFlagsto now readInsidersModefrom ctxFlagsfield fromRequestDeps/insiders" pattern instead of prependX-MCP-Featuresheader parsingMCP impact