mirror of
https://github.com/block/buzz.git
synced 2026-11-27 11:41:21 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user