@skyramp/testbot-core 0.13.0 → 0.13.1-v3.446
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/dist/VERSION.json +1 -1
- package/dist/data-safety-worker.js +135 -0
- package/dist/main.js +579 -545
- package/dist/post.js +170 -163
- package/dist/runner-client.cjs +145 -138
- package/dist/runner-client.d.cts +167 -86
- package/package.json +9 -7
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyramp/testbot-core",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1-v3.446",
|
|
4
4
|
"description": "Skyramp Testbot engine: AI-powered deterministic test generation, execution and maintenance",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"//files": "An explicit allowlist, never a glob. `dist/` is gitignored, so without this key npm's .gitignore fallback would publish a package with no engine in it; with a glob it would publish the sourcemaps, whose sourcesContent embeds every src/*.ts verbatim. dist/VERSION.json exists only in a release-engine.yml build.",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/main.js",
|
|
9
9
|
"dist/post.js",
|
|
10
|
+
"dist/data-safety-worker.js",
|
|
10
11
|
"dist/runner-client.cjs",
|
|
11
12
|
"dist/runner-client.d.cts",
|
|
12
13
|
"dist/VERSION.json",
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
"launcherContract": 1
|
|
22
23
|
},
|
|
23
24
|
"scripts": {
|
|
24
|
-
"build": "esbuild src/index.ts --bundle --platform=node --target=node24 --outfile=dist/main.js --sourcemap --sources-content=false --format=cjs --minify --main-fields=module,main && esbuild src/post.ts --bundle --platform=node --target=node24 --outfile=dist/post.js --sourcemap --sources-content=false --format=cjs --minify --main-fields=module,main && esbuild src/staged/runner-client.ts --bundle --platform=node --target=node22 --outfile=dist/runner-client.cjs --format=cjs --minify --keep-names --main-fields=module,main && dts-bundle-generator --silent --project tsconfig.json --no-check --external-inlines zod -o dist/runner-client.d.cts src/staged/runner-client.ts",
|
|
25
|
+
"build": "npm run build:data-safety-worker && esbuild src/index.ts --bundle --platform=node --target=node24 --outfile=dist/main.js --sourcemap --sources-content=false --format=cjs --minify --main-fields=module,main && esbuild src/post.ts --bundle --platform=node --target=node24 --outfile=dist/post.js --sourcemap --sources-content=false --format=cjs --minify --main-fields=module,main && esbuild src/staged/runner-client.ts --bundle --platform=node --target=node22 --outfile=dist/runner-client.cjs --format=cjs --minify --keep-names --main-fields=module,main && dts-bundle-generator --silent --project tsconfig.json --no-check --external-inlines zod -o dist/runner-client.d.cts src/staged/runner-client.ts",
|
|
25
26
|
"test": "vitest run",
|
|
26
27
|
"test:watch": "vitest",
|
|
27
28
|
"test:contract": "vitest run --config vitest.contract.config.ts",
|
|
@@ -29,10 +30,11 @@
|
|
|
29
30
|
"typecheck": "tsc --noEmit",
|
|
30
31
|
"package": "npm run build",
|
|
31
32
|
"check:pack": "node scripts/check-pack.mjs",
|
|
32
|
-
"build:staged": "esbuild src/staged/cli.ts --bundle --platform=node --target=node24 --outfile=dist/staged.js --sourcemap --format=cjs --main-fields=module,main",
|
|
33
|
+
"build:staged": "npm run build:data-safety-worker && esbuild src/staged/cli.ts --bundle --platform=node --target=node24 --outfile=dist/staged.js --sourcemap --format=cjs --main-fields=module,main",
|
|
33
34
|
"staged": "npm run build:staged && node dist/staged.js",
|
|
34
35
|
"check:cycles": "madge --circular --extensions ts --ts-config tsconfig.json --exclude '^\\.\\./' src/staged",
|
|
35
|
-
"lint:gate-prompts": "node scripts/lint-gate-prompts.mjs"
|
|
36
|
+
"lint:gate-prompts": "node scripts/lint-gate-prompts.mjs",
|
|
37
|
+
"build:data-safety-worker": "esbuild src/staged/contracts/data-safety-worker.ts --bundle --platform=node --target=node24 --outfile=dist/data-safety-worker.js --format=cjs --minify --main-fields=module,main"
|
|
36
38
|
},
|
|
37
39
|
"repository": {
|
|
38
40
|
"type": "git",
|
|
@@ -42,7 +44,7 @@
|
|
|
42
44
|
"author": "Skyramp Inc",
|
|
43
45
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
46
|
"homepage": "https://github.com/skyramp/testbot#readme",
|
|
45
|
-
"//devDependencies": "The published package has NO runtime dependencies: esbuild --bundle inlines all of these into dist/main.js and dist/post.js, which is why the public action mirror ships
|
|
47
|
+
"//devDependencies": "The published package has NO runtime dependencies: esbuild --bundle inlines all of these into dist/main.js and dist/post.js, which is why the public action mirror ships engine bundles and no node_modules. Declaring them as runtime deps would make every customer runner install ~11 packages it never loads, and would undo the release-split premise that installing the engine fetches one small file. Anything genuinely resolved at run time (@skyramp/skyramp, @skyramp/mcp on the runner) is installed by src/mcp.ts and found via NODE_PATH, not from this list.",
|
|
46
48
|
"devDependencies": {
|
|
47
49
|
"@actions/artifact": "^6.1.0",
|
|
48
50
|
"@actions/cache": "^6.0.0",
|
|
@@ -59,12 +61,12 @@
|
|
|
59
61
|
"@types/semver": "^7.8.0",
|
|
60
62
|
"dts-bundle-generator": "9.5.1",
|
|
61
63
|
"esbuild": "^0.28.1",
|
|
62
|
-
"fast-xml-parser": "^5.
|
|
64
|
+
"fast-xml-parser": "^5.12.0",
|
|
63
65
|
"js-yaml": "^4.3.2",
|
|
64
66
|
"jsonc-parser": "^3.3.1",
|
|
65
67
|
"madge": "^8.0.0",
|
|
66
68
|
"semver": "^7.8.5",
|
|
67
69
|
"vitest": "^5.0.5",
|
|
68
|
-
"zod": "^4.6.
|
|
70
|
+
"zod": "^4.6.7"
|
|
69
71
|
}
|
|
70
72
|
}
|