fivocell 3.1.0 → 4.0.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/dist/ai-bridge.d.ts +20 -0
- package/dist/ai-bridge.d.ts.map +1 -0
- package/dist/ai-bridge.js +250 -0
- package/dist/ai-bridge.js.map +1 -0
- package/dist/cli.js +133 -3
- package/dist/cli.js.map +1 -1
- package/dist/code-scanner.d.ts.map +1 -1
- package/dist/code-scanner.js +153 -0
- package/dist/code-scanner.js.map +1 -1
- package/dist/core/prompt-builder.d.ts +1 -0
- package/dist/core/prompt-builder.d.ts.map +1 -1
- package/dist/core/prompt-builder.js +55 -16
- package/dist/core/prompt-builder.js.map +1 -1
- package/dist/knowledge-graph-builder.d.ts +16 -0
- package/dist/knowledge-graph-builder.d.ts.map +1 -0
- package/dist/knowledge-graph-builder.js +170 -0
- package/dist/knowledge-graph-builder.js.map +1 -0
- package/dist/stack-detector.d.ts +34 -0
- package/dist/stack-detector.d.ts.map +1 -0
- package/dist/stack-detector.js +471 -0
- package/dist/stack-detector.js.map +1 -0
- package/dist/team-intel.d.ts +31 -0
- package/dist/team-intel.d.ts.map +1 -0
- package/dist/team-intel.js +310 -0
- package/dist/team-intel.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,471 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.detectProjectDNA = detectProjectDNA;
|
|
37
|
+
const fs = __importStar(require("fs"));
|
|
38
|
+
const path = __importStar(require("path"));
|
|
39
|
+
// ─── Detection ────────────────────────────────────────────────────────────
|
|
40
|
+
function readJson(file) {
|
|
41
|
+
try {
|
|
42
|
+
return JSON.parse(fs.readFileSync(file, 'utf-8'));
|
|
43
|
+
}
|
|
44
|
+
catch {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function fileExists(root, ...parts) {
|
|
49
|
+
return fs.existsSync(path.join(root, ...parts));
|
|
50
|
+
}
|
|
51
|
+
function readFile(root, ...parts) {
|
|
52
|
+
try {
|
|
53
|
+
return fs.readFileSync(path.join(root, ...parts), 'utf-8');
|
|
54
|
+
}
|
|
55
|
+
catch {
|
|
56
|
+
return '';
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function countFilesInDir(root, subdir) {
|
|
60
|
+
const dir = path.join(root, subdir);
|
|
61
|
+
if (!fs.existsSync(dir))
|
|
62
|
+
return 0;
|
|
63
|
+
let count = 0;
|
|
64
|
+
const walk = (d) => {
|
|
65
|
+
const entries = fs.readdirSync(d, { withFileTypes: true });
|
|
66
|
+
for (const e of entries) {
|
|
67
|
+
if (e.isFile())
|
|
68
|
+
count++;
|
|
69
|
+
else if (e.isDirectory() && !e.name.startsWith('.') && e.name !== 'node_modules') {
|
|
70
|
+
walk(path.join(d, e.name));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
try {
|
|
75
|
+
walk(dir);
|
|
76
|
+
}
|
|
77
|
+
catch { }
|
|
78
|
+
return count;
|
|
79
|
+
}
|
|
80
|
+
function hasFolder(root, name) {
|
|
81
|
+
return fs.existsSync(path.join(root, name)) && fs.statSync(path.join(root, name)).isDirectory();
|
|
82
|
+
}
|
|
83
|
+
function getTopFolders(root) {
|
|
84
|
+
try {
|
|
85
|
+
return fs.readdirSync(root, { withFileTypes: true })
|
|
86
|
+
.filter(d => d.isDirectory() && !d.name.startsWith('.') && d.name !== 'node_modules')
|
|
87
|
+
.map(d => d.name);
|
|
88
|
+
}
|
|
89
|
+
catch {
|
|
90
|
+
return [];
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
// ─── Deep Stack Detection ─────────────────────────────────────────────────
|
|
94
|
+
function detectFromPackageJson(root, pkg) {
|
|
95
|
+
const deps = { ...(pkg.dependencies || {}), ...(pkg.devDependencies || {}) };
|
|
96
|
+
const depNames = Object.keys(deps);
|
|
97
|
+
const has = (name) => depNames.some(d => d === name || d.startsWith(name + '@'));
|
|
98
|
+
const hasAny = (...names) => names.some(n => has(n));
|
|
99
|
+
const findVersion = (name) => deps[name] || deps[`@types/${name}`] || '';
|
|
100
|
+
const result = {};
|
|
101
|
+
// Frontend
|
|
102
|
+
if (has('next'))
|
|
103
|
+
result.frontend = 'Next.js';
|
|
104
|
+
else if (has('react'))
|
|
105
|
+
result.frontend = has('react-native') ? 'React Native' : 'React';
|
|
106
|
+
else if (has('vue'))
|
|
107
|
+
result.frontend = 'Vue';
|
|
108
|
+
else if (has('@angular/core'))
|
|
109
|
+
result.frontend = 'Angular';
|
|
110
|
+
else if (has('svelte'))
|
|
111
|
+
result.frontend = 'Svelte';
|
|
112
|
+
else if (has('express'))
|
|
113
|
+
result.frontend = 'none';
|
|
114
|
+
// Backend
|
|
115
|
+
if (has('express'))
|
|
116
|
+
result.backend = 'Express';
|
|
117
|
+
else if (has('fastify'))
|
|
118
|
+
result.backend = 'Fastify';
|
|
119
|
+
else if (has('@nestjs/core'))
|
|
120
|
+
result.backend = 'NestJS';
|
|
121
|
+
else if (has('koa'))
|
|
122
|
+
result.backend = 'Koa';
|
|
123
|
+
else if (has('next'))
|
|
124
|
+
result.backend = 'Next.js API Routes';
|
|
125
|
+
else if (has('django'))
|
|
126
|
+
result.backend = 'Django';
|
|
127
|
+
else if (has('flask'))
|
|
128
|
+
result.backend = 'Flask';
|
|
129
|
+
else
|
|
130
|
+
result.backend = 'none';
|
|
131
|
+
// Database
|
|
132
|
+
const dbs = [];
|
|
133
|
+
if (has('pg') || has('postgres'))
|
|
134
|
+
dbs.push('PostgreSQL');
|
|
135
|
+
if (has('mysql') || has('mysql2'))
|
|
136
|
+
dbs.push('MySQL');
|
|
137
|
+
if (has('mongodb') || has('mongoose'))
|
|
138
|
+
dbs.push('MongoDB');
|
|
139
|
+
if (has('redis') || has('ioredis'))
|
|
140
|
+
dbs.push('Redis');
|
|
141
|
+
if (has('better-sqlite3') || has('sqlite3'))
|
|
142
|
+
dbs.push('SQLite');
|
|
143
|
+
result.database = dbs.length > 0 ? dbs : ['none'];
|
|
144
|
+
// ORM
|
|
145
|
+
if (has('prisma') || has('@prisma/client'))
|
|
146
|
+
result.orm = 'Prisma';
|
|
147
|
+
else if (has('typeorm'))
|
|
148
|
+
result.orm = 'TypeORM';
|
|
149
|
+
else if (has('drizzle-orm'))
|
|
150
|
+
result.orm = 'Drizzle';
|
|
151
|
+
else if (has('sequelize'))
|
|
152
|
+
result.orm = 'Sequelize';
|
|
153
|
+
else if (has('mongoose'))
|
|
154
|
+
result.orm = 'Mongoose';
|
|
155
|
+
else if (has('knex'))
|
|
156
|
+
result.orm = 'Knex';
|
|
157
|
+
else
|
|
158
|
+
result.orm = 'none';
|
|
159
|
+
// Validation
|
|
160
|
+
if (has('zod'))
|
|
161
|
+
result.validation = 'Zod';
|
|
162
|
+
else if (has('yup'))
|
|
163
|
+
result.validation = 'Yup';
|
|
164
|
+
else if (has('joi'))
|
|
165
|
+
result.validation = 'Joi';
|
|
166
|
+
else if (has('class-validator'))
|
|
167
|
+
result.validation = 'class-validator';
|
|
168
|
+
else
|
|
169
|
+
result.validation = 'none';
|
|
170
|
+
// Testing
|
|
171
|
+
const tests = [];
|
|
172
|
+
if (has('jest') || has('ts-jest') || has('@jest/globals'))
|
|
173
|
+
tests.push('Jest');
|
|
174
|
+
if (has('vitest'))
|
|
175
|
+
tests.push('Vitest');
|
|
176
|
+
if (has('playwright') || has('@playwright/test'))
|
|
177
|
+
tests.push('Playwright');
|
|
178
|
+
if (has('cypress'))
|
|
179
|
+
tests.push('Cypress');
|
|
180
|
+
if (has('mocha'))
|
|
181
|
+
tests.push('Mocha');
|
|
182
|
+
result.testing = tests.length > 0 ? tests : ['none'];
|
|
183
|
+
// State Management
|
|
184
|
+
if (has('zustand'))
|
|
185
|
+
result.stateManagement = 'Zustand';
|
|
186
|
+
else if (has('@reduxjs/toolkit') || has('redux'))
|
|
187
|
+
result.stateManagement = 'Redux';
|
|
188
|
+
else if (has('jotai'))
|
|
189
|
+
result.stateManagement = 'Jotai';
|
|
190
|
+
else if (has('recoil'))
|
|
191
|
+
result.stateManagement = 'Recoil';
|
|
192
|
+
else if (has('mobx'))
|
|
193
|
+
result.stateManagement = 'MobX';
|
|
194
|
+
else
|
|
195
|
+
result.stateManagement = 'none';
|
|
196
|
+
// Styling
|
|
197
|
+
if (fileExists(root, 'tailwind.config.js') || fileExists(root, 'tailwind.config.ts') || has('tailwindcss'))
|
|
198
|
+
result.styling = 'Tailwind CSS';
|
|
199
|
+
else if (has('styled-components'))
|
|
200
|
+
result.styling = 'Styled Components';
|
|
201
|
+
else if (has('@emotion/react'))
|
|
202
|
+
result.styling = 'Emotion';
|
|
203
|
+
else if (has('sass'))
|
|
204
|
+
result.styling = 'Sass';
|
|
205
|
+
else
|
|
206
|
+
result.styling = 'none';
|
|
207
|
+
// Auth
|
|
208
|
+
if (has('next-auth'))
|
|
209
|
+
result.auth = 'NextAuth';
|
|
210
|
+
else if (has('@clerk/nextjs'))
|
|
211
|
+
result.auth = 'Clerk';
|
|
212
|
+
else if (has('passport'))
|
|
213
|
+
result.auth = 'Passport';
|
|
214
|
+
else if (has('jsonwebtoken') && !has('next-auth'))
|
|
215
|
+
result.auth = 'JWT';
|
|
216
|
+
else
|
|
217
|
+
result.auth = 'none';
|
|
218
|
+
// API Style
|
|
219
|
+
if (fileExists(root, 'app/api'))
|
|
220
|
+
result.apiStyle = 'REST (Next.js Route Handlers)';
|
|
221
|
+
else if (has('@trpc/server'))
|
|
222
|
+
result.apiStyle = 'tRPC';
|
|
223
|
+
else if (has('graphql') || has('@apollo/server'))
|
|
224
|
+
result.apiStyle = 'GraphQL';
|
|
225
|
+
else if (has('express'))
|
|
226
|
+
result.apiStyle = 'REST (Express)';
|
|
227
|
+
else
|
|
228
|
+
result.apiStyle = 'none';
|
|
229
|
+
// Monorepo
|
|
230
|
+
if (has('turbo') || has('@turbo/gen'))
|
|
231
|
+
result.monorepo = 'Turborepo';
|
|
232
|
+
else if (has('nx') || has('@nrwl/workspace'))
|
|
233
|
+
result.monorepo = 'Nx';
|
|
234
|
+
else if (fileExists(root, 'pnpm-workspace.yaml'))
|
|
235
|
+
result.monorepo = 'pnpm Workspaces';
|
|
236
|
+
else if (has('lerna'))
|
|
237
|
+
result.monorepo = 'Lerna';
|
|
238
|
+
else
|
|
239
|
+
result.monorepo = 'none';
|
|
240
|
+
// Package Manager
|
|
241
|
+
if (fileExists(root, 'pnpm-lock.yaml'))
|
|
242
|
+
result.packageManager = 'pnpm';
|
|
243
|
+
else if (fileExists(root, 'yarn.lock'))
|
|
244
|
+
result.packageManager = 'yarn';
|
|
245
|
+
else if (fileExists(root, 'bun.lockb'))
|
|
246
|
+
result.packageManager = 'bun';
|
|
247
|
+
else
|
|
248
|
+
result.packageManager = 'npm';
|
|
249
|
+
// Deployment
|
|
250
|
+
const deploys = [];
|
|
251
|
+
if (fileExists(root, 'vercel.json') || has('vercel'))
|
|
252
|
+
deploys.push('Vercel');
|
|
253
|
+
if (fileExists(root, 'Dockerfile') || fileExists(root, 'docker-compose.yml'))
|
|
254
|
+
deploys.push('Docker');
|
|
255
|
+
if (fileExists(root, '.github/workflows'))
|
|
256
|
+
deploys.push('GitHub Actions');
|
|
257
|
+
if (fileExists(root, 'railway.json') || has('@railway/cli'))
|
|
258
|
+
deploys.push('Railway');
|
|
259
|
+
if (fileExists(root, 'fly.toml'))
|
|
260
|
+
deploys.push('Fly.io');
|
|
261
|
+
result.deployment = deploys.length > 0 ? deploys : ['unknown'];
|
|
262
|
+
// Languages
|
|
263
|
+
const langs = [];
|
|
264
|
+
if (has('typescript') || has('@types/'))
|
|
265
|
+
langs.push('TypeScript');
|
|
266
|
+
if (depNames.some(d => !d.startsWith('@types/') && !d.startsWith('@')))
|
|
267
|
+
langs.push('JavaScript');
|
|
268
|
+
const extCounts = {};
|
|
269
|
+
const srcDir = path.join(root, 'src');
|
|
270
|
+
if (fs.existsSync(srcDir))
|
|
271
|
+
countExtensions(srcDir, extCounts);
|
|
272
|
+
else
|
|
273
|
+
countExtensions(root, extCounts);
|
|
274
|
+
const extKeys = Object.keys(extCounts);
|
|
275
|
+
if (extKeys.includes('.py'))
|
|
276
|
+
langs.push('Python');
|
|
277
|
+
if (extKeys.includes('.go'))
|
|
278
|
+
langs.push('Go');
|
|
279
|
+
if (extKeys.includes('.rs'))
|
|
280
|
+
langs.push('Rust');
|
|
281
|
+
if (extKeys.includes('.java'))
|
|
282
|
+
langs.push('Java');
|
|
283
|
+
result.languages = langs.length > 0 ? langs : ['JavaScript'];
|
|
284
|
+
return result;
|
|
285
|
+
}
|
|
286
|
+
function countExtensions(dir, counts) {
|
|
287
|
+
try {
|
|
288
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
289
|
+
for (const e of entries) {
|
|
290
|
+
if (e.name.startsWith('.') || e.name === 'node_modules')
|
|
291
|
+
continue;
|
|
292
|
+
const full = path.join(dir, e.name);
|
|
293
|
+
if (e.isDirectory())
|
|
294
|
+
countExtensions(full, counts);
|
|
295
|
+
else {
|
|
296
|
+
const ext = path.extname(e.name).toLowerCase();
|
|
297
|
+
if (ext)
|
|
298
|
+
counts[ext] = (counts[ext] || 0) + 1;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
catch { }
|
|
303
|
+
}
|
|
304
|
+
// ─── Architecture Detection ────────────────────────────────────────────────
|
|
305
|
+
function detectArchitecture(root) {
|
|
306
|
+
const folders = getTopFolders(root);
|
|
307
|
+
const srcDirs = ['src', 'app', 'lib', 'pages', 'components', 'services', 'server'];
|
|
308
|
+
let type = 'flat';
|
|
309
|
+
let confidence = 'low';
|
|
310
|
+
const coreModules = [];
|
|
311
|
+
// Check for feature-based
|
|
312
|
+
const hasFeatures = folders.some(d => {
|
|
313
|
+
const sub = getTopFolders(path.join(root, d));
|
|
314
|
+
return sub.length >= 2 && sub.some(s => s === 'components' || s === 'services' || s === 'hooks');
|
|
315
|
+
});
|
|
316
|
+
const hasSrc = folders.includes('src');
|
|
317
|
+
const hasApp = folders.includes('app');
|
|
318
|
+
// Feature-based check
|
|
319
|
+
if (hasSrc) {
|
|
320
|
+
const srcFolders = getTopFolders(path.join(root, 'src'));
|
|
321
|
+
const featureLike = srcFolders.filter(f => f !== 'components' && f !== 'utils' && f !== 'types' && f !== 'lib' && f !== 'styles' && f !== 'assets');
|
|
322
|
+
if (featureLike.length >= 3 && srcFolders.length >= 3) {
|
|
323
|
+
type = 'feature-based';
|
|
324
|
+
confidence = 'high';
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
// Next.js App Router
|
|
328
|
+
if (hasApp && fileExists(root, 'app/layout.tsx')) {
|
|
329
|
+
type = 'Next.js App Router';
|
|
330
|
+
confidence = 'high';
|
|
331
|
+
coreModules.push('app/');
|
|
332
|
+
}
|
|
333
|
+
// Layer-based
|
|
334
|
+
const layerDirs = ['controllers', 'services', 'models', 'routes', 'middleware', 'repositories'];
|
|
335
|
+
const hasLayers = folders.some(d => layerDirs.includes(d));
|
|
336
|
+
if (hasLayers || (hasSrc && getTopFolders(path.join(root, 'src')).some(d => layerDirs.includes(d)))) {
|
|
337
|
+
type = 'layer-based';
|
|
338
|
+
confidence = 'high';
|
|
339
|
+
coreModules.push(...layerDirs.filter(d => folders.includes(d)));
|
|
340
|
+
}
|
|
341
|
+
// Microservices
|
|
342
|
+
const hasServicesDir = folders.includes('services') || folders.includes('packages');
|
|
343
|
+
if (hasServicesDir) {
|
|
344
|
+
const svcDir = path.join(root, folders.includes('services') ? 'services' : 'packages');
|
|
345
|
+
const subDirs = getTopFolders(svcDir);
|
|
346
|
+
if (subDirs.length >= 3) {
|
|
347
|
+
type = 'microservices';
|
|
348
|
+
confidence = 'medium';
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
// Monolith detection
|
|
352
|
+
if (type === 'flat' && folders.length >= 10) {
|
|
353
|
+
type = 'monolith';
|
|
354
|
+
confidence = 'low';
|
|
355
|
+
}
|
|
356
|
+
// Entry points
|
|
357
|
+
const entryPoints = [];
|
|
358
|
+
if (fileExists(root, 'src/index.ts'))
|
|
359
|
+
entryPoints.push('src/index.ts');
|
|
360
|
+
if (fileExists(root, 'app/layout.tsx'))
|
|
361
|
+
entryPoints.push('app/layout.tsx');
|
|
362
|
+
if (fileExists(root, 'pages/index.tsx'))
|
|
363
|
+
entryPoints.push('pages/index.tsx');
|
|
364
|
+
if (fileExists(root, 'index.js'))
|
|
365
|
+
entryPoints.push('index.js');
|
|
366
|
+
if (fileExists(root, 'src/main.ts'))
|
|
367
|
+
entryPoints.push('src/main.ts');
|
|
368
|
+
if (fileExists(root, 'src/server.ts'))
|
|
369
|
+
entryPoints.push('src/server.ts');
|
|
370
|
+
// Core modules
|
|
371
|
+
const potentialCore = ['payment', 'auth', 'users', 'orders', 'products', 'api', 'dashboard'];
|
|
372
|
+
for (const mod of potentialCore) {
|
|
373
|
+
if (hasFolder(root, mod) || hasFolder(root, path.join('src', mod)) || hasFolder(root, path.join('app', mod))) {
|
|
374
|
+
coreModules.push(mod);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
return {
|
|
378
|
+
type,
|
|
379
|
+
confidence,
|
|
380
|
+
entryPoints: entryPoints.length > 0 ? entryPoints : ['unknown'],
|
|
381
|
+
topLevelDirs: folders.slice(0, 10),
|
|
382
|
+
coreModules: coreModules.length > 0 ? coreModules : ['unknown'],
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
// ─── Purpose Detection ─────────────────────────────────────────────────────
|
|
386
|
+
function detectPurpose(root) {
|
|
387
|
+
// Try README first
|
|
388
|
+
const readme = readFile(root, 'README.md') || readFile(root, 'readme.md');
|
|
389
|
+
if (readme) {
|
|
390
|
+
const lines = readme.split('\n');
|
|
391
|
+
const title = lines.find(l => l.startsWith('# '));
|
|
392
|
+
if (title)
|
|
393
|
+
return title.replace(/^#\s+/, '').trim();
|
|
394
|
+
}
|
|
395
|
+
// Try package.json description
|
|
396
|
+
const pkg = readJson(path.join(root, 'package.json'));
|
|
397
|
+
if (pkg?.description)
|
|
398
|
+
return pkg.description;
|
|
399
|
+
// Try key folder names
|
|
400
|
+
const folders = getTopFolders(root);
|
|
401
|
+
const bizFolders = folders.filter(f => !['src', 'app', 'lib', 'node_modules', 'components', 'utils', 'types', 'styles', 'public', 'dist', 'build'].includes(f));
|
|
402
|
+
if (bizFolders.length > 0)
|
|
403
|
+
return `Project with: ${bizFolders.join(', ')}`;
|
|
404
|
+
return 'unknown';
|
|
405
|
+
}
|
|
406
|
+
// ─── Public API ────────────────────────────────────────────────────────────
|
|
407
|
+
function detectProjectDNA(root) {
|
|
408
|
+
const pkg = readJson(path.join(root, 'package.json'));
|
|
409
|
+
const name = pkg?.name || path.basename(root);
|
|
410
|
+
let stack = {
|
|
411
|
+
frontend: 'none', backend: 'none', database: ['none'], orm: 'none',
|
|
412
|
+
validation: 'none', testing: ['none'], stateManagement: 'none', styling: 'none',
|
|
413
|
+
auth: 'none', apiStyle: 'none', monorepo: 'none', packageManager: 'npm',
|
|
414
|
+
deployment: ['unknown'], languages: ['JavaScript'], trustScore: 50,
|
|
415
|
+
};
|
|
416
|
+
if (pkg) {
|
|
417
|
+
const detected = detectFromPackageJson(root, pkg);
|
|
418
|
+
stack = { ...stack, ...detected };
|
|
419
|
+
// Trust score calculation
|
|
420
|
+
let score = 0;
|
|
421
|
+
if (stack.frontend !== 'none')
|
|
422
|
+
score += 15;
|
|
423
|
+
if (stack.backend !== 'none')
|
|
424
|
+
score += 10;
|
|
425
|
+
if (stack.database[0] !== 'none')
|
|
426
|
+
score += 10;
|
|
427
|
+
if (stack.orm !== 'none')
|
|
428
|
+
score += 10;
|
|
429
|
+
if (stack.validation !== 'none')
|
|
430
|
+
score += 10;
|
|
431
|
+
if (stack.testing[0] !== 'none')
|
|
432
|
+
score += 10;
|
|
433
|
+
if (stack.auth !== 'none')
|
|
434
|
+
score += 10;
|
|
435
|
+
if (stack.apiStyle !== 'none')
|
|
436
|
+
score += 10;
|
|
437
|
+
if (stack.monorepo !== 'none')
|
|
438
|
+
score += 5;
|
|
439
|
+
if (stack.deployment[0] !== 'unknown')
|
|
440
|
+
score += 10;
|
|
441
|
+
stack.trustScore = Math.min(100, score);
|
|
442
|
+
}
|
|
443
|
+
const architecture = detectArchitecture(root);
|
|
444
|
+
const purpose = detectPurpose(root);
|
|
445
|
+
// Count files and lines
|
|
446
|
+
let fileCount = 0;
|
|
447
|
+
let lineCount = 0;
|
|
448
|
+
const countDir = (d) => {
|
|
449
|
+
try {
|
|
450
|
+
const entries = fs.readdirSync(d, { withFileTypes: true });
|
|
451
|
+
for (const e of entries) {
|
|
452
|
+
if (e.name.startsWith('.') || e.name === 'node_modules' || e.name === 'dist' || e.name === '.git')
|
|
453
|
+
continue;
|
|
454
|
+
const full = path.join(d, e.name);
|
|
455
|
+
if (e.isDirectory())
|
|
456
|
+
countDir(full);
|
|
457
|
+
else {
|
|
458
|
+
fileCount++;
|
|
459
|
+
try {
|
|
460
|
+
lineCount += fs.readFileSync(full, 'utf-8').split('\n').length;
|
|
461
|
+
}
|
|
462
|
+
catch { }
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
catch { }
|
|
467
|
+
};
|
|
468
|
+
countDir(root);
|
|
469
|
+
return { stack, architecture, fileCount, lineCount, name, purpose };
|
|
470
|
+
}
|
|
471
|
+
//# sourceMappingURL=stack-detector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack-detector.js","sourceRoot":"","sources":["../src/stack-detector.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsVA,4CAqDC;AA3YD,uCAAyB;AACzB,2CAA6B;AAuC7B,6EAA6E;AAE7E,SAAS,QAAQ,CAAC,IAAY;IAC5B,IAAI,CAAC;QAAC,OAAO,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IAAC,CAAC;IAAC,MAAM,CAAC;QAAC,OAAO,IAAI,CAAC;IAAC,CAAC;AACnF,CAAC;AAED,SAAS,UAAU,CAAC,IAAY,EAAE,GAAG,KAAe;IAClD,OAAO,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,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AC,CAAC;gBAClC,IAAI,CAAC,CAAC,WAAW,EAAE;oBAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;qBAC/B,CAAC;oBACJ,SAAS,EAAE,CAAC;oBACZ,IAAI,CAAC;wBAAC,SAAS,IAAI,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;oBAAC,CAAC;oBAAC,MAAM,CAAC,CAAA,CAAC;gBAClF,CAAC;YACH,CAAC;QACH,CAAC;QAAC,MAAM,CAAC,CAAA,CAAC;IACZ,CAAC,CAAC;IACF,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEf,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AACtE,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface TeamPatternRule {
|
|
2
|
+
type: 'do' | 'dont' | 'prefer';
|
|
3
|
+
category: string;
|
|
4
|
+
rule: string;
|
|
5
|
+
evidence: string;
|
|
6
|
+
agreement: number;
|
|
7
|
+
}
|
|
8
|
+
export interface TeamOnboardingGuide {
|
|
9
|
+
welcome: string;
|
|
10
|
+
stack: string;
|
|
11
|
+
criticalFiles: string[];
|
|
12
|
+
patterns: TeamPatternRule[];
|
|
13
|
+
gotchas: string[];
|
|
14
|
+
whoToAsk: Array<{
|
|
15
|
+
topic: string;
|
|
16
|
+
person: string;
|
|
17
|
+
}>;
|
|
18
|
+
firstWeekTasks: string[];
|
|
19
|
+
}
|
|
20
|
+
export interface TeamDeviation {
|
|
21
|
+
member: string;
|
|
22
|
+
category: string;
|
|
23
|
+
teamStandard: string;
|
|
24
|
+
theirPattern: string;
|
|
25
|
+
severity: 'low' | 'medium' | 'high';
|
|
26
|
+
}
|
|
27
|
+
export declare function buildTeamPatternLibrary(teamDir: string): TeamPatternRule[];
|
|
28
|
+
export declare function detectStackDeviations(teamDir: string): TeamDeviation[];
|
|
29
|
+
export declare function generateOnboardingGuide(teamDir: string, newMember: string): TeamOnboardingGuide | null;
|
|
30
|
+
export declare function formatOnboardingText(guide: TeamOnboardingGuide): string;
|
|
31
|
+
//# sourceMappingURL=team-intel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team-intel.d.ts","sourceRoot":"","sources":["../src/team-intel.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,QAAQ,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;CACrC;AAID,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,EAAE,CA8E1E;AAID,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,aAAa,EAAE,CA2CtE;AAID,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE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