MCPcopy Index your code
hub / github.com/garrytan/gstack / effectiveSuppressedResolvers

Function effectiveSuppressedResolvers

scripts/gen-skill-docs.ts:66–72  ·  view source on GitHub ↗

* Compute effective suppressedResolvers for a host, applying the gbrain * detection override when enabled. When the override fires, GBRAIN_* * resolvers are removed from the suppression set so they render in the * generated SKILL.md.

(hostConfig: HostConfig)

Source from the content-addressed store, hash-verified

64 * generated SKILL.md.
65 */
66function effectiveSuppressedResolvers(hostConfig: HostConfig): Set<string> {
67 let list = hostConfig.suppressedResolvers || [];
68 if (GBRAIN_OVERRIDE.detected) {
69 list = list.filter(r => r !== 'GBRAIN_CONTEXT_LOAD' && r !== 'GBRAIN_SAVE_RESULTS');
70 }
71 return new Set(list);
72}
73
74// ─── Host Detection (config-driven) ─────────────────────────
75

Callers 1

resolvePlaceholdersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected