Skip to content

basalt / http/src / ROUTE_VISIBILITY_BUCKET

Variable: ROUTE_VISIBILITY_BUCKET ​

> const ROUTE_VISIBILITY_BUCKET: "http:route-visibility" = 'http:route-visibility'

Defined in: http/src/route-visibility.ts:11

Metadata bucket where plugins register RouteVisibilityChecks — the side-effect-free companion of their route guards, used by surfaces that LIST routes to a caller (e.g. @basaltkit/mcp's tools/list) to hide the ones the caller statically cannot pass. String-keyed — no package coupling.

Released under the MIT License.