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

Function toolSyncHealth

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

Source from the content-addressed store, hash-verified

2061 const toolSyncHealthDetailPrefix = "Tool sync failing";
2062
2063 const toolSyncHealth = (reason: string): HealthCheckResult => ({
2064 status: "degraded",
2065 checkedAt: Date.now(),
2066 detail: `${toolSyncHealthDetailPrefix}: ${reason}`,
2067 });
2068
2069 const syncHealthReason = (result: ResolveToolsResult): string =>
2070 result.incompleteReason ?? "plugin returned an incomplete tool catalog";

Callers 1

stampSyncedWithHealthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected