@aintela/chat 0.4.36 → 0.4.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,3 +11,12 @@ export declare const REASONING_HEADLINE_EVENT = "reasoningHeadline";
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function reasoningHeadlineTrails(parts: InteractionPart[]): string[][];
|
|
13
13
|
export declare function headlineText(raw: string): string | undefined;
|
|
14
|
+
/** The prefix every action headline is written with ("Vou precisar buscar os voos"). */
|
|
15
|
+
export declare const ACTION_PREFIX = "Vou precisar ";
|
|
16
|
+
/**
|
|
17
|
+
* A thought's highlights as prose (Ciro, 2026-10-07): consecutive actions share ONE «Vou precisar» — «Vou precisar
|
|
18
|
+
* resolver o lugar, buscar hotéis, apresentar as opções» — and anything that is not an action (an observation, a
|
|
19
|
+
* doubt) starts a paragraph of its own, as does the next action after it. Each paragraph ends as a sentence. Pure:
|
|
20
|
+
* a live thought re-renders it as highlights arrive, so its last paragraph simply grows.
|
|
21
|
+
*/
|
|
22
|
+
export declare function headlinesToProse(headlines: string[]): string[];
|