feat(desktop): add timestamps and avatar chips to ACP transcript (#463)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Wes
2026-05-03 11:32:00 -06:00
committed by GitHub
parent 0762eb3ce3
commit 5db3f0890e
6 changed files with 190 additions and 18 deletions

View File

@@ -147,6 +147,12 @@ export function buildTranscript(events: ObserverEvent[]): TranscriptItem[] {
existing.args = Object.keys(args).length > 0 ? args : existing.args;
if (result) existing.result = result;
existing.isError = isError || existing.isError;
if (
(status === "completed" || status === "failed") &&
existing.completedAt == null
) {
existing.completedAt = timestamp;
}
return;
}
sealOpenMessages();
@@ -161,6 +167,8 @@ export function buildTranscript(events: ObserverEvent[]): TranscriptItem[] {
result,
isError,
timestamp,
startedAt: timestamp,
completedAt: null,
};
items.push(item);
itemsById.set(id, item);