document.querySelector('aparte-chat-bubble').setSegments([
// showDuration, from the timing a streamed block carries: "Thought for 8s" (under a second reads "1s").
{ id: 's1', type: 'thinking', isStreaming: false, showDuration: true, meta: { aparte: { startedAt: 1_000_000, endedAt: 1_008_000 } }, content: 'Weighing the two transports against the release date.' },
// showDuration without timing (a history restored without it): just "Thought".
{ id: 's2', type: 'thinking', isStreaming: false, showDuration: true, content: 'Checking the key stays on the server.' },
// The app's own label wins over both.
{ id: 's3', type: 'thinking', isStreaming: false, label: '8.2s · 1.2k tokens', content: 'Drafting the answer.' },
]);