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

Function formatAgentId

src/utils/agentId.ts:38–40  ·  view source on GitHub ↗
(agentName: string, teamName: string)

Source from the content-addressed store, hash-verified

36 * Formats an agent ID in the format `agentName@teamName`.
37 */
38export function formatAgentId(agentName: string, teamName: string): string {
39 return `${agentName}@${teamName}`
40}
41
42/**
43 * Parses an agent ID into its components.

Callers 7

handleSpawnSplitPaneFunction · 0.85
handleSpawnInProcessFunction · 0.85
callFunction · 0.85
callFunction · 0.85
spawnInProcessTeammateFunction · 0.85
spawnMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected