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 • 1.13 kB
JavaScript
/** Types and constants for GitHub Actions OIDC federation (`/ci/v1/*`). */
export const CI_GITHUB_ACTIONS_PROVIDER = "github-actions";
export const CI_GITHUB_ACTIONS_ISSUER = "https://token.actions.githubusercontent.com";
export const CI_AUDIENCE = "https://api.run402.com";
export const DEFAULT_CI_DELEGATION_CHAIN_ID = "eip155:84532";
export const V1_CI_ALLOWED_ACTIONS = ["deploy"];
export const V1_CI_ALLOWED_EVENTS_DEFAULT = ["push", "workflow_dispatch"];
/**
* The token-exchange `error` value the gateway returns (HTTP 403) when a
* subject-matching CI/OIDC binding EXISTS but was revoked — most often because
* the project was transferred or handed to a new owner (a transfer suspends the
* prior org's CI bindings). Distinct from `access_denied`, which means no
* binding ever matched. The canonical envelope `code` is the generic
* `FORBIDDEN` for both, so this `error`-field value is the only discriminator;
* use {@link isCiBindingRevoked} to branch on it. Re-create the binding with
* `run402 ci link github`.
*/
export const CI_BINDING_REVOKED_ERROR = "binding_revoked";
//# sourceMappingURL=ci.types.js.map