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

Function getHubNodeSecret

src/gep/cliContracts.js:1131–1135  ·  view source on GitHub ↗
(deps)

Source from the content-addressed store, hash-verified

1129}
1130
1131function getHubNodeSecret(deps) {
1132 if (deps.nodeSecret !== undefined) return deps.nodeSecret;
1133 const a2a = deps.a2a || require('./a2aProtocol');
1134 return typeof a2a.getHubNodeSecret === 'function' ? a2a.getHubNodeSecret() : process.env.A2A_NODE_SECRET;
1135}
1136
1137function looksLikeFile(value) {
1138 try { return fs.existsSync(value) && fs.statSync(value).isFile(); } catch (_) { return false; }

Callers 9

mainFunction · 0.85
ensureRegisteredFunction · 0.85
_extractLLMFunction · 0.85
knownLocalSecretsFunction · 0.85
hasHubAuthorizationFunction · 0.85
_ensureNodeSecretFunction · 0.85
_publishBundleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected