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

Function sanitizeAgentName

src/utils/swarm/teamHelpers.ts:108–110  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

106 * Replaces @ with - to prevent ambiguity in the agentName@teamName format.
107 */
108export function sanitizeAgentName(name: string): string {
109 return name.replace(/@/g, '-')
110}
111
112/**
113 * Gets the path to a team's directory

Callers 3

handleSpawnSplitPaneFunction · 0.85
handleSpawnInProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected