feat: add project-grouped agent fetch with checkout-lite placement

This commit is contained in:
Mohamed Boudra
2026-02-09 15:44:58 +07:00
parent 8403ece4ed
commit 1810ace233
13 changed files with 1063 additions and 117 deletions
@@ -237,6 +237,7 @@ function normalizeAgentSnapshot(
attentionTimestamp,
archivedAt,
labels: snapshot.labels,
projectPlacement: null,
};
}
@@ -557,7 +558,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);