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
@@ -0,0 +1,51 @@
1
+ {
2
+ "controllers/authController.js#authService": [
3
+ "controllers/authController.js#jwt",
4
+ "controllers/authController.js#SECRET",
5
+ "controllers/authController.js#login",
6
+ "controllers/authController.js#user",
7
+ "controllers/authController.js#token",
8
+ "controllers/authController.js#register"
9
+ ],
10
+ "controllers/userController.js#userService": [
11
+ "controllers/userController.js#getAll",
12
+ "controllers/userController.js#users",
13
+ "controllers/userController.js#getById",
14
+ "controllers/userController.js#user",
15
+ "controllers/userController.js#create",
16
+ "controllers/userController.js#update",
17
+ "controllers/userController.js#remove"
18
+ ],
19
+ "index.js#authController": [
20
+ "index.js#express",
21
+ "index.js#userController",
22
+ "index.js#app",
23
+ "index.js#PORT"
24
+ ],
25
+ "index.js#userController": [
26
+ "index.js#express",
27
+ "index.js#authController",
28
+ "index.js#app",
29
+ "index.js#PORT"
30
+ ],
31
+ "services/authService.js#userRepository": [
32
+ "services/authService.js#bcrypt",
33
+ "services/authService.js#verifyCredentials",
34
+ "services/authService.js#user",
35
+ "services/authService.js#valid",
36
+ "services/authService.js#createUser",
37
+ "services/authService.js#hashedPassword",
38
+ "services/userService.js#UserService",
39
+ "services/userService.js#repository"
40
+ ],
41
+ "middleware/authMiddleware.js#jwt": [
42
+ "controllers/authController.js#token",
43
+ "middleware/authMiddleware.js#decoded"
44
+ ],
45
+ "index.js#express": [
46
+ "index.js#app"
47
+ ],
48
+ "models/userRepository.js#users": [
49
+ "models/userRepository.js#index"
50
+ ]
51
+ }
@@ -0,0 +1,238 @@
1
+ {
2
+ "version": "1.0.0",
3
+ "lastIndexed": "2026-03-18T01:15:25.966Z",
4
+ "totalFiles": 33,
5
+ "files": {
6
+ "ai/ai_context.md": {
7
+ "path": "ai/ai_context.md",
8
+ "hash": "286f0083010c4a66f3906b020b9cc7b4",
9
+ "mtime": 1773796492348.4023,
10
+ "size": 2042,
11
+ "indexedAt": "2026-03-18T01:15:25.965Z"
12
+ },
13
+ "ai/ai_rules.md": {
14
+ "path": "ai/ai_rules.md",
15
+ "hash": "fa1a632e71f5b7055dee7d1368600ce0",
16
+ "mtime": 1773796492348.4023,
17
+ "size": 915,
18
+ "indexedAt": "2026-03-18T01:15:25.965Z"
19
+ },
20
+ "ai/architecture.md": {
21
+ "path": "ai/architecture.md",
22
+ "hash": "5e9f157447aac07a89cf6fe7bffcdad4",
23
+ "mtime": 1773796492342.4023,
24
+ "size": 1328,
25
+ "indexedAt": "2026-03-18T01:15:25.965Z"
26
+ },
27
+ "ai/cache.json": {
28
+ "path": "ai/cache.json",
29
+ "hash": "e4a0b073ccbaca175c009e8775b62544",
30
+ "mtime": 1773796517399.7932,
31
+ "size": 3674,
32
+ "indexedAt": "2026-03-18T01:15:25.965Z"
33
+ },
34
+ "ai/context/features/controllers.json": {
35
+ "path": "ai/context/features/controllers.json",
36
+ "hash": "65a9f94a405e51bd65bd7a5378dbb164",
37
+ "mtime": 1773796517401.7932,
38
+ "size": 262,
39
+ "indexedAt": "2026-03-18T01:15:25.965Z"
40
+ },
41
+ "ai/context/features/services.json": {
42
+ "path": "ai/context/features/services.json",
43
+ "hash": "113525da53ad952071cca194ba355d48",
44
+ "mtime": 1773796517401.7932,
45
+ "size": 232,
46
+ "indexedAt": "2026-03-18T01:15:25.965Z"
47
+ },
48
+ "ai/context/flows/auth.json": {
49
+ "path": "ai/context/flows/auth.json",
50
+ "hash": "a6200259a521a38e08dc6396d870a633",
51
+ "mtime": 1773796517401.7932,
52
+ "size": 201,
53
+ "indexedAt": "2026-03-18T01:15:25.965Z"
54
+ },
55
+ "ai/context/flows/user.json": {
56
+ "path": "ai/context/flows/user.json",
57
+ "hash": "af049ebfc3b8ce808e6091ac96a651ee",
58
+ "mtime": 1773796517401.7932,
59
+ "size": 233,
60
+ "indexedAt": "2026-03-18T01:15:25.965Z"
61
+ },
62
+ "ai/conventions.md": {
63
+ "path": "ai/conventions.md",
64
+ "hash": "fa8f117204dbd53d6b787e6ec1791dbf",
65
+ "mtime": 1773796492344.4023,
66
+ "size": 811,
67
+ "indexedAt": "2026-03-18T01:15:25.965Z"
68
+ },
69
+ "ai/dependencies.json": {
70
+ "path": "ai/dependencies.json",
71
+ "hash": "b59a369568a90136bf6d54a022aae411",
72
+ "mtime": 1773796492346.4023,
73
+ "size": 1193,
74
+ "indexedAt": "2026-03-18T01:15:25.965Z"
75
+ },
76
+ "ai/entrypoints.md": {
77
+ "path": "ai/entrypoints.md",
78
+ "hash": "17b75097fff8baf7e8218553431dad64",
79
+ "mtime": 1773796492343.4023,
80
+ "size": 304,
81
+ "indexedAt": "2026-03-18T01:15:25.965Z"
82
+ },
83
+ "ai/files.json": {
84
+ "path": "ai/files.json",
85
+ "hash": "11d48531de1be1a0a23a4f4e0af19200",
86
+ "mtime": 1773796525902.9258,
87
+ "size": 3361,
88
+ "indexedAt": "2026-03-18T01:15:25.965Z"
89
+ },
90
+ "ai/graph/module-graph.json": {
91
+ "path": "ai/graph/module-graph.json",
92
+ "hash": "43383456483e635b66ff8960f3b39f03",
93
+ "mtime": 1773796517391.793,
94
+ "size": 725,
95
+ "indexedAt": "2026-03-18T01:15:25.965Z"
96
+ },
97
+ "ai/graph/symbol-graph.json": {
98
+ "path": "ai/graph/symbol-graph.json",
99
+ "hash": "d254a317177342dab8125c05c4616101",
100
+ "mtime": 1773796517397.7932,
101
+ "size": 23692,
102
+ "indexedAt": "2026-03-18T01:15:25.965Z"
103
+ },
104
+ "ai/graph/symbol-references.json": {
105
+ "path": "ai/graph/symbol-references.json",
106
+ "hash": "656c3df0aaaf021cc2f25769a7945c41",
107
+ "mtime": 1773796517397.7932,
108
+ "size": 1577,
109
+ "indexedAt": "2026-03-18T01:15:25.965Z"
110
+ },
111
+ "ai/modules.json": {
112
+ "path": "ai/modules.json",
113
+ "hash": "52396bb2eb3346493e373bf55805ef90",
114
+ "mtime": 1773796525902.9258,
115
+ "size": 555,
116
+ "indexedAt": "2026-03-18T01:15:25.965Z"
117
+ },
118
+ "ai/project.json": {
119
+ "path": "ai/project.json",
120
+ "hash": "08ba7541bf16fe9e746aa0ed3ef4a7b3",
121
+ "mtime": 1773796492350.4023,
122
+ "size": 249,
123
+ "indexedAt": "2026-03-18T01:15:25.965Z"
124
+ },
125
+ "ai/repo-map.json": {
126
+ "path": "ai/repo-map.json",
127
+ "hash": "bc79826d46b669d42b546057efb73255",
128
+ "mtime": 1773796517383.793,
129
+ "size": 6308,
130
+ "indexedAt": "2026-03-18T01:15:25.966Z"
131
+ },
132
+ "ai/repo_map.json": {
133
+ "path": "ai/repo_map.json",
134
+ "hash": "474f2af3cc084780fcdc989f865cb19d",
135
+ "mtime": 1773796492340.4023,
136
+ "size": 2017,
137
+ "indexedAt": "2026-03-18T01:15:25.966Z"
138
+ },
139
+ "ai/repo_map.md": {
140
+ "path": "ai/repo_map.md",
141
+ "hash": "35963e46f602438bc7b1318c630c9616",
142
+ "mtime": 1773796492340.4023,
143
+ "size": 618,
144
+ "indexedAt": "2026-03-18T01:15:25.966Z"
145
+ },
146
+ "ai/schema.json": {
147
+ "path": "ai/schema.json",
148
+ "hash": "09deb83ac436baaa3ee8ba47c1b6876e",
149
+ "mtime": 1773796492350.4023,
150
+ "size": 102,
151
+ "indexedAt": "2026-03-18T01:15:25.966Z"
152
+ },
153
+ "ai/summary.md": {
154
+ "path": "ai/summary.md",
155
+ "hash": "792c7fa8536cdf57b7506a5b4390e1fd",
156
+ "mtime": 1773796492341.4023,
157
+ "size": 215,
158
+ "indexedAt": "2026-03-18T01:15:25.966Z"
159
+ },
160
+ "ai/symbols.json": {
161
+ "path": "ai/symbols.json",
162
+ "hash": "55f09cedb48590dcdc4c0a4506026d52",
163
+ "mtime": 1773796492346.4023,
164
+ "size": 30291,
165
+ "indexedAt": "2026-03-18T01:15:25.966Z"
166
+ },
167
+ "ai/tech_stack.md": {
168
+ "path": "ai/tech_stack.md",
169
+ "hash": "bce98c307ddce9864d341031c914ba8a",
170
+ "mtime": 1773796492343.4023,
171
+ "size": 411,
172
+ "indexedAt": "2026-03-18T01:15:25.966Z"
173
+ },
174
+ "ai/tools.json": {
175
+ "path": "ai/tools.json",
176
+ "hash": "b1356e52c74e9b3b6a0d397b790a4968",
177
+ "mtime": 1773796492350.4023,
178
+ "size": 138,
179
+ "indexedAt": "2026-03-18T01:15:25.966Z"
180
+ },
181
+ "controllers/authController.js": {
182
+ "path": "controllers/authController.js",
183
+ "hash": "7354721b063c069c013d70e04f4bee0f",
184
+ "mtime": 1773776832721.0393,
185
+ "size": 930,
186
+ "indexedAt": "2026-03-18T01:15:25.966Z"
187
+ },
188
+ "controllers/userController.js": {
189
+ "path": "controllers/userController.js",
190
+ "hash": "e43bb45b1c75b7e4bcd072c60a70d848",
191
+ "mtime": 1773776845003.1538,
192
+ "size": 1214,
193
+ "indexedAt": "2026-03-18T01:15:25.966Z"
194
+ },
195
+ "index.js": {
196
+ "path": "index.js",
197
+ "hash": "b866780bf160f2bfb2ac6baba6a1f6b1",
198
+ "mtime": 1773776791058.662,
199
+ "size": 682,
200
+ "indexedAt": "2026-03-18T01:15:25.966Z"
201
+ },
202
+ "middleware/authMiddleware.js": {
203
+ "path": "middleware/authMiddleware.js",
204
+ "hash": "bd1176bd90f83f93b3f66d07758267e5",
205
+ "mtime": 1773776926397.9497,
206
+ "size": 689,
207
+ "indexedAt": "2026-03-18T01:15:25.966Z"
208
+ },
209
+ "models/userRepository.js": {
210
+ "path": "models/userRepository.js",
211
+ "hash": "fdf8dfbb70b15c82f0d2b13e51a640f6",
212
+ "mtime": 1773776885672.544,
213
+ "size": 767,
214
+ "indexedAt": "2026-03-18T01:15:25.966Z"
215
+ },
216
+ "package.json": {
217
+ "path": "package.json",
218
+ "hash": "c64180130f77b5472a2850aafa61c7e9",
219
+ "mtime": 1773776784437.6038,
220
+ "size": 363,
221
+ "indexedAt": "2026-03-18T01:15:25.966Z"
222
+ },
223
+ "services/authService.js": {
224
+ "path": "services/authService.js",
225
+ "hash": "cacf5bd493a669c8ef7b95bef67cf7e5",
226
+ "mtime": 1773776853984.2388,
227
+ "size": 555,
228
+ "indexedAt": "2026-03-18T01:15:25.966Z"
229
+ },
230
+ "services/userService.js": {
231
+ "path": "services/userService.js",
232
+ "hash": "cb3b6f655977d154edee4038d6105d10",
233
+ "mtime": 1773776865182.3455,
234
+ "size": 534,
235
+ "indexedAt": "2026-03-18T01:15:25.966Z"
236
+ }
237
+ }
238
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "modules": {
3
+ "controllers": {
4
+ "path": "controllers",
5
+ "files": [
6
+ "controllers/authController.js",
7
+ "controllers/userController.js"
8
+ ]
9
+ },
10
+ "middleware": {
11
+ "path": "middleware",
12
+ "files": [
13
+ "middleware/authMiddleware.js"
14
+ ]
15
+ },
16
+ "models": {
17
+ "path": "models",
18
+ "files": [
19
+ "models/userRepository.js"
20
+ ]
21
+ },
22
+ "services": {
23
+ "path": "services",
24
+ "files": [
25
+ "services/authService.js",
26
+ "services/userService.js"
27
+ ]
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "express-api",
3
+ "rootDir": "test-projects/express-api",
4
+ "features": [
5
+ "controllers",
6
+ "services"
7
+ ],
8
+ "flows": [
9
+ "auth",
10
+ "user"
11
+ ],
12
+ "languages": [],
13
+ "frameworks": [],
14
+ "generatedAt": "2026-03-18T01:14:52.351Z"
15
+ }
@@ -0,0 +1,291 @@
1
+ {
2
+ "generated": "2026-03-18T01:15:17.383Z",
3
+ "totalFiles": 27,
4
+ "structure": {
5
+ "ai": {
6
+ "type": "directory",
7
+ "children": {
8
+ "ai_context.md": {
9
+ "type": "file",
10
+ "extension": "md"
11
+ },
12
+ "ai_rules.md": {
13
+ "type": "file",
14
+ "extension": "md"
15
+ },
16
+ "architecture.md": {
17
+ "type": "file",
18
+ "extension": "md"
19
+ },
20
+ "context": {
21
+ "type": "directory",
22
+ "children": {
23
+ "features": {
24
+ "type": "directory",
25
+ "children": {
26
+ "controllers.json": {
27
+ "type": "file",
28
+ "extension": "json"
29
+ },
30
+ "services.json": {
31
+ "type": "file",
32
+ "extension": "json"
33
+ }
34
+ }
35
+ },
36
+ "flows": {
37
+ "type": "directory",
38
+ "children": {
39
+ "auth.json": {
40
+ "type": "file",
41
+ "extension": "json"
42
+ },
43
+ "user.json": {
44
+ "type": "file",
45
+ "extension": "json"
46
+ }
47
+ }
48
+ }
49
+ }
50
+ },
51
+ "conventions.md": {
52
+ "type": "file",
53
+ "extension": "md"
54
+ },
55
+ "dependencies.json": {
56
+ "type": "file",
57
+ "extension": "json"
58
+ },
59
+ "entrypoints.md": {
60
+ "type": "file",
61
+ "extension": "md"
62
+ },
63
+ "modules.json": {
64
+ "type": "file",
65
+ "extension": "json"
66
+ },
67
+ "project.json": {
68
+ "type": "file",
69
+ "extension": "json"
70
+ },
71
+ "repo_map.json": {
72
+ "type": "file",
73
+ "extension": "json"
74
+ },
75
+ "repo_map.md": {
76
+ "type": "file",
77
+ "extension": "md"
78
+ },
79
+ "schema.json": {
80
+ "type": "file",
81
+ "extension": "json"
82
+ },
83
+ "summary.md": {
84
+ "type": "file",
85
+ "extension": "md"
86
+ },
87
+ "symbols.json": {
88
+ "type": "file",
89
+ "extension": "json"
90
+ },
91
+ "tech_stack.md": {
92
+ "type": "file",
93
+ "extension": "md"
94
+ },
95
+ "tools.json": {
96
+ "type": "file",
97
+ "extension": "json"
98
+ }
99
+ }
100
+ },
101
+ "controllers": {
102
+ "type": "directory",
103
+ "children": {
104
+ "authController.js": {
105
+ "type": "file",
106
+ "extension": "js"
107
+ },
108
+ "userController.js": {
109
+ "type": "file",
110
+ "extension": "js"
111
+ }
112
+ }
113
+ },
114
+ "index.js": {
115
+ "type": "file",
116
+ "extension": "js"
117
+ },
118
+ "middleware": {
119
+ "type": "directory",
120
+ "children": {
121
+ "authMiddleware.js": {
122
+ "type": "file",
123
+ "extension": "js"
124
+ }
125
+ }
126
+ },
127
+ "models": {
128
+ "type": "directory",
129
+ "children": {
130
+ "userRepository.js": {
131
+ "type": "file",
132
+ "extension": "js"
133
+ }
134
+ }
135
+ },
136
+ "package.json": {
137
+ "type": "file",
138
+ "extension": "json"
139
+ },
140
+ "services": {
141
+ "type": "directory",
142
+ "children": {
143
+ "authService.js": {
144
+ "type": "file",
145
+ "extension": "js"
146
+ },
147
+ "userService.js": {
148
+ "type": "file",
149
+ "extension": "js"
150
+ }
151
+ }
152
+ }
153
+ },
154
+ "files": [
155
+ {
156
+ "path": "ai/ai_context.md",
157
+ "name": "ai_context.md",
158
+ "extension": "md"
159
+ },
160
+ {
161
+ "path": "ai/ai_rules.md",
162
+ "name": "ai_rules.md",
163
+ "extension": "md"
164
+ },
165
+ {
166
+ "path": "ai/architecture.md",
167
+ "name": "architecture.md",
168
+ "extension": "md"
169
+ },
170
+ {
171
+ "path": "ai/context/features/controllers.json",
172
+ "name": "controllers.json",
173
+ "extension": "json"
174
+ },
175
+ {
176
+ "path": "ai/context/features/services.json",
177
+ "name": "services.json",
178
+ "extension": "json"
179
+ },
180
+ {
181
+ "path": "ai/context/flows/auth.json",
182
+ "name": "auth.json",
183
+ "extension": "json"
184
+ },
185
+ {
186
+ "path": "ai/context/flows/user.json",
187
+ "name": "user.json",
188
+ "extension": "json"
189
+ },
190
+ {
191
+ "path": "ai/conventions.md",
192
+ "name": "conventions.md",
193
+ "extension": "md"
194
+ },
195
+ {
196
+ "path": "ai/dependencies.json",
197
+ "name": "dependencies.json",
198
+ "extension": "json"
199
+ },
200
+ {
201
+ "path": "ai/entrypoints.md",
202
+ "name": "entrypoints.md",
203
+ "extension": "md"
204
+ },
205
+ {
206
+ "path": "ai/modules.json",
207
+ "name": "modules.json",
208
+ "extension": "json"
209
+ },
210
+ {
211
+ "path": "ai/project.json",
212
+ "name": "project.json",
213
+ "extension": "json"
214
+ },
215
+ {
216
+ "path": "ai/repo_map.json",
217
+ "name": "repo_map.json",
218
+ "extension": "json"
219
+ },
220
+ {
221
+ "path": "ai/repo_map.md",
222
+ "name": "repo_map.md",
223
+ "extension": "md"
224
+ },
225
+ {
226
+ "path": "ai/schema.json",
227
+ "name": "schema.json",
228
+ "extension": "json"
229
+ },
230
+ {
231
+ "path": "ai/summary.md",
232
+ "name": "summary.md",
233
+ "extension": "md"
234
+ },
235
+ {
236
+ "path": "ai/symbols.json",
237
+ "name": "symbols.json",
238
+ "extension": "json"
239
+ },
240
+ {
241
+ "path": "ai/tech_stack.md",
242
+ "name": "tech_stack.md",
243
+ "extension": "md"
244
+ },
245
+ {
246
+ "path": "ai/tools.json",
247
+ "name": "tools.json",
248
+ "extension": "json"
249
+ },
250
+ {
251
+ "path": "controllers/authController.js",
252
+ "name": "authController.js",
253
+ "extension": "js"
254
+ },
255
+ {
256
+ "path": "controllers/userController.js",
257
+ "name": "userController.js",
258
+ "extension": "js"
259
+ },
260
+ {
261
+ "path": "index.js",
262
+ "name": "index.js",
263
+ "extension": "js"
264
+ },
265
+ {
266
+ "path": "middleware/authMiddleware.js",
267
+ "name": "authMiddleware.js",
268
+ "extension": "js"
269
+ },
270
+ {
271
+ "path": "models/userRepository.js",
272
+ "name": "userRepository.js",
273
+ "extension": "js"
274
+ },
275
+ {
276
+ "path": "package.json",
277
+ "name": "package.json",
278
+ "extension": "json"
279
+ },
280
+ {
281
+ "path": "services/authService.js",
282
+ "name": "authService.js",
283
+ "extension": "js"
284
+ },
285
+ {
286
+ "path": "services/userService.js",
287
+ "name": "userService.js",
288
+ "extension": "js"
289
+ }
290
+ ]
291
+ }