UNPKG

run402-mcp

Version:

MCP server for Run402 — full-stack backend infrastructure for AI agents: Postgres, auth, storage, serverless functions and atomic deploys. Paid with x402/MPP. Includes $0.03 image generation.

19 lines • 934 B
/** * Credential provider interface for the Run402 SDK. * * The SDK's request kernel calls `getAuth` before each request to obtain * signed auth headers, and `getProjectCredentials` to resolve per-project * anon/service keys. All filesystem, environment, and session-state access * lives inside provider implementations — never in the kernel. * * Node consumers use {@link NodeCredentialsProvider} from `@run402/sdk/node` * which wraps the local keystore + wallet. Sandbox consumers supply their * own implementation bound to a session token issued by the supervisor. * * The two required methods (`getAuth`, `getProjectCredentials`) support every API call. * The optional methods let providers opt in to local persistence (keystore * writes, active-project tracking). Namespace methods that need a missing * optional method throw a descriptive error at runtime. */ export {}; //# sourceMappingURL=credentials.js.map