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

Function toolSyncHealth

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

Source from the content-addressed store, hash-verified

3428 // ------------------------------------------------------------------
3429
3430 const toolSyncHealth = (cause: string): HealthCheckResult => ({
3431 status: "degraded",
3432 checkedAt: Date.now(),
3433 detail: `${toolSyncHealthDetailPrefix}: ${cause}`,
3434 reason: "tool_sync_failed",
3435 });
3436
3437 const syncHealthReason = (result: ResolveToolsResult): string =>
3438 result.incompleteReason ?? "plugin returned an incomplete tool catalog";

Callers 1

stampSyncedWithHealthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected