@empiricalrun/test-gen 0.43.2 → 0.43.3

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,12 @@
1
1
  # @empiricalrun/test-gen
2
2
 
3
+ ## 0.43.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 0b4cffa: feat: add human in the loop for planner
8
+ - 694e202: fix: report gen assets should not throw in cli
9
+
3
10
  ## 0.43.2
4
11
 
5
12
  ### Patch Changes
@@ -3,5 +3,5 @@ export declare function planTask({ task, specPath, trace, }: {
3
3
  task: string;
4
4
  specPath: string;
5
5
  trace?: TraceClient;
6
- }): Promise<string>;
6
+ }): Promise<any>;
7
7
  //# sourceMappingURL=run.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/agent/planner/run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,WAAW,EAAE,MAAM,mBAAmB,CAAC;AA4BpE,wBAAsB,QAAQ,CAAC,EAC7B,IAAI,EACJ,QAAQ,EACR,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB,mBAyCA"}
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/agent/planner/run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAapE,wBAAsB,QAAQ,CAAC,EAC7B,IAAI,EACJ,QAAQ,EACR,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB,gBA0HA"}
@@ -3,24 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.planTask = void 0;
4
4
  const llm_1 = require("@empiricalrun/llm");
5
5
  const context_1 = require("../../bin/utils/context");
6
- const promptTemplate_0 = "{{#section \"system\"}}\nYou are an expert software engineer in test. You are given a task to provide a high level plan to create a test for a\ngiven scenario.\n\nYou will be provided with already added tests and page object object models which you can use to plan out how to write\nthe test.\n\nThe expected plan should be a list of bullet points and each bullet point is a step in the test.\nYou will be provided with app knowledge as well, which can help you groom the steps in the tests.\n{{/section}}\n\n{{#section \"user\"}}\nApp knowledge\n{{appKnowledge}}\n\n-----\n\nCurrent tests and page object model references\n\n{{fileContext}}\n\n------\n\nTask:\n\n{{task}}\n\n------\n\nFollow the steps to create a test plan:\n- create sub tasks\n- read the task step by step and create sub tasks from the given task\n- Ensure no new steps are added which are not mentioned in the task\n- enriched sub tasks\n- Read the app knowledge provided to you and enrich the verified sub tasks based on the provided information in app\nknowledge.\n- Fill in the missing information in the verified sub tasks based on the app knowledge.\n- based on the type of task, add sub tasks to the verified sub tasks based on the matching criteria\n- final plan:\n- Once all the subtasks are enriched, list all the sub tasks as bullet points\n- Each bullet point should be one of the following actions:\n- Open page, Click on, Fill in, Assert, hover on, press, extract textContent\n- Do not respond with points which do not start with above actions.\n\nFollow the steps before responding\n- The steps should only contain bullet points on list of steps for the test\n- Do not add any other assertion which is not mentioned in the task or app knowledge\n- Respond with <create_sub_tasks></create_sub_tasks>\n<enriched_sub_tasks></enriched_sub_tasks> and <final_plan></final_plan>\n- The final plan should not mention reference to the knowledge base used to generate it\n{{/section}}";
7
- function extractTestPlan(input) {
8
- const result = {
9
- createSubTasks: "",
10
- verfiedSubTasks: "",
11
- enrichedSubTasks: "",
12
- finalPlan: "",
13
- };
14
- const regex = /<create_sub_tasks>([\s\S]*?)<\/create_sub_tasks>[\s\S]*?<enriched_sub_tasks>([\s\S]*?)<\/enriched_sub_tasks>[\s\S]*?<final_plan>([\s\S]*?)<\/final_plan>/g;
15
- let match;
16
- while ((match = regex.exec(input)) !== null) {
17
- const [, createSubTasks, enrichedSubTasks, finalPlan] = match;
18
- result.createSubTasks = createSubTasks?.trim() || "";
19
- result.enrichedSubTasks = enrichedSubTasks?.trim() || "";
20
- result.finalPlan = finalPlan?.trim() || "";
21
- }
22
- return result;
23
- }
6
+ const human_in_the_loop_1 = require("../../human-in-the-loop");
7
+ const promptTemplate_0 = "{{#section \"system\"}}\nYou are an expert software engineer in test and have capability to collaborate with user to generate a test plan.\nYou are given a task to provide a high level plan to create a test for a given scenario.\n\nYou will be provided with already added Playwright tests and page object object models which you can use generate the test plan.\nTest plan should be a list of bullet points and each bullet point representing each test step.\nYou will be provided with app knowledge which can help you groom the steps in the plan.\n\n{{#if humanLoopRequired}}\nDo NOT finish until you have a complete understanding of the plan and have all the minute details of how the test should look like.\n\nALWAYS VERIFY THE PLAN WITH USER BEFORE FINISHING. THE USER SHOULD BE ABLE TO REVIEW AND GIVE GO AHEAD TO THE PLAN.\n\nDO NOT FINISH UNTIL USER EXPLICITLY CONFIRMS THE PLAN IS GOOD TO GO.\n{{/if}}\n\n### Test Plan Creation Guidelines\n\n- **Create Subtasks:**\n - Read the task step by step and create subtasks from the given task.\n - Do not add any new steps that are not mentioned in the task.\n\n- **Enrich Subtasks:**\n - Read the provided app knowledge.\n - Enrich the subtasks based on the information from the app knowledge.\n\n- **Plan:**\n - Once all subtasks are enriched, list them as bullet points.\n - Each bullet point must start with one of the following actions: \n - Open page \n - Click on \n - Fill in \n - Assert \n - Hover on \n - Press \n - Extract textContent\n - Do not include any bullet points that do not start with the above actions.\n\n- **Additional Notes:**\n - The final output should only contain bullet points listing the test steps.\n - Do not add any assertions that are not mentioned in the task or app knowledge.\n - The plan should not reference the knowledge base used to generate it.\n\n{{/section}}\n\n{{#section \"user\"}}\n\nApp knowledge:\n{{appKnowledge}}\n\n-----\n\nCurrent tests and page object model references:\n{{fileContext}}\n\n------\n\nTask:\n{{task}}\n\n------\n{{/section}}";
24
8
  async function planTask({ task, specPath, trace, }) {
25
9
  let fileContext = "";
26
10
  try {
@@ -39,27 +23,106 @@ ${pomPrompt}
39
23
  task,
40
24
  },
41
25
  });
