MCPcopy
hub / github.com/coder/mux / isIncompatibleRuntimeConfig

Function isIncompatibleRuntimeConfig

src/common/utils/runtimeCompatibility.ts:25–31  ·  view source on GitHub ↗
(config: RuntimeConfig | undefined)

Source from the content-addressed store, hash-verified

23 * - "docker": Docker container runtime
24 */
25export function isIncompatibleRuntimeConfig(config: RuntimeConfig | undefined): boolean {
26 if (!config) {
27 return false;
28 }
29 // Unknown type from a future version
30 return !RuntimeModeSchema.safeParse(config.type).success;
31}

Callers 3

addPathsToMetadataMethod · 0.90
createRuntimeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected