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

Function getAwsCommandsSources

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

Source from the content-addressed store, hash-verified

137 * Returns an array of file paths that have awsAuthRefresh or awsCredentialExport.
138 */
139export function getAwsCommandsSources(): string[] {
140 const sources: string[] = []
141
142 const projectSettings = getSettingsForSource('projectSettings')
143 if (hasAwsCommands(projectSettings)) {
144 sources.push('.claude/settings.json')
145 }
146
147 const localSettings = getSettingsForSource('localSettings')
148 if (hasAwsCommands(localSettings)) {
149 sources.push('.claude/settings.local.json')
150 }
151
152 return sources
153}
154
155/**
156 * Check if settings have GCP commands configured

Callers 1

TrustDialogFunction · 0.85

Calls 3

getSettingsForSourceFunction · 0.85
hasAwsCommandsFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected