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

Function getApiKeyHelperSources

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

Source from the content-addressed store, hash-verified

142 * Returns an array of file paths that have apiKeyHelper.
143 */
144export function getApiKeyHelperSources(): string[] {
145 const sources: string[] = []
146
147 const projectSettings = getSettingsForSource('projectSettings')
148 if (hasApiKeyHelper(projectSettings)) {
149 sources.push('.claude/settings.json')
150 }
151
152 const localSettings = getSettingsForSource('localSettings')
153 if (hasApiKeyHelper(localSettings)) {
154 sources.push('.claude/settings.local.json')
155 }
156
157 return sources
158}
159
160/**
161 * 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