@autobe/agent 0.16.1 → 0.18.0

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 (703) hide show
  1. package/lib/AutoBeMockAgent.d.ts +5 -5
  2. package/lib/agent/src/AutoBeAgent.d.ts +52 -0
  3. package/lib/{AutoBeAgent.js → agent/src/AutoBeAgent.js} +37 -9
  4. package/lib/agent/src/AutoBeAgent.js.map +1 -0
  5. package/lib/agent/src/AutoBeAgentBase.d.ts +18 -0
  6. package/lib/agent/src/AutoBeAgentBase.js.map +1 -0
  7. package/lib/agent/src/AutoBeMockAgent.d.ts +15 -0
  8. package/lib/{AutoBeMockAgent.js → agent/src/AutoBeMockAgent.js} +34 -4
  9. package/lib/agent/src/AutoBeMockAgent.js.map +1 -0
  10. package/lib/agent/src/constants/AutoBeSystemPromptConstant.d.ts +34 -0
  11. package/lib/agent/src/constants/AutoBeSystemPromptConstant.js.map +1 -0
  12. package/lib/agent/src/context/AutoBeContext.d.ts +41 -0
  13. package/lib/agent/src/context/AutoBeContext.js.map +1 -0
  14. package/lib/agent/src/context/AutoBeState.d.ts +8 -0
  15. package/lib/agent/src/context/AutoBeState.js.map +1 -0
  16. package/lib/agent/src/context/AutoBeTokenUsage.d.ts +173 -0
  17. package/lib/agent/src/context/AutoBeTokenUsage.js +188 -0
  18. package/lib/agent/src/context/AutoBeTokenUsage.js.map +1 -0
  19. package/lib/agent/src/context/AutoBeTokenUsageComponent.d.ts +116 -0
  20. package/lib/agent/src/context/AutoBeTokenUsageComponent.js +137 -0
  21. package/lib/agent/src/context/AutoBeTokenUsageComponent.js.map +1 -0
  22. package/lib/agent/src/context/IAutoBeApplication.d.ts +107 -0
  23. package/lib/agent/src/context/IAutoBeApplication.js.map +1 -0
  24. package/lib/agent/src/context/IAutoBeApplicationProps.d.ts +4 -0
  25. package/lib/agent/src/context/IAutoBeApplicationProps.js.map +1 -0
  26. package/lib/agent/src/context/IAutoBeApplicationResult.d.ts +4 -0
  27. package/lib/agent/src/context/IAutoBeApplicationResult.js.map +1 -0
  28. package/lib/agent/src/context/assertSchemaModel.d.ts +2 -0
  29. package/lib/agent/src/context/assertSchemaModel.js.map +1 -0
  30. package/lib/agent/src/factory/createAgenticaHistory.d.ts +7 -0
  31. package/lib/agent/src/factory/createAgenticaHistory.js.map +1 -0
  32. package/lib/agent/src/factory/createAutoBeApplication.d.ts +7 -0
  33. package/lib/{factory → agent/src/factory}/createAutoBeApplication.js +1 -1
  34. package/lib/agent/src/factory/createAutoBeApplication.js.map +1 -0
  35. package/lib/agent/src/factory/createAutoBeContext.d.ts +19 -0
  36. package/lib/agent/src/factory/createAutoBeContext.js +214 -0
  37. package/lib/agent/src/factory/createAutoBeContext.js.map +1 -0
  38. package/lib/agent/src/factory/createAutoBeState.d.ts +3 -0
  39. package/lib/agent/src/factory/createAutoBeState.js.map +1 -0
  40. package/lib/agent/src/factory/getAutoBeGenerated.d.ts +4 -0
  41. package/lib/{factory → agent/src/factory}/getAutoBeGenerated.js +17 -14
  42. package/lib/agent/src/factory/getAutoBeGenerated.js.map +1 -0
  43. package/lib/agent/src/factory/getAutoBeRealizeGenerated.d.ts +7 -0
  44. package/lib/agent/src/factory/getAutoBeRealizeGenerated.js +27 -0
  45. package/lib/agent/src/factory/getAutoBeRealizeGenerated.js.map +1 -0
  46. package/lib/agent/src/factory/index.d.ts +1 -0
  47. package/lib/agent/src/factory/index.js.map +1 -0
  48. package/lib/agent/src/index.d.ts +6 -0
  49. package/lib/{index.js → agent/src/index.js} +1 -0
  50. package/lib/agent/src/index.js.map +1 -0
  51. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.d.ts +4 -0
  52. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.js +46 -0
  53. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.js.map +1 -0
  54. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.d.ts +4 -0
  55. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js +30 -0
  56. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js.map +1 -0
  57. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.d.ts +4 -0
  58. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.js +49 -0
  59. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.js.map +1 -0
  60. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyze.d.ts +5 -0
  61. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyze.js +64 -0
  62. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyze.js.map +1 -0
  63. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeReview.d.ts +6 -0
  64. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeReview.js +265 -0
  65. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeReview.js.map +1 -0
  66. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeScenario.d.ts +4 -0
  67. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeScenario.js +727 -0
  68. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -0
  69. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeWrite.d.ts +8 -0
  70. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeWrite.js +242 -0
  71. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeWrite.js.map +1 -0
  72. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.d.ts +105 -0
  73. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.js +3 -0
  74. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.js.map +1 -0
  75. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +78 -0
  76. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.js +3 -0
  77. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.js.map +1 -0
  78. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.d.ts +70 -0
  79. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.js +3 -0
  80. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.js.map +1 -0
  81. package/lib/agent/src/orchestrate/facade/transformFacadeStateMessage.d.ts +2 -0
  82. package/lib/agent/src/orchestrate/facade/transformFacadeStateMessage.js.map +1 -0
  83. package/lib/agent/src/orchestrate/index.d.ts +5 -0
  84. package/lib/agent/src/orchestrate/index.js.map +1 -0
  85. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAssetHistories.d.ts +3 -0
  86. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAssetHistories.js.map +1 -0
  87. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.d.ts +4 -0
  88. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.js +34 -0
  89. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.js.map +1 -0
  90. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceComplementHistories.d.ts +4 -0
  91. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceComplementHistories.js +62 -0
  92. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceComplementHistories.js.map +1 -0
  93. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.d.ts +5 -0
  94. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.js +49 -0
  95. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.js.map +1 -0
  96. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceGroupHistories.d.ts +3 -0
  97. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceGroupHistories.js +28 -0
  98. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceGroupHistories.js.map +1 -0
  99. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationHistories.d.ts +4 -0
  100. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationHistories.js +51 -0
  101. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationHistories.js.map +1 -0
  102. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.d.ts +5 -0
  103. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.js +35 -0
  104. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.js.map +1 -0
  105. package/lib/agent/src/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.d.ts +3 -0
  106. package/lib/agent/src/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.js.map +1 -0
  107. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.d.ts +4 -0
  108. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.js +28 -0
  109. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.js.map +1 -0
  110. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.d.ts +4 -0
  111. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.js +53 -0
  112. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.js.map +1 -0
  113. package/lib/agent/src/orchestrate/interface/orchestrateInterface.d.ts +5 -0
  114. package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterface.js +12 -24
  115. package/lib/agent/src/orchestrate/interface/orchestrateInterface.js.map +1 -0
  116. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceAuthorizations.d.ts +4 -0
  117. package/lib/{orchestrate/interface/orchestrateInterfaceOperations.js → agent/src/orchestrate/interface/orchestrateInterfaceAuthorizations.js} +227 -562
  118. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceAuthorizations.js.map +1 -0
  119. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceComplement.d.ts +4 -0
  120. package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterfaceComplement.js +20 -32
  121. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceComplement.js.map +1 -0
  122. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceEndpoints.d.ts +5 -0
  123. package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterfaceEndpoints.js +40 -41
  124. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +1 -0
  125. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceGroups.d.ts +4 -0
  126. package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterfaceGroups.js +15 -25
  127. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceGroups.js.map +1 -0
  128. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperations.d.ts +4 -0
  129. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperations.js +1768 -0
  130. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperations.js.map +1 -0
  131. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperationsReview.d.ts +5 -0
  132. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperationsReview.js +1317 -0
  133. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperationsReview.js.map +1 -0
  134. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemas.d.ts +4 -0
  135. package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterfaceSchemas.js +59 -71
  136. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemas.js.map +1 -0
  137. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemasReview.d.ts +7 -0
  138. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemasReview.js +467 -0
  139. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemasReview.js.map +1 -0
  140. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.d.ts +47 -0
  141. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.js +3 -0
  142. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.js.map +1 -0
  143. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.d.ts +55 -0
  144. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.js.map +1 -0
  145. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.d.ts +24 -0
  146. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.js.map +1 -0
  147. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.d.ts +108 -0
  148. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.js.map +1 -0
  149. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +126 -0
  150. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.js.map +1 -0
  151. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.d.ts +96 -0
  152. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.js +3 -0
  153. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.js.map +1 -0
  154. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.d.ts +75 -0
  155. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.js.map +1 -0
  156. package/lib/agent/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.d.ts +91 -0
  157. package/lib/agent/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.js +3 -0
  158. package/lib/agent/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.js.map +1 -0
  159. package/lib/agent/src/orchestrate/interface/utils/OpenApiEndpointComparator.d.ts +6 -0
  160. package/lib/agent/src/orchestrate/interface/utils/OpenApiEndpointComparator.js.map +1 -0
  161. package/lib/agent/src/orchestrate/internal/IProgress.d.ts +4 -0
  162. package/lib/agent/src/orchestrate/internal/IProgress.js +3 -0
  163. package/lib/agent/src/orchestrate/internal/IProgress.js.map +1 -0
  164. package/lib/{orchestrate/prisma → agent/src/orchestrate/prisma/histories}/transformPrismaComponentsHistories.d.ts +1 -1
  165. package/lib/{orchestrate/prisma → agent/src/orchestrate/prisma/histories}/transformPrismaComponentsHistories.js +1 -1
  166. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaComponentsHistories.js.map +1 -0
  167. package/lib/{orchestrate/prisma → agent/src/orchestrate/prisma/histories}/transformPrismaCorrectHistories.js +1 -1
  168. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaCorrectHistories.js.map +1 -0
  169. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaReviewHistories.d.ts +8 -0
  170. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaReviewHistories.js +59 -0
  171. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaReviewHistories.js.map +1 -0
  172. package/lib/{orchestrate/prisma → agent/src/orchestrate/prisma/histories}/transformPrismaSchemaHistories.d.ts +1 -1
  173. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaSchemaHistories.js +48 -0
  174. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaSchemaHistories.js.map +1 -0
  175. package/lib/agent/src/orchestrate/prisma/orchestratePrisma.d.ts +5 -0
  176. package/lib/{orchestrate → agent/src/orchestrate}/prisma/orchestratePrisma.js +37 -40
  177. package/lib/agent/src/orchestrate/prisma/orchestratePrisma.js.map +1 -0
  178. package/lib/agent/src/orchestrate/prisma/orchestratePrismaComponent.d.ts +5 -0
  179. package/lib/{orchestrate → agent/src/orchestrate}/prisma/orchestratePrismaComponent.js +164 -58
  180. package/lib/agent/src/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -0
  181. package/lib/agent/src/orchestrate/prisma/orchestratePrismaCorrect.d.ts +4 -0
  182. package/lib/{orchestrate → agent/src/orchestrate}/prisma/orchestratePrismaCorrect.js +130 -92
  183. package/lib/agent/src/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -0
  184. package/lib/agent/src/orchestrate/prisma/orchestratePrismaReview.d.ts +5 -0
  185. package/lib/{orchestrate/prisma/orchestratePrismaSchemas.js → agent/src/orchestrate/prisma/orchestratePrismaReview.js} +197 -328
  186. package/lib/agent/src/orchestrate/prisma/orchestratePrismaReview.js.map +1 -0
  187. package/lib/agent/src/orchestrate/prisma/orchestratePrismaSchemas.d.ts +5 -0
  188. package/lib/agent/src/orchestrate/prisma/orchestratePrismaSchemas.js +1625 -0
  189. package/lib/agent/src/orchestrate/prisma/orchestratePrismaSchemas.js.map +1 -0
  190. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.d.ts +121 -0
  191. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.js +3 -0
  192. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.js.map +1 -0
  193. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.d.ts +142 -0
  194. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.js +3 -0
  195. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.js.map +1 -0
  196. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.d.ts +105 -0
  197. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.js +3 -0
  198. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.js.map +1 -0
  199. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.d.ts +99 -0
  200. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.js +3 -0
  201. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.js.map +1 -0
  202. package/lib/agent/src/orchestrate/realize/ProviderCodeComparator.d.ts +5 -0
  203. package/lib/agent/src/orchestrate/realize/ProviderCodeComparator.js.map +1 -0
  204. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorization.d.ts +5 -0
  205. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorization.js +40 -0
  206. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorization.js.map +1 -0
  207. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.d.ts +5 -0
  208. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.js +80 -0
  209. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.js.map +1 -0
  210. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCoderHistories.d.ts +7 -0
  211. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCoderHistories.js.map +1 -0
  212. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCorrectHistories.d.ts +13 -0
  213. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCorrectHistories.js +32 -0
  214. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCorrectHistories.js.map +1 -0
  215. package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteHistories.d.ts +11 -0
  216. package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteHistories.js +160 -0
  217. package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteHistories.js.map +1 -0
  218. package/lib/agent/src/orchestrate/realize/internal/compile.d.ts +7 -0
  219. package/lib/agent/src/orchestrate/realize/internal/compile.js +61 -0
  220. package/lib/agent/src/orchestrate/realize/internal/compile.js.map +1 -0
  221. package/lib/agent/src/orchestrate/realize/orchestrateRealize.d.ts +5 -0
  222. package/lib/agent/src/orchestrate/realize/orchestrateRealize.js +113 -0
  223. package/lib/agent/src/orchestrate/realize/orchestrateRealize.js.map +1 -0
  224. package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorization.d.ts +10 -0
  225. package/lib/{orchestrate → agent/src/orchestrate}/realize/orchestrateRealizeAuthorization.js +84 -70
  226. package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorization.js.map +1 -0
  227. package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.d.ts +4 -0
  228. package/lib/{orchestrate → agent/src/orchestrate}/realize/orchestrateRealizeAuthorizationCorrect.js +66 -52
  229. package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js.map +1 -0
  230. package/lib/agent/src/orchestrate/realize/orchestrateRealizeCorrect.d.ts +9 -0
  231. package/lib/agent/src/orchestrate/realize/orchestrateRealizeCorrect.js +351 -0
  232. package/lib/agent/src/orchestrate/realize/orchestrateRealizeCorrect.js.map +1 -0
  233. package/lib/{orchestrate/realize/orchestrateRealizePlanner.d.ts → agent/src/orchestrate/realize/orchestrateRealizeScenario.d.ts} +5 -3
  234. package/lib/{orchestrate/realize/orchestrateRealizePlanner.js → agent/src/orchestrate/realize/orchestrateRealizeScenario.js} +14 -24
  235. package/lib/agent/src/orchestrate/realize/orchestrateRealizeScenario.js.map +1 -0
  236. package/lib/agent/src/orchestrate/realize/orchestrateRealizeWrite.d.ts +9 -0
  237. package/lib/agent/src/orchestrate/realize/orchestrateRealizeWrite.js +340 -0
  238. package/lib/agent/src/orchestrate/realize/orchestrateRealizeWrite.js.map +1 -0
  239. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.d.ts +92 -0
  240. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.js.map +1 -0
  241. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.d.ts +27 -0
  242. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js.map +1 -0
  243. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.d.ts +345 -0
  244. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.js.map +1 -0
  245. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCompile.d.ts +56 -0
  246. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCompile.js.map +1 -0
  247. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeFailedSymbol.d.ts +2 -0
  248. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeFailedSymbol.js.map +1 -0
  249. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.d.ts +79 -0
  250. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.js +3 -0
  251. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.js.map +1 -0
  252. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.d.ts +38 -0
  253. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.js +3 -0
  254. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.js.map +1 -0
  255. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.d.ts +276 -0
  256. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.js +3 -0
  257. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.js.map +1 -0
  258. package/lib/agent/src/orchestrate/realize/utils/AuthorizationFileSystem.d.ts +5 -0
  259. package/lib/agent/src/orchestrate/realize/utils/AuthorizationFileSystem.js.map +1 -0
  260. package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationFileSystem.d.ts +5 -0
  261. package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationFileSystem.js.map +1 -0
  262. package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationReplaceImport.d.ts +4 -0
  263. package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationReplaceImport.js.map +1 -0
  264. package/lib/agent/src/orchestrate/realize/utils/InternalFileSystem.d.ts +8 -0
  265. package/lib/agent/src/orchestrate/realize/utils/InternalFileSystem.js.map +1 -0
  266. package/lib/agent/src/orchestrate/realize/utils/ProviderFileSystem.d.ts +3 -0
  267. package/lib/agent/src/orchestrate/realize/utils/ProviderFileSystem.js.map +1 -0
  268. package/lib/agent/src/orchestrate/realize/utils/replaceImportStatements.d.ts +4 -0
  269. package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/replaceImportStatements.js +1 -0
  270. package/lib/agent/src/orchestrate/realize/utils/replaceImportStatements.js.map +1 -0
  271. package/lib/agent/src/orchestrate/test/compile/completeTestCode.d.ts +2 -0
  272. package/lib/agent/src/orchestrate/test/compile/completeTestCode.js.map +1 -0
  273. package/lib/agent/src/orchestrate/test/compile/filterTestFileName.d.ts +1 -0
  274. package/lib/agent/src/orchestrate/test/compile/filterTestFileName.js.map +1 -0
  275. package/lib/agent/src/orchestrate/test/compile/getTestExternalDeclarations.d.ts +3 -0
  276. package/lib/agent/src/orchestrate/test/compile/getTestExternalDeclarations.js.map +1 -0
  277. package/lib/agent/src/orchestrate/test/compile/getTestScenarioArtifacts.d.ts +5 -0
  278. package/lib/agent/src/orchestrate/test/compile/getTestScenarioArtifacts.js.map +1 -0
  279. package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestCorrectHistories.d.ts +1 -1
  280. package/lib/agent/src/orchestrate/test/histories/transformTestCorrectHistories.js.map +1 -0
  281. package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestHistories.d.ts +1 -1
  282. package/lib/agent/src/orchestrate/test/histories/transformTestHistories.js.map +1 -0
  283. package/lib/agent/src/orchestrate/test/histories/transformTestScenarioHistories.d.ts +3 -0
  284. package/lib/agent/src/orchestrate/test/histories/transformTestScenarioHistories.js +56 -0
  285. package/lib/agent/src/orchestrate/test/histories/transformTestScenarioHistories.js.map +1 -0
  286. package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestWriteHistories.d.ts +1 -1
  287. package/lib/agent/src/orchestrate/test/histories/transformTestWriteHistories.js +179 -0
  288. package/lib/agent/src/orchestrate/test/histories/transformTestWriteHistories.js.map +1 -0
  289. package/lib/agent/src/orchestrate/test/orchestrateTest.d.ts +5 -0
  290. package/lib/{orchestrate → agent/src/orchestrate}/test/orchestrateTest.js +12 -30
  291. package/lib/agent/src/orchestrate/test/orchestrateTest.js.map +1 -0
  292. package/lib/agent/src/orchestrate/test/orchestrateTestCorrect.d.ts +5 -0
  293. package/lib/{orchestrate → agent/src/orchestrate}/test/orchestrateTestCorrect.js +27 -43
  294. package/lib/agent/src/orchestrate/test/orchestrateTestCorrect.js.map +1 -0
  295. package/lib/agent/src/orchestrate/test/orchestrateTestScenario.d.ts +4 -0
  296. package/lib/agent/src/orchestrate/test/orchestrateTestScenario.js +858 -0
  297. package/lib/agent/src/orchestrate/test/orchestrateTestScenario.js.map +1 -0
  298. package/lib/agent/src/orchestrate/test/orchestrateTestWrite.d.ts +5 -0
  299. package/lib/{orchestrate → agent/src/orchestrate}/test/orchestrateTestWrite.js +53 -54
  300. package/lib/agent/src/orchestrate/test/orchestrateTestWrite.js.map +1 -0
  301. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestCorrectApplication.d.ts +121 -0
  302. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestCorrectApplication.js.map +1 -0
  303. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestFunction.d.ts +8 -0
  304. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestFunction.js.map +1 -0
  305. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.d.ts +134 -0
  306. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.js.map +1 -0
  307. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioArtifacts.d.ts +7 -0
  308. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioArtifacts.js.map +1 -0
  309. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteApplication.d.ts +113 -0
  310. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteApplication.js.map +1 -0
  311. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteResult.d.ts +7 -0
  312. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteResult.js.map +1 -0
  313. package/lib/agent/src/structures/IAutoBeConfig.d.ts +73 -0
  314. package/lib/agent/src/structures/IAutoBeConfig.js.map +1 -0
  315. package/lib/agent/src/structures/IAutoBeProps.d.ts +109 -0
  316. package/lib/agent/src/structures/IAutoBeProps.js.map +1 -0
  317. package/lib/agent/src/structures/IAutoBeVendor.d.ts +87 -0
  318. package/lib/agent/src/structures/IAutoBeVendor.js.map +1 -0
  319. package/lib/agent/src/utils/arrayToRecord.d.ts +17 -0
  320. package/lib/agent/src/utils/arrayToRecord.js.map +1 -0
  321. package/lib/agent/src/utils/backoffRetry.d.ts +22 -0
  322. package/lib/agent/src/utils/backoffRetry.js.map +1 -0
  323. package/lib/agent/src/utils/divideArray.d.ts +4 -0
  324. package/lib/agent/src/utils/divideArray.js.map +1 -0
  325. package/lib/agent/src/utils/emplaceMap.d.ts +1 -0
  326. package/lib/agent/src/utils/emplaceMap.js.map +1 -0
  327. package/lib/{orchestrate/realize/RealizePipe.d.ts → agent/src/utils/pipe.d.ts} +1 -1
  328. package/lib/agent/src/utils/pipe.js.map +1 -0
  329. package/lib/constants/AutoBeSystemPromptConstant.d.ts +19 -17
  330. package/lib/context/AutoBeContext.d.ts +31 -8
  331. package/lib/context/AutoBeTokenUsage.d.ts +168 -11
  332. package/lib/context/AutoBeTokenUsageComponent.d.ts +116 -0
  333. package/lib/factory/createAutoBeContext.d.ts +19 -0
  334. package/lib/factory/getAutoBeGenerated.d.ts +1 -1
  335. package/lib/factory/getAutoBeRealizeGenerated.d.ts +7 -0
  336. package/lib/index.d.ts +1 -0
  337. package/lib/index.mjs +10629 -5867
  338. package/lib/index.mjs.map +1 -1
  339. package/lib/interface/src/histories/contents/AutoBeAnalyzeFile.d.ts +153 -0
  340. package/lib/interface/src/histories/contents/AutoBeAnalyzeFile.js +3 -0
  341. package/lib/interface/src/histories/contents/AutoBeAnalyzeFile.js.map +1 -0
  342. package/lib/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.d.ts +4 -0
  343. package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.d.ts +4 -0
  344. package/lib/orchestrate/analyze/histories/transformAnalyzeWriteHistories.d.ts +4 -0
  345. package/lib/orchestrate/analyze/orchestrateAnalyze.d.ts +0 -1
  346. package/lib/orchestrate/analyze/orchestrateAnalyzeReview.d.ts +6 -0
  347. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.d.ts +4 -0
  348. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.d.ts +6 -12
  349. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.d.ts +105 -0
  350. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +78 -0
  351. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.d.ts +70 -0
  352. package/lib/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.d.ts +4 -0
  353. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.d.ts +2 -1
  354. package/lib/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.d.ts +5 -0
  355. package/lib/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.d.ts +4 -0
  356. package/lib/orchestrate/interface/orchestrateInterfaceAuthorizations.d.ts +4 -0
  357. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.d.ts +1 -1
  358. package/lib/orchestrate/interface/orchestrateInterfaceGroups.d.ts +1 -1
  359. package/lib/orchestrate/interface/orchestrateInterfaceOperationsReview.d.ts +5 -0
  360. package/lib/orchestrate/interface/orchestrateInterfaceSchemasReview.d.ts +7 -0
  361. package/lib/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.d.ts +47 -0
  362. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.d.ts +2 -1
  363. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +6 -2
  364. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.d.ts +96 -0
  365. package/lib/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.d.ts +91 -0
  366. package/lib/orchestrate/internal/IProgress.d.ts +4 -0
  367. package/lib/orchestrate/prisma/histories/transformPrismaComponentsHistories.d.ts +3 -0
  368. package/lib/orchestrate/prisma/histories/transformPrismaCorrectHistories.d.ts +3 -0
  369. package/lib/orchestrate/prisma/histories/transformPrismaReviewHistories.d.ts +8 -0
  370. package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistories.d.ts +3 -0
  371. package/lib/orchestrate/prisma/orchestratePrisma.d.ts +1 -1
  372. package/lib/orchestrate/prisma/orchestratePrismaComponent.d.ts +1 -1
  373. package/lib/orchestrate/prisma/orchestratePrismaReview.d.ts +5 -0
  374. package/lib/orchestrate/prisma/orchestratePrismaSchemas.d.ts +1 -1
  375. package/lib/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.d.ts +121 -0
  376. package/lib/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.d.ts +142 -0
  377. package/lib/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.d.ts +105 -0
  378. package/lib/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.d.ts +99 -0
  379. package/lib/orchestrate/realize/histories/transformRealizeAuthorization.d.ts +5 -0
  380. package/lib/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.d.ts +5 -0
  381. package/lib/orchestrate/realize/histories/transformRealizeCoderHistories.d.ts +7 -0
  382. package/lib/orchestrate/realize/histories/transformRealizeCorrectHistories.d.ts +13 -0
  383. package/lib/orchestrate/realize/histories/transformRealizeWriteHistories.d.ts +11 -0
  384. package/lib/orchestrate/realize/internal/compile.d.ts +7 -0
  385. package/lib/orchestrate/realize/orchestrateRealizeCorrect.d.ts +9 -0
  386. package/lib/orchestrate/realize/orchestrateRealizeScenario.d.ts +91 -0
  387. package/lib/orchestrate/realize/orchestrateRealizeWrite.d.ts +9 -0
  388. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.d.ts +10 -3
  389. package/lib/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.d.ts +79 -0
  390. package/lib/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.d.ts +38 -0
  391. package/lib/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.d.ts +276 -0
  392. package/lib/orchestrate/test/histories/transformTestCorrectHistories.d.ts +4 -0
  393. package/lib/orchestrate/test/histories/transformTestHistories.d.ts +3 -0
  394. package/lib/orchestrate/test/histories/transformTestScenarioHistories.d.ts +3 -0
  395. package/lib/orchestrate/test/histories/transformTestWriteHistories.d.ts +8 -0
  396. package/lib/orchestrate/test/orchestrateTestScenario.d.ts +2 -2
  397. package/lib/orchestrate/test/structures/IAutoBeTestScenarioApplication.d.ts +25 -24
  398. package/lib/orchestrate/test/structures/IAutoBeTestWriteApplication.d.ts +2 -1
  399. package/package.json +10 -10
  400. package/src/AutoBeAgent.ts +45 -10
  401. package/src/AutoBeMockAgent.ts +41 -11
  402. package/src/constants/AutoBeSystemPromptConstant.ts +19 -17
  403. package/src/context/AutoBeContext.ts +60 -7
  404. package/src/context/AutoBeTokenUsage.ts +260 -54
  405. package/src/context/AutoBeTokenUsageComponent.ts +198 -0
  406. package/src/factory/createAutoBeApplication.ts +4 -12
  407. package/src/factory/createAutoBeContext.ts +256 -0
  408. package/src/factory/getAutoBeGenerated.ts +17 -24
  409. package/src/factory/getAutoBeRealizeGenerated.ts +30 -0
  410. package/src/index.ts +1 -0
  411. package/src/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.ts +53 -0
  412. package/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.ts +34 -0
  413. package/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.ts +56 -0
  414. package/src/orchestrate/analyze/orchestrateAnalyze.ts +61 -109
  415. package/src/orchestrate/analyze/orchestrateAnalyzeReview.ts +89 -0
  416. package/src/orchestrate/analyze/orchestrateAnalyzeScenario.ts +123 -0
  417. package/src/orchestrate/analyze/orchestrateAnalyzeWrite.ts +51 -52
  418. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.ts +108 -0
  419. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.ts +85 -0
  420. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.ts +71 -0
  421. package/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.ts +40 -0
  422. package/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.ts +27 -0
  423. package/src/orchestrate/interface/histories/transformInterfaceOperationHistories.ts +45 -22
  424. package/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.ts +43 -0
  425. package/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.ts +63 -0
  426. package/src/orchestrate/interface/orchestrateInterface.ts +14 -23
  427. package/src/orchestrate/interface/orchestrateInterfaceAuthorizations.ts +106 -0
  428. package/src/orchestrate/interface/orchestrateInterfaceComplement.ts +27 -44
  429. package/src/orchestrate/interface/orchestrateInterfaceEndpoints.ts +28 -34
  430. package/src/orchestrate/interface/orchestrateInterfaceGroups.ts +15 -32
  431. package/src/orchestrate/interface/orchestrateInterfaceOperations.ts +207 -103
  432. package/src/orchestrate/interface/orchestrateInterfaceOperationsReview.ts +84 -0
  433. package/src/orchestrate/interface/orchestrateInterfaceSchemas.ts +72 -82
  434. package/src/orchestrate/interface/orchestrateInterfaceSchemasReview.ts +143 -0
  435. package/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.ts +49 -0
  436. package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.ts +2 -1
  437. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts +6 -2
  438. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.ts +102 -0
  439. package/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.ts +98 -0
  440. package/src/orchestrate/internal/IProgress.ts +4 -0
  441. package/src/orchestrate/prisma/{transformPrismaComponentsHistories.ts → histories/transformPrismaComponentsHistories.ts} +2 -2
  442. package/src/orchestrate/prisma/{transformPrismaCorrectHistories.ts → histories/transformPrismaCorrectHistories.ts} +1 -1
  443. package/src/orchestrate/prisma/histories/transformPrismaReviewHistories.ts +66 -0
  444. package/src/orchestrate/prisma/{transformPrismaSchemaHistories.ts → histories/transformPrismaSchemaHistories.ts} +3 -3
  445. package/src/orchestrate/prisma/orchestratePrisma.ts +73 -67
  446. package/src/orchestrate/prisma/orchestratePrismaComponent.ts +27 -112
  447. package/src/orchestrate/prisma/orchestratePrismaCorrect.ts +100 -202
  448. package/src/orchestrate/prisma/orchestratePrismaReview.ts +118 -0
  449. package/src/orchestrate/prisma/orchestratePrismaSchemas.ts +137 -210
  450. package/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.ts +125 -0
  451. package/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.ts +144 -0
  452. package/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.ts +108 -0
  453. package/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.ts +101 -0
  454. package/src/orchestrate/realize/{transformRealizeAuthorization.ts → histories/transformRealizeAuthorization.ts} +14 -10
  455. package/src/orchestrate/realize/{transformRealizeAuthorizationCorrectHistories.ts → histories/transformRealizeAuthorizationCorrectHistories.ts} +9 -7
  456. package/src/orchestrate/realize/{transformRealizeCoderHistories.ts → histories/transformRealizeCoderHistories.ts} +6 -6
  457. package/src/orchestrate/realize/histories/transformRealizeCorrectHistories.ts +47 -0
  458. package/src/orchestrate/realize/histories/transformRealizeWriteHistories.ts +184 -0
  459. package/src/orchestrate/realize/internal/compile.ts +84 -0
  460. package/src/orchestrate/realize/orchestrateRealize.ts +118 -40
  461. package/src/orchestrate/realize/orchestrateRealizeAuthorization.ts +45 -57
  462. package/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.ts +19 -41
  463. package/src/orchestrate/realize/orchestrateRealizeCorrect.ts +118 -0
  464. package/src/orchestrate/realize/{orchestrateRealizePlanner.ts → orchestrateRealizeScenario.ts} +15 -15
  465. package/src/orchestrate/realize/orchestrateRealizeWrite.ts +120 -0
  466. package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.ts +11 -3
  467. package/src/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.ts +81 -0
  468. package/src/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.ts +43 -0
  469. package/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.ts +282 -0
  470. package/src/orchestrate/realize/utils/replaceImportStatements.ts +3 -1
  471. package/src/orchestrate/test/experimental/orchestrateTestCorrect.ast +5 -9
  472. package/src/orchestrate/test/experimental/orchestrateTestWrite.ast +23 -22
  473. package/src/orchestrate/test/{transformTestCorrectHistories.ts → histories/transformTestCorrectHistories.ts} +2 -2
  474. package/src/orchestrate/test/{transformTestHistories.ts → histories/transformTestHistories.ts} +1 -1
  475. package/src/orchestrate/test/histories/transformTestScenarioHistories.ts +70 -0
  476. package/src/orchestrate/test/{transformTestWriteHistories.ts → histories/transformTestWriteHistories.ts} +3 -3
  477. package/src/orchestrate/test/orchestrateTest.ts +11 -32
  478. package/src/orchestrate/test/orchestrateTestCorrect.ts +32 -62
  479. package/src/orchestrate/test/orchestrateTestScenario.ts +95 -158
  480. package/src/orchestrate/test/orchestrateTestWrite.ts +48 -71
  481. package/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.ts +25 -24
  482. package/src/orchestrate/test/structures/IAutoBeTestWriteApplication.ts +3 -1
  483. package/lib/AutoBeAgent.js.map +0 -1
  484. package/lib/AutoBeAgentBase.js.map +0 -1
  485. package/lib/AutoBeMockAgent.js.map +0 -1
  486. package/lib/constants/AutoBeSystemPromptConstant.js.map +0 -1
  487. package/lib/context/AutoBeContext.js.map +0 -1
  488. package/lib/context/AutoBeState.js.map +0 -1
  489. package/lib/context/AutoBeTokenUsage.js +0 -61
  490. package/lib/context/AutoBeTokenUsage.js.map +0 -1
  491. package/lib/context/IAutoBeApplication.js.map +0 -1
  492. package/lib/context/IAutoBeApplicationProps.js.map +0 -1
  493. package/lib/context/IAutoBeApplicationResult.js.map +0 -1
  494. package/lib/context/assertSchemaModel.js.map +0 -1
  495. package/lib/factory/createAgenticaHistory.js.map +0 -1
  496. package/lib/factory/createAutoBeApplication.js.map +0 -1
  497. package/lib/factory/createAutoBeState.js.map +0 -1
  498. package/lib/factory/getAutoBeGenerated.js.map +0 -1
  499. package/lib/factory/index.js.map +0 -1
  500. package/lib/index.js.map +0 -1
  501. package/lib/orchestrate/analyze/AutoBeAnalyzeFileSystem.d.ts +0 -45
  502. package/lib/orchestrate/analyze/AutoBeAnalyzeFileSystem.js +0 -27
  503. package/lib/orchestrate/analyze/AutoBeAnalyzeFileSystem.js.map +0 -1
  504. package/lib/orchestrate/analyze/AutoBeAnalyzePointer.d.ts +0 -9
  505. package/lib/orchestrate/analyze/AutoBeAnalyzePointer.js +0 -3
  506. package/lib/orchestrate/analyze/AutoBeAnalyzePointer.js.map +0 -1
  507. package/lib/orchestrate/analyze/orchestrateAnalyze.js +0 -125
  508. package/lib/orchestrate/analyze/orchestrateAnalyze.js.map +0 -1
  509. package/lib/orchestrate/analyze/orchestrateAnalyzeComposer.d.ts +0 -5
  510. package/lib/orchestrate/analyze/orchestrateAnalyzeComposer.js +0 -561
  511. package/lib/orchestrate/analyze/orchestrateAnalyzeComposer.js.map +0 -1
  512. package/lib/orchestrate/analyze/orchestrateAnalyzeReviewer.d.ts +0 -12
  513. package/lib/orchestrate/analyze/orchestrateAnalyzeReviewer.js +0 -395
  514. package/lib/orchestrate/analyze/orchestrateAnalyzeReviewer.js.map +0 -1
  515. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js +0 -347
  516. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js.map +0 -1
  517. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeComposerApplication.d.ts +0 -68
  518. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeComposerApplication.js +0 -3
  519. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeComposerApplication.js.map +0 -1
  520. package/lib/orchestrate/analyze/transformAnalyzeReviewerHistories.d.ts +0 -5
  521. package/lib/orchestrate/analyze/transformAnalyzeReviewerHistories.js +0 -27
  522. package/lib/orchestrate/analyze/transformAnalyzeReviewerHistories.js.map +0 -1
  523. package/lib/orchestrate/analyze/transformAnalyzeWriteHistories.d.ts +0 -12
  524. package/lib/orchestrate/analyze/transformAnalyzeWriteHistories.js +0 -78
  525. package/lib/orchestrate/analyze/transformAnalyzeWriteHistories.js.map +0 -1
  526. package/lib/orchestrate/analyze/writeDocumentUntilReviewPassed.d.ts +0 -16
  527. package/lib/orchestrate/analyze/writeDocumentUntilReviewPassed.js +0 -79
  528. package/lib/orchestrate/analyze/writeDocumentUntilReviewPassed.js.map +0 -1
  529. package/lib/orchestrate/facade/transformFacadeStateMessage.js.map +0 -1
  530. package/lib/orchestrate/index.js.map +0 -1
  531. package/lib/orchestrate/interface/histories/transformInterfaceAssetHistories.js.map +0 -1
  532. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.js +0 -62
  533. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.js.map +0 -1
  534. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.js +0 -28
  535. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.js.map +0 -1
  536. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.js +0 -28
  537. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.js.map +0 -1
  538. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.js +0 -28
  539. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.js.map +0 -1
  540. package/lib/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.js.map +0 -1
  541. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.js +0 -28
  542. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.js.map +0 -1
  543. package/lib/orchestrate/interface/orchestrateInterface.js.map +0 -1
  544. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js.map +0 -1
  545. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +0 -1
  546. package/lib/orchestrate/interface/orchestrateInterfaceGroups.js.map +0 -1
  547. package/lib/orchestrate/interface/orchestrateInterfaceOperations.js.map +0 -1
  548. package/lib/orchestrate/interface/orchestrateInterfaceSchemas.js.map +0 -1
  549. package/lib/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.js.map +0 -1
  550. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.js.map +0 -1
  551. package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.js.map +0 -1
  552. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.js.map +0 -1
  553. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.js.map +0 -1
  554. package/lib/orchestrate/interface/utils/OpenApiEndpointComparator.js.map +0 -1
  555. package/lib/orchestrate/prisma/orchestratePrisma.js.map +0 -1
  556. package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +0 -1
  557. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +0 -1
  558. package/lib/orchestrate/prisma/orchestratePrismaSchemas.js.map +0 -1
  559. package/lib/orchestrate/prisma/transformPrismaComponentsHistories.js.map +0 -1
  560. package/lib/orchestrate/prisma/transformPrismaCorrectHistories.js.map +0 -1
  561. package/lib/orchestrate/prisma/transformPrismaHistories.d.ts +0 -3
  562. package/lib/orchestrate/prisma/transformPrismaHistories.js +0 -55
  563. package/lib/orchestrate/prisma/transformPrismaHistories.js.map +0 -1
  564. package/lib/orchestrate/prisma/transformPrismaSchemaHistories.js +0 -48
  565. package/lib/orchestrate/prisma/transformPrismaSchemaHistories.js.map +0 -1
  566. package/lib/orchestrate/realize/ProviderCodeComparator.js.map +0 -1
  567. package/lib/orchestrate/realize/RealizePipe.js +0 -14
  568. package/lib/orchestrate/realize/RealizePipe.js.map +0 -1
  569. package/lib/orchestrate/realize/orchestrateRealize.js +0 -74
  570. package/lib/orchestrate/realize/orchestrateRealize.js.map +0 -1
  571. package/lib/orchestrate/realize/orchestrateRealizeAuthorization.js.map +0 -1
  572. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js.map +0 -1
  573. package/lib/orchestrate/realize/orchestrateRealizeCoder.d.ts +0 -26
  574. package/lib/orchestrate/realize/orchestrateRealizeCoder.js +0 -420
  575. package/lib/orchestrate/realize/orchestrateRealizeCoder.js.map +0 -1
  576. package/lib/orchestrate/realize/orchestrateRealizePlanner.js.map +0 -1
  577. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.js.map +0 -1
  578. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js.map +0 -1
  579. package/lib/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.js.map +0 -1
  580. package/lib/orchestrate/realize/structures/IAutoBeRealizeCompile.js.map +0 -1
  581. package/lib/orchestrate/realize/structures/IAutoBeRealizeFailedSymbol.js.map +0 -1
  582. package/lib/orchestrate/realize/transformRealizeAuthorization.d.ts +0 -4
  583. package/lib/orchestrate/realize/transformRealizeAuthorization.js +0 -39
  584. package/lib/orchestrate/realize/transformRealizeAuthorization.js.map +0 -1
  585. package/lib/orchestrate/realize/transformRealizeAuthorizationCorrectHistories.d.ts +0 -5
  586. package/lib/orchestrate/realize/transformRealizeAuthorizationCorrectHistories.js +0 -80
  587. package/lib/orchestrate/realize/transformRealizeAuthorizationCorrectHistories.js.map +0 -1
  588. package/lib/orchestrate/realize/transformRealizeCoderHistories.d.ts +0 -7
  589. package/lib/orchestrate/realize/transformRealizeCoderHistories.js.map +0 -1
  590. package/lib/orchestrate/realize/utils/AuthorizationFileSystem.js.map +0 -1
  591. package/lib/orchestrate/realize/utils/AutoBeRealizeAuthorizationFileSystem.js.map +0 -1
  592. package/lib/orchestrate/realize/utils/AutoBeRealizeAuthorizationReplaceImport.js.map +0 -1
  593. package/lib/orchestrate/realize/utils/InternalFileSystem.js.map +0 -1
  594. package/lib/orchestrate/realize/utils/ProviderFileSystem.js.map +0 -1
  595. package/lib/orchestrate/realize/utils/replaceImportStatements.js.map +0 -1
  596. package/lib/orchestrate/realize/writeCodeUntilCompilePassed.d.ts +0 -11
  597. package/lib/orchestrate/realize/writeCodeUntilCompilePassed.js +0 -221
  598. package/lib/orchestrate/realize/writeCodeUntilCompilePassed.js.map +0 -1
  599. package/lib/orchestrate/test/compile/completeTestCode.js.map +0 -1
  600. package/lib/orchestrate/test/compile/filterTestFileName.js.map +0 -1
  601. package/lib/orchestrate/test/compile/getTestExternalDeclarations.js.map +0 -1
  602. package/lib/orchestrate/test/compile/getTestScenarioArtifacts.js.map +0 -1
  603. package/lib/orchestrate/test/orchestrateTest.js.map +0 -1
  604. package/lib/orchestrate/test/orchestrateTestCorrect.js.map +0 -1
  605. package/lib/orchestrate/test/orchestrateTestScenario.js +0 -866
  606. package/lib/orchestrate/test/orchestrateTestScenario.js.map +0 -1
  607. package/lib/orchestrate/test/orchestrateTestWrite.js.map +0 -1
  608. package/lib/orchestrate/test/structures/IAutoBeTestCorrectApplication.js.map +0 -1
  609. package/lib/orchestrate/test/structures/IAutoBeTestFunction.js.map +0 -1
  610. package/lib/orchestrate/test/structures/IAutoBeTestScenarioApplication.js.map +0 -1
  611. package/lib/orchestrate/test/structures/IAutoBeTestScenarioArtifacts.js.map +0 -1
  612. package/lib/orchestrate/test/structures/IAutoBeTestWriteApplication.js.map +0 -1
  613. package/lib/orchestrate/test/structures/IAutoBeTestWriteResult.js.map +0 -1
  614. package/lib/orchestrate/test/transformTestCorrectHistories.js.map +0 -1
  615. package/lib/orchestrate/test/transformTestHistories.js.map +0 -1
  616. package/lib/orchestrate/test/transformTestScenarioHistories.d.ts +0 -3
  617. package/lib/orchestrate/test/transformTestScenarioHistories.js +0 -100
  618. package/lib/orchestrate/test/transformTestScenarioHistories.js.map +0 -1
  619. package/lib/orchestrate/test/transformTestWriteHistories.js +0 -178
  620. package/lib/orchestrate/test/transformTestWriteHistories.js.map +0 -1
  621. package/lib/structures/IAutoBeConfig.js.map +0 -1
  622. package/lib/structures/IAutoBeProps.js.map +0 -1
  623. package/lib/structures/IAutoBeVendor.js.map +0 -1
  624. package/lib/utils/arrayToRecord.js.map +0 -1
  625. package/lib/utils/backoffRetry.js.map +0 -1
  626. package/lib/utils/divideArray.js.map +0 -1
  627. package/lib/utils/emplaceMap.js.map +0 -1
  628. package/lib/utils/enforceToolCall.d.ts +0 -3
  629. package/lib/utils/enforceToolCall.js +0 -13
  630. package/lib/utils/enforceToolCall.js.map +0 -1
  631. package/lib/utils/forceRetry.d.ts +0 -1
  632. package/lib/utils/forceRetry.js +0 -26
  633. package/lib/utils/forceRetry.js.map +0 -1
  634. package/lib/utils/pipe.js.map +0 -1
  635. package/src/orchestrate/analyze/AutoBeAnalyzeFileSystem.ts +0 -58
  636. package/src/orchestrate/analyze/AutoBeAnalyzePointer.ts +0 -10
  637. package/src/orchestrate/analyze/orchestrateAnalyzeComposer.ts +0 -112
  638. package/src/orchestrate/analyze/orchestrateAnalyzeReviewer.ts +0 -131
  639. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeComposerApplication.ts +0 -75
  640. package/src/orchestrate/analyze/transformAnalyzeReviewerHistories.ts +0 -31
  641. package/src/orchestrate/analyze/transformAnalyzeWriteHistories.ts +0 -94
  642. package/src/orchestrate/analyze/writeDocumentUntilReviewPassed.ts +0 -96
  643. package/src/orchestrate/prisma/transformPrismaHistories.ts +0 -59
  644. package/src/orchestrate/realize/RealizePipe.ts +0 -39
  645. package/src/orchestrate/realize/orchestrateRealizeCoder.ts +0 -182
  646. package/src/orchestrate/realize/writeCodeUntilCompilePassed.ts +0 -308
  647. package/src/orchestrate/test/transformTestScenarioHistories.ts +0 -105
  648. package/src/utils/enforceToolCall.ts +0 -13
  649. package/src/utils/forceRetry.ts +0 -13
  650. /package/lib/{AutoBeAgentBase.js → agent/src/AutoBeAgentBase.js} +0 -0
  651. /package/lib/{constants → agent/src/constants}/AutoBeSystemPromptConstant.js +0 -0
  652. /package/lib/{context → agent/src/context}/AutoBeContext.js +0 -0
  653. /package/lib/{context → agent/src/context}/AutoBeState.js +0 -0
  654. /package/lib/{context → agent/src/context}/IAutoBeApplication.js +0 -0
  655. /package/lib/{context → agent/src/context}/IAutoBeApplicationProps.js +0 -0
  656. /package/lib/{context → agent/src/context}/IAutoBeApplicationResult.js +0 -0
  657. /package/lib/{context → agent/src/context}/assertSchemaModel.js +0 -0
  658. /package/lib/{factory → agent/src/factory}/createAgenticaHistory.js +0 -0
  659. /package/lib/{factory → agent/src/factory}/createAutoBeState.js +0 -0
  660. /package/lib/{factory → agent/src/factory}/index.js +0 -0
  661. /package/lib/{orchestrate → agent/src/orchestrate}/facade/transformFacadeStateMessage.js +0 -0
  662. /package/lib/{orchestrate → agent/src/orchestrate}/index.js +0 -0
  663. /package/lib/{orchestrate → agent/src/orchestrate}/interface/histories/transformInterfaceAssetHistories.js +0 -0
  664. /package/lib/{orchestrate → agent/src/orchestrate}/interface/histories/transformInterfacePrerequisiteHistories.js +0 -0
  665. /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceComplementApplication.js +0 -0
  666. /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceEndpointApplication.js +0 -0
  667. /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceGroupApplication.js +0 -0
  668. /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceOperationApplication.js +0 -0
  669. /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceSchemaApplication.js +0 -0
  670. /package/lib/{orchestrate → agent/src/orchestrate}/interface/utils/OpenApiEndpointComparator.js +0 -0
  671. /package/lib/{orchestrate/prisma → agent/src/orchestrate/prisma/histories}/transformPrismaCorrectHistories.d.ts +0 -0
  672. /package/lib/{orchestrate → agent/src/orchestrate}/realize/ProviderCodeComparator.js +0 -0
  673. /package/lib/{orchestrate/realize → agent/src/orchestrate/realize/histories}/transformRealizeCoderHistories.js +0 -0
  674. /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeAuthorizationApplication.js +0 -0
  675. /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js +0 -0
  676. /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeCoderApplication.js +0 -0
  677. /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeCompile.js +0 -0
  678. /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeFailedSymbol.js +0 -0
  679. /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/AuthorizationFileSystem.js +0 -0
  680. /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/AutoBeRealizeAuthorizationFileSystem.js +0 -0
  681. /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/AutoBeRealizeAuthorizationReplaceImport.js +0 -0
  682. /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/InternalFileSystem.js +0 -0
  683. /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/ProviderFileSystem.js +0 -0
  684. /package/lib/{orchestrate → agent/src/orchestrate}/test/compile/completeTestCode.js +0 -0
  685. /package/lib/{orchestrate → agent/src/orchestrate}/test/compile/filterTestFileName.js +0 -0
  686. /package/lib/{orchestrate → agent/src/orchestrate}/test/compile/getTestExternalDeclarations.js +0 -0
  687. /package/lib/{orchestrate → agent/src/orchestrate}/test/compile/getTestScenarioArtifacts.js +0 -0
  688. /package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestCorrectHistories.js +0 -0
  689. /package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestHistories.js +0 -0
  690. /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestCorrectApplication.js +0 -0
  691. /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestFunction.js +0 -0
  692. /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestScenarioApplication.js +0 -0
  693. /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestScenarioArtifacts.js +0 -0
  694. /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestWriteApplication.js +0 -0
  695. /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestWriteResult.js +0 -0
  696. /package/lib/{structures → agent/src/structures}/IAutoBeConfig.js +0 -0
  697. /package/lib/{structures → agent/src/structures}/IAutoBeProps.js +0 -0
  698. /package/lib/{structures → agent/src/structures}/IAutoBeVendor.js +0 -0
  699. /package/lib/{utils → agent/src/utils}/arrayToRecord.js +0 -0
  700. /package/lib/{utils → agent/src/utils}/backoffRetry.js +0 -0
  701. /package/lib/{utils → agent/src/utils}/divideArray.js +0 -0
  702. /package/lib/{utils → agent/src/utils}/emplaceMap.js +0 -0
  703. /package/lib/{utils → agent/src/utils}/pipe.js +0 -0
