@inkeep/agents-ui-js-cloud 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/embed.js +10 -10
- package/dist/types.d.ts +24 -8
- package/package.json +3 -3
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
|
|
|
@@ -749,6 +765,12 @@ export declare interface InkeepAIChatSettings {
|
|
|
749
765
|
*/
|
|
750
766
|
baseUrl?: string
|
|
751
767
|
|
|
768
|
+
/**
|
|
769
|
+
* Base API URL for analytics events (POST /run/v1/events).
|
|
770
|
+
* Defaults to `baseUrl` when not set.
|
|
771
|
+
*/
|
|
772
|
+
analyticsApiBaseUrl?: string
|
|
773
|
+
|
|
752
774
|
/**
|
|
753
775
|
* @deprecated Use `appId` instead
|
|
754
776
|
* API key for requests.
|
|
@@ -936,7 +958,6 @@ export declare interface InkeepAIChatSettings {
|
|
|
936
958
|
*/
|
|
937
959
|
messageActions?: CustomMessageAction[]
|
|
938
960
|
|
|
939
|
-
|
|
940
961
|
/**
|
|
941
962
|
* Custom labels for the chat interface's action buttons.
|
|
942
963
|
* Use this for internationalization or to better match your application's terminology.
|
|
@@ -1099,12 +1120,6 @@ export declare type InkeepCallbackEvent = InkeepEventWithCommon
|
|
|
1099
1120
|
export declare interface InkeepCloudAIChatSettings extends InkeepAIChatSettings {}
|
|
1100
1121
|
|
|
1101
1122
|
export declare interface InkeepCloudBaseSettings extends InkeepBaseSettings {
|
|
1102
|
-
/**
|
|
1103
|
-
* Custom base URL for analytics API endpoints.
|
|
1104
|
-
* Useful when routing analytics requests through a proxy.
|
|
1105
|
-
* Should include protocol (e.g., 'https://analytics.your-proxy.com')
|
|
1106
|
-
*/
|
|
1107
|
-
analyticsApiBaseUrl?: string
|
|
1108
1123
|
/**
|
|
1109
1124
|
* Environment setting for the widget.
|
|
1110
1125
|
* Affects API endpoints and debug behaviors.
|
|
@@ -1984,7 +1999,7 @@ export declare interface TransformedSource {
|
|
|
1984
1999
|
* tabs: ['Docs', 'API']
|
|
1985
2000
|
* ```
|
|
1986
2001
|
* You can also specify different breadcrumbs for specific tab.
|
|
1987
|
-
*
|
|
2002
|
+
*
|
|
1988
2003
|
* ```ts
|
|
1989
2004
|
* tabs: ['Docs', ['API', { breadcrumbs: ['Guides', 'API'] }]]
|
|
1990
2005
|
* ```
|
|
@@ -2057,6 +2072,7 @@ export declare interface UserEscalationIndicatedEvent {
|
|
|
2057
2072
|
getHelpOption?: GetHelpOption
|
|
2058
2073
|
getHelpOptionName?: string
|
|
2059
2074
|
conversationId?: string
|
|
2075
|
+
messageId?: string
|
|
2060
2076
|
}
|
|
2061
2077
|
}
|
|
2062
2078
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-ui-js-cloud",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Inkeep, Inc. Customer License (IICL) v1.1",
|
|
6
6
|
"homepage": "",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"react": "19.0.0",
|
|
39
39
|
"react-dom": "19.0.0",
|
|
40
40
|
"uuid": "^11.1.0",
|
|
41
|
-
"@inkeep/agents-ui-cloud": "0.16.
|
|
41
|
+
"@inkeep/agents-ui-cloud": "0.16.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@biomejs/biome": "1.9.4",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"vite": "5.4.11",
|
|
57
57
|
"vite-bundle-visualizer": "^1.2.1",
|
|
58
58
|
"vite-plugin-dts": "4.4.0",
|
|
59
|
-
"@inkeep/agents-ui": "0.16.
|
|
59
|
+
"@inkeep/agents-ui": "0.16.3"
|
|
60
60
|
},
|
|
61
61
|
"module": "./dist/embed.js",
|
|
62
62
|
"types": "./dist/types.d.ts",
|