myagent-ai 1.23.71 → 1.23.72

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.
@@ -1089,8 +1089,8 @@ async def cmd_chat(args):
1089
1089
  print("错误: 必须指定 --message 或 --file", file=sys.stderr)
1090
1090
  sys.exit(1)
1091
1091
 
1092
- # [v1.23.71] Agent 查找:按 ID 匹配(每个 Agent 有唯一 12 位 hex ID)
1093
- agents_data_dir = Path(__file__).parent.parent / "data" / "agents"
1092
+ # [v1.23.72] Agent 查找:按 ID 匹配,数据目录为 ~/.myagent/data/agents/
1093
+ agents_data_dir = Path.home() / ".myagent" / "data" / "agents"
1094
1094
  resolved_path = None
1095
1095
 
1096
1096
  if agents_data_dir.exists():
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myagent-ai",
3
- "version": "1.23.71",
3
+ "version": "1.23.72",
4
4
  "description": "本地桌面端执行型AI助手 - Open Interpreter 风格 | Local Desktop Execution-Oriented AI Assistant",
5
5
  "main": "main.py",
6
6
  "bin": {
package/scripts/cli.py CHANGED
@@ -1089,8 +1089,8 @@ async def cmd_chat(args):
1089
1089
  print("错误: 必须指定 --message 或 --file", file=sys.stderr)
1090
1090
  sys.exit(1)
1091
1091
 
1092
- # [v1.23.71] Agent 查找:按 ID 匹配(每个 Agent 有唯一 12 位 hex ID)
1093
- agents_data_dir = Path(__file__).parent.parent / "data" / "agents"
1092
+ # [v1.23.72] Agent 查找:按 ID 匹配,数据目录为 ~/.myagent/data/agents/
1093
+ agents_data_dir = Path.home() / ".myagent" / "data" / "agents"
1094
1094
  resolved_path = None
1095
1095
 
1096
1096
  if agents_data_dir.exists():