myagent-ai 1.15.77 → 1.15.78

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myagent-ai",
3
- "version": "1.15.77",
3
+ "version": "1.15.78",
4
4
  "description": "本地桌面端执行型AI助手 - Open Interpreter 风格 | Local Desktop Execution-Oriented AI Assistant",
5
5
  "main": "main.py",
6
6
  "bin": {
@@ -1327,9 +1327,14 @@ async function sendMessage(opts) {
1327
1327
  document.getElementById('sendBtn').disabled = true;
1328
1328
  clearDraft();
1329
1329
 
1330
+ // 用户发消息后,强制滚到底部
1331
+ _userScrollLocked = false;
1332
+ scrollToBottom(true);
1333
+
1330
1334
  // Show typing
1331
1335
  state.isGenerating = true;
1332
1336
  showTypingIndicator();
1337
+ scrollToBottom(true);
1333
1338
  document.getElementById('sendBtn').style.display = 'none';
1334
1339
  document.getElementById('stopBtn').style.display = '';
1335
1340