MCPcopy
hub / github.com/claude-code-best/claude-code / getApiKeyHelperSources

Function getApiKeyHelperSources

src/components/TrustDialog/utils.ts:112–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110 * Returns an array of file paths that have apiKeyHelper.
111 */
112export function getApiKeyHelperSources(): string[] {
113 const sources: string[] = []
114
115 const projectSettings = getSettingsForSource('projectSettings')
116 if (hasApiKeyHelper(projectSettings)) {
117 sources.push('.claude/settings.json')
118 }
119
120 const localSettings = getSettingsForSource('localSettings')
121 if (hasApiKeyHelper(localSettings)) {
122 sources.push('.claude/settings.local.json')
123 }
124
125 return sources
126}
127
128/**
129 * Check if settings have AWS commands configured

Callers 1

TrustDialogFunction · 0.85

Calls 3

getSettingsForSourceFunction · 0.85
hasApiKeyHelperFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected