donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
85 lines • 3.21 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ENV_VAR_NAMES = void 0;
/**
* This is the set of environment variable names that Donobu may use.
*/
exports.ENV_VAR_NAMES = {
/**
* Set to a truthy value to install and use Playwright browsers in the
* Donobu application library directory.
*/
USE_PACKAGED_PLAYWRIGHT_BROWSERS: 'USE_PACKAGED_PLAYWRIGHT_BROWSERS',
/**
* Overrides the effective working/persistence directory.
*/
BASE_WORKING_DIR: 'BASE_WORKING_DIR',
/**
* The API key to use for the BrowserBase API.
*/
BROWSERBASE_API_KEY: 'BROWSERBASE_API_KEY',
/**
* The project ID to use for the BrowserBase API.
*/
BROWSERBASE_PROJECT_ID: 'BROWSERBASE_PROJECT_ID',
/**
* The deployment environment for this application.
*
* If this is set to "DONOBU_HOSTED_MULTI_TENANT" then the
* SUPABASE_JWT_SECRET_KEY environment variable must also be set.
*/
DONOBU_DEPLOYMENT_ENVIRONMENT: 'DONOBU_DEPLOYMENT_ENVIRONMENT',
/**
* Automatically create GPT configurations for Anthropic using this API key.
* For convenience, the created configuration names will reflect the
* underlying models they map to (ex: "claude-3-7-sonnet-latest", etc).
*/
ANTHROPIC_API_KEY: 'ANTHROPIC_API_KEY',
/**
* Automatically create GPT configurations for Google Gemini using this API key.
* For convenience, the created configuration names will reflect the
* underlying models they map to (ex: "gemini-2.0-flash", etc).
*/
GOOGLE_GENERATIVE_AI_API_KEY: 'GOOGLE_GENERATIVE_AI_API_KEY',
/**
* Automatically create GPT configurations for OpenAI using this API key.
* For convenience, the created configuration names will reflect the
* underlying models they map to (ex: "gpt-4o", etc).
*/
OPENAI_API_KEY: 'OPENAI_API_KEY',
/**
* Automatically set the 'flow-runner' agent to use this GPT configuration by name.
*/
DEFAULT_FLOW_RUNNER_GPT_CONFIG_NAME: 'DEFAULT_FLOW_RUNNER_GPT_CONFIG_NAME',
/**
* Directs Donobu flows to be persisted using this AWS S3 bucket. Takes
* priority over GOOGLE_CLOUD_STORAGE_BUCKET being specified.
*/
AWS_S3_BUCKET: 'AWS_S3_BUCKET',
/**
* The AWS S3 region the corresponding AWS_S3_BUCKET lives in.
*/
AWS_S3_REGION: 'AWS_S3_REGION',
/**
* The AWS access key ID to use for operations using the AWS SDK.
*/
AWS_ACCESS_KEY_ID: 'AWS_ACCESS_KEY_ID',
/**
* The AWS access key to use for operations using the AWS SDK.
*/
AWS_SECRET_ACCESS_KEY: 'AWS_SECRET_ACCESS_KEY',
/**
* Directs Donobu flows to be persisted using this Google Cloud Storage
* bucket.
*/
GOOGLE_CLOUD_STORAGE_BUCKET: 'GOOGLE_CLOUD_STORAGE_BUCKET',
/**
* Directs Donobu flows to be persisted using Supabase using this key.
*
* This environment variable MUST be specified if the
* DONOBU_DEPLOYMENT_ENVIRONMENT environment variable is set to
* "DONOBU_HOSTED_MULTI_TENANT".
*/
SUPABASE_JWT_SECRET_KEY: 'SUPABASE_JWT_SECRET_KEY',
};
//# sourceMappingURL=envVars.js.map