Merge branch 'enhance-agent-fetch-sidebar'
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user