@crouton-kit/humanloop 0.3.26 → 0.3.27
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.
- package/dist/types.d.ts +6 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -28,8 +28,14 @@ export interface InteractionPreAnswer {
|
|
|
28
28
|
}
|
|
29
29
|
export interface Interaction {
|
|
30
30
|
id: string;
|
|
31
|
+
/** Short topic — the thing being decided, not the decision. */
|
|
31
32
|
title: string;
|
|
33
|
+
/** ONE-sentence TL;DR of the choice/stakes. Renders as markdown in the
|
|
34
|
+
* scrollable region; keep it a single line — long prose belongs in `body`. */
|
|
32
35
|
subtitle?: string;
|
|
36
|
+
/** The full explanation: directive-flavored markdown rendered by termrender.
|
|
37
|
+
* This is where long or rich content goes (never the wall of detail in
|
|
38
|
+
* `subtitle`). `bodyPath` is the same content sourced from a file. */
|
|
33
39
|
body?: string;
|
|
34
40
|
bodyPath?: string;
|
|
35
41
|
options: InteractionOption[];
|