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.
Files changed (264) hide show
  1. package/ANALISIS_MEJORAS.md +327 -0
  2. package/BUGS.md +455 -0
  3. package/CHANGELOG.md +100 -225
  4. package/TEST_RESULTS.md +198 -0
  5. package/TEST_RESULTS_COMPARATIVE.md +159 -0
  6. package/TEST_RESULTS_COMPLETE.md +127 -0
  7. package/TEST_RESULTS_COMPREHENSIVE.md +208 -0
  8. package/ai/ai_context.md +17 -10
  9. package/ai/ai_rules.md +5 -3
  10. package/ai/architecture.md +28 -7
  11. package/ai/cache.json +832 -52
  12. package/ai/context/features/commands.json +18 -0
  13. package/ai/context/features/src.json +61 -0
  14. package/ai/context/features/test-projects.json +56 -0
  15. package/ai/context/flows/account.json +9 -0
  16. package/ai/context/flows/add_.json +9 -0
  17. package/ai/context/flows/ai-first.json +9 -0
  18. package/ai/context/flows/auth..json +10 -0
  19. package/ai/context/flows/auth.json +12 -0
  20. package/ai/context/flows/dashboard.json +9 -0
  21. package/ai/context/flows/doctor.json +9 -0
  22. package/ai/context/flows/explore.json +9 -0
  23. package/ai/context/flows/list_.json +9 -0
  24. package/ai/context/flows/login.json +9 -0
  25. package/ai/context/flows/opportunity.json +9 -0
  26. package/ai/context/flows/remove_.json +9 -0
  27. package/ai/context/flows/user.json +14 -0
  28. package/ai/context/flows/users..json +10 -0
  29. package/ai/context/flows/users.json +9 -0
  30. package/ai/conventions.md +3 -2
  31. package/ai/dependencies.json +429 -251
  32. package/ai/entrypoints.md +10 -0
  33. package/ai/files.json +822 -46
  34. package/ai/git/commit-activity.json +126 -39
  35. package/ai/git/recent-features.json +3 -1
  36. package/ai/git/recent-files.json +6 -6
  37. package/ai/git/recent-flows.json +3 -1
  38. package/ai/graph/knowledge-graph.json +954 -182
  39. package/ai/graph/module-graph.json +270 -0
  40. package/ai/graph/symbol-graph.json +48991 -16523
  41. package/ai/graph/symbol-references.json +953 -56
  42. package/ai/hierarchy.json +3 -24
  43. package/ai/index-state.json +1261 -253
  44. package/ai/index.db +0 -0
  45. package/ai/modules.json +226 -0
  46. package/ai/project.json +29 -0
  47. package/ai/repo-map.json +2284 -250
  48. package/ai/repo_map.json +2731 -231
  49. package/ai/repo_map.md +559 -2
  50. package/ai/schema.json +5 -0
  51. package/ai/summary.md +16 -7
  52. package/ai/tech_stack.md +4 -1
  53. package/ai/tools.json +10 -0
  54. package/dist/analyzers/dependencies.d.ts.map +1 -1
  55. package/dist/analyzers/dependencies.js +8 -16
  56. package/dist/analyzers/dependencies.js.map +1 -1
  57. package/dist/analyzers/symbols.d.ts.map +1 -1
  58. package/dist/analyzers/symbols.js +60 -0
  59. package/dist/analyzers/symbols.js.map +1 -1
  60. package/dist/commands/ai-first.d.ts +1 -0
  61. package/dist/commands/ai-first.d.ts.map +1 -1
  62. package/dist/commands/ai-first.js +29 -6
  63. package/dist/commands/ai-first.js.map +1 -1
  64. package/dist/core/semanticContexts.d.ts.map +1 -1
  65. package/dist/core/semanticContexts.js +48 -26
  66. package/dist/core/semanticContexts.js.map +1 -1
  67. package/dist/core/symbolGraph.d.ts.map +1 -1
  68. package/dist/core/symbolGraph.js +14 -2
  69. package/dist/core/symbolGraph.js.map +1 -1
  70. package/dist/utils/fileUtils.d.ts.map +1 -1
  71. package/dist/utils/fileUtils.js +5 -0
  72. package/dist/utils/fileUtils.js.map +1 -1
  73. package/package.json +2 -2
  74. package/src/analyzers/dependencies.ts +10 -20
  75. package/src/analyzers/symbols.ts +64 -0
  76. package/src/commands/ai-first.ts +32 -8
  77. package/src/core/semanticContexts.ts +54 -29
  78. package/src/core/symbolGraph.ts +16 -2
  79. package/src/utils/fileUtils.ts +5 -0
  80. package/test-projects/express-api/ai/ai_context.md +112 -0
  81. package/test-projects/express-api/ai/ai_rules.md +50 -0
  82. package/test-projects/express-api/ai/architecture.md +62 -0
  83. package/test-projects/express-api/ai/cache.json +125 -0
  84. package/test-projects/express-api/ai/context/features/controllers.json +13 -0
  85. package/test-projects/express-api/ai/context/features/services.json +13 -0
  86. package/test-projects/express-api/ai/context/flows/auth.json +12 -0
  87. package/test-projects/express-api/ai/context/flows/user.json +13 -0
  88. package/test-projects/express-api/ai/conventions.md +51 -0
  89. package/test-projects/express-api/ai/dependencies.json +54 -0
  90. package/test-projects/express-api/ai/entrypoints.md +17 -0
  91. package/test-projects/express-api/ai/files.json +169 -0
  92. package/test-projects/express-api/ai/graph/knowledge-graph.json +98 -0
  93. package/test-projects/express-api/ai/graph/module-graph.json +44 -0
  94. package/test-projects/express-api/ai/graph/symbol-graph.json +882 -0
  95. package/test-projects/express-api/ai/graph/symbol-references.json +51 -0
  96. package/test-projects/express-api/ai/index-state.json +238 -0
  97. package/test-projects/express-api/ai/index.db +0 -0
  98. package/test-projects/express-api/ai/modules.json +30 -0
  99. package/test-projects/express-api/ai/project.json +15 -0
  100. package/test-projects/express-api/ai/repo-map.json +291 -0
  101. package/test-projects/express-api/ai/repo_map.json +100 -0
  102. package/test-projects/express-api/ai/repo_map.md +36 -0
  103. package/test-projects/express-api/ai/schema.json +5 -0
  104. package/test-projects/express-api/ai/summary.md +14 -0
  105. package/test-projects/express-api/ai/symbols.json +1174 -0
  106. package/test-projects/express-api/ai/tech_stack.md +38 -0
  107. package/test-projects/express-api/ai/tools.json +10 -0
  108. package/test-projects/express-api/controllers/authController.js +32 -0
  109. package/test-projects/express-api/controllers/userController.js +51 -0
  110. package/test-projects/express-api/index.js +21 -0
  111. package/test-projects/express-api/middleware/authMiddleware.js +30 -0
  112. package/test-projects/express-api/models/userRepository.js +25 -0
  113. package/test-projects/express-api/package.json +18 -0
  114. package/test-projects/express-api/services/authService.js +17 -0
  115. package/test-projects/express-api/services/userService.js +28 -0
  116. package/test-projects/nestjs-backend/ai/ai_context.md +110 -0
  117. package/test-projects/nestjs-backend/ai/ai_rules.md +52 -0
  118. package/test-projects/nestjs-backend/ai/architecture.md +43 -0
  119. package/test-projects/nestjs-backend/ai/cache.json +137 -0
  120. package/test-projects/nestjs-backend/ai/context/features/src.json +23 -0
  121. package/test-projects/nestjs-backend/ai/context/flows/auth..json +10 -0
  122. package/test-projects/nestjs-backend/ai/context/flows/users..json +10 -0
  123. package/test-projects/nestjs-backend/ai/conventions.md +52 -0
  124. package/test-projects/nestjs-backend/ai/dependencies.json +152 -0
  125. package/test-projects/nestjs-backend/ai/entrypoints.md +18 -0
  126. package/test-projects/nestjs-backend/ai/files.json +184 -0
  127. package/test-projects/nestjs-backend/ai/graph/knowledge-graph.json +74 -0
  128. package/test-projects/nestjs-backend/ai/graph/module-graph.json +29 -0
  129. package/test-projects/nestjs-backend/ai/graph/symbol-graph.json +304 -0
  130. package/test-projects/nestjs-backend/ai/graph/symbol-references.json +5 -0
  131. package/test-projects/nestjs-backend/ai/index-state.json +259 -0
  132. package/test-projects/nestjs-backend/ai/index.db +0 -0
  133. package/test-projects/nestjs-backend/ai/modules.json +19 -0
  134. package/test-projects/nestjs-backend/ai/project.json +14 -0
  135. package/test-projects/nestjs-backend/ai/repo-map.json +323 -0
  136. package/test-projects/nestjs-backend/ai/repo_map.json +141 -0
  137. package/test-projects/nestjs-backend/ai/repo_map.md +39 -0
  138. package/test-projects/nestjs-backend/ai/schema.json +5 -0
  139. package/test-projects/nestjs-backend/ai/summary.md +11 -0
  140. package/test-projects/nestjs-backend/ai/symbols.json +527 -0
  141. package/test-projects/nestjs-backend/ai/tech_stack.md +37 -0
  142. package/test-projects/nestjs-backend/ai/tools.json +10 -0
  143. package/test-projects/nestjs-backend/package.json +22 -0
  144. package/test-projects/nestjs-backend/src/app.module.ts +8 -0
  145. package/test-projects/nestjs-backend/src/auth/auth.controller.ts +22 -0
  146. package/test-projects/nestjs-backend/src/auth/auth.module.ts +11 -0
  147. package/test-projects/nestjs-backend/src/auth/auth.service.ts +28 -0
  148. package/test-projects/nestjs-backend/src/auth/dto/login.dto.ts +4 -0
  149. package/test-projects/nestjs-backend/src/auth/strategies/jwt.strategy.ts +18 -0
  150. package/test-projects/nestjs-backend/src/main.ts +9 -0
  151. package/test-projects/nestjs-backend/src/users/users.controller.ts +32 -0
  152. package/test-projects/nestjs-backend/src/users/users.module.ts +10 -0
  153. package/test-projects/nestjs-backend/src/users/users.service.ts +42 -0
  154. package/test-projects/nestjs-backend/tsconfig.json +21 -0
  155. package/test-projects/python-cli/__init__.py +1 -0
  156. package/test-projects/python-cli/ai/ai_context.md +94 -0
  157. package/test-projects/python-cli/ai/ai_rules.md +47 -0
  158. package/test-projects/python-cli/ai/architecture.md +49 -0
  159. package/test-projects/python-cli/ai/cache.json +129 -0
  160. package/test-projects/python-cli/ai/context/features/cli.json +16 -0
  161. package/test-projects/python-cli/ai/context/flows/add_.json +9 -0
  162. package/test-projects/python-cli/ai/context/flows/list_.json +9 -0
  163. package/test-projects/python-cli/ai/context/flows/remove_.json +9 -0
  164. package/test-projects/python-cli/ai/conventions.md +51 -0
  165. package/test-projects/python-cli/ai/dependencies.json +66 -0
  166. package/test-projects/python-cli/ai/entrypoints.md +4 -0
  167. package/test-projects/python-cli/ai/files.json +174 -0
  168. package/test-projects/python-cli/ai/graph/knowledge-graph.json +83 -0
  169. package/test-projects/python-cli/ai/graph/module-graph.json +31 -0
  170. package/test-projects/python-cli/ai/graph/symbol-graph.json +358 -0
  171. package/test-projects/python-cli/ai/graph/symbol-references.json +11 -0
  172. package/test-projects/python-cli/ai/index-state.json +245 -0
  173. package/test-projects/python-cli/ai/index.db +0 -0
  174. package/test-projects/python-cli/ai/modules.json +21 -0
  175. package/test-projects/python-cli/ai/project.json +15 -0
  176. package/test-projects/python-cli/ai/repo-map.json +290 -0
  177. package/test-projects/python-cli/ai/repo_map.json +99 -0
  178. package/test-projects/python-cli/ai/repo_map.md +32 -0
  179. package/test-projects/python-cli/ai/schema.json +5 -0
  180. package/test-projects/python-cli/ai/summary.md +11 -0
  181. package/test-projects/python-cli/ai/symbols.json +475 -0
  182. package/test-projects/python-cli/ai/tech_stack.md +30 -0
  183. package/test-projects/python-cli/ai/tools.json +10 -0
  184. package/test-projects/python-cli/cli/__init__.py +1 -0
  185. package/test-projects/python-cli/cli/add_command.py +6 -0
  186. package/test-projects/python-cli/cli/list_command.py +7 -0
  187. package/test-projects/python-cli/cli/remove_command.py +6 -0
  188. package/test-projects/python-cli/main.py +34 -0
  189. package/test-projects/python-cli/models/__init__.py +2 -0
  190. package/test-projects/python-cli/models/task.py +19 -0
  191. package/test-projects/python-cli/models/task_repository.py +44 -0
  192. package/test-projects/react-app/ai/ai_context.md +95 -0
  193. package/test-projects/react-app/ai/ai_rules.md +49 -0
  194. package/test-projects/react-app/ai/architecture.md +33 -0
  195. package/test-projects/react-app/ai/cache.json +129 -0
  196. package/test-projects/react-app/ai/context/features/src.json +18 -0
  197. package/test-projects/react-app/ai/context/flows/dashboard.json +9 -0
  198. package/test-projects/react-app/ai/context/flows/login.json +9 -0
  199. package/test-projects/react-app/ai/context/flows/users.json +9 -0
  200. package/test-projects/react-app/ai/conventions.md +52 -0
  201. package/test-projects/react-app/ai/dependencies.json +128 -0
  202. package/test-projects/react-app/ai/entrypoints.md +4 -0
  203. package/test-projects/react-app/ai/files.json +174 -0
  204. package/test-projects/react-app/ai/graph/knowledge-graph.json +83 -0
  205. package/test-projects/react-app/ai/graph/module-graph.json +31 -0
  206. package/test-projects/react-app/ai/graph/symbol-graph.json +868 -0
  207. package/test-projects/react-app/ai/graph/symbol-references.json +31 -0
  208. package/test-projects/react-app/ai/index-state.json +245 -0
  209. package/test-projects/react-app/ai/index.db +0 -0
  210. package/test-projects/react-app/ai/modules.json +17 -0
  211. package/test-projects/react-app/ai/project.json +15 -0
  212. package/test-projects/react-app/ai/repo-map.json +305 -0
  213. package/test-projects/react-app/ai/repo_map.json +114 -0
  214. package/test-projects/react-app/ai/repo_map.md +31 -0
  215. package/test-projects/react-app/ai/schema.json +5 -0
  216. package/test-projects/react-app/ai/summary.md +11 -0
  217. package/test-projects/react-app/ai/symbols.json +985 -0
  218. package/test-projects/react-app/ai/tech_stack.md +38 -0
  219. package/test-projects/react-app/ai/tools.json +10 -0
  220. package/test-projects/react-app/package.json +16 -0
  221. package/test-projects/react-app/src/App.tsx +21 -0
  222. package/test-projects/react-app/src/context/AuthContext.tsx +41 -0
  223. package/test-projects/react-app/src/hooks/useAuth.ts +10 -0
  224. package/test-projects/react-app/src/main.tsx +10 -0
  225. package/test-projects/react-app/src/pages/DashboardPage.tsx +17 -0
  226. package/test-projects/react-app/src/pages/LoginPage.tsx +41 -0
  227. package/test-projects/react-app/src/pages/UsersPage.tsx +36 -0
  228. package/test-projects/react-app/src/services/userService.ts +37 -0
  229. package/test-projects/salesforce-cli/.forceignore +27 -0
  230. package/test-projects/salesforce-cli/ai/ai_context.md +88 -0
  231. package/test-projects/salesforce-cli/ai/ai_rules.md +47 -0
  232. package/test-projects/salesforce-cli/ai/architecture.md +33 -0
  233. package/test-projects/salesforce-cli/ai/cache.json +105 -0
  234. package/test-projects/salesforce-cli/ai/context/features/force-app.json +14 -0
  235. package/test-projects/salesforce-cli/ai/context/flows/account.json +9 -0
  236. package/test-projects/salesforce-cli/ai/context/flows/opportunity.json +9 -0
  237. package/test-projects/salesforce-cli/ai/conventions.md +51 -0
  238. package/test-projects/salesforce-cli/ai/dependencies.json +6 -0
  239. package/test-projects/salesforce-cli/ai/entrypoints.md +4 -0
  240. package/test-projects/salesforce-cli/ai/files.json +144 -0
  241. package/test-projects/salesforce-cli/ai/graph/knowledge-graph.json +64 -0
  242. package/test-projects/salesforce-cli/ai/graph/module-graph.json +13 -0
  243. package/test-projects/salesforce-cli/ai/graph/symbol-graph.json +148 -0
  244. package/test-projects/salesforce-cli/ai/graph/symbol-references.json +1 -0
  245. package/test-projects/salesforce-cli/ai/index-state.json +203 -0
  246. package/test-projects/salesforce-cli/ai/index.db +0 -0
  247. package/test-projects/salesforce-cli/ai/modules.json +12 -0
  248. package/test-projects/salesforce-cli/ai/project.json +14 -0
  249. package/test-projects/salesforce-cli/ai/repo-map.json +251 -0
  250. package/test-projects/salesforce-cli/ai/repo_map.json +69 -0
  251. package/test-projects/salesforce-cli/ai/repo_map.md +21 -0
  252. package/test-projects/salesforce-cli/ai/schema.json +5 -0
  253. package/test-projects/salesforce-cli/ai/summary.md +11 -0
  254. package/test-projects/salesforce-cli/ai/symbols.json +245 -0
  255. package/test-projects/salesforce-cli/ai/tech_stack.md +30 -0
  256. package/test-projects/salesforce-cli/ai/tools.json +10 -0
  257. package/test-projects/salesforce-cli/force-app/main/default/classes/AccountController.cls +24 -0
  258. package/test-projects/salesforce-cli/force-app/main/default/classes/OpportunityController.cls +25 -0
  259. package/test-projects/salesforce-cli/force-app/main/default/objects/Project__c.object.xml +45 -0
  260. package/test-projects/salesforce-cli/force-app/main/default/triggers/AccountTrigger.trigger +33 -0
  261. package/test-projects/salesforce-cli/sfdx-project.json +11 -0
  262. package/tests/e2e/README.md +85 -0
  263. package/tests/e2e/run-e2e.sh +88 -0
  264. package/tests/semanticContexts.test.ts +23 -25
