UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

10 lines (9 loc) 784 B
import type { GitHubCredentialProvider, GitHubCredentialRequest, ResolvedGitHubCredentials } from "./config.js"; export declare const SELF_MODIFICATION_GITHUB_TOKEN_ENV = "EVE_SELF_MODIFICATION_GITHUB_TOKEN"; /** Checks PAT availability without returning the credential. */ export declare function hasGitHubCredential(): boolean; /** Constructs the configured provider without resolving a credential. */ export declare function createGitHubCredentialProvider(credentials: ResolvedGitHubCredentials): GitHubCredentialProvider; /** Resolves a PAT GitHub credential without exposing it to authored code. */ export declare function resolveGitHubCredential(request: GitHubCredentialRequest): Promise<string>; export declare const defaultGitHubCredentialProvider: GitHubCredentialProvider;