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

Function toolSyncHealth

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

Source from the content-addressed store, hash-verified

2498 const toolSyncHealthDetailPrefix = "Tool sync failing";
2499
2500 const toolSyncHealth = (reason: string): HealthCheckResult => ({
2501 status: "degraded",
2502 checkedAt: Date.now(),
2503 detail: `${toolSyncHealthDetailPrefix}: ${reason}`,
2504 });
2505
2506 const syncHealthReason = (result: ResolveToolsResult): string =>
2507 result.incompleteReason ?? "plugin returned an incomplete tool catalog";

Callers 1

stampSyncedWithHealthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected