mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-26 03:03:04 +00:00
docs(app): date agent turn compatibility cleanup
This commit is contained in:
@@ -42,8 +42,9 @@ export function normalizeAgentSnapshot(snapshot: AgentSnapshotPayload, serverId:
|
||||
: null;
|
||||
const archivedAt = snapshot.archivedAt ? new Date(snapshot.archivedAt) : null;
|
||||
const parentAgentId = getParentAgentIdFromLabels(snapshot.labels);
|
||||
// COMPAT(agentTurnIdentity): old daemons expose only status. Normalize that legacy
|
||||
// signal once so the rest of the app consumes one activity shape.
|
||||
// COMPAT(agentTurnIdentity): added in v0.2.6, remove after 2027-01-31 once daemon floor >= v0.2.6.
|
||||
// Old daemons expose only status. Normalize that legacy signal once so the rest
|
||||
// of the app consumes one activity shape.
|
||||
const activeTurn = normalizeActiveTurn(snapshot, lastUserMessageAt);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user