Skip to contentOpen History to see the last commit
assistantInsights.ts
3 lines181 Bytes
1export function shouldPreserveAssistantLineBreaks(text: string): boolean { 2 return /^★ Insight(?:\s|─)|(?<![^\r\n])`★ Insight[ \t]+─{3,}`[ \t]*(?![^\r\n])/mu.test(text);