package/ai/repo_map.md CHANGED
@@ -2,6 +2,9 @@
2
2
  ## .netlify
3
3
  - state.json
4
4
 
5
+ ## BUGS.md
6
+ - BUGS.md
7
+
5
8
  ## CHANGELOG.md
6
9
  - CHANGELOG.md
7
10
 
@@ -17,44 +20,91 @@
17
20
  ## README.md
18
21
  - README.md
19
22
 
23
+ ## TEST_RESULTS.md
24
+ - TEST_RESULTS.md
25
+
20
26
  ## ai
27
+ - account.json
28
+ - add_.json
21
29
  - ai_context.md
22
30
  - ai_rules.md
31
+ - ai-first.json
23
32
  - architecture.md
33
+ - auth..json
34
+ - auth.json
24
35
  - cache.json
36
+ - commands.json
37
+ - commit-activity.json
25
38
  - context.json
26
39
  - conventions.md
40
+ - dashboard.json
27
41
  - dependencies.json
42
+ - doctor.json
28
43
  - embeddings.json
29
44
  - entrypoints.md
45
+ - explore.json
30
46
  - files.json
31
47
  - hierarchy.json
32
48
  - index-state.json
49
+ - knowledge-graph.json
50
+ - list_.json
51
+ - login.json
33
52
  - module-graph.json
