余泓铮
7b8b3c020a
fix: 优化获取前台应用
2025-06-29 15:22:20 +08:00
余泓铮
c3a5179f4a
feat: 新增根据ui2点击
2025-06-29 15:08:30 +08:00
余泓铮
a476e47609
fix: install error
2025-06-29 14:41:26 +08:00
余泓铮
4ce0178cfd
fix: 修改active app info接口
2025-06-29 00:20:51 +08:00
lilong.129
a71acffa5b
fix: enhance URL building logic in DriverSession with additional test cases
2025-06-28 20:25:28 +08:00
lilong.129
3424844815
fix: improve package running check and enhance logging in UIA2Driver
2025-06-28 10:17:09 +08:00
lilong.129
ba43e9fd0e
refactor: enhance JSON handling and improve request retry logic in DriverSession
2025-06-27 11:52:53 +08:00
lilong.129
7737705ab9
bump version to v5.0.0
2025-06-26 20:14:50 +08:00
lilong.129
b188d6b29b
feat: add device status logging and extend DeviceStatus struct with new fields
2025-06-26 20:09:13 +08:00
lilong.129
eb0d184d6d
change: set WDA default port to 8700/8800
2025-06-26 19:42:01 +08:00
lilong.129
a6d6b5bad2
change: update tests
2025-06-26 19:39:54 +08:00
lilong.129
32d2f7d27d
fix: update input interaction endpoint in WDADriver to use new URL
2025-06-26 19:06:59 +08:00
lilong.129
1923996f65
fix: clean up Appium settings initialization
2025-06-26 17:30:00 +08:00
lilong.129
98dc80cca5
merge master
2025-06-26 14:57:56 +08:00
lilong.129
1b48763e57
refactor: clean up function signatures in DriverSession and WDADriver for improved readability
2025-06-26 14:43:39 +08:00
lilong.129
3e4858db44
refactor: update URL handling in DriverSession and WDADriver, removing base URL dependency for HTTP requests
2025-06-26 14:37:41 +08:00
lilong.129
88d255bce1
refactor: remove GET/POST methods with base URL, streamline HTTP requests in UIA2 and WDA drivers
2025-06-26 14:18:11 +08:00
lilong.129
51e106c9ad
fix: improve JSON parsing in ForegroundInfo by cleaning packageInfo
2025-06-26 13:48:42 +08:00
lilong.129
90ce090e35
fix: remove redundant message cleaning logic in callModelWithLogging
...
The previous message cleaning logic was flawed:
- cleanedMsg.Content was already set to message.Content
- The condition checked if message.Content == "" then set cleanedMsg.Content = ""
- This was redundant since cleanedMsg.Content would already be empty
The real fix for the API 400 error is in planner.go where we ensure Tool messages
have non-empty content. The utils.go changes were unnecessary.
2025-06-26 13:41:39 +08:00
余泓铮
2cffdf01b1
fix: 解决单侧语法错误问题
2025-06-26 11:07:01 +08:00
余泓铮
552aa516b9
fix: 解决ui2不兼容的问题
2025-06-26 11:04:09 +08:00
lilong.129
e070801b00
fix: resolve doubao-seed-1.6-250615 model API 400 error with empty content
...
- Fix Tool message content issue when model returns empty content in function calling
- Add content validation in callModelWithLogging to handle empty content in messages
- Ensure compatibility between UI-TARS and function calling models
This resolves the "missing messages.content parameter" error when using
doubao-seed-1.6-250615 model compared to doubao-1.5-ui-tars-250328
2025-06-26 10:57:27 +08:00
余泓铮
a31a8c67f0
feat: 优化代码结构
2025-06-26 00:46:07 +08:00
余泓铮
22d4f12114
feat: 重构session和wda,去掉session概念。session_driver改为纯http调用工具
2025-06-26 00:39:09 +08:00
lilong.129
9b9875dc2c
feat: enhance HTML report with modals for summary JSON and log content, and improve download functionality
2025-06-25 15:30:32 +08:00
lilong.129
0491299245
merge master
2025-06-25 12:07:38 +08:00
lilong.129
70471d2fb4
fix: enhance logging for interrupted processes and ensure step results are saved in failfast mode
2025-06-25 11:57:09 +08:00
徐聪
470bde97d7
fix: failed to return err
2025-06-25 11:13:56 +08:00
徐聪
4f605d5558
fix: add actions to web driver
2025-06-24 23:17:05 +08:00
lilong.129
53fad4edc5
refactor: streamline AI assertion result handling by consolidating error management and improving result structure
2025-06-24 23:10:46 +08:00
徐聪
ea6b0a6902
fix: failed to exec web script
2025-06-24 23:02:35 +08:00
lilong.129
72a0915b04
fix: adb double tap
2025-06-24 22:54:26 +08:00
lilong.129
d0ceeb6c51
refactor: update AI result handling to differentiate content and thought based on result types in report generation
2025-06-24 16:01:50 +08:00
lilong.129
b1719344c0
feat: enhance AI result handling with model name and usage statistics for query, action, and assertion types
2025-06-24 15:25:12 +08:00
lilong.129
8fc8d06604
feat: unify AI action handling with detailed execution results and enhanced UI integration
2025-06-24 13:42:08 +08:00
lilong.129
fc32b5d874
feat: enhance AI query handling with detailed result structure and improved UI display
2025-06-24 11:50:37 +08:00
lilong.129
58befd6eae
refactor: rename buildMCPCallToolRequest to BuildMCPCallToolRequest for consistency across the codebase
2025-06-22 22:54:12 +08:00
lilong.129
6cc3c3acb5
refactor: update driver caching mechanism to use generic CacheManager and improve metadata handling
2025-06-22 21:42:50 +08:00
lilong.129
e48bbb2271
change: remove unused code
2025-06-22 13:25:55 +08:00
lilong.129
a1c8b7fab3
refactor: remove unused handlers and related files to streamline the server codebase
2025-06-21 22:08:54 +08:00
lilong.129
d2031cb0f2
refactor: add context support to sleep functions for improved cancellation handling
2025-06-20 19:12:27 +08:00
lilong.129
0c9dac95a1
feat: enhance report generation by integrating session data and improving AI query display
2025-06-20 17:38:36 +08:00
lilong.129
ed5d3127cb
fix: add missing action options
2025-06-19 21:57:26 +08:00
lilong.129
9e589dec16
feat: add initialization of nil fields in summary data to prevent template execution errors
2025-06-19 14:46:56 +08:00
lilong.129
e40db65287
feat: enhance report generation with new AI query and validation display features
2025-06-18 22:35:19 +08:00
lilong.129
a3f2ff37bc
refactor: replace hardcoded log messages with constants for better maintainability
2025-06-18 17:17:29 +08:00
lilong.129
1f3366453e
feat: implement structured response parsing with enhanced error recovery and UTF-8 sanitization
2025-06-18 16:59:35 +08:00
lilong.129
6965cf9fe9
refactor: enhance screenshot functionality with session saving and optional CV processing
2025-06-18 16:13:45 +08:00
lilong.129
a890981e2d
fix: update StartTime to use UnixMilli for better precision across step functions
2025-06-18 13:51:44 +08:00
lilong.129
3d2707fa36
feat: add home and back action mappings to planner prompts
2025-06-18 12:01:53 +08:00