Commit Graph

36 Commits

Author SHA1 Message Date
余泓铮
fbf543bdda fix: 修复文件名过长,并打印部分有效信息 2025-07-11 17:14:23 +08:00
李隆
d09fdb3b04 Merge branch 'session_refactor' into 'master'
wings merge

See merge request iesqa/httprunner!113
2025-07-01 15:18:48 +00:00
lilong.129
2b32e17091 refactor: init CV service 2025-07-01 22:53:50 +08:00
lilong.129
a040b53ea9 refactor: enhance screenshot handling by introducing base64 encoding and updating related methods 2025-06-29 20:38:33 +08:00
lilong.129
0ae22930aa feat: add horizontal scrolling screenshot display and improve screenshot handling in report generation 2025-06-29 18:16:26 +08:00
lilong.129
5baabee89c fix: update invokeToolCall to accept options and refactor action type handling in MarkUIOperation 2025-06-29 15:59:48 +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
ed5d3127cb fix: add missing action options 2025-06-19 21:57:26 +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
409cd693f0 refactor: GetScreenshotBase64WithSize 2025-06-13 12:01:21 +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
cf360c8c46 feat: compress image data for html report 2025-06-08 23:48:23 +08:00
lilong.129
404865ba6b refactor: complete ActionOptions unification and pointer type optimization 2025-05-27 13:34:12 +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
bb592548b4 fix: chat with screenshot 2025-05-21 22:35:16 +08:00
lilong.129
0c20fe7b02 feat: add argument --with-uixt to start built-in uixt MCP server 2025-05-20 22:36:46 +08:00
lilong.129
037e69315e change: remove unused code 2025-05-20 18:03:54 +08:00
lilong.129
9c735bd46a feat: save screenshot after action 2025-05-12 18:04:56 +08:00
lilong.129
71dac459e6 refactor: handlerDoubleTap 2025-05-06 00:55:54 +08:00
lilong.129
379fea9008 refactor: move cached screenResults from XTDriver to DriverSession 2025-05-06 00:10:54 +08:00
lilong.129
e5ececa776 change: log time duration for ui marker 2025-05-05 16:35:37 +08:00
lilong.129
cfc71819d2 feat: mark tap/swipe UI operation 2025-05-05 16:31:13 +08:00
lilong.129
6569121d5d refactor: move LoadImage 2025-04-30 16:21:01 +08:00
lilong.129
aeee9c7f7b merge v5 2025-03-25 14:25:37 +08:00
lilong.129
1745391a80 fix: convert abs scope for FindScreenText 2025-03-25 14:04:41 +08:00
lilong.129
12e0f7f9a2 feat: save screenshots for PlanNextAction 2025-03-22 01:07:28 +08:00
lilong.129
8a3b6b5c4c feat: appendConversationHistory for ai planner 2025-03-22 00:06:30 +08:00
lilong.129
a4d3c08a6a fix: check LLM env 2025-03-19 22:28:42 +08:00
lilong.129
ec93382e47 feat: add GetScreenShotBuffer, GetScreenShotBase64 2025-03-19 18:16:00 +08:00
lilong.129
5e2f33b362 feat: TapByCV WithTapRandomRect 2025-03-17 18:06:32 +08:00
lilong.129
7f69052be6 change: FindScreenText return text rect 2025-03-17 15:09:04 +08:00
lilong.129
eb730c2ebe fix: miss suffix for screenshot file path 2025-03-11 22:42:05 +08:00
lilong.129
b8e9a25991 fix: miss suffix for screenshot file path 2025-03-11 22:38:47 +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