34
53
  - modules.json
54
+ - opportunity.json
55
+ - project.json
56
+ - recent-features.json
57
+ - recent-files.json
58
+ - recent-flows.json
59
+ - remove_.json
35
60
  - repo_map.json
36
61
  - repo_map.md
62
+ - repo-map.json
37
63
  - repo.json
64
+ - schema.json
65
+ - src.json
38
66
  - summary.md
39
67
  - symbol-graph.json
40
68
  - symbol-references.json
41
69
  - symbols.json
42
70
  - tech_stack.md
71
+ - test-projects.json
72
+ - tools.json
73
+ - user.json
74
+ - users..json
75
+ - users.json
43
76
  - utils.json
44
77
 
45
78
  ## docs
79
+ - adapters.md
80
+ - adapters.md
81
+ - ai-repository-schema.md
82
+ - ai-repository-schema.md
46
83
  - architecture.md
47
84
  - commands.md
48
85
  - config.ts
49
86
  - custom.css
50
87
  - express-api.md
88
+ - features.md
89
+ - flows.md
90
+ - flows.md
51
91
  - getting-started.md
52
92
  - getting-started.md
93
+ - git-intelligence.md
94
+ - git-intelligence.md
95
+ - incremental-analysis.md
96
+ - incremental-analysis.md
53
97
  - index.md
