@inkeep/agents-ui-js 0.16.1 → 0.16.3

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 CHANGED
@@ -138,6 +138,7 @@ export declare interface AssistantAnswerDisplayedEvent {
138
138
  properties: {
139
139
  // message: Message
140
140
  conversationId?: string
141
+ messageId?: string
141
142
  }
142
143
  }
143
144
 
@@ -146,6 +147,7 @@ export declare interface AssistantCodeBlockCopiedEvent {
146
147
  properties: {
147
148
  // message: Message
148
149
  conversationId: string
150
+ messageId?: string
149
151
  language: string
150
152
  code: string
151
153
  }
@@ -156,6 +158,7 @@ export declare interface AssistantMessageCopiedEvent {
156
158
  properties: {
157
159
  // message: Message
158
160
  conversationId: string
161
+ messageId?: string
159
162
  }
160
163
  }
161
164
 
@@ -163,6 +166,8 @@ export declare interface AssistantMessageLinkOpenedEvent {
163
166
  eventName: 'assistant_message_inline_link_opened'
164
167
  properties: {
165
168
  // message: Message
169
+ conversationId: string
170
+ messageId?: string
166
171
  title?: string
167
172
  url?: string
168
173
  }
@@ -173,6 +178,7 @@ export declare interface AssistantMessageReceivedEvent {
173
178
  properties: {
174
179
  // message: Message
175
180
  conversationId?: string
181
+ messageId?: string
176
182
  }
177
183
  }
178
184
 
@@ -191,6 +197,7 @@ export declare interface AssistantSourceItemClickedEvent {
191
197
  properties: {
192
198
  // message: Message
193
199
  conversationId: string
200
+ messageId?: string
194
201
  link: TransformedSource
195
202
  }
196
203
  }
@@ -280,6 +287,9 @@ export declare type AvailableBuiltInIcons =
280
287
  | 'PiFileMarkdown'
281
288
  | 'PiFileLog'
282
289
  | 'PiFileJson'
290
+ | 'PiFile'
291
+ | 'PiFileSql'
292
+ | 'PiFilePy'
283
293
 
284
294
  export declare interface BaseFormField {
285
295
  name: string // input name -- must be unique
@@ -356,6 +366,7 @@ export declare interface ChatErrorEvent {
356
366
  eventName: 'chat_error'
357
367
  properties: {
358
368
  conversationId: string
369
+ messageId?: string
359
370
  error?: string
360
371
  }
361
372
  }
@@ -530,6 +541,9 @@ export declare interface CustomIcons {
530
541
  fileCsv: string
531
542
  fileLog: string
532
543
  fileJson: string
544
+ file: string
545
+ fileSql: string
546
+ filePy: string
533
547
  }
534
548
 
535
549
  export declare interface CustomMessageAction {
@@ -636,6 +650,7 @@ export declare interface FeedbackBody {
636
650
 
637
651
  declare interface FeedbackProperties {
638
652
  conversationId?: string
653
+ messageId?: string
639
654
  // message: Message
640
655
  details?: string | null
641
656
  }
@@ -702,6 +717,7 @@ export declare interface GetHelpOptionClickedEvent {
702
717
  properties: {
703
718
  getHelpOption: GetHelpOption
704
719
  conversationId?: string
720
+ messageId?: string
705
721
  }
706
722
  }
707
723
 
@@ -744,6 +760,12 @@ export declare interface InkeepAIChatSettings {
744
760
  */
745
761
  baseUrl?: string
746
762
 
763
+ /**
764
+ * Base API URL for analytics events (POST /run/v1/events).
765
+ * Defaults to `baseUrl` when not set.
766
+ */
767
+ analyticsApiBaseUrl?: string
768
+
747
769
  /**
748
770
  * @deprecated Use `appId` instead
749
771
  * API key for requests.
@@ -931,7 +953,6 @@ export declare interface InkeepAIChatSettings {
931
953
  */
932
954
  messageActions?: CustomMessageAction[]
933
955
 
934
-
935
956
  /**
936
957
  * Custom labels for the chat interface's action buttons.
937
958
  * Use this for internationalization or to better match your application's terminology.
@@ -1842,7 +1863,7 @@ export declare interface TransformedSource {
1842
1863
  * tabs: ['Docs', 'API']
1843
1864
  * ```
1844
1865
  * You can also specify different breadcrumbs for specific tab.
1845
- *
1866
+ *
1846
1867
  * ```ts
1847
1868
  * tabs: ['Docs', ['API', { breadcrumbs: ['Guides', 'API'] }]]
1848
1869
  * ```
@@ -1915,6 +1936,7 @@ export declare interface UserEscalationIndicatedEvent {
1915
1936
  getHelpOption?: GetHelpOption
1916
1937
  getHelpOptionName?: string
1917
1938
  conversationId?: string
1939
+ messageId?: string
1918
1940
  }
1919
1941
  }
1920
1942
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-ui-js",
3
- "version": "0.16.1",
3
+ "version": "0.16.3",
4
4
  "description": "",
5
5
  "license": "Inkeep, Inc. Customer License (IICL) v1.1",
6
6
  "homepage": "",
@@ -55,7 +55,7 @@
55
55
  "vite": "5.4.11",
56
56
  "vite-bundle-visualizer": "^1.2.1",
57
57
  "vite-plugin-dts": "4.4.0",
58
- "@inkeep/agents-ui": "0.16.1"
58
+ "@inkeep/agents-ui": "0.16.3"
59
59
  },
60
60
  "module": "./dist/embed.js",
61
61
  "types": "./dist/types.d.ts",