agentgui 1.0.138 → 1.0.139
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 +0 -5
package/package.json
CHANGED
package/static/js/client.js
CHANGED
|
@@ -223,7 +223,6 @@ class AgentGUIClient {
|
|
|
223
223
|
const position = scrollContainer.scrollTop;
|
|
224
224
|
try {
|
|
225
225
|
localStorage.setItem(`scroll_${conversationId}`, position.toString());
|
|
226
|
-
console.log(`Saved scroll position for ${conversationId}: ${position}`);
|
|
227
226
|
} catch (e) {
|
|
228
227
|
console.warn('Failed to save scroll position:', e);
|
|
229
228
|
}
|
|
@@ -245,7 +244,6 @@ class AgentGUIClient {
|
|
|
245
244
|
if (scrollContainer && !isNaN(scrollTop)) {
|
|
246
245
|
requestAnimationFrame(() => {
|
|
247
246
|
scrollContainer.scrollTop = scrollTop;
|
|
248
|
-
console.log(`Restored scroll position for ${conversationId}: ${scrollTop}`);
|
|
249
247
|
});
|
|
250
248
|
}
|
|
251
249
|
}
|
|
@@ -985,7 +983,6 @@ class AgentGUIClient {
|
|
|
985
983
|
}
|
|
986
984
|
|
|
987
985
|
pollState.isPolling = false;
|
|
988
|
-
console.log('Stopped chunk polling');
|
|
989
986
|
}
|
|
990
987
|
|
|
991
988
|
/**
|
|
@@ -1073,7 +1070,6 @@ class AgentGUIClient {
|
|
|
1073
1070
|
*/
|
|
1074
1071
|
disableControls() {
|
|
1075
1072
|
if (this.ui.sendButton) this.ui.sendButton.disabled = true;
|
|
1076
|
-
if (this.ui.messageInput) this.ui.messageInput.disabled = true;
|
|
1077
1073
|
if (this.ui.agentSelector) this.ui.agentSelector.disabled = true;
|
|
1078
1074
|
}
|
|
1079
1075
|
|
|
@@ -1082,7 +1078,6 @@ class AgentGUIClient {
|
|
|
1082
1078
|
*/
|
|
1083
1079
|
enableControls() {
|
|
1084
1080
|
if (this.ui.sendButton) this.ui.sendButton.disabled = false;
|
|
1085
|
-
if (this.ui.messageInput) this.ui.messageInput.disabled = false;
|
|
1086
1081
|
if (this.ui.agentSelector) this.ui.agentSelector.disabled = false;
|
|
1087
1082
|
}
|
|
1088
1083
|
|