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

Function _ensureNodeSecret

src/atp/atpExecute.js:160–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158}
159
160async function _ensureNodeSecret() {
161 if (getHubNodeSecret()) return true;
162 try {
163 const hello = await sendHelloToHub();
164 return !!(hello && hello.ok);
165 } catch (e) {
166 return false;
167 }
168}
169
170async function _publishBundle(gene, capsule) {
171 const nodeSecret = getHubNodeSecret();

Callers 1

completeAtpTaskFunction · 0.85

Calls 1

getHubNodeSecretFunction · 0.85

Tested by

no test coverage detected