@esportsplus/typescript 0.29.6 → 0.31.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/README.md +11 -3
- package/bin/tsc-alias +1 -1
- package/build/cli/diagnostics.d.ts +4 -0
- package/build/cli/diagnostics.js +90 -0
- package/build/cli/tsc.d.ts +10 -2
- package/build/cli/tsc.js +352 -51
- package/build/compiler/ast.d.ts +7 -5
- package/build/compiler/ast.js +6 -6
- package/build/compiler/code.d.ts +5 -4
- package/build/compiler/code.js +12 -1
- package/build/compiler/coordinator.d.ts +17 -7
- package/build/compiler/coordinator.js +54 -31
- package/build/compiler/imports.d.ts +6 -3
- package/build/compiler/imports.js +26 -23
- package/build/compiler/index.d.ts +3 -0
- package/build/compiler/index.js +1 -0
- package/build/compiler/language-service.d.ts +24 -5
- package/build/compiler/language-service.js +215 -53
- package/build/compiler/plugins/index.d.ts +4 -2
- package/build/compiler/plugins/tsc.d.ts +1 -1
- package/build/compiler/plugins/vite.d.ts +6 -3
- package/build/compiler/plugins/vite.js +12 -7
- package/build/compiler/sourcemap.d.ts +50 -0
- package/build/compiler/sourcemap.js +247 -0
- package/build/compiler/types.d.ts +7 -6
- package/build/compiler/uid.d.ts +5 -2
- package/build/compiler/uid.js +33 -4
- package/build/index.d.ts +1 -1
- package/build/index.js +1 -1
- package/build/ts.d.ts +3 -0
- package/build/ts.js +3 -0
- package/package.json +22 -8
- package/tsconfig.dev.json +13 -0
- package/tsconfig.package.json +4 -1
- package/.claude/skills/code-audit/registry-typescript.json +0 -326
- package/.editorconfig +0 -9
- package/.gitattributes +0 -2
- package/.github/dependabot.yml +0 -25
- package/.github/workflows/bump.yml +0 -27
- package/.github/workflows/dependabot.yml +0 -58
- package/.github/workflows/publish.yml +0 -42
- package/.github/workflows/templates/bump.yml +0 -9
- package/.github/workflows/templates/dependabot.yml +0 -12
- package/.github/workflows/templates/publish.yml +0 -16
- package/pnpm-workspace.yaml +0 -6
- package/src/cli/tsc.ts +0 -235
- package/src/compiler/ast.ts +0 -60
- package/src/compiler/code.ts +0 -27
- package/src/compiler/coordinator.ts +0 -284
- package/src/compiler/imports.ts +0 -185
- package/src/compiler/index.ts +0 -7
- package/src/compiler/language-service.ts +0 -121
- package/src/compiler/plugins/index.ts +0 -5
- package/src/compiler/plugins/tsc.ts +0 -6
- package/src/compiler/plugins/vite.ts +0 -91
- package/src/compiler/types.ts +0 -83
- package/src/compiler/uid.ts +0 -10
- package/src/constants.ts +0 -4
- package/src/index.ts +0 -1
- package/tests/cli/tsc.test.ts +0 -155
- package/tests/compiler/ast.test.ts +0 -131
- package/tests/compiler/code.test.ts +0 -73
- package/tests/compiler/coordinator.bench.ts +0 -101
- package/tests/compiler/coordinator.test.ts +0 -872
- package/tests/compiler/imports.test.ts +0 -167
- package/tests/compiler/language-service.test.ts +0 -90
- package/tests/compiler/plugins.test.ts +0 -172
- package/tests/compiler/uid.test.ts +0 -70
- package/tsconfig.json +0 -3
- package/vitest.config.ts +0 -14
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { Node, SourceFile } from 'typescript/unstable/ast';
|
|
2
|
+
import type { Checker, Program } from 'typescript/unstable/sync';
|
|
2
3
|
type ImportIntent = {
|
|
3
4
|
add?: string[];
|
|
4
5
|
namespace?: string;
|
|
@@ -18,16 +19,16 @@ type Replacement = Range & {
|
|
|
18
19
|
newText: string;
|
|
19
20
|
};
|
|
20
21
|
type ReplacementIntent = {
|
|
21
|
-
generate: (sourceFile:
|
|
22
|
-
node:
|
|
22
|
+
generate: (sourceFile: SourceFile) => string;
|
|
23
|
+
node: Node;
|
|
23
24
|
};
|
|
24
25
|
type SharedContext = Map<string, unknown>;
|
|
25
26
|
type TransformContext = {
|
|
26
|
-
checker:
|
|
27
|
+
checker: Checker;
|
|
27
28
|
code: string;
|
|
28
|
-
program:
|
|
29
|
+
program: Program;
|
|
29
30
|
shared: SharedContext;
|
|
30
|
-
sourceFile:
|
|
31
|
+
sourceFile: SourceFile;
|
|
31
32
|
};
|
|
32
33
|
type TransformResult = {
|
|
33
34
|
imports?: ImportIntent[];
|
package/build/compiler/uid.d.ts
CHANGED
package/build/compiler/uid.js
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import path from 'path';
|
|
2
|
+
const BACKSLASH_REGEX = /\\/g;
|
|
3
|
+
const FNV_OFFSET_BASIS = 2166136261;
|
|
4
|
+
const FNV_PRIME = 16777619;
|
|
5
|
+
const NAMESPACE_WIDTH = 7;
|
|
6
|
+
const UNSCOPED_NAMESPACE = 'u';
|
|
7
|
+
let counter = 0, namespace = UNSCOPED_NAMESPACE;
|
|
8
|
+
function derive(id, code) {
|
|
9
|
+
let candidate = format(id), salt = 0;
|
|
10
|
+
while (code.includes(candidate)) {
|
|
11
|
+
salt++;
|
|
12
|
+
candidate = format(id + '#' + salt);
|
|
13
|
+
}
|
|
14
|
+
return candidate;
|
|
15
|
+
}
|
|
16
|
+
function format(id) {
|
|
17
|
+
return hash(id).toString(36).padStart(NAMESPACE_WIDTH, '0');
|
|
18
|
+
}
|
|
19
|
+
function hash(value) {
|
|
20
|
+
let h = FNV_OFFSET_BASIS;
|
|
21
|
+
for (let i = 0, n = value.length; i < n; i++) {
|
|
22
|
+
h ^= value.charCodeAt(i);
|
|
23
|
+
h = Math.imul(h, FNV_PRIME);
|
|
24
|
+
}
|
|
25
|
+
return h >>> 0;
|
|
26
|
+
}
|
|
27
|
+
const uid = (name) => {
|
|
28
|
+
return name + '_' + namespace + (counter++).toString(36);
|
|
5
29
|
};
|
|
30
|
+
uid.scope = (root, fileName, code) => {
|
|
31
|
+
counter = 0;
|
|
32
|
+
namespace = derive(path.relative(root, fileName).replace(BACKSLASH_REGEX, '/') || fileName, code);
|
|
33
|
+
};
|
|
34
|
+
export default uid;
|
package/build/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * as ts from './ts.js';
|
package/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * as ts from './ts.js';
|
package/build/ts.d.ts
ADDED
package/build/ts.js
ADDED
package/package.json
CHANGED
|
@@ -9,17 +9,18 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@esportsplus/cli-passthrough": "^0.0.15",
|
|
11
11
|
"@esportsplus/utilities": "^0.28.0",
|
|
12
|
-
"@types/node": "^26.
|
|
13
|
-
"tsc-alias": "^1.
|
|
14
|
-
"typescript": "
|
|
12
|
+
"@types/node": "^26.1.1",
|
|
13
|
+
"tsc-alias": "^1.9.1",
|
|
14
|
+
"typescript": "7.0.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"vite": "^8.1.
|
|
18
|
-
"vitest": "^4.1.
|
|
17
|
+
"vite": "^8.1.5",
|
|
18
|
+
"vitest": "^4.1.10"
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|
|
21
21
|
"./package.json": "./package.json",
|
|
22
22
|
"./tsconfig.browser.json": "./tsconfig.browser.json",
|
|
23
|
+
"./tsconfig.dev.json": "./tsconfig.dev.json",
|
|
23
24
|
"./tsconfig.node.json": "./tsconfig.node.json",
|
|
24
25
|
"./tsconfig.package.json": "./tsconfig.package.json",
|
|
25
26
|
"./compiler": {
|
|
@@ -31,6 +32,15 @@
|
|
|
31
32
|
"default": "./build/index.js"
|
|
32
33
|
}
|
|
33
34
|
},
|
|
35
|
+
"files": [
|
|
36
|
+
"bin",
|
|
37
|
+
"build",
|
|
38
|
+
"tsconfig.base.json",
|
|
39
|
+
"tsconfig.browser.json",
|
|
40
|
+
"tsconfig.dev.json",
|
|
41
|
+
"tsconfig.node.json",
|
|
42
|
+
"tsconfig.package.json"
|
|
43
|
+
],
|
|
34
44
|
"main": "build/index.js",
|
|
35
45
|
"name": "@esportsplus/typescript",
|
|
36
46
|
"overrides": {
|
|
@@ -43,11 +53,15 @@
|
|
|
43
53
|
},
|
|
44
54
|
"type": "module",
|
|
45
55
|
"types": "build/index.d.ts",
|
|
46
|
-
"version": "0.
|
|
56
|
+
"version": "0.31.0",
|
|
47
57
|
"scripts": {
|
|
58
|
+
"agent:bench": "pnpm bench:run",
|
|
59
|
+
"agent:build": "pnpm build",
|
|
60
|
+
"agent:test": "pnpm typecheck && pnpm test",
|
|
48
61
|
"bench:run": "vitest bench --run",
|
|
49
|
-
"build": "tsc && tsc-alias",
|
|
62
|
+
"build": "tsc -p tsconfig.package.json && tsc-alias -p tsconfig.package.json",
|
|
50
63
|
"-": "-",
|
|
51
|
-
"test": "vitest run"
|
|
64
|
+
"test": "vitest run",
|
|
65
|
+
"typecheck": "tsc"
|
|
52
66
|
}
|
|
53
67
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"noEmit": true,
|
|
4
|
+
"rootDir": "${configDir}"
|
|
5
|
+
},
|
|
6
|
+
"extends": "./tsconfig.package.json",
|
|
7
|
+
"include": [
|
|
8
|
+
"${configDir}/*.config.ts",
|
|
9
|
+
"${configDir}/bench/**/*",
|
|
10
|
+
"${configDir}/src/**/*",
|
|
11
|
+
"${configDir}/test/**/*"
|
|
12
|
+
]
|
|
13
|
+
}
|
package/tsconfig.package.json
CHANGED
|
@@ -1,326 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"project": "@esportsplus/typescript",
|
|
3
|
-
"version": "0.29.0",
|
|
4
|
-
"target": "src/ tests/",
|
|
5
|
-
"runs": [
|
|
6
|
-
{
|
|
7
|
-
"date": "2026-04-11",
|
|
8
|
-
"commit": "e0657fe",
|
|
9
|
-
"mode": "full",
|
|
10
|
-
"files_audited": 13,
|
|
11
|
-
"files_skipped": 0,
|
|
12
|
-
"findings_new": 2,
|
|
13
|
-
"findings_recurring": 0,
|
|
14
|
-
"sqale_rating": "A",
|
|
15
|
-
"agent_results": {
|
|
16
|
-
"correctness": { "status": "ok", "symbols": 26, "sub_targets": 1, "findings": 1 },
|
|
17
|
-
"security": { "status": "ok", "symbols": 14, "sub_targets": 1, "findings": 0 },
|
|
18
|
-
"performance": { "status": "ok", "symbols": 15, "sub_targets": 1, "findings": 1 },
|
|
19
|
-
"architecture": { "status": "ok", "symbols": 32, "sub_targets": 1, "findings": 0 },
|
|
20
|
-
"testing": { "status": "ok", "symbols": 16, "sub_targets": 1, "findings": 1 }
|
|
21
|
-
},
|
|
22
|
-
"agent_overlap": {},
|
|
23
|
-
"estimated_remaining": null
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"date": "2026-04-11",
|
|
27
|
-
"commit": "e0657fe",
|
|
28
|
-
"mode": "incremental",
|
|
29
|
-
"files_audited": 13,
|
|
30
|
-
"files_skipped": 0,
|
|
31
|
-
"findings_new": 0,
|
|
32
|
-
"findings_recurring": 1,
|
|
33
|
-
"sqale_rating": "A",
|
|
34
|
-
"agent_results": {
|
|
35
|
-
"correctness": { "status": "ok", "symbols": 26, "sub_targets": 1, "findings": 0 },
|
|
36
|
-
"security": { "status": "ok", "symbols": 14, "sub_targets": 1, "findings": 0 },
|
|
37
|
-
"performance": { "status": "ok", "symbols": 15, "sub_targets": 1, "findings": 0 },
|
|
38
|
-
"architecture": { "status": "ok", "symbols": 32, "sub_targets": 1, "findings": 0 },
|
|
39
|
-
"testing": { "status": "ok", "symbols": 16, "sub_targets": 1, "findings": 1 }
|
|
40
|
-
},
|
|
41
|
-
"agent_overlap": {},
|
|
42
|
-
"estimated_remaining": null
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"date": "2026-04-11",
|
|
46
|
-
"commit": "e0657fe",
|
|
47
|
-
"mode": "incremental",
|
|
48
|
-
"files_audited": 13,
|
|
49
|
-
"files_skipped": 0,
|
|
50
|
-
"findings_new": 0,
|
|
51
|
-
"findings_recurring": 0,
|
|
52
|
-
"sqale_rating": "A",
|
|
53
|
-
"agent_results": {
|
|
54
|
-
"correctness": { "status": "ok", "symbols": 26, "sub_targets": 1, "findings": 0 },
|
|
55
|
-
"security": { "status": "ok", "symbols": 14, "sub_targets": 1, "findings": 0 },
|
|
56
|
-
"performance": { "status": "ok", "symbols": 15, "sub_targets": 1, "findings": 0 },
|
|
57
|
-
"architecture": { "status": "ok", "symbols": 32, "sub_targets": 1, "findings": 0 },
|
|
58
|
-
"testing": { "status": "ok", "symbols": 16, "sub_targets": 1, "findings": 0 }
|
|
59
|
-
},
|
|
60
|
-
"agent_overlap": {},
|
|
61
|
-
"estimated_remaining": null
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"date": "2026-04-11",
|
|
65
|
-
"commit": "59ea7a3",
|
|
66
|
-
"mode": "incremental",
|
|
67
|
-
"files_audited": 19,
|
|
68
|
-
"files_skipped": 0,
|
|
69
|
-
"findings_new": 9,
|
|
70
|
-
"findings_recurring": 1,
|
|
71
|
-
"sqale_rating": "B",
|
|
72
|
-
"agent_results": {
|
|
73
|
-
"correctness": { "status": "ok", "symbols": 26, "sub_targets": 1, "findings": 0 },
|
|
74
|
-
"security": { "status": "ok", "symbols": 14, "sub_targets": 1, "findings": 0 },
|
|
75
|
-
"performance": { "status": "ok", "symbols": 15, "sub_targets": 1, "findings": 0 },
|
|
76
|
-
"architecture": { "status": "ok", "symbols": 32, "sub_targets": 1, "findings": 2 },
|
|
77
|
-
"testing": { "status": "ok", "symbols": 35, "sub_targets": 1, "findings": 7 }
|
|
78
|
-
},
|
|
79
|
-
"agent_overlap": {},
|
|
80
|
-
"estimated_remaining": null
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"date": "2026-04-11",
|
|
84
|
-
"commit": "59ea7a3",
|
|
85
|
-
"mode": "incremental",
|
|
86
|
-
"files_audited": 21,
|
|
87
|
-
"files_skipped": 0,
|
|
88
|
-
"findings_new": 0,
|
|
89
|
-
"findings_recurring": 0,
|
|
90
|
-
"sqale_rating": "A",
|
|
91
|
-
"agent_results": {
|
|
92
|
-
"correctness": { "status": "ok", "symbols": 24, "sub_targets": 1, "findings": 0 },
|
|
93
|
-
"security": { "status": "ok", "symbols": 14, "sub_targets": 1, "findings": 0 },
|
|
94
|
-
"performance": { "status": "ok", "symbols": 13, "sub_targets": 1, "findings": 0 },
|
|
95
|
-
"architecture": { "status": "ok", "symbols": 30, "sub_targets": 1, "findings": 0 },
|
|
96
|
-
"testing": { "status": "ok", "symbols": 35, "sub_targets": 1, "findings": 0 }
|
|
97
|
-
},
|
|
98
|
-
"agent_overlap": {},
|
|
99
|
-
"estimated_remaining": null
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"date": "2026-04-11",
|
|
103
|
-
"commit": "59ea7a3",
|
|
104
|
-
"mode": "incremental",
|
|
105
|
-
"files_audited": 21,
|
|
106
|
-
"files_skipped": 0,
|
|
107
|
-
"findings_new": 0,
|
|
108
|
-
"findings_recurring": 0,
|
|
109
|
-
"sqale_rating": "A",
|
|
110
|
-
"agent_results": {
|
|
111
|
-
"correctness": { "status": "ok", "symbols": 24, "sub_targets": 1, "findings": 0 },
|
|
112
|
-
"security": { "status": "ok", "symbols": 14, "sub_targets": 1, "findings": 0 },
|
|
113
|
-
"performance": { "status": "ok", "symbols": 13, "sub_targets": 1, "findings": 0 },
|
|
114
|
-
"architecture": { "status": "ok", "symbols": 30, "sub_targets": 1, "findings": 0 },
|
|
115
|
-
"testing": { "status": "ok", "symbols": 35, "sub_targets": 1, "findings": 0 }
|
|
116
|
-
},
|
|
117
|
-
"agent_overlap": {},
|
|
118
|
-
"estimated_remaining": null
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
"findings": {
|
|
122
|
-
"F-001": {
|
|
123
|
-
"status": "implemented",
|
|
124
|
-
"file": "src/compiler/coordinator.ts",
|
|
125
|
-
"symbol": "transform",
|
|
126
|
-
"category": "correctness",
|
|
127
|
-
"title": "AST Position Staleness After Code Modification",
|
|
128
|
-
"content_hash": "ast-position-staleness-coordinator-transform",
|
|
129
|
-
"file_hash": "",
|
|
130
|
-
"first_seen": "2026-04-11",
|
|
131
|
-
"last_seen": "2026-04-11",
|
|
132
|
-
"found_by": ["correctness"],
|
|
133
|
-
"priority_score": 66
|
|
134
|
-
},
|
|
135
|
-
"F-002": {
|
|
136
|
-
"status": "deferred",
|
|
137
|
-
"file": "src/compiler/coordinator.ts",
|
|
138
|
-
"symbol": "applyImports",
|
|
139
|
-
"category": "optimize",
|
|
140
|
-
"title": "Redundant SourceFile Recreation in applyImports Loop",
|
|
141
|
-
"content_hash": "redundant-sourcefile-recreation-applyimports",
|
|
142
|
-
"file_hash": "",
|
|
143
|
-
"first_seen": "2026-04-11",
|
|
144
|
-
"last_seen": "2026-04-11",
|
|
145
|
-
"found_by": ["performance"],
|
|
146
|
-
"priority_score": 44
|
|
147
|
-
},
|
|
148
|
-
"F-003": {
|
|
149
|
-
"status": "implemented",
|
|
150
|
-
"file": "src/",
|
|
151
|
-
"symbol": "*",
|
|
152
|
-
"category": "coverage",
|
|
153
|
-
"title": "Complete Absence of Test Infrastructure",
|
|
154
|
-
"content_hash": "missing-test-infrastructure",
|
|
155
|
-
"file_hash": "",
|
|
156
|
-
"first_seen": "2026-04-11",
|
|
157
|
-
"last_seen": "2026-04-11",
|
|
158
|
-
"found_by": ["testing"],
|
|
159
|
-
"priority_score": 114
|
|
160
|
-
},
|
|
161
|
-
"F-004": {
|
|
162
|
-
"status": "implemented",
|
|
163
|
-
"file": "src/compiler/language-service.ts",
|
|
164
|
-
"symbol": "get",
|
|
165
|
-
"category": "loc",
|
|
166
|
-
"title": "languageService.get() is dead code",
|
|
167
|
-
"content_hash": "dead-code-language-service-get",
|
|
168
|
-
"file_hash": "",
|
|
169
|
-
"first_seen": "2026-04-11",
|
|
170
|
-
"last_seen": "2026-04-11",
|
|
171
|
-
"found_by": ["architecture"],
|
|
172
|
-
"priority_score": 45
|
|
173
|
-
},
|
|
174
|
-
"F-005": {
|
|
175
|
-
"status": "implemented",
|
|
176
|
-
"file": "src/compiler/language-service.ts",
|
|
177
|
-
"symbol": "delete",
|
|
178
|
-
"category": "loc",
|
|
179
|
-
"title": "languageService.delete() is dead code",
|
|
180
|
-
"content_hash": "dead-code-language-service-delete",
|
|
181
|
-
"file_hash": "",
|
|
182
|
-
"first_seen": "2026-04-11",
|
|
183
|
-
"last_seen": "2026-04-11",
|
|
184
|
-
"found_by": ["architecture"],
|
|
185
|
-
"priority_score": 45
|
|
186
|
-
},
|
|
187
|
-
"F-006": {
|
|
188
|
-
"status": "implemented",
|
|
189
|
-
"file": "src/compiler/language-service.ts",
|
|
190
|
-
"symbol": "*",
|
|
191
|
-
"category": "coverage",
|
|
192
|
-
"title": "language-service.ts has 0 test coverage",
|
|
193
|
-
"content_hash": "no-test-coverage-language-service",
|
|
194
|
-
"file_hash": "",
|
|
195
|
-
"first_seen": "2026-04-11",
|
|
196
|
-
"last_seen": "2026-04-11",
|
|
197
|
-
"found_by": ["testing"],
|
|
198
|
-
"priority_score": 50
|
|
199
|
-
},
|
|
200
|
-
"F-007": {
|
|
201
|
-
"status": "open",
|
|
202
|
-
"file": "src/cli/tsc.ts",
|
|
203
|
-
"symbol": "*",
|
|
204
|
-
"category": "coverage",
|
|
205
|
-
"title": "cli/tsc.ts has 0 test coverage",
|
|
206
|
-
"content_hash": "no-test-coverage-cli-tsc",
|
|
207
|
-
"file_hash": "",
|
|
208
|
-
"first_seen": "2026-04-11",
|
|
209
|
-
"last_seen": "2026-04-11",
|
|
210
|
-
"found_by": ["testing"],
|
|
211
|
-
"priority_score": 35
|
|
212
|
-
},
|
|
213
|
-
"F-008": {
|
|
214
|
-
"status": "implemented",
|
|
215
|
-
"file": "src/compiler/coordinator.ts",
|
|
216
|
-
"symbol": "transform",
|
|
217
|
-
"category": "test-quality",
|
|
218
|
-
"title": "coordinator plugin.transform() throw path untested",
|
|
219
|
-
"content_hash": "test-quality-coordinator-throw-path",
|
|
220
|
-
"file_hash": "",
|
|
221
|
-
"first_seen": "2026-04-11",
|
|
222
|
-
"last_seen": "2026-04-11",
|
|
223
|
-
"found_by": ["testing"],
|
|
224
|
-
"priority_score": 48
|
|
225
|
-
},
|
|
226
|
-
"F-009": {
|
|
227
|
-
"status": "implemented",
|
|
228
|
-
"file": "src/compiler/coordinator.ts",
|
|
229
|
-
"symbol": "transform",
|
|
230
|
-
"category": "test-quality",
|
|
231
|
-
"title": "coordinator null sourceFile fallback path untested",
|
|
232
|
-
"content_hash": "test-quality-coordinator-null-sourcefile",
|
|
233
|
-
"file_hash": "",
|
|
234
|
-
"first_seen": "2026-04-11",
|
|
235
|
-
"last_seen": "2026-04-11",
|
|
236
|
-
"found_by": ["testing"],
|
|
237
|
-
"priority_score": 48
|
|
238
|
-
},
|
|
239
|
-
"F-010": {
|
|
240
|
-
"status": "implemented",
|
|
241
|
-
"file": "src/compiler/plugins/vite.ts",
|
|
242
|
-
"symbol": "transform",
|
|
243
|
-
"category": "test-quality",
|
|
244
|
-
"title": "vite plugin error catch path untested",
|
|
245
|
-
"content_hash": "test-quality-vite-error-catch",
|
|
246
|
-
"file_hash": "",
|
|
247
|
-
"first_seen": "2026-04-11",
|
|
248
|
-
"last_seen": "2026-04-11",
|
|
249
|
-
"found_by": ["testing"],
|
|
250
|
-
"priority_score": 48
|
|
251
|
-
},
|
|
252
|
-
"F-011": {
|
|
253
|
-
"status": "implemented",
|
|
254
|
-
"file": "src/compiler/plugins/vite.ts",
|
|
255
|
-
"symbol": "transform",
|
|
256
|
-
"category": "test-quality",
|
|
257
|
-
"title": "vite plugin sourceFile undefined fallback untested",
|
|
258
|
-
"content_hash": "test-quality-vite-sourcefile-fallback",
|
|
259
|
-
"file_hash": "",
|
|
260
|
-
"first_seen": "2026-04-11",
|
|
261
|
-
"last_seen": "2026-04-11",
|
|
262
|
-
"found_by": ["testing"],
|
|
263
|
-
"priority_score": 45
|
|
264
|
-
},
|
|
265
|
-
"F-012": {
|
|
266
|
-
"status": "implemented",
|
|
267
|
-
"file": "src/compiler/imports.ts",
|
|
268
|
-
"symbol": "includes",
|
|
269
|
-
"category": "test-quality",
|
|
270
|
-
"title": "imports.includes() getAliasedSymbol catch block untested",
|
|
271
|
-
"content_hash": "test-quality-imports-aliased-catch",
|
|
272
|
-
"file_hash": "",
|
|
273
|
-
"first_seen": "2026-04-11",
|
|
274
|
-
"last_seen": "2026-04-11",
|
|
275
|
-
"found_by": ["testing"],
|
|
276
|
-
"priority_score": 42
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
"clean_symbols": {},
|
|
280
|
-
"convergence": {
|
|
281
|
-
"per_category": {
|
|
282
|
-
"correctness": {
|
|
283
|
-
"findings_per_run": [1, 0, 0, 0, 0, 0],
|
|
284
|
-
"successful_runs": 6,
|
|
285
|
-
"consecutive_zero": 5,
|
|
286
|
-
"last_agent_success": true,
|
|
287
|
-
"status": "CONVERGED",
|
|
288
|
-
"reason": "0 new findings on 5 consecutive successful runs"
|
|
289
|
-
},
|
|
290
|
-
"security": {
|
|
291
|
-
"findings_per_run": [0, 0, 0, 0, 0, 0],
|
|
292
|
-
"successful_runs": 6,
|
|
293
|
-
"consecutive_zero": 6,
|
|
294
|
-
"last_agent_success": true,
|
|
295
|
-
"status": "CONVERGED",
|
|
296
|
-
"reason": "0 new findings on 6 consecutive successful runs"
|
|
297
|
-
},
|
|
298
|
-
"performance": {
|
|
299
|
-
"findings_per_run": [1, 0, 0, 0, 0, 0],
|
|
300
|
-
"successful_runs": 6,
|
|
301
|
-
"consecutive_zero": 5,
|
|
302
|
-
"last_agent_success": true,
|
|
303
|
-
"status": "CONVERGED",
|
|
304
|
-
"reason": "0 new findings on 5 consecutive successful runs"
|
|
305
|
-
},
|
|
306
|
-
"architecture": {
|
|
307
|
-
"findings_per_run": [0, 0, 0, 2, 0, 0],
|
|
308
|
-
"successful_runs": 6,
|
|
309
|
-
"consecutive_zero": 2,
|
|
310
|
-
"last_agent_success": true,
|
|
311
|
-
"status": "CONVERGED",
|
|
312
|
-
"reason": "0 new findings on 2 consecutive runs after fixes"
|
|
313
|
-
},
|
|
314
|
-
"testing": {
|
|
315
|
-
"findings_per_run": [1, 1, 0, 7, 0, 0],
|
|
316
|
-
"successful_runs": 6,
|
|
317
|
-
"consecutive_zero": 2,
|
|
318
|
-
"last_agent_success": true,
|
|
319
|
-
"status": "CONVERGED",
|
|
320
|
-
"reason": "0 new findings on 2 consecutive runs after fixes"
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
"overall": "CONVERGED",
|
|
324
|
-
"reason": "all 5 categories converged with 0 findings on 2+ consecutive runs"
|
|
325
|
-
}
|
|
326
|
-
}
|
package/.editorconfig
DELETED
package/.gitattributes
DELETED
package/.github/dependabot.yml
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
-
# package ecosystems to update and where the package manifests are located.
|
|
3
|
-
# Please see the documentation for all configuration options:
|
|
4
|
-
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
|
5
|
-
|
|
6
|
-
version: 2
|
|
7
|
-
|
|
8
|
-
registries:
|
|
9
|
-
npm-npmjs:
|
|
10
|
-
token: ${{secrets.NPM_TOKEN}}
|
|
11
|
-
type: npm-registry
|
|
12
|
-
url: https://registry.npmjs.org
|
|
13
|
-
|
|
14
|
-
updates:
|
|
15
|
-
- package-ecosystem: "npm"
|
|
16
|
-
directory: "/"
|
|
17
|
-
groups:
|
|
18
|
-
production-dependencies:
|
|
19
|
-
dependency-type: "production"
|
|
20
|
-
development-dependencies:
|
|
21
|
-
dependency-type: "development"
|
|
22
|
-
registries:
|
|
23
|
-
- npm-npmjs
|
|
24
|
-
schedule:
|
|
25
|
-
interval: "daily"
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
name: bump version
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: '**' # only trigger on branches, not on tags
|
|
6
|
-
workflow_call:
|
|
7
|
-
|
|
8
|
-
concurrency:
|
|
9
|
-
group: ${{ github.workflow }}-${{ github.ref }}
|
|
10
|
-
cancel-in-progress: true
|
|
11
|
-
|
|
12
|
-
permissions:
|
|
13
|
-
contents: write
|
|
14
|
-
|
|
15
|
-
jobs:
|
|
16
|
-
bump:
|
|
17
|
-
runs-on: ubuntu-latest
|
|
18
|
-
steps:
|
|
19
|
-
- name: checkout repo
|
|
20
|
-
uses: actions/checkout@v7
|
|
21
|
-
with:
|
|
22
|
-
fetch-depth: 0
|
|
23
|
-
- name: bump version
|
|
24
|
-
uses: jpb06/bump-package@latest
|
|
25
|
-
with:
|
|
26
|
-
minor-keywords: feat,minor,refactor
|
|
27
|
-
patch-keywords: fix,chore
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
name: dependabot automerge
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
types: [opened, synchronize, labeled]
|
|
6
|
-
workflow_call:
|
|
7
|
-
secrets:
|
|
8
|
-
NPM_TOKEN:
|
|
9
|
-
required: true
|
|
10
|
-
|
|
11
|
-
concurrency:
|
|
12
|
-
group: ${{ github.workflow }}-${{ github.ref }}
|
|
13
|
-
cancel-in-progress: true
|
|
14
|
-
|
|
15
|
-
permissions:
|
|
16
|
-
contents: write
|
|
17
|
-
pull-requests: write
|
|
18
|
-
|
|
19
|
-
jobs:
|
|
20
|
-
build:
|
|
21
|
-
runs-on: ubuntu-latest
|
|
22
|
-
steps:
|
|
23
|
-
- uses: actions/checkout@v7
|
|
24
|
-
- uses: pnpm/action-setup@v6
|
|
25
|
-
name: Install pnpm
|
|
26
|
-
with:
|
|
27
|
-
run_install: false
|
|
28
|
-
version: latest
|
|
29
|
-
- uses: actions/setup-node@v6
|
|
30
|
-
with:
|
|
31
|
-
cache: 'pnpm'
|
|
32
|
-
node-version: 'latest'
|
|
33
|
-
registry-url: 'https://registry.npmjs.org'
|
|
34
|
-
- run: pnpm i && pnpm build
|
|
35
|
-
env:
|
|
36
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
37
|
-
|
|
38
|
-
automerge:
|
|
39
|
-
needs: build
|
|
40
|
-
permissions:
|
|
41
|
-
pull-requests: write
|
|
42
|
-
contents: write
|
|
43
|
-
runs-on: ubuntu-latest
|
|
44
|
-
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
|
|
45
|
-
steps:
|
|
46
|
-
- uses: dependabot/fetch-metadata@v3
|
|
47
|
-
id: metadata
|
|
48
|
-
with:
|
|
49
|
-
alert-lookup: true
|
|
50
|
-
compat-lookup: true
|
|
51
|
-
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
52
|
-
- name: Approve and merge Dependabot PR
|
|
53
|
-
run: |
|
|
54
|
-
gh pr review --approve "$PR_URL"
|
|
55
|
-
gh pr merge --squash --auto "$PR_URL"
|
|
56
|
-
env:
|
|
57
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
58
|
-
PR_URL: ${{ github.event.pull_request.html_url }}
|