MCPcopy Create free account
hub / github.com/anomalyco/opencode / runtime-flags.ts

File runtime-flags.ts

packages/opencode/src/effect/runtime-flags.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Config, ConfigProvider, Context, Effect, Layer, Option } from "effect"
2import { ConfigService } from "@/effect/config-service"
3
4const bool = (name: string) => Config.boolean(name).pipe(Config.withDefault(false))

Callers

nothing calls this directly

Calls 3

boolFunction · 0.85
layerMethod · 0.45
makeMethod · 0.45

Tested by

no test coverage detected