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

Function toolSyncHealth

packages/core/sdk/src/executor.ts:3493–3498  ·  view source on GitHub ↗
(cause: string)

Source from the content-addressed store, hash-verified

3491 // ------------------------------------------------------------------
3492
3493 const toolSyncHealth = (cause: string): HealthCheckResult => ({
3494 status: "degraded",
3495 checkedAt: Date.now(),
3496 detail: `${toolSyncHealthDetailPrefix}: ${cause}`,
3497 reason: "tool_sync_failed",
3498 });
3499
3500 const syncHealthReason = (result: ResolveToolsResult): string =>
3501 result.incompleteReason ?? "plugin returned an incomplete tool catalog";

Callers 1

stampSyncedWithHealthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected