@empiricalrun/test-gen 0.32.4 → 0.32.8

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,32 @@
1
1
  # @empiricalrun/test-gen
2
2
 
3
+ ## 0.32.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [b5379b8]
8
+ - @empiricalrun/llm@0.9.9
9
+
10
+ ## 0.32.7
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [e33656e]
15
+ - @empiricalrun/llm@0.9.8
16
+
17
+ ## 0.32.6
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [cf1740a]
22
+ - @empiricalrun/llm@0.9.7
23
+
24
+ ## 0.32.5
25
+
26
+ ### Patch Changes
27
+
28
+ - 4e0b694: fix: agent code not getting updated
29
+
3
30
  ## 0.32.4
4
31
 
5
32
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/agent/master/run.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,GAAG,EACH,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAYlD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,oBAAoB,EAErB,MAAM,aAAa,CAAC;AAOrB,wBAAsB,aAAa,CAAC,EAClC,IAAI,EACJ,eAAe,EACf,aAAa,EACb,IAAI,EACJ,KAAK,EACL,GAAG,EACH,OAAO,EACP,cAAc,EACd,OAAO,EACP,aAAa,GACd,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,EAAE,GAAG,EAAE,CAAC;IACrB,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,CA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B,2FAwDA;AAED,wBAAsB,0BAA0B,CAAC,EAC/C,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,OAAO,GACR,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,oBAAoB,CAAC;CAC/B;;;GAqLA"}
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createTestUsingMasterAgent = exports.getNextAction = void 0;
4
4
  const llm_1 = require("@empiricalrun/llm");
5
5
  const vision_1 = require("@empiricalrun/llm/vision");
6
- const test_1 = require("playwright/test");
7
6
  const actions_1 = require("../../actions");
8
7
  const next_task_1 = require("../../actions/next-task");
9
8
  const skill_1 = require("../../actions/skill");
@@ -220,7 +219,6 @@ async function createTestUsingMasterAgent({ task, page, testCase, options, }) {
220
219
  output: { action: output.action, reason: output.reason },
221
220
  });
222
221
  }
223
- test_1.test.skip();
224
222
  const { code, importPaths } = actions.generateCode();
225
223
  trace.update({ input: { task }, output: { code } });
226
224
  logger.success("Successfully generated code for the given task");
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAalC,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,iBAmCxD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAclC,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,iBAoCxD"}
package/dist/index.js CHANGED
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.createTest = void 0;
7
7
  const llm_1 = require("@empiricalrun/llm");
8
+ const test_1 = __importDefault(require("playwright/test"));
8
9
  const run_1 = require("./agent/master/run");
9
10
  const utils_1 = require("./bin/utils");
10
11
  const client_1 = __importDefault(require("./file/client"));
@@ -49,5 +50,6 @@ async function createTest(task, page) {
49
50
  generatedCode: code,
50
51
  importPaths,
51
52
  });
53
+ test_1.default.skip();
52
54
  }
53
55
  exports.createTest = createTest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/test-gen",
3
- "version": "0.32.4",
3
+ "version": "0.32.8",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -44,7 +44,7 @@
44
44
  "ts-morph": "^23.0.0",
45
45
  "tsx": "^4.16.2",
46
46
  "typescript": "^5.3.3",
47
- "@empiricalrun/llm": "^0.9.6",
47
+ "@empiricalrun/llm": "^0.9.9",
48
48
  "@empiricalrun/r2-uploader": "^0.3.4",
49
49
  "@empiricalrun/reporter": "^0.20.7"
50
50
  },