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,4 @@
1
+ # Entrypoints
2
+
3
+ ---
4
+ *Generated by ai-first*
@@ -0,0 +1,144 @@
1
+ {
2
+ "files": [
3
+ {
4
+ "path": "ai/ai_context.md",
5
+ "name": "ai_context.md",
6
+ "ext": "md"
7
+ },
8
+ {
9
+ "path": "ai/ai_rules.md",
10
+ "name": "ai_rules.md",
11
+ "ext": "md"
12
+ },
13
+ {
14
+ "path": "ai/architecture.md",
15
+ "name": "architecture.md",
16
+ "ext": "md"
17
+ },
18
+ {
19
+ "path": "ai/cache.json",
20
+ "name": "cache.json",
21
+ "ext": "json"
22
+ },
23
+ {
24
+ "path": "ai/context/features/force-app.json",
25
+ "name": "force-app.json",
26
+ "ext": "json"
27
+ },
28
+ {
29
+ "path": "ai/context/flows/account.json",
30
+ "name": "account.json",
31
+ "ext": "json"
32
+ },
33
+ {
34
+ "path": "ai/context/flows/opportunity.json",
35
+ "name": "opportunity.json",
36
+ "ext": "json"
37
+ },
38
+ {
39
+ "path": "ai/conventions.md",
40
+ "name": "conventions.md",
41
+ "ext": "md"
42
+ },
43
+ {
44
+ "path": "ai/dependencies.json",
45
+ "name": "dependencies.json",
46
+ "ext": "json"
47
+ },
48
+ {
49
+ "path": "ai/entrypoints.md",
50
+ "name": "entrypoints.md",
51
+ "ext": "md"
52
+ },
53
+ {
54
+ "path": "ai/files.json",
55
+ "name": "files.json",
56
+ "ext": "json"
57
+ },
58
+ {
59
+ "path": "ai/graph/module-graph.json",
60
+ "name": "module-graph.json",
61
+ "ext": "json"
62
+ },
63
+ {
64
+ "path": "ai/graph/symbol-graph.json",
65
+ "name": "symbol-graph.json",
66
+ "ext": "json"
67
+ },
68
+ {
69
+ "path": "ai/graph/symbol-references.json",
70
+ "name": "symbol-references.json",
71
+ "ext": "json"
72
+ },
73
+ {
74
+ "path": "ai/modules.json",
75
+ "name": "modules.json",
76
+ "ext": "json"
77
+ },
78
+ {
79
+ "path": "ai/project.json",
80
+ "name": "project.json",
81
+ "ext": "json"
82
+ },
83
+ {
84
+ "path": "ai/repo-map.json",
85
+ "name": "repo-map.json",
86
+ "ext": "json"
87
+ },
88
+ {
89
+ "path": "ai/repo_map.json",
90
+ "name": "repo_map.json",
91
+ "ext": "json"
92
+ },
93
+ {
94
+ "path": "ai/repo_map.md",
95
+ "name": "repo_map.md",
96
+ "ext": "md"
97
+ },
98
+ {
99
+ "path": "ai/schema.json",
100
+ "name": "schema.json",
101
+ "ext": "json"
102
+ },
103
+ {
104
+ "path": "ai/summary.md",
105
+ "name": "summary.md",
106
+ "ext": "md"
107
+ },
108
+ {
109
+ "path": "ai/symbols.json",
110
+ "name": "symbols.json",
111
+ "ext": "json"
112
+ },
113
+ {
114
+ "path": "ai/tech_stack.md",
115
+ "name": "tech_stack.md",
116
+ "ext": "md"
117
+ },
118
+ {
119
+ "path": "ai/tools.json",
120
+ "name": "tools.json",
121
+ "ext": "json"
122
+ },
123
+ {
124
+ "path": "force-app/main/default/classes/AccountController.cls",
125
+ "name": "AccountController.cls",
126
+ "ext": "cls"
127
+ },
128
+ {
129
+ "path": "force-app/main/default/classes/OpportunityController.cls",
130
+ "name": "OpportunityController.cls",
131
+ "ext": "cls"
132
+ },
133
+ {
134
+ "path": "force-app/main/default/triggers/AccountTrigger.trigger",
135
+ "name": "AccountTrigger.trigger",
136
+ "ext": "trigger"
137
+ },
138
+ {
139
+ "path": "sfdx-project.json",
140
+ "name": "sfdx-project.json",
141
+ "ext": "json"
142
+ }
143
+ ]
144
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "nodes": [
3
+ {
4
+ "id": "force-app",
5
+ "type": "feature",
6
+ "label": "force-app",
7
+ "metadata": {
8
+ "path": "force-app",
9
+ "fileCount": 3
10
+ }
11
+ },
12
+ {
13
+ "id": "account",
14
+ "type": "flow",
15
+ "label": "account",
16
+ "metadata": {
17
+ "entrypoint": "force-app/main/default/classes/AccountController.cls",
18
+ "fileCount": 1
19
+ }
20
+ },
21
+ {
22
+ "id": "opportunity",
23
+ "type": "flow",
24
+ "label": "opportunity",
25
+ "metadata": {
26
+ "entrypoint": "force-app/main/default/classes/OpportunityController.cls",
27
+ "fileCount": 1
28
+ }
29
+ }
30
+ ],
31
+ "edges": [
32
+ {
33
+ "from": "force-app",
34
+ "to": "account",
35
+ "type": "contains"
36
+ },
37
+ {
38
+ "from": "force-app",
39
+ "to": "opportunity",
40
+ "type": "contains"
41
+ },
42
+ {
43
+ "from": "account",
44
+ "to": "force-app/main/default/classes/AccountController.cls",
45
+ "type": "implements"
46
+ },
47
+ {
48
+ "from": "opportunity",
49
+ "to": "force-app/main/default/classes/OpportunityController.cls",
50
+ "type": "implements"
51
+ }
52
+ ],
53
+ "metadata": {
54
+ "generated": "2026-03-18T01:15:49.609Z",
55
+ "sources": [
56
+ "features",
57
+ "flows",
58
+ "symbols",
59
+ "dependencies"
60
+ ],
61
+ "nodeCount": 3,
62
+ "edgeCount": 4
63
+ }
64
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "modules": [
3
+ {
4
+ "name": "force-app",
5
+ "paths": [
6
+ "force-app/main/default/classes/AccountController.cls",
7
+ "force-app/main/default/classes/OpportunityController.cls",
8
+ "force-app/main/default/triggers/AccountTrigger.trigger"
9
+ ]
10
+ }
11
+ ],
12
+ "dependencies": []
13
+ }
@@ -0,0 +1,148 @@
1
+ {
2
+ "symbols": [
3
+ {
4
+ "id": "force-app/main/default/classes/AccountController.cls#AccountController",
5
+ "name": "AccountController",
6
+ "type": "class",
7
+ "file": "force-app/main/default/classes/AccountController.cls",
8
+ "line": 1,
9
+ "export": true
10
+ },
11
+ {
12
+ "id": "force-app/main/default/classes/AccountController.cls#createAccount",
13
+ "name": "createAccount",
14
+ "type": "function",
15
+ "file": "force-app/main/default/classes/AccountController.cls",
16
+ "line": 12,
17
+ "export": true
18
+ },
19
+ {
20
+ "id": "force-app/main/default/classes/AccountController.cls#updateAccountRating",
21
+ "name": "updateAccountRating",
22
+ "type": "function",
23
+ "file": "force-app/main/default/classes/AccountController.cls",
24
+ "line": 19,
25
+ "export": true
26
+ },
27
+ {
28
+ "id": "force-app/main/default/classes/OpportunityController.cls#OpportunityController",
29
+ "name": "OpportunityController",
30
+ "type": "class",
31
+ "file": "force-app/main/default/classes/OpportunityController.cls",
32
+ "line": 1,
33
+ "export": true
34
+ },
35
+ {
36
+ "id": "force-app/main/default/classes/OpportunityController.cls#closeWon",
37
+ "name": "closeWon",
38
+ "type": "function",
39
+ "file": "force-app/main/default/classes/OpportunityController.cls",
40
+ "line": 13,
41
+ "export": true
42
+ },
43
+ {
44
+ "id": "force-app/main/default/classes/OpportunityController.cls#validateOpportunity",
45
+ "name": "validateOpportunity",
46
+ "type": "function",
47
+ "file": "force-app/main/default/classes/OpportunityController.cls",
48
+ "line": 20,
49
+ "export": true
50
+ },
51
+ {
52
+ "id": "force-app/main/default/triggers/AccountTrigger.trigger#AccountTrigger",
53
+ "name": "AccountTrigger",
54
+ "type": "function",
55
+ "file": "force-app/main/default/triggers/AccountTrigger.trigger",
56
+ "line": 1,
57
+ "export": true
58
+ }
59
+ ],
60
+ "relationships": [
61
+ {
62
+ "symbolId": "force-app/main/default/classes/AccountController.cls#AccountController",
63
+ "targetId": "force-app/main/default/classes/AccountController.cls#AccountController",
64
+ "type": "exports"
65
+ },
66
+ {
67
+ "symbolId": "force-app/main/default/classes/AccountController.cls#createAccount",
68
+ "targetId": "force-app/main/default/classes/AccountController.cls#createAccount",
69
+ "type": "exports"
70
+ },
71
+ {
72
+ "symbolId": "force-app/main/default/classes/AccountController.cls#updateAccountRating",
73
+ "targetId": "force-app/main/default/classes/AccountController.cls#updateAccountRating",
74
+ "type": "exports"
75
+ },
76
+ {
77
+ "symbolId": "force-app/main/default/classes/OpportunityController.cls#OpportunityController",
78
+ "targetId": "force-app/main/default/classes/OpportunityController.cls#OpportunityController",
79
+ "type": "exports"
80
+ },
81
+ {
82
+ "symbolId": "force-app/main/default/classes/OpportunityController.cls#closeWon",
83
+ "targetId": "force-app/main/default/classes/OpportunityController.cls#closeWon",
84
+ "type": "exports"
85
+ },
86
+ {
87
+ "symbolId": "force-app/main/default/classes/OpportunityController.cls#validateOpportunity",
88
+ "targetId": "force-app/main/default/classes/OpportunityController.cls#validateOpportunity",
89
+ "type": "exports"
90
+ },
91
+ {
92
+ "symbolId": "force-app/main/default/triggers/AccountTrigger.trigger#AccountTrigger",
93
+ "targetId": "force-app/main/default/triggers/AccountTrigger.trigger#AccountTrigger",
94
+ "type": "exports"
95
+ }
96
+ ],
97
+ "bySymbol": {
98
+ "force-app/main/default/classes/AccountController.cls#AccountController": [
99
+ {
100
+ "symbolId": "force-app/main/default/classes/AccountController.cls#AccountController",
101
+ "targetId": "force-app/main/default/classes/AccountController.cls#AccountController",
102
+ "type": "exports"
103
+ }
104
+ ],
105
+ "force-app/main/default/classes/AccountController.cls#createAccount": [
106
+ {
107
+ "symbolId": "force-app/main/default/classes/AccountController.cls#createAccount",
108
+ "targetId": "force-app/main/default/classes/AccountController.cls#createAccount",
109
+ "type": "exports"
110
+ }
111
+ ],
112
+ "force-app/main/default/classes/AccountController.cls#updateAccountRating": [
113
+ {
114
+ "symbolId": "force-app/main/default/classes/AccountController.cls#updateAccountRating",
115
+ "targetId": "force-app/main/default/classes/AccountController.cls#updateAccountRating",
116
+ "type": "exports"
117
+ }
118
+ ],
119
+ "force-app/main/default/classes/OpportunityController.cls#OpportunityController": [
120
+ {
121
+ "symbolId": "force-app/main/default/classes/OpportunityController.cls#OpportunityController",
122
+ "targetId": "force-app/main/default/classes/OpportunityController.cls#OpportunityController",
123
+ "type": "exports"
124
+ }
125
+ ],
126
+ "force-app/main/default/classes/OpportunityController.cls#closeWon": [
127
+ {
128
+ "symbolId": "force-app/main/default/classes/OpportunityController.cls#closeWon",
129
+ "targetId": "force-app/main/default/classes/OpportunityController.cls#closeWon",
130
+ "type": "exports"
131
+ }
132
+ ],
133
+ "force-app/main/default/classes/OpportunityController.cls#validateOpportunity": [
134
+ {
135
+ "symbolId": "force-app/main/default/classes/OpportunityController.cls#validateOpportunity",
136
+ "targetId": "force-app/main/default/classes/OpportunityController.cls#validateOpportunity",
137
+ "type": "exports"
138
+ }
139
+ ],
140
+ "force-app/main/default/triggers/AccountTrigger.trigger#AccountTrigger": [
141
+ {
142
+ "symbolId": "force-app/main/default/triggers/AccountTrigger.trigger#AccountTrigger",
143
+ "targetId": "force-app/main/default/triggers/AccountTrigger.trigger#AccountTrigger",
144
+ "type": "exports"
145
+ }
146
+ ]
147
+ }
148
+ }
@@ -0,0 +1,203 @@
1
+ {
2
+ "version": "1.0.0",
3
+ "lastIndexed": "2026-03-18T01:15:26.486Z",
4
+ "totalFiles": 28,
5
+ "files": {
6
+ "ai/ai_context.md": {
7
+ "path": "ai/ai_context.md",
8
+ "hash": "f038c6e81ed1afc0b5582c214b42fe69",
9
+ "mtime": 1773796492673.4075,
10
+ "size": 1399,
11
+ "indexedAt": "2026-03-18T01:15:26.485Z"
12
+ },
13
+ "ai/ai_rules.md": {
14
+ "path": "ai/ai_rules.md",
15
+ "hash": "d6864e4c14fb24f5b12fc0dbc5fe50f7",
16
+ "mtime": 1773796492673.4075,
17
+ "size": 763,
18
+ "indexedAt": "2026-03-18T01:15:26.485Z"
19
+ },
20
+ "ai/architecture.md": {
21
+ "path": "ai/architecture.md",
22
+ "hash": "587f3de6d1623a0fc13d924503ab2ad9",
23
+ "mtime": 1773796492669.4075,
24
+ "size": 628,
25
+ "indexedAt": "2026-03-18T01:15:26.485Z"
26
+ },
27
+ "ai/cache.json": {
28
+ "path": "ai/cache.json",
29
+ "hash": "8ce78f24c309e81f7914c81e1e7d75c7",
30
+ "mtime": 1773796517713.798,
31
+ "size": 3146,
32
+ "indexedAt": "2026-03-18T01:15:26.485Z"
33
+ },
34
+ "ai/context/features/force-app.json": {
35
+ "path": "ai/context/features/force-app.json",
36
+ "hash": "05a59b12f59343ac6550313514d26378",
37
+ "mtime": 1773796517714.798,
38
+ "size": 420,
39
+ "indexedAt": "2026-03-18T01:15:26.485Z"
40
+ },
41
+ "ai/context/flows/account.json": {
42
+ "path": "ai/context/flows/account.json",
43
+ "hash": "b598b9ea1bc7ba8e8220ce3861cd9a6b",
44
+ "mtime": 1773796517714.798,
45
+ "size": 202,
46
+ "indexedAt": "2026-03-18T01:15:26.485Z"
47
+ },
48
+ "ai/context/flows/opportunity.json": {
49
+ "path": "ai/context/flows/opportunity.json",
50
+ "hash": "ac8e6a6f053bb84d99784bd2e4556e90",
51
+ "mtime": 1773796517715.798,
52
+ "size": 214,
53
+ "indexedAt": "2026-03-18T01:15:26.485Z"
54
+ },
55
+ "ai/conventions.md": {
56
+ "path": "ai/conventions.md",
57
+ "hash": "d11ac646a8916e3c6cc376f610368317",
58
+ "mtime": 1773796492671.4075,
59
+ "size": 813,
60
+ "indexedAt": "2026-03-18T01:15:26.485Z"
61
+ },
62
+ "ai/dependencies.json": {
63
+ "path": "ai/dependencies.json",
64
+ "hash": "038f80a99cbcc45991786b645398758e",
65
+ "mtime": 1773796492672.4075,
66
+ "size": 87,
67
+ "indexedAt": "2026-03-18T01:15:26.485Z"
68
+ },
69
+ "ai/entrypoints.md": {
70
+ "path": "ai/entrypoints.md",
71
+ "hash": "34c8965a66697d9f1d428bb0904f5d8d",
72
+ "mtime": 1773796492670.4075,
73
+ "size": 43,
74
+ "indexedAt": "2026-03-18T01:15:26.485Z"
75
+ },
76
+ "ai/files.json": {
77
+ "path": "ai/files.json",
78
+ "hash": "28d0652fd1d0cb2a8d2aee50d6fb6bcf",
79
+ "mtime": 1773796526435.934,
80
+ "size": 2973,
81
+ "indexedAt": "2026-03-18T01:15:26.485Z"
82
+ },
83
+ "ai/graph/module-graph.json": {
84
+ "path": "ai/graph/module-graph.json",
85
+ "hash": "6848d665199d24a321d36d4e96e9dd90",
86
+ "mtime": 1773796517707.7979,
87
+ "size": 305,
88
+ "indexedAt": "2026-03-18T01:15:26.485Z"
89
+ },
90
+ "ai/graph/symbol-graph.json": {
91
+ "path": "ai/graph/symbol-graph.json",
92
+ "hash": "fbd7cdd87c277789096aeeb23182dd5e",
93
+ "mtime": 1773796517711.798,
94
+ "size": 5748,
95
+ "indexedAt": "2026-03-18T01:15:26.485Z"
96
+ },
97
+ "ai/graph/symbol-references.json": {
98
+ "path": "ai/graph/symbol-references.json",
99
+ "hash": "99914b932bd37a50b983c5e7c90ae93b",
100
+ "mtime": 1773796517711.798,
101
+ "size": 2,
102
+ "indexedAt": "2026-03-18T01:15:26.485Z"
103
+ },
104
+ "ai/modules.json": {
105
+ "path": "ai/modules.json",
106
+ "hash": "1d0ec72acc3fc6e1c8c1c28b1ad87252",
107
+ "mtime": 1773796526435.934,
108
+ "size": 296,
109
+ "indexedAt": "2026-03-18T01:15:26.485Z"
110
+ },
111
+ "ai/project.json": {
112
+ "path": "ai/project.json",
113
+ "hash": "295b4cc3d9224937904a0270cc234dc2",
114
+ "mtime": 1773796492675.4075,
115
+ "size": 247,
116
+ "indexedAt": "2026-03-18T01:15:26.485Z"
117
+ },
118
+ "ai/repo-map.json": {
119
+ "path": "ai/repo-map.json",
120
+ "hash": "4f16721f87196949948475fda1bbb92b",
121
+ "mtime": 1773796517706.8672,
122
+ "size": 5843,
123
+ "indexedAt": "2026-03-18T01:15:26.485Z"
124
+ },
125
+ "ai/repo_map.json": {
126
+ "path": "ai/repo_map.json",
127
+ "hash": "d2f687f4d05e38731e8b4fa2b4481178",
128
+ "mtime": 1773796492668.4075,
129
+ "size": 1775,
130
+ "indexedAt": "2026-03-18T01:15:26.485Z"
131
+ },
132
+ "ai/repo_map.md": {
133
+ "path": "ai/repo_map.md",
134
+ "hash": "612c1b7f776ec7f0e02e6a2a80bafe3b",
135
+ "mtime": 1773796492667.4075,
136
+ "size": 521,
137
+ "indexedAt": "2026-03-18T01:15:26.485Z"
138
+ },
139
+ "ai/schema.json": {
140
+ "path": "ai/schema.json",
141
+ "hash": "972220a7d47c9f782cd74798554d2cc4",
142
+ "mtime": 1773796492675.4075,
143
+ "size": 102,
144
+ "indexedAt": "2026-03-18T01:15:26.485Z"
145
+ },
146
+ "ai/summary.md": {
147
+ "path": "ai/summary.md",
148
+ "hash": "52c99c74210210438e7bf314915ef872",
149
+ "mtime": 1773796492668.4075,
150
+ "size": 171,
151
+ "indexedAt": "2026-03-18T01:15:26.485Z"
152
+ },
153
+ "ai/symbols.json": {
154
+ "path": "ai/symbols.json",
155
+ "hash": "e3c31bde2bfd56e085f689eb750aa93e",
156
+ "mtime": 1773796492672.4075,
157
+ "size": 8233,
158
+ "indexedAt": "2026-03-18T01:15:26.485Z"
159
+ },
160
+ "ai/tech_stack.md": {
161
+ "path": "ai/tech_stack.md",
162
+ "hash": "4f67b75666a8dab1f2f82196130ab030",
163
+ "mtime": 1773796492670.4075,
164
+ "size": 317,
165
+ "indexedAt": "2026-03-18T01:15:26.485Z"
166
+ },
167
+ "ai/tools.json": {
168
+ "path": "ai/tools.json",
169
+ "hash": "b1356e52c74e9b3b6a0d397b790a4968",
170
+ "mtime": 1773796492675.4075,
171
+ "size": 138,
172
+ "indexedAt": "2026-03-18T01:15:26.485Z"
173
+ },
174
+ "force-app/main/default/classes/AccountController.cls": {
175
+ "path": "force-app/main/default/classes/AccountController.cls",
176
+ "hash": "f42a5c32b2194cf4c6227503ba00f6fe",
177
+ "mtime": 1773777904495.204,
178
+ "size": 719,
179
+ "indexedAt": "2026-03-18T01:15:26.486Z"
180
+ },
181
+ "force-app/main/default/classes/OpportunityController.cls": {
182
+ "path": "force-app/main/default/classes/OpportunityController.cls",
183
+ "hash": "27984b63f77bef40953426e0a6b0c685",
184
+ "mtime": 1773777913625.33,
185
+ "size": 872,
186
+ "indexedAt": "2026-03-18T01:15:26.486Z"
187
+ },
188
+ "force-app/main/default/triggers/AccountTrigger.trigger": {
189
+ "path": "force-app/main/default/triggers/AccountTrigger.trigger",
190
+ "hash": "84c54cb056848e844af710a70c5ef243",
191
+ "mtime": 1773777952108.863,
192
+ "size": 1058,
193
+ "indexedAt": "2026-03-18T01:15:26.486Z"
194
+ },
195
+ "sfdx-project.json": {
196
+ "path": "sfdx-project.json",
197
+ "hash": "d2a50cc298ee84931caa1b54ae8b18ed",
198
+ "mtime": 1773777895732.083,
199
+ "size": 194,
200
+ "indexedAt": "2026-03-18T01:15:26.486Z"
201
+ }
202
+ }
203
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "modules": {
3
+ "force-app": {
4
+ "path": "force-app",
5
+ "files": [
6
+ "force-app/main/default/classes/AccountController.cls",
7
+ "force-app/main/default/classes/OpportunityController.cls",
8
+ "force-app/main/default/triggers/AccountTrigger.trigger"
9
+ ]
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "salesforce-cli",
3
+ "rootDir": "test-projects/salesforce-cli",
4
+ "features": [
5
+ "force-app"
6
+ ],
7
+ "flows": [
8
+ "account",
9
+ "opportunity"
10
+ ],
11
+ "languages": [],
12
+ "frameworks": [],
13
+ "generatedAt": "2026-03-18T01:14:52.676Z"
14
+ }