@autotest/agent 0.0.12 → 0.0.14

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.
Files changed (39) hide show
  1. package/README.md +112 -1
  2. package/dist/api/autotest_agent.d.ts +0 -1
  3. package/dist/autotest-cli.js +1 -1
  4. package/dist/common/config/output.d.ts +0 -1
  5. package/dist/common/config/types.d.ts +27 -27
  6. package/dist/common/layout_parser.d.ts +7 -0
  7. package/dist/common/llm_cache/prompt_cache.d.ts +26 -9
  8. package/dist/common/model/custom_model.d.ts +1 -7
  9. package/dist/core/agent/report_analyzer_agent/agent.d.ts +1 -1
  10. package/dist/core/agent/report_analyzer_agent/example_selector.d.ts +2 -0
  11. package/dist/core/agent/report_analyzer_agent/hooks.d.ts +2 -0
  12. package/dist/core/agent/report_analyzer_agent/prompts/examples/example_app_missing.md +6 -0
  13. package/dist/core/agent/report_analyzer_agent/prompts/examples/example_blocking_fact.md +8 -0
  14. package/dist/core/agent/report_analyzer_agent/prompts/examples/example_coord_offset.md +6 -0
  15. package/dist/core/agent/report_analyzer_agent/prompts/examples/example_inconclusive.md +6 -0
  16. package/dist/core/agent/report_analyzer_agent/prompts/examples/example_multi_cause.md +7 -0
  17. package/dist/core/agent/report_analyzer_agent/prompts/examples/example_pass_no_issue.md +6 -0
  18. package/dist/core/agent/report_analyzer_agent/stage_contracts.d.ts +5 -0
  19. package/dist/core/agent/report_analyzer_agent/types.d.ts +3 -0
  20. package/dist/core/agent/single_agent/agent.d.ts +27 -7
  21. package/dist/core/agent/single_agent/image_utils.d.ts +1 -1
  22. package/dist/core/device/hdc/capture_card_recorder.d.ts +90 -0
  23. package/dist/core/device/hdc/screen_recorder.d.ts +2 -1
  24. package/dist/core/mcp/mcp_tools.d.ts +0 -1
  25. package/dist/core/prompt/templates/single/single_v2.0.md +57 -51
  26. package/dist/generated/native_so_b64.d.ts +1 -0
  27. package/dist/index.d.ts +2 -1
  28. package/dist/index.js +1 -1
  29. package/dist/loop/index.d.ts +9 -0
  30. package/dist/prompts/rewriter_v1.0.md +168 -0
  31. package/dist/reporter/generator.d.ts +2 -1
  32. package/dist/reporter/html_template/index.d.ts +7 -0
  33. package/dist/tools/batch_runner.js +1 -1
  34. package/dist/tools/case_runner/runner.js +1 -1
  35. package/dist/tools/config/config_tool.js +1 -1
  36. package/dist/tools/gen_report.d.ts +47 -0
  37. package/dist/tools/prompt_compare/compare_runner.js +1 -1
  38. package/package.json +2 -2
  39. package/dist/common/llm_cache/cache_transport.d.ts +0 -11
@@ -17,25 +17,45 @@ export declare class SingleAgent {
17
17
  fastScreenshotPath: string | null;
18
18
  fastScreenshotPaths: string[];
19
19
  private needsToastCapture;
20
+ private useRecordingMode;
21
+ private lastRecordingSpriteB64;
22
+ private lastIsRecordingSprite;
23
+ private lastRecordingFramePaths;
24
+ private lastRecordingFrameTimestamps;
25
+ private transientStepKeywords;
20
26
  private llmCaller;
21
27
  private task;
22
28
  private session;
23
29
  private historyActions;
24
30
  private toolCount;
31
+ private captureCardRecorder;
25
32
  constructor(adapter: MCPDeviceAdapter, config: AppConfig, reportGenerator: ReportGenerator, hooks?: AgentHooks, llmCaller?: LLMCaller);
26
33
  run(args: SingleAgentArgs): Promise<AgentResult>;
34
+ /** Parse task text: for each step whose 预期 contains transient keywords (toast/加载/
35
+ * 动画/弹窗/倍速/etc.), extract context keywords from the action part (before 预期).
36
+ * When the agent's log matches these keywords, trigger recording. */
37
+ private parseTransientSteps;
38
+ /** Check if task has expected results (预期 lines) that need verification. */
39
+ private hasExpectedResults;
40
+ /** Build the hard constraint string for expected result verification, or empty if none. */
41
+ private buildQuotedTextConstraint;
42
+ /** Code-decided: should this action trigger recording?
43
+ * Primary: model marks "(动态场景)" in the log → record
44
+ * Override: model explicitly sets record=true → record */
45
+ private shouldRecordAction;
27
46
  private injectScreenshot;
28
47
  private extractResult;
48
+ /** Parse a structured judge tool result {"passed":bool,"reason":str,...}.
49
+ * Returns null when the output is not a judge-shaped JSON object, so that
50
+ * ordinary LLM judgment text falls through to the text heuristics. */
51
+ private static parseJudgeResult;
29
52
  private executeAction;
53
+ /** Recording mode: start recording → execute action → record 3s → extract frames at
54
+ * 333ms intervals (~10 frames) → filter near-duplicates → build sprite → set as
55
+ * the observation for the next LLM call. */
56
+ private executeActionWithRecording;
30
57
  private shouldAbort;
31
58
  private formatActionLog;
32
- /**
33
- * Select the frames most likely to contain a transient element (toast/refresh icon).
34
- * Uses region-aware perceptual hashing and compares each frame to the LAST frame
35
- * (proxy for settled state). Ranks by change magnitude, returns the top-3 (restored
36
- * to temporal order so the LLM sees the motion sequence) plus the single peak frame.
37
- */
38
- private selectBestFrame;
39
59
  private callLLMStep;
40
60
  private parseThinkingTags;
41
61
  private parseJudgmentTags;
@@ -14,7 +14,7 @@ export declare function compressScreenshot(base64Data: string, maxPixels?: numbe
14
14
  * Uses SVG → sharp composite for overlay drawing.
15
15
  */
16
16
  export declare function drawActionMarker(base64Data: string, action: {
17
- type: 'click' | 'swipe';
17
+ type: 'click' | 'swipe' | 'long';
18
18
  point?: [number, number];
19
19
  start?: [number, number];
20
20
  end?: [number, number];
@@ -0,0 +1,90 @@
1
+ /**
2
+ * Pure-software screen recording via perfmonitor.so (from DevEco Testing).
3
+ *
4
+ * Instead of `aa start com.huawei.hmos.screenrecorder` (which triggers the
5
+ * "录屏分享" popup on stop), this pushes a native .so daemon to the device
6
+ * that captures the display subsystem directly — no system recorder involved,
7
+ * no popups, completely silent.
8
+ *
9
+ * Flow (mirrors perf_collector's ImageVSCollector + SingleDeviceServerManager):
10
+ * 1. setup() → push perfmonitor.so to /data/local/tmp/, start daemon via
11
+ * `uitest start-daemon singleness --extension-name`, port-forward
12
+ * `hdc fport tcp:{port} tcp:9999`
13
+ * 2. startRecording() → HTTP GET http://127.0.0.1:{port}/StartRecord
14
+ * 3. (execute click — UI thread is free)
15
+ * 4. stopRecording() → HTTP GET http://127.0.0.1:{port}/StopRecord
16
+ * 5. downloadVideo() → hdc file recv /data/local/tmp/perf_fact/video/{name}.mp4
17
+ * 6. extractFrames() → ffmpeg extracts JPEG frames at configurable fps
18
+ * 7. teardown() → killall -9 perfmonitor, fport rm
19
+ */
20
+ export interface RecordingResult {
21
+ videoPath: string;
22
+ framePaths: string[];
23
+ }
24
+ export declare class CaptureCardRecorder {
25
+ private hdcPath;
26
+ private videoName;
27
+ private localPort;
28
+ private setupDone;
29
+ constructor(hdcPath?: string);
30
+ /**
31
+ * Push perfmonitor.so to device, start the daemon, and set up port forwarding.
32
+ * Call once per session. Idempotent — safe to call again if already set up.
33
+ */
34
+ setup(): Promise<void>;
35
+ /** Kill the daemon, remove port forwarding, and delete ALL device-side files
36
+ * (.so, videos, timestamps, directories). Call at end of session. */
37
+ teardown(): Promise<void>;
38
+ /** Aggressively clean up ALL perfmonitor-related files on the device.
39
+ * Kills the process, deletes .so files, video directory, and timestamp files.
40
+ * Safe to call even if nothing exists. */
41
+ private cleanupAllDeviceFiles;
42
+ /**
43
+ * Send an HTTP GET to the perfmonitor daemon on the device via fport.
44
+ * @param path The URL path (e.g. '/StartRecord', '/StopRecord')
45
+ * @param params Query parameters
46
+ * @param timeoutMs Timeout in milliseconds
47
+ * @returns Response text, or null on failure
48
+ */
49
+ private httpGet;
50
+ /** Start screen recording on the device. */
51
+ startRecording(): Promise<void>;
52
+ /** Stop screen recording. */
53
+ stopRecording(): Promise<void>;
54
+ /** No-op for API compatibility with ScreenRecorder. */
55
+ forceStop(): Promise<void>;
56
+ /**
57
+ * Check daemon health via GetRecordStatus.
58
+ * @returns 'running' | 'not-running' | 'down'
59
+ */
60
+ private checkDaemonHealth;
61
+ /**
62
+ * Restart the daemon: kill, re-push .so, re-start, re-fport.
63
+ * Called when checkDaemonHealth returns 'down' or StartRecord fails.
64
+ */
65
+ private restartDaemon;
66
+ /**
67
+ * Download the recorded video from the device.
68
+ * Validates file size and retries once if the download produces a tiny file
69
+ * (which can happen when the encoder hasn't flushed yet).
70
+ * @param destDir Destination directory for the video file.
71
+ * @returns Local path to the downloaded MP4.
72
+ */
73
+ downloadVideo(destDir?: string): Promise<string>;
74
+ /**
75
+ * Extract frames from MP4 video using @ffmpeg-installer/ffmpeg.
76
+ * @param videoPath Path to the MP4 file
77
+ * @param outputDir Directory to save JPEG frames
78
+ * @param sampleFps Sampling rate in fps (default 3 = every 333ms)
79
+ * @returns Array of frame file paths
80
+ */
81
+ extractFrames(videoPath: string, outputDir: string, sampleFps?: number): Promise<string[]>;
82
+ /** Cleanup local temporary video and frame files. */
83
+ cleanup(videoPath: string, framePaths?: string[]): void;
84
+ /** Cleanup extracted frame files only — keeps the downloaded video file intact. */
85
+ cleanupFrames(frameDir: string): void;
86
+ /** Delete the recorded video on the device — both the .mp4 and its .txt
87
+ * timestamp file. Also sweeps any stale rec_*.mp4 / rec_*.txt left by
88
+ * previous recordings that crashed before cleanup. */
89
+ cleanupDeviceVideo(): void;
90
+ }
@@ -22,7 +22,8 @@ export declare class ScreenRecorder {
22
22
  startRecording(): Promise<void>;
23
23
  /** Force-stop the screen recorder process (idempotent, safe even if not running). */
24
24
  forceStop(): Promise<void>;
25
- /** Stop screen recording on the device. */
25
+ /** Stop screen recording on the device. After the toggle-stop, immediately force-stop
26
+ * the recorder process to dismiss the "录屏分享" share popup that appears after stop. */
26
27
  stopRecording(): Promise<void>;
27
28
  /** Download the recorded video from the device to local filesystem.
28
29
  * @param destDir Optional destination directory. Defaults to a temp dir.
@@ -73,4 +73,3 @@ export interface JudgeResult {
73
73
  reason: string;
74
74
  }
75
75
  export declare const judge: (conclusion: string) => Promise<string>;
76
- export declare const verify: (description: string) => Promise<string>;
@@ -136,46 +136,67 @@
136
136
  - x, y 均为相对坐标,范围 0.000-1.000(三位小数精度)
137
137
  - (0.000, 0.000) 是屏幕左上角,(1.000, 1.000) 是右下角
138
138
 
139
- **五乘五网格自检**(输出坐标前必须执行):
139
+ ---
140
+
141
+ **点击操作坐标决策流程**(reasoning 中必须严格按以下 4 步逐步输出,跳步视为错误):
142
+
143
+ **① 页面观察**
144
+ - 动作:描述目标元素周围的可见元素和控件,找到目标
145
+ - 输出格式:`页面:目标周围可见 [关键元素],目标:[元素内容/类型]`
146
+ - 示例:`页面:目标周围可见导航栏和搜索框,目标:右上角的「...」按钮`
147
+
148
+ **② 方位定位**
149
+ - 动作:判断目标位于截图的哪个方位
150
+ - 输出格式:`方位:x=[左/右],y=[上/下]`
151
+ - 方位定义:
152
+ | 轴 | 左/上 | 右/下 |
153
+ |-----|-------|-------|
154
+ | x | 0.000-0.499 | 0.500-1.000 |
155
+ | y | 0.000-0.499 | 0.500-1.000 |
156
+ - 示例:`方位:x=右,y=上`
157
+
158
+ **③ 坐标决策**
159
+ - 动作:基于②的观察和方位,决策具体的 x, y 坐标
160
+ - 输出格式:
161
+ ```
162
+ 决策依据:[简要说明]
163
+ 最终坐标:x≈0._ _ _, y≈0._ _ _
164
+ ```
165
+ - 要求:每个下划线位置填 1 位数字,坐标保留三位小数
166
+ - 示例:
167
+ ```
168
+ 决策依据:按钮在导航栏最右侧,距右边界约 5%,y 与导航栏同行
169
+ 最终坐标:x≈0.936, y≈0.071
170
+ ```
171
+
172
+ **④ 合理性验证**
173
+ - 动作:检查③的坐标是否与②的方位一致
174
+ - 输出格式:`验证:方位 x=[方位] y=[方位] → x=[值]∈[范围]? y=[值]∈[范围]? → [通过/修正]`
175
+ - **强制约束**:验证不通过时,只能修正坐标,禁止修改②的方位。如果修正后仍不通过,说明②的方位判断有误,必须回到 Step 2 重新判断
176
+ - 修正策略:
177
+ - 小数掉 0(如 y=0.713 但方位是"上")→ 首位补 0(y≈0.073)
178
+ - x/y 颠倒(x/y 值与方位明显不符)→ 交换 x 和 y
179
+ - 示例(通过):`验证:②方位 x=右 y=上 → x=0.936∈[0.500,1.000]✓ y=0.071∈[0.000,0.499]✓ → 通过`
180
+ - 示例(修正):`验证:②方位 x=右 y=上 → x=0.936∈[0.500,1.000]✓ y=0.713∈[0.000,0.499]✗ → 小数掉 0,首位补 0 修正为 y≈0.073 → 重新验证通过`
181
+
182
+ **完整输出示例**:
140
183
  ```
141
- x:0-0.20 0.20-0.40 0.40-0.60 0.60-0.80 0.80-1.00
142
- ┌──────────┬──────────┬──────────┬──────────┬──────────┐
143
- y:0-0.20 │ (1,1) │ (1,2) │ (1,3) │ (1,4) │ (1,5) │
144
- ├──────────┼──────────┼──────────┼──────────┼──────────┤
145
- 0.20-0.40 │ (2,1) │ (2,2) │ (2,3) │ (2,4) │ (2,5) │
146
- ├──────────┼──────────┼──────────┼──────────┼──────────┤
147
- 0.40-0.60 │ (3,1) │ (3,2) │ (3,3) │ (3,4) │ (3,5) │
148
- ├──────────┼──────────┼──────────┼──────────┼──────────┤
149
- 0.60-0.80 │ (4,1) │ (4,2) │ (4,3) │ (4,4) │ (4,5) │
150
- ├──────────┼──────────┼──────────┼──────────┼──────────┤
151
- 0.80-1.00 │ (5,1) │ (5,2) │ (5,3) │ (5,4) │ (5,5) │
152
- └──────────┴──────────┴──────────┴──────────┴──────────┘
184
+ 页面:目标周围可见导航栏和搜索框,目标:右上角的「...」按钮
185
+ 方位:x=右,y=上
186
+ 决策依据:按钮在导航栏最右侧,距右边界约 5%,y 与导航栏同行
187
+ 最终坐标:x≈0.936, y≈0.071
188
+ 验证:②方位 x=右 y=上 → x=0.936∈[0.500,1.000]✓ y=0.071∈[0.000,0.499]✓ → 通过
153
189
  ```
154
- 注:网格仅用于粗定位防大偏离。密集元素(如选项A/B/C/D间距<0.04)可能落入同一格内,此时需基于元素视觉中心和上一步标记点微调精确定位。
155
-
156
- **坐标决策流程**(reasoning 必须依次输出以下四步,缺一不可):
157
-
158
- **① 锚点识别**:找到目标相邻的参照元素(文字、按钮、UI 区块)
159
190
 
160
- **② 相对关系**:描述目标与锚点的方向、距离
191
+ **常见错误**:
192
+ - 小数掉 0:y 值与②的 y 方位不符 → 检查小数点后首位 0 是否被吞
193
+ - 坐标颠倒:x/y 值与②的方位明显不符 → 检查是否 x/y 写反
161
194
 
162
- **③ 网格定位**:判断目标位于哪个网格(行,列),记录该格的坐标范围
195
+ ---
163
196
 
164
- **④ 坐标推算 + 自检**:推算 x, y 值,检查是否落在③的网格范围内,不在则修正
197
+ **滑动操作坐标决策**:
165
198
 
166
- **示例**:
167
- ```
168
- 目标:页面中部的「提交」按钮 → 网格(3,3)(x:0.40-0.60, y:0.40-0.60)
169
- 锚点:表单底部 → 按钮在表单下方居中
170
- 坐标:x≈0.500, y≈0.450 → 自检:x∈[0.40,0.60]✓ y∈[0.40,0.60]✓ → 通过
171
- ```
172
-
173
- **错误检测**:
174
- ```
175
- 坐标:x≈0.500, y≈0.850 → 自检:y=0.850∈[0.80,1.00]网格(5,3),但目标在中部网格(3,3)
176
- 分析:y=0.850 属于底部,但目标在中部
177
- 修正:重新观察,y 应约为 0.450 → 自检通过
178
- ```
199
+ 滑动操作不需要执行上述 4 步流程,直接给出起点和终点坐标即可,但需遵循以下规则:
179
200
 
180
201
  **定位要点**:
181
202
  点击目标时,根据元素类型选择定位位置:
@@ -196,7 +217,7 @@ y:0-0.20 │ (1,1) │ (1,2) │ (1,3) │ (1,4) │ (1,5) │
196
217
  - 其次调整滑动距离
197
218
 
198
219
  **临时元素处理(重要原则)**:
199
- 1. **遇到广告页、开屏页、倒计时等临时性页面时,必须等待其自动消失**,禁止对其进行任何交互操作(包括点击、滑动、长按等)。临时页面元素位置和状态不固定,任何交互都极大概率导致误操作。
220
+ - 临时页面元素位置和状态不固定,任何交互都极大概率导致误操作,必须等待其自动消失。包括但不限于广告页、开屏页、倒计时、弹窗动画、loading圈、骨架屏、占位符、渐入动画
200
221
 
201
222
  **点击失败处理**:
202
223
  - 目标不可见 → 滑动查找;点击无反应/误点 → 重新观察并精确定位
@@ -279,7 +300,7 @@ y:0-0.20 │ (1,1) │ (1,2) │ (1,3) │ (1,4) │ (1,5) │
279
300
  </judgment>
280
301
  ```
281
302
 
282
- **判定规则**:发现任何Bug(含预期不符、用例问题、界面/功能异常等)→ 不通过
303
+ **判定规则**:发现任何Bug(含预期不符、用例问题、界面/功能异常等)→ 不通过。预期中含引号包裹的具体文本但未观测到 → 属于预期不符 → 不通过。
283
304
 
284
305
  **说明**:测试Agent的责任是全面发现Bug,即使发现的Bug与当前测试任务无关,也应该判定为不通过,以提示开发者关注。
285
306
 
@@ -299,21 +320,6 @@ y:0-0.20 │ (1,1) │ (1,2) │ (1,3) │ (1,4) │ (1,5) │
299
320
 
300
321
  仅处理真正遮挡界面操作的弹窗,用户发布的图片、内容卡片中的弹窗不要处理,不要被干扰。
301
322
 
302
- ### Toast/提示验证规则
303
-
304
- 当任务需要验证 toast 提示、弹窗提示、短暂出现又消失的动态元素时(如"验证是否出现toast提示点赞成功"):
305
- - **禁止**仅靠截图观察 toast(toast 显示时间极短,截图通常抓不到)
306
- - **必须**调用 verify 工具进行验证,verify 会对比操作前后的截图来判断 toast 是否出现
307
- - 调用方式:verify("验证是否出现toast提示点赞成功")
308
-
309
- ### verify 工具结果使用规则(严格遵守)
310
-
311
- verify 工具返回 JSON:`{"verified": true/false, "reason": "..."}`
312
- - **verified: true** 表示验证通过(检测到了预期元素),判定结果必须与 verify 一致
313
- - **verified: false** 表示验证不通过(未检测到预期元素),判定结果必须与 verify 一致
314
- - **禁止**无视 verify 的 verified 字段,仅凭自己的截图观察做判断
315
- - **禁止**根据 verify 的 reason 文本自行解读是否通过,只看 verified 字段
316
- - 如果 verified 为 true 但你在当前截图中看不到 toast,仍然判定为通过(toast 已消失是正常的)
317
323
 
318
324
  ## 【提醒】子agent调用规则
319
325
 
@@ -0,0 +1 @@
1
+ export declare const SO_B64: Record<string, string>;
package/dist/index.d.ts CHANGED
@@ -15,6 +15,7 @@ export { type AgentMode, type AgentStatus, type SingleAgentStatus, type AgentRes
15
15
  export { type FeedbackMode, type TaskOptions, type TaskResult, type AnalysisResult, type DeviceInfo, TaskStateTransitions, } from './api/types';
16
16
  export { AgentAPIImpl } from './api/agent_api';
17
17
  export { AutoTestAgent, type AutoTestAgentConfig, type RunTaskOptions } from './api/autotest_agent';
18
+ export { LoopMode, LoopStatus, TerminationReason, type IterationRecord, type LoopResult, type LoopPrimitives, type LoopRunOptions, runLoop, resolveMode, resolveMaxLoops, loadAnalyzerSummary, shouldSuppressAnalyzeAfter, writeLoopResultJson, writeLoopSummaryHtml } from './loop';
18
19
  export { ReportGeneratorImpl } from './reporter/generator';
19
20
  export { SingleAgent, FastActionAgent } from './core/agent/single_agent/agent';
20
21
  export { SingleAgentHooks } from './core/agent/single_agent/hooks';
@@ -30,6 +31,7 @@ export { McpServerImpl } from './mcp-server/server';
30
31
  export { logger, configureLogger, setLogFile, addLogSink, type LoggerConfig, type LogLevel, type LogSink } from './common/logger';
31
32
  export { compressImageToBase64, compressBase64Image, compressImageBytes } from './common/image_helper';
32
33
  export { TokenUsage, DashScopeTokenUsage, resolveTokenType } from './common/usage/token_usage';
34
+ export { CacheStrategy, DashScopeCacheStrategy, CACHE_STRATEGIES, injectPromptCache } from './common/llm_cache/prompt_cache';
33
35
  export { McpServerToolName, TOOL_DESCRIPTIONS, ClickInputSchema, DoubleClickInputSchema, LongClickInputSchema, SwipeInputSchema, DragInputSchema, InputTextInputSchema, ClearTextInputSchema, GoBackInputSchema, GoHomeInputSchema, StartAppInputSchema, StopAppInputSchema, ClearAppDataInputSchema, WaitInputSchema, PressKeyInputSchema, ScreenOnInputSchema, ScreenOffInputSchema, UnlockScreenInputSchema, ClearRecentTaskInputSchema, EnterRecentTaskInputSchema, GetCurrentAppInputSchema, ScreenshotInputSchema, LayoutInputSchema, McpCleanUpInputSchema, OpenControlCenterInputSchema, OpenNotificationCenterInputSchema, PinchInInputSchema, PinchOutInputSchema, RotateGestureInputSchema, RotateScreenInputSchema, StopAllAppInputSchema, StartListenToastInputSchema, GetToastInputSchema, StartDataCollectInputSchema, StopDataCollectInputSchema, GenerateReportInputSchema, ListDevicesInputSchema, RunTaskInputSchema, GetTaskResultInputSchema, ResumeTaskInputSchema, AnalyzeFailureInputSchema, GetConfigInputSchema, UpdateConfigInputSchema, type McpServerConfig, type McpServerCapabilities, } from './mcp-server/types';
34
36
  export { main } from './autotest-cli';
35
37
  export { MessageBuilder, type LLMMessage } from './core/agent/utils/message_builder';
@@ -42,4 +44,3 @@ export { ImageCacher } from './common/image_cacher';
42
44
  export { findProjectRoot, getReportBaseDir } from './common/path_utils';
43
45
  export { CaseManager } from './common/case_manager';
44
46
  export { LLMTrafficRecorder } from './common/dfx/recorder';
45
- export { CacheTransport } from './common/llm_cache/cache_transport';