/** * Every environment variable Testeiya reads, in one list. `testeiya --help` * prints it and `testeiya/pipeline` exports it, so a host that starts runs (the * Hub, a CI template) sees the same variables the CLI does. A test fails when * the source reads a variable that is not here. * * Variables a CI job sets on its own (`GITHUB_HEAD_REF`, `CI_MERGE_REQUEST_*`, * `BITBUCKET_*`, …) are not listed: nobody sets them by hand. * * No Node imports: this ships to a Worker and a browser with the pipeline entry. */ export declare const ENVIRONMENT_VARIABLES: readonly [{ readonly name: "TESTEIYA_MODEL"; readonly group: "run"; readonly flag: "--model"; readonly description: "model to run, e.g. openrouter/anthropic/claude-sonnet-5"; }, { readonly name: "TESTEIYA_DECISION_MODEL"; readonly group: "run"; readonly flag: "--model"; readonly description: "decision model decide asks, e.g. openrouter/cloudflare/clef"; }, { readonly name: "TESTEIYA_FOLLOW_UP"; readonly group: "run"; readonly flag: "--followup"; readonly description: "the user's reply; an empty value is ignored"; }, { readonly name: "TESTEIYA_THREAD"; readonly group: "run"; readonly flag: "--thread"; readonly description: "which conversation this is, for posted comments"; }, { readonly name: "TESTEIYA_SESSION_FILE"; readonly group: "run"; readonly flag: "--session-file"; readonly description: "where to keep the session"; }, { readonly name: "TESTEIYA_NO_DEFAULT_FOOTER"; readonly group: "run"; readonly flag: "--no-default-footer"; readonly description: "do not sign the report"; }, { readonly name: "TESTEIYA_MCP_SERVERS"; readonly group: "mcp"; readonly flag: "--mcp"; readonly secret: true; readonly description: "extra MCP servers as JSON, {\"\": {\"url\": \"…\", \"headers\": {…}}}; not read from a checkout .env"; }, { readonly name: "TESTEIYA_MODELS_JSON"; readonly group: "provider"; readonly description: "path to a pi models.json, to point providers at a proxy"; }, { readonly name: "OPENROUTER_API_KEY"; readonly group: "provider"; readonly secret: true; readonly description: "OpenRouter key"; }, { readonly name: "ANTHROPIC_API_KEY"; readonly group: "provider"; readonly secret: true; readonly description: "Anthropic key"; }, { readonly name: "OPENAI_API_KEY"; readonly group: "provider"; readonly secret: true; readonly description: "OpenAI key"; }, { readonly name: "GEMINI_API_KEY"; readonly group: "provider"; readonly secret: true; readonly description: "Google Gemini key"; }, { readonly name: "TYPESAFE_API_KEY"; readonly group: "provider"; readonly secret: true; readonly description: "TypeSafe key, for Jev"; }, { readonly name: "CLOUDFLARE_API_KEY"; readonly group: "provider"; readonly secret: true; readonly description: "Cloudflare AI Gateway or Workers AI key"; }, { readonly name: "TESTOMATIO"; readonly group: "testomatio"; readonly secret: true; readonly description: "Testomat.io project API key"; }, { readonly name: "TESTOMATIO_PROJECT_ID"; readonly group: "testomatio"; readonly flag: "--project"; readonly description: "Testomat.io project id, turns on its MCP tools"; }, { readonly name: "TESTOMATIO_URL"; readonly group: "testomatio"; readonly description: "Testomat.io base url, for self-hosted"; }, { readonly name: "LANGFUSE_PUBLIC_KEY"; readonly group: "tracing"; readonly description: "Langfuse public key, turns tracing on with the secret key"; }, { readonly name: "LANGFUSE_SECRET_KEY"; readonly group: "tracing"; readonly secret: true; readonly description: "Langfuse secret key"; }, { readonly name: "LANGFUSE_BASE_URL"; readonly group: "tracing"; readonly description: "Langfuse url, for self-hosted; LANGFUSE_BASEURL works too"; }, { readonly name: "BASE_BRANCH"; readonly group: "git"; readonly description: "what a change is compared to when the CI job does not say; origin/main"; }, { readonly name: "GITHUB_TOKEN"; readonly group: "git"; readonly secret: true; readonly description: "install-app only: raises GitHub's download rate limit"; }, { readonly name: "TESTEIYA_PIPELINE_SPAWN"; readonly group: "pipeline"; readonly description: "1 runs each agent stage in its own process"; }]; export type EnvironmentVariableName = (typeof ENVIRONMENT_VARIABLES)[number]["name"]; export interface EnvironmentVariable { name: string; /** What it configures: run, mcp, provider, testomatio, tracing, git, pipeline. */ group: string; description: string; /** The CLI option that sets the same thing, when there is one. */ flag?: string; /** Holds a credential: mask it, never print it. */ secret?: boolean; }