MCPcopy Index your code
hub / github.com/Opencode-DCP/opencode-dynamic-context-pruning / mergeManualMode

Function mergeManualMode

lib/config.ts:875–885  ·  view source on GitHub ↗
(
    base: PluginConfig["manualMode"],
    override?: Partial<PluginConfig["manualMode"]>,
)

Source from the content-addressed store, hash-verified

873}
874
875function mergeManualMode(
876 base: PluginConfig["manualMode"],
877 override?: Partial<PluginConfig["manualMode"]>,
878): PluginConfig["manualMode"] {
879 if (override === undefined) return base
880
881 return {
882 enabled: override.enabled ?? base.enabled,
883 automaticStrategies: override.automaticStrategies ?? base.automaticStrategies,
884 }
885}
886
887function mergeExperimental(
888 base: PluginConfig["experimental"],

Callers 1

mergeLayerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected