This website requires JavaScript.
Explore
Help
Register
Sign In
flying-hero
/
openclaw-monitor
Watch
1
Star
0
Fork
0
You've already forked openclaw-monitor
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
main
Add File
New File
Apply Patch
openclaw-monitor
/
code
/
backend
/
requirements.txt
6 lines
101 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
feat: 添加捞虾功能(自动扫描 Agent)🦐 🎯 新功能: - 捞虾按钮:自动扫描 Docker 容器和宿主机进程 - 发现 openclaw 相关的 Agent 实例 - 自动创建或更新 Agent 记录 - 过滤掉没有端口的'石头'(无效进程) 🦐 捞虾逻辑: 1. 扫描 Docker 容器(跳过数据库、网关等辅助容器) 2. 扫描宿主机进程(ps aux) 3. 从容器名/进程名推断 Agent 名称和专长 4. 提取端口信息 5. 只保存有端口的有效 Agent ✨ 优化: - 处理复杂的容器名称(如 openclaw-instance2-openclaw-cn-gateway-1) - 自动推断 Emoji 和专长 - 避免重复创建 📊 捞虾结果: - 显示捞到的虾数量 - 显示新增和更新数量 - 区分 Docker 容器和宿主机进程 🎨 界面: - 按钮文案:'🦐 捞虾' / '🦐 捞虾中...' - 提示信息生动有趣 - 加载状态显示 🐛 修复: - 不过滤 gateway/watcher 容器(可能包含 Agent) - 只跳过数据库容器(postgres/db/redis) 🦸 感谢北极星 ⭐ 的'捞虾'命名灵感!
2026-04-03 20:35:06 +08:00
Django>=4.2,<5.0
djangorestframework>=3.14
django-cors-headers>=4.3
psycopg2-binary>=2.9
docker>=6.1
Reference in New Issue
Copy Permalink