54
98
  - index.md
55
99
  - index.md
56
100
  - index.ts
57
101
  - installation.md
102
+ - knowledge-graph.md
103
+ - knowledge-graph.md
104
+ - lazy-indexing.md
105
+ - lazy-indexing.md
106
+ - performance.md
107
+ - performance.md
58
108
  - python-django.md
59
109
  - quick-start.md
60
110
  - react-app.md
@@ -72,11 +122,13 @@
72
122
  - package.json
73
123
 
74
124
  ## src
125
+ - adapterRegistry.ts
75
126
  - ai-first.ts
76
127
  - aiContextGenerator.ts
77
128
  - aiRules.ts
78
129
  - androidResources.ts
79
130
  - architecture.ts
131
+ - baseAdapter.ts
80
132
  - ccp.ts
81
133
  - chunker.ts
82
134
  - contextGenerator.ts
@@ -84,24 +136,225 @@
84
136
  - conventions.ts
85
137
  - dependencies.ts
86
138
  - doctor.ts
139
+ - dotnetAdapter.ts
87
140
  - embeddings.ts
88
141
  - entrypoints.ts
89
142
  - explore.ts
143
+ - fastapiAdapter.ts
90
144
  - fileUtils.ts
145
+ - gitAnalyzer.ts
91
146
  - gradleModules.ts
92
147
  - hierarchyGenerator.ts
148
+ - incrementalAnalyzer.ts
149
+ - index.ts
150
+ - index.ts
93
151
  - index.ts
94
152
  - indexer.ts
95
153
  - indexState.ts
154
+ - javascriptAdapter.ts
155
+ - knowledgeGraphBuilder.ts
156
+ - laravelAdapter.ts
157
+ - lazyAnalyzer.ts
96
158
  - moduleGraph.ts
159
+ - nestjsAdapter.ts
160
+ - phoenixAdapter.ts
161
+ - pythonAdapter.ts
162
+ - railsAdapter.ts
97
163
  - repoMapper.ts
