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,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "commands",
|
|
3
|
+
"path": "src/commands",
|
|
4
|
+
"files": [
|
|
5
|
+
"src/commands/ai-first.ts",
|
|
6
|
+
"src/commands/doctor.ts",
|
|
7
|
+
"src/commands/explore.ts"
|
|
8
|
+
],
|
|
9
|
+
"entrypoints": [
|
|
10
|
+
"src/commands/ai-first.ts",
|
|
11
|
+
"src/commands/doctor.ts",
|
|
12
|
+
"src/commands/explore.ts"
|
|
13
|
+
],
|
|
14
|
+
"dependencies": [
|
|
15
|
+
"docs",
|
|
16
|
+
"src"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "src",
|
|
3
|
+
"path": "src",
|
|
4
|
+
"files": [
|
|
5
|
+
"src/analyzers/aiRules.ts",
|
|
6
|
+
"src/analyzers/androidResources.ts",
|
|
7
|
+
"src/analyzers/architecture.ts",
|
|
8
|
+
"src/analyzers/conventions.ts",
|
|
9
|
+
"src/analyzers/dependencies.ts",
|
|
10
|
+
"src/analyzers/entrypoints.ts",
|
|
11
|
+
"src/analyzers/gradleModules.ts",
|
|
12
|
+
"src/analyzers/symbols.ts",
|
|
13
|
+
"src/analyzers/techStack.ts",
|
|
14
|
+
"src/commands/ai-first.ts",
|
|
15
|
+
"src/commands/doctor.ts",
|
|
16
|
+
"src/commands/explore.ts",
|
|
17
|
+
"src/core/adapters/adapterRegistry.ts",
|
|
18
|
+
"src/core/adapters/baseAdapter.ts",
|
|
19
|
+
"src/core/adapters/community/fastapiAdapter.ts",
|
|
20
|
+
"src/core/adapters/community/index.ts",
|
|
21
|
+
"src/core/adapters/community/laravelAdapter.ts",
|
|
22
|
+
"src/core/adapters/community/nestjsAdapter.ts",
|
|
23
|
+
"src/core/adapters/community/phoenixAdapter.ts",
|
|
24
|
+
"src/core/adapters/community/springBootAdapter.ts",
|
|
25
|
+
"src/core/adapters/dotnetAdapter.ts",
|
|
26
|
+
"src/core/adapters/index.ts",
|
|
27
|
+
"src/core/adapters/javascriptAdapter.ts",
|
|
28
|
+
"src/core/adapters/pythonAdapter.ts",
|
|
29
|
+
"src/core/adapters/railsAdapter.ts",
|
|
30
|
+
"src/core/adapters/salesforceAdapter.ts",
|
|
31
|
+
"src/core/adapters/sdk.ts",
|
|
32
|
+
"src/core/aiContextGenerator.ts",
|
|
33
|
+
"src/core/ccp.ts",
|
|
34
|
+
"src/core/chunker.ts",
|
|
35
|
+
"src/core/contextGenerator.ts",
|
|
36
|
+
"src/core/contextPacket.ts",
|
|
37
|
+
"src/core/embeddings.ts",
|
|
38
|
+
"src/core/gitAnalyzer.ts",
|
|
39
|
+
"src/core/hierarchyGenerator.ts",
|
|
40
|
+
"src/core/incrementalAnalyzer.ts",
|
|
41
|
+
"src/core/indexState.ts",
|
|
42
|
+
"src/core/indexer.ts",
|
|
43
|
+
"src/core/knowledgeGraphBuilder.ts",
|
|
44
|
+
"src/core/lazyAnalyzer.ts",
|
|
45
|
+
"src/core/moduleGraph.ts",
|
|
46
|
+
"src/core/repoMapper.ts",
|
|
47
|
+
"src/core/repoScanner.ts",
|
|
48
|
+
"src/core/schema.ts",
|
|
49
|
+
"src/core/semanticContexts.ts",
|
|
50
|
+
"src/core/symbolGraph.ts",
|
|
51
|
+
"src/index.ts",
|
|
52
|
+
"src/types/sql.js.d.ts",
|
|
53
|
+
"src/utils/fileUtils.ts"
|
|
54
|
+
],
|
|
55
|
+
"entrypoints": [
|
|
56
|
+
"src/commands/ai-first.ts",
|
|
57
|
+
"src/commands/doctor.ts",
|
|
58
|
+
"src/commands/explore.ts"
|
|
59
|
+
],
|
|
60
|
+
"dependencies": []
|
|
61
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "test-projects",
|
|
3
|
+
"path": "test-projects",
|
|
4
|
+
"files": [
|
|
5
|
+
"test-projects/express-api/controllers/authController.js",
|
|
6
|
+
"test-projects/express-api/controllers/userController.js",
|
|
7
|
+
"test-projects/express-api/index.js",
|
|
8
|
+
"test-projects/express-api/middleware/authMiddleware.js",
|
|
9
|
+
"test-projects/express-api/models/userRepository.js",
|
|
10
|
+
"test-projects/express-api/services/authService.js",
|
|
11
|
+
"test-projects/express-api/services/userService.js",
|
|
12
|
+
"test-projects/nestjs-backend/src/app.module.ts",
|
|
13
|
+
"test-projects/nestjs-backend/src/auth/auth.controller.ts",
|
|
14
|
+
"test-projects/nestjs-backend/src/auth/auth.module.ts",
|
|
15
|
+
"test-projects/nestjs-backend/src/auth/auth.service.ts",
|
|
16
|
+
"test-projects/nestjs-backend/src/auth/dto/login.dto.ts",
|
|
17
|
+
"test-projects/nestjs-backend/src/auth/strategies/jwt.strategy.ts",
|
|
18
|
+
"test-projects/nestjs-backend/src/main.ts",
|
|
19
|
+
"test-projects/nestjs-backend/src/users/users.controller.ts",
|
|
20
|
+
"test-projects/nestjs-backend/src/users/users.module.ts",
|
|
21
|
+
"test-projects/nestjs-backend/src/users/users.service.ts",
|
|
22
|
+
"test-projects/python-cli/__init__.py",
|
|
23
|
+
"test-projects/python-cli/cli/__init__.py",
|
|
24
|
+
"test-projects/python-cli/cli/add_command.py",
|
|
25
|
+
"test-projects/python-cli/cli/list_command.py",
|
|
26
|
+
"test-projects/python-cli/cli/remove_command.py",
|
|
27
|
+
"test-projects/python-cli/main.py",
|
|
28
|
+
"test-projects/python-cli/models/__init__.py",
|
|
29
|
+
"test-projects/python-cli/models/task.py",
|
|
30
|
+
"test-projects/python-cli/models/task_repository.py",
|
|
31
|
+
"test-projects/react-app/src/App.tsx",
|
|
32
|
+
"test-projects/react-app/src/context/AuthContext.tsx",
|
|
33
|
+
"test-projects/react-app/src/hooks/useAuth.ts",
|
|
34
|
+
"test-projects/react-app/src/main.tsx",
|
|
35
|
+
"test-projects/react-app/src/pages/DashboardPage.tsx",
|
|
36
|
+
"test-projects/react-app/src/pages/LoginPage.tsx",
|
|
37
|
+
"test-projects/react-app/src/pages/UsersPage.tsx",
|
|
38
|
+
"test-projects/react-app/src/services/userService.ts",
|
|
39
|
+
"test-projects/salesforce-cli/force-app/main/default/classes/AccountController.cls",
|
|
40
|
+
"test-projects/salesforce-cli/force-app/main/default/classes/OpportunityController.cls",
|
|
41
|
+
"test-projects/salesforce-cli/force-app/main/default/triggers/AccountTrigger.trigger"
|
|
42
|
+
],
|
|
43
|
+
"entrypoints": [
|
|
44
|
+
"test-projects/express-api/controllers/authController.js",
|
|
45
|
+
"test-projects/express-api/controllers/userController.js",
|
|
46
|
+
"test-projects/express-api/services/authService.js",
|
|
47
|
+
"test-projects/express-api/services/userService.js",
|
|
48
|
+
"test-projects/nestjs-backend/src/auth/auth.controller.ts",
|
|
49
|
+
"test-projects/nestjs-backend/src/auth/auth.service.ts",
|
|
50
|
+
"test-projects/nestjs-backend/src/users/users.controller.ts",
|
|
51
|
+
"test-projects/nestjs-backend/src/users/users.service.ts",
|
|
52
|
+
"test-projects/python-cli/cli/add_command.py",
|
|
53
|
+
"test-projects/python-cli/cli/list_command.py"
|
|
54
|
+
],
|
|
55
|
+
"dependencies": []
|
|
56
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "auth.",
|
|
3
|
+
"entrypoint": "test-projects/nestjs-backend/src/auth/auth.controller.ts",
|
|
4
|
+
"files": [
|
|
5
|
+
"test-projects/nestjs-backend/src/auth/auth.controller.ts",
|
|
6
|
+
"test-projects/nestjs-backend/src/auth/auth.service.ts"
|
|
7
|
+
],
|
|
8
|
+
"depth": 0,
|
|
9
|
+
"layers": []
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "auth",
|
|
3
|
+
"entrypoint": "test-projects/express-api/controllers/authController.js",
|
|
4
|
+
"files": [
|
|
5
|
+
"test-projects/express-api/controllers/authController.js",
|
|
6
|
+
"test-projects/express-api/services/authService.js"
|
|
7
|
+
],
|
|
8
|
+
"depth": 1,
|
|
9
|
+
"layers": [
|
|
10
|
+
"service"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "opportunity",
|
|
3
|
+
"entrypoint": "test-projects/salesforce-cli/force-app/main/default/classes/OpportunityController.cls",
|
|
4
|
+
"files": [
|
|
5
|
+
"test-projects/salesforce-cli/force-app/main/default/classes/OpportunityController.cls"
|
|
6
|
+
],
|
|
7
|
+
"depth": 0,
|
|
8
|
+
"layers": []
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "user",
|
|
3
|
+
"entrypoint": "test-projects/express-api/controllers/userController.js",
|
|
4
|
+
"files": [
|
|
5
|
+
"test-projects/express-api/controllers/userController.js",
|
|
6
|
+
"test-projects/express-api/models/userRepository.js",
|
|
7
|
+
"test-projects/express-api/services/userService.js",
|
|
8
|
+
"test-projects/react-app/src/services/userService.ts"
|
|
9
|
+
],
|
|
10
|
+
"depth": 1,
|
|
11
|
+
"layers": [
|
|
12
|
+
"service"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "users.",
|
|
3
|
+
"entrypoint": "test-projects/nestjs-backend/src/users/users.controller.ts",
|
|
4
|
+
"files": [
|
|
5
|
+
"test-projects/nestjs-backend/src/users/users.controller.ts",
|
|
6
|
+
"test-projects/nestjs-backend/src/users/users.service.ts"
|
|
7
|
+
],
|
|
8
|
+
"depth": 0,
|
|
9
|
+
"layers": []
|
|
10
|
+
}
|
package/ai/conventions.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## Project Structure
|
|
7
7
|
- **Source**: src/
|
|
8
|
+
- **Tests**: test/
|
|
8
9
|
|
|
9
10
|
## Code Style
|
|
10
11
|
- **Semicolons**: Required
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
|---------|------------|
|
|
17
18
|
| Files | PascalCase |
|
|
18
19
|
| Components | unknown |
|
|
19
|
-
| Test Files |
|
|
20
|
+
| Test Files | *.test.{ts,js} |
|
|
20
21
|
| Directories | src/ |
|
|
21
22
|
|
|
22
23
|
## Project Structure
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
| Directory | Location |
|
|
25
26
|
|-----------|----------|
|
|
26
27
|
| Source | src/ |
|
|
27
|
-
| Tests |
|
|
28
|
+
| Tests | test/ |
|
|
28
29
|
| Config | unknown |
|
|
29
30
|
|
|
30
31
|
## Code Style
|