myagent-ai 1.12.4 → 1.13.0
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/core/deps_checker.py +5 -4
- package/package.json +1 -1
- package/skills/browser_skill.py +24 -768
- package/skills/chromedev_mcp.py +931 -0
- package/web/ui/chat/chat.css +0 -154
- package/web/ui/chat/chat_main.js +0 -170
- package/web/ui/chat/flow_engine.js +0 -61
- package/web/ui/chat/middle_chat.html +0 -20
- package/web/ui/index.html +10 -6
package/core/deps_checker.py
CHANGED
|
@@ -16,7 +16,8 @@ core/deps_checker.py - 自动依赖检测与安装
|
|
|
16
16
|
系统技能: psutil
|
|
17
17
|
托盘功能: pystray, PIL
|
|
18
18
|
语音合成: edge_tts
|
|
19
|
-
浏览器自动化:
|
|
19
|
+
浏览器自动化: chrome-devtools-mcp (Node.js, Chrome DevTools Protocol)
|
|
20
|
+
(备用) playwright (+ chromium 浏览器二进制)
|
|
20
21
|
桌面GUI自动化: mss, pynput, pygetwindow
|
|
21
22
|
"""
|
|
22
23
|
from __future__ import annotations
|
|
@@ -75,9 +76,9 @@ DEPENDENCIES: List[DepInfo] = [
|
|
|
75
76
|
# ── 语音合成 ──
|
|
76
77
|
DepInfo("edge_tts", "edge-tts", "6.1.0", "tts", "all"),
|
|
77
78
|
|
|
78
|
-
# ── 浏览器自动化 (Playwright) ──
|
|
79
|
+
# ── 浏览器自动化 (ChromeDev MCP + Playwright 备用) ──
|
|
79
80
|
DepInfo("playwright", "playwright", "1.41.0", "browser", "all",
|
|
80
|
-
note="
|
|
81
|
+
note="备用方案。推荐使用 chrome-devtools-mcp (需 Node.js >= 20.19)"),
|
|
81
82
|
|
|
82
83
|
# ── 桌面 GUI 自动化 ──
|
|
83
84
|
DepInfo("mss", "mss", "9.0.0", "gui", "all",
|
|
@@ -413,7 +414,7 @@ def ensure_skill_deps(skill_category: str) -> bool:
|
|
|
413
414
|
|
|
414
415
|
Args:
|
|
415
416
|
skill_category: 技能分类名称
|
|
416
|
-
"browser" - 浏览器自动化 (playwright)
|
|
417
|
+
"browser" - 浏览器自动化 (chrome-devtools-mcp / playwright)
|
|
417
418
|
"gui" - 桌面GUI自动化 (mss, pynput, pygetwindow)
|
|
418
419
|
"search" - 搜索技能
|
|
419
420
|
"tts" - 语音合成
|