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

Function writeTeamFixture

src/session/replTurnController.test.ts:29–48  ·  view source on GitHub ↗
(
  teamName = 'team-alpha',
  memberName = 'agent-beta',
)

Source from the content-addressed store, hash-verified

27}
28
29async 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
50function createUserMessage(
51 uuid: string,

Callers 1

Calls 1

writeTeamFileAsyncFunction · 0.85

Tested by

no test coverage detected