98
164
  - repoScanner.ts
165
+ - salesforceAdapter.ts
166
+ - schema.ts
167
+ - sdk.ts
99
168
  - semanticContexts.ts
169
+ - springBootAdapter.ts
100
170
  - sql.js.d.ts
101
171
  - symbolGraph.ts
102
172
  - symbols.ts
103
173
  - techStack.ts
104
174
 
175
+ ## test-projects
176
+ - __init__.py
177
+ - __init__.py
178
+ - __init__.py
179
+ - account.json
180
+ - AccountController.cls
181
+ - AccountTrigger.trigger
182
+ - add_.json
183
+ - add_command.py
184
+ - ai_context.md
185
+ - ai_context.md
186
+ - ai_context.md
187
+ - ai_context.md
188
+ - ai_context.md
189
+ - ai_rules.md
190
+ - ai_rules.md
191
+ - ai_rules.md
192
+ - ai_rules.md
193
+ - ai_rules.md
194
+ - app.module.ts
195
+ - App.tsx
196
+ - architecture.md
197
+ - architecture.md
198
+ - architecture.md
199
+ - architecture.md
200
+ - architecture.md
201
+ - auth..json
202
+ - auth.controller.ts
203
+ - auth.json
204
+ - auth.module.ts
205
+ - auth.service.ts
206
+ - AuthContext.tsx
207
+ - authController.js
208
+ - authMiddleware.js
209
+ - authService.js
210
+ - cache.json
211
+ - cache.json
212
+ - cache.json
213
+ - cache.json
214
+ - cache.json
215
+ - cli.json
216
+ - controllers.json
217
+ - conventions.md
218
+ - conventions.md
219
+ - conventions.md
220
+ - conventions.md
221
+ - conventions.md
222
+ - dashboard.json
223
+ - DashboardPage.tsx
224
+ - dependencies.json
225
+ - dependencies.json
226
+ - dependencies.json
227
+ - dependencies.json
228
+ - dependencies.json
229
+ - entrypoints.md
230
+ - entrypoints.md
231
+ - entrypoints.md
232
+ - entrypoints.md
233
+ - entrypoints.md
234
+ - files.json
235
+ - files.json
236
+ - files.json
237
+ - files.json
238
+ - files.json
239
+ - force-app.json
240
+ - index-state.json
241
+ - index-state.json
242
+ - index-state.json
243
+ - index-state.json
244
+ - index-state.json
245
+ - index.js
246
+ - jwt.strategy.ts
247
+ - knowledge-graph.json
248
+ - list_.json
249
+ - list_command.py
250
+ - login.dto.ts
251
+ - login.json
252
+ - LoginPage.tsx
253
+ - main.py
254
+ - main.ts
255
+ - main.tsx
256
+ - module-graph.json
257
+ - module-graph.json
258
+ - module-graph.json
259
+ - module-graph.json
260
+ - module-graph.json
261
+ - modules.json
262
+ - modules.json
263
+ - modules.json
264
+ - modules.json
265
+ - modules.json
266
+ - opportunity.json
267
+ - OpportunityController.cls
268
+ - package.json
269
+ - package.json
270
+ - package.json
271
+ - project.json
272
+ - project.json
273
+ - project.json
274
+ - project.json
275
+ - project.json
276
+ - remove_.json
277
+ - remove_command.py
278
+ - repo_map.json
279
+ - repo_map.json
280
+ - repo_map.json
281
+ - repo_map.json
282
+ - repo_map.json
283
+ - repo_map.md
284
+ - repo_map.md
285
+ - repo_map.md
286
+ - repo_map.md
287
+ - repo_map.md
288
+ - repo-map.json
289
+ - repo-map.json
290
+ - repo-map.json
291
+ - repo-map.json
292
+ - repo-map.json
293
+ - schema.json
294
+ - schema.json
295
+ - schema.json
296
+ - schema.json
297
+ - schema.json
298
+ - services.json
299
+ - sfdx-project.json
300
+ - src.json
301
+ - src.json
302
+ - summary.md
303
+ - summary.md
304
+ - summary.md
305
+ - summary.md
306
+ - summary.md
307
+ - symbol-graph.json
308
+ - symbol-graph.json
309
+ - symbol-graph.json
310
+ - symbol-graph.json
311
+ - symbol-graph.json
312
+ - symbol-references.json
313
+ - symbol-references.json
314
+ - symbol-references.json
315
+ - symbol-references.json
316
+ - symbol-references.json
317
+ - symbols.json
318
+ - symbols.json
319
+ - symbols.json
320
+ - symbols.json
321
+ - symbols.json
322
+ - task_repository.py
323
+ - task.py
324
+ - tech_stack.md
325
+ - tech_stack.md
326
+ - tech_stack.md
327
+ - tech_stack.md
328
+ - tech_stack.md
329
+ - tools.json
330
+ - tools.json
331
+ - tools.json
332
+ - tools.json
333
+ - tools.json
334
+ - tsconfig.json
335
+ - useAuth.ts
336
+ - user.json
337
+ - userController.js
338
+ - userRepository.js
339
+ - users..json
340
+ - users.controller.ts
341
+ - users.json
342
+ - users.module.ts
343
+ - users.service.ts
344
+ - userService.js
345
+ - userService.ts
346
+ - UsersPage.tsx
347
+
348
+ ## tests
349
+ - adapters.test.ts
350
+ - gitAnalyzer.test.ts
351
+ - incrementalAnalyzer.test.ts
352
+ - knowledgeGraph.test.ts
353
+ - lazyAnalyzer.test.ts
354
+ - README.md
355
+ - schema.test.ts
356
+ - semanticContexts.test.ts
357
+
105
358
  ## tsconfig.json
106
359
  - tsconfig.json
107
360
 
