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

Function getInvalidConfigKeys

lib/config.ts:157–160  ·  view source on GitHub ↗
(userConfig: Record<string, any>)

Source from the content-addressed store, hash-verified

155}
156
157export function getInvalidConfigKeys(userConfig: Record<string, any>): string[] {
158 const userKeys = getConfigKeyPaths(userConfig)
159 return userKeys.filter((key) => !VALID_CONFIG_KEYS.has(key))
160}
161
162interface ValidationError {
163 key: string

Callers 1

showConfigWarningsFunction · 0.85

Calls 1

getConfigKeyPathsFunction · 0.85

Tested by

no test coverage detected