MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getTeammateColor

Function getTeammateColor

src/utils/swarm/teammateLayoutManager.ts:38–42  ·  view source on GitHub ↗
(
  teammateId: string,
)

Source from the content-addressed store, hash-verified

36 * Gets the assigned color for a teammate, if any.
37 */
38export function getTeammateColor(
39 teammateId: string,
40): AgentColorName | undefined {
41 return teammateColorAssignments.get(teammateId)
42}
43
44/**
45 * Clears all teammate color assignments.

Callers 3

initializeTeammateHooksFunction · 0.70
createPermissionRequestFunction · 0.70

Calls 1

getMethod · 0.65

Tested by

no test coverage detected