@empiricalrun/test-gen 0.47.0 → 0.47.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,11 @@
1
1
  # @empiricalrun/test-gen
2
2
 
3
+ ## 0.47.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 1116d14: feat: run test-gen without requiring an installation step
8
+
3
9
  ## 0.47.0
4
10
 
5
11
  ### Minor Changes
package/dist/bin/index.js CHANGED
@@ -151,6 +151,7 @@ async function runAgent(testGenConfig, testGenToken) {
151
151
  return agent;
152
152
  }
153
153
  (async function main() {
154
+ console.log(`Running test-gen v${require("../../package.json").version} from ${__dirname}`);
154
155
  const program = new commander_1.Command();
155
156
  program
156
157
  .option("--token <token>", "Test generation token")
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/bin/utils/index.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AASD,wBAAsB,6BAA6B,CACjD,OAAO,EAAE,UAAU,GAClB,OAAO,CAAC,UAAU,CAAC,CAiErB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/bin/utils/index.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAQD,wBAAsB,6BAA6B,CACjD,OAAO,EAAE,UAAU,GAClB,OAAO,CAAC,UAAU,CAAC,CAmDrB"}
@@ -35,13 +35,6 @@ async function validateAndCompleteCliOptions(options) {
35
35
  validate: (input) => input.trim().length > 0 || "Test prompt is required",
36
36
  });
37
37
  }
38
- if (!options.suites) {
39
- questions.push({
40
- type: "input",
41
- name: "suites",
42
- message: "Enter comma-separated test suites (optional):",
43
- });
44
- }
45
38
  if (questions.length > 0) {
46
39
  // Ask each question individually to avoid type issues
47
40
  const answers = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/test-gen",
3
- "version": "0.47.0",
3
+ "version": "0.47.1",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -73,9 +73,9 @@
73
73
  "ts-morph": "^23.0.0",
74
74
  "tsx": "^4.16.2",
75
75
  "typescript": "^5.3.3",
76
- "@empiricalrun/llm": "^0.9.35",
77
76
  "@empiricalrun/reporter": "^0.23.1",
78
- "@empiricalrun/r2-uploader": "^0.3.8"
77
+ "@empiricalrun/r2-uploader": "^0.3.8",
78
+ "@empiricalrun/llm": "^0.9.35"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@playwright/test": "1.47.1",