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

Function toolSyncHealth

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

Source from the content-addressed store, hash-verified

2544 const toolSyncHealthDetailPrefix = "Tool sync failing";
2545
2546 const toolSyncHealth = (reason: string): HealthCheckResult => ({
2547 status: "degraded",
2548 checkedAt: Date.now(),
2549 detail: `${toolSyncHealthDetailPrefix}: ${reason}`,
2550 });
2551
2552 const syncHealthReason = (result: ResolveToolsResult): string =>
2553 result.incompleteReason ?? "plugin returned an incomplete tool catalog";

Callers 1

stampSyncedWithHealthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected