MCPcopy Index your code
hub / github.com/anomalyco/opencode / runTuiConfig

Function runTuiConfig

packages/opencode/src/cli/cmd/run/runtime.boot.ts:76–86  ·  view source on GitHub ↗
(config: Config | undefined)

Source from the content-addressed store, hash-verified

74}
75
76function runTuiConfig(config: Config | undefined): RunTuiConfig {
77 if (!config) {
78 return defaultRunTuiConfig()
79 }
80
81 return {
82 keybinds: config.keybinds,
83 leader_timeout: config.leader_timeout,
84 diff_style: config.diff_style ?? "auto",
85 }
86}
87
88const layer = Layer.effect(
89 Service,

Callers 1

runtime.boot.tsFile · 0.85

Calls 1

defaultRunTuiConfigFunction · 0.85

Tested by

no test coverage detected