Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(web): use the batched agent_session_log event shape in the turn-state test (#6659)

Wolf Mermelsteine03571f35cd8
diff --git a/apps/web/src/lib/core/agent-session/AgentSession.test.ts b/apps/web/src/lib/core/agent-session/AgentSession.test.ts
index 1623abf4dd..d3a9f99e58 100644
--- a/apps/web/src/lib/core/agent-session/AgentSession.test.ts
+++ b/apps/web/src/lib/core/agent-session/AgentSession.test.ts
@@ -388,7 +388,7 @@ describe('AgentSession', () => {
fold.pushSession.mockResolvedValueOnce([
{ kind: 'metadata', metadata: { turn: 'idle' } },
]);
- AgentSession.ingest({ agentSessionId: SESSION, ...row(2) });
+ AgentSession.ingest({ agentSessionId: SESSION, entries: [row(2)] });
await settle();
expect(sessionTurn(SESSION)).toBe('idle');
live.release();