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

Function toolSyncHealth

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

Source from the content-addressed store, hash-verified

2045 const toolSyncHealthDetailPrefix = "Tool sync failing";
2046
2047 const toolSyncHealth = (reason: string): HealthCheckResult => ({
2048 status: "degraded",
2049 checkedAt: Date.now(),
2050 detail: `${toolSyncHealthDetailPrefix}: ${reason}`,
2051 });
2052
2053 const syncHealthReason = (result: ResolveToolsResult): string =>
2054 result.incompleteReason ?? "plugin returned an incomplete tool catalog";

Callers 1

stampSyncedWithHealthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected