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

Function readCredentials

src/bridge/trustedDevice.test.ts:37–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37async function readCredentials(): Promise<Record<string, unknown>> {
38 return JSON.parse(await readFile(credentialsPath(), 'utf8')) as Record<
39 string,
40 unknown
41 >
42}
43
44function setTrustedDeviceGate(enabled: boolean): void {
45 process.env.CLAUDE_INTERNAL_FC_OVERRIDES = JSON.stringify({

Callers 1

Calls 2

readFileFunction · 0.85
credentialsPathFunction · 0.85

Tested by

no test coverage detected