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.
- package/myagent/scripts/cli.py +2 -2
- package/package.json +1 -1
- package/scripts/cli.py +2 -2
package/myagent/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.
|
|
1093
|
-
agents_data_dir = Path(
|
|
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
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.
|
|
1093
|
-
agents_data_dir = Path(
|
|
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():
|