MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / sanitizeAppNames

Function sanitizeAppNames

source code/utils/computerUse/appNames.ts:152–159  ·  view source on GitHub ↗
(raw: readonly string[])

Source from the content-addressed store, hash-verified

150}
151
152function sanitizeAppNames(raw: readonly string[]): string[] {
153 const filtered = sanitizeCore(raw, true)
154 if (filtered.length <= APP_NAME_MAX_COUNT) return filtered
155 return [
156 ...filtered.slice(0, APP_NAME_MAX_COUNT),
157 `… and ${filtered.length - APP_NAME_MAX_COUNT} more`,
158 ]
159}
160
161function sanitizeTrustedNames(raw: readonly string[]): string[] {
162 return sanitizeCore(raw, false)

Callers 1

filterAppsForDescriptionFunction · 0.85

Calls 1

sanitizeCoreFunction · 0.85

Tested by

no test coverage detected