@@ -115,9 +368,35 @@
115
368
  │ │ └── jira-123/
116
369
  │ │ └── context.json
117
370
  │ ├── context/
371
+ │ │ ├── features/
372
+ │ │ │ ├── commands.json
373
+ │ │ │ ├── src.json
374
+ │ │ │ └── test-projects.json
375
+ │ │ ├── flows/
376
+ │ │ │ ├── account.json
377
+ │ │ │ ├── add_.json
378
+ │ │ │ ├── ai-first.json
379
+ │ │ │ ├── auth..json
380
+ │ │ │ ├── auth.json
381
+ │ │ │ ├── dashboard.json
382
+ │ │ │ ├── doctor.json
383
+ │ │ │ ├── explore.json
384
+ │ │ │ ├── list_.json
385
+ │ │ │ ├── login.json
386
+ │ │ │ ├── opportunity.json
387
+ │ │ │ ├── remove_.json
388
+ │ │ │ ├── user.json
389
+ │ │ │ ├── users..json
390
+ │ │ │ └── users.json
118
391
  │ │ ├── repo.json
119
392
  │ │ └── utils.json
393
+ │ ├── git/
394
+ │ │ ├── commit-activity.json
395
+ │ │ ├── recent-features.json
396
+ │ │ ├── recent-files.json
397
+ │ │ └── recent-flows.json
120
398
  │ ├── graph/
399
+ │ │ ├── knowledge-graph.json
121
400
  │ │ ├── module-graph.json
122
401
  │ │ ├── symbol-graph.json
123
402
  │ │ └── symbol-references.json
@@ -133,11 +412,15 @@
133
412
  │ ├── hierarchy.json
134
413
  │ ├── index-state.json
135
414
  │ ├── modules.json
415
+ │ ├── project.json
416
+ │ ├── repo-map.json
136
417
  │ ├── repo_map.json
137
418
  │ ├── repo_map.md
419
+ │ ├── schema.json
138
420
  │ ├── summary.md
139
421
  │ ├── symbols.json
140
- └── tech_stack.md
422
+ ├── tech_stack.md
423
+ │ └── tools.json
141
424
  ├── docs/
142
425
  │ ├── .vitepress/
143
426
  │ │ ├── theme/
@@ -146,7 +429,16 @@
146
429
  │ │ └── config.ts
147
430
  │ ├── es/
148
431
  │ │ ├── guide/
149
- │ │ │ └── getting-started.md
432
+ │ │ │ ├── adapters.md
433
+ │ │ │ ├── ai-repository-schema.md
434
+ │ │ │ ├── features.md
435
+ │ │ │ ├── flows.md
436
+ │ │ │ ├── getting-started.md
437
+ │ │ │ ├── git-intelligence.md
438
+ │ │ │ ├── incremental-analysis.md
439
+ │ │ │ ├── knowledge-graph.md
440
+ │ │ │ ├── lazy-indexing.md
441
+ │ │ │ └── performance.md
150
442
  │ │ └── index.md
151
443
  │ ├── examples/
152
444
  │ │ ├── express-api.md
@@ -154,9 +446,17 @@
154
446
  │ │ ├── python-django.md
155
447
  │ │ └── react-app.md
156
448
  │ ├── guide/
449
+ │ │ ├── adapters.md
450
+ │ │ ├── ai-repository-schema.md
157
451
  │ │ ├── architecture.md
452
+ │ │ ├── flows.md
158
453
  │ │ ├── getting-started.md
454
+ │ │ ├── git-intelligence.md
455
+ │ │ ├── incremental-analysis.md
159
456
  │ │ ├── installation.md
457
+ │ │ ├── knowledge-graph.md
458
+ │ │ ├── lazy-indexing.md
459
+ │ │ ├── performance.md
160
460
  │ │ └── quick-start.md
161
461
  │ ├── reference/
162
462
  │ │ └── commands.md
@@ -182,18 +482,40 @@
182
482
  │ │ ├── doctor.ts
183
483
  │ │ └── explore.ts
184
484
  │ ├── core/
485
+ │ │ ├── adapters/
486
+ │ │ │ ├── community/
487
+ │ │ │ │ ├── fastapiAdapter.ts
488
+ │ │ │ │ ├── index.ts
489
+ │ │ │ │ ├── laravelAdapter.ts
490
+ │ │ │ │ ├── nestjsAdapter.ts
491
+ │ │ │ │ ├── phoenixAdapter.ts
492
+ │ │ │ │ └── springBootAdapter.ts
493
+ │ │ │ ├── adapterRegistry.ts
494
+ │ │ │ ├── baseAdapter.ts
495
+ │ │ │ ├── dotnetAdapter.ts
496
+ │ │ │ ├── index.ts
497
+ │ │ │ ├── javascriptAdapter.ts
498
+ │ │ │ ├── pythonAdapter.ts
499
+ │ │ │ ├── railsAdapter.ts
500
+ │ │ │ ├── salesforceAdapter.ts
501
+ │ │ │ └── sdk.ts
185
502
  │ │ ├── aiContextGenerator.ts
186
503
  │ │ ├── ccp.ts
187
504
  │ │ ├── chunker.ts
188
505
  │ │ ├── contextGenerator.ts
189
506
  │ │ ├── contextPacket.ts
190
507
  │ │ ├── embeddings.ts
508
+ │ │ ├── gitAnalyzer.ts
191
509
  │ │ ├── hierarchyGenerator.ts
510
+ │ │ ├── incrementalAnalyzer.ts
192
511
  │ │ ├── indexState.ts
193
512
  │ │ ├── indexer.ts
513
+ │ │ ├── knowledgeGraphBuilder.ts
514
+ │ │ ├── lazyAnalyzer.ts
194
515
  │ │ ├── moduleGraph.ts
195
516
  │ │ ├── repoMapper.ts
196
517
  │ │ ├── repoScanner.ts
