@skyramp/testbot-core 0.12.0-v3.9 → 0.12.0
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/LICENSE.md +1 -0
- package/README.md +20 -0
- package/assets/gen-reference/INDEX.md +24 -0
- package/assets/gen-reference/java/ContractTest.java +113 -0
- package/assets/gen-reference/javascript/contract_test.spec.js +95 -0
- package/assets/gen-reference/javascript/integration_test.spec.js +72 -0
- package/assets/gen-reference/python/contract_test.py +104 -0
- package/assets/gen-reference/python/integration_test.py +72 -0
- package/assets/gen-reference/typescript/contract_test.spec.ts +94 -0
- package/assets/gen-reference/typescript/integration_test.spec.ts +71 -0
- package/dist/VERSION.json +1 -0
- package/dist/main.js +425 -429
- package/dist/post.js +153 -157
- package/package.json +19 -4
package/package.json
CHANGED
|
@@ -1,16 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyramp/testbot-core",
|
|
3
|
-
"version": "0.12.0
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Skyramp Testbot engine: AI-powered deterministic test generation, execution and maintenance",
|
|
5
5
|
"main": "dist/main.js",
|
|
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. eval-entry.js is a development entry and must not ship.",
|
|
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. eval-entry.js is a development entry and must not ship. dist/VERSION.json exists only in a release-engine.yml build. assets/gen-reference/ is the staged codegen reference corpus, which generate.ts finds at ../assets from dist/.",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/main.js",
|
|
9
|
-
"dist/post.js"
|
|
9
|
+
"dist/post.js",
|
|
10
|
+
"dist/VERSION.json",
|
|
11
|
+
"assets/gen-reference/INDEX.md",
|
|
12
|
+
"assets/gen-reference/java/ContractTest.java",
|
|
13
|
+
"assets/gen-reference/javascript/contract_test.spec.js",
|
|
14
|
+
"assets/gen-reference/javascript/integration_test.spec.js",
|
|
15
|
+
"assets/gen-reference/python/contract_test.py",
|
|
16
|
+
"assets/gen-reference/python/integration_test.py",
|
|
17
|
+
"assets/gen-reference/typescript/contract_test.spec.ts",
|
|
18
|
+
"assets/gen-reference/typescript/integration_test.spec.ts"
|
|
10
19
|
],
|
|
11
20
|
"engines": {
|
|
12
21
|
"node": ">=24"
|
|
13
22
|
},
|
|
23
|
+
"//skyramp": "launcherContract: the action launcher refuses an engine below the contract it needs. 1 = the engine fills the action input defaults itself (src/input-defaults.ts). Raise it only when a launcher starts to depend on new engine behavior.",
|
|
24
|
+
"skyramp": {
|
|
25
|
+
"launcherContract": 1
|
|
26
|
+
},
|
|
14
27
|
"scripts": {
|
|
15
28
|
"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/eval-entry.ts --bundle --platform=node --target=node24 --outfile=dist/eval-entry.js --sourcemap --sources-content=false --format=cjs --minify --main-fields=module,main",
|
|
16
29
|
"test": "vitest run",
|
|
@@ -30,7 +43,8 @@
|
|
|
30
43
|
"directory": "packages/core"
|
|
31
44
|
},
|
|
32
45
|
"author": "Skyramp Inc",
|
|
33
|
-
"license": "
|
|
46
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
47
|
+
"homepage": "https://github.com/skyramp/testbot#readme",
|
|
34
48
|
"//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 two files 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.",
|
|
35
49
|
"devDependencies": {
|
|
36
50
|
"@actions/artifact": "^6.1.0",
|
|
@@ -45,6 +59,7 @@
|
|
|
45
59
|
"@types/js-yaml": "^4.0.9",
|
|
46
60
|
"@types/node": "^25.2.3",
|
|
47
61
|
"esbuild": "^0.28.1",
|
|
62
|
+
"fast-xml-parser": "^5.10.1",
|
|
48
63
|
"js-yaml": "^4.3.2",
|
|
49
64
|
"jsonc-parser": "^3.3.1",
|
|
50
65
|
"madge": "^8.0.0",
|