@autotest/agent 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -9
- package/dist/.buildstamp +1 -0
- package/dist/autotest-cli.js +1 -1
- package/dist/common/config/config.yaml +144 -142
- package/dist/common/config/types.d.ts +2376 -2345
- package/dist/core/agent/layered_agent/execute_agent/agent_factory.d.ts +1 -1
- package/dist/core/agent/single_agent/agent.d.ts +4 -0
- package/dist/core/agent/single_agent/image_utils.d.ts +8 -0
- package/dist/core/agent/single_agent/llm_helper.d.ts +2 -0
- package/dist/core/agent/single_agent/scroll_search_agent.d.ts +15 -0
- package/dist/core/mcp/android_adapter.d.ts +1 -1
- package/dist/core/mcp/ios_adapter.d.ts +1 -1
- package/dist/core/memory/_utils.d.ts +1 -1
- package/dist/core/memory/tool_player_replan.d.ts +3 -4
- package/dist/generated/version.d.ts +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/dist/mcp-server/types.d.ts +120 -120
- package/dist/reporter/html_template/_cards.d.ts +21 -0
- package/dist/reporter/html_template/_markers.d.ts +11 -0
- package/dist/reporter/html_template/_scripts.d.ts +6 -0
- package/dist/reporter/html_template/_sidebar.d.ts +24 -0
- package/dist/reporter/html_template/_styles.d.ts +6 -0
- package/dist/reporter/html_template/_top_section.d.ts +33 -0
- package/dist/reporter/html_template/_utils.d.ts +87 -0
- package/dist/reporter/html_template/index.d.ts +2 -65
- package/dist/reporter/types.d.ts +14 -14
- package/dist/tools/batch_runner.d.ts +5 -0
- package/dist/tools/batch_runner.js +1 -1
- package/dist/tools/case_runner/runner.js +1 -1
- package/dist/tools/config/config_tool.js +1 -1
- package/dist/tools/gen_analysis_report.d.ts +12 -0
- package/dist/tools/gen_report.d.ts +13 -44
- package/dist/tools/prompt_compare/compare_runner.js +1 -1
- package/package.json +2 -2
- package/scripts/gen_analysis_report.js +0 -724
|
@@ -1,142 +1,144 @@
|
|
|
1
|
-
model:
|
|
2
|
-
unified:
|
|
3
|
-
name: "qwen3.7-plus"
|
|
4
|
-
base_url: "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
|
5
|
-
api_key: "YOUR_API_KEY_HERE"
|
|
6
|
-
provider: "openai"
|
|
7
|
-
temperature: 0.1
|
|
8
|
-
top_p: 0.9
|
|
9
|
-
frequency_penalty: 0.0
|
|
10
|
-
max_tokens: 2048
|
|
11
|
-
timeout: 600
|
|
12
|
-
max_retries: 3
|
|
13
|
-
prompt_type: "v2.0"
|
|
14
|
-
enable_thinking: null
|
|
15
|
-
|
|
16
|
-
execute:
|
|
17
|
-
name: "gui-plus-2026-02-26"
|
|
18
|
-
base_url: "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
|
19
|
-
api_key: "YOUR_API_KEY_HERE"
|
|
20
|
-
provider: "mai-ui"
|
|
21
|
-
|
|
22
|
-
decision:
|
|
23
|
-
name: "qwen3.5-plus"
|
|
24
|
-
base_url: "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
|
25
|
-
api_key: "YOUR_API_KEY_HERE"
|
|
26
|
-
provider: "openai"
|
|
27
|
-
temperature: 0.0
|
|
28
|
-
top_p: 0.1
|
|
29
|
-
frequency_penalty: 1.0
|
|
30
|
-
|
|
31
|
-
verify:
|
|
32
|
-
name: ""
|
|
33
|
-
base_url: ""
|
|
34
|
-
api_key: ""
|
|
35
|
-
provider: "openai"
|
|
36
|
-
temperature: 0.0
|
|
37
|
-
top_p: 0.1
|
|
38
|
-
frequency_penalty: 1.0
|
|
39
|
-
|
|
40
|
-
analyze:
|
|
41
|
-
temperature: 0.0
|
|
42
|
-
max_tokens: 10240
|
|
43
|
-
timeout: 600
|
|
44
|
-
max_retries: 3
|
|
45
|
-
enable_thinking: false
|
|
46
|
-
enable_multimodal: true
|
|
47
|
-
max_key_steps: 5
|
|
48
|
-
only_fail: true
|
|
49
|
-
analyze_after_task: false
|
|
50
|
-
|
|
51
|
-
agent:
|
|
52
|
-
unified:
|
|
53
|
-
mode: "single"
|
|
54
|
-
max_steps: 50
|
|
55
|
-
lang: "zh"
|
|
56
|
-
enable_preprocess: false
|
|
57
|
-
stream_log: false
|
|
58
|
-
debug_mode: null
|
|
59
|
-
parse_mode: "native"
|
|
60
|
-
tool_provider: "device"
|
|
61
|
-
action_interval: 0.5
|
|
62
|
-
# 录屏开关:开→动态场景步走雪碧图(录屏抽帧拼图发模型);关→所有步走截图(不录屏、不拼雪碧图)。
|
|
63
|
-
# 不同模型对雪碧图处理能力不同,处理不好的模型设 false。
|
|
64
|
-
use_recording_mode:
|
|
65
|
-
max_history_image: 3
|
|
66
|
-
screenshot_max_pixels:
|
|
67
|
-
include_previous_screenshot: true
|
|
68
|
-
previous_screenshot_compress_ratio: 0.7
|
|
69
|
-
action_markers: false
|
|
70
|
-
max_history_actions: 10
|
|
71
|
-
role: null
|
|
72
|
-
session_type: "compressed"
|
|
73
|
-
prompt_name: "single_v2.0"
|
|
74
|
-
prompt_version: ""
|
|
75
|
-
max_loops: 0
|
|
76
|
-
enable_cache: true
|
|
77
|
-
verbose: false
|
|
78
|
-
json_output: false
|
|
79
|
-
apirec: false
|
|
80
|
-
|
|
81
|
-
log:
|
|
82
|
-
level: "DEBUG"
|
|
83
|
-
device_log_level: "info"
|
|
84
|
-
verbose: true
|
|
85
|
-
max_log_size: 10
|
|
86
|
-
max_log_file_num: 5
|
|
87
|
-
enable_console_log: true
|
|
88
|
-
enable_file_log: true
|
|
89
|
-
|
|
90
|
-
output:
|
|
91
|
-
json_output: false
|
|
92
|
-
report_dir: null
|
|
93
|
-
root_dir: "reports"
|
|
94
|
-
report_name: "autotest_report"
|
|
95
|
-
embed_images: false
|
|
96
|
-
embed_max_pixels: 800
|
|
97
|
-
|
|
98
|
-
device:
|
|
99
|
-
device_sn: null
|
|
100
|
-
ip: "127.0.0.1"
|
|
101
|
-
port: 8710
|
|
102
|
-
hdc_path: "hdc"
|
|
103
|
-
reset_device: true
|
|
104
|
-
screen_always_on: true
|
|
105
|
-
device_impl: "HDCDevice"
|
|
106
|
-
app_config: ""
|
|
107
|
-
operation_mode: "phone"
|
|
108
|
-
keepalive_process_whitelist: []
|
|
109
|
-
# keepalive_process_whitelist:
|
|
110
|
-
# - "com.hmos.xxx"
|
|
111
|
-
# - "com.example.xxx"
|
|
112
|
-
skip_clear_process: false
|
|
113
|
-
|
|
114
|
-
network:
|
|
115
|
-
timeout: 600
|
|
116
|
-
max_retries: 3
|
|
117
|
-
no_proxy: ""
|
|
118
|
-
|
|
119
|
-
analyze:
|
|
120
|
-
model_name: ""
|
|
121
|
-
base_url: ""
|
|
122
|
-
api_key: ""
|
|
123
|
-
temperature: 0.0
|
|
124
|
-
max_tokens: 4096
|
|
125
|
-
timeout: 90
|
|
126
|
-
max_retries: 3
|
|
127
|
-
enable_multimodal: true
|
|
128
|
-
max_key_steps: 5
|
|
129
|
-
only_fail: true
|
|
130
|
-
max_turns: 8
|
|
131
|
-
output_format: "all"
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
1
|
+
model:
|
|
2
|
+
unified:
|
|
3
|
+
name: "qwen3.7-plus"
|
|
4
|
+
base_url: "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
|
5
|
+
api_key: "YOUR_API_KEY_HERE"
|
|
6
|
+
provider: "openai"
|
|
7
|
+
temperature: 0.1
|
|
8
|
+
top_p: 0.9
|
|
9
|
+
frequency_penalty: 0.0
|
|
10
|
+
max_tokens: 2048
|
|
11
|
+
timeout: 600
|
|
12
|
+
max_retries: 3
|
|
13
|
+
prompt_type: "v2.0"
|
|
14
|
+
enable_thinking: null
|
|
15
|
+
|
|
16
|
+
execute:
|
|
17
|
+
name: "gui-plus-2026-02-26"
|
|
18
|
+
base_url: "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
|
19
|
+
api_key: "YOUR_API_KEY_HERE"
|
|
20
|
+
provider: "mai-ui"
|
|
21
|
+
|
|
22
|
+
decision:
|
|
23
|
+
name: "qwen3.5-plus"
|
|
24
|
+
base_url: "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
|
25
|
+
api_key: "YOUR_API_KEY_HERE"
|
|
26
|
+
provider: "openai"
|
|
27
|
+
temperature: 0.0
|
|
28
|
+
top_p: 0.1
|
|
29
|
+
frequency_penalty: 1.0
|
|
30
|
+
|
|
31
|
+
verify:
|
|
32
|
+
name: ""
|
|
33
|
+
base_url: ""
|
|
34
|
+
api_key: ""
|
|
35
|
+
provider: "openai"
|
|
36
|
+
temperature: 0.0
|
|
37
|
+
top_p: 0.1
|
|
38
|
+
frequency_penalty: 1.0
|
|
39
|
+
|
|
40
|
+
analyze:
|
|
41
|
+
temperature: 0.0
|
|
42
|
+
max_tokens: 10240
|
|
43
|
+
timeout: 600
|
|
44
|
+
max_retries: 3
|
|
45
|
+
enable_thinking: false
|
|
46
|
+
enable_multimodal: true
|
|
47
|
+
max_key_steps: 5
|
|
48
|
+
only_fail: true
|
|
49
|
+
analyze_after_task: false
|
|
50
|
+
|
|
51
|
+
agent:
|
|
52
|
+
unified:
|
|
53
|
+
mode: "single"
|
|
54
|
+
max_steps: 50
|
|
55
|
+
lang: "zh"
|
|
56
|
+
enable_preprocess: false
|
|
57
|
+
stream_log: false
|
|
58
|
+
debug_mode: null
|
|
59
|
+
parse_mode: "native"
|
|
60
|
+
tool_provider: "device"
|
|
61
|
+
action_interval: 0.5
|
|
62
|
+
# 录屏开关:开→动态场景步走雪碧图(录屏抽帧拼图发模型);关→所有步走截图(不录屏、不拼雪碧图)。
|
|
63
|
+
# 不同模型对雪碧图处理能力不同,处理不好的模型设 false。
|
|
64
|
+
use_recording_mode: false
|
|
65
|
+
max_history_image: 3
|
|
66
|
+
screenshot_max_pixels: 1000
|
|
67
|
+
include_previous_screenshot: true
|
|
68
|
+
previous_screenshot_compress_ratio: 0.7
|
|
69
|
+
action_markers: false
|
|
70
|
+
max_history_actions: 10
|
|
71
|
+
role: null
|
|
72
|
+
session_type: "compressed"
|
|
73
|
+
prompt_name: "single_v2.0"
|
|
74
|
+
prompt_version: ""
|
|
75
|
+
max_loops: 0
|
|
76
|
+
enable_cache: true
|
|
77
|
+
verbose: false
|
|
78
|
+
json_output: false
|
|
79
|
+
apirec: false
|
|
80
|
+
|
|
81
|
+
log:
|
|
82
|
+
level: "DEBUG"
|
|
83
|
+
device_log_level: "info"
|
|
84
|
+
verbose: true
|
|
85
|
+
max_log_size: 10
|
|
86
|
+
max_log_file_num: 5
|
|
87
|
+
enable_console_log: true
|
|
88
|
+
enable_file_log: true
|
|
89
|
+
|
|
90
|
+
output:
|
|
91
|
+
json_output: false
|
|
92
|
+
report_dir: null
|
|
93
|
+
root_dir: "reports"
|
|
94
|
+
report_name: "autotest_report"
|
|
95
|
+
embed_images: false
|
|
96
|
+
embed_max_pixels: 800
|
|
97
|
+
|
|
98
|
+
device:
|
|
99
|
+
device_sn: null
|
|
100
|
+
ip: "127.0.0.1"
|
|
101
|
+
port: 8710
|
|
102
|
+
hdc_path: "hdc"
|
|
103
|
+
reset_device: true
|
|
104
|
+
screen_always_on: true
|
|
105
|
+
device_impl: "HDCDevice"
|
|
106
|
+
app_config: ""
|
|
107
|
+
operation_mode: "phone"
|
|
108
|
+
keepalive_process_whitelist: []
|
|
109
|
+
# keepalive_process_whitelist:
|
|
110
|
+
# - "com.hmos.xxx"
|
|
111
|
+
# - "com.example.xxx"
|
|
112
|
+
skip_clear_process: false
|
|
113
|
+
|
|
114
|
+
network:
|
|
115
|
+
timeout: 600
|
|
116
|
+
max_retries: 3
|
|
117
|
+
no_proxy: ""
|
|
118
|
+
|
|
119
|
+
analyze:
|
|
120
|
+
model_name: ""
|
|
121
|
+
base_url: ""
|
|
122
|
+
api_key: ""
|
|
123
|
+
temperature: 0.0
|
|
124
|
+
max_tokens: 4096
|
|
125
|
+
timeout: 90
|
|
126
|
+
max_retries: 3
|
|
127
|
+
enable_multimodal: true
|
|
128
|
+
max_key_steps: 5
|
|
129
|
+
only_fail: true
|
|
130
|
+
max_turns: 8
|
|
131
|
+
output_format: "all"
|
|
132
|
+
|
|
133
|
+
# 上下文压缩默认关闭:仅在用户显式配置 enabled: true 时开启
|
|
134
|
+
context_compression:
|
|
135
|
+
enabled: false
|
|
136
|
+
max_tokens: 7000
|
|
137
|
+
max_recent_messages: 6
|
|
138
|
+
|
|
139
|
+
# 反思默认关闭:仅在用户显式配置 reflection.enabled: true 时开启
|
|
140
|
+
reflection:
|
|
141
|
+
enabled: false
|
|
142
|
+
initial_step: 25
|
|
143
|
+
interval: 15
|
|
144
|
+
recent_messages: 10
|