余泓铮
9add5df1b2
feat: 支持获取剪贴板
2025-07-24 17:06:10 +08:00
lilong.129
ab40a8c63f
refactor: ForegroundInfo
2025-06-30 00:14:54 +08:00
余泓铮
7b8b3c020a
fix: 优化获取前台应用
2025-06-29 15:22:20 +08:00
余泓铮
c3a5179f4a
feat: 新增根据ui2点击
2025-06-29 15:08:30 +08:00
lilong.129
51e106c9ad
fix: improve JSON parsing in ForegroundInfo by cleaning packageInfo
2025-06-26 13:48:42 +08:00
lilong.129
72a0915b04
fix: adb double tap
2025-06-24 22:54:26 +08:00
lilong.129
a78ba90d33
refactor: config results path
2025-06-15 23:31:36 +08:00
lilong.129
f5f6d177ab
fix: optimize report command to avoid creating timestamp directories
...
- Implement lazy loading for directory creation in config.go
- Add logFile parameter to InitLogger for better control
- Use dynamic directory existence check instead of flags
- Report command now uses console-only logging to prevent directory creation
- Support both JSON and colorized console output formats
- Maintain backward compatibility for all other commands
Changes:
- config.go: Convert directory paths to getter methods with lazy creation
- logger.go: Add logFile parameter and improve logging control
- cmd/root.go: Detect report command and disable file logging
- uixt/*: Update all references to use new getter methods
Fixes the issue where 'hrp report results/' would create unwanted timestamp directories
2025-06-10 12:06:08 +08:00
lilong.129
56831845ca
change: fix logs
2025-06-05 20:26:18 +08:00
lilong.129
2fe5b14d63
refactor: integrate and optimize MCP tool calling methods
2025-05-27 21:39:17 +08:00
lilong.129
2e17d9df16
refactor: merge DoAction to mcp server tools
2025-05-25 23:53:07 +08:00
lilong.129
4ff2692f02
refactor: move action options
2025-05-25 00:15:18 +08:00
lilong.129
7724cf0062
feat: add uixt tool press_button
2025-05-21 17:25:17 +08:00
lilong.129
9c735bd46a
feat: save screenshot after action
2025-05-12 18:04:56 +08:00
lilong.129
0722e92e87
change: remove options for AppLaunch/AppTerminate
2025-05-12 17:36:16 +08:00
lilong.129
00a6ca1f61
change: remove options for AppLaunch/AppTerminate/AppClear
2025-05-12 17:27:48 +08:00
lilong.129
4a2276c7f0
refactor:
...
1, add options for AppLaunch/AppTerminate/AppClear;
2, add pre hook and post hook for AppLaunch/AppTerminate action
2025-05-09 23:30:49 +08:00
lilong.129
2a13594e3d
feat: add pre hook and post hook for Swipe action
2025-05-09 23:15:27 +08:00
lilong.129
1dfc473d33
feat: add pre hook and post hook for Drag action
2025-05-09 23:10:59 +08:00
lilong.129
f7ec4a06b4
feat: add pre hook and post hook for DoubleTap action
2025-05-09 23:06:45 +08:00
lilong.129
3715cbb432
feat: support pre hook and post hook for actions
2025-05-09 23:01:27 +08:00
徐聪
2b06e4a280
update: fucntion call
2025-05-07 21:39:22 +08:00
lilong.129
032a130418
change: handlerTapAbsXY
2025-05-07 17:15:20 +08:00
lilong.129
81f29cdef5
refactor: replace OpenFile with Open
2025-05-07 16:40:39 +08:00
lilong.129
71dac459e6
refactor: handlerDoubleTap
2025-05-06 00:55:54 +08:00
lilong.129
48e3d9002e
refactor: handlerSwipe
2025-05-06 00:41:15 +08:00
lilong.129
338c2c77aa
refactor: handlerDrag
2025-05-06 00:38:07 +08:00
lilong.129
5943f8c033
refactor: handlerTapAbsXY
2025-05-06 00:26:27 +08:00
lilong.129
ce93df1f23
change: mark ui operation before action
2025-05-05 16:54:59 +08:00
lilong.129
cfc71819d2
feat: mark tap/swipe UI operation
2025-05-05 16:31:13 +08:00
lilong.129
da5042f0a4
fix: potential file inclusion via variable
2025-04-28 21:09:39 +08:00
lilong.129
427cc1dab2
fix: potential file inclusion via variable
2025-04-28 19:59:21 +08:00
lilong.129
4722553537
feat: add PushFile for ADBDriver
2025-03-27 19:56:12 +08:00
lilong.129
7876b747ba
feat: add PullFiles for ADBDriver
2025-03-27 19:48:04 +08:00
lilong.129
f73d91da9c
feat: add ClearFiles(paths ...string)
2025-03-27 19:37:35 +08:00
lilong.129
d2f92923ee
feat: add PullImages for ADBDriver
2025-03-26 19:06:51 +08:00
lilong.129
fb3f8a6fca
change: add logs
2025-03-17 20:16:22 +08:00
lilong.129
182de16751
feat: ApplySwipeOffset
2025-03-17 17:57:10 +08:00
lilong.129
9fb53590ca
refactor: rename ApplyTapOffset
2025-03-17 17:44:04 +08:00
lilong.129
683bbdd7f6
test: add unittest for adb PushImage/ClearImages
2025-03-07 11:38:50 +08:00
lilong.129
0d416e74a1
change: use context to contral ScreenRecord timeout or cancel
2025-03-06 22:16:49 +08:00
lilong.129
e8025f9e65
fix: screen record duration
2025-03-06 17:58:16 +08:00
lilong.129
79e0323471
fix: screen record with scrcpy
2025-03-06 17:50:01 +08:00
lilong.129
cc81c00a82
feat: add adb screen record
2025-03-06 16:57:51 +08:00
lilong.129
a80c8af3f6
fix: unittests
2025-03-05 18:10:41 +08:00
lilong.129
e187ba824a
refactor: save screenshot in async
2025-03-05 16:29:36 +08:00
lilong.129
e107389d6e
refactor: move uixt pkg
2025-03-05 11:04:02 +08:00