@columenlabs/lumen-ui-types 0.1.231 → 0.1.232

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.
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@columenlabs/lumen-ui-types",
3
- "version": "0.1.231",
3
+ "version": "0.1.232",
4
4
  "description": "Lumen's view model: views, formulas, domains and joins, frames.",
5
5
  "license": "MIT",
6
6
  "type": "module",