MCPcopy Create free account
hub / github.com/apache/maka / sourceStateChanged

Function sourceStateChanged

packages/runtime/src/request-shape.ts:564–569  ·  view source on GitHub ↗
(
  current: ToolAvailabilityDiagnostic | undefined,
  prior: ToolAvailabilityDiagnostic | undefined,
)

Source from the content-addressed store, hash-verified

562}
563
564function sourceStateChanged(
565 current: ToolAvailabilityDiagnostic | undefined,
566 prior: ToolAvailabilityDiagnostic | undefined,
567): boolean {
568 return stableStringify(current ?? null) !== stableStringify(prior ?? null);
569}
570
571function sourceCatalogShape(diagnostic: ToolAvailabilityDiagnostic): unknown {
572 return {

Callers 1

classifyToolSchemaChangeFunction · 0.85

Calls 1

stableStringifyFunction · 0.70

Tested by

no test coverage detected