@yeaft/webchat-agent 1.0.664 → 1.0.666
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/local-runtime/server/handlers/agent-output.js +2 -2
- package/local-runtime/version.json +1 -1
- package/local-runtime/web/app.bundle.js +187 -152
- package/local-runtime/web/app.bundle.js.gz +0 -0
- package/local-runtime/web/index.html +2 -2
- package/local-runtime/web/style.bundle.css +1 -1
- package/local-runtime/web/style.bundle.css.gz +0 -0
- package/package.json +1 -1
- package/yeaft/sessions/session-crud.js +7 -6
- package/yeaft/vp/seed-defaults.js +155 -2
- package/yeaft/vp/seed-topup.js +86 -14
- package/yeaft/web-bridge.js +10 -0
|
@@ -679,7 +679,7 @@ export async function handleAgentOutput(agentId, agent, msg) {
|
|
|
679
679
|
id: event.sessionId,
|
|
680
680
|
name: event.name != null ? event.name : (existing.name || event.sessionId),
|
|
681
681
|
roster: Array.isArray(event.roster) ? event.roster : (existing.roster || []),
|
|
682
|
-
defaultVpId: event
|
|
682
|
+
defaultVpId: Object.hasOwn(event, 'defaultVpId') ? event.defaultVpId : (existing.defaultVpId || null),
|
|
683
683
|
workDir: existing.workDir || '',
|
|
684
684
|
config: existing.config || {},
|
|
685
685
|
...(existing.task ? { task: existing.task } : {}),
|
|
@@ -1047,7 +1047,7 @@ export async function handleAgentOutput(agentId, agent, msg) {
|
|
|
1047
1047
|
roster: Array.isArray(msg.roster)
|
|
1048
1048
|
? msg.roster
|
|
1049
1049
|
: (existing?.roster || []),
|
|
1050
|
-
defaultVpId: msg
|
|
1050
|
+
defaultVpId: Object.hasOwn(msg, 'defaultVpId')
|
|
1051
1051
|
? msg.defaultVpId
|
|
1052
1052
|
: (existing?.defaultVpId || null),
|
|
1053
1053
|
workDir: existing?.workDir || '',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.
|
|
1
|
+
{"version":"1.0.666"}
|