MCPcopy Create free account
hub / github.com/Noumena-Network/code / sortToolNames

Function sortToolNames

src/tools/toolInventoryReport.ts:31–35  ·  view source on GitHub ↗
(names: Iterable<string>)

Source from the content-addressed store, hash-verified

29}
30
31function sortToolNames(names: Iterable<string>): string[] {
32 return sortToolsByPolicy([...new Set(names)].map(name => ({ name }))).map(
33 tool => tool.name,
34 )
35}
36
37function collectGap(
38 entries: readonly ToolInventoryEntry[],

Callers 1

collectGapFunction · 0.70

Calls 1

sortToolsByPolicyFunction · 0.85

Tested by

no test coverage detected