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

Function mergeExperimental

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

Source from the content-addressed store, hash-verified

885}
886
887function mergeExperimental(
888 base: PluginConfig["experimental"],
889 override?: Partial<PluginConfig["experimental"]>,
890): PluginConfig["experimental"] {
891 if (override === undefined) return base
892
893 return {
894 allowSubAgents: override.allowSubAgents ?? base.allowSubAgents,
895 customPrompts: override.customPrompts ?? base.customPrompts,
896 }
897}
898
899function deepCloneConfig(config: PluginConfig): PluginConfig {
900 return {

Callers 1

mergeLayerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected