@empiricalrun/test-gen 0.73.0 → 0.73.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @empiricalrun/test-gen
|
|
2
2
|
|
|
3
|
+
## 0.73.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a9b79d2: feat: auto-capture screenshots on test runs
|
|
8
|
+
- a1b9060: feat: add interleaved thinking to claude
|
|
9
|
+
- Updated dependencies [a1b9060]
|
|
10
|
+
- @empiricalrun/llm@0.20.2
|
|
11
|
+
|
|
3
12
|
## 0.73.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-loop.d.ts","sourceRoot":"","sources":["../../../src/agent/chat/agent-loop.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAmB,MAAM,wBAAwB,CAAC;AACrE,OAAO,EACL,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,4BAA4B,EAC5B,mBAAmB,EACnB,cAAc,EACf,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAKpD,wBAAsB,aAAa,CAAC,EAClC,SAAS,EACT,aAAa,EACb,QAAQ,EACR,wBAAwB,EACxB,KAAK,EACL,qBAAqB,EACrB,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,iBAAiB,EACjB,MAAM,EACN,YAAY,GACb,EAAE;IACD,SAAS,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IAC3B,aAAa,EAAE,mBAAmB,CAAC;IACnC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,YAAY,EAAE,YAAY,GAAG,SAAS,CAAC;IACvC,QAAQ,EAAE,gBAAgB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IACxB,iBAAiB,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACnE,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB,GAAG,OAAO,CAAC,IAAI,CAAC,CAoEhB"}
|
|
@@ -38,6 +38,7 @@ async function chatAgentLoop({ chatModel, selectedModel, reporter, streamingMess
|
|
|
38
38
|
trace,
|
|
39
39
|
streamingMessageReporter,
|
|
40
40
|
hasThinkingEnabled: featureFlags.includes("extendedThinkingClaude"),
|
|
41
|
+
hasInterleavedThinkingEnabled: featureFlags.includes("interleavedThinkingClaude"),
|
|
41
42
|
});
|
|
42
43
|
if (!response) {
|
|
43
44
|
throw new Error("Error getting response from LLM");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/fetch-image/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAA8B,MAAM,4BAA4B,CAAC;AAS9E,eAAO,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/fetch-image/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAA8B,MAAM,4BAA4B,CAAC;AAS9E,eAAO,MAAM,cAAc,EAAE,IAsD5B,CAAC"}
|
|
@@ -9,7 +9,13 @@ const fetchImageSchema = zod_1.z.object({
|
|
|
9
9
|
exports.fetchImageTool = {
|
|
10
10
|
schema: {
|
|
11
11
|
name: "fetchImage",
|
|
12
|
-
description:
|
|
12
|
+
description: `Use this tool to fetch image data from any valid URL that responds with a PNG or JPEG image.
|
|
13
|
+
It takes an image URL as input and returns the image in base64 format, for you to view or analyze.
|
|
14
|
+
|
|
15
|
+
## Common scenarios:
|
|
16
|
+
1. Understand a test report (for the runTest tool) by fetching screenshots: test results can have screenshot URLs in the attachments section of the report.
|
|
17
|
+
|
|
18
|
+
2. While adding new tests, if the user message contains image URLs, use this tool to fetch the images, and understand the steps that the user is looking to cover.`,
|
|
13
19
|
parameters: fetchImageSchema,
|
|
14
20
|
},
|
|
15
21
|
needsBrowser: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empiricalrun/test-gen",
|
|
3
|
-
"version": "0.73.
|
|
3
|
+
"version": "0.73.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"tsx": "^4.16.2",
|
|
73
73
|
"typescript": "^5.3.3",
|
|
74
74
|
"zod": "^3.23.8",
|
|
75
|
-
"@empiricalrun/llm": "^0.20.
|
|
75
|
+
"@empiricalrun/llm": "^0.20.2",
|
|
76
76
|
"@empiricalrun/r2-uploader": "^0.3.9",
|
|
77
77
|
"@empiricalrun/test-run": "^0.10.9"
|
|
78
78
|
},
|