11 Commits

Author SHA1 Message Date
let5sne.win10
3552df23d6 Add Web Dashboard with multi-device control and callback hooks
Features:
- Web Dashboard: FastAPI-based dashboard with Vue.js frontend
  - Multi-device support (ADB, HDC, iOS)
  - Real-time WebSocket updates for task progress
  - Device management with status tracking
  - Task queue with execution controls (start/stop/re-execute)
  - Detailed task information display (thinking, actions, completion messages)
  - Screenshot viewing per device
  - LAN deployment support with configurable CORS

- Callback Hooks: Interrupt and modify task execution
  - step_callback: Called after each step with StepResult
  - before_action_callback: Called before executing action
  - Support for task interruption and dynamic task switching
  - Example scripts demonstrating callback usage

- Configuration: Environment-based configuration
  - .env file support for all settings
  - .env.example template with documentation
  - Model API configuration (base URL, model name, API key)
  - Dashboard configuration (host, port, CORS, device type)
  - Phone agent configuration (delays, max steps, language)

Technical improvements:
- Fixed forward reference issue with StepResult
- Added package exports for callback types and configs
- Enhanced dependencies with FastAPI, WebSocket support
- Thread-safe task execution with device locking
- Async WebSocket broadcasting from sync thread pool

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-09 02:20:06 +08:00
liuyongbin
780b756e21 fix format 2025-12-19 18:56:43 +08:00
yongbin-buaa
7729568ae0 Merge pull request #143 from gekowa/ios-support-3
feat: Added iOS support
2025-12-19 18:15:50 +08:00
floatingstarZ
95f5921887 支持鸿蒙OSNEXT_HDC 2025-12-16 14:28:49 +08:00
liuyongbin
b1ddd98552 fix format 2025-12-14 14:03:41 +08:00
xhguo
7c23ca549b feat: Added iOS support 2025-12-12 17:58:20 +08:00
liuyongbin
837c51319a fix format 2025-12-11 18:24:04 +08:00
liuyongbin
2a5ee7a2d2 fix: code style and typo fix
- Fix typo: throught -> thought in prompts_en.py
- Apply ruff-format to main.py, prompts_en.py, prompts_zh.py

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 18:23:35 +08:00
liuyongbin
776671c5a0 add custom api key 2025-12-10 18:05:14 +08:00
zRzRzRzRzRzRzR
d4fbb4649c update 2025-12-09 23:30:39 +08:00
zRzRzRzRzRzRzR
7e1785e08e draft init 2025-12-08 23:54:29 +08:00