@timmeck/brain 3.13.0 → 3.14.1
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 +29 -4
- package/dist/brain.js +3 -0
- package/dist/brain.js.map +1 -1
- package/dist/cli/commands/import.js +71 -8
- package/dist/cli/commands/import.js.map +1 -1
- package/dist/cli/ipc-helper.d.ts +1 -1
- package/dist/cli/ipc-helper.js +2 -2
- package/dist/cli/ipc-helper.js.map +1 -1
- package/dist/ipc/router.d.ts +2 -0
- package/dist/ipc/router.js +12 -1
- package/dist/ipc/router.js.map +1 -1
- package/dist/mcp/http-server.js +3 -1
- package/dist/mcp/http-server.js.map +1 -1
- package/dist/mcp/scan-tools.d.ts +7 -0
- package/dist/mcp/scan-tools.js +82 -0
- package/dist/mcp/scan-tools.js.map +1 -0
- package/dist/mcp/server.js +3 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/services/project-scanner.d.ts +59 -0
- package/dist/services/project-scanner.js +387 -0
- package/dist/services/project-scanner.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
import { execSync } from 'node:child_process';
|
|
2
|
+
import { readdirSync, readFileSync, statSync, existsSync } from 'node:fs';
|
|
3
|
+
import { resolve, join, relative } from 'node:path';
|
|
4
|
+
import { getLogger } from '../utils/logger.js';
|
|
5
|
+
const FIX_PATTERNS = /\b(fix|bug|error|crash|resolve[ds]?|patch|hotfix)\b/i;
|
|
6
|
+
const LOG_PATTERNS = ['*.log', '*.err', 'npm-debug.log*', 'crash-*.txt'];
|
|
7
|
+
const LOG_EXCLUDE_DIRS = new Set([
|
|
8
|
+
'node_modules', '.git', 'dist', 'build', '.next', '__pycache__',
|
|
9
|
+
'vendor', 'coverage', '.cache', '.turbo', 'target', 'out', 'venv',
|
|
10
|
+
]);
|
|
11
|
+
const MAX_LOG_SIZE = 1024 * 1024; // 1MB
|
|
12
|
+
const BUILD_SYSTEMS = [
|
|
13
|
+
{ name: 'npm', command: 'npm run build', detect: 'package.json' },
|
|
14
|
+
{ name: 'cargo', command: 'cargo build 2>&1', detect: 'Cargo.toml' },
|
|
15
|
+
{ name: 'make', command: 'make 2>&1', detect: 'Makefile' },
|
|
16
|
+
{ name: 'gradle', command: './gradlew build 2>&1', detect: 'build.gradle' },
|
|
17
|
+
{ name: 'maven', command: 'mvn compile 2>&1', detect: 'pom.xml' },
|
|
18
|
+
{ name: 'go', command: 'go build ./... 2>&1', detect: 'go.mod' },
|
|
19
|
+
];
|
|
20
|
+
export class ProjectScanner {
|
|
21
|
+
errorService;
|
|
22
|
+
solutionService;
|
|
23
|
+
gitService;
|
|
24
|
+
logger = getLogger();
|
|
25
|
+
lastScanResult = null;
|
|
26
|
+
constructor(errorService, solutionService, gitService) {
|
|
27
|
+
this.errorService = errorService;
|
|
28
|
+
this.solutionService = solutionService;
|
|
29
|
+
this.gitService = gitService;
|
|
30
|
+
}
|
|
31
|
+
getLastResult() {
|
|
32
|
+
return this.lastScanResult;
|
|
33
|
+
}
|
|
34
|
+
scan(directory, project, options = {}) {
|
|
35
|
+
const start = Date.now();
|
|
36
|
+
const dir = resolve(directory);
|
|
37
|
+
const totals = { errors: 0, solutions: 0, duplicates: 0 };
|
|
38
|
+
let git = null;
|
|
39
|
+
let logs = null;
|
|
40
|
+
let build = null;
|
|
41
|
+
if (!options.skipGit) {
|
|
42
|
+
try {
|
|
43
|
+
git = this.scanGitHistory(dir, project, options.gitDepth ?? 200);
|
|
44
|
+
totals.errors += git.errorsCreated;
|
|
45
|
+
totals.solutions += git.solutionsCreated;
|
|
46
|
+
totals.duplicates += git.duplicates;
|
|
47
|
+
}
|
|
48
|
+
catch (err) {
|
|
49
|
+
this.logger.warn(`Git scan failed: ${err.message}`);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
if (!options.skipLogs) {
|
|
53
|
+
try {
|
|
54
|
+
logs = this.scanLogFiles(dir, project);
|
|
55
|
+
totals.errors += logs.errorsCreated;
|
|
56
|
+
totals.duplicates += logs.duplicates;
|
|
57
|
+
}
|
|
58
|
+
catch (err) {
|
|
59
|
+
this.logger.warn(`Log scan failed: ${err.message}`);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
if (!options.skipBuild) {
|
|
63
|
+
try {
|
|
64
|
+
build = this.scanBuildOutput(dir, project);
|
|
65
|
+
totals.errors += build.errorsCreated;
|
|
66
|
+
}
|
|
67
|
+
catch (err) {
|
|
68
|
+
this.logger.warn(`Build scan failed: ${err.message}`);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
const result = {
|
|
72
|
+
project,
|
|
73
|
+
directory: dir,
|
|
74
|
+
duration: Date.now() - start,
|
|
75
|
+
git,
|
|
76
|
+
logs,
|
|
77
|
+
build,
|
|
78
|
+
totals,
|
|
79
|
+
};
|
|
80
|
+
this.lastScanResult = result;
|
|
81
|
+
this.logger.info(`Project scan complete: ${totals.errors} errors, ${totals.solutions} solutions, ${totals.duplicates} duplicates (${result.duration}ms)`);
|
|
82
|
+
return result;
|
|
83
|
+
}
|
|
84
|
+
scanGitHistory(dir, project, depth = 200) {
|
|
85
|
+
const result = {
|
|
86
|
+
commitsScanned: 0,
|
|
87
|
+
fixCommits: 0,
|
|
88
|
+
errorsCreated: 0,
|
|
89
|
+
solutionsCreated: 0,
|
|
90
|
+
duplicates: 0,
|
|
91
|
+
};
|
|
92
|
+
// Get commit log
|
|
93
|
+
let logOutput;
|
|
94
|
+
try {
|
|
95
|
+
logOutput = execSync(`git log --oneline -${depth}`, {
|
|
96
|
+
cwd: dir,
|
|
97
|
+
timeout: 10000,
|
|
98
|
+
encoding: 'utf8',
|
|
99
|
+
}).trim();
|
|
100
|
+
}
|
|
101
|
+
catch {
|
|
102
|
+
this.logger.warn('Not a git repository or git not available');
|
|
103
|
+
return result;
|
|
104
|
+
}
|
|
105
|
+
if (!logOutput)
|
|
106
|
+
return result;
|
|
107
|
+
const commits = logOutput.split('\n').filter(Boolean);
|
|
108
|
+
result.commitsScanned = commits.length;
|
|
109
|
+
// Filter for fix commits
|
|
110
|
+
const fixCommits = commits.filter(line => FIX_PATTERNS.test(line));
|
|
111
|
+
result.fixCommits = fixCommits.length;
|
|
112
|
+
for (const line of fixCommits) {
|
|
113
|
+
const spaceIdx = line.indexOf(' ');
|
|
114
|
+
if (spaceIdx === -1)
|
|
115
|
+
continue;
|
|
116
|
+
const hash = line.slice(0, spaceIdx);
|
|
117
|
+
const message = line.slice(spaceIdx + 1);
|
|
118
|
+
// Get the diff for this commit
|
|
119
|
+
let diff;
|
|
120
|
+
try {
|
|
121
|
+
diff = execSync(`git show --stat --no-color ${hash}`, {
|
|
122
|
+
cwd: dir,
|
|
123
|
+
timeout: 5000,
|
|
124
|
+
encoding: 'utf8',
|
|
125
|
+
maxBuffer: 512 * 1024,
|
|
126
|
+
}).trim();
|
|
127
|
+
}
|
|
128
|
+
catch {
|
|
129
|
+
continue;
|
|
130
|
+
}
|
|
131
|
+
// Extract error info from commit message
|
|
132
|
+
const errorOutput = this.extractErrorFromCommit(message, diff);
|
|
133
|
+
if (!errorOutput)
|
|
134
|
+
continue;
|
|
135
|
+
// Report error
|
|
136
|
+
const errorResult = this.errorService.report({
|
|
137
|
+
project,
|
|
138
|
+
errorOutput,
|
|
139
|
+
taskContext: `git-import: ${hash.slice(0, 8)}`,
|
|
140
|
+
command: `git show ${hash.slice(0, 8)}`,
|
|
141
|
+
});
|
|
142
|
+
if (errorResult.isNew) {
|
|
143
|
+
result.errorsCreated++;
|
|
144
|
+
// Create solution from the fix commit
|
|
145
|
+
const solutionDesc = this.extractSolutionFromCommit(message, diff);
|
|
146
|
+
if (solutionDesc) {
|
|
147
|
+
this.solutionService.report({
|
|
148
|
+
errorId: errorResult.errorId,
|
|
149
|
+
description: solutionDesc,
|
|
150
|
+
codeChange: this.extractDiffSummary(diff),
|
|
151
|
+
source: 'git-import',
|
|
152
|
+
});
|
|
153
|
+
result.solutionsCreated++;
|
|
154
|
+
}
|
|
155
|
+
// Link error to commit
|
|
156
|
+
try {
|
|
157
|
+
this.gitService.linkErrorToCommit(errorResult.errorId, 0, hash, 'fixed_by');
|
|
158
|
+
}
|
|
159
|
+
catch {
|
|
160
|
+
// project_id 0 may fail — best effort
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
result.duplicates++;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
this.logger.info(`Git scan: ${result.commitsScanned} commits, ${result.fixCommits} fixes → ${result.errorsCreated} errors, ${result.solutionsCreated} solutions`);
|
|
168
|
+
return result;
|
|
169
|
+
}
|
|
170
|
+
scanLogFiles(dir, project) {
|
|
171
|
+
const result = {
|
|
172
|
+
filesScanned: 0,
|
|
173
|
+
errorsCreated: 0,
|
|
174
|
+
duplicates: 0,
|
|
175
|
+
};
|
|
176
|
+
const logFiles = this.findLogFiles(dir);
|
|
177
|
+
result.filesScanned = logFiles.length;
|
|
178
|
+
for (const filePath of logFiles) {
|
|
179
|
+
let content;
|
|
180
|
+
try {
|
|
181
|
+
content = readFileSync(filePath, 'utf-8');
|
|
182
|
+
}
|
|
183
|
+
catch {
|
|
184
|
+
continue;
|
|
185
|
+
}
|
|
186
|
+
// Split into error chunks (groups of lines with stack traces)
|
|
187
|
+
const errorChunks = this.extractErrorChunks(content);
|
|
188
|
+
const rel = relative(dir, filePath);
|
|
189
|
+
for (const chunk of errorChunks) {
|
|
190
|
+
const errorResult = this.errorService.report({
|
|
191
|
+
project,
|
|
192
|
+
errorOutput: chunk,
|
|
193
|
+
filePath: rel,
|
|
194
|
+
taskContext: `log-import: ${rel}`,
|
|
195
|
+
});
|
|
196
|
+
if (errorResult.isNew) {
|
|
197
|
+
result.errorsCreated++;
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
result.duplicates++;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
this.logger.info(`Log scan: ${result.filesScanned} files → ${result.errorsCreated} errors`);
|
|
205
|
+
return result;
|
|
206
|
+
}
|
|
207
|
+
scanBuildOutput(dir, project) {
|
|
208
|
+
const buildSystem = this.detectBuildSystem(dir);
|
|
209
|
+
if (!buildSystem) {
|
|
210
|
+
return { buildSystem: 'unknown', command: '', exitCode: -1, errorsCreated: 0 };
|
|
211
|
+
}
|
|
212
|
+
const result = {
|
|
213
|
+
buildSystem: buildSystem.name,
|
|
214
|
+
command: buildSystem.command,
|
|
215
|
+
exitCode: 0,
|
|
216
|
+
errorsCreated: 0,
|
|
217
|
+
};
|
|
218
|
+
let output;
|
|
219
|
+
try {
|
|
220
|
+
output = execSync(buildSystem.command, {
|
|
221
|
+
cwd: dir,
|
|
222
|
+
timeout: 60000,
|
|
223
|
+
encoding: 'utf8',
|
|
224
|
+
maxBuffer: 2 * 1024 * 1024,
|
|
225
|
+
stdio: ['pipe', 'pipe', 'pipe'],
|
|
226
|
+
});
|
|
227
|
+
// Build succeeded — no errors to report
|
|
228
|
+
return result;
|
|
229
|
+
}
|
|
230
|
+
catch (err) {
|
|
231
|
+
const execErr = err;
|
|
232
|
+
result.exitCode = execErr.status ?? 1;
|
|
233
|
+
output = (execErr.stderr ?? '') + '\n' + (execErr.stdout ?? '');
|
|
234
|
+
}
|
|
235
|
+
if (!output.trim())
|
|
236
|
+
return result;
|
|
237
|
+
// Parse build output for errors
|
|
238
|
+
const errorChunks = this.extractErrorChunks(output);
|
|
239
|
+
for (const chunk of errorChunks) {
|
|
240
|
+
const errorResult = this.errorService.report({
|
|
241
|
+
project,
|
|
242
|
+
errorOutput: chunk,
|
|
243
|
+
taskContext: `build-import: ${buildSystem.command}`,
|
|
244
|
+
command: buildSystem.command,
|
|
245
|
+
});
|
|
246
|
+
if (errorResult.isNew) {
|
|
247
|
+
result.errorsCreated++;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
this.logger.info(`Build scan (${buildSystem.name}): exit ${result.exitCode} → ${result.errorsCreated} errors`);
|
|
251
|
+
return result;
|
|
252
|
+
}
|
|
253
|
+
// ─── Private Helpers ───────────────────────────────────────
|
|
254
|
+
extractErrorFromCommit(message, diff) {
|
|
255
|
+
// Try to extract meaningful error description from fix commit
|
|
256
|
+
const msg = message.toLowerCase();
|
|
257
|
+
// Common patterns: "fix: TypeError in foo", "fix(auth): null check missing"
|
|
258
|
+
const fixMatch = message.match(/^(?:fix|bug|hotfix|patch)(?:\([^)]+\))?:\s*(.+)/i);
|
|
259
|
+
if (fixMatch) {
|
|
260
|
+
return fixMatch[1].trim();
|
|
261
|
+
}
|
|
262
|
+
// "Fixed crash when ...", "Resolve error in ..."
|
|
263
|
+
const verbMatch = message.match(/(?:fix(?:ed|es)?|resolv(?:ed|es)?|patch(?:ed)?|crash)\s+(.+)/i);
|
|
264
|
+
if (verbMatch) {
|
|
265
|
+
return verbMatch[1].trim();
|
|
266
|
+
}
|
|
267
|
+
// If message mentions an error type directly
|
|
268
|
+
const errorTypeMatch = message.match(/(TypeError|ReferenceError|SyntaxError|RangeError|Error|Exception|ENOENT|ECONNREFUSED|segfault|panic|SIGKILL|OOM|null pointer)[:\s]+(.+)/i);
|
|
269
|
+
if (errorTypeMatch) {
|
|
270
|
+
return `${errorTypeMatch[1]}: ${errorTypeMatch[2]}`.trim();
|
|
271
|
+
}
|
|
272
|
+
// Fallback: use the whole message if it's clearly about a fix
|
|
273
|
+
if (FIX_PATTERNS.test(msg)) {
|
|
274
|
+
return message.trim();
|
|
275
|
+
}
|
|
276
|
+
return null;
|
|
277
|
+
}
|
|
278
|
+
extractSolutionFromCommit(message, diff) {
|
|
279
|
+
// The commit message itself describes the solution
|
|
280
|
+
const fixMatch = message.match(/^(?:fix|bug|hotfix|patch)(?:\([^)]+\))?:\s*(.+)/i);
|
|
281
|
+
if (fixMatch)
|
|
282
|
+
return `Fix: ${fixMatch[1].trim()}`;
|
|
283
|
+
return `Fix applied in commit: ${message.trim()}`;
|
|
284
|
+
}
|
|
285
|
+
extractDiffSummary(diff) {
|
|
286
|
+
// Get just the stat lines, not the full diff
|
|
287
|
+
const lines = diff.split('\n');
|
|
288
|
+
const statLines = lines.filter(l => l.match(/^\s*\S+\s*\|\s*\d+/) || l.match(/^\d+ files? changed/));
|
|
289
|
+
if (statLines.length > 0) {
|
|
290
|
+
return statLines.join('\n');
|
|
291
|
+
}
|
|
292
|
+
// Truncate if needed
|
|
293
|
+
return diff.length > 2000 ? diff.slice(0, 2000) + '\n... (truncated)' : diff;
|
|
294
|
+
}
|
|
295
|
+
findLogFiles(dir) {
|
|
296
|
+
const files = [];
|
|
297
|
+
const walk = (current, depth) => {
|
|
298
|
+
if (depth > 5)
|
|
299
|
+
return; // max recursion depth
|
|
300
|
+
let entries;
|
|
301
|
+
try {
|
|
302
|
+
entries = readdirSync(current, { withFileTypes: true });
|
|
303
|
+
}
|
|
304
|
+
catch {
|
|
305
|
+
return;
|
|
306
|
+
}
|
|
307
|
+
for (const entry of entries) {
|
|
308
|
+
const fullPath = join(current, entry.name);
|
|
309
|
+
if (entry.isDirectory()) {
|
|
310
|
+
if (!LOG_EXCLUDE_DIRS.has(entry.name)) {
|
|
311
|
+
walk(fullPath, depth + 1);
|
|
312
|
+
}
|
|
313
|
+
continue;
|
|
314
|
+
}
|
|
315
|
+
if (!entry.isFile())
|
|
316
|
+
continue;
|
|
317
|
+
// Check log patterns
|
|
318
|
+
const name = entry.name;
|
|
319
|
+
const isLog = name.endsWith('.log') ||
|
|
320
|
+
name.endsWith('.err') ||
|
|
321
|
+
name.startsWith('npm-debug.log') ||
|
|
322
|
+
name.match(/^crash-.*\.txt$/);
|
|
323
|
+
if (!isLog)
|
|
324
|
+
continue;
|
|
325
|
+
try {
|
|
326
|
+
const stat = statSync(fullPath);
|
|
327
|
+
if (stat.size > MAX_LOG_SIZE)
|
|
328
|
+
continue;
|
|
329
|
+
files.push(fullPath);
|
|
330
|
+
}
|
|
331
|
+
catch {
|
|
332
|
+
// skip unreadable
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
};
|
|
336
|
+
walk(dir, 0);
|
|
337
|
+
return files;
|
|
338
|
+
}
|
|
339
|
+
extractErrorChunks(content) {
|
|
340
|
+
const chunks = [];
|
|
341
|
+
const lines = content.split('\n');
|
|
342
|
+
let currentChunk = [];
|
|
343
|
+
let inError = false;
|
|
344
|
+
for (const line of lines) {
|
|
345
|
+
const isErrorLine = /\b(Error|Exception|FATAL|CRITICAL|panic|Traceback|segfault)\b/i.test(line) ||
|
|
346
|
+
/^\s+at\s+/.test(line) ||
|
|
347
|
+
/^\s+File\s+"/.test(line) ||
|
|
348
|
+
/^\s+\.{3}\s+\d+\s+more/.test(line);
|
|
349
|
+
if (isErrorLine) {
|
|
350
|
+
if (!inError) {
|
|
351
|
+
inError = true;
|
|
352
|
+
currentChunk = [];
|
|
353
|
+
}
|
|
354
|
+
currentChunk.push(line);
|
|
355
|
+
}
|
|
356
|
+
else if (inError) {
|
|
357
|
+
// Allow 1 non-error line in a stack trace (blank lines between frames)
|
|
358
|
+
if (line.trim() === '' && currentChunk.length < 50) {
|
|
359
|
+
currentChunk.push(line);
|
|
360
|
+
}
|
|
361
|
+
else {
|
|
362
|
+
// End of error chunk
|
|
363
|
+
if (currentChunk.length >= 1) {
|
|
364
|
+
chunks.push(currentChunk.join('\n').trim());
|
|
365
|
+
}
|
|
366
|
+
currentChunk = [];
|
|
367
|
+
inError = false;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
// Don't forget last chunk
|
|
372
|
+
if (currentChunk.length >= 1) {
|
|
373
|
+
chunks.push(currentChunk.join('\n').trim());
|
|
374
|
+
}
|
|
375
|
+
// Deduplicate identical chunks
|
|
376
|
+
return [...new Set(chunks)];
|
|
377
|
+
}
|
|
378
|
+
detectBuildSystem(dir) {
|
|
379
|
+
for (const bs of BUILD_SYSTEMS) {
|
|
380
|
+
if (existsSync(join(dir, bs.detect))) {
|
|
381
|
+
return bs;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
return null;
|
|
385
|
+
}
|
|
386
|
+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