@unisphere/genie-types 1.35.0 → 1.36.0
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/index.esm.js
CHANGED
|
@@ -2078,7 +2078,7 @@ const getResolvedWidgetName = params => {
|
|
|
2078
2078
|
if (params.widgetName === 'unisphere.widget.genie' && GENIE_RUNTIMES.includes(params.runtimeName)) {
|
|
2079
2079
|
return 'unisphere.widget.genie-tools';
|
|
2080
2080
|
}
|
|
2081
|
-
if (params.widgetName === 'unisphere.widget.genie' && GEN_UI_RUNTIMES.includes(params.runtimeName)) {
|
|
2081
|
+
if ((params.widgetName === 'unisphere.widget.genie' || params.widgetName === 'unisphere.widget.genie-tools') && GEN_UI_RUNTIMES.includes(params.runtimeName)) {
|
|
2082
2082
|
return 'unisphere.widget.gen-ui';
|
|
2083
2083
|
}
|
|
2084
2084
|
return params.widgetName;
|
|
@@ -3390,6 +3390,11 @@ const blockVisualContextSchema = {
|
|
|
3390
3390
|
type: 'primitive',
|
|
3391
3391
|
value: 'number',
|
|
3392
3392
|
optional: true
|
|
3393
|
+
},
|
|
3394
|
+
avatarSessionId: {
|
|
3395
|
+
type: 'primitive',
|
|
3396
|
+
value: 'string',
|
|
3397
|
+
optional: true
|
|
3393
3398
|
}
|
|
3394
3399
|
}
|
|
3395
3400
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unisphere/genie-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.36.0",
|
|
4
4
|
"author": "kaltura",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"repository": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"types": "./src/index.d.ts",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@kaltura-sdk/rtc-core": "^1.25.
|
|
12
|
+
"@kaltura-sdk/rtc-core": "^1.25.16",
|
|
13
13
|
"@unisphere/core": "^1.99.0",
|
|
14
14
|
"@unisphere/runtime": "^1.98.0",
|
|
15
15
|
"@unisphere/runtime-js": "^1.96.0"
|
|
@@ -5,7 +5,7 @@ export type ChatEntry = {
|
|
|
5
5
|
text: string;
|
|
6
6
|
turnId?: string;
|
|
7
7
|
};
|
|
8
|
-
export type ClientToolCallLogEntryStatus = 'fired' | 'unregistered' | 'completed' | 'error';
|
|
8
|
+
export type ClientToolCallLogEntryStatus = 'fired' | 'unregistered' | 'unregistered-awaiting-response' | 'completed' | 'error' | 'no-response' | 'delivery-error' | 'invalid-payload' | 'invalid-arguments';
|
|
9
9
|
export type ClientToolCallLogEntry = {
|
|
10
10
|
id: string;
|
|
11
11
|
name: string;
|
|
@@ -26,6 +26,8 @@ export interface BlockVisualContext {
|
|
|
26
26
|
groupIndex?: number;
|
|
27
27
|
/** Custom UI styling and behavior options */
|
|
28
28
|
customization?: ChatCustomization;
|
|
29
|
+
/** Optional session identifier for the avatar */
|
|
30
|
+
avatarSessionId?: string;
|
|
29
31
|
}
|
|
30
32
|
export declare const blockVisualContextSchema: ValidatorSchema;
|
|
31
33
|
export {};
|