@kaltura-sdk/avatars 1.16.1 → 1.16.2
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 +11 -4
- package/package.json +4 -4
package/index.esm.js
CHANGED
|
@@ -20765,6 +20765,9 @@ const source$a = createTinyPubsubEventsSource(websocketMessage, {
|
|
|
20765
20765
|
// turnId repeats (confirmed against kaltura_agent_executer.py) —
|
|
20766
20766
|
// remove-stale-chat-entries-for-retry.ts matches on it for retry cleanup.
|
|
20767
20767
|
//
|
|
20768
|
+
// `speechId` is set on every entry too — unlike messageId, it stays constant
|
|
20769
|
+
// across a filler segment and its later tool-call answer, so group-chat-log.ts keys on it.
|
|
20770
|
+
//
|
|
20768
20771
|
// Opening phrase (resumed thread, avatar speaks first): never sent as a
|
|
20769
20772
|
// normal turnId-keyed segment — `init_response` fires too early (before
|
|
20770
20773
|
// this actor's setHandler(), dropped by the pubsub queue reset), so
|
|
@@ -20813,7 +20816,8 @@ const onChatLog = fromCallback(({
|
|
|
20813
20816
|
role: 'user',
|
|
20814
20817
|
text: parsed.human,
|
|
20815
20818
|
turnId: payload.turnId,
|
|
20816
|
-
messageId: parsed.messageId
|
|
20819
|
+
messageId: parsed.messageId,
|
|
20820
|
+
speechId: payload.speechId
|
|
20817
20821
|
}
|
|
20818
20822
|
});
|
|
20819
20823
|
}
|
|
@@ -20831,7 +20835,8 @@ const onChatLog = fromCallback(({
|
|
|
20831
20835
|
role: 'avatar',
|
|
20832
20836
|
text,
|
|
20833
20837
|
turnId: payload.turnId,
|
|
20834
|
-
messageId: parsed.messageId
|
|
20838
|
+
messageId: parsed.messageId,
|
|
20839
|
+
speechId: payload.speechId
|
|
20835
20840
|
}
|
|
20836
20841
|
});
|
|
20837
20842
|
}
|
|
@@ -20857,7 +20862,8 @@ const onChatLog = fromCallback(({
|
|
|
20857
20862
|
role: 'avatar',
|
|
20858
20863
|
text,
|
|
20859
20864
|
turnId: payload.turnId,
|
|
20860
|
-
messageId: parsed.messageId
|
|
20865
|
+
messageId: parsed.messageId,
|
|
20866
|
+
speechId: payload.speechId
|
|
20861
20867
|
}
|
|
20862
20868
|
});
|
|
20863
20869
|
}
|
|
@@ -20886,7 +20892,8 @@ const onChatLog = fromCallback(({
|
|
|
20886
20892
|
id: openingPhraseSpeechId !== null && openingPhraseSpeechId !== void 0 ? openingPhraseSpeechId : 'init_response',
|
|
20887
20893
|
role: 'avatar',
|
|
20888
20894
|
text: openingPhraseText,
|
|
20889
|
-
turnId: 'init_response'
|
|
20895
|
+
turnId: 'init_response',
|
|
20896
|
+
speechId: openingPhraseSpeechId !== null && openingPhraseSpeechId !== void 0 ? openingPhraseSpeechId : undefined
|
|
20890
20897
|
}
|
|
20891
20898
|
});
|
|
20892
20899
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaltura-sdk/avatars",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.2",
|
|
4
4
|
"author": "kaltura",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"repository": {
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
},
|
|
10
10
|
"types": "./src/index.d.ts",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@kaltura-sdk/rtc-avatar": "^1.
|
|
13
|
-
"@kaltura-sdk/rtc-core": "^1.
|
|
12
|
+
"@kaltura-sdk/rtc-avatar": "^1.33.1",
|
|
13
|
+
"@kaltura-sdk/rtc-core": "^1.26.1",
|
|
14
14
|
"@local/genie-shared-utils": "^1.0.0",
|
|
15
15
|
"@unisphere/core": "^1.99.0",
|
|
16
|
-
"@unisphere/genie-types": "^1.39.
|
|
16
|
+
"@unisphere/genie-types": "^1.39.6",
|
|
17
17
|
"@unisphere/notifications-core": "^1.25.0",
|
|
18
18
|
"@unisphere/runtime": "^1.98.0",
|
|
19
19
|
"@unisphere/runtime-js": "^1.96.0",
|