@columenlabs/lumen-ui-types 0.1.226 → 0.1.228
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
|
@@ -88,6 +88,16 @@ export interface StepItem {
|
|
|
88
88
|
};
|
|
89
89
|
/** A web tool's call: what a search found, or the page it read. */
|
|
90
90
|
web?: StepWeb;
|
|
91
|
+
/** An image the tool made (its output's `image`): the panel shows it as a card. */
|
|
92
|
+
image?: StepImage;
|
|
93
|
+
}
|
|
94
|
+
/** An image a tool made: where the browser reads it, its words for a screen reader, and what it cost. */
|
|
95
|
+
export interface StepImage {
|
|
96
|
+
/** A same-site path (`/api/…`) or an https address. */
|
|
97
|
+
url: string;
|
|
98
|
+
alt?: string;
|
|
99
|
+
/** What it cost, as the app says it ("4 credits"). */
|
|
100
|
+
cost?: string;
|
|
91
101
|
}
|
|
92
102
|
/** A page on the web: its address and, when known, its title. */
|
|
93
103
|
export interface WebLink {
|
|
@@ -375,6 +385,8 @@ export interface AssistantMessage {
|
|
|
375
385
|
refs?: AssistantRefNote[];
|
|
376
386
|
/** The piece of the chat this message replies to (Reply on selected text). */
|
|
377
387
|
quote?: AssistantQuote;
|
|
388
|
+
/** A composer mode the person turned on for this message (`LumenAssistant` `modes`), by id. */
|
|
389
|
+
use?: string;
|
|
378
390
|
/** The tier the person picked for this message (`#`): a higher one takes it as a task, the same or a lower one answers it. */
|
|
379
391
|
tier?: string;
|
|
380
392
|
/** The browser's IANA zone, for the assistant's bearings (the time now where the person is). */
|