MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / webKeyStatus

Function webKeyStatus

src/setup/key-guidance.ts:50–54  ·  view source on GitHub ↗
(env: Record<string, string | undefined>)

Source from the content-addressed store, hash-verified

48
49/** Which web keys are set / missing, given an env-like map. PURE. */
50export function webKeyStatus(env: Record<string, string | undefined>): { set: ServiceKey[]; missing: ServiceKey[] } {
51 const set: ServiceKey[] = [], missing: ServiceKey[] = [];
52 for (const k of WEB_SERVICE_KEYS) (env[k.env] ? set : missing).push(k);
53 return { set, missing };
54}
55
56/**
57 * The "your search is running degraded" message: shown when a web task failed (or fell back to

Callers 3

missingWebKeysGuidanceFunction · 0.85
gatherDashboardDataFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected