MCPcopy Create free account
hub / github.com/Noumena-Network/code / getResolvedCapabilities

Function getResolvedCapabilities

src/capabilities/index.ts:31–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 * Cached after first call.
30 */
31export function getResolvedCapabilities(): ReadonlySet<Capability> {
32 if (_resolvedCaps) {
33 return _resolvedCaps
34 }
35 const auth = getAuthProvider()
36 const access = getAccessMode()
37 _resolvedCaps = getCapabilities(BUILD_SPIN, auth, access)
38 return _resolvedCaps
39}
40
41/**
42 * Check if a capability is enabled in the current runtime configuration.

Callers 1

hasCapabilityFunction · 0.85

Calls 3

getAuthProviderFunction · 0.85
getAccessModeFunction · 0.85
getCapabilitiesFunction · 0.85

Tested by

no test coverage detected