518
+ │ │ ├── schema.ts
197
519
  │ │ ├── semanticContexts.ts
198
520
  │ │ └── symbolGraph.ts
199
521
  │ ├── types/
@@ -201,11 +523,246 @@
201
523
  │ ├── utils/
202
524
  │ │ └── fileUtils.ts
203
525
  │ └── index.ts
526
+ ├── test-projects/
527
+ │ ├── express-api/
528
+ │ │ ├── ai/
529
+ │ │ │ ├── context/
530
+ │ │ │ │ ├── features/
531
+ │ │ │ │ │ ├── controllers.json
532
+ │ │ │ │ │ └── services.json
533
+ │ │ │ │ └── flows/
534
+ │ │ │ │ ├── auth.json
535
+ │ │ │ │ └── user.json
536
+ │ │ │ ├── graph/
537
+ │ │ │ │ ├── knowledge-graph.json
538
+ │ │ │ │ ├── module-graph.json
539
+ │ │ │ │ ├── symbol-graph.json
540
+ │ │ │ │ └── symbol-references.json
541
+ │ │ │ ├── ai_context.md
542
+ │ │ │ ├── ai_rules.md
543
+ │ │ │ ├── architecture.md
544
+ │ │ │ ├── cache.json
545
+ │ │ │ ├── conventions.md
546
+ │ │ │ ├── dependencies.json
547
+ │ │ │ ├── entrypoints.md
548
+ │ │ │ ├── files.json
549
+ │ │ │ ├── index-state.json
550
+ │ │ │ ├── modules.json
551
+ │ │ │ ├── project.json
552
+ │ │ │ ├── repo-map.json
553
+ │ │ │ ├── repo_map.json
554
+ │ │ │ ├── repo_map.md
555
+ │ │ │ ├── schema.json
556
+ │ │ │ ├── summary.md
557
+ │ │ │ ├── symbols.json
558
+ │ │ │ ├── tech_stack.md
559
+ │ │ │ └── tools.json
560
+ │ │ ├── controllers/
561
+ │ │ │ ├── authController.js
562
+ │ │ │ └── userController.js
563
+ │ │ ├── middleware/
564
+ │ │ │ └── authMiddleware.js
565
+ │ │ ├── models/
566
+ │ │ │ └── userRepository.js
567
+ │ │ ├── services/
568
+ │ │ │ ├── authService.js
569
+ │ │ │ └── userService.js
570
+ │ │ ├── index.js
571
+ │ │ └── package.json
572
+ │ ├── nestjs-backend/
573
+ │ │ ├── ai/
574
+ │ │ │ ├── context/
575
+ │ │ │ │ ├── features/
576
+ │ │ │ │ │ └── src.json
577
+ │ │ │ │ └── flows/
578
+ │ │ │ │ ├── auth..json
579
+ │ │ │ │ └── users..json
580
+ │ │ │ ├── graph/
581
+ │ │ │ │ ├── module-graph.json
582
+ │ │ │ │ ├── symbol-graph.json
583
+ │ │ │ │ └── symbol-references.json
584
+ │ │ │ ├── ai_context.md
585
+ │ │ │ ├── ai_rules.md
586
+ │ │ │ ├── architecture.md
587
+ │ │ │ ├── cache.json
588
+ │ │ │ ├── conventions.md
589
+ │ │ │ ├── dependencies.json
590
+ │ │ │ ├── entrypoints.md
591
+ │ │ │ ├── files.json
592
+ │ │ │ ├── index-state.json
593
+ │ │ │ ├── modules.json
594
+ │ │ │ ├── project.json
595
+ │ │ │ ├── repo-map.json
596
+ │ │ │ ├── repo_map.json
597
+ │ │ │ ├── repo_map.md
598
+ │ │ │ ├── schema.json
599
+ │ │ │ ├── summary.md
600
+ │ │ │ ├── symbols.json
601
+ │ │ │ ├── tech_stack.md
602
+ │ │ │ └── tools.json
603
+ │ │ ├── src/
604
+ │ │ │ ├── auth/
605
+ │ │ │ │ ├── dto/
606
+ │ │ │ │ │ └── login.dto.ts
607
+ │ │ │ │ ├── strategies/
608
+ │ │ │ │ │ └── jwt.strategy.ts
609
+ │ │ │ │ ├── auth.controller.ts
610
+ │ │ │ │ ├── auth.module.ts
611
+ │ │ │ │ └── auth.service.ts
612
+ │ │ │ ├── users/
613
+ │ │ │ │ ├── users.controller.ts
614
+ │ │ │ │ ├── users.module.ts
615
+ │ │ │ │ └── users.service.ts
616
+ │ │ │ ├── app.module.ts
617
+ │ │ │ └── main.ts
618
+ │ │ ├── package.json
619
+ │ │ └── tsconfig.json
620
+ │ ├── python-cli/
621
+ │ │ ├── ai/
622
+ │ │ │ ├── context/
623
+ │ │ │ │ ├── features/
624
+ │ │ │ │ │ └── cli.json
625
+ │ │ │ │ └── flows/
626
+ │ │ │ │ ├── add_.json
627
+ │ │ │ │ ├── list_.json
628
+ │ │ │ │ └── remove_.json
629
+ │ │ │ ├── graph/
630
+ │ │ │ │ ├── module-graph.json
631
+ │ │ │ │ ├── symbol-graph.json
632
+ │ │ │ │ └── symbol-references.json
633
+ │ │ │ ├── ai_context.md
634
+ │ │ │ ├── ai_rules.md
635
+ │ │ │ ├── architecture.md
636
+ │ │ │ ├── cache.json
637
+ │ │ │ ├── conventions.md
638
+ │ │ │ ├── dependencies.json
639
+ │ │ │ ├── entrypoints.md
640
+ │ │ │ ├── files.json
641
+ │ │ │ ├── index-state.json
642
+ │ │ │ ├── modules.json
643
+ │ │ │ ├── project.json
644
+ │ │ │ ├── repo-map.json
645
+ │ │ │ ├── repo_map.json
646
+ │ │ │ ├── repo_map.md
647
+ │ │ │ ├── schema.json
648
+ │ │ │ ├── summary.md
649
+ │ │ │ ├── symbols.json
650
+ │ │ │ ├── tech_stack.md
651
+ │ │ │ └── tools.json
652
+ │ │ ├── cli/
653
+ │ │ │ ├── __init__.py
654
+ │ │ │ ├── add_command.py
655
+ │ │ │ ├── list_command.py
656
+ │ │ │ └── remove_command.py
657
+ │ │ ├── models/
658
+ │ │ │ ├── __init__.py
659
+ │ │ │ ├── task.py
660
+ │ │ │ └── task_repository.py
661
+ │ │ ├── __init__.py
662
+ │ │ └── main.py
663
+ │ ├── react-app/
664
+ │ │ ├── ai/
665
+ │ │ │ ├── context/
666
+ │ │ │ │ ├── features/
667
+ │ │ │ │ │ └── src.json
668
+ │ │ │ │ └── flows/
669
+ │ │ │ │ ├── dashboard.json
670
+ │ │ │ │ ├── login.json
671
+ │ │ │ │ └── users.json
672
+ │ │ │ ├── graph/
673
+ │ │ │ │ ├── module-graph.json
674
+ │ │ │ │ ├── symbol-graph.json
675
+ │ │ │ │ └── symbol-references.json
676
+ │ │ │ ├── ai_context.md
677
+ │ │ │ ├── ai_rules.md
678
+ │ │ │ ├── architecture.md
679
+ │ │ │ ├── cache.json
680
+ │ │ │ ├── conventions.md
681
+ │ │ │ ├── dependencies.json
682
+ │ │ │ ├── entrypoints.md
683
+ │ │ │ ├── files.json
684
+ │ │ │ ├── index-state.json
685
+ │ │ │ ├── modules.json
686
+ │ │ │ ├── project.json
687
+ │ │ │ ├── repo-map.json
688
+ │ │ │ ├── repo_map.json
689
+ │ │ │ ├── repo_map.md
690
+ │ │ │ ├── schema.json
691
+ │ │ │ ├── summary.md
692
+ │ │ │ ├── symbols.json
693
+ │ │ │ ├── tech_stack.md
694
+ │ │ │ └── tools.json
695
+ │ │ ├── src/
696
+ │ │ │ ├── context/
697
+ │ │ │ │ └── AuthContext.tsx
698
+ │ │ │ ├── hooks/
699
+ │ │ │ │ └── useAuth.ts
700
+ │ │ │ ├── pages/
701
+ │ │ │ │ ├── DashboardPage.tsx
702
+ │ │ │ │ ├── LoginPage.tsx
703
+ │ │ │ │ └── UsersPage.tsx
704
+ │ │ │ ├── services/
705
+ │ │ │ │ └── userService.ts
706
+ │ │ │ ├── App.tsx
707
+ │ │ │ └── main.tsx
708
+ │ │ └── package.json
709
+ │ └── salesforce-cli/
710
+ │ ├── ai/
711
+ │ │ ├── context/
712
+ │ │ │ ├── features/
713
+ │ │ │ │ └── force-app.json
714
+ │ │ │ └── flows/
715
+ │ │ │ ├── account.json
716
+ │ │ │ └── opportunity.json
717
+ │ │ ├── graph/
718
+ │ │ │ ├── module-graph.json
719
+ │ │ │ ├── symbol-graph.json
720
+ │ │ │ └── symbol-references.json
721
+ │ │ ├── ai_context.md
722
+ │ │ ├── ai_rules.md
723
+ │ │ ├── architecture.md
724
+ │ │ ├── cache.json
725
+ │ │ ├── conventions.md
726
+ │ │ ├── dependencies.json
727
+ │ │ ├── entrypoints.md
728
+ │ │ ├── files.json
729
+ │ │ ├── index-state.json
730
+ │ │ ├── modules.json
731
+ │ │ ├── project.json
732
+ │ │ ├── repo-map.json
733
+ │ │ ├── repo_map.json
734
+ │ │ ├── repo_map.md
735
+ │ │ ├── schema.json
736
+ │ │ ├── summary.md
737
+ │ │ ├── symbols.json
738
+ │ │ ├── tech_stack.md
739
+ │ │ └── tools.json
740
+ │ ├── force-app/
741
+ │ │ └── main/
742
+ │ │ └── default/
743
+ │ │ ├── classes/
744
+ │ │ │ ├── AccountController.cls
745
+ │ │ │ └── OpportunityController.cls
746
+ │ │ └── triggers/
747
+ │ │ └── AccountTrigger.trigger
748
+ │ └── sfdx-project.json
749
+ ├── tests/
750
+ │ ├── e2e/
751
+ │ │ └── README.md
752
+ │ ├── adapters.test.ts
753
+ │ ├── gitAnalyzer.test.ts
754
+ │ ├── incrementalAnalyzer.test.ts
755
+ │ ├── knowledgeGraph.test.ts
756
+ │ ├── lazyAnalyzer.test.ts
757
+ │ ├── schema.test.ts
758
+ │ └── semanticContexts.test.ts
759
+ ├── BUGS.md
204
760
  ├── CHANGELOG.md
205
761
  ├── CONTRIBUTING.md
206
762
  ├── FLOW.md
207
763
  ├── README.es.md
208
764
  ├── README.md
765
+ ├── TEST_RESULTS.md
209
766
  ├── package-lock.json
210
767
  ├── package.json
211
768
  └── tsconfig.json
package/ai/schema.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "schemaVersion": "1.0",
3
+ "generatedBy": "ai-first",
4
+ "generatedAt": "2026-03-18T00:25:20.536Z"
5
+ }