for (const block of msg.blocks) {
if (block.type === 'text' && typeof block.text === 'string') {
kind: ResponsePartKind.Markdown,
id: `${this._active.id}#${msg.uuid}#text-${textPartCounter++}`,
content: block.text,
});
} else if (block.type === 'thinking' && typeof block.thinking === 'string') {
this._active.responseParts.push({