26
+ // if the code in running in ci worker or github actions, disable human loop
27
+ const humanLoopRequired = process.env.CI !== "true";
42
28
  const appKnowledge = await (0, context_1.fetchAppKnowledge)();
43
29
  const messages = (0, llm_1.compilePrompt)(promptTemplate_0, {
44
30
  appKnowledge,
45
31
  fileContext,
46
32
  task,
33
+ humanLoopRequired,
47
34
  });
48
35
  const llm = new llm_1.LLM({
49
36
  provider: "openai",
50
- //TODO: change to o1
51
37
  defaultModel: "gpt-4o",
52
38
  });
53
- const response = await llm.createChatCompletion({
54
- trace: plannerSpan,
55
- traceName: "planner-llm",
56
- messages,
57
- modelParameters: {
58
- temperature: 0.5,
39
+ let maxRetries = 10;
40
+ // TODO: this should be environment driven
41
+ const hl = new human_in_the_loop_1.HumanLoop({ method: "ipc" });
42
+ const tools = [
43
+ {
44
+ type: "function",
45
+ function: {
46
+ name: "finish",
47
+ description: "Final output of the conversation",
48
+ parameters: {
49
+ type: "object",
50
+ properties: {
51
+ plan: {
52
+ type: "string",
53
+ description: "Final plan which is verified by the user",
54
+ },
55
+ },
56
+ required: ["plan"],
57
+ additionalProperties: false,
58
+ },
59
+ },
60
+ },
61
+ ];
62
+ if (humanLoopRequired) {
63
+ tools.push({
64
+ type: "function",
65
+ function: {
66
+ name: "send_user_message",
67
+ description: "Send user message",
68
+ parameters: {
69
+ type: "object",
70
+ properties: {
71
+ message: {
72
+ type: "string",
73
+ description: "Message to be sent to the user for any confirmation or clarification",
74
+ },
75
+ },
76
+ required: ["message"],
77
+ additionalProperties: false,
78
+ },
79
+ strict: true,
80
+ },
81
+ });
82
+ }
83
+ while (maxRetries--) {
84
+ const response = await llm.createChatCompletion({
85
+ trace: plannerSpan,
86
+ traceName: "planner-llm",
87
+ messages,
88
+ tools,
89
+ modelParameters: {
90
+ temperature: 0.5,
91
+ tool_choice: "required",
92
+ },
93
+ });
94
+ const toolCall = response?.tool_calls?.[0];
95
+ const respStr = toolCall?.function.arguments;
96
+ const resp = JSON.parse(respStr || "{}");
97
+ // TODO: handle this as a part of actions handler
98
+ if (toolCall?.function.name === "send_user_message") {
99
+ const feedback = await hl.getFeedback({
100
+ message: resp.message,
101
+ });
102
+ messages.push(response);
103
+ messages.push({
104
+ role: "tool",
105
+ tool_call_id: toolCall?.id,
106
+ content: feedback,
107
+ });
108
+ }
109
+ else {
110
+ const plan = resp.plan;
111
+ plannerSpan?.end({
112
+ output: {
113
+ plan,
114
+ },
115
+ });
116
+ return plan;
117
+ }
118
+ }
119
+ // TODO: handle planner failure scenario
120
+ plannerSpan?.end({
121
+ output: {
122
+ plan: "",
123
+ error: "Failed to generate test plan",
59
124
  },
60
125
  });
61
- const plan = extractTestPlan(response?.content || "");
62
- plannerSpan?.end({ output: plan?.finalPlan });
63
- return plan?.finalPlan;
126
+ return "";
64
127
  }
65
128
  exports.planTask = planTask;
package/dist/bin/index.js CHANGED
@@ -154,7 +154,8 @@ async function runAgent(testGenConfig, testGenToken, span) {
154
154
  specPath,
155
155
  trace,
156
156
  });
157
- new logger_1.CustomLogger({ useReporter: false }).log("Generated Plan:", plan);
157
+ new logger_1.CustomLogger({ useReporter: false }).log("Generated Plan:");
158
+ console.log(plan);
158
159
  await new reporter_1.TestGenUpdatesReporter().sendMessage(plan);
159
160
  }
