MCPcopy Create free account
hub / github.com/Noumena-Network/code / getConfiguredApiKeyHelper

Function getConfiguredApiKeyHelper

src/utils/auth.ts:429–435  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

427 * from ~/.claude/settings.json or project settings is ignored.
428 */
429export function getConfiguredApiKeyHelper(): string | undefined {
430 if (isBareMode()) {
431 return getSettingsForSource('flagSettings')?.apiKeyHelper
432 }
433 const mergedSettings = getSettings_DEPRECATED() || {}
434 return mergedSettings.apiKeyHelper
435}
436
437/**
438 * Check if the configured apiKeyHelper comes from project settings (projectSettings or localSettings)

Callers 6

getAuthTokenSourceFunction · 0.85
_executeApiKeyHelperFunction · 0.85

Calls 2

isBareModeFunction · 0.85
getSettingsForSourceFunction · 0.85

Tested by

no test coverage detected