MCPcopy Index your code
hub / github.com/codeaashu/claude-code / filterSettingsEnv

Function filterSettingsEnv

src/utils/managedEnv.ts:85–91  ·  view source on GitHub ↗

* Compose the strip filters applied to every settings-sourced env object.

(
  env: Record<string, string> | undefined,
)

Source from the content-addressed store, hash-verified

83 * Compose the strip filters applied to every settings-sourced env object.
84 */
85function filterSettingsEnv(
86 env: Record<string, string> | undefined,
87): Record<string, string> {
88 return withoutCcdSpawnEnvKeys(
89 withoutHostManagedProviderVars(withoutSSHTunnelVars(env)),
90 )
91}
92
93/**
94 * Trusted setting sources whose env vars can be applied before the trust dialog.

Calls 3

withoutCcdSpawnEnvKeysFunction · 0.85
withoutSSHTunnelVarsFunction · 0.85

Tested by

no test coverage detected