myagent-ai 1.6.4 → 1.6.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/web/ui/chat.html +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myagent-ai",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "本地桌面端执行型AI助手 - Open Interpreter 风格 | Local Desktop Execution-Oriented AI Assistant",
5
5
  "main": "main.py",
6
6
  "bin": {
package/web/ui/chat.html CHANGED
@@ -3063,7 +3063,8 @@ async function loadSessions() {
3063
3063
  } catch (e) {
3064
3064
  // Offline - try cache
3065
3065
  state.sessions = state.agentSessions[state.activeAgent] || [];
3066
- renderSessions();
3066
+ renderSessions();
3067
+ }
3067
3068
 
3068
3069
  // Auto-select most recent session if none selected
3069
3070
  if (!state.activeSessionId && state.sessions.length > 0) {
@@ -4208,7 +4209,6 @@ async function callChatInject(text, choice) {
4208
4209
  toast(`注入失败: ${e.message}`, 'error');
4209
4210
  }
4210
4211
  }
4211
- }
4212
4212
 
4213
4213
  async function insertMessageToRunningSession(text) {
4214
4214
  // 立即将消息插入到当前正在进行的会话中