donobu 2.46.1 → 2.46.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/generated/version +1 -1
- package/dist/envVars.d.ts +140 -57
- package/dist/envVars.d.ts.map +1 -1
- package/dist/envVars.js +42 -55
- package/dist/envVars.js.map +1 -1
- package/dist/esm/assets/generated/version +1 -1
- package/dist/esm/envVars.d.ts +140 -57
- package/dist/esm/envVars.d.ts.map +1 -1
- package/dist/esm/envVars.js +42 -55
- package/dist/esm/envVars.js.map +1 -1
- package/dist/esm/lib/DonobuExtendedPage.d.ts +12 -10
- package/dist/esm/lib/DonobuExtendedPage.d.ts.map +1 -1
- package/dist/esm/lib/PageAi.d.ts +103 -77
- package/dist/esm/lib/PageAi.d.ts.map +1 -1
- package/dist/esm/lib/PageAi.js +152 -272
- package/dist/esm/lib/PageAi.js.map +1 -1
- package/dist/esm/lib/fixtures/gptClients.d.ts +33 -5
- package/dist/esm/lib/fixtures/gptClients.d.ts.map +1 -1
- package/dist/esm/lib/fixtures/gptClients.js +38 -35
- package/dist/esm/lib/fixtures/gptClients.js.map +1 -1
- package/dist/esm/lib/originalGotoRegistry.d.ts +5 -0
- package/dist/esm/lib/originalGotoRegistry.d.ts.map +1 -0
- package/dist/esm/lib/originalGotoRegistry.js +30 -0
- package/dist/esm/lib/originalGotoRegistry.js.map +1 -0
- package/dist/esm/lib/pageAi/cache.d.ts +84 -0
- package/dist/esm/lib/pageAi/cache.d.ts.map +1 -0
- package/dist/esm/lib/pageAi/cache.js +207 -0
- package/dist/esm/lib/pageAi/cache.js.map +1 -0
- package/dist/esm/lib/pageAi/cacheEntryBuilder.d.ts +17 -0
- package/dist/esm/lib/pageAi/cacheEntryBuilder.d.ts.map +1 -0
- package/dist/esm/lib/pageAi/cacheEntryBuilder.js +25 -0
- package/dist/esm/lib/pageAi/cacheEntryBuilder.js.map +1 -0
- package/dist/esm/lib/testExtension.d.ts.map +1 -1
- package/dist/esm/lib/testExtension.js +288 -286
- package/dist/esm/lib/testExtension.js.map +1 -1
- package/dist/esm/lib/utils/donobuTestStack.d.ts +18 -1
- package/dist/esm/lib/utils/donobuTestStack.d.ts.map +1 -1
- package/dist/esm/lib/utils/donobuTestStack.js +3 -3
- package/dist/esm/lib/utils/donobuTestStack.js.map +1 -1
- package/dist/esm/lib/utils/selfHealing.js +2 -2
- package/dist/esm/lib/utils/selfHealing.js.map +1 -1
- package/dist/esm/main.d.ts.map +1 -1
- package/dist/esm/main.js +1 -9
- package/dist/esm/main.js.map +1 -1
- package/dist/esm/managers/AdminApiController.d.ts +3 -1
- package/dist/esm/managers/AdminApiController.d.ts.map +1 -1
- package/dist/esm/managers/AdminApiController.js +8 -13
- package/dist/esm/managers/AdminApiController.js.map +1 -1
- package/dist/esm/managers/AgentsManager.d.ts +3 -1
- package/dist/esm/managers/AgentsManager.d.ts.map +1 -1
- package/dist/esm/managers/AgentsManager.js +4 -5
- package/dist/esm/managers/AgentsManager.js.map +1 -1
- package/dist/esm/managers/CodeGenerator.d.ts +8 -0
- package/dist/esm/managers/CodeGenerator.d.ts.map +1 -1
- package/dist/esm/managers/CodeGenerator.js +104 -1
- package/dist/esm/managers/CodeGenerator.js.map +1 -1
- package/dist/esm/managers/DonobuFlowsManager.d.ts +4 -1
- package/dist/esm/managers/DonobuFlowsManager.d.ts.map +1 -1
- package/dist/esm/managers/DonobuFlowsManager.js +24 -25
- package/dist/esm/managers/DonobuFlowsManager.js.map +1 -1
- package/dist/esm/managers/DonobuStack.d.ts +18 -1
- package/dist/esm/managers/DonobuStack.d.ts.map +1 -1
- package/dist/esm/managers/DonobuStack.js +7 -6
- package/dist/esm/managers/DonobuStack.js.map +1 -1
- package/dist/esm/managers/GptConfigsManager.d.ts +3 -1
- package/dist/esm/managers/GptConfigsManager.d.ts.map +1 -1
- package/dist/esm/managers/GptConfigsManager.js +6 -7
- package/dist/esm/managers/GptConfigsManager.js.map +1 -1
- package/dist/esm/managers/InteractionVisualizer.d.ts.map +1 -1
- package/dist/esm/managers/InteractionVisualizer.js +25 -3
- package/dist/esm/managers/InteractionVisualizer.js.map +1 -1
- package/dist/esm/models/DonobuDeploymentEnvironment.d.ts +7 -5
- package/dist/esm/models/DonobuDeploymentEnvironment.d.ts.map +1 -1
- package/dist/esm/models/DonobuDeploymentEnvironment.js +7 -7
- package/dist/esm/models/DonobuDeploymentEnvironment.js.map +1 -1
- package/dist/esm/persistence/env/EnvPersistenceFactoryImpl.d.ts +5 -3
- package/dist/esm/persistence/env/EnvPersistenceFactoryImpl.d.ts.map +1 -1
- package/dist/esm/persistence/env/EnvPersistenceFactoryImpl.js +11 -15
- package/dist/esm/persistence/env/EnvPersistenceFactoryImpl.js.map +1 -1
- package/dist/esm/persistence/flows/FlowsPersistenceFactoryImpl.d.ts +6 -4
- package/dist/esm/persistence/flows/FlowsPersistenceFactoryImpl.d.ts.map +1 -1
- package/dist/esm/persistence/flows/FlowsPersistenceFactoryImpl.js +14 -19
- package/dist/esm/persistence/flows/FlowsPersistenceFactoryImpl.js.map +1 -1
- package/dist/esm/utils/BrowserUtils.d.ts +6 -1
- package/dist/esm/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/esm/utils/BrowserUtils.js +19 -19
- package/dist/esm/utils/BrowserUtils.js.map +1 -1
- package/dist/esm/utils/MiscUtils.d.ts +5 -1
- package/dist/esm/utils/MiscUtils.d.ts.map +1 -1
- package/dist/esm/utils/MiscUtils.js +4 -4
- package/dist/esm/utils/MiscUtils.js.map +1 -1
- package/dist/lib/DonobuExtendedPage.d.ts +12 -10
- package/dist/lib/DonobuExtendedPage.d.ts.map +1 -1
- package/dist/lib/PageAi.d.ts +103 -77
- package/dist/lib/PageAi.d.ts.map +1 -1
- package/dist/lib/PageAi.js +152 -272
- package/dist/lib/PageAi.js.map +1 -1
- package/dist/lib/fixtures/gptClients.d.ts +33 -5
- package/dist/lib/fixtures/gptClients.d.ts.map +1 -1
- package/dist/lib/fixtures/gptClients.js +38 -35
- package/dist/lib/fixtures/gptClients.js.map +1 -1
- package/dist/lib/originalGotoRegistry.d.ts +5 -0
- package/dist/lib/originalGotoRegistry.d.ts.map +1 -0
- package/dist/lib/originalGotoRegistry.js +30 -0
- package/dist/lib/originalGotoRegistry.js.map +1 -0
- package/dist/lib/pageAi/cache.d.ts +84 -0
- package/dist/lib/pageAi/cache.d.ts.map +1 -0
- package/dist/lib/pageAi/cache.js +207 -0
- package/dist/lib/pageAi/cache.js.map +1 -0
- package/dist/lib/pageAi/cacheEntryBuilder.d.ts +17 -0
- package/dist/lib/pageAi/cacheEntryBuilder.d.ts.map +1 -0
- package/dist/lib/pageAi/cacheEntryBuilder.js +25 -0
- package/dist/lib/pageAi/cacheEntryBuilder.js.map +1 -0
- package/dist/lib/testExtension.d.ts.map +1 -1
- package/dist/lib/testExtension.js +288 -286
- package/dist/lib/testExtension.js.map +1 -1
- package/dist/lib/utils/donobuTestStack.d.ts +18 -1
- package/dist/lib/utils/donobuTestStack.d.ts.map +1 -1
- package/dist/lib/utils/donobuTestStack.js +3 -3
- package/dist/lib/utils/donobuTestStack.js.map +1 -1
- package/dist/lib/utils/selfHealing.js +2 -2
- package/dist/lib/utils/selfHealing.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +1 -9
- package/dist/main.js.map +1 -1
- package/dist/managers/AdminApiController.d.ts +3 -1
- package/dist/managers/AdminApiController.d.ts.map +1 -1
- package/dist/managers/AdminApiController.js +8 -13
- package/dist/managers/AdminApiController.js.map +1 -1
- package/dist/managers/AgentsManager.d.ts +3 -1
- package/dist/managers/AgentsManager.d.ts.map +1 -1
- package/dist/managers/AgentsManager.js +4 -5
- package/dist/managers/AgentsManager.js.map +1 -1
- package/dist/managers/CodeGenerator.d.ts +8 -0
- package/dist/managers/CodeGenerator.d.ts.map +1 -1
- package/dist/managers/CodeGenerator.js +104 -1
- package/dist/managers/CodeGenerator.js.map +1 -1
- package/dist/managers/DonobuFlowsManager.d.ts +4 -1
- package/dist/managers/DonobuFlowsManager.d.ts.map +1 -1
- package/dist/managers/DonobuFlowsManager.js +24 -25
- package/dist/managers/DonobuFlowsManager.js.map +1 -1
- package/dist/managers/DonobuStack.d.ts +18 -1
- package/dist/managers/DonobuStack.d.ts.map +1 -1
- package/dist/managers/DonobuStack.js +7 -6
- package/dist/managers/DonobuStack.js.map +1 -1
- package/dist/managers/GptConfigsManager.d.ts +3 -1
- package/dist/managers/GptConfigsManager.d.ts.map +1 -1
- package/dist/managers/GptConfigsManager.js +6 -7
- package/dist/managers/GptConfigsManager.js.map +1 -1
- package/dist/managers/InteractionVisualizer.d.ts.map +1 -1
- package/dist/managers/InteractionVisualizer.js +25 -3
- package/dist/managers/InteractionVisualizer.js.map +1 -1
- package/dist/models/DonobuDeploymentEnvironment.d.ts +7 -5
- package/dist/models/DonobuDeploymentEnvironment.d.ts.map +1 -1
- package/dist/models/DonobuDeploymentEnvironment.js +7 -7
- package/dist/models/DonobuDeploymentEnvironment.js.map +1 -1
- package/dist/persistence/env/EnvPersistenceFactoryImpl.d.ts +5 -3
- package/dist/persistence/env/EnvPersistenceFactoryImpl.d.ts.map +1 -1
- package/dist/persistence/env/EnvPersistenceFactoryImpl.js +11 -15
- package/dist/persistence/env/EnvPersistenceFactoryImpl.js.map +1 -1
- package/dist/persistence/flows/FlowsPersistenceFactoryImpl.d.ts +6 -4
- package/dist/persistence/flows/FlowsPersistenceFactoryImpl.d.ts.map +1 -1
- package/dist/persistence/flows/FlowsPersistenceFactoryImpl.js +14 -19
- package/dist/persistence/flows/FlowsPersistenceFactoryImpl.js.map +1 -1
- package/dist/utils/BrowserUtils.d.ts +6 -1
- package/dist/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/utils/BrowserUtils.js +19 -19
- package/dist/utils/BrowserUtils.js.map +1 -1
- package/dist/utils/MiscUtils.d.ts +5 -1
- package/dist/utils/MiscUtils.d.ts.map +1 -1
- package/dist/utils/MiscUtils.js +4 -4
- package/dist/utils/MiscUtils.js.map +1 -1
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1409
|
package/dist/envVars.d.ts
CHANGED
|
@@ -1,64 +1,147 @@
|
|
|
1
|
+
import { Env } from 'env-struct';
|
|
2
|
+
import { z } from 'zod/v4';
|
|
1
3
|
/**
|
|
2
4
|
* This is the set of environment variable (for the process) names that Donobu may use.
|
|
3
5
|
* This should not be confused with the user-defined API-based environment variables
|
|
4
6
|
* that may be used in a flow.
|
|
5
7
|
*/
|
|
6
|
-
declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
8
|
+
export declare const env: Env<{
|
|
9
|
+
/**
|
|
10
|
+
* Windows-specific roaming application data directory. This is typically set
|
|
11
|
+
* by the OS and used to derive platform default storage paths. This is
|
|
12
|
+
* ignored if BASE_WORKING_DIR is explicitly set.
|
|
13
|
+
*/
|
|
14
|
+
APPDATA: z.ZodOptional<z.ZodString>;
|
|
15
|
+
/**
|
|
16
|
+
* Overrides the effective working/persistence directory.
|
|
17
|
+
*/
|
|
18
|
+
BASE_WORKING_DIR: z.ZodOptional<z.ZodString>;
|
|
19
|
+
/**
|
|
20
|
+
* If specified, use this base-64 JSON GPT configuration for running flows.
|
|
21
|
+
* This takes priority over all other GPT configuration options.
|
|
22
|
+
*/
|
|
23
|
+
BASE64_GPT_CONFIG: z.ZodOptional<z.ZodString>;
|
|
24
|
+
/**
|
|
25
|
+
* The API key to use for the BrowserBase API.
|
|
26
|
+
*/
|
|
27
|
+
BROWSERBASE_API_KEY: z.ZodOptional<z.ZodString>;
|
|
28
|
+
/**
|
|
29
|
+
* The project ID to use for the BrowserBase API.
|
|
30
|
+
*/
|
|
31
|
+
BROWSERBASE_PROJECT_ID: z.ZodOptional<z.ZodString>;
|
|
32
|
+
/**
|
|
33
|
+
* The deployment environment for this application.
|
|
34
|
+
*
|
|
35
|
+
* If this is set to "DONOBU_HOSTED_MULTI_TENANT" then the
|
|
36
|
+
* SUPABASE_JWT_SECRET_KEY environment variable must also be set.
|
|
37
|
+
*/
|
|
38
|
+
DONOBU_DEPLOYMENT_ENVIRONMENT: z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
LOCAL: "LOCAL";
|
|
40
|
+
DONOBU_HOSTED_MULTI_TENANT: "DONOBU_HOSTED_MULTI_TENANT";
|
|
41
|
+
DONOBU_HOSTED_SINGLE_TENANT: "DONOBU_HOSTED_SINGLE_TENANT";
|
|
42
|
+
}>>;
|
|
43
|
+
/**
|
|
44
|
+
* Automatically create GPT configurations for Anthropic using this API key.
|
|
45
|
+
* For convenience, the created configuration names will reflect the
|
|
46
|
+
* underlying models they map to (ex: "claude-3-7-sonnet-latest", etc).
|
|
47
|
+
*/
|
|
48
|
+
ANTHROPIC_API_KEY: z.ZodOptional<z.ZodString>;
|
|
49
|
+
/**
|
|
50
|
+
* If specified, this will shade the default flow runner agent when running
|
|
51
|
+
* flows. If specified, ANTHROPIC_API_KEY must also be specified.
|
|
52
|
+
*/
|
|
53
|
+
ANTHROPIC_MODEL_NAME: z.ZodOptional<z.ZodString>;
|
|
54
|
+
/**
|
|
55
|
+
* Automatically create GPT configurations for Google Gemini using this API key.
|
|
56
|
+
* For convenience, the created configuration names will reflect the
|
|
57
|
+
* underlying models they map to (ex: "gemini-2.0-flash", etc).
|
|
58
|
+
*/
|
|
59
|
+
GOOGLE_GENERATIVE_AI_API_KEY: z.ZodOptional<z.ZodString>;
|
|
60
|
+
/**
|
|
61
|
+
* If specified, this will shade the default flow runner agent when running
|
|
62
|
+
* flows. If specified, GOOGLE_GENERATIVE_AI_API_KEY must also be specified.
|
|
63
|
+
*/
|
|
64
|
+
GOOGLE_GENERATIVE_AI_MODEL_NAME: z.ZodOptional<z.ZodString>;
|
|
65
|
+
/**
|
|
66
|
+
* Automatically create GPT configurations for OpenAI using this API key.
|
|
67
|
+
* For convenience, the created configuration names will reflect the
|
|
68
|
+
* underlying models they map to (ex: "gpt-4o", etc).
|
|
69
|
+
*/
|
|
70
|
+
OPENAI_API_KEY: z.ZodOptional<z.ZodString>;
|
|
71
|
+
/**
|
|
72
|
+
* If specified, this will shade the default flow runner agent when running
|
|
73
|
+
* flows. If specified, OPENAI_API_KEY must also be specified.
|
|
74
|
+
*/
|
|
75
|
+
OPENAI_API_MODEL_NAME: z.ZodOptional<z.ZodString>;
|
|
76
|
+
/**
|
|
77
|
+
* Automatically set the 'flow-runner' agent to use this GPT configuration by name.
|
|
78
|
+
*/
|
|
79
|
+
DEFAULT_FLOW_RUNNER_GPT_CONFIG_NAME: z.ZodOptional<z.ZodString>;
|
|
80
|
+
/**
|
|
81
|
+
* Directs Donobu flows to be persisted using this AWS S3 bucket. Takes
|
|
82
|
+
* priority over GOOGLE_CLOUD_STORAGE_BUCKET being specified.
|
|
83
|
+
*/
|
|
84
|
+
AWS_S3_BUCKET: z.ZodOptional<z.ZodString>;
|
|
85
|
+
/**
|
|
86
|
+
* The AWS S3 region the corresponding AWS_S3_BUCKET lives in. Fails over to
|
|
87
|
+
* the AWS_REGION environment variable if not specified.
|
|
88
|
+
*/
|
|
89
|
+
AWS_S3_REGION: z.ZodOptional<z.ZodString>;
|
|
90
|
+
/**
|
|
91
|
+
* If specified, this will shade the default flow runner agent when running
|
|
92
|
+
* flows. If specified, AWS credentials must also be present.
|
|
93
|
+
*/
|
|
94
|
+
AWS_BEDROCK_MODEL_NAME: z.ZodOptional<z.ZodString>;
|
|
95
|
+
/**
|
|
96
|
+
* The AWS region to use for operations using the AWS SDK.
|
|
97
|
+
*/
|
|
98
|
+
AWS_REGION: z.ZodOptional<z.ZodString>;
|
|
99
|
+
/**
|
|
100
|
+
* The AWS access key ID to use for operations using the AWS SDK.
|
|
101
|
+
*/
|
|
102
|
+
AWS_ACCESS_KEY_ID: z.ZodOptional<z.ZodString>;
|
|
103
|
+
/**
|
|
104
|
+
* The AWS access key to use for operations using the AWS SDK.
|
|
105
|
+
*/
|
|
106
|
+
AWS_SECRET_ACCESS_KEY: z.ZodOptional<z.ZodString>;
|
|
107
|
+
/**
|
|
108
|
+
* Directs Donobu flows to be persisted using this Google Cloud Storage
|
|
109
|
+
* bucket.
|
|
110
|
+
*/
|
|
111
|
+
GOOGLE_CLOUD_STORAGE_BUCKET: z.ZodOptional<z.ZodString>;
|
|
112
|
+
/**
|
|
113
|
+
* Directs Donobu flows to be persisted using Supabase using this key.
|
|
114
|
+
*
|
|
115
|
+
* This environment variable MUST be specified if the
|
|
116
|
+
* DONOBU_DEPLOYMENT_ENVIRONMENT environment variable is set to
|
|
117
|
+
* "DONOBU_HOSTED_MULTI_TENANT".
|
|
118
|
+
*/
|
|
119
|
+
SUPABASE_JWT_SECRET_KEY: z.ZodOptional<z.ZodString>;
|
|
120
|
+
/**
|
|
121
|
+
* If set to 'true', then Donobu will attempt to self-heal tests. This option
|
|
122
|
+
* is only used when using Donobu as a library to run Playwright-based tests.
|
|
123
|
+
*/
|
|
124
|
+
SELF_HEAL_TESTS_ENABLED: z.ZodOptional<z.ZodString>;
|
|
125
|
+
/**
|
|
126
|
+
* Default URL for the browser proxy configuration. Only applies when running
|
|
127
|
+
* flows using the 'device' type and a proxy URL is not otherwise specified.
|
|
128
|
+
*/
|
|
129
|
+
PROXY_SERVER: z.ZodOptional<z.ZodString>;
|
|
130
|
+
/**
|
|
131
|
+
* Default user name for the browser proxy configuration. Only applies when running
|
|
132
|
+
* flows using the 'device' type and a proxy username is not otherwise specified.
|
|
133
|
+
*/
|
|
134
|
+
PROXY_USERNAME: z.ZodOptional<z.ZodString>;
|
|
135
|
+
/**
|
|
136
|
+
* Default password for the browser proxy configuration. Only applies when running
|
|
137
|
+
* flows using the 'device' type and a proxy password is not otherwise specified.
|
|
138
|
+
*/
|
|
139
|
+
PROXY_PASSWORD: z.ZodOptional<z.ZodString>;
|
|
140
|
+
/**
|
|
141
|
+
* Linux-specific configuration directory root following the XDG Base
|
|
142
|
+
* Directory specification. Used to derive platform default storage paths.
|
|
143
|
+
* This is ignored if BASE_WORKING_DIR is explicitly set.
|
|
144
|
+
*/
|
|
145
|
+
XDG_CONFIG_HOME: z.ZodOptional<z.ZodString>;
|
|
36
146
|
}>;
|
|
37
|
-
export declare const ENV: ReadonlyEnvAccessor<Readonly<{
|
|
38
|
-
BASE_WORKING_DIR: "BASE_WORKING_DIR";
|
|
39
|
-
BASE64_GPT_CONFIG: "BASE64_GPT_CONFIG";
|
|
40
|
-
BROWSERBASE_API_KEY: "BROWSERBASE_API_KEY";
|
|
41
|
-
BROWSERBASE_PROJECT_ID: "BROWSERBASE_PROJECT_ID";
|
|
42
|
-
DONOBU_DEPLOYMENT_ENVIRONMENT: "DONOBU_DEPLOYMENT_ENVIRONMENT";
|
|
43
|
-
ANTHROPIC_API_KEY: "ANTHROPIC_API_KEY";
|
|
44
|
-
ANTHROPIC_MODEL_NAME: "ANTHROPIC_MODEL_NAME";
|
|
45
|
-
GOOGLE_GENERATIVE_AI_API_KEY: "GOOGLE_GENERATIVE_AI_API_KEY";
|
|
46
|
-
GOOGLE_GENERATIVE_AI_MODEL_NAME: "GOOGLE_GENERATIVE_AI_MODEL_NAME";
|
|
47
|
-
OPENAI_API_KEY: "OPENAI_API_KEY";
|
|
48
|
-
OPENAI_API_MODEL_NAME: "OPENAI_API_MODEL_NAME";
|
|
49
|
-
DEFAULT_FLOW_RUNNER_GPT_CONFIG_NAME: "DEFAULT_FLOW_RUNNER_GPT_CONFIG_NAME";
|
|
50
|
-
AWS_S3_BUCKET: "AWS_S3_BUCKET";
|
|
51
|
-
AWS_S3_REGION: "AWS_S3_REGION";
|
|
52
|
-
AWS_BEDROCK_MODEL_NAME: "AWS_BEDROCK_MODEL_NAME";
|
|
53
|
-
AWS_REGION: "AWS_REGION";
|
|
54
|
-
AWS_ACCESS_KEY_ID: "AWS_ACCESS_KEY_ID";
|
|
55
|
-
AWS_SECRET_ACCESS_KEY: "AWS_SECRET_ACCESS_KEY";
|
|
56
|
-
GOOGLE_CLOUD_STORAGE_BUCKET: "GOOGLE_CLOUD_STORAGE_BUCKET";
|
|
57
|
-
SUPABASE_JWT_SECRET_KEY: "SUPABASE_JWT_SECRET_KEY";
|
|
58
|
-
SELF_HEAL_TESTS_ENABLED: "SELF_HEAL_TESTS_ENABLED";
|
|
59
|
-
PROXY_SERVER: "PROXY_SERVER";
|
|
60
|
-
PROXY_USERNAME: "PROXY_USERNAME";
|
|
61
|
-
PROXY_PASSWORD: "PROXY_PASSWORD";
|
|
62
|
-
}>>;
|
|
63
|
-
export {};
|
|
64
147
|
//# sourceMappingURL=envVars.d.ts.map
|
package/dist/envVars.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envVars.d.ts","sourceRoot":"","sources":["../src/envVars.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"envVars.d.ts","sourceRoot":"","sources":["../src/envVars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B;;;;GAIG;AACH,eAAO,MAAM,GAAG;IACd;;;;OAIG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;;;OAKG;;;;;;IAEH;;;;OAIG;;IAEH;;;OAGG;;IAEH;;;;OAIG;;IAEH;;;OAGG;;IAEH;;;;OAIG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;;;;;OAMG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;;OAIG;;EAEH,CAAC"}
|
package/dist/envVars.js
CHANGED
|
@@ -1,105 +1,114 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.env = void 0;
|
|
4
|
+
const env_struct_1 = require("env-struct");
|
|
5
|
+
const v4_1 = require("zod/v4");
|
|
6
|
+
const DonobuDeploymentEnvironment_1 = require("./models/DonobuDeploymentEnvironment");
|
|
4
7
|
/**
|
|
5
8
|
* This is the set of environment variable (for the process) names that Donobu may use.
|
|
6
9
|
* This should not be confused with the user-defined API-based environment variables
|
|
7
10
|
* that may be used in a flow.
|
|
8
11
|
*/
|
|
9
|
-
|
|
12
|
+
exports.env = env_struct_1.Env.fromSchema({
|
|
13
|
+
/**
|
|
14
|
+
* Windows-specific roaming application data directory. This is typically set
|
|
15
|
+
* by the OS and used to derive platform default storage paths. This is
|
|
16
|
+
* ignored if BASE_WORKING_DIR is explicitly set.
|
|
17
|
+
*/
|
|
18
|
+
APPDATA: v4_1.z.string().optional(),
|
|
10
19
|
/**
|
|
11
20
|
* Overrides the effective working/persistence directory.
|
|
12
21
|
*/
|
|
13
|
-
|
|
22
|
+
BASE_WORKING_DIR: v4_1.z.string().optional(),
|
|
14
23
|
/**
|
|
15
24
|
* If specified, use this base-64 JSON GPT configuration for running flows.
|
|
16
25
|
* This takes priority over all other GPT configuration options.
|
|
17
26
|
*/
|
|
18
|
-
|
|
27
|
+
BASE64_GPT_CONFIG: v4_1.z.string().optional(),
|
|
19
28
|
/**
|
|
20
29
|
* The API key to use for the BrowserBase API.
|
|
21
30
|
*/
|
|
22
|
-
|
|
31
|
+
BROWSERBASE_API_KEY: v4_1.z.string().optional(),
|
|
23
32
|
/**
|
|
24
33
|
* The project ID to use for the BrowserBase API.
|
|
25
34
|
*/
|
|
26
|
-
|
|
35
|
+
BROWSERBASE_PROJECT_ID: v4_1.z.string().optional(),
|
|
27
36
|
/**
|
|
28
37
|
* The deployment environment for this application.
|
|
29
38
|
*
|
|
30
39
|
* If this is set to "DONOBU_HOSTED_MULTI_TENANT" then the
|
|
31
40
|
* SUPABASE_JWT_SECRET_KEY environment variable must also be set.
|
|
32
41
|
*/
|
|
33
|
-
|
|
42
|
+
DONOBU_DEPLOYMENT_ENVIRONMENT: DonobuDeploymentEnvironment_1.DonobuDeploymentEnvironmentSchema.optional(),
|
|
34
43
|
/**
|
|
35
44
|
* Automatically create GPT configurations for Anthropic using this API key.
|
|
36
45
|
* For convenience, the created configuration names will reflect the
|
|
37
46
|
* underlying models they map to (ex: "claude-3-7-sonnet-latest", etc).
|
|
38
47
|
*/
|
|
39
|
-
|
|
48
|
+
ANTHROPIC_API_KEY: v4_1.z.string().optional(),
|
|
40
49
|
/**
|
|
41
50
|
* If specified, this will shade the default flow runner agent when running
|
|
42
51
|
* flows. If specified, ANTHROPIC_API_KEY must also be specified.
|
|
43
52
|
*/
|
|
44
|
-
|
|
53
|
+
ANTHROPIC_MODEL_NAME: v4_1.z.string().optional(),
|
|
45
54
|
/**
|
|
46
55
|
* Automatically create GPT configurations for Google Gemini using this API key.
|
|
47
56
|
* For convenience, the created configuration names will reflect the
|
|
48
57
|
* underlying models they map to (ex: "gemini-2.0-flash", etc).
|
|
49
58
|
*/
|
|
50
|
-
|
|
59
|
+
GOOGLE_GENERATIVE_AI_API_KEY: v4_1.z.string().optional(),
|
|
51
60
|
/**
|
|
52
61
|
* If specified, this will shade the default flow runner agent when running
|
|
53
62
|
* flows. If specified, GOOGLE_GENERATIVE_AI_API_KEY must also be specified.
|
|
54
63
|
*/
|
|
55
|
-
|
|
64
|
+
GOOGLE_GENERATIVE_AI_MODEL_NAME: v4_1.z.string().optional(),
|
|
56
65
|
/**
|
|
57
66
|
* Automatically create GPT configurations for OpenAI using this API key.
|
|
58
67
|
* For convenience, the created configuration names will reflect the
|
|
59
68
|
* underlying models they map to (ex: "gpt-4o", etc).
|
|
60
69
|
*/
|
|
61
|
-
|
|
70
|
+
OPENAI_API_KEY: v4_1.z.string().optional(),
|
|
62
71
|
/**
|
|
63
72
|
* If specified, this will shade the default flow runner agent when running
|
|
64
73
|
* flows. If specified, OPENAI_API_KEY must also be specified.
|
|
65
74
|
*/
|
|
66
|
-
|
|
75
|
+
OPENAI_API_MODEL_NAME: v4_1.z.string().optional(),
|
|
67
76
|
/**
|
|
68
77
|
* Automatically set the 'flow-runner' agent to use this GPT configuration by name.
|
|
69
78
|
*/
|
|
70
|
-
|
|
79
|
+
DEFAULT_FLOW_RUNNER_GPT_CONFIG_NAME: v4_1.z.string().optional(),
|
|
71
80
|
/**
|
|
72
81
|
* Directs Donobu flows to be persisted using this AWS S3 bucket. Takes
|
|
73
82
|
* priority over GOOGLE_CLOUD_STORAGE_BUCKET being specified.
|
|
74
83
|
*/
|
|
75
|
-
|
|
84
|
+
AWS_S3_BUCKET: v4_1.z.string().optional(),
|
|
76
85
|
/**
|
|
77
86
|
* The AWS S3 region the corresponding AWS_S3_BUCKET lives in. Fails over to
|
|
78
87
|
* the AWS_REGION environment variable if not specified.
|
|
79
88
|
*/
|
|
80
|
-
|
|
89
|
+
AWS_S3_REGION: v4_1.z.string().optional(),
|
|
81
90
|
/**
|
|
82
91
|
* If specified, this will shade the default flow runner agent when running
|
|
83
92
|
* flows. If specified, AWS credentials must also be present.
|
|
84
93
|
*/
|
|
85
|
-
|
|
94
|
+
AWS_BEDROCK_MODEL_NAME: v4_1.z.string().optional(),
|
|
86
95
|
/**
|
|
87
96
|
* The AWS region to use for operations using the AWS SDK.
|
|
88
97
|
*/
|
|
89
|
-
|
|
98
|
+
AWS_REGION: v4_1.z.string().optional(),
|
|
90
99
|
/**
|
|
91
100
|
* The AWS access key ID to use for operations using the AWS SDK.
|
|
92
101
|
*/
|
|
93
|
-
|
|
102
|
+
AWS_ACCESS_KEY_ID: v4_1.z.string().optional(),
|
|
94
103
|
/**
|
|
95
104
|
* The AWS access key to use for operations using the AWS SDK.
|
|
96
105
|
*/
|
|
97
|
-
|
|
106
|
+
AWS_SECRET_ACCESS_KEY: v4_1.z.string().optional(),
|
|
98
107
|
/**
|
|
99
108
|
* Directs Donobu flows to be persisted using this Google Cloud Storage
|
|
100
109
|
* bucket.
|
|
101
110
|
*/
|
|
102
|
-
|
|
111
|
+
GOOGLE_CLOUD_STORAGE_BUCKET: v4_1.z.string().optional(),
|
|
103
112
|
/**
|
|
104
113
|
* Directs Donobu flows to be persisted using Supabase using this key.
|
|
105
114
|
*
|
|
@@ -107,54 +116,32 @@ const ENV_VAR_LIST = [
|
|
|
107
116
|
* DONOBU_DEPLOYMENT_ENVIRONMENT environment variable is set to
|
|
108
117
|
* "DONOBU_HOSTED_MULTI_TENANT".
|
|
109
118
|
*/
|
|
110
|
-
|
|
119
|
+
SUPABASE_JWT_SECRET_KEY: v4_1.z.string().optional(),
|
|
111
120
|
/**
|
|
112
121
|
* If set to 'true', then Donobu will attempt to self-heal tests. This option
|
|
113
122
|
* is only used when using Donobu as a library to run Playwright-based tests.
|
|
114
123
|
*/
|
|
115
|
-
|
|
124
|
+
SELF_HEAL_TESTS_ENABLED: v4_1.z.string().optional(),
|
|
116
125
|
/**
|
|
117
126
|
* Default URL for the browser proxy configuration. Only applies when running
|
|
118
127
|
* flows using the 'device' type and a proxy URL is not otherwise specified.
|
|
119
128
|
*/
|
|
120
|
-
|
|
129
|
+
PROXY_SERVER: v4_1.z.string().optional(),
|
|
121
130
|
/**
|
|
122
131
|
* Default user name for the browser proxy configuration. Only applies when running
|
|
123
132
|
* flows using the 'device' type and a proxy username is not otherwise specified.
|
|
124
133
|
*/
|
|
125
|
-
|
|
134
|
+
PROXY_USERNAME: v4_1.z.string().optional(),
|
|
126
135
|
/**
|
|
127
136
|
* Default password for the browser proxy configuration. Only applies when running
|
|
128
137
|
* flows using the 'device' type and a proxy password is not otherwise specified.
|
|
129
138
|
*/
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
for (const name of names) {
|
|
139
|
-
const key = name;
|
|
140
|
-
result[key] = key;
|
|
141
|
-
}
|
|
142
|
-
return Object.freeze(result);
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* Creates an object with lazy getters that read from `process.env` using the provided key mapping.
|
|
146
|
-
* Keeps `ENV` in sync with `ENV_VAR_NAMES` without repeating every accessor.
|
|
147
|
-
*/
|
|
148
|
-
const createEnvAccessor = (names) => {
|
|
149
|
-
const accessor = {};
|
|
150
|
-
for (const key of Object.keys(names)) {
|
|
151
|
-
Object.defineProperty(accessor, key, {
|
|
152
|
-
enumerable: true,
|
|
153
|
-
get: () => process.env[names[key]],
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
return Object.freeze(accessor);
|
|
157
|
-
};
|
|
158
|
-
exports.ENV_NAMES = createEnvVarNames(ENV_VAR_LIST);
|
|
159
|
-
exports.ENV = createEnvAccessor(exports.ENV_NAMES);
|
|
139
|
+
PROXY_PASSWORD: v4_1.z.string().optional(),
|
|
140
|
+
/**
|
|
141
|
+
* Linux-specific configuration directory root following the XDG Base
|
|
142
|
+
* Directory specification. Used to derive platform default storage paths.
|
|
143
|
+
* This is ignored if BASE_WORKING_DIR is explicitly set.
|
|
144
|
+
*/
|
|
145
|
+
XDG_CONFIG_HOME: v4_1.z.string().optional(),
|
|
146
|
+
});
|
|
160
147
|
//# sourceMappingURL=envVars.js.map
|
package/dist/envVars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envVars.js","sourceRoot":"","sources":["../src/envVars.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"envVars.js","sourceRoot":"","sources":["../src/envVars.ts"],"names":[],"mappings":";;;AAAA,2CAAiC;AACjC,+BAA2B;AAC3B,sFAAyF;AAEzF;;;;GAIG;AACU,QAAA,GAAG,GAAG,gBAAG,CAAC,UAAU,CAAC;IAChC;;;;OAIG;IACH,OAAO,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B;;OAEG;IACH,gBAAgB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC;;;OAGG;IACH,iBAAiB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC;;OAEG;IACH,mBAAmB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C;;OAEG;IACH,sBAAsB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7C;;;;;OAKG;IACH,6BAA6B,EAAE,+DAAiC,CAAC,QAAQ,EAAE;IAC3E;;;;OAIG;IACH,iBAAiB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC;;;OAGG;IACH,oBAAoB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3C;;;;OAIG;IACH,4BAA4B,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD;;;OAGG;IACH,+BAA+B,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtD;;;;OAIG;IACH,cAAc,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC;;;OAGG;IACH,qBAAqB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5C;;OAEG;IACH,mCAAmC,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1D;;;OAGG;IACH,aAAa,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC;;;OAGG;IACH,aAAa,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC;;;OAGG;IACH,sBAAsB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7C;;OAEG;IACH,UAAU,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC;;OAEG;IACH,iBAAiB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC;;OAEG;IACH,qBAAqB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5C;;;OAGG;IACH,2BAA2B,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClD;;;;;;OAMG;IACH,uBAAuB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C;;;OAGG;IACH,uBAAuB,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C;;;OAGG;IACH,YAAY,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC;;;OAGG;IACH,cAAc,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC;;;OAGG;IACH,cAAc,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC;;;;OAIG;IACH,eAAe,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1409
|
package/dist/esm/envVars.d.ts
CHANGED
|
@@ -1,64 +1,147 @@
|
|
|
1
|
+
import { Env } from 'env-struct';
|
|
2
|
+
import { z } from 'zod/v4';
|
|
1
3
|
/**
|
|
2
4
|
* This is the set of environment variable (for the process) names that Donobu may use.
|
|
3
5
|
* This should not be confused with the user-defined API-based environment variables
|
|
4
6
|
* that may be used in a flow.
|
|
5
7
|
*/
|
|
6
|
-
declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
8
|
+
export declare const env: Env<{
|
|
9
|
+
/**
|
|
10
|
+
* Windows-specific roaming application data directory. This is typically set
|
|
11
|
+
* by the OS and used to derive platform default storage paths. This is
|
|
12
|
+
* ignored if BASE_WORKING_DIR is explicitly set.
|
|
13
|
+
*/
|
|
14
|
+
APPDATA: z.ZodOptional<z.ZodString>;
|
|
15
|
+
/**
|
|
16
|
+
* Overrides the effective working/persistence directory.
|
|
17
|
+
*/
|
|
18
|
+
BASE_WORKING_DIR: z.ZodOptional<z.ZodString>;
|
|
19
|
+
/**
|
|
20
|
+
* If specified, use this base-64 JSON GPT configuration for running flows.
|
|
21
|
+
* This takes priority over all other GPT configuration options.
|
|
22
|
+
*/
|
|
23
|
+
BASE64_GPT_CONFIG: z.ZodOptional<z.ZodString>;
|
|
24
|
+
/**
|
|
25
|
+
* The API key to use for the BrowserBase API.
|
|
26
|
+
*/
|
|
27
|
+
BROWSERBASE_API_KEY: z.ZodOptional<z.ZodString>;
|
|
28
|
+
/**
|
|
29
|
+
* The project ID to use for the BrowserBase API.
|
|
30
|
+
*/
|
|
31
|
+
BROWSERBASE_PROJECT_ID: z.ZodOptional<z.ZodString>;
|
|
32
|
+
/**
|
|
33
|
+
* The deployment environment for this application.
|
|
34
|
+
*
|
|
35
|
+
* If this is set to "DONOBU_HOSTED_MULTI_TENANT" then the
|
|
36
|
+
* SUPABASE_JWT_SECRET_KEY environment variable must also be set.
|
|
37
|
+
*/
|
|
38
|
+
DONOBU_DEPLOYMENT_ENVIRONMENT: z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
LOCAL: "LOCAL";
|
|
40
|
+
DONOBU_HOSTED_MULTI_TENANT: "DONOBU_HOSTED_MULTI_TENANT";
|
|
41
|
+
DONOBU_HOSTED_SINGLE_TENANT: "DONOBU_HOSTED_SINGLE_TENANT";
|
|
42
|
+
}>>;
|
|
43
|
+
/**
|
|
44
|
+
* Automatically create GPT configurations for Anthropic using this API key.
|
|
45
|
+
* For convenience, the created configuration names will reflect the
|
|
46
|
+
* underlying models they map to (ex: "claude-3-7-sonnet-latest", etc).
|
|
47
|
+
*/
|
|
48
|
+
ANTHROPIC_API_KEY: z.ZodOptional<z.ZodString>;
|
|
49
|
+
/**
|
|
50
|
+
* If specified, this will shade the default flow runner agent when running
|
|
51
|
+
* flows. If specified, ANTHROPIC_API_KEY must also be specified.
|
|
52
|
+
*/
|
|
53
|
+
ANTHROPIC_MODEL_NAME: z.ZodOptional<z.ZodString>;
|
|
54
|
+
/**
|
|
55
|
+
* Automatically create GPT configurations for Google Gemini using this API key.
|
|
56
|
+
* For convenience, the created configuration names will reflect the
|
|
57
|
+
* underlying models they map to (ex: "gemini-2.0-flash", etc).
|
|
58
|
+
*/
|
|
59
|
+
GOOGLE_GENERATIVE_AI_API_KEY: z.ZodOptional<z.ZodString>;
|
|
60
|
+
/**
|
|
61
|
+
* If specified, this will shade the default flow runner agent when running
|
|
62
|
+
* flows. If specified, GOOGLE_GENERATIVE_AI_API_KEY must also be specified.
|
|
63
|
+
*/
|
|
64
|
+
GOOGLE_GENERATIVE_AI_MODEL_NAME: z.ZodOptional<z.ZodString>;
|
|
65
|
+
/**
|
|
66
|
+
* Automatically create GPT configurations for OpenAI using this API key.
|
|
67
|
+
* For convenience, the created configuration names will reflect the
|
|
68
|
+
* underlying models they map to (ex: "gpt-4o", etc).
|
|
69
|
+
*/
|
|
70
|
+
OPENAI_API_KEY: z.ZodOptional<z.ZodString>;
|
|
71
|
+
/**
|
|
72
|
+
* If specified, this will shade the default flow runner agent when running
|
|
73
|
+
* flows. If specified, OPENAI_API_KEY must also be specified.
|
|
74
|
+
*/
|
|
75
|
+
OPENAI_API_MODEL_NAME: z.ZodOptional<z.ZodString>;
|
|
76
|
+
/**
|
|
77
|
+
* Automatically set the 'flow-runner' agent to use this GPT configuration by name.
|
|
78
|
+
*/
|
|
79
|
+
DEFAULT_FLOW_RUNNER_GPT_CONFIG_NAME: z.ZodOptional<z.ZodString>;
|
|
80
|
+
/**
|
|
81
|
+
* Directs Donobu flows to be persisted using this AWS S3 bucket. Takes
|
|
82
|
+
* priority over GOOGLE_CLOUD_STORAGE_BUCKET being specified.
|
|
83
|
+
*/
|
|
84
|
+
AWS_S3_BUCKET: z.ZodOptional<z.ZodString>;
|
|
85
|
+
/**
|
|
86
|
+
* The AWS S3 region the corresponding AWS_S3_BUCKET lives in. Fails over to
|
|
87
|
+
* the AWS_REGION environment variable if not specified.
|
|
88
|
+
*/
|
|
89
|
+
AWS_S3_REGION: z.ZodOptional<z.ZodString>;
|
|
90
|
+
/**
|
|
91
|
+
* If specified, this will shade the default flow runner agent when running
|
|
92
|
+
* flows. If specified, AWS credentials must also be present.
|
|
93
|
+
*/
|
|
94
|
+
AWS_BEDROCK_MODEL_NAME: z.ZodOptional<z.ZodString>;
|
|
95
|
+
/**
|
|
96
|
+
* The AWS region to use for operations using the AWS SDK.
|
|
97
|
+
*/
|
|
98
|
+
AWS_REGION: z.ZodOptional<z.ZodString>;
|
|
99
|
+
/**
|
|
100
|
+
* The AWS access key ID to use for operations using the AWS SDK.
|
|
101
|
+
*/
|
|
102
|
+
AWS_ACCESS_KEY_ID: z.ZodOptional<z.ZodString>;
|
|
103
|
+
/**
|
|
104
|
+
* The AWS access key to use for operations using the AWS SDK.
|
|
105
|
+
*/
|
|
106
|
+
AWS_SECRET_ACCESS_KEY: z.ZodOptional<z.ZodString>;
|
|
107
|
+
/**
|
|
108
|
+
* Directs Donobu flows to be persisted using this Google Cloud Storage
|
|
109
|
+
* bucket.
|
|
110
|
+
*/
|
|
111
|
+
GOOGLE_CLOUD_STORAGE_BUCKET: z.ZodOptional<z.ZodString>;
|
|
112
|
+
/**
|
|
113
|
+
* Directs Donobu flows to be persisted using Supabase using this key.
|
|
114
|
+
*
|
|
115
|
+
* This environment variable MUST be specified if the
|
|
116
|
+
* DONOBU_DEPLOYMENT_ENVIRONMENT environment variable is set to
|
|
117
|
+
* "DONOBU_HOSTED_MULTI_TENANT".
|
|
118
|
+
*/
|
|
119
|
+
SUPABASE_JWT_SECRET_KEY: z.ZodOptional<z.ZodString>;
|
|
120
|
+
/**
|
|
121
|
+
* If set to 'true', then Donobu will attempt to self-heal tests. This option
|
|
122
|
+
* is only used when using Donobu as a library to run Playwright-based tests.
|
|
123
|
+
*/
|
|
124
|
+
SELF_HEAL_TESTS_ENABLED: z.ZodOptional<z.ZodString>;
|
|
125
|
+
/**
|
|
126
|
+
* Default URL for the browser proxy configuration. Only applies when running
|
|
127
|
+
* flows using the 'device' type and a proxy URL is not otherwise specified.
|
|
128
|
+
*/
|
|
129
|
+
PROXY_SERVER: z.ZodOptional<z.ZodString>;
|
|
130
|
+
/**
|
|
131
|
+
* Default user name for the browser proxy configuration. Only applies when running
|
|
132
|
+
* flows using the 'device' type and a proxy username is not otherwise specified.
|
|
133
|
+
*/
|
|
134
|
+
PROXY_USERNAME: z.ZodOptional<z.ZodString>;
|
|
135
|
+
/**
|
|
136
|
+
* Default password for the browser proxy configuration. Only applies when running
|
|
137
|
+
* flows using the 'device' type and a proxy password is not otherwise specified.
|
|
138
|
+
*/
|
|
139
|
+
PROXY_PASSWORD: z.ZodOptional<z.ZodString>;
|
|
140
|
+
/**
|
|
141
|
+
* Linux-specific configuration directory root following the XDG Base
|
|
142
|
+
* Directory specification. Used to derive platform default storage paths.
|
|
143
|
+
* This is ignored if BASE_WORKING_DIR is explicitly set.
|
|
144
|
+
*/
|
|
145
|
+
XDG_CONFIG_HOME: z.ZodOptional<z.ZodString>;
|
|
36
146
|
}>;
|
|
37
|
-
export declare const ENV: ReadonlyEnvAccessor<Readonly<{
|
|
38
|
-
BASE_WORKING_DIR: "BASE_WORKING_DIR";
|
|
39
|
-
BASE64_GPT_CONFIG: "BASE64_GPT_CONFIG";
|
|
40
|
-
BROWSERBASE_API_KEY: "BROWSERBASE_API_KEY";
|
|
41
|
-
BROWSERBASE_PROJECT_ID: "BROWSERBASE_PROJECT_ID";
|
|
42
|
-
DONOBU_DEPLOYMENT_ENVIRONMENT: "DONOBU_DEPLOYMENT_ENVIRONMENT";
|
|
43
|
-
ANTHROPIC_API_KEY: "ANTHROPIC_API_KEY";
|
|
44
|
-
ANTHROPIC_MODEL_NAME: "ANTHROPIC_MODEL_NAME";
|
|
45
|
-
GOOGLE_GENERATIVE_AI_API_KEY: "GOOGLE_GENERATIVE_AI_API_KEY";
|
|
46
|
-
GOOGLE_GENERATIVE_AI_MODEL_NAME: "GOOGLE_GENERATIVE_AI_MODEL_NAME";
|
|
47
|
-
OPENAI_API_KEY: "OPENAI_API_KEY";
|
|
48
|
-
OPENAI_API_MODEL_NAME: "OPENAI_API_MODEL_NAME";
|
|
49
|
-
DEFAULT_FLOW_RUNNER_GPT_CONFIG_NAME: "DEFAULT_FLOW_RUNNER_GPT_CONFIG_NAME";
|
|
50
|
-
AWS_S3_BUCKET: "AWS_S3_BUCKET";
|
|
51
|
-
AWS_S3_REGION: "AWS_S3_REGION";
|
|
52
|
-
AWS_BEDROCK_MODEL_NAME: "AWS_BEDROCK_MODEL_NAME";
|
|
53
|
-
AWS_REGION: "AWS_REGION";
|
|
54
|
-
AWS_ACCESS_KEY_ID: "AWS_ACCESS_KEY_ID";
|
|
55
|
-
AWS_SECRET_ACCESS_KEY: "AWS_SECRET_ACCESS_KEY";
|
|
56
|
-
GOOGLE_CLOUD_STORAGE_BUCKET: "GOOGLE_CLOUD_STORAGE_BUCKET";
|
|
57
|
-
SUPABASE_JWT_SECRET_KEY: "SUPABASE_JWT_SECRET_KEY";
|
|
58
|
-
SELF_HEAL_TESTS_ENABLED: "SELF_HEAL_TESTS_ENABLED";
|
|
59
|
-
PROXY_SERVER: "PROXY_SERVER";
|
|
60
|
-
PROXY_USERNAME: "PROXY_USERNAME";
|
|
61
|
-
PROXY_PASSWORD: "PROXY_PASSWORD";
|
|
62
|
-
}>>;
|
|
63
|
-
export {};
|
|
64
147
|
//# sourceMappingURL=envVars.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envVars.d.ts","sourceRoot":"","sources":["../../src/envVars.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"envVars.d.ts","sourceRoot":"","sources":["../../src/envVars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B;;;;GAIG;AACH,eAAO,MAAM,GAAG;IACd;;;;OAIG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;;;OAKG;;;;;;IAEH;;;;OAIG;;IAEH;;;OAGG;;IAEH;;;;OAIG;;IAEH;;;OAGG;;IAEH;;;;OAIG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;;;;;OAMG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;;OAIG;;EAEH,CAAC"}
|