MCPcopy
hub / github.com/thesysdev/openui / formatSig

Function formatSig

packages/lang-core/src/parser/prompt.ts:550–551  ·  view source on GitHub ↗
(comp: { signature: string; description?: string })

Source from the content-addressed store, hash-verified

548 }
549
550 const formatSig = (comp: { signature: string; description?: string }) =>
551 comp.description ? `${comp.signature} — ${comp.description}` : comp.signature;
552
553 if (spec.componentGroups?.length) {
554 const grouped = new Set<string>();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected