@autotest/agent 0.0.15 → 0.0.16
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/dist/autotest-cli.js +1 -1
- package/dist/core/agent/single_agent/agent.d.ts +8 -0
- package/dist/index.js +1 -1
- 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/prompt_compare/compare_runner.js +1 -1
- package/package.json +1 -1
|
@@ -49,6 +49,14 @@ export declare class SingleAgent {
|
|
|
49
49
|
* Returns null when the output is not a judge-shaped JSON object, so that
|
|
50
50
|
* ordinary LLM judgment text falls through to the text heuristics. */
|
|
51
51
|
private static parseJudgeResult;
|
|
52
|
+
/** Shared "tool-start" pipeline used by both executeAction and
|
|
53
|
+
* executeActionWithRecording: build the tool-start event payload, record the
|
|
54
|
+
* MCP_TOOL_START event, fire onToolStart hooks, then normalize per-mille /
|
|
55
|
+
* integer coordinates to the 0-1 range before the adapter executes.
|
|
56
|
+
*
|
|
57
|
+
* `beforeScreenshotPath` is the pre-action screenshot for the report (null in
|
|
58
|
+
* recording mode, where the capture-card video frames serve as before-state). */
|
|
59
|
+
private prepareToolStart;
|
|
52
60
|
private executeAction;
|
|
53
61
|
/** Recording mode: start recording → execute action → record 3s → extract frames at
|
|
54
62
|
* 333ms intervals (~10 frames) → filter near-duplicates → build sprite → set as
|