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

Function getTeammateColor

src/utils/teammate.ts:138–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136 * Priority: AsyncLocalStorage (in-process) > dynamicTeamContext (tmux teammates).
137 */
138export function getTeammateColor(): string | undefined {
139 const inProcessCtx = getTeammateContext()
140 if (inProcessCtx) return inProcessCtx.color
141 return dynamicTeamContext?.color
142}
143
144/**
145 * Returns true if this teammate session requires plan mode before implementation.

Callers 11

callFunction · 0.50
handleMessageFunction · 0.50
handleBroadcastFunction · 0.50
handleShutdownRequestFunction · 0.50
handleShutdownApprovalFunction · 0.50
handleShutdownRejectionFunction · 0.50
WorkerPendingPermissionFunction · 0.50
getTeammateThemeColorFunction · 0.50
useSwarmBannerFunction · 0.50
getBorderColorFunction · 0.50

Calls 1

getTeammateContextFunction · 0.85

Tested by

no test coverage detected