MCPcopy Create free account
hub / github.com/EvoMap/evolver / setRuntimeIfMissing

Function setRuntimeIfMissing

src/proxy/clientSettings.js:290–297  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

288 changed = true;
289 };
290 const setRuntimeIfMissing = (key, value) => {
291 if (!runtimeEnv || !value) return false;
292 if (String(runtimeEnv[key] || '').trim()) return false;
293 runtimeEnv[key] = value;
294 runtimeChanged = true;
295 runtimeUpstreamChanged = true;
296 return true;
297 };
298 const setRuntimeAutoInjected = () => {
299 if (!runtimeEnv || !runtimeUpstreamChanged || runtimeEnv.EVOMAP_PROXY_AUTO_INJECTED === '1') return;
300 runtimeEnv.EVOMAP_PROXY_AUTO_INJECTED = '1';

Callers 2

setRuntimeUpstreamApiKeyFunction · 0.85
syncClaudeProxySettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected