(config: {
agentId: string
agentName: string
teamName: string
color?: string
planModeRequired: boolean
parentSessionId: string
abortController: AbortController
})
| 81 | * @returns A complete TeammateContext with isInProcess: true |
| 82 | */ |
| 83 | export function createTeammateContext(config: { |
| 84 | agentId: string |
| 85 | agentName: string |
| 86 | teamName: string |
| 87 | color?: string |
| 88 | planModeRequired: boolean |
| 89 | parentSessionId: string |
| 90 | abortController: AbortController |
| 91 | }): TeammateContext { |
| 92 | return { |
| 93 | ...config, |
| 94 | isInProcess: true, |
| 95 | } |
| 96 | } |
| 97 |
no outgoing calls
no test coverage detected