@autobe/agent 0.17.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 (693) 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} +29 -1
  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/{context → agent/src/context}/AutoBeTokenUsage.js +7 -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/{context → agent/src/context}/AutoBeTokenUsageComponent.js +19 -2
  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/agent/src/factory/createAutoBeApplication.js.map +1 -0
  34. package/lib/agent/src/factory/createAutoBeContext.d.ts +19 -0
  35. package/lib/{factory → agent/src/factory}/createAutoBeContext.js +90 -17
  36. package/lib/agent/src/factory/createAutoBeContext.js.map +1 -0
  37. package/lib/agent/src/factory/createAutoBeState.d.ts +3 -0
  38. package/lib/agent/src/factory/createAutoBeState.js.map +1 -0
  39. package/lib/agent/src/factory/getAutoBeGenerated.d.ts +4 -0
  40. package/lib/{factory → agent/src/factory}/getAutoBeGenerated.js +3 -3
  41. package/lib/agent/src/factory/getAutoBeGenerated.js.map +1 -0
  42. package/lib/agent/src/factory/getAutoBeRealizeGenerated.d.ts +7 -0
  43. package/lib/agent/src/factory/getAutoBeRealizeGenerated.js.map +1 -0
  44. package/lib/agent/src/factory/index.d.ts +1 -0
  45. package/lib/agent/src/factory/index.js.map +1 -0
  46. package/lib/agent/src/index.d.ts +6 -0
  47. package/lib/agent/src/index.js.map +1 -0
  48. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.d.ts +4 -0
  49. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.js +46 -0
  50. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.js.map +1 -0
  51. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.d.ts +4 -0
  52. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js +30 -0
  53. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js.map +1 -0
  54. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.d.ts +4 -0
  55. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.js +49 -0
  56. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.js.map +1 -0
  57. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyze.d.ts +5 -0
  58. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyze.js +64 -0
  59. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyze.js.map +1 -0
  60. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeReview.d.ts +6 -0
  61. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeReview.js +265 -0
  62. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeReview.js.map +1 -0
  63. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeScenario.d.ts +4 -0
  64. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeScenario.js +727 -0
  65. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -0
  66. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeWrite.d.ts +8 -0
  67. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeWrite.js +242 -0
  68. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeWrite.js.map +1 -0
  69. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.d.ts +105 -0
  70. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.js +3 -0
  71. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.js.map +1 -0
  72. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +78 -0
  73. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.js +3 -0
  74. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.js.map +1 -0
  75. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.d.ts +70 -0
  76. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.js +3 -0
  77. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.js.map +1 -0
  78. package/lib/agent/src/orchestrate/facade/transformFacadeStateMessage.d.ts +2 -0
  79. package/lib/agent/src/orchestrate/facade/transformFacadeStateMessage.js.map +1 -0
  80. package/lib/agent/src/orchestrate/index.d.ts +5 -0
  81. package/lib/agent/src/orchestrate/index.js.map +1 -0
  82. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAssetHistories.d.ts +3 -0
  83. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAssetHistories.js.map +1 -0
  84. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.d.ts +4 -0
  85. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.js +34 -0
  86. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.js.map +1 -0
  87. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceComplementHistories.d.ts +4 -0
  88. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceComplementHistories.js +62 -0
  89. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceComplementHistories.js.map +1 -0
  90. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.d.ts +5 -0
  91. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.js +49 -0
  92. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.js.map +1 -0
  93. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceGroupHistories.d.ts +3 -0
  94. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceGroupHistories.js +28 -0
  95. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceGroupHistories.js.map +1 -0
  96. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationHistories.d.ts +4 -0
  97. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationHistories.js +51 -0
  98. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationHistories.js.map +1 -0
  99. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.d.ts +5 -0
  100. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.js +35 -0
  101. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.js.map +1 -0
  102. package/lib/agent/src/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.d.ts +3 -0
  103. package/lib/agent/src/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.js.map +1 -0
  104. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.d.ts +4 -0
  105. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.js +28 -0
  106. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.js.map +1 -0
  107. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.d.ts +4 -0
  108. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.js +53 -0
  109. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.js.map +1 -0
  110. package/lib/agent/src/orchestrate/interface/orchestrateInterface.d.ts +5 -0
  111. package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterface.js +7 -2
  112. package/lib/agent/src/orchestrate/interface/orchestrateInterface.js.map +1 -0
  113. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceAuthorizations.d.ts +4 -0
  114. package/lib/{orchestrate/interface/orchestrateInterfaceOperations.js → agent/src/orchestrate/interface/orchestrateInterfaceAuthorizations.js} +227 -562
  115. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceAuthorizations.js.map +1 -0
  116. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceComplement.d.ts +4 -0
  117. package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterfaceComplement.js +20 -32
  118. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceComplement.js.map +1 -0
  119. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceEndpoints.d.ts +5 -0
  120. package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterfaceEndpoints.js +40 -41
  121. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +1 -0
  122. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceGroups.d.ts +4 -0
  123. package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterfaceGroups.js +15 -25
  124. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceGroups.js.map +1 -0
  125. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperations.d.ts +4 -0
  126. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperations.js +1768 -0
  127. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperations.js.map +1 -0
  128. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperationsReview.d.ts +5 -0
  129. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperationsReview.js +1317 -0
  130. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperationsReview.js.map +1 -0
  131. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemas.d.ts +4 -0
  132. package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterfaceSchemas.js +59 -71
  133. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemas.js.map +1 -0
  134. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemasReview.d.ts +7 -0
  135. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemasReview.js +467 -0
  136. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemasReview.js.map +1 -0
  137. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.d.ts +47 -0
  138. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.js +3 -0
  139. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.js.map +1 -0
  140. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.d.ts +55 -0
  141. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.js.map +1 -0
  142. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.d.ts +24 -0
  143. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.js.map +1 -0
  144. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.d.ts +108 -0
  145. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.js.map +1 -0
  146. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +126 -0
  147. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.js.map +1 -0
  148. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.d.ts +96 -0
  149. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.js +3 -0
  150. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.js.map +1 -0
  151. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.d.ts +75 -0
  152. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.js.map +1 -0
  153. package/lib/agent/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.d.ts +91 -0
  154. package/lib/agent/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.js +3 -0
  155. package/lib/agent/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.js.map +1 -0
  156. package/lib/agent/src/orchestrate/interface/utils/OpenApiEndpointComparator.d.ts +6 -0
  157. package/lib/agent/src/orchestrate/interface/utils/OpenApiEndpointComparator.js.map +1 -0
  158. package/lib/agent/src/orchestrate/internal/IProgress.d.ts +4 -0
  159. package/lib/agent/src/orchestrate/internal/IProgress.js +3 -0
  160. package/lib/agent/src/orchestrate/internal/IProgress.js.map +1 -0
  161. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaComponentsHistories.d.ts +3 -0
  162. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaComponentsHistories.js.map +1 -0
  163. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaCorrectHistories.d.ts +3 -0
  164. package/lib/{orchestrate → agent/src/orchestrate}/prisma/histories/transformPrismaCorrectHistories.js +1 -1
  165. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaCorrectHistories.js.map +1 -0
  166. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaReviewHistories.d.ts +8 -0
  167. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaReviewHistories.js +59 -0
  168. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaReviewHistories.js.map +1 -0
  169. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaSchemaHistories.d.ts +3 -0
  170. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaSchemaHistories.js +48 -0
  171. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaSchemaHistories.js.map +1 -0
  172. package/lib/agent/src/orchestrate/prisma/orchestratePrisma.d.ts +5 -0
  173. package/lib/{orchestrate → agent/src/orchestrate}/prisma/orchestratePrisma.js +30 -13
  174. package/lib/agent/src/orchestrate/prisma/orchestratePrisma.js.map +1 -0
  175. package/lib/agent/src/orchestrate/prisma/orchestratePrismaComponent.d.ts +5 -0
  176. package/lib/{orchestrate → agent/src/orchestrate}/prisma/orchestratePrismaComponent.js +43 -44
  177. package/lib/agent/src/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -0
  178. package/lib/agent/src/orchestrate/prisma/orchestratePrismaCorrect.d.ts +4 -0
  179. package/lib/{orchestrate → agent/src/orchestrate}/prisma/orchestratePrismaCorrect.js +121 -83
  180. package/lib/agent/src/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -0
  181. package/lib/agent/src/orchestrate/prisma/orchestratePrismaReview.d.ts +5 -0
  182. package/lib/{orchestrate/prisma/orchestratePrismaSchemas.js → agent/src/orchestrate/prisma/orchestratePrismaReview.js} +139 -248
  183. package/lib/agent/src/orchestrate/prisma/orchestratePrismaReview.js.map +1 -0
  184. package/lib/agent/src/orchestrate/prisma/orchestratePrismaSchemas.d.ts +5 -0
  185. package/lib/agent/src/orchestrate/prisma/orchestratePrismaSchemas.js +1625 -0
  186. package/lib/agent/src/orchestrate/prisma/orchestratePrismaSchemas.js.map +1 -0
  187. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.d.ts +121 -0
  188. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.js.map +1 -0
  189. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.d.ts +142 -0
  190. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.js.map +1 -0
  191. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.d.ts +105 -0
  192. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.js +3 -0
  193. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.js.map +1 -0
  194. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.d.ts +99 -0
  195. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.js.map +1 -0
  196. package/lib/agent/src/orchestrate/realize/ProviderCodeComparator.d.ts +5 -0
  197. package/lib/agent/src/orchestrate/realize/ProviderCodeComparator.js.map +1 -0
  198. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorization.d.ts +5 -0
  199. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorization.js +40 -0
  200. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorization.js.map +1 -0
  201. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.d.ts +5 -0
  202. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.js +80 -0
  203. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.js.map +1 -0
  204. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCoderHistories.d.ts +7 -0
  205. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCoderHistories.js.map +1 -0
  206. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCorrectHistories.d.ts +13 -0
  207. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCorrectHistories.js +32 -0
  208. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCorrectHistories.js.map +1 -0
  209. package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteHistories.d.ts +11 -0
  210. package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteHistories.js +160 -0
  211. package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteHistories.js.map +1 -0
  212. package/lib/agent/src/orchestrate/realize/internal/compile.d.ts +7 -0
  213. package/lib/agent/src/orchestrate/realize/internal/compile.js +61 -0
  214. package/lib/agent/src/orchestrate/realize/internal/compile.js.map +1 -0
  215. package/lib/agent/src/orchestrate/realize/orchestrateRealize.d.ts +5 -0
  216. package/lib/agent/src/orchestrate/realize/orchestrateRealize.js +113 -0
  217. package/lib/agent/src/orchestrate/realize/orchestrateRealize.js.map +1 -0
  218. package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorization.d.ts +10 -0
  219. package/lib/{orchestrate → agent/src/orchestrate}/realize/orchestrateRealizeAuthorization.js +84 -70
  220. package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorization.js.map +1 -0
  221. package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.d.ts +4 -0
  222. package/lib/{orchestrate → agent/src/orchestrate}/realize/orchestrateRealizeAuthorizationCorrect.js +66 -52
  223. package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js.map +1 -0
  224. package/lib/agent/src/orchestrate/realize/orchestrateRealizeCorrect.d.ts +9 -0
  225. package/lib/agent/src/orchestrate/realize/orchestrateRealizeCorrect.js +351 -0
  226. package/lib/agent/src/orchestrate/realize/orchestrateRealizeCorrect.js.map +1 -0
  227. package/lib/{orchestrate/realize/orchestrateRealizePlanner.d.ts → agent/src/orchestrate/realize/orchestrateRealizeScenario.d.ts} +5 -3
  228. package/lib/{orchestrate/realize/orchestrateRealizePlanner.js → agent/src/orchestrate/realize/orchestrateRealizeScenario.js} +14 -24
  229. package/lib/agent/src/orchestrate/realize/orchestrateRealizeScenario.js.map +1 -0
  230. package/lib/agent/src/orchestrate/realize/orchestrateRealizeWrite.d.ts +9 -0
  231. package/lib/agent/src/orchestrate/realize/orchestrateRealizeWrite.js +340 -0
  232. package/lib/agent/src/orchestrate/realize/orchestrateRealizeWrite.js.map +1 -0
  233. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.d.ts +92 -0
  234. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.js.map +1 -0
  235. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.d.ts +27 -0
  236. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js.map +1 -0
  237. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.d.ts +345 -0
  238. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.js.map +1 -0
  239. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCompile.d.ts +56 -0
  240. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCompile.js.map +1 -0
  241. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeFailedSymbol.d.ts +2 -0
  242. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeFailedSymbol.js.map +1 -0
  243. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.d.ts +79 -0
  244. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.js +3 -0
  245. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.js.map +1 -0
  246. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.d.ts +38 -0
  247. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.js +3 -0
  248. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.js.map +1 -0
  249. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.d.ts +276 -0
  250. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.js +3 -0
  251. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.js.map +1 -0
  252. package/lib/agent/src/orchestrate/realize/utils/AuthorizationFileSystem.d.ts +5 -0
  253. package/lib/agent/src/orchestrate/realize/utils/AuthorizationFileSystem.js.map +1 -0
  254. package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationFileSystem.d.ts +5 -0
  255. package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationFileSystem.js.map +1 -0
  256. package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationReplaceImport.d.ts +4 -0
  257. package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationReplaceImport.js.map +1 -0
  258. package/lib/agent/src/orchestrate/realize/utils/InternalFileSystem.d.ts +8 -0
  259. package/lib/agent/src/orchestrate/realize/utils/InternalFileSystem.js.map +1 -0
  260. package/lib/agent/src/orchestrate/realize/utils/ProviderFileSystem.d.ts +3 -0
  261. package/lib/agent/src/orchestrate/realize/utils/ProviderFileSystem.js.map +1 -0
  262. package/lib/agent/src/orchestrate/realize/utils/replaceImportStatements.d.ts +4 -0
  263. package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/replaceImportStatements.js +1 -0
  264. package/lib/agent/src/orchestrate/realize/utils/replaceImportStatements.js.map +1 -0
  265. package/lib/agent/src/orchestrate/test/compile/completeTestCode.d.ts +2 -0
  266. package/lib/agent/src/orchestrate/test/compile/completeTestCode.js.map +1 -0
  267. package/lib/agent/src/orchestrate/test/compile/filterTestFileName.d.ts +1 -0
  268. package/lib/agent/src/orchestrate/test/compile/filterTestFileName.js.map +1 -0
  269. package/lib/agent/src/orchestrate/test/compile/getTestExternalDeclarations.d.ts +3 -0
  270. package/lib/agent/src/orchestrate/test/compile/getTestExternalDeclarations.js.map +1 -0
  271. package/lib/agent/src/orchestrate/test/compile/getTestScenarioArtifacts.d.ts +5 -0
  272. package/lib/agent/src/orchestrate/test/compile/getTestScenarioArtifacts.js.map +1 -0
  273. package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestCorrectHistories.d.ts +1 -1
  274. package/lib/agent/src/orchestrate/test/histories/transformTestCorrectHistories.js.map +1 -0
  275. package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestHistories.d.ts +1 -1
  276. package/lib/agent/src/orchestrate/test/histories/transformTestHistories.js.map +1 -0
  277. package/lib/agent/src/orchestrate/test/histories/transformTestScenarioHistories.d.ts +3 -0
  278. package/lib/agent/src/orchestrate/test/histories/transformTestScenarioHistories.js +56 -0
  279. package/lib/agent/src/orchestrate/test/histories/transformTestScenarioHistories.js.map +1 -0
  280. package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestWriteHistories.d.ts +1 -1
  281. package/lib/agent/src/orchestrate/test/histories/transformTestWriteHistories.js +179 -0
  282. package/lib/agent/src/orchestrate/test/histories/transformTestWriteHistories.js.map +1 -0
  283. package/lib/agent/src/orchestrate/test/orchestrateTest.d.ts +5 -0
  284. package/lib/{orchestrate → agent/src/orchestrate}/test/orchestrateTest.js +4 -4
  285. package/lib/agent/src/orchestrate/test/orchestrateTest.js.map +1 -0
  286. package/lib/agent/src/orchestrate/test/orchestrateTestCorrect.d.ts +5 -0
  287. package/lib/{orchestrate → agent/src/orchestrate}/test/orchestrateTestCorrect.js +27 -43
  288. package/lib/agent/src/orchestrate/test/orchestrateTestCorrect.js.map +1 -0
  289. package/lib/agent/src/orchestrate/test/orchestrateTestScenario.d.ts +4 -0
  290. package/lib/agent/src/orchestrate/test/orchestrateTestScenario.js +858 -0
  291. package/lib/agent/src/orchestrate/test/orchestrateTestScenario.js.map +1 -0
  292. package/lib/agent/src/orchestrate/test/orchestrateTestWrite.d.ts +5 -0
  293. package/lib/{orchestrate → agent/src/orchestrate}/test/orchestrateTestWrite.js +53 -54
  294. package/lib/agent/src/orchestrate/test/orchestrateTestWrite.js.map +1 -0
  295. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestCorrectApplication.d.ts +121 -0
  296. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestCorrectApplication.js.map +1 -0
  297. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestFunction.d.ts +8 -0
  298. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestFunction.js.map +1 -0
  299. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.d.ts +134 -0
  300. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.js.map +1 -0
  301. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioArtifacts.d.ts +7 -0
  302. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioArtifacts.js.map +1 -0
  303. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteApplication.d.ts +113 -0
  304. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteApplication.js.map +1 -0
  305. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteResult.d.ts +7 -0
  306. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteResult.js.map +1 -0
  307. package/lib/agent/src/structures/IAutoBeConfig.d.ts +73 -0
  308. package/lib/agent/src/structures/IAutoBeConfig.js.map +1 -0
  309. package/lib/agent/src/structures/IAutoBeProps.d.ts +109 -0
  310. package/lib/agent/src/structures/IAutoBeProps.js.map +1 -0
  311. package/lib/agent/src/structures/IAutoBeVendor.d.ts +87 -0
  312. package/lib/agent/src/structures/IAutoBeVendor.js.map +1 -0
  313. package/lib/agent/src/utils/arrayToRecord.d.ts +17 -0
  314. package/lib/agent/src/utils/arrayToRecord.js.map +1 -0
  315. package/lib/agent/src/utils/backoffRetry.d.ts +22 -0
  316. package/lib/agent/src/utils/backoffRetry.js.map +1 -0
  317. package/lib/agent/src/utils/divideArray.d.ts +4 -0
  318. package/lib/agent/src/utils/divideArray.js.map +1 -0
  319. package/lib/agent/src/utils/emplaceMap.d.ts +1 -0
  320. package/lib/agent/src/utils/emplaceMap.js.map +1 -0
  321. package/lib/{orchestrate/realize/RealizePipe.d.ts → agent/src/utils/pipe.d.ts} +1 -1
  322. package/lib/agent/src/utils/pipe.js.map +1 -0
  323. package/lib/constants/AutoBeSystemPromptConstant.d.ts +18 -16
  324. package/lib/context/AutoBeContext.d.ts +16 -5
  325. package/lib/index.mjs +8876 -4277
  326. package/lib/index.mjs.map +1 -1
  327. package/lib/interface/src/histories/contents/AutoBeAnalyzeFile.d.ts +153 -0
  328. package/lib/interface/src/histories/contents/AutoBeAnalyzeFile.js +3 -0
  329. package/lib/interface/src/histories/contents/AutoBeAnalyzeFile.js.map +1 -0
  330. package/lib/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.d.ts +4 -0
  331. package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.d.ts +4 -0
  332. package/lib/orchestrate/analyze/histories/transformAnalyzeWriteHistories.d.ts +4 -0
  333. package/lib/orchestrate/analyze/orchestrateAnalyze.d.ts +0 -1
  334. package/lib/orchestrate/analyze/orchestrateAnalyzeReview.d.ts +6 -0
  335. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.d.ts +4 -0
  336. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.d.ts +6 -12
  337. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.d.ts +105 -0
  338. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +78 -0
  339. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.d.ts +70 -0
  340. package/lib/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.d.ts +4 -0
  341. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.d.ts +2 -1
  342. package/lib/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.d.ts +5 -0
  343. package/lib/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.d.ts +4 -0
  344. package/lib/orchestrate/interface/orchestrateInterfaceAuthorizations.d.ts +4 -0
  345. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.d.ts +1 -1
  346. package/lib/orchestrate/interface/orchestrateInterfaceGroups.d.ts +1 -1
  347. package/lib/orchestrate/interface/orchestrateInterfaceOperationsReview.d.ts +5 -0
  348. package/lib/orchestrate/interface/orchestrateInterfaceSchemasReview.d.ts +7 -0
  349. package/lib/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.d.ts +47 -0
  350. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.d.ts +2 -1
  351. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +6 -2
  352. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.d.ts +96 -0
  353. package/lib/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.d.ts +91 -0
  354. package/lib/orchestrate/internal/IProgress.d.ts +4 -0
  355. package/lib/orchestrate/prisma/histories/transformPrismaReviewHistories.d.ts +8 -0
  356. package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistories.d.ts +1 -1
  357. package/lib/orchestrate/prisma/orchestratePrismaComponent.d.ts +1 -1
  358. package/lib/orchestrate/prisma/orchestratePrismaReview.d.ts +5 -0
  359. package/lib/orchestrate/prisma/orchestratePrismaSchemas.d.ts +1 -1
  360. package/lib/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.d.ts +2 -1
  361. package/lib/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.d.ts +105 -0
  362. package/lib/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.d.ts +43 -153
  363. package/lib/orchestrate/realize/histories/transformRealizeAuthorization.d.ts +5 -0
  364. package/lib/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.d.ts +5 -0
  365. package/lib/orchestrate/realize/histories/transformRealizeCoderHistories.d.ts +7 -0
  366. package/lib/orchestrate/realize/histories/transformRealizeCorrectHistories.d.ts +13 -0
  367. package/lib/orchestrate/realize/histories/transformRealizeWriteHistories.d.ts +11 -0
  368. package/lib/orchestrate/realize/internal/compile.d.ts +7 -0
  369. package/lib/orchestrate/realize/orchestrateRealizeCorrect.d.ts +9 -0
  370. package/lib/orchestrate/realize/orchestrateRealizeScenario.d.ts +91 -0
  371. package/lib/orchestrate/realize/orchestrateRealizeWrite.d.ts +9 -0
  372. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.d.ts +10 -3
  373. package/lib/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.d.ts +79 -0
  374. package/lib/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.d.ts +38 -0
  375. package/lib/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.d.ts +276 -0
  376. package/lib/orchestrate/test/histories/transformTestCorrectHistories.d.ts +4 -0
  377. package/lib/orchestrate/test/histories/transformTestHistories.d.ts +3 -0
  378. package/lib/orchestrate/test/histories/transformTestScenarioHistories.d.ts +3 -0
  379. package/lib/orchestrate/test/histories/transformTestWriteHistories.d.ts +8 -0
  380. package/lib/orchestrate/test/orchestrateTestScenario.d.ts +2 -2
  381. package/lib/orchestrate/test/structures/IAutoBeTestScenarioApplication.d.ts +25 -24
  382. package/lib/orchestrate/test/structures/IAutoBeTestWriteApplication.d.ts +2 -1
  383. package/package.json +9 -9
  384. package/src/AutoBeAgent.ts +37 -3
  385. package/src/AutoBeMockAgent.ts +41 -11
  386. package/src/constants/AutoBeSystemPromptConstant.ts +18 -16
  387. package/src/context/AutoBeContext.ts +30 -4
  388. package/src/context/AutoBeTokenUsage.ts +8 -0
  389. package/src/context/AutoBeTokenUsageComponent.ts +20 -2
  390. package/src/factory/createAutoBeApplication.ts +3 -11
  391. package/src/factory/createAutoBeContext.ts +64 -1
  392. package/src/factory/getAutoBeGenerated.ts +3 -3
  393. package/src/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.ts +53 -0
  394. package/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.ts +34 -0
  395. package/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.ts +56 -0
  396. package/src/orchestrate/analyze/orchestrateAnalyze.ts +61 -80
  397. package/src/orchestrate/analyze/orchestrateAnalyzeReview.ts +89 -0
  398. package/src/orchestrate/analyze/orchestrateAnalyzeScenario.ts +123 -0
  399. package/src/orchestrate/analyze/orchestrateAnalyzeWrite.ts +51 -52
  400. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.ts +108 -0
  401. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.ts +85 -0
  402. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.ts +71 -0
  403. package/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.ts +40 -0
  404. package/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.ts +27 -0
  405. package/src/orchestrate/interface/histories/transformInterfaceOperationHistories.ts +45 -22
  406. package/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.ts +43 -0
  407. package/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.ts +63 -0
  408. package/src/orchestrate/interface/orchestrateInterface.ts +10 -2
  409. package/src/orchestrate/interface/orchestrateInterfaceAuthorizations.ts +106 -0
  410. package/src/orchestrate/interface/orchestrateInterfaceComplement.ts +27 -44
  411. package/src/orchestrate/interface/orchestrateInterfaceEndpoints.ts +28 -34
  412. package/src/orchestrate/interface/orchestrateInterfaceGroups.ts +15 -32
  413. package/src/orchestrate/interface/orchestrateInterfaceOperations.ts +207 -103
  414. package/src/orchestrate/interface/orchestrateInterfaceOperationsReview.ts +84 -0
  415. package/src/orchestrate/interface/orchestrateInterfaceSchemas.ts +72 -82
  416. package/src/orchestrate/interface/orchestrateInterfaceSchemasReview.ts +143 -0
  417. package/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.ts +49 -0
  418. package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.ts +2 -1
  419. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts +6 -2
  420. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.ts +102 -0
  421. package/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.ts +98 -0
  422. package/src/orchestrate/internal/IProgress.ts +4 -0
  423. package/src/orchestrate/prisma/histories/transformPrismaReviewHistories.ts +66 -0
  424. package/src/orchestrate/prisma/histories/transformPrismaSchemaHistories.ts +2 -2
  425. package/src/orchestrate/prisma/orchestratePrisma.ts +44 -15
  426. package/src/orchestrate/prisma/orchestratePrismaComponent.ts +16 -33
  427. package/src/orchestrate/prisma/orchestratePrismaCorrect.ts +96 -58
  428. package/src/orchestrate/prisma/orchestratePrismaReview.ts +118 -0
  429. package/src/orchestrate/prisma/orchestratePrismaSchemas.ts +133 -139
  430. package/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.ts +2 -1
  431. package/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.ts +108 -0
  432. package/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.ts +43 -156
  433. package/src/orchestrate/realize/{transformRealizeAuthorization.ts → histories/transformRealizeAuthorization.ts} +14 -10
  434. package/src/orchestrate/realize/{transformRealizeAuthorizationCorrectHistories.ts → histories/transformRealizeAuthorizationCorrectHistories.ts} +9 -7
  435. package/src/orchestrate/realize/{transformRealizeCoderHistories.ts → histories/transformRealizeCoderHistories.ts} +6 -6
  436. package/src/orchestrate/realize/histories/transformRealizeCorrectHistories.ts +47 -0
  437. package/src/orchestrate/realize/histories/transformRealizeWriteHistories.ts +184 -0
  438. package/src/orchestrate/realize/internal/compile.ts +84 -0
  439. package/src/orchestrate/realize/orchestrateRealize.ts +100 -9
  440. package/src/orchestrate/realize/orchestrateRealizeAuthorization.ts +45 -57
  441. package/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.ts +19 -41
  442. package/src/orchestrate/realize/orchestrateRealizeCorrect.ts +118 -0
  443. package/src/orchestrate/realize/{orchestrateRealizePlanner.ts → orchestrateRealizeScenario.ts} +15 -15
  444. package/src/orchestrate/realize/orchestrateRealizeWrite.ts +120 -0
  445. package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.ts +11 -3
  446. package/src/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.ts +81 -0
  447. package/src/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.ts +43 -0
  448. package/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.ts +282 -0
  449. package/src/orchestrate/realize/utils/replaceImportStatements.ts +3 -1
  450. package/src/orchestrate/test/experimental/orchestrateTestCorrect.ast +5 -9
  451. package/src/orchestrate/test/experimental/orchestrateTestWrite.ast +23 -22
  452. package/src/orchestrate/test/{transformTestCorrectHistories.ts → histories/transformTestCorrectHistories.ts} +2 -2
  453. package/src/orchestrate/test/{transformTestHistories.ts → histories/transformTestHistories.ts} +1 -1
  454. package/src/orchestrate/test/histories/transformTestScenarioHistories.ts +70 -0
  455. package/src/orchestrate/test/{transformTestWriteHistories.ts → histories/transformTestWriteHistories.ts} +3 -3
  456. package/src/orchestrate/test/orchestrateTest.ts +5 -6
  457. package/src/orchestrate/test/orchestrateTestCorrect.ts +32 -62
  458. package/src/orchestrate/test/orchestrateTestScenario.ts +95 -158
  459. package/src/orchestrate/test/orchestrateTestWrite.ts +48 -71
  460. package/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.ts +25 -24
  461. package/src/orchestrate/test/structures/IAutoBeTestWriteApplication.ts +3 -1
  462. package/lib/AutoBeAgent.js.map +0 -1
  463. package/lib/AutoBeAgentBase.js.map +0 -1
  464. package/lib/AutoBeMockAgent.js.map +0 -1
  465. package/lib/constants/AutoBeSystemPromptConstant.js.map +0 -1
  466. package/lib/context/AutoBeContext.js.map +0 -1
  467. package/lib/context/AutoBeState.js.map +0 -1
  468. package/lib/context/AutoBeTokenUsage.js.map +0 -1
  469. package/lib/context/AutoBeTokenUsageComponent.js.map +0 -1
  470. package/lib/context/IAutoBeApplication.js.map +0 -1
  471. package/lib/context/IAutoBeApplicationProps.js.map +0 -1
  472. package/lib/context/IAutoBeApplicationResult.js.map +0 -1
  473. package/lib/context/assertSchemaModel.js.map +0 -1
  474. package/lib/factory/createAgenticaHistory.js.map +0 -1
  475. package/lib/factory/createAutoBeApplication.js.map +0 -1
  476. package/lib/factory/createAutoBeContext.js.map +0 -1
  477. package/lib/factory/createAutoBeState.js.map +0 -1
  478. package/lib/factory/getAutoBeGenerated.js.map +0 -1
  479. package/lib/factory/getAutoBeRealizeGenerated.js.map +0 -1
  480. package/lib/factory/index.js.map +0 -1
  481. package/lib/index.js.map +0 -1
  482. package/lib/orchestrate/analyze/AutoBeAnalyzeFileSystem.d.ts +0 -45
  483. package/lib/orchestrate/analyze/AutoBeAnalyzeFileSystem.js +0 -27
  484. package/lib/orchestrate/analyze/AutoBeAnalyzeFileSystem.js.map +0 -1
  485. package/lib/orchestrate/analyze/AutoBeAnalyzePointer.d.ts +0 -9
  486. package/lib/orchestrate/analyze/AutoBeAnalyzePointer.js +0 -3
  487. package/lib/orchestrate/analyze/AutoBeAnalyzePointer.js.map +0 -1
  488. package/lib/orchestrate/analyze/orchestrateAnalyze.js +0 -98
  489. package/lib/orchestrate/analyze/orchestrateAnalyze.js.map +0 -1
  490. package/lib/orchestrate/analyze/orchestrateAnalyzeComposer.d.ts +0 -5
  491. package/lib/orchestrate/analyze/orchestrateAnalyzeComposer.js +0 -561
  492. package/lib/orchestrate/analyze/orchestrateAnalyzeComposer.js.map +0 -1
  493. package/lib/orchestrate/analyze/orchestrateAnalyzeReviewer.d.ts +0 -12
  494. package/lib/orchestrate/analyze/orchestrateAnalyzeReviewer.js +0 -395
  495. package/lib/orchestrate/analyze/orchestrateAnalyzeReviewer.js.map +0 -1
  496. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js +0 -347
  497. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js.map +0 -1
  498. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeComposerApplication.d.ts +0 -68
  499. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeComposerApplication.js +0 -3
  500. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeComposerApplication.js.map +0 -1
  501. package/lib/orchestrate/analyze/transformAnalyzeReviewerHistories.d.ts +0 -5
  502. package/lib/orchestrate/analyze/transformAnalyzeReviewerHistories.js +0 -27
  503. package/lib/orchestrate/analyze/transformAnalyzeReviewerHistories.js.map +0 -1
  504. package/lib/orchestrate/analyze/transformAnalyzeWriteHistories.d.ts +0 -12
  505. package/lib/orchestrate/analyze/transformAnalyzeWriteHistories.js +0 -78
  506. package/lib/orchestrate/analyze/transformAnalyzeWriteHistories.js.map +0 -1
  507. package/lib/orchestrate/analyze/writeDocumentUntilReviewPassed.d.ts +0 -16
  508. package/lib/orchestrate/analyze/writeDocumentUntilReviewPassed.js +0 -79
  509. package/lib/orchestrate/analyze/writeDocumentUntilReviewPassed.js.map +0 -1
  510. package/lib/orchestrate/facade/transformFacadeStateMessage.js.map +0 -1
  511. package/lib/orchestrate/index.js.map +0 -1
  512. package/lib/orchestrate/interface/histories/transformInterfaceAssetHistories.js.map +0 -1
  513. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.js +0 -62
  514. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.js.map +0 -1
  515. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.js +0 -28
  516. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.js.map +0 -1
  517. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.js +0 -28
  518. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.js.map +0 -1
  519. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.js +0 -28
  520. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.js.map +0 -1
  521. package/lib/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.js.map +0 -1
  522. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.js +0 -28
  523. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.js.map +0 -1
  524. package/lib/orchestrate/interface/orchestrateInterface.js.map +0 -1
  525. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js.map +0 -1
  526. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +0 -1
  527. package/lib/orchestrate/interface/orchestrateInterfaceGroups.js.map +0 -1
  528. package/lib/orchestrate/interface/orchestrateInterfaceOperations.js.map +0 -1
  529. package/lib/orchestrate/interface/orchestrateInterfaceSchemas.js.map +0 -1
  530. package/lib/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.js.map +0 -1
  531. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.js.map +0 -1
  532. package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.js.map +0 -1
  533. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.js.map +0 -1
  534. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.js.map +0 -1
  535. package/lib/orchestrate/interface/utils/OpenApiEndpointComparator.js.map +0 -1
  536. package/lib/orchestrate/prisma/histories/transformPrismaComponentsHistories.js.map +0 -1
  537. package/lib/orchestrate/prisma/histories/transformPrismaCorrectHistories.js.map +0 -1
  538. package/lib/orchestrate/prisma/histories/transformPrismaHistories.d.ts +0 -3
  539. package/lib/orchestrate/prisma/histories/transformPrismaHistories.js +0 -55
  540. package/lib/orchestrate/prisma/histories/transformPrismaHistories.js.map +0 -1
  541. package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistories.js +0 -48
  542. package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistories.js.map +0 -1
  543. package/lib/orchestrate/prisma/orchestratePrisma.js.map +0 -1
  544. package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +0 -1
  545. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +0 -1
  546. package/lib/orchestrate/prisma/orchestratePrismaSchemas.js.map +0 -1
  547. package/lib/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.js.map +0 -1
  548. package/lib/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.js.map +0 -1
  549. package/lib/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.js.map +0 -1
  550. package/lib/orchestrate/realize/ProviderCodeComparator.js.map +0 -1
  551. package/lib/orchestrate/realize/RealizePipe.js +0 -14
  552. package/lib/orchestrate/realize/RealizePipe.js.map +0 -1
  553. package/lib/orchestrate/realize/orchestrateRealize.js +0 -63
  554. package/lib/orchestrate/realize/orchestrateRealize.js.map +0 -1
  555. package/lib/orchestrate/realize/orchestrateRealizeAuthorization.js.map +0 -1
  556. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js.map +0 -1
  557. package/lib/orchestrate/realize/orchestrateRealizeCoder.d.ts +0 -26
  558. package/lib/orchestrate/realize/orchestrateRealizeCoder.js +0 -420
  559. package/lib/orchestrate/realize/orchestrateRealizeCoder.js.map +0 -1
  560. package/lib/orchestrate/realize/orchestrateRealizePlanner.js.map +0 -1
  561. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.js.map +0 -1
  562. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js.map +0 -1
  563. package/lib/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.js.map +0 -1
  564. package/lib/orchestrate/realize/structures/IAutoBeRealizeCompile.js.map +0 -1
  565. package/lib/orchestrate/realize/structures/IAutoBeRealizeFailedSymbol.js.map +0 -1
  566. package/lib/orchestrate/realize/transformRealizeAuthorization.d.ts +0 -4
  567. package/lib/orchestrate/realize/transformRealizeAuthorization.js +0 -39
  568. package/lib/orchestrate/realize/transformRealizeAuthorization.js.map +0 -1
  569. package/lib/orchestrate/realize/transformRealizeAuthorizationCorrectHistories.d.ts +0 -5
  570. package/lib/orchestrate/realize/transformRealizeAuthorizationCorrectHistories.js +0 -80
  571. package/lib/orchestrate/realize/transformRealizeAuthorizationCorrectHistories.js.map +0 -1
  572. package/lib/orchestrate/realize/transformRealizeCoderHistories.d.ts +0 -7
  573. package/lib/orchestrate/realize/transformRealizeCoderHistories.js.map +0 -1
  574. package/lib/orchestrate/realize/utils/AuthorizationFileSystem.js.map +0 -1
  575. package/lib/orchestrate/realize/utils/AutoBeRealizeAuthorizationFileSystem.js.map +0 -1
  576. package/lib/orchestrate/realize/utils/AutoBeRealizeAuthorizationReplaceImport.js.map +0 -1
  577. package/lib/orchestrate/realize/utils/InternalFileSystem.js.map +0 -1
  578. package/lib/orchestrate/realize/utils/ProviderFileSystem.js.map +0 -1
  579. package/lib/orchestrate/realize/utils/replaceImportStatements.js.map +0 -1
  580. package/lib/orchestrate/realize/writeCodeUntilCompilePassed.d.ts +0 -11
  581. package/lib/orchestrate/realize/writeCodeUntilCompilePassed.js +0 -221
  582. package/lib/orchestrate/realize/writeCodeUntilCompilePassed.js.map +0 -1
  583. package/lib/orchestrate/test/compile/completeTestCode.js.map +0 -1
  584. package/lib/orchestrate/test/compile/filterTestFileName.js.map +0 -1
  585. package/lib/orchestrate/test/compile/getTestExternalDeclarations.js.map +0 -1
  586. package/lib/orchestrate/test/compile/getTestScenarioArtifacts.js.map +0 -1
  587. package/lib/orchestrate/test/orchestrateTest.js.map +0 -1
  588. package/lib/orchestrate/test/orchestrateTestCorrect.js.map +0 -1
  589. package/lib/orchestrate/test/orchestrateTestScenario.js +0 -866
  590. package/lib/orchestrate/test/orchestrateTestScenario.js.map +0 -1
  591. package/lib/orchestrate/test/orchestrateTestWrite.js.map +0 -1
  592. package/lib/orchestrate/test/structures/IAutoBeTestCorrectApplication.js.map +0 -1
  593. package/lib/orchestrate/test/structures/IAutoBeTestFunction.js.map +0 -1
  594. package/lib/orchestrate/test/structures/IAutoBeTestScenarioApplication.js.map +0 -1
  595. package/lib/orchestrate/test/structures/IAutoBeTestScenarioArtifacts.js.map +0 -1
  596. package/lib/orchestrate/test/structures/IAutoBeTestWriteApplication.js.map +0 -1
  597. package/lib/orchestrate/test/structures/IAutoBeTestWriteResult.js.map +0 -1
  598. package/lib/orchestrate/test/transformTestCorrectHistories.js.map +0 -1
  599. package/lib/orchestrate/test/transformTestHistories.js.map +0 -1
  600. package/lib/orchestrate/test/transformTestScenarioHistories.d.ts +0 -3
  601. package/lib/orchestrate/test/transformTestScenarioHistories.js +0 -100
  602. package/lib/orchestrate/test/transformTestScenarioHistories.js.map +0 -1
  603. package/lib/orchestrate/test/transformTestWriteHistories.js +0 -178
  604. package/lib/orchestrate/test/transformTestWriteHistories.js.map +0 -1
  605. package/lib/structures/IAutoBeConfig.js.map +0 -1
  606. package/lib/structures/IAutoBeProps.js.map +0 -1
  607. package/lib/structures/IAutoBeVendor.js.map +0 -1
  608. package/lib/utils/arrayToRecord.js.map +0 -1
  609. package/lib/utils/backoffRetry.js.map +0 -1
  610. package/lib/utils/divideArray.js.map +0 -1
  611. package/lib/utils/emplaceMap.js.map +0 -1
  612. package/lib/utils/enforceToolCall.d.ts +0 -3
  613. package/lib/utils/enforceToolCall.js +0 -13
  614. package/lib/utils/enforceToolCall.js.map +0 -1
  615. package/lib/utils/forceRetry.d.ts +0 -1
  616. package/lib/utils/forceRetry.js +0 -26
  617. package/lib/utils/forceRetry.js.map +0 -1
  618. package/lib/utils/pipe.js.map +0 -1
  619. package/src/orchestrate/analyze/AutoBeAnalyzeFileSystem.ts +0 -58
  620. package/src/orchestrate/analyze/AutoBeAnalyzePointer.ts +0 -10
  621. package/src/orchestrate/analyze/orchestrateAnalyzeComposer.ts +0 -112
  622. package/src/orchestrate/analyze/orchestrateAnalyzeReviewer.ts +0 -131
  623. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeComposerApplication.ts +0 -75
  624. package/src/orchestrate/analyze/transformAnalyzeReviewerHistories.ts +0 -31
  625. package/src/orchestrate/analyze/transformAnalyzeWriteHistories.ts +0 -94
  626. package/src/orchestrate/analyze/writeDocumentUntilReviewPassed.ts +0 -96
  627. package/src/orchestrate/prisma/histories/transformPrismaHistories.ts +0 -59
  628. package/src/orchestrate/realize/RealizePipe.ts +0 -39
  629. package/src/orchestrate/realize/orchestrateRealizeCoder.ts +0 -182
  630. package/src/orchestrate/realize/writeCodeUntilCompilePassed.ts +0 -308
  631. package/src/orchestrate/test/transformTestScenarioHistories.ts +0 -105
  632. package/src/utils/enforceToolCall.ts +0 -13
  633. package/src/utils/forceRetry.ts +0 -13
  634. /package/lib/{AutoBeAgentBase.js → agent/src/AutoBeAgentBase.js} +0 -0
  635. /package/lib/{constants → agent/src/constants}/AutoBeSystemPromptConstant.js +0 -0
  636. /package/lib/{context → agent/src/context}/AutoBeContext.js +0 -0
  637. /package/lib/{context → agent/src/context}/AutoBeState.js +0 -0
  638. /package/lib/{context → agent/src/context}/IAutoBeApplication.js +0 -0
  639. /package/lib/{context → agent/src/context}/IAutoBeApplicationProps.js +0 -0
  640. /package/lib/{context → agent/src/context}/IAutoBeApplicationResult.js +0 -0
  641. /package/lib/{context → agent/src/context}/assertSchemaModel.js +0 -0
  642. /package/lib/{factory → agent/src/factory}/createAgenticaHistory.js +0 -0
  643. /package/lib/{factory → agent/src/factory}/createAutoBeApplication.js +0 -0
  644. /package/lib/{factory → agent/src/factory}/createAutoBeState.js +0 -0
  645. /package/lib/{factory → agent/src/factory}/getAutoBeRealizeGenerated.js +0 -0
  646. /package/lib/{factory → agent/src/factory}/index.js +0 -0
  647. /package/lib/{index.js → agent/src/index.js} +0 -0
  648. /package/lib/{orchestrate → agent/src/orchestrate}/facade/transformFacadeStateMessage.js +0 -0
  649. /package/lib/{orchestrate → agent/src/orchestrate}/index.js +0 -0
  650. /package/lib/{orchestrate → agent/src/orchestrate}/interface/histories/transformInterfaceAssetHistories.js +0 -0
  651. /package/lib/{orchestrate → agent/src/orchestrate}/interface/histories/transformInterfacePrerequisiteHistories.js +0 -0
  652. /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceComplementApplication.js +0 -0
  653. /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceEndpointApplication.js +0 -0
  654. /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceGroupApplication.js +0 -0
  655. /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceOperationApplication.js +0 -0
  656. /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceSchemaApplication.js +0 -0
  657. /package/lib/{orchestrate → agent/src/orchestrate}/interface/utils/OpenApiEndpointComparator.js +0 -0
  658. /package/lib/{orchestrate → agent/src/orchestrate}/prisma/histories/transformPrismaComponentsHistories.js +0 -0
  659. /package/lib/{orchestrate → agent/src/orchestrate}/prisma/structures/IAutoBePrismaComponentApplication.js +0 -0
  660. /package/lib/{orchestrate → agent/src/orchestrate}/prisma/structures/IAutoBePrismaCorrectApplication.js +0 -0
  661. /package/lib/{orchestrate → agent/src/orchestrate}/prisma/structures/IAutoBePrismaSchemaApplication.js +0 -0
  662. /package/lib/{orchestrate → agent/src/orchestrate}/realize/ProviderCodeComparator.js +0 -0
  663. /package/lib/{orchestrate/realize → agent/src/orchestrate/realize/histories}/transformRealizeCoderHistories.js +0 -0
  664. /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeAuthorizationApplication.js +0 -0
  665. /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js +0 -0
  666. /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeCoderApplication.js +0 -0
  667. /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeCompile.js +0 -0
  668. /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeFailedSymbol.js +0 -0
  669. /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/AuthorizationFileSystem.js +0 -0
  670. /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/AutoBeRealizeAuthorizationFileSystem.js +0 -0
  671. /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/AutoBeRealizeAuthorizationReplaceImport.js +0 -0
  672. /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/InternalFileSystem.js +0 -0
  673. /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/ProviderFileSystem.js +0 -0
  674. /package/lib/{orchestrate → agent/src/orchestrate}/test/compile/completeTestCode.js +0 -0
  675. /package/lib/{orchestrate → agent/src/orchestrate}/test/compile/filterTestFileName.js +0 -0
  676. /package/lib/{orchestrate → agent/src/orchestrate}/test/compile/getTestExternalDeclarations.js +0 -0
  677. /package/lib/{orchestrate → agent/src/orchestrate}/test/compile/getTestScenarioArtifacts.js +0 -0
  678. /package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestCorrectHistories.js +0 -0
  679. /package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestHistories.js +0 -0
  680. /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestCorrectApplication.js +0 -0
  681. /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestFunction.js +0 -0
  682. /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestScenarioApplication.js +0 -0
  683. /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestScenarioArtifacts.js +0 -0
  684. /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestWriteApplication.js +0 -0
  685. /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestWriteResult.js +0 -0
  686. /package/lib/{structures → agent/src/structures}/IAutoBeConfig.js +0 -0
  687. /package/lib/{structures → agent/src/structures}/IAutoBeProps.js +0 -0
  688. /package/lib/{structures → agent/src/structures}/IAutoBeVendor.js +0 -0
  689. /package/lib/{utils → agent/src/utils}/arrayToRecord.js +0 -0
  690. /package/lib/{utils → agent/src/utils}/backoffRetry.js +0 -0
  691. /package/lib/{utils → agent/src/utils}/divideArray.js +0 -0
  692. /package/lib/{utils → agent/src/utils}/emplaceMap.js +0 -0
  693. /package/lib/{utils → agent/src/utils}/pipe.js +0 -0
@@ -6,10 +6,10 @@ export declare namespace AutoBeMockAgent {
6
6
  }
7
7
  interface IPreset {
8
8
  histories: AutoBeHistory[];
9
- analyze: AutoBeEventSnapshot[];
10
- prisma: AutoBeEventSnapshot[];
11
- interface: AutoBeEventSnapshot[];
12
- test: AutoBeEventSnapshot[];
13
- realize: AutoBeEventSnapshot[];
9
+ analyze?: AutoBeEventSnapshot[] | null;
10
+ prisma?: AutoBeEventSnapshot[] | null;
11
+ interface?: AutoBeEventSnapshot[] | null;
12
+ test?: AutoBeEventSnapshot[] | null;
13
+ realize?: AutoBeEventSnapshot[] | null;
14
14
  }
15
15
  }
@@ -0,0 +1,52 @@
1
+ import { AutoBeHistory, AutoBeUserMessageContent, IAutoBeAgent } from "@autobe/interface";
2
+ import { ILlmSchema } from "@samchon/openapi";
3
+ import { AutoBeAgentBase } from "./AutoBeAgentBase";
4
+ import { AutoBeTokenUsage } from "./context/AutoBeTokenUsage";
5
+ import { IAutoBeProps } from "./structures/IAutoBeProps";
6
+ /**
7
+ * Main agent class that orchestrates the entire vibe coding pipeline through
8
+ * conversation-driven development.
9
+ *
10
+ * The AutoBeAgent serves as the central coordinator for the waterfall-based
11
+ * development process with spiral model iterative improvements. It manages the
12
+ * five specialized agents (Analyze, Prisma, Interface, Test, Realize) that
13
+ * transform user conversations into complete working applications through a
14
+ * sophisticated AST-based compilation infrastructure.
15
+ *
16
+ * The agent operates through natural language conversation, supporting
17
+ * multimodal input including text, images, files, and audio. It maintains
18
+ * conversation history, tracks development progress through real-time events,
19
+ * and provides access to all generated artifacts including requirements
20
+ * documentation, database schemas, API specifications, test suites, and
21
+ * implementation code.
22
+ *
23
+ * The vibe coding approach eliminates traditional development barriers by
24
+ * enabling users to express requirements naturally while the agent handles all
25
+ * technical implementation details through validated AST transformations and
26
+ * continuous quality assurance feedback loops.
27
+ *
28
+ * @author Samchon
29
+ */
30
+ export declare class AutoBeAgent<Model extends ILlmSchema.Model> extends AutoBeAgentBase implements IAutoBeAgent {
31
+ /**
32
+ * Initializes a new AutoBeAgent instance with the specified configuration.
33
+ *
34
+ * Creates and configures the agent with AI vendor settings, behavioral
35
+ * context (locale/timezone), and compilation infrastructure. The agent can
36
+ * optionally resume from previous conversation histories to continue
37
+ * development sessions or build upon existing work.
38
+ *
39
+ * The constructor sets up the internal MicroAgentica engine, initializes the
40
+ * development state from provided histories, and establishes the event
41
+ * dispatch system for real-time progress notifications. The agent becomes
42
+ * ready for conversation-driven development immediately after construction.
43
+ *
44
+ * @param props Configuration properties including AI vendor settings,
45
+ * behavioral context, compilation tools, and optional conversation
46
+ * histories for session continuation
47
+ */
48
+ constructor(props: IAutoBeProps<Model>);
49
+ conversate(content: string | AutoBeUserMessageContent | AutoBeUserMessageContent[]): Promise<AutoBeHistory[]>;
50
+ getHistories(): AutoBeHistory[];
51
+ getTokenUsage(): AutoBeTokenUsage;
52
+ }
@@ -125,6 +125,31 @@ class AutoBeAgent extends AutoBeAgentBase_1.AutoBeAgentBase {
125
125
  history,
126
126
  }))
127
127
  .filter((h) => h !== null));
128
+ // TRACE FACADE TOKEN USAGE
129
+ let previous = this.agentica_
130
+ .getTokenUsage()
131
+ .toJSON().aggregate;
132
+ const increment = () => {
133
+ const current = this.agentica_
134
+ .getTokenUsage()
135
+ .toJSON().aggregate;
136
+ this.usage_.facade.increment({
137
+ total: current.total - previous.total,
138
+ input: {
139
+ total: current.input.total - previous.input.total,
140
+ cached: current.input.cached - previous.input.cached,
141
+ },
142
+ output: {
143
+ total: current.output.total - previous.output.total,
144
+ reasoning: current.output.reasoning - previous.output.reasoning,
145
+ accepted_prediction: current.output.accepted_prediction -
146
+ previous.output.accepted_prediction,
147
+ rejected_prediction: current.output.rejected_prediction -
148
+ previous.output.rejected_prediction,
149
+ },
150
+ });
151
+ previous = current;
152
+ };
128
153
  this.agentica_.on("assistantMessage", (message) => __awaiter(this, void 0, void 0, function* () {
129
154
  const start = new Date();
130
155
  const history = {
@@ -134,6 +159,7 @@ class AutoBeAgent extends AutoBeAgentBase_1.AutoBeAgentBase {
134
159
  created_at: start.toISOString(),
135
160
  completed_at: new Date().toISOString(),
136
161
  };
162
+ increment();
137
163
  this.histories_.push(history);
138
164
  this.dispatch({
139
165
  type: "assistantMessage",
@@ -141,6 +167,9 @@ class AutoBeAgent extends AutoBeAgentBase_1.AutoBeAgentBase {
141
167
  created_at: history.created_at,
142
168
  }).catch(() => { });
143
169
  }));
170
+ this.agentica_.on("call", () => __awaiter(this, void 0, void 0, function* () {
171
+ increment();
172
+ }));
144
173
  this.agentica_.on("request", (e) => {
145
174
  if (e.body.parallel_tool_calls !== undefined)
146
175
  delete e.body.parallel_tool_calls;
@@ -174,7 +203,6 @@ class AutoBeAgent extends AutoBeAgentBase_1.AutoBeAgentBase {
174
203
  this.histories_.push(userMessageHistory);
175
204
  this.dispatch(userMessageHistory).catch(() => { });
176
205
  yield this.agentica_.conversate(content);
177
- this.usage_.facade.increment(this.agentica_.getTokenUsage().aggregate);
178
206
  return this.histories_.slice(index);
179
207
  });
180
208
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutoBeAgent.js","sourceRoot":"","sources":["../../../src/AutoBeAgent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAIwB;A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I,CAAC,UAAU,CAAC,KAAK,EAAE,IAClC,CAAC;IACL,CAAC;IAED;;kEAE8D;IACjD,UAAU,CACrB,OAAuE;;YAEvE,MAAM,KAAK,GAAW,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;YAC7C,MAAM,kBAAkB,GAA6B;gBACnD,EAAE,EAAE,IAAA,SAAE,GAAE;gBACR,IAAI,EAAE,aAAa;gBACnB,QAAQ,EACN,OAAO,OAAO,KAAK,QAAQ;oBACzB,CAAC,CAAC;wBACE;4BACE,IAAI,EAAE,MAAM;4BACZ,IAAI,EAAE,OAAO;yBACd;qBACF;oBACH,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;wBACtB,CAAC,CAAC,OAAO;wBACT,CAAC,CAAC,CAAC,OAAO,CAAC;gBACjB,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;aACrC,CAAC;YACF,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;YACzC,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;YAElD,MAAM,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;YACzC,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;KAAA;IAEM,YAAY;QACjB,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAEM,aAAa;QAClB,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,gBAAgB;IACT,UAAU;QACf,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF;AA9ND,kCA8NC"}
@@ -0,0 +1,18 @@
1
+ import { AutoBeEvent, AutoBeHistory, IAutoBeCompiler, IAutoBeGetFilesOptions } from "@autobe/interface";
2
+ import { AutoBeState } from "./context/AutoBeState";
3
+ import { AutoBeTokenUsage } from "./context/AutoBeTokenUsage";
4
+ export declare abstract class AutoBeAgentBase {
5
+ private readonly asset;
6
+ constructor(asset: AutoBeAgentBase.IAsset);
7
+ getFiles(options?: Partial<IAutoBeGetFilesOptions>): Promise<Record<string, string>>;
8
+ abstract getHistories(): AutoBeHistory[];
9
+ abstract getTokenUsage(): AutoBeTokenUsage;
10
+ on<Type extends AutoBeEvent.Type>(type: Type, listener: (event: AutoBeEvent.Mapper[Type]) => Promise<void> | void): this;
11
+ off<Type extends AutoBeEvent.Type>(type: Type, listener: (event: AutoBeEvent.Mapper[Type]) => Promise<void> | void): this;
12
+ }
13
+ export declare namespace AutoBeAgentBase {
14
+ interface IAsset {
15
+ compiler: () => Promise<IAutoBeCompiler>;
16
+ state: () => AutoBeState;
17
+ }
18
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutoBeAgentBase.js","sourceRoot":"","sources":["../../../src/AutoBeAgentBase.ts"],"names":[],"mappings":";;;;;;;;;;;;AASA,qEAAkE;AAClE,mDAAgD;AAEhD,MAAsB,eAAe;IAOnC,YAAoC,KAA6B;QAA7B,UAAK,GAAL,KAAK,CAAwB;QAC/D,IAAI,CAAC,UAAU,GAAG,IAAI,GAAG,EAAE,CAAC;IAC9B,CAAC;IAEY,QAAQ,CACnB,OAAyC;;YAEzC,OAAO,IAAA,uCAAkB,EACvB,MAAM,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,EAC3B,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,EAClB,IAAI,CAAC,YAAY,EAAE,EACnB,IAAI,CAAC,aAAa,EAAE,EACpB,OAAO,CACR,CAAC;QACJ,CAAC;KAAA;IAIM,EAAE,CACP,IAAU,EACV,QAAmE;QAEnE,IAAA,uBAAU,EAAC,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,GAAG,CACpD,QAAuC,CACxC,CAAC;QACF,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,GAAG,CACR,IAAU,EACV,QAAmE;QAEnE,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtC,IAAI,GAAG,KAAK,SAAS;YAAE,OAAO,IAAI,CAAC;QAEnC,GAAG,CAAC,MAAM,CAAC,QAAuC,CAAC,CAAC;QACpD,IAAI,GAAG,CAAC,IAAI,KAAK,CAAC;YAAE,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACjD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,gBAAgB;IACA,QAAQ,CAAC,KAAkB;;YACzC,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YAC5C,IAAI,GAAG,KAAK,SAAS;gBAAE,OAAO;YAC9B,MAAM,OAAO,CAAC,GAAG,CACf,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAO,QAAQ,EAAE,EAAE;gBACrC,IAAI,CAAC;oBACH,MAAM,QAAQ,CAAC,KAAK,CAAC,CAAC;gBACxB,CAAC;gBAAC,WAAM,CAAC,CAAA,CAAC;YACZ,CAAC,CAAA,CAAC,CACH,CAAC;QACJ,CAAC;KAAA;CACF;AA3DD,0CA2DC"}
@@ -0,0 +1,15 @@
1
+ import { AutoBeEventSnapshot, AutoBeHistory, IAutoBeCompiler, IAutoBeCompilerListener } from "@autobe/interface";
2
+ export declare namespace AutoBeMockAgent {
3
+ interface IProps {
4
+ compiler: (listener: IAutoBeCompilerListener) => IAutoBeCompiler | Promise<IAutoBeCompiler>;
5
+ preset: IPreset;
6
+ }
7
+ interface IPreset {
8
+ histories: AutoBeHistory[];
9
+ analyze?: AutoBeEventSnapshot[] | null;
10
+ prisma?: AutoBeEventSnapshot[] | null;
11
+ interface?: AutoBeEventSnapshot[] | null;
12
+ test?: AutoBeEventSnapshot[] | null;
13
+ realize?: AutoBeEventSnapshot[] | null;
14
+ }
15
+ }
@@ -76,7 +76,23 @@ class AutoBeMockAgent extends AutoBeAgentBase_1.AutoBeAgentBase {
76
76
  }
77
77
  const take = (type) => __awaiter(this, void 0, void 0, function* () {
78
78
  var _a;
79
- for (const s of this.getEventSnapshots(type)) {
79
+ const snapshots = this.getEventSnapshots(type);
80
+ if (snapshots === null) {
81
+ this.histories_.push(userMessage);
82
+ this.histories_.push({
83
+ id: (0, uuid_1.v4)(),
84
+ type: "assistantMessage",
85
+ text: [
86
+ "The histories are prepared until current state.",
87
+ "",
88
+ "Thanks for using AutoBE!",
89
+ ].join("\n"),
90
+ created_at: new Date().toISOString(),
91
+ completed_at: new Date().toISOString(),
92
+ });
93
+ return;
94
+ }
95
+ for (const s of snapshots) {
80
96
  const time = (_a = sleepMap[s.event.type]) !== null && _a !== void 0 ? _a : 500;
81
97
  yield (0, tstl_1.sleep_for)((0, tstl_1.randint)(time * 0.2, time * 1.8));
82
98
  void this.dispatch(s.event).catch(() => { });
@@ -105,13 +121,17 @@ class AutoBeMockAgent extends AutoBeAgentBase_1.AutoBeAgentBase {
105
121
  return this.token_usage_;
106
122
  }
107
123
  getEventSnapshots(state) {
108
- return this.props_.preset[state];
124
+ var _a;
125
+ return (_a = this.props_.preset[state]) !== null && _a !== void 0 ? _a : null;
109
126
  }
110
127
  }
111
128
  exports.AutoBeMockAgent = AutoBeMockAgent;
112
129
  const sleepMap = {
130
+ userMessage: 1000,
131
+ assistantMessage: 1000,
113
132
  // ANALYZE
114
133
  analyzeStart: 1000,
134
+ analyzeScenario: 1000,
115
135
  analyzeWrite: 500,
116
136
  analyzeReview: 300,
117
137
  analyzeComplete: 1000,
@@ -119,20 +139,25 @@ const sleepMap = {
119
139
  prismaStart: 1000,
120
140
  prismaComponents: 1000,
121
141
  prismaSchemas: 500,
142
+ prismaInsufficient: 1000,
143
+ prismaReview: 500,
122
144
  prismaValidate: 2000,
123
145
  prismaCorrect: 500,
124
- prismaInsufficient: 1000,
125
146
  prismaComplete: 1000,
126
147
  // INTERFACE
127
148
  interfaceStart: 1000,
149
+ interfaceGroups: 1000,
128
150
  interfaceEndpoints: 1000,
129
151
  interfaceOperations: 400,
152
+ interfaceOperationsReview: 400,
153
+ interfaceAuthorization: 400,
130
154
  interfaceSchemas: 400,
155
+ interfaceSchemasReview: 400,
131
156
  interfaceComplement: 2000,
132
157
  interfaceComplete: 1000,
133
158
  // TEST
134
159
  testStart: 1000,
135
- testScenario: 1000,
160
+ testScenarios: 40,
136
161
  testWrite: 40,
137
162
  testValidate: 100,
138
163
  testCorrect: 100,
@@ -146,6 +171,11 @@ const sleepMap = {
146
171
  realizeAuthorizationStart: 1000,
147
172
  realizeAuthorizationWrite: 200,
148
173
  realizeAuthorizationValidate: 200,
174
+ realizeAuthorizationCorrect: 200,
149
175
  realizeAuthorizationComplete: 1000,
176
+ realizeTestStart: 1000,
177
+ realizeTestReset: 2500,
178
+ realizeTestOperation: 400,
179
+ realizeTestComplete: 1000,
150
180
  };
151
181
  //# sourceMappingURL=AutoBeMockAgent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutoBeMockAgent.js","sourceRoot":"","sources":["../../../src/AutoBeMockAgent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAWA,+BAAqD;AACrD,+BAA0B;AAE1B,uDAAoD;AAEpD,iEAA8D;AAC9D,mEAAgE;AAEhE,gBAAgB;AAChB,MAAa,eAAgB,SAAQ,iCAAe;IAMlD,YAAmB,KAA6B;QAC9C,KAAK,CAAC;YACJ,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE;YACpC,KAAK,EAAE,GAAG,EAAE,CAAC,IAAA,qCAAiB,EAAC,IAAI,CAAC,UAAU,CAAC;SAChD,CAAC,CAAC;QACH,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,IAAI,g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