MCPcopy Create free account
hub / github.com/Noumena-Network/code / hasExistingEnvironment

Function hasExistingEnvironment

src/commands/remote-setup/api.ts:105–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103}
104
105async function hasExistingEnvironment(): Promise<boolean> {
106 try {
107 const envs = await fetchEnvironments()
108 return envs.length > 0
109 } catch {
110 return false
111 }
112}
113
114/**
115 * Best-effort default environment creation. Mirrors the web onboarding's

Callers 1

createDefaultEnvironmentFunction · 0.85

Calls 1

fetchEnvironmentsFunction · 0.85

Tested by

no test coverage detected