MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / toolSyncHealth

Function toolSyncHealth

packages/core/sdk/src/executor.ts:2138–2142  ·  view source on GitHub ↗
(reason: string)

Source from the content-addressed store, hash-verified

2136 const toolSyncHealthDetailPrefix = "Tool sync failing";
2137
2138 const toolSyncHealth = (reason: string): HealthCheckResult => ({
2139 status: "degraded",
2140 checkedAt: Date.now(),
2141 detail: `${toolSyncHealthDetailPrefix}: ${reason}`,
2142 });
2143
2144 const syncHealthReason = (result: ResolveToolsResult): string =>
2145 result.incompleteReason ?? "plugin returned an incomplete tool catalog";

Callers 1

stampSyncedWithHealthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected