( teamName = 'team-alpha', memberName = 'agent-beta', )
| 27 | } |
| 28 | |
| 29 | async function writeTeamFixture( |
| 30 | teamName = 'team-alpha', |
| 31 | memberName = 'agent-beta', |
| 32 | ): Promise<void> { |
| 33 | await writeTeamFileAsync(teamName, { |
| 34 | name: teamName, |
| 35 | createdAt: Date.now(), |
| 36 | leadAgentId: 'lead-agent', |
| 37 | members: [ |
| 38 | { |
| 39 | agentId: 'agent-id-beta', |
| 40 | name: memberName, |
| 41 | joinedAt: Date.now(), |
| 42 | tmuxPaneId: 'pane-1', |
| 43 | cwd: '/repo/worktree', |
| 44 | subscriptions: [], |
| 45 | }, |
| 46 | ], |
| 47 | }) |
| 48 | } |
| 49 | |
| 50 | function createUserMessage( |
| 51 | uuid: string, |
no test coverage detected