@oss-autopilot/core - v1.6.3
    Preparing search index...

    Function getGitHubTokenAsync

    • Asynchronous version of getGitHubToken.

      Uses execFile (non-blocking) instead of execFileSync to avoid blocking the event loop during CLI cold start. Shares the same cache as the synchronous version, so a successful async fetch makes subsequent sync calls instant.

      Returns Promise<string | null>

      The GitHub token string, or null if no token is available

      const token = await getGitHubTokenAsync();
      if (token) {
      // use token for API calls
      }