MCPcopy
hub / github.com/codeaashu/claude-code / truncateDescription

Function truncateDescription

src/hooks/unifiedSuggestions.ts:73–75  ·  view source on GitHub ↗
(description: string)

Source from the content-addressed store, hash-verified

71const DESCRIPTION_MAX_LENGTH = 60
72
73function truncateDescription(description: string): string {
74 return truncateToWidth(description, DESCRIPTION_MAX_LENGTH)
75}
76
77function generateAgentSuggestions(
78 agents: AgentDefinition[],

Callers 2

generateAgentSuggestionsFunction · 0.85

Calls 1

truncateToWidthFunction · 0.85

Tested by

no test coverage detected