Merge branch 'enhance-agent-fetch-sidebar'

This commit is contained in:
Mohamed Boudra
2026-02-09 15:45:33 +07:00
13 changed files with 1063 additions and 117 deletions
@@ -238,6 +238,7 @@ function normalizeAgentSnapshot(
attentionTimestamp,
archivedAt,
labels: snapshot.labels,
projectPlacement: null,
};
}
@@ -583,7 +584,10 @@ export function SessionProvider({
return;
}
const agent = normalizeAgentSnapshot(update.agent, serverId);
const agent = {
...normalizeAgentSnapshot(update.agent, serverId),
projectPlacement: update.project,
};
console.log("[Session] Agent update:", agent.id, agent.status);