(config)
| 743 | } |
| 744 | |
| 745 | function buildAgentServerAutomationEnv(config) { |
| 746 | return { |
| 747 | // Make the session API key available to terminal commands spawned by the |
| 748 | // agent-server as OPENHANDS_AUTOMATION_API_KEY. The launcher also seeds |
| 749 | // this into Settings > Secrets, but agents commonly create automations |
| 750 | // with a curl command that references `$OPENHANDS_AUTOMATION_API_KEY`; |
| 751 | // exposing it here keeps that path working even before/without |
| 752 | // secret-registry env expansion. |
| 753 | OPENHANDS_AUTOMATION_API_KEY: config.sessionApiKey, |
| 754 | }; |
| 755 | } |
| 756 | |
| 757 | function buildAutomationTelemetryEnv(env = process.env) { |
| 758 | const telemetryDisabled = env.VITE_DO_NOT_TRACK === "1"; |
no outgoing calls
no test coverage detected