INNER CODE UNIT · JavaScript

invalidateAuthCache

chadbyte/clay · lib/yoke/index.js:333

function invalidateAuthCache() {
  _authCache = null;
  _installedCache = null;
}

/**
 * Create adapters for all authenticated vendors.
 * Claude may be shared across projects, but Codex is instantiated per project
 * so its app-server and bridge stay scoped to a single project slug.
 * Returns { adapters: { vendor: Adapter }, auth: { vendor: boolean } }
 */
var _sharedClaudeAdapter = null;

function createAdapters(opts) {
  opts = opts || {};
  // Gate adapter creation on binary installation, not OAuth auth status.
  // Claude Code supports multiple auth modes (OAuth, Bedrock, Vertex, API key)
  // that `claude auth status` does not always detect. Runtime auth failures are

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…