@itz4blitz/agentful 0.1.0 → 0.1.4

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/lib/index.js ADDED
@@ -0,0 +1,40 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * agentful Analysis Engine
5
+ * Smart project analysis for autonomous development
6
+ *
7
+ * @module agentful/analyzer
8
+ */
9
+
10
+ export { analyzeProject, exportToArchitectureJson } from './project-analyzer.js';
11
+ export { detectDomains, getDomainKeywords, getAllDomains, addCustomDomainPattern } from './domain-detector.js';
12
+ export { detectTechStack } from './tech-stack-detector.js';
13
+
14
+ /**
15
+ * Main entry point for project analysis
16
+ * @param {string} projectRoot - Root directory of the project to analyze
17
+ * @returns {Promise<Object>} Comprehensive project analysis
18
+ */
19
+ export async function analyze(projectRoot) {
20
+ return await analyzeProject(projectRoot);
21
+ }
22
+
23
+ /**
24
+ * Quick tech stack detection
25
+ * @param {string} projectRoot - Root directory of the project
26
+ * @returns {Promise<Object>} Detected tech stack
27
+ */
28
+ export async function detectStack(projectRoot) {
29
+ return await detectTechStack(projectRoot);
30
+ }
31
+
32
+ /**
33
+ * Domain detection
34
+ * @param {string} projectRoot - Root directory of the project
35
+ * @param {Object} quickScan - Optional quick scan results
36
+ * @returns {Promise<Object>} Detected domains with confidence scores
37
+ */
38
+ export async function detectBusinessDomains(projectRoot, quickScan) {
39
+ return await detectDomains(projectRoot, quickScan);
40
+ }