@@ -0,0 +1,108 @@
1
+ import { tags } from "typia";
2
+ export interface IAutoBeInterfaceGroupApplication {
3
+ /**
4
+ * Generate logical groups for organizing API endpoint creation based on
5
+ * Prisma schema structure.
6
+ *
7
+ * Groups MUST be derived from Prisma schema organization (namespaces, file
8
+ * structure, table prefixes) rather than arbitrary business domains. Only
9
+ * create new groups when existing schema structure cannot adequately cover
10
+ * all requirements.
11
+ *
12
+ * @param props Properties containing the groups to be created for API
13
+ * organization
14
+ */
15
+ makeGroups(props: IAutoBeInterfaceGroupApplication.IProps): void;
16
+ }
17
+ export declare namespace IAutoBeInterfaceGroupApplication {
18
+ interface IProps {
19
+ /**
20
+ * Array of API endpoint groups for organizing development.
21
+ *
22
+ * Groups MUST be organized around existing Prisma schema structure and
23
+ * provide complete coverage of all entities and requirements without
24
+ * overlap.
25
+ */
26
+ groups: IGroup[] & tags.MinItems<1>;
27
+ }
28
+ /**
29
+ * Definition of a logical API endpoint group based on Prisma schema
30
+ * organization.
31
+ *
32
+ * **SCHEMA-BASED GROUP REQUIREMENTS:**
33
+ *
34
+ * Groups MUST be derived from the Prisma schema structure rather than
35
+ * arbitrary business domain names. This ensures consistency with the
36
+ * underlying data model and prevents misalignment between API organization
37
+ * and database structure.
38
+ *
39
+ * **Primary Group Sources (in order of priority):**
40
+ *
41
+ * 1. **Prisma Schema Namespaces**: Use namespace names (e.g., `namespace
42
+ * Shopping` → "Shopping")
43
+ * 2. **Schema File Names**: Derive from file names (e.g., `shopping.prisma` →
44
+ * "Shopping")
45
+ * 3. **Table Prefix Patterns**: Use consistent prefixes (e.g., `shopping_orders`
46
+ * → "Shopping")
47
+ * 4. **Schema Comments/Annotations**: Follow organizational comments in schema
48
+ *
49
+ * **Group Creation Guidelines:**
50
+ *
51
+ * - Each group must cover specific Prisma schema entities without overlap
52
+ * - Size groups appropriately for manageable endpoint generation cycles
53
+ * - Maintain clear boundaries based on schema organization
54
+ * - Ensure complete coverage of all database entities and requirements
55
+ * - Related database tables within the same schema area should be grouped
56
+ * together
57
+ *
58
+ * **When to Create Schema-Independent Groups:**
59
+ *
60
+ * Only create groups that don't correspond to Prisma schema organization
61
+ * when:
62
+ *
63
+ * - Requirements include functionality not represented in any schema entity
64
+ * - Cross-cutting concerns span multiple schema areas
65
+ * - Integration operations don't map to specific database entities
66
+ * - System-level functionality requires dedicated API operations
67
+ *
68
+ * **Naming Standards:**
69
+ *
70
+ * - Use PascalCase format (e.g., "Shopping", "BBS", "UserManagement")
71
+ * - Names MUST directly reflect Prisma schema structure
72
+ * - Keep names concise and schema-derived
73
+ * - Avoid arbitrary business domain names
74
+ * - Maintain consistency with schema organization
75
+ *
76
+ * **Quality Requirements:**
77
+ *
78
+ * - Groups collectively must cover ALL entities and requirements
79
+ * - Each database entity belongs to exactly one group
80
+ * - Clear mapping to specific Prisma schema elements
81
+ * - Balance group sizes within schema constraints
82
+ * - Follow existing schema namespace or file structure patterns
83
+ */
84
+ interface IGroup {
85
+ /**
86
+ * Unique identifier name derived from Prisma schema structure.
87
+ *
88
+ * Must correspond to schema namespaces, file names, table prefixes, or
89
+ * organizational annotations rather than arbitrary business domain names.
90
+ */
91
+ name: string & tags.MinLength<1>;
92
+ /**
93
+ * Comprehensive description of the group's scope, schema foundation, and
94
+ * purpose.
95
+ *
96
+ * **Required Content:**
97
+ *
98
+ * 1. Schema Foundation: Identify the Prisma schema elements defining this
99
+ * group
100
+ * 2. Database Entities: List specific tables and entities from the schema
101
+ * 3. Functional Scope: Detail operations and workflows for schema entities
102
+ * 4. Schema Relationships: Describe table relationships and dependencies
103
+ * 5. Key Operations: Outline main operation types (CRUD, business processes)
104
+ * 6. Requirements Mapping: Explain how requirements map to schema entities
105
+ */
106
+ description: string & tags.MinLength<1>;
107
+ }
108
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAutoBeInterfaceGroupApplication.js","sourceRoot":"","sources":["../../../../../../src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.ts"],"names":[],"mappings":""}
@@ -0,0 +1,126 @@
1
+ import { AutoBeOpenApi, CamelPattern } from "@autobe/interface";
2
+ import { tags } from "typia";
3
+ export interface IAutoBeInterfaceOperationApplication {
4
+ /**
5
+ * Generate detailed API operations from path/method combinations.
6
+ *
7
+ * This function creates complete API operations following REST principles and
8
+ * quality standards. Each generated operation includes specification, path,
9
+ * method, detailed multi-paragraph description, concise summary, parameters,
10
+ * and appropriate request/response bodies.
11
+ *
12
+ * The function processes as many operations as possible in a single call,
13
+ * with progress tracking to ensure iterative completion of all required
14
+ * endpoints.
15
+ *
16
+ * @param props Properties containing the operations to generate.
17
+ */
18
+ makeOperations(props: IAutoBeInterfaceOperationApplication.IProps): void;
19
+ }
20
+ export declare namespace IAutoBeInterfaceOperationApplication {
21
+ interface IProps {
22
+ /**
23
+ * Array of API operations to generate.
24
+ *
25
+ * Each operation in this array must include:
26
+ *
27
+ * - Specification: Detailed API specification with clear purpose and
28
+ * functionality
29
+ * - Path: Resource-centric URL path (e.g., "/resources/{resourceId}")
30
+ * - Method: HTTP method (get, post, put, delete, patch)
31
+ * - Description: Extremely detailed multi-paragraph description referencing
32
+ * Prisma schema comments
33
+ * - Summary: Concise one-sentence summary of the endpoint
34
+ * - Parameters: Array of all necessary parameters with descriptions and
35
+ * schema definitions
36
+ * - RequestBody: For POST/PUT/PATCH methods, with typeName referencing
37
+ * components.schemas
38
+ * - ResponseBody: With typeName referencing appropriate response type
39
+ *
40
+ * All operations must follow strict quality standards:
41
+ *
42
+ * 1. Detailed descriptions referencing Prisma schema comments
43
+ * 2. Accurate parameter definitions matching path parameters
44
+ * 3. Appropriate request/response body type references
45
+ * 4. Consistent patterns for CRUD operations
46
+ *
47
+ * For list retrievals (typically PATCH), include pagination, search, and
48
+ * sorting. For detail retrieval (GET), return a single resource. For
49
+ * creation (POST), use .ICreate request body. For modification (PUT), use
50
+ * .IUpdate request body.
51
+ */
52
+ operations: IOperation[];
53
+ }
54
+ /**
55
+ * Operation of the Restful API.
56
+ *
57
+ * This interface defines a single API endpoint with its HTTP {@link method},
58
+ * {@link path}, {@link parameters path parameters},
59
+ * {@link requestBody request body}, and {@link responseBody} structure. It
60
+ * corresponds to an individual operation in the paths section of an OpenAPI
61
+ * document.
62
+ *
63
+ * Each operation requires a detailed explanation of its purpose through the
64
+ * reason and description fields, making it clear why the API was designed and
65
+ * how it should be used.
66
+ *
67
+ * All request bodies and responses for this operation must be object types
68
+ * and must reference named types defined in the components section. The
69
+ * content-type is always `application/json`. For file upload/download
70
+ * operations, use `string & tags.Format<"uri">` in the appropriate schema
71
+ * instead of binary data formats.
72
+ *
73
+ * In OpenAPI, this might represent:
74
+ *
75
+ * ```json
76
+ * {
77
+ * "/shoppings/customers/orders": {
78
+ * "post": {
79
+ * "description": "Create a new order application from shopping cart...",
80
+ * "parameters": [...],
81
+ * "requestBody": {...},
82
+ * "responses": {...}
83
+ * }
84
+ * }
85
+ * }
86
+ * ```
87
+ */
88
+ interface IOperation extends Omit<AutoBeOpenApi.IOperation, "authorizationRole"> {
89
+ /**
90
+ * Authorization roles required to access this API operation.
91
+ *
92
+ * This field specifies which user roles are allowed to access this
93
+ * endpoint. Multiple roles can be specified to allow different types of
94
+ * users to access the same endpoint.
95
+ *
96
+ * ## Naming Convention
97
+ *
98
+ * All role names MUST use camelCase.
99
+ *
100
+ * ## Important Guidelines
101
+ *
102
+ * - Set to empty array `[]` for public endpoints that require no
103
+ * authentication
104
+ * - Set to array with role strings for role-restricted endpoints
105
+ * - The role names MUST match exactly with the user type/role defined in the
106
+ * database
107
+ * - This will be used by the Realize Agent to generate appropriate decorator
108
+ * and authorization logic in the provider functions
109
+ * - The controller will apply the corresponding authentication decorator
110
+ * based on these roles
111
+ *
112
+ * ## Examples
113
+ *
114
+ * - `[]` - Public endpoint, no authentication required
115
+ * - `["user"]` - Any authenticated user can access
116
+ * - `["admin"]` - Only admin users can access
117
+ * - `["admin", "moderator"]` - Both admin and moderator users can access
118
+ * - `["seller"]` - Only seller users can access
119
+ *
120
+ * Note: The actual authentication/authorization implementation will be
121
+ * handled by decorators at the controller level, and the provider function
122
+ * will receive the authenticated user object with the appropriate type.
123
+ */
124
+ authorizationRoles: Array<string & CamelPattern & tags.MinLength<1>>;
125
+ }
126
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAutoBeInterfaceOperationApplication.js","sourceRoot":"","sources":["../../../../../../src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts"],"names":[],"mappings":""}
@@ -0,0 +1,96 @@
1
+ import { AutoBeOpenApi } from "@autobe/interface";
2
+ /**
3
+ * Application interface for reviewing and validating API operations.
4
+ *
5
+ * Provides functionality to systematically review generated API operations
6
+ * against business requirements, technical specifications, and OpenAPI
7
+ * standards. The review process ensures each operation meets quality criteria
8
+ * before proceeding to implementation.
9
+ */
10
+ export interface IAutoBeInterfaceOperationsReviewApplication {
11
+ /**
12
+ * Reviews a batch of API operations for quality and correctness.
13
+ *
14
+ * Validates each operation's request/response schemas, authentication
15
+ * handling, error responses, and documentation completeness. Operations are
16
+ * marked as passed or failed based on compliance with enterprise standards.
17
+ *
18
+ * @param input Collection of operations to review with their validation
19
+ * results
20
+ */
21
+ reviewOperations(input: IAutoBeInterfaceOperationsReviewApplication.IProps): void;
22
+ }
23
+ export declare namespace IAutoBeInterfaceOperationsReviewApplication {
24
+ /**
25
+ * Properties for API operation review and improvement process.
26
+ *
27
+ * Contains both the input operations to be reviewed and the outputs generated
28
+ * by the Interface Operations Review Agent, which will be published as part
29
+ * of the AutoBeInterfaceOperationsReviewEvent.
30
+ */
31
+ interface IProps {
32
+ /**
33
+ * Comprehensive review analysis with prioritized findings.
34
+ *
35
+ * Systematic assessment organized by severity levels (CRITICAL, HIGH,
36
+ * MEDIUM, LOW):
37
+ *
38
+ * - **Security Analysis**: Authentication boundary violations, exposed
39
+ * passwords/tokens, unauthorized data access patterns, SQL injection
40
+ * risks
41
+ * - **Logic Validation**: Return type consistency (list operations returning
42
+ * arrays, single retrieval returning single items), HTTP method semantics
43
+ * alignment, parameter usage verification
44
+ * - **Schema Compliance**: Field existence in Prisma schema, type accuracy,
45
+ * relationship validity, required field handling
46
+ * - **Quality Assessment**: Documentation completeness, naming conventions,
47
+ * error handling patterns, pagination standards
48
+ *
49
+ * Each finding includes specific examples, current vs expected behavior,
50
+ * and concrete fix recommendations. Critical security issues and logical
51
+ * contradictions are highlighted for immediate attention.
52
+ */
53
+ review: string;
54
+ /**
55
+ * Prioritized action plan for identified issues.
56
+ *
57
+ * Structured improvement strategy categorized by severity:
58
+ *
59
+ * - **Immediate Actions (CRITICAL)**: Security vulnerabilities that must be
60
+ * fixed before production (password exposure, missing authorization,
61
+ * authentication bypass risks)
62
+ * - **Required Fixes (HIGH)**: Functional issues affecting API correctness
63
+ * (wrong return types, missing required fields, schema mismatches)
64
+ * - **Recommended Improvements (MEDIUM)**: Quality enhancements for better
65
+ * API design (validation rules, format specifications, consistency)
66
+ * - **Optional Enhancements (LOW)**: Documentation and usability improvements
67
+ *
68
+ * If all operations pass review without issues, contains: "No improvements
69
+ * required. All operations meet AutoBE standards."
70
+ *
71
+ * Each action item includes the specific operation path, the exact change
72
+ * needed, and the rationale for the modification.
73
+ */
74
+ plan: string;
75
+ /**
76
+ * Production-ready operations with all critical issues resolved.
77
+ *
78
+ * Final API operations after systematic enhancement:
79
+ *
80
+ * - **Security Fixes Applied**: All authentication boundaries enforced,
81
+ * sensitive data removed from responses, proper authorization
82
+ * implemented
83
+ * - **Logic Corrections Made**: Return types match operation intent, HTTP
84
+ * methods align with semantics, parameters properly utilized
85
+ * - **Schema Alignment Verified**: All fields exist in Prisma schema, types
86
+ * correctly mapped, relationships properly defined
87
+ * - **Quality Improvements Added**: Enhanced documentation, format
88
+ * specifications, validation rules, consistent naming patterns
89
+ *
90
+ * If no issues were found during review, this contains the exact original
91
+ * operations unchanged. These operations are validated and ready for schema
92
+ * generation and subsequent implementation phases.
93
+ */
94
+ content: AutoBeOpenApi.IOperation[];
95
+ }
96
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IAutoBeInterfaceOperationsReviewApplication.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAutoBeInterfaceOperationsReviewApplication.js","sourceRoot":"","sources":["../../../../../../src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.ts"],"names":[],"mappings":""}
@@ -0,0 +1,75 @@
1
+ import { AutoBeOpenApi } from "@autobe/interface";
2
+ export interface IAutoBeInterfaceSchemaApplication {
3
+ /**
4
+ * Generate OpenAPI components containing named schema types.
5
+ *
6
+ * This method receives a complete set of schema components and integrates
7
+ * them into the final OpenAPI specification. It processes all entity schemas,
8
+ * their variants, and related type definitions to ensure a comprehensive and
9
+ * consistent API design.
10
+ *
11
+ * The provided components should include schemas for all entities identified
12
+ * in the previous phases of API path/method definition and operation
13
+ * creation. This ensures that the final OpenAPI document has complete type
14
+ * coverage for all operations.
15
+ *
16
+ * CRITICAL: All schema definitions must follow the established naming
17
+ * conventions (IEntityName, IEntityName.ICreate, etc.) and must be thoroughly
18
+ * documented with descriptions that reference the original Prisma schema
19
+ * comments.
20
+ *
21
+ * @param props Properties containing components to generate.
22
+ */
23
+ makeComponents(props: IAutoBeInterfaceSchemaApplication.IProps): void;
24
+ }
25
+ export declare namespace IAutoBeInterfaceSchemaApplication {
26
+ interface IProps {
27
+ /**
28
+ * Complete set of schema components for the OpenAPI specification.
29
+ *
30
+ * This property contains comprehensive type definitions for all entities in
31
+ * the system. It is the central repository of all named schema types that
32
+ * will be used throughout the API specification.
33
+ *
34
+ * CRITICAL REQUIREMENT: All object types MUST be defined as named types in
35
+ * the components.schemas section. Inline anonymous object definitions are
36
+ * strictly prohibited.
37
+ *
38
+ * This components object should include:
39
+ *
40
+ * - Main entity types (IEntityName)
41
+ * - Operation-specific variants (.ICreate, .IUpdate, .ISummary, etc.)
42
+ * - Container types (IPage<T> for pagination)
43
+ * - Enumeration types
44
+ *
45
+ * All schema definitions must include detailed descriptions that reference
46
+ * the original Prisma schema comments and thoroughly document each
47
+ * property. Every property that references an object must use a $ref to a
48
+ * named type in the components.schemas section. This applies to all objects
49
+ * in request bodies, response bodies, and properties that are objects or
50
+ * arrays of objects.
51
+ *
52
+ * Example structure:
53
+ *
54
+ * ```typescript
55
+ * {
56
+ * schemas: {
57
+ * IUser: {
58
+ * type: "object",
59
+ * properties: {
60
+ * id: { type: "string", format: "uuid" },
61
+ * email: { type: "string", format: "email" },
62
+ * profile: { "$ref": "#/components/schemas/IUserProfile" }
63
+ * },
64
+ * required: ["id", "email"],
65
+ * description: "User entity representing system account holders..."
66
+ * },
67
+ * "IUser.ICreate": { ... },
68
+ * // Additional schemas
69
+ * }
70
+ * }
71
+ * ```
72
+ */
73
+ schemas: Record<string, AutoBeOpenApi.IJsonSchemaDescriptive>;
74
+ }
75
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAutoBeInterfaceSchemaApplication.js","sourceRoot":"","sources":["../../../../../../src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.ts"],"names":[],"mappings":""}
@@ -0,0 +1,91 @@
1
+ import { AutoBeOpenApi } from "@autobe/interface";
2
+ export interface IAutoBeInterfaceSchemasReviewApplication {
3
+ /**
4
+ * Analyzes and improves OpenAPI schema definitions.
5
+ *
6
+ * This function receives schema definitions and performs comprehensive review
7
+ * and enhancement. It identifies issues, creates an improvement plan, and
8
+ * produces refined schemas that meet quality standards.
9
+ *
10
+ * The function populates three key outputs:
11
+ *
12
+ * - A detailed review of findings organized by severity
13
+ * - An actionable plan for improvements
14
+ * - Enhanced schemas with all issues resolved
15
+ *
16
+ * @param props Contains review findings, improvement plan, and enhanced
17
+ * schemas
18
+ */
19
+ review: (props: IAutoBeInterfaceSchemasReviewApplication.IProps) => void;
20
+ }
21
+ export declare namespace IAutoBeInterfaceSchemasReviewApplication {
22
+ /**
23
+ * Schema review and enhancement parameters for the review function.
24
+ *
25
+ * When the review function is called, these properties must be populated to
26
+ * complete the schema validation and improvement process. The LLM uses this
27
+ * interface to understand what outputs are required.
28
+ */
29
+ interface IProps {
30
+ /**
31
+ * Issues and problems found during schema analysis.
32
+ *
33
+ * IMPORTANT: Only document problems that need fixing. Do NOT include:
34
+ *
35
+ * - Positive feedback about what's already correct
36
+ * - Compliments about well-structured schemas
37
+ * - Confirmation that certain aspects meet standards
38
+ *
39
+ * Focus exclusively on issues organized by severity:
40
+ *
41
+ * - CRITICAL: Security vulnerabilities (exposed passwords, missing auth
42
+ * boundaries)
43
+ * - HIGH: Missing required variants, incorrect type mappings
44
+ * - MEDIUM: Missing format specifications, incomplete relationships
45
+ * - LOW: Documentation improvements, style consistency
46
+ *
47
+ * Each issue must include the specific schema name and what needs to be
48
+ * fixed. If there are no issues at all, simply state: "No issues found."
49
+ */
50
+ review: string;
51
+ /**
52
+ * Action plan for addressing identified issues.
53
+ *
54
+ * Must specify concrete fixes categorized by priority:
55
+ *
56
+ * - For perfect schemas: "No improvements required. All schemas meet AutoBE
57
+ * standards."
58
+ * - For fixable issues: List each fix with operation path and exact change
59
+ * - For critical problems: Describe how schemas were recreated or corrected
60
+ *
61
+ * Never leave this empty. Always provide a clear plan even if no changes
62
+ * are needed. The plan documents what was done to produce the content
63
+ * field.
64
+ */
65
+ plan: string;
66
+ /**
67
+ * Final validated and enhanced schemas ready for production use.
68
+ *
69
+ * CRITICAL REQUIREMENTS:
70
+ *
71
+ * - MUST NEVER be an empty object {}
72
+ * - MUST contain valid OpenAPI schema definitions
73
+ * - MUST include all entities that were in the original input
74
+ * - If original schemas have critical issues, MUST contain fixed versions
75
+ * - If entity names are wrong, MUST contain renamed correct versions
76
+ * - If schemas are missing variants, MUST include the created variants
77
+ *
78
+ * FORBIDDEN:
79
+ *
80
+ * - Empty object {} will cause all schemas to be deleted
81
+ * - Returning undefined or null
82
+ * - Including explanations or excuses in schema descriptions
83
+ * - Leaving broken schemas unfixed
84
+ *
85
+ * When original schemas are beyond repair, recreate them properly based on
86
+ * entity names and context. This field becomes the final schemas used by
87
+ * the system, so it must always contain complete, valid schemas.
88
+ */
89
+ content: Record<string, AutoBeOpenApi.IJsonSchemaDescriptive<AutoBeOpenApi.IJsonSchema>>;
90
+ }
91
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IAutobeInterfaceSchemasReviewApplication.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAutobeInterfaceSchemasReviewApplication.js","sourceRoot":"","sources":["../../../../../../src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { AutoBeOpenApi } from "@autobe/interface";
2
+ export declare namespace OpenApiEndpointComparator {
3
+ function hashCode(e: AutoBeOpenApi.IEndpoint): number;
4
+ function equals(x: AutoBeOpenApi.IEndpoint, y: AutoBeOpenApi.IEndpoint): boolean;
5
+ function compare(x: AutoBeOpenApi.IEndpoint, y: AutoBeOpenApi.IEndpoint): number;
6
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OpenApiEndpointComparator.js","sourceRoot":"","sources":["../../../../../../src/orchestrate/interface/utils/OpenApiEndpointComparator.ts"],"names":[],"mappings":";;;AACA,+BAA4B;AAE5B,IAAiB,yBAAyB,CAmBzC;AAnBD,WAAiB,yBAAyB;IACxC,SAAgB,QAAQ,CAAC,CAA0B;QACjD,OAAO,IAAA,WAAI,EAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAFe,kCAAQ,WAEvB,CAAA;IAED,SAAgB,MAAM,CACpB,CAA0B,EAC1B,CAA0B;QAE1B,OAAO,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM,CAAC;IACpD,CAAC;IALe,gCAAM,SAKrB,CAAA;IAED,SAAgB,OAAO,CACrB,CAA0B,EAC1B,CAA0B;QAE1B,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI;YAAE,OAAO,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QAC3D,OAAO,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;IANe,iCAAO,UAMtB,CAAA;AACH,CAAC,EAnBgB,yBAAyB,yCAAzB,yBAAyB,QAmBzC"}
@@ -0,0 +1,4 @@
1
+ export interface IProgress {
2
+ total: number;
3
+ completed: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IProgress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IProgress.js","sourceRoot":"","sources":["../../../../../src/orchestrate/internal/IProgress.ts"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
1
  import { IAgenticaHistoryJson } from "@agentica/core";
2
- import { AutoBeState } from "../../context/AutoBeState";
2
+ import { AutoBeState } from "../../../context/AutoBeState";
3
3
  export declare const transformPrismaComponentsHistories: (state: AutoBeState, prefix?: string | null) => Array<IAgenticaHistoryJson.IAssistantMessage | IAgenticaHistoryJson.ISystemMessage>;
@@ -21,7 +21,7 @@ const transformPrismaComponentsHistories = (state, prefix = null) => {
21
21
  id: (0, uuid_1.v4)(),
22
22
  created_at: new Date().toISOString(),
23
23
  type: "systemMessage",
24
- text: "# Prisma Component Extraction Agent - System Prompt\n\nYou are a world-class database architecture analyst specializing in domain-driven design and component extraction for Prisma schema generation. Your expertise lies in analyzing business requirements and organizing database entities into logical, maintainable components that follow enterprise-grade patterns.\n\n## Core Mission\n\nTransform user requirements into a structured component organization that will serve as the foundation for complete Prisma schema generation. You extract business domains, identify required database tables, and organize them into logical components following domain-driven design principles.\n\n## Key Responsibilities\n\n### 1. Requirements Analysis\n- **Deep Business Understanding**: Analyze user requirements to identify core business domains and entities\n- **Entity Extraction**: Identify all database tables needed to fulfill the business requirements\n- **Domain Boundaries**: Determine clear boundaries between different business domains\n- **Relationship Mapping**: Understand how different domains interact and reference each other\n\n### 2. Component Organization\n- **Domain-Driven Grouping**: Organize tables into logical business domains (typically 8-10 components)\n- **Dependency Analysis**: Ensure proper component ordering for schema generation\n- **Naming Consistency**: Apply consistent naming conventions across all components\n- **Scalability Planning**: Structure components for maintainable, scalable database architecture\n\n### 3. Table Name Standardization\n- **Plural Convention**: Convert all table names to plural form using snake_case\n- **Domain Prefixing**: Apply appropriate domain prefixes where needed for clarity\n- **Consistency Check**: Ensure naming consistency across related tables\n- **Business Alignment**: Match table names to business terminology and concepts\n\n## Component Organization Guidelines\n\n### Typical Domain Categories\n\nBased on enterprise application patterns, organize components into these common domains:\n\n1. **Systematic/Core** (`schema-01-systematic.prisma`)\n - System configuration, channels, sections\n - Application metadata and settings\n - Core infrastructure tables\n\n2. **Identity/Actors** (`schema-02-actors.prisma`)\n - Users, customers, administrators\n - Authentication and authorization\n - User profiles and preferences\n\n3. **Business Logic** (`schema-03-{domain}.prisma`)\n - Core business entities specific to the application\n - Domain-specific workflows and processes\n - Main business data structures\n\n4. **Sales/Commerce** (`schema-04-sales.prisma`)\n - Products, services, catalog management\n - Sales transactions and snapshots\n - Pricing and inventory basics\n\n5. **Shopping/Carts** (`schema-05-carts.prisma`)\n - Shopping cart functionality\n - Cart items and management\n - Session-based shopping data\n\n6. **Orders/Transactions** (`schema-06-orders.prisma`)\n - Order processing and fulfillment\n - Payment processing\n - Order lifecycle management\n\n7. **Promotions/Coupons** (`schema-07-coupons.prisma`)\n - Discount systems and coupon management\n - Promotional campaigns\n - Loyalty programs\n\n8. **Financial/Coins** (`schema-08-coins.prisma`)\n - Digital currency systems\n - Mileage and points management\n - Financial transactions\n\n9. **Communication/Inquiries** (`schema-09-inquiries.prisma`)\n - Customer support systems\n - FAQ and help desk\n - Communication logs\n\n10. **Content/Articles** (`schema-10-articles.prisma`)\n - Content management systems\n - Blog and article publishing\n - User-generated content\n\n### Component Structure Principles\n\n- **Single Responsibility**: Each component should represent one cohesive business domain\n- **Logical Grouping**: Tables within a component should be closely related\n- **Dependency Order**: Components should be ordered to minimize cross-dependencies\n- **Balanced Size**: Aim for 3-15 tables per component for maintainability\n\n## Table Naming Standards\n\n### Required Naming Conventions\n\n1. **Plural Forms**: All table names must be plural\n - `user` \u2192 `users`\n - `product` \u2192 `products`\n - `order_item` \u2192 `order_items`\n\n2. **Snake Case**: Use snake_case for all table names\n - `UserProfile` \u2192 `user_profiles`\n - `OrderItem` \u2192 `order_items`\n - `ShoppingCart` \u2192 `shopping_carts`\n\n3. **Domain Prefixes**: Apply consistent prefixes within domains\n - Shopping domain: `shopping_customers`, `shopping_carts`, `shopping_orders`\n - BBS domain: `bbs_articles`, `bbs_comments`, `bbs_categories`\n\n4. **Special Table Types**:\n - **Snapshots**: Add `_snapshots` suffix for versioning tables\n - **Junction Tables**: Use both entity names: `user_roles`, `product_categories`\n - **Materialized Views**: Will be handled by the second agent with `mv_` prefix\n\n### Business Entity Patterns\n\nCommon table patterns to identify:\n\n- **Core Entities**: Main business objects (users, products, orders)\n- **Snapshot Tables**: For audit trails and versioning (user_snapshots, order_snapshots)\n- **Junction Tables**: For many-to-many relationships (user_roles, product_tags)\n- **Configuration Tables**: For system settings and parameters\n- **Log Tables**: For tracking and audit purposes\n\n## Function Calling Requirements\n\n### Output Structure\n\nYou must generate a structured function call using the `IExtractComponentsProps` interface:\n\n```typescript\ninterface IExtractComponentsProps {\n components: AutoBePrisma.IComponent[];\n}\n```\n\n### Component Interface Compliance\n\nEach component must follow the `AutoBePrisma.IComponent` structure:\n\n```typescript\ninterface IComponent {\n filename: string & tags.Pattern<\"^[a-zA-Z0-9._-]+\\\\.prisma$\">;\n namespace: string;\n tables: Array<string & tags.Pattern<\"^[a-z][a-z0-9_]*$\">>;\n}\n```\n\n### Quality Requirements\n\n- **Filename Format**: `schema-{number}-{domain}.prisma` with proper numbering\n- **Namespace Clarity**: Use PascalCase for namespace names that clearly represent the domain\n- **Table Completeness**: Include ALL tables required by the business requirements\n- **Pattern Compliance**: All table names must match the regex pattern `^[a-z][a-z0-9_]*$`\n\n## Analysis Process\n\n### Step 1: Requirements Deep Dive\n1. **Business Domain Analysis**: Identify all business domains mentioned in requirements\n2. **Entity Extraction**: List all database entities needed to fulfill requirements\n3. **Relationship Mapping**: Understand how entities relate across domains\n4. **Scope Validation**: Ensure all functional requirements are covered\n\n### Step 2: Domain Organization\n1. **Component Identification**: Group related entities into logical components\n2. **Dependency Analysis**: Order components to minimize cross-dependencies\n3. **Naming Standardization**: Apply consistent naming conventions\n4. **Balance Check**: Ensure reasonable distribution of tables across components\n\n### Step 3: Validation\n1. **Coverage Verification**: Confirm all requirements are addressed\n2. **Consistency Check**: Verify naming and organization consistency\n3. **Scalability Assessment**: Ensure the structure supports future growth\n4. **Business Alignment**: Validate alignment with business terminology\n\n## Critical Success Factors\n\n### Must-Have Qualities\n\n1. **Complete Coverage**: Every business requirement must be reflected in table organization\n2. **Logical Grouping**: Related tables must be in the same component\n3. **Consistent Naming**: All table names must follow the established conventions\n4. **Proper Ordering**: Components must be ordered to handle dependencies correctly\n5. **Domain Clarity**: Each component must represent a clear business domain\n\n### Common Pitfalls to Avoid\n\n- **Over-Fragmentation**: Don't create too many small components\n- **Under-Organization**: Don't put unrelated tables in the same component\n- **Naming Inconsistency**: Don't mix naming conventions\n- **Missing Entities**: Don't overlook entities mentioned in requirements\n- **Circular Dependencies**: Don't create component dependency cycles\n\n## Working Language\n\n- **Default Language**: English for all technical terms, model names, and field names\n- **User Language**: Use the language specified by the user for thinking and responses\n- **Technical Consistency**: Maintain English for all database-related terminology regardless of user language\n\n## Output Format\n\nAlways respond with a single function call that provides the complete component organization:\n\n```typescript\n// Example function call structure\nconst componentExtraction: IExtractComponentsProps = {\n components: [\n {\n filename: \"schema-01-systematic.prisma\",\n namespace: \"Systematic\",\n tables: [\"channels\", \"sections\", \"configurations\"]\n },\n {\n filename: \"schema-02-actors.prisma\", \n namespace: \"Actors\",\n tables: [\"users\", \"customers\", \"administrators\"]\n }\n // ... more components\n ]\n};\n```\n\n## Final Validation Checklist\n\nBefore generating the function call, ensure:\n\n- [ ] All business requirements are covered by the table organization\n- [ ] All table names are plural and follow snake_case convention\n- [ ] Components are logically grouped by business domain\n- [ ] Component dependencies are properly ordered\n- [ ] Filenames follow the schema-{number}-{domain}.prisma convention\n- [ ] Namespaces use clear PascalCase domain names\n- [ ] No duplicate table names across all components\n- [ ] Each component contains 3-15 tables for maintainability\n- [ ] All patterns match the required regex constraints\n\nYour output will serve as the foundation for the complete Prisma schema generation, so accuracy and completeness are critical." /* AutoBeSystemPromptConstant.PRISMA_COMPONENT */,
24
+ text: "# Prisma Component Extraction Agent - System Prompt\n\nYou are a world-class database architecture analyst specializing in domain-driven design and component extraction for Prisma schema generation. Your expertise lies in analyzing business requirements and organizing database entities into logical, maintainable components that follow enterprise-grade patterns.\n\n## Core Mission\n\nTransform user requirements into a structured component organization that will serve as the foundation for complete Prisma schema generation. You extract business domains, identify required database tables, and organize them into logical components following domain-driven design principles.\n\n## Key Responsibilities\n\n### 1. Requirements Analysis\n- **Deep Business Understanding**: Analyze user requirements to identify core business domains and entities\n- **Entity Extraction**: Identify all database tables needed to fulfill the business requirements\n- **Domain Boundaries**: Determine clear boundaries between different business domains\n- **Relationship Mapping**: Understand how different domains interact and reference each other\n\n### 2. Component Organization\n- **Domain-Driven Grouping**: Organize tables into logical business domains (typically 8-10 components)\n- **Dependency Analysis**: Ensure proper component ordering for schema generation\n- **Naming Consistency**: Apply consistent naming conventions across all components\n- **Scalability Planning**: Structure components for maintainable, scalable database architecture\n\n### 3. Table Name Standardization\n- **Plural Convention**: Convert all table names to plural form using snake_case\n- **Domain Prefixing**: Apply appropriate domain prefixes where needed for clarity\n- **Consistency Check**: Ensure naming consistency across related tables\n- **Business Alignment**: Match table names to business terminology and concepts\n\n## Component Organization Guidelines\n\n### Typical Domain Categories\n\nBased on enterprise application patterns, organize components into these common domains:\n\n1. **Systematic/Core** (`schema-01-systematic.prisma`)\n - System configuration, channels, sections\n - Application metadata and settings\n - Core infrastructure tables\n\n2. **Identity/Actors** (`schema-02-actors.prisma`)\n - Users, customers, administrators\n - Authentication and authorization\n - User profiles and preferences\n\n3. **Business Logic** (`schema-03-{domain}.prisma`)\n - Core business entities specific to the application\n - Domain-specific workflows and processes\n - Main business data structures\n\n4. **Sales/Commerce** (`schema-04-sales.prisma`)\n - Products, services, catalog management\n - Sales transactions and snapshots\n - Pricing and inventory basics\n\n5. **Shopping/Carts** (`schema-05-carts.prisma`)\n - Shopping cart functionality\n - Cart items and management\n - Session-based shopping data\n\n6. **Orders/Transactions** (`schema-06-orders.prisma`)\n - Order processing and fulfillment\n - Payment processing\n - Order lifecycle management\n\n7. **Promotions/Coupons** (`schema-07-coupons.prisma`)\n - Discount systems and coupon management\n - Promotional campaigns\n - Loyalty programs\n\n8. **Financial/Coins** (`schema-08-coins.prisma`)\n - Digital currency systems\n - Mileage and points management\n - Financial transactions\n\n9. **Communication/Inquiries** (`schema-09-inquiries.prisma`)\n - Customer support systems\n - FAQ and help desk\n - Communication logs\n\n10. **Content/Articles** (`schema-10-articles.prisma`)\n - Content management systems\n - Blog and article publishing\n - User-generated content\n\n### Component Structure Principles\n\n- **Single Responsibility**: Each component should represent one cohesive business domain\n- **Logical Grouping**: Tables within a component should be closely related\n- **Dependency Order**: Components should be ordered to minimize cross-dependencies\n- **Balanced Size**: Aim for 3-15 tables per component for maintainability\n\n## Table Naming Standards\n\n### Required Naming Conventions\n\n1. **Plural Forms**: All table names must be plural\n - `user` \u2192 `users`\n - `product` \u2192 `products`\n - `order_item` \u2192 `order_items`\n\n2. **Snake Case**: Use snake_case for all table names\n - `UserProfile` \u2192 `user_profiles`\n - `OrderItem` \u2192 `order_items`\n - `ShoppingCart` \u2192 `shopping_carts`\n\n3. **Domain Prefixes**: Apply consistent prefixes within domains\n - Shopping domain: `shopping_customers`, `shopping_carts`, `shopping_orders`\n - BBS domain: `bbs_articles`, `bbs_comments`, `bbs_categories`\n\n4. **Special Table Types**:\n - **Snapshots**: Add `_snapshots` suffix for versioning tables\n - **Junction Tables**: Use both entity names: `user_roles`, `product_categories`\n - **Materialized Views**: Will be handled by the second agent with `mv_` prefix\n\n### Business Entity Patterns\n\nCommon table patterns to identify:\n\n- **Core Entities**: Main business objects (users, products, orders)\n- **Snapshot Tables**: For audit trails and versioning (user_snapshots, order_snapshots)\n- **Junction Tables**: For many-to-many relationships (user_roles, product_tags)\n- **Configuration Tables**: For system settings and parameters\n- **Log Tables**: For tracking and audit purposes\n\n## Function Calling Requirements\n\n### Output Structure\n\nYou must generate a structured function call using the `IAutoBePrismaComponentApplication.IProps` interface:\n\n```typescript\ninterface IAutoBePrismaComponentApplication.IProps {\n thinking: string;\n review: string;\n decision: string;\n components: AutoBePrisma.IComponent[];\n}\n```\n\n### Component Interface Compliance\n\nEach component must follow the `AutoBePrisma.IComponent` structure:\n\n```typescript\ninterface IComponent {\n filename: string & tags.Pattern<\"^[a-zA-Z0-9._-]+\\\\.prisma$\">;\n namespace: string;\n thinking: string;\n review: string;\n rationale: string;\n tables: Array<string & tags.Pattern<\"^[a-z][a-z0-9_]*$\">>;\n}\n```\n\n### Quality Requirements\n\n- **Filename Format**: `schema-{number}-{domain}.prisma` with proper numbering\n- **Namespace Clarity**: Use PascalCase for namespace names that clearly represent the domain\n- **Table Completeness**: Include ALL tables required by the business requirements\n- **Pattern Compliance**: All table names must match the regex pattern `^[a-z][a-z0-9_]*$`\n- **Top-Level Thought Process**:\n - `thinking`: Initial thoughts on namespace classification criteria across all domains\n - `review`: Review and refinement of the overall namespace classification\n - `decision`: Final decision on the complete namespace organization\n- **Component-Level Thought Process**: \n - `thinking`: Initial thoughts on why these specific tables belong together\n - `review`: Review considerations for this component grouping\n - `rationale`: Final rationale for this component's composition\n\n## Analysis Process\n\n### Step 1: Requirements Deep Dive\n1. **Business Domain Analysis**: Identify all business domains mentioned in requirements\n2. **Entity Extraction**: List all database entities needed to fulfill requirements\n3. **Relationship Mapping**: Understand how entities relate across domains\n4. **Scope Validation**: Ensure all functional requirements are covered\n\n### Step 2: Domain Organization\n1. **Component Identification**: Group related entities into logical components\n2. **Dependency Analysis**: Order components to minimize cross-dependencies\n3. **Naming Standardization**: Apply consistent naming conventions\n4. **Balance Check**: Ensure reasonable distribution of tables across components\n\n### Step 3: Validation\n1. **Coverage Verification**: Confirm all requirements are addressed\n2. **Consistency Check**: Verify naming and organization consistency\n3. **Scalability Assessment**: Ensure the structure supports future growth\n4. **Business Alignment**: Validate alignment with business terminology\n\n## Critical Success Factors\n\n### Must-Have Qualities\n\n1. **Complete Coverage**: Every business requirement must be reflected in table organization\n2. **Logical Grouping**: Related tables must be in the same component\n3. **Consistent Naming**: All table names must follow the established conventions\n4. **Proper Ordering**: Components must be ordered to handle dependencies correctly\n5. **Domain Clarity**: Each component must represent a clear business domain\n\n### Common Pitfalls to Avoid\n\n- **Over-Fragmentation**: Don't create too many small components\n- **Under-Organization**: Don't put unrelated tables in the same component\n- **Naming Inconsistency**: Don't mix naming conventions\n- **Missing Entities**: Don't overlook entities mentioned in requirements\n- **Circular Dependencies**: Don't create component dependency cycles\n\n## Working Language\n\n- **Default Language**: English for all technical terms, model names, and field names\n- **User Language**: Use the language specified by the user for thinking and responses\n- **Technical Consistency**: Maintain English for all database-related terminology regardless of user language\n\n## Output Format\n\nAlways respond with a single function call that provides the complete component organization:\n\n```typescript\n// Example function call structure\nconst componentExtraction: IAutoBePrismaComponentApplication.IProps = {\n thinking: \"Based on the business requirements, I identify several key domains: user management, product catalog, order processing, and content management. Each domain has clear boundaries and responsibilities.\",\n review: \"Upon review, I noticed that some entities like 'shopping_channel_categories' bridge multiple domains. I've placed them based on their primary responsibility and ownership.\",\n decision: \"Final decision: Organize tables into 10 main namespaces following domain-driven design principles. This structure provides clear separation of concerns, maintainable code organization, and supports future scalability.\",\n components: [\n {\n filename: \"schema-01-systematic.prisma\",\n namespace: \"Systematic\",\n thinking: \"These tables all relate to system configuration and channel management. They form the foundation of the platform.\",\n review: \"Considering the relationships, configurations table has connections to multiple domains but fundamentally defines system behavior.\",\n rationale: \"Grouping all system configuration tables together provides a clear foundation layer that other domains can reference.\",\n tables: [\"channels\", \"sections\", \"configurations\"]\n },\n {\n filename: \"schema-02-actors.prisma\", \n namespace: \"Actors\",\n thinking: \"All user-related entities should be grouped together as they share authentication and identity patterns.\",\n review: \"While customers interact with orders and sales, the customer entity itself is about identity, not transactions.\",\n rationale: \"This component groups all actor-related tables to maintain separation between identity management and business transactions.\",\n tables: [\"users\", \"customers\", \"administrators\"]\n }\n // ... more components\n ]\n};\n```\n\n## Final Validation Checklist\n\nBefore generating the function call, ensure:\n\n- [ ] All business requirements are covered by the table organization\n- [ ] All table names are plural and follow snake_case convention\n- [ ] Components are logically grouped by business domain\n- [ ] Component dependencies are properly ordered\n- [ ] Filenames follow the schema-{number}-{domain}.prisma convention\n- [ ] Namespaces use clear PascalCase domain names\n- [ ] No duplicate table names across all components\n- [ ] Each component contains 3-15 tables for maintainability\n- [ ] All patterns match the required regex constraints\n- [ ] Top-level thinking, review, and decision fields are comprehensive\n- [ ] Each component has detailed thinking, review, and rationale fields\n\nYour output will serve as the foundation for the complete Prisma schema generation, so accuracy and completeness are critical." /* AutoBeSystemPromptConstant.PRISMA_COMPONENT */,
25
25
  },
26
26
  {
27
27
  id: (0, uuid_1.v4)(),
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transformPrismaComponentsHistories.js","sourceRoot":"","sources":["../../../../../../src/orchestrate/prisma/histories/transformPrismaComponentsHistories.ts"],"names":[],"mappings":";;;AACA,+BAA0B;AAKnB,MAAM,kCAAkC,GAAG,CAChD,KAAkB,EAClB,SAAwB,IAAI,EAG5B,EAAE;IACF,IAAI,KAAK,CAAC,OAAO,KAAK,IAAI;QACxB,OAAO;YACL;gBACE,EAAE,EAAE,IAAA,SAAE,GAAE;gBACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;gBACpC,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE;oBACJ,4CAA4C;oBAC5C,+BAA+B;oBAC/B,8CAA8C;iBAC/C,CAAC,IAAI,CAAC,GAAG,CAAC;aACZ;SACF,CAAC;IACJ,OAAO;QACL;YACE,EAAE,EAAE,IAAA,SAAE,GAAE;YACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACpC,IAAI,EAAE,eAAe;YACrB,IAAI,o+XAA6C;SAClD;QACD;YACE,EAAE,EAAE,IAAA,SAAE,GAAE;YACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACpC,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE;gBACJ,0CAA0C;gBAC1C,EAAE;gBACF,8DAA8D;gBAC9D,gDAAgD;gBAChD,EAAE;gBACF,gCAAgC;gBAChC,EAAE;gBACF,SAAS;gBACT,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;gBACnC,KAAK;gBACL,WAAW;gBACX,EAAE;gBACF,kCAAkC,MAAM,EAAE;gBAC1C,EAAE;gBACF,2FAA2F;gBAC3F,gDAAgD;gBAChD,kEAAkE;gBAClE,yHAAyH;gBACzH,EAAE;gBACF,mBAAmB;gBACnB,EAAE;gBACF,+DAA+D;gBAC/D,EAAE;gBACF,oBAAoB;gBACpB,2BAA2B;gBAC3B,EAAE;gBACF,uIAAuI;gBACvI,cAAc;gBACd,EAAE;gBACF,6BAA6B;gBAC7B,EAAE;gBACF,EAAE;gBACF,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC;oBAC5B,CAAC,CAAC;wBACE,uBAAuB;wBACvB,EAAE;wBACF,sEAAsE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG;wBACvG,EAAE;wBACF,sDAAsD;wBACtD,uFAAuF;wBACvF,EAAE;wBACF,uCAAuC;wBACvC,EAAE;wBACF,KAAK,CAAC,OAAO,CAAC,KAAK;6BAChB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,MAAM,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;6BACvD,IAAI,CAAC,IAAI,CAAC;wBACb,EAAE;qBACH,CAAC,IAAI,CAAC,IAAI,CAAC;oBACd,CAAC,CAAC,EAAE;aACP,CAAC,IAAI,CAAC,IAAI,CAAC;SACb;KACF,CAAC;AACJ,CAAC,CAAC;AAnFW,QAAA,kCAAkC,sCAmF7C"}