ai-first-cli 1.1.2 → 1.1.5
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/ANALISIS_MEJORAS.md +327 -0
- package/BUGS.md +455 -0
- package/CHANGELOG.md +100 -225
- package/TEST_RESULTS.md +198 -0
- package/TEST_RESULTS_COMPARATIVE.md +159 -0
- package/TEST_RESULTS_COMPLETE.md +127 -0
- package/TEST_RESULTS_COMPREHENSIVE.md +208 -0
- package/ai/ai_context.md +17 -10
- package/ai/ai_rules.md +5 -3
- package/ai/architecture.md +28 -7
- package/ai/cache.json +832 -52
- package/ai/context/features/commands.json +18 -0
- package/ai/context/features/src.json +61 -0
- package/ai/context/features/test-projects.json +56 -0
- package/ai/context/flows/account.json +9 -0
- package/ai/context/flows/add_.json +9 -0
- package/ai/context/flows/ai-first.json +9 -0
- package/ai/context/flows/auth..json +10 -0
- package/ai/context/flows/auth.json +12 -0
- package/ai/context/flows/dashboard.json +9 -0
- package/ai/context/flows/doctor.json +9 -0
- package/ai/context/flows/explore.json +9 -0
- package/ai/context/flows/list_.json +9 -0
- package/ai/context/flows/login.json +9 -0
- package/ai/context/flows/opportunity.json +9 -0
- package/ai/context/flows/remove_.json +9 -0
- package/ai/context/flows/user.json +14 -0
- package/ai/context/flows/users..json +10 -0
- package/ai/context/flows/users.json +9 -0
- package/ai/conventions.md +3 -2
- package/ai/dependencies.json +429 -251
- package/ai/entrypoints.md +10 -0
- package/ai/files.json +822 -46
- package/ai/git/commit-activity.json +126 -39
- package/ai/git/recent-features.json +3 -1
- package/ai/git/recent-files.json +6 -6
- package/ai/git/recent-flows.json +3 -1
- package/ai/graph/knowledge-graph.json +954 -182
- package/ai/graph/module-graph.json +270 -0
- package/ai/graph/symbol-graph.json +48991 -16523
- package/ai/graph/symbol-references.json +953 -56
- package/ai/hierarchy.json +3 -24
- package/ai/index-state.json +1261 -253
- package/ai/index.db +0 -0
- package/ai/modules.json +226 -0
- package/ai/project.json +29 -0
- package/ai/repo-map.json +2284 -250
- package/ai/repo_map.json +2731 -231
- package/ai/repo_map.md +559 -2
- package/ai/schema.json +5 -0
- package/ai/summary.md +16 -7
- package/ai/tech_stack.md +4 -1
- package/ai/tools.json +10 -0
- package/dist/analyzers/dependencies.d.ts.map +1 -1
- package/dist/analyzers/dependencies.js +8 -16
- package/dist/analyzers/dependencies.js.map +1 -1
- package/dist/analyzers/symbols.d.ts.map +1 -1
- package/dist/analyzers/symbols.js +60 -0
- package/dist/analyzers/symbols.js.map +1 -1
- package/dist/commands/ai-first.d.ts +1 -0
- package/dist/commands/ai-first.d.ts.map +1 -1
- package/dist/commands/ai-first.js +29 -6
- package/dist/commands/ai-first.js.map +1 -1
- package/dist/core/semanticContexts.d.ts.map +1 -1
- package/dist/core/semanticContexts.js +48 -26
- package/dist/core/semanticContexts.js.map +1 -1
- package/dist/core/symbolGraph.d.ts.map +1 -1
- package/dist/core/symbolGraph.js +14 -2
- package/dist/core/symbolGraph.js.map +1 -1
- package/dist/utils/fileUtils.d.ts.map +1 -1
- package/dist/utils/fileUtils.js +5 -0
- package/dist/utils/fileUtils.js.map +1 -1
- package/package.json +2 -2
- package/src/analyzers/dependencies.ts +10 -20
- package/src/analyzers/symbols.ts +64 -0
- package/src/commands/ai-first.ts +32 -8
- package/src/core/semanticContexts.ts +54 -29
- package/src/core/symbolGraph.ts +16 -2
- package/src/utils/fileUtils.ts +5 -0
- package/test-projects/express-api/ai/ai_context.md +112 -0
- package/test-projects/express-api/ai/ai_rules.md +50 -0
- package/test-projects/express-api/ai/architecture.md +62 -0
- package/test-projects/express-api/ai/cache.json +125 -0
- package/test-projects/express-api/ai/context/features/controllers.json +13 -0
- package/test-projects/express-api/ai/context/features/services.json +13 -0
- package/test-projects/express-api/ai/context/flows/auth.json +12 -0
- package/test-projects/express-api/ai/context/flows/user.json +13 -0
- package/test-projects/express-api/ai/conventions.md +51 -0
- package/test-projects/express-api/ai/dependencies.json +54 -0
- package/test-projects/express-api/ai/entrypoints.md +17 -0
- package/test-projects/express-api/ai/files.json +169 -0
- package/test-projects/express-api/ai/graph/knowledge-graph.json +98 -0
- package/test-projects/express-api/ai/graph/module-graph.json +44 -0
- package/test-projects/express-api/ai/graph/symbol-graph.json +882 -0
- package/test-projects/express-api/ai/graph/symbol-references.json +51 -0
- package/test-projects/express-api/ai/index-state.json +238 -0
- package/test-projects/express-api/ai/index.db +0 -0
- package/test-projects/express-api/ai/modules.json +30 -0
- package/test-projects/express-api/ai/project.json +15 -0
- package/test-projects/express-api/ai/repo-map.json +291 -0
- package/test-projects/express-api/ai/repo_map.json +100 -0
- package/test-projects/express-api/ai/repo_map.md +36 -0
- package/test-projects/express-api/ai/schema.json +5 -0
- package/test-projects/express-api/ai/summary.md +14 -0
- package/test-projects/express-api/ai/symbols.json +1174 -0
- package/test-projects/express-api/ai/tech_stack.md +38 -0
- package/test-projects/express-api/ai/tools.json +10 -0
- package/test-projects/express-api/controllers/authController.js +32 -0
- package/test-projects/express-api/controllers/userController.js +51 -0
- package/test-projects/express-api/index.js +21 -0
- package/test-projects/express-api/middleware/authMiddleware.js +30 -0
- package/test-projects/express-api/models/userRepository.js +25 -0
- package/test-projects/express-api/package.json +18 -0
- package/test-projects/express-api/services/authService.js +17 -0
- package/test-projects/express-api/services/userService.js +28 -0
- package/test-projects/nestjs-backend/ai/ai_context.md +110 -0
- package/test-projects/nestjs-backend/ai/ai_rules.md +52 -0
- package/test-projects/nestjs-backend/ai/architecture.md +43 -0
- package/test-projects/nestjs-backend/ai/cache.json +137 -0
- package/test-projects/nestjs-backend/ai/context/features/src.json +23 -0
- package/test-projects/nestjs-backend/ai/context/flows/auth..json +10 -0
- package/test-projects/nestjs-backend/ai/context/flows/users..json +10 -0
- package/test-projects/nestjs-backend/ai/conventions.md +52 -0
- package/test-projects/nestjs-backend/ai/dependencies.json +152 -0
- package/test-projects/nestjs-backend/ai/entrypoints.md +18 -0
- package/test-projects/nestjs-backend/ai/files.json +184 -0
- package/test-projects/nestjs-backend/ai/graph/knowledge-graph.json +74 -0
- package/test-projects/nestjs-backend/ai/graph/module-graph.json +29 -0
- package/test-projects/nestjs-backend/ai/graph/symbol-graph.json +304 -0
- package/test-projects/nestjs-backend/ai/graph/symbol-references.json +5 -0
- package/test-projects/nestjs-backend/ai/index-state.json +259 -0
- package/test-projects/nestjs-backend/ai/index.db +0 -0
- package/test-projects/nestjs-backend/ai/modules.json +19 -0
- package/test-projects/nestjs-backend/ai/project.json +14 -0
- package/test-projects/nestjs-backend/ai/repo-map.json +323 -0
- package/test-projects/nestjs-backend/ai/repo_map.json +141 -0
- package/test-projects/nestjs-backend/ai/repo_map.md +39 -0
- package/test-projects/nestjs-backend/ai/schema.json +5 -0
- package/test-projects/nestjs-backend/ai/summary.md +11 -0
- package/test-projects/nestjs-backend/ai/symbols.json +527 -0
- package/test-projects/nestjs-backend/ai/tech_stack.md +37 -0
- package/test-projects/nestjs-backend/ai/tools.json +10 -0
- package/test-projects/nestjs-backend/package.json +22 -0
- package/test-projects/nestjs-backend/src/app.module.ts +8 -0
- package/test-projects/nestjs-backend/src/auth/auth.controller.ts +22 -0
- package/test-projects/nestjs-backend/src/auth/auth.module.ts +11 -0
- package/test-projects/nestjs-backend/src/auth/auth.service.ts +28 -0
- package/test-projects/nestjs-backend/src/auth/dto/login.dto.ts +4 -0
- package/test-projects/nestjs-backend/src/auth/strategies/jwt.strategy.ts +18 -0
- package/test-projects/nestjs-backend/src/main.ts +9 -0
- package/test-projects/nestjs-backend/src/users/users.controller.ts +32 -0
- package/test-projects/nestjs-backend/src/users/users.module.ts +10 -0
- package/test-projects/nestjs-backend/src/users/users.service.ts +42 -0
- package/test-projects/nestjs-backend/tsconfig.json +21 -0
- package/test-projects/python-cli/__init__.py +1 -0
- package/test-projects/python-cli/ai/ai_context.md +94 -0
- package/test-projects/python-cli/ai/ai_rules.md +47 -0
- package/test-projects/python-cli/ai/architecture.md +49 -0
- package/test-projects/python-cli/ai/cache.json +129 -0
- package/test-projects/python-cli/ai/context/features/cli.json +16 -0
- package/test-projects/python-cli/ai/context/flows/add_.json +9 -0
- package/test-projects/python-cli/ai/context/flows/list_.json +9 -0
- package/test-projects/python-cli/ai/context/flows/remove_.json +9 -0
- package/test-projects/python-cli/ai/conventions.md +51 -0
- package/test-projects/python-cli/ai/dependencies.json +66 -0
- package/test-projects/python-cli/ai/entrypoints.md +4 -0
- package/test-projects/python-cli/ai/files.json +174 -0
- package/test-projects/python-cli/ai/graph/knowledge-graph.json +83 -0
- package/test-projects/python-cli/ai/graph/module-graph.json +31 -0
- package/test-projects/python-cli/ai/graph/symbol-graph.json +358 -0
- package/test-projects/python-cli/ai/graph/symbol-references.json +11 -0
- package/test-projects/python-cli/ai/index-state.json +245 -0
- package/test-projects/python-cli/ai/index.db +0 -0
- package/test-projects/python-cli/ai/modules.json +21 -0
- package/test-projects/python-cli/ai/project.json +15 -0
- package/test-projects/python-cli/ai/repo-map.json +290 -0
- package/test-projects/python-cli/ai/repo_map.json +99 -0
- package/test-projects/python-cli/ai/repo_map.md +32 -0
- package/test-projects/python-cli/ai/schema.json +5 -0
- package/test-projects/python-cli/ai/summary.md +11 -0
- package/test-projects/python-cli/ai/symbols.json +475 -0
- package/test-projects/python-cli/ai/tech_stack.md +30 -0
- package/test-projects/python-cli/ai/tools.json +10 -0
- package/test-projects/python-cli/cli/__init__.py +1 -0
- package/test-projects/python-cli/cli/add_command.py +6 -0
- package/test-projects/python-cli/cli/list_command.py +7 -0
- package/test-projects/python-cli/cli/remove_command.py +6 -0
- package/test-projects/python-cli/main.py +34 -0
- package/test-projects/python-cli/models/__init__.py +2 -0
- package/test-projects/python-cli/models/task.py +19 -0
- package/test-projects/python-cli/models/task_repository.py +44 -0
- package/test-projects/react-app/ai/ai_context.md +95 -0
- package/test-projects/react-app/ai/ai_rules.md +49 -0
- package/test-projects/react-app/ai/architecture.md +33 -0
- package/test-projects/react-app/ai/cache.json +129 -0
- package/test-projects/react-app/ai/context/features/src.json +18 -0
- package/test-projects/react-app/ai/context/flows/dashboard.json +9 -0
- package/test-projects/react-app/ai/context/flows/login.json +9 -0
- package/test-projects/react-app/ai/context/flows/users.json +9 -0
- package/test-projects/react-app/ai/conventions.md +52 -0
- package/test-projects/react-app/ai/dependencies.json +128 -0
- package/test-projects/react-app/ai/entrypoints.md +4 -0
- package/test-projects/react-app/ai/files.json +174 -0
- package/test-projects/react-app/ai/graph/knowledge-graph.json +83 -0
- package/test-projects/react-app/ai/graph/module-graph.json +31 -0
- package/test-projects/react-app/ai/graph/symbol-graph.json +868 -0
- package/test-projects/react-app/ai/graph/symbol-references.json +31 -0
- package/test-projects/react-app/ai/index-state.json +245 -0
- package/test-projects/react-app/ai/index.db +0 -0
- package/test-projects/react-app/ai/modules.json +17 -0
- package/test-projects/react-app/ai/project.json +15 -0
- package/test-projects/react-app/ai/repo-map.json +305 -0
- package/test-projects/react-app/ai/repo_map.json +114 -0
- package/test-projects/react-app/ai/repo_map.md +31 -0
- package/test-projects/react-app/ai/schema.json +5 -0
- package/test-projects/react-app/ai/summary.md +11 -0
- package/test-projects/react-app/ai/symbols.json +985 -0
- package/test-projects/react-app/ai/tech_stack.md +38 -0
- package/test-projects/react-app/ai/tools.json +10 -0
- package/test-projects/react-app/package.json +16 -0
- package/test-projects/react-app/src/App.tsx +21 -0
- package/test-projects/react-app/src/context/AuthContext.tsx +41 -0
- package/test-projects/react-app/src/hooks/useAuth.ts +10 -0
- package/test-projects/react-app/src/main.tsx +10 -0
- package/test-projects/react-app/src/pages/DashboardPage.tsx +17 -0
- package/test-projects/react-app/src/pages/LoginPage.tsx +41 -0
- package/test-projects/react-app/src/pages/UsersPage.tsx +36 -0
- package/test-projects/react-app/src/services/userService.ts +37 -0
- package/test-projects/salesforce-cli/.forceignore +27 -0
- package/test-projects/salesforce-cli/ai/ai_context.md +88 -0
- package/test-projects/salesforce-cli/ai/ai_rules.md +47 -0
- package/test-projects/salesforce-cli/ai/architecture.md +33 -0
- package/test-projects/salesforce-cli/ai/cache.json +105 -0
- package/test-projects/salesforce-cli/ai/context/features/force-app.json +14 -0
- package/test-projects/salesforce-cli/ai/context/flows/account.json +9 -0
- package/test-projects/salesforce-cli/ai/context/flows/opportunity.json +9 -0
- package/test-projects/salesforce-cli/ai/conventions.md +51 -0
- package/test-projects/salesforce-cli/ai/dependencies.json +6 -0
- package/test-projects/salesforce-cli/ai/entrypoints.md +4 -0
- package/test-projects/salesforce-cli/ai/files.json +144 -0
- package/test-projects/salesforce-cli/ai/graph/knowledge-graph.json +64 -0
- package/test-projects/salesforce-cli/ai/graph/module-graph.json +13 -0
- package/test-projects/salesforce-cli/ai/graph/symbol-graph.json +148 -0
- package/test-projects/salesforce-cli/ai/graph/symbol-references.json +1 -0
- package/test-projects/salesforce-cli/ai/index-state.json +203 -0
- package/test-projects/salesforce-cli/ai/index.db +0 -0
- package/test-projects/salesforce-cli/ai/modules.json +12 -0
- package/test-projects/salesforce-cli/ai/project.json +14 -0
- package/test-projects/salesforce-cli/ai/repo-map.json +251 -0
- package/test-projects/salesforce-cli/ai/repo_map.json +69 -0
- package/test-projects/salesforce-cli/ai/repo_map.md +21 -0
- package/test-projects/salesforce-cli/ai/schema.json +5 -0
- package/test-projects/salesforce-cli/ai/summary.md +11 -0
- package/test-projects/salesforce-cli/ai/symbols.json +245 -0
- package/test-projects/salesforce-cli/ai/tech_stack.md +30 -0
- package/test-projects/salesforce-cli/ai/tools.json +10 -0
- package/test-projects/salesforce-cli/force-app/main/default/classes/AccountController.cls +24 -0
- package/test-projects/salesforce-cli/force-app/main/default/classes/OpportunityController.cls +25 -0
- package/test-projects/salesforce-cli/force-app/main/default/objects/Project__c.object.xml +45 -0
- package/test-projects/salesforce-cli/force-app/main/default/triggers/AccountTrigger.trigger +33 -0
- package/test-projects/salesforce-cli/sfdx-project.json +11 -0
- package/tests/e2e/README.md +85 -0
- package/tests/e2e/run-e2e.sh +88 -0
- package/tests/semanticContexts.test.ts +23 -25
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Code Conventions
|
|
2
|
+
|
|
3
|
+
## Naming Conventions
|
|
4
|
+
- **Files**: camelCase
|
|
5
|
+
|
|
6
|
+
## Project Structure
|
|
7
|
+
- **Source**: src/
|
|
8
|
+
|
|
9
|
+
## Code Style
|
|
10
|
+
- **Semicolons**: Required
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## Naming Conventions
|
|
14
|
+
|
|
15
|
+
| Element | Convention |
|
|
16
|
+
|---------|------------|
|
|
17
|
+
| Files | camelCase |
|
|
18
|
+
| Components | unknown |
|
|
19
|
+
| Test Files | unknown |
|
|
20
|
+
| Directories | src/ |
|
|
21
|
+
|
|
22
|
+
## Project Structure
|
|
23
|
+
|
|
24
|
+
| Directory | Location |
|
|
25
|
+
|-----------|----------|
|
|
26
|
+
| Source | src/ |
|
|
27
|
+
| Tests | unknown |
|
|
28
|
+
| Config | unknown |
|
|
29
|
+
|
|
30
|
+
## Code Style
|
|
31
|
+
|
|
32
|
+
| Style Element | Value |
|
|
33
|
+
|---------------|-------|
|
|
34
|
+
| Indentation | unknown |
|
|
35
|
+
| Semicolons | Required |
|
|
36
|
+
|
|
37
|
+
## Testing
|
|
38
|
+
|
|
39
|
+
| Aspect | Value |
|
|
40
|
+
|--------|-------|
|
|
41
|
+
| Framework | unknown |
|
|
42
|
+
| Test Pattern | unknown |
|
|
43
|
+
|
|
44
|
+
## Git
|
|
45
|
+
|
|
46
|
+
| Aspect | Value |
|
|
47
|
+
|--------|-------|
|
|
48
|
+
| Branch Strategy | Trunk-based (main/master) |
|
|
49
|
+
| Commit Format | unknown |
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
*Generated by ai-first*
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
{
|
|
2
|
+
"totalDependencies": 22,
|
|
3
|
+
"totalModules": 6,
|
|
4
|
+
"dependencies": [
|
|
5
|
+
{
|
|
6
|
+
"source": "src/app.module.ts",
|
|
7
|
+
"target": "src/auth/auth.module",
|
|
8
|
+
"type": "import"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"source": "src/app.module.ts",
|
|
12
|
+
"target": "src/users/users.module",
|
|
13
|
+
"type": "import"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"source": "src/app.module.ts",
|
|
17
|
+
"target": "src/auth/auth.module",
|
|
18
|
+
"type": "import"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"source": "src/app.module.ts",
|
|
22
|
+
"target": "src/users/users.module",
|
|
23
|
+
"type": "import"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"source": "src/auth/auth.controller.ts",
|
|
27
|
+
"target": "src/auth/auth.service",
|
|
28
|
+
"type": "import"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"source": "src/auth/auth.controller.ts",
|
|
32
|
+
"target": "src/auth/dto/login.dto",
|
|
33
|
+
"type": "import"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"source": "src/auth/auth.controller.ts",
|
|
37
|
+
"target": "src/auth/auth.service",
|
|
38
|
+
"type": "import"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"source": "src/auth/auth.controller.ts",
|
|
42
|
+
"target": "src/auth/dto/login.dto",
|
|
43
|
+
"type": "import"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"source": "src/auth/auth.module.ts",
|
|
47
|
+
"target": "src/auth/auth.controller",
|
|
48
|
+
"type": "import"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"source": "src/auth/auth.module.ts",
|
|
52
|
+
"target": "src/auth/auth.service",
|
|
53
|
+
"type": "import"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"source": "src/auth/auth.module.ts",
|
|
57
|
+
"target": "src/auth/strategies/jwt.strategy",
|
|
58
|
+
"type": "import"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"source": "src/auth/auth.module.ts",
|
|
62
|
+
"target": "src/auth/auth.controller",
|
|
63
|
+
"type": "import"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"source": "src/auth/auth.module.ts",
|
|
67
|
+
"target": "src/auth/auth.service",
|
|
68
|
+
"type": "import"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"source": "src/auth/auth.module.ts",
|
|
72
|
+
"target": "src/auth/strategies/jwt.strategy",
|
|
73
|
+
"type": "import"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"source": "src/main.ts",
|
|
77
|
+
"target": "src/app.module",
|
|
78
|
+
"type": "import"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"source": "src/main.ts",
|
|
82
|
+
"target": "src/app.module",
|
|
83
|
+
"type": "import"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"source": "src/users/users.controller.ts",
|
|
87
|
+
"target": "src/users/users.service",
|
|
88
|
+
"type": "import"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"source": "src/users/users.controller.ts",
|
|
92
|
+
"target": "src/users/users.service",
|
|
93
|
+
"type": "import"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"source": "src/users/users.module.ts",
|
|
97
|
+
"target": "src/users/users.controller",
|
|
98
|
+
"type": "import"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"source": "src/users/users.module.ts",
|
|
102
|
+
"target": "src/users/users.service",
|
|
103
|
+
"type": "import"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"source": "src/users/users.module.ts",
|
|
107
|
+
"target": "src/users/users.controller",
|
|
108
|
+
"type": "import"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"source": "src/users/users.module.ts",
|
|
112
|
+
"target": "src/users/users.service",
|
|
113
|
+
"type": "import"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"byFile": {
|
|
117
|
+
"src/app.module.ts": [
|
|
118
|
+
"src/auth/auth.module",
|
|
119
|
+
"src/users/users.module",
|
|
120
|
+
"src/auth/auth.module",
|
|
121
|
+
"src/users/users.module"
|
|
122
|
+
],
|
|
123
|
+
"src/auth/auth.controller.ts": [
|
|
124
|
+
"src/auth/auth.service",
|
|
125
|
+
"src/auth/dto/login.dto",
|
|
126
|
+
"src/auth/auth.service",
|
|
127
|
+
"src/auth/dto/login.dto"
|
|
128
|
+
],
|
|
129
|
+
"src/auth/auth.module.ts": [
|
|
130
|
+
"src/auth/auth.controller",
|
|
131
|
+
"src/auth/auth.service",
|
|
132
|
+
"src/auth/strategies/jwt.strategy",
|
|
133
|
+
"src/auth/auth.controller",
|
|
134
|
+
"src/auth/auth.service",
|
|
135
|
+
"src/auth/strategies/jwt.strategy"
|
|
136
|
+
],
|
|
137
|
+
"src/main.ts": [
|
|
138
|
+
"src/app.module",
|
|
139
|
+
"src/app.module"
|
|
140
|
+
],
|
|
141
|
+
"src/users/users.controller.ts": [
|
|
142
|
+
"src/users/users.service",
|
|
143
|
+
"src/users/users.service"
|
|
144
|
+
],
|
|
145
|
+
"src/users/users.module.ts": [
|
|
146
|
+
"src/users/users.controller",
|
|
147
|
+
"src/users/users.service",
|
|
148
|
+
"src/users/users.controller",
|
|
149
|
+
"src/users/users.service"
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Entrypoints
|
|
2
|
+
|
|
3
|
+
## Build
|
|
4
|
+
|
|
5
|
+
| Name | Path | Command |
|
|
6
|
+
|------|------|--------|
|
|
7
|
+
| build | `package.json#scripts.build` | npm run build |
|
|
8
|
+
|
|
9
|
+
## Server
|
|
10
|
+
|
|
11
|
+
| Name | Path | Command |
|
|
12
|
+
|------|------|--------|
|
|
13
|
+
| start | `package.json#scripts.start` | npm run start |
|
|
14
|
+
| start:dev | `package.json#scripts.start:dev` | npm run start:dev |
|
|
15
|
+
| main.ts | `src/main.ts` | - |
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
*Generated by ai-first*
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
{
|
|
2
|
+
"files": [
|
|
3
|
+
{
|
|
4
|
+
"path": "ai/ai_context.md",
|
|
5
|
+
"name": "ai_context.md",
|
|
6
|
+
"ext": "md"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"path": "ai/ai_rules.md",
|
|
10
|
+
"name": "ai_rules.md",
|
|
11
|
+
"ext": "md"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"path": "ai/architecture.md",
|
|
15
|
+
"name": "architecture.md",
|
|
16
|
+
"ext": "md"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"path": "ai/cache.json",
|
|
20
|
+
"name": "cache.json",
|
|
21
|
+
"ext": "json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "ai/context/features/src.json",
|
|
25
|
+
"name": "src.json",
|
|
26
|
+
"ext": "json"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"path": "ai/context/flows/auth..json",
|
|
30
|
+
"name": "auth..json",
|
|
31
|
+
"ext": "json"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"path": "ai/context/flows/users..json",
|
|
35
|
+
"name": "users..json",
|
|
36
|
+
"ext": "json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "ai/conventions.md",
|
|
40
|
+
"name": "conventions.md",
|
|
41
|
+
"ext": "md"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"path": "ai/dependencies.json",
|
|
45
|
+
"name": "dependencies.json",
|
|
46
|
+
"ext": "json"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"path": "ai/entrypoints.md",
|
|
50
|
+
"name": "entrypoints.md",
|
|
51
|
+
"ext": "md"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "ai/files.json",
|
|
55
|
+
"name": "files.json",
|
|
56
|
+
"ext": "json"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"path": "ai/graph/module-graph.json",
|
|
60
|
+
"name": "module-graph.json",
|
|
61
|
+
"ext": "json"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"path": "ai/graph/symbol-graph.json",
|
|
65
|
+
"name": "symbol-graph.json",
|
|
66
|
+
"ext": "json"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "ai/graph/symbol-references.json",
|
|
70
|
+
"name": "symbol-references.json",
|
|
71
|
+
"ext": "json"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"path": "ai/modules.json",
|
|
75
|
+
"name": "modules.json",
|
|
76
|
+
"ext": "json"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"path": "ai/project.json",
|
|
80
|
+
"name": "project.json",
|
|
81
|
+
"ext": "json"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"path": "ai/repo-map.json",
|
|
85
|
+
"name": "repo-map.json",
|
|
86
|
+
"ext": "json"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"path": "ai/repo_map.json",
|
|
90
|
+
"name": "repo_map.json",
|
|
91
|
+
"ext": "json"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"path": "ai/repo_map.md",
|
|
95
|
+
"name": "repo_map.md",
|
|
96
|
+
"ext": "md"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"path": "ai/schema.json",
|
|
100
|
+
"name": "schema.json",
|
|
101
|
+
"ext": "json"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"path": "ai/summary.md",
|
|
105
|
+
"name": "summary.md",
|
|
106
|
+
"ext": "md"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"path": "ai/symbols.json",
|
|
110
|
+
"name": "symbols.json",
|
|
111
|
+
"ext": "json"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"path": "ai/tech_stack.md",
|
|
115
|
+
"name": "tech_stack.md",
|
|
116
|
+
"ext": "md"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"path": "ai/tools.json",
|
|
120
|
+
"name": "tools.json",
|
|
121
|
+
"ext": "json"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"path": "package.json",
|
|
125
|
+
"name": "package.json",
|
|
126
|
+
"ext": "json"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"path": "src/app.module.ts",
|
|
130
|
+
"name": "app.module.ts",
|
|
131
|
+
"ext": "ts"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"path": "src/auth/auth.controller.ts",
|
|
135
|
+
"name": "auth.controller.ts",
|
|
136
|
+
"ext": "ts"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"path": "src/auth/auth.module.ts",
|
|
140
|
+
"name": "auth.module.ts",
|
|
141
|
+
"ext": "ts"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"path": "src/auth/auth.service.ts",
|
|
145
|
+
"name": "auth.service.ts",
|
|
146
|
+
"ext": "ts"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"path": "src/auth/dto/login.dto.ts",
|
|
150
|
+
"name": "login.dto.ts",
|
|
151
|
+
"ext": "ts"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"path": "src/auth/strategies/jwt.strategy.ts",
|
|
155
|
+
"name": "jwt.strategy.ts",
|
|
156
|
+
"ext": "ts"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"path": "src/main.ts",
|
|
160
|
+
"name": "main.ts",
|
|
161
|
+
"ext": "ts"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"path": "src/users/users.controller.ts",
|
|
165
|
+
"name": "users.controller.ts",
|
|
166
|
+
"ext": "ts"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"path": "src/users/users.module.ts",
|
|
170
|
+
"name": "users.module.ts",
|
|
171
|
+
"ext": "ts"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"path": "src/users/users.service.ts",
|
|
175
|
+
"name": "users.service.ts",
|
|
176
|
+
"ext": "ts"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"path": "tsconfig.json",
|
|
180
|
+
"name": "tsconfig.json",
|
|
181
|
+
"ext": "json"
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nodes": [
|
|
3
|
+
{
|
|
4
|
+
"id": "src",
|
|
5
|
+
"type": "feature",
|
|
6
|
+
"label": "src",
|
|
7
|
+
"metadata": {
|
|
8
|
+
"path": "src",
|
|
9
|
+
"fileCount": 10
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"id": "auth.",
|
|
14
|
+
"type": "flow",
|
|
15
|
+
"label": "auth.",
|
|
16
|
+
"metadata": {
|
|
17
|
+
"entrypoint": "src/auth/auth.controller.ts",
|
|
18
|
+
"fileCount": 2
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "users.",
|
|
23
|
+
"type": "flow",
|
|
24
|
+
"label": "users.",
|
|
25
|
+
"metadata": {
|
|
26
|
+
"entrypoint": "src/users/users.controller.ts",
|
|
27
|
+
"fileCount": 2
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"edges": [
|
|
32
|
+
{
|
|
33
|
+
"from": "src",
|
|
34
|
+
"to": "auth.",
|
|
35
|
+
"type": "contains"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"from": "src",
|
|
39
|
+
"to": "users.",
|
|
40
|
+
"type": "contains"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"from": "auth.",
|
|
44
|
+
"to": "src/auth/auth.controller.ts",
|
|
45
|
+
"type": "implements"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"from": "auth.",
|
|
49
|
+
"to": "src/auth/auth.service.ts",
|
|
50
|
+
"type": "implements"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"from": "users.",
|
|
54
|
+
"to": "src/users/users.controller.ts",
|
|
55
|
+
"type": "implements"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"from": "users.",
|
|
59
|
+
"to": "src/users/users.service.ts",
|
|
60
|
+
"type": "implements"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"metadata": {
|
|
64
|
+
"generated": "2026-03-18T01:15:49.414Z",
|
|
65
|
+
"sources": [
|
|
66
|
+
"features",
|
|
67
|
+
"flows",
|
|
68
|
+
"symbols",
|
|
69
|
+
"dependencies"
|
|
70
|
+
],
|
|
71
|
+
"nodeCount": 3,
|
|
72
|
+
"edgeCount": 6
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"modules": [
|
|
3
|
+
{
|
|
4
|
+
"name": "src",
|
|
5
|
+
"paths": [
|
|
6
|
+
"src/app.module.ts",
|
|
7
|
+
"src/auth/auth.controller.ts",
|
|
8
|
+
"src/auth/auth.module.ts",
|
|
9
|
+
"src/auth/auth.service.ts",
|
|
10
|
+
"src/auth/dto/login.dto.ts",
|
|
11
|
+
"src/auth/strategies/jwt.strategy.ts",
|
|
12
|
+
"src/main.ts",
|
|
13
|
+
"src/users/users.controller.ts",
|
|
14
|
+
"src/users/users.module.ts",
|
|
15
|
+
"src/users/users.service.ts"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"dependencies": [
|
|
20
|
+
{
|
|
21
|
+
"from": "src",
|
|
22
|
+
"to": "@nestjs"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"from": "src",
|
|
26
|
+
"to": "passport-jwt"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|