MCPcopy Index your code
hub / github.com/AutoMaker-Org/automaker / getOpenCodeNestedTokens

Function getOpenCodeNestedTokens

libs/platform/src/system-paths.ts:1363–1369  ·  view source on GitHub ↗
(record: Record<string, unknown>)

Source from the content-addressed store, hash-verified

1361] as const;
1362
1363function getOpenCodeNestedTokens(record: Record<string, unknown>): Record<string, unknown> | null {
1364 const tokens = record[OPENCODE_TOKENS_KEY];
1365 if (tokens && typeof tokens === 'object' && !Array.isArray(tokens)) {
1366 return tokens as Record<string, unknown>;
1367 }
1368 return null;
1369}
1370
1371/**
1372 * Check if the auth JSON has provider-specific OAuth credentials

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected