The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(debug): drop parent env from core launch spec
Steven Enamakeld5ec17f2c4c8
diff --git a/scripts/debug/web-ui-lib.mjs b/scripts/debug/web-ui-lib.mjsindex 485e9015c2..1c3dfa568a 100644--- a/scripts/debug/web-ui-lib.mjs+++ b/scripts/debug/web-ui-lib.mjs@@ -15,13 +15,10 @@ export function mergeChildEnv(parent, overrides) {}/** Isolated environment and working directory for the throwaway core process. */-export function coreLaunchSpec(- parentEnv,- { repo, workspace, mockUrl, token, logLevel = "info" },-) {+export function coreLaunchSpec({ workspace, mockUrl, token, logLevel = "info" }) {return {cwd: workspace,- env: mergeChildEnv(parentEnv, {+ env: {OPENHUMAN_WORKSPACE: workspace,OPENHUMAN_DOTENV_PATH: path.join(workspace, "empty.env"),OPENHUMAN_CORE_TOKEN: token,@@ -33,7 +30,7 @@ export function coreLaunchSpec(OPENHUMAN_BACKEND_SESSION_TOKEN: null,OPENHUMAN_STORAGE_URL: null,RUST_LOG: logLevel,- }),+ },};}diff --git a/scripts/debug/web-ui.mjs b/scripts/debug/web-ui.mjsindex eb672e6ad1..c193cffcee 100644--- a/scripts/debug/web-ui.mjs+++ b/scripts/debug/web-ui.mjs@@ -185,8 +185,7 @@ async function main() {await mockModule.startMockServer(mockPort);log(`mock backend ${mockUrl}`);- const coreLaunch = coreLaunchSpec(process.env, {- repo,+ const coreLaunch = coreLaunchSpec({workspace,mockUrl,token,