myagent-ai 1.15.86 → 1.15.88

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/memory/manager.py CHANGED
@@ -22,7 +22,7 @@ from datetime import datetime, timezone
22
22
  from typing import Any, Dict, List, Optional, Tuple
23
23
 
24
24
  from core.logger import get_logger
25
- from core.utils import generate_id, timestamp, truncate_str
25
+ from core.utils import generate_id, timestamp, truncate_str, get_config_tz
26
26
 
27
27
  logger = get_logger("myagent.memory")
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myagent-ai",
3
- "version": "1.15.86",
3
+ "version": "1.15.88",
4
4
  "description": "本地桌面端执行型AI助手 - Open Interpreter 风格 | Local Desktop Execution-Oriented AI Assistant",
5
5
  "main": "main.py",
6
6
  "bin": {
package/start.js CHANGED
@@ -420,10 +420,11 @@ function cmdUpdate(pkgDir) {
420
420
  if (fs.existsSync(newStartJs)) {
421
421
  console.log(` 已下载 v${newVer},正在切换到新版本...`);
422
422
  console.log("");
423
- const { execSync } = require("child_process");
424
- execSync(process.execPath + ' "' + newStartJs + '" update', {
425
- stdio: "inherit", windowsHide: true, timeout: 30000,
423
+ const { spawn } = require("child_process");
424
+ const webChild = spawn(process.execPath, [newStartJs, "web"], {
425
+ stdio: "inherit", windowsHide: true, detached: !IS_WIN,
426
426
  });
427
+ webChild.unref();
427
428
  return;
428
429
  }
429
430
  }