fivocell 8.12.13 → 8.12.15
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/walls/07-runtime/daemon/server.js +5 -5
- package/dist/walls/07-runtime/daemon/server.js.map +1 -1
- package/dist/walls/07-runtime/import/import.d.ts +17 -0
- package/dist/walls/07-runtime/import/import.d.ts.map +1 -1
- package/dist/walls/07-runtime/import/import.js +195 -0
- package/dist/walls/07-runtime/import/import.js.map +1 -1
- package/package.json +1 -1
|
@@ -1796,23 +1796,23 @@ async function handleMCPToolCall(name, args) {
|
|
|
1796
1796
|
try {
|
|
1797
1797
|
switch (name) {
|
|
1798
1798
|
case 'cell_get_dev_profile': {
|
|
1799
|
-
const { getDeveloperProfile } = require('
|
|
1799
|
+
const { getDeveloperProfile } = require('../../02-scanner/blindspots/code-scanner');
|
|
1800
1800
|
const profile = getDeveloperProfile(args.project);
|
|
1801
1801
|
if (!profile)
|
|
1802
1802
|
return { error: 'no profile — run cell scan first' };
|
|
1803
1803
|
return { project: args.project, profile };
|
|
1804
1804
|
}
|
|
1805
1805
|
case 'cell_get_code_patterns': {
|
|
1806
|
-
const { getCodePatterns } = require('
|
|
1806
|
+
const { getCodePatterns } = require('../../02-scanner/blindspots/code-scanner');
|
|
1807
1807
|
return { project: args.project, patterns: getCodePatterns(args.project, args.category) };
|
|
1808
1808
|
}
|
|
1809
1809
|
case 'cell_deep_scan': {
|
|
1810
|
-
const { scanCodebase } = require('
|
|
1810
|
+
const { scanCodebase } = require('../../02-scanner/blindspots/code-scanner');
|
|
1811
1811
|
const result = scanCodebase(args.dir, args.project || path.basename(args.dir));
|
|
1812
1812
|
return { project: result.project, filesScanned: result.filesScanned, totalLines: result.totalLines, profile: result.profile, strengths: result.profile.strengths, improvements: result.profile.improvements };
|
|
1813
1813
|
}
|
|
1814
1814
|
case 'cell_scan_report': {
|
|
1815
|
-
const { getDeveloperProfile, getCodePatterns } = require('
|
|
1815
|
+
const { getDeveloperProfile, getCodePatterns } = require('../../02-scanner/blindspots/code-scanner');
|
|
1816
1816
|
const profile = getDeveloperProfile(args.project);
|
|
1817
1817
|
const patterns = getCodePatterns(args.project);
|
|
1818
1818
|
return { project: args.project, profile, patterns, patternCount: patterns.length };
|
|
@@ -1907,7 +1907,7 @@ async function handleMCPToolCall(name, args) {
|
|
|
1907
1907
|
return { totalProjects: result.totalProjects, totalFiles: result.totalFiles, totalLines: result.totalLines, profile: result.aggregatedProfile };
|
|
1908
1908
|
}
|
|
1909
1909
|
case 'cell_discover': {
|
|
1910
|
-
const { detectSources, runImport } = require('
|
|
1910
|
+
const { detectSources, runImport } = require('../import/import');
|
|
1911
1911
|
const toolName = args.tool || undefined;
|
|
1912
1912
|
const dryRun = args.dryRun === true;
|
|
1913
1913
|
const result = await runImport({ dryRun, source: toolName });
|