Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: avoid cliChildEnv spawn-guard false positive in providerConnections
atomanticagent78f23914f6d8
diff --git a/server/lib/providerConnections.js b/server/lib/providerConnections.jsindex ee797945a5..97fdb2fdfe 100644--- a/server/lib/providerConnections.js+++ b/server/lib/providerConnections.js@@ -278,7 +278,9 @@ export function projectConnectionOwnedFields(provider, connection) {const fields = { ...owned.fields };if (Object.hasOwn(fields, 'endpoint') && baseUrl !== null) fields.endpoint = baseUrl;if (Object.hasOwn(fields, 'apiKey')) fields.apiKey = connection.credentials.apiKey ?? fields.apiKey;- const envVars = { ...owned.envVars };+ // Same Object.assign rule as withConnectionOwnedFields — avoid a spread of+ // the owned env map beside an envVars key (spawn-site guard false positive).+ const envVars = Object.assign({}, owned.envVars);for (const name of Object.keys(envVars)) {if (Object.hasOwn(connection.credentials, name)) {envVars[name] = connection.credentials[name];