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

Function toolSyncHealth

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

Source from the content-addressed store, hash-verified

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

Callers 1

stampSyncedWithHealthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected