MCPcopy Create free account
hub / github.com/Noumena-Network/code / setDynamicTeamContext

Function setDynamicTeamContext

src/utils/teammate.ts:56–67  ·  view source on GitHub ↗
(
  context: {
    agentId: string
    agentName: string
    teamName: string
    color?: string
    planModeRequired: boolean
    parentSessionId?: string
  } | null,
)

Source from the content-addressed store, hash-verified

54 * Set the dynamic team context (called when joining a team at runtime)
55 */
56export function setDynamicTeamContext(
57 context: {
58 agentId: string
59 agentName: string
60 teamName: string
61 color?: string
62 planModeRequired: boolean
63 parentSessionId?: string
64 } | null,
65): void {
66 dynamicTeamContext = context
67}
68
69/**
70 * Clear the dynamic team context (called when leaving a team)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected