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

Function toolSyncHealth

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

Source from the content-addressed store, hash-verified

3232 // ------------------------------------------------------------------
3233
3234 const toolSyncHealth = (cause: string): HealthCheckResult => ({
3235 status: "degraded",
3236 checkedAt: Date.now(),
3237 detail: `${toolSyncHealthDetailPrefix}: ${cause}`,
3238 reason: "tool_sync_failed",
3239 });
3240
3241 const syncHealthReason = (result: ResolveToolsResult): string =>
3242 result.incompleteReason ?? "plugin returned an incomplete tool catalog";

Callers 1

stampSyncedWithHealthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected