The best way to control Claude Code, Codex and more from any computer or phone

main
ts 10 lines 281 Bytes
Raw
1 /**
2 * @title Context.Reference
3 *
4 * For defining configuration values, feature flags, or any other service that has a default value.
5 */
6 import { Context } from "effect"
7
8 export const FeatureFlag = Context.Reference<boolean>("myapp/FeatureFlag", {
9 defaultValue: () => false
10 })