@columenlabs/lumen-ui-types 0.1.231 → 0.1.233
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/assistant.d.ts +12 -0
- package/package.json +1 -1
package/dist/assistant.d.ts
CHANGED
|
@@ -227,6 +227,13 @@ export type ChatItem = {
|
|
|
227
227
|
error?: string;
|
|
228
228
|
} | {
|
|
229
229
|
kind: 'compacted';
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* The app asks whether the message above starts new work that a fresh chat would answer better
|
|
233
|
+
* (`LumenAgent.offerFresh`); it was not answered or kept. Gone once the person chooses.
|
|
234
|
+
*/
|
|
235
|
+
| {
|
|
236
|
+
kind: 'fresh';
|
|
230
237
|
} | {
|
|
231
238
|
kind: 'stopped';
|
|
232
239
|
reason?: 'cap';
|
|
@@ -324,6 +331,9 @@ export type AssistantEvent = {
|
|
|
324
331
|
} | {
|
|
325
332
|
event: 'compacted';
|
|
326
333
|
data: Record<string, never>;
|
|
334
|
+
} | {
|
|
335
|
+
event: 'fresh';
|
|
336
|
+
data: Record<string, never>;
|
|
327
337
|
} | {
|
|
328
338
|
event: 'usage';
|
|
329
339
|
data: ChatUsage;
|
|
@@ -395,6 +405,8 @@ export interface AssistantMessage {
|
|
|
395
405
|
screen?: AssistantScreenMap;
|
|
396
406
|
/** How earlier screen calls ended since the last message. */
|
|
397
407
|
outcomes?: AssistantScreenOutcome[];
|
|
408
|
+
/** The person chose to keep this message in this chat: the agent does not offer a fresh one. */
|
|
409
|
+
stay?: boolean;
|
|
398
410
|
}
|
|
399
411
|
/** A tier as the person set it, with what it runs. */
|
|
400
412
|
export interface AssistantTierRow {
|