160
161
  else if (agent === "code") {
@@ -221,7 +222,8 @@ async function runAgent(testGenConfig, testGenToken, span) {
221
222
  if (agentUsed &&
222
223
  agentUsed !== "code" &&
223
224
  agentUsed !== "plan" &&
224
- testGenConfig.testCase.name) {
225
+ testGenConfig.testCase.name &&
226
+ testGenConfig.options) {
225
227
  await new reporter_1.TestGenUpdatesReporter().reportGenAssets({
226
228
  projectRepoName: testGenConfig.options.metadata.projectRepoName,
227
229
  testName: testGenConfig.testCase.name,
@@ -6,6 +6,7 @@ declare class TestFileService {
6
6
  task: string;
7
7
  importPaths: string[];
8
8
  }): Promise<void>;
9
+ post(path: string, body: any): Promise<any>;
9
10
  }
10
11
  export default TestFileService;
11
12
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/file/client.ts"],"names":[],"mappings":"AAAA,cAAM,eAAe;IACnB,OAAO,EAAE,MAAM,CAAC;gBACJ,IAAI,EAAE,MAAM;IAIlB,UAAU,CAAC,EACf,aAAa,EACb,IAAI,EACJ,WAAW,GACZ,EAAE;QACD,aAAa,EAAE,MAAM,CAAC;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,EAAE,CAAC;KACvB;CAeF;AAED,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/file/client.ts"],"names":[],"mappings":"AAAA,cAAM,eAAe;IACnB,OAAO,EAAE,MAAM,CAAC;gBACJ,IAAI,EAAE,MAAM;IAIlB,UAAU,CAAC,EACf,aAAa,EACb,IAAI,EACJ,WAAW,GACZ,EAAE;QACD,aAAa,EAAE,MAAM,CAAC;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,EAAE,CAAC;KACvB;IAgBK,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;CAgBnC;AAED,eAAe,eAAe,CAAC"}
@@ -20,5 +20,21 @@ class TestFileService {
20
20
  console.log("Generated and updated test successfully");
21
21
  }
22
22
  }
23
+ async post(path, body) {
24
+ const resp = await fetch(`${this.baseUrl}${path}`, {
25
+ method: "POST",
26
+ headers: {
27
+ "Content-Type": "application/json",
28
+ },
29
+ body: JSON.stringify(body),
30
+ });
31
+ if (!resp.ok) {
32
+ throw new Error(`API failed with status ${resp.statusText}`);
33
+ }
34
+ else {
35
+ const data = await resp.json();
36
+ return data;
37
+ }
38
+ }
23
39
  }
24
40
  exports.default = TestFileService;
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/file/server.ts"],"names":[],"mappings":"AAUA,qBAAa,WAAW;IACtB,OAAO,CAAC,IAAI,CAAa;IACzB,OAAO,CAAC,QAAQ,CAAc;IAC9B,OAAO,CAAC,OAAO,CAAc;gBAEjB,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;IAKhE,WAAW,CAAC,QAAQ,EAAE,MAAM;IAItB,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC;CAwC1C;AAED,wBAAsB,gBAAgB,kBAAK"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/file/server.ts"],"names":[],"mappings":"AAWA,qBAAa,WAAW;IACtB,OAAO,CAAC,IAAI,CAAa;IACzB,OAAO,CAAC,QAAQ,CAAc;IAC9B,OAAO,CAAC,OAAO,CAAc;gBAEjB,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;IAKhE,WAAW,CAAC,QAAQ,EAAE,MAAM;IAItB,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC;CAyC1C;AAED,wBAAsB,gBAAgB,kBAAK"}
@@ -8,6 +8,7 @@ const express_1 = __importDefault(require("express"));
8
8
  const fs_1 = __importDefault(require("fs"));
9
9
  const path_1 = __importDefault(require("path"));
10
10
  const web_1 = require("../bin/utils/platform/web");
11
+ const ipc_1 = require("../human-in-the-loop/ipc");
11
12
  class FileService {
12
13
  port = 0;
13
14
  filePath = "";
@@ -22,6 +23,7 @@ class FileService {
22
23
  async startFileService() {
23
24
  const app = (0, express_1.default)();
24
25
  app.use(express_1.default.json());
26
+ (0, ipc_1.humanLoopRoute)(app);
25
27
  app.post("/test", async (req, res) => {
26
28
  const { generatedCode, importPaths } = req.body;
27
29
  try {
@@ -0,0 +1,2 @@
1
+ export declare function getFeedbackUsingCli(message: string): Promise<string>;
2
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/human-in-the-loop/cli.ts"],"names":[],"mappings":"AAEA,wBAAsB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAe1E"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.getFeedbackUsingCli = void 0;
7
+ const inquirer_1 = __importDefault(require("inquirer"));
8
+ async function getFeedbackUsingCli(message) {
9
+ const answers = await inquirer_1.default.prompt([
10
+ {
11
+ type: "input",
12
+ name: "feedback",
13
+ message: message || "Does this plan look good?",
14
+ validate: (input) => {
15
+ if (input.trim().length === 0) {
16
+ return "Feedback cannot be empty";
17
+ }
18
+ return true;
19
+ },
20
+ },
21
+ ]);
22
+ return answers.feedback;
23
+ }
24
+ exports.getFeedbackUsingCli = getFeedbackUsingCli;
@@ -0,0 +1,10 @@
1
+ export declare class HumanLoop {
2
+ private options;
3
+ constructor(options: {
4
+ method: "ipc" | "cli";
5
+ });
6
+ getFeedback({ message }: {
7
+ message: string;
8
+ }): Promise<string>;
9
+ }
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/human-in-the-loop/index.ts"],"names":[],"mappings":"AAQA,qBAAa,SAAS;IAER,OAAO,CAAC,OAAO;gBAAP,OAAO,EAAE;QAAE,MAAM,EAAE,KAAK,GAAG,KAAK,CAAA;KAAE;IAChD,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE;CAOnD"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HumanLoop = void 0;
4
+ const cli_1 = require("./cli");
5
+ const ipc_1 = require("./ipc");
6
+ // TODO: how to make this more conversational
7
+ // do we need a layer to understand the feedback ?
8
+ // we need a layer to put the feedback in the context again
9
+ // and then we need to generate final output which the user can review
10
+ class HumanLoop {
11
+ options;
12
+ // TODO: have a better name for this
13
+ constructor(options) {
14
+ this.options = options;
15
+ }
16
+ async getFeedback({ message }) {
17
+ // this needs to have a provider based on environment
18
+ if (this.options.method === "ipc") {
19
+ return await (0, ipc_1.getFeedbackUsingIPC)(message);
20
+ }
21
+ return await (0, cli_1.getFeedbackUsingCli)(message);
22
+ }
23
+ }
24
+ exports.HumanLoop = HumanLoop;
@@ -0,0 +1,4 @@
1
+ import type { Express } from "express";
2
+ export declare function humanLoopRoute(app: Express): void;
3
+ export declare function getFeedbackUsingIPC(message: string): Promise<string>;
4
+ //# sourceMappingURL=ipc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ipc.d.ts","sourceRoot":"","sources":["../../src/human-in-the-loop/ipc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAKvC,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,QAwB1C;AAED,wBAAsB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAa1E"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.getFeedbackUsingIPC = exports.humanLoopRoute = void 0;
7
+ const inquirer_1 = __importDefault(require("inquirer"));
8
+ const client_1 = __importDefault(require("../file/client"));
9
+ function humanLoopRoute(app) {
10
+ app.post("/converse", async (req, res) => {
11
+ const { message } = req.body;
12
+ try {
13
+ const answers = await inquirer_1.default.prompt([
14
+ {
15
+ type: "input",
16
+ name: "feedback",
17
+ message: message || "Does this plan look good?",
18
+ validate: (input) => {
19
+ if (input.trim().length === 0) {
20
+ return "Feedback cannot be empty";
21
+ }
22
+ return true;
23
+ },
24
+ },
25
+ ]);
26
+ return res.send({
27
+ ...answers,
28
+ });
29
+ }
30
+ catch (e) {
31
+ console.error(e);
32
+ }
33
+ });
34
+ }
35
+ exports.humanLoopRoute = humanLoopRoute;
36
+ async function getFeedbackUsingIPC(message) {
37
+ const port = process.env.APP_PORT || 3030;
38
+ const fileService = new client_1.default(Number(port));
39
+ try {
40
+ const resp = await fileService.post("/converse", { message });
41
+ return resp.feedback;
42
+ }
43
+ catch (e) {
44
+ console.error("[getFeedbackUsingIPC] Error while fetching feedback using IPC", e);
45
+ throw e;
46
+ }
47
+ }
48
+ exports.getFeedbackUsingIPC = getFeedbackUsingIPC;
@@ -1 +1 @@
1
- {"version":3,"file":"ts-transformer.d.ts","sourceRoot":"","sources":["../../../src/prompts/lib/ts-transformer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,iBAAS,2BAA2B,IAAI,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC,UAAU,CAAC,CAkG3E;AAED,eAAe,2BAA2B,CAAC"}
1
+ {"version":3,"file":"ts-transformer.d.ts","sourceRoot":"","sources":["../../../src/prompts/lib/ts-transformer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,iBAAS,2BAA2B,IAAI,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC,UAAU,CAAC,CAsG3E;AAED,eAAe,2BAA2B,CAAC"}
@@ -32,7 +32,9 @@ function createHandlebarsTransformer() {
32
32
  const importToVarMap = new Map();
33
33
  const visitor = (node) => {
34
34
  // Handle references to the imported identifiers
35
- if (ts.isIdentifier(node) && importToVarMap.has(node.text)) {
35
+ if (ts.isIdentifier(node) &&
36
+ importToVarMap.has(node.text) &&
37
+ !ts.isPropertyAccessExpression(node.parent)) {
36
38
  return ts.factory.createIdentifier(importToVarMap.get(node.text));
37
39
  }
38
40
  return ts.visitEachChild(node, visitor, context);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/test-gen",
3
- "version": "0.43.2",
3
+ "version": "0.43.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -58,6 +58,7 @@
58
58
  "google-auth-library": "^9.10.0",
59
59
  "google-spreadsheet": "^4.1.2",
60
60
  "ignore": "^5.3.1",
61
+ "inquirer": "^12.4.2",
61
62
  "lodash.isequal": "^4.5.0",
62
63
  "md5": "^2.3.0",
63
64
  "mime": "^4.0.4",
@@ -72,8 +73,8 @@
72
73
  "ts-morph": "^23.0.0",
73
74
  "tsx": "^4.16.2",
74
75
  "typescript": "^5.3.3",
75
- "@empiricalrun/r2-uploader": "^0.3.8",
76
76
  "@empiricalrun/llm": "^0.9.35",
77
+ "@empiricalrun/r2-uploader": "^0.3.8",
77
78
  "@empiricalrun/reporter": "^0.23.1"
78
79
  },
79
80
  "devDependencies": {