agentgui 1.0.545 → 1.0.546
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/package.json +1 -1
- package/static/js/client.js +9 -0
- package/static/js/features.js +2 -0
package/package.json
CHANGED
package/static/js/client.js
CHANGED
|
@@ -191,6 +191,15 @@ class AgentGUIClient {
|
|
|
191
191
|
if (dot) dot.classList.remove('degrading');
|
|
192
192
|
});
|
|
193
193
|
|
|
194
|
+
// Switch to idle view when selecting non-streaming conversation
|
|
195
|
+
window.addEventListener('conversation-selected', (e) => {
|
|
196
|
+
const convId = e.detail.conversationId;
|
|
197
|
+
const isStreaming = convId && this.state.streamingConversations.has(convId);
|
|
198
|
+
if (!isStreaming && window.switchView) {
|
|
199
|
+
window.switchView('chat');
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
|
|
194
203
|
// Preserve controls state across tab switches
|
|
195
204
|
window.addEventListener('view-switched', (e) => {
|
|
196
205
|
const view = e.detail.view;
|