@empiricalrun/test-gen 0.38.34 → 0.38.35

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.38.35
4
+
5
+ ### Patch Changes
6
+
7
+ - 351950a: fix: allow gist generation for setup project test cases
8
+ - 21d58e7: feat: add session status
9
+
3
10
  ## 0.38.34
4
11
 
5
12
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":"AAmBA,iBAAS,iBAAiB;;;;;EAOzB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,YAAY,EACZ,UAAU,EACV,eAAe,GAChB,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB,QAIA;AAED,wBAAsB,iBAAiB,qBAStC;AAED,wBAAsB,eAAe,0DA0BpC;AAED,wBAAsB,UAAU,kBAqB/B;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":"AAkBA,iBAAS,iBAAiB;;;;;EAOzB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,YAAY,EACZ,UAAU,EACV,eAAe,GAChB,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB,QAIA;AAED,wBAAsB,iBAAiB,qBAItC;AAED,wBAAsB,eAAe,0DA0BpC;AAED,wBAAsB,UAAU,kBAqB/B;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -5,7 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getSessionDetails = exports.endSession = exports.getSessionState = exports.shouldStopSession = exports.setSessionDetails = void 0;
7
7
  const package_json_1 = __importDefault(require("../../package.json"));
8
- const logger_1 = require("../bin/logger");
9
8
  const sessionDetails = {
10
9
  sessionId: undefined,
11
10
  version: package_json_1.default.version,
@@ -32,9 +31,6 @@ exports.setSessionDetails = setSessionDetails;
32
31
  async function shouldStopSession() {
33
32
  const sessionState = await getSessionState();
34
33
  const shouldStopSession = sessionState !== "started";
35
- if (shouldStopSession) {
36
- new logger_1.CustomLogger().warn(`Generation to be stopped due to session state marked as ${sessionState}`);
37
- }
38
34
  return shouldStopSession;
39
35
  }
40
36
  exports.shouldStopSession = shouldStopSession;
@@ -0,0 +1,2 @@
1
+ export { getTypescriptTestBlock } from "../bin/utils/platform/web";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getTypescriptTestBlock = void 0;
4
+ var web_1 = require("../bin/utils/platform/web");
5
+ Object.defineProperty(exports, "getTypescriptTestBlock", { enumerable: true, get: function () { return web_1.getTypescriptTestBlock; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/test-gen",
3
- "version": "0.38.34",
3
+ "version": "0.38.35",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -14,10 +14,6 @@
14
14
  "types": "./dist/agent/infer-agent/index.d.ts",
15
15
  "default": "./dist/agent/infer-agent/index.js"
16
16
  },
17
- "./types": {
18
- "types": "./dist/types/index.d.ts",
19
- "default": "./dist/types/index.js"
20
- },
21
17
  "./agent/master/run": {
22
18
  "types": "./dist/agent/master/run.d.ts",
23
19
  "default": "./dist/agent/master/run.js"
@@ -26,6 +22,14 @@
26
22
  "types": "./dist/agent/master/planner.d.ts",
27
23
  "default": "./dist/agent/master/planner.js"
28
24
  },
25
+ "./types": {
26
+ "types": "./dist/types/index.d.ts",
27
+ "default": "./dist/types/index.js"
28
+ },
29
+ "./utils": {
30
+ "types": "./dist/utils/index.d.ts",
31
+ "default": "./dist/utils/index.js"
32
+ },
29
33
  ".": {
30
34
  "types": "./dist/index.d.ts",
31
35
  "default": "./dist/index.js"
@@ -67,9 +71,9 @@
67
71
  "ts-morph": "^24.0.0",
68
72
  "tsx": "^4.16.2",
69
73
  "typescript": "^5.3.3",
74
+ "@empiricalrun/reporter": "^0.21.4",
70
75
  "@empiricalrun/llm": "^0.9.28",
71
- "@empiricalrun/r2-uploader": "^0.3.7",
72
- "@empiricalrun/reporter": "^0.21.4"
76
+ "@empiricalrun/r2-uploader": "^0.3.7"
73
77
  },
74
78
  "devDependencies": {
75
79
  "@types/detect-port": "^1.3.5",