@autobe/agent 0.22.1 → 0.23.1

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 (687) hide show
  1. package/lib/AutoBeAgent.d.ts +2 -1
  2. package/lib/{agent/src/AutoBeAgent.js → AutoBeAgent.js} +17 -3
  3. package/lib/AutoBeAgent.js.map +1 -0
  4. package/lib/AutoBeAgentBase.js.map +1 -0
  5. package/lib/{agent/src/AutoBeMockAgent.js → AutoBeMockAgent.js} +16 -0
  6. package/lib/AutoBeMockAgent.js.map +1 -0
  7. package/lib/constants/AutoBeConfigConstant.d.ts +3 -1
  8. package/lib/constants/AutoBeConfigConstant.js.map +1 -0
  9. package/lib/constants/AutoBeSystemPromptConstant.d.ts +17 -15
  10. package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -0
  11. package/lib/context/AutoBeContext.js.map +1 -0
  12. package/lib/context/AutoBeState.js.map +1 -0
  13. package/lib/context/AutoBeTokenUsage.d.ts +1 -0
  14. package/lib/{agent/src/context → context}/AutoBeTokenUsage.js +8 -0
  15. package/lib/context/AutoBeTokenUsage.js.map +1 -0
  16. package/lib/context/AutoBeTokenUsageComponent.d.ts +1 -0
  17. package/lib/{agent/src/context → context}/AutoBeTokenUsageComponent.js +8 -0
  18. package/lib/context/AutoBeTokenUsageComponent.js.map +1 -0
  19. package/lib/context/IAutoBeApplication.js.map +1 -0
  20. package/lib/context/IAutoBeApplicationProps.js.map +1 -0
  21. package/lib/context/IAutoBeApplicationResult.js.map +1 -0
  22. package/lib/context/assertSchemaModel.js.map +1 -0
  23. package/lib/{agent/src/factory → factory}/consentFunctionCall.js +1 -1
  24. package/lib/factory/consentFunctionCall.js.map +1 -0
  25. package/lib/factory/createAgenticaHistory.js.map +1 -0
  26. package/lib/factory/createAutoBeApplication.js.map +1 -0
  27. package/lib/{agent/src/factory → factory}/createAutoBeContext.js +66 -20
  28. package/lib/factory/createAutoBeContext.js.map +1 -0
  29. package/lib/factory/createAutoBeState.js.map +1 -0
  30. package/lib/factory/getAutoBeGenerated.js.map +1 -0
  31. package/lib/factory/getAutoBeRealizeGenerated.js.map +1 -0
  32. package/lib/factory/getCriticalCompiler.d.ts +3 -0
  33. package/lib/factory/getCriticalCompiler.js +55 -0
  34. package/lib/factory/getCriticalCompiler.js.map +1 -0
  35. package/lib/factory/index.js.map +1 -0
  36. package/lib/index.js.map +1 -0
  37. package/lib/index.mjs +4827 -3025
  38. package/lib/index.mjs.map +1 -1
  39. package/lib/orchestrate/analyze/histories/transformAnalyzeReviewHistories.js.map +1 -0
  40. package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js.map +1 -0
  41. package/lib/orchestrate/analyze/histories/transformAnalyzeWriteHistories.js.map +1 -0
  42. package/lib/orchestrate/analyze/orchestrateAnalyze.js.map +1 -0
  43. package/lib/orchestrate/analyze/orchestrateAnalyzeReview.js.map +1 -0
  44. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -0
  45. package/lib/{agent/src/orchestrate → orchestrate}/analyze/orchestrateAnalyzeWrite.js +2 -4
  46. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js.map +1 -0
  47. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.js.map +1 -0
  48. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.js.map +1 -0
  49. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.js.map +1 -0
  50. package/lib/orchestrate/common/histories/transformCommonCorrectCastingHistories.d.ts +8 -0
  51. package/lib/orchestrate/common/histories/transformCommonCorrectCastingHistories.js +31 -0
  52. package/lib/orchestrate/common/histories/transformCommonCorrectCastingHistories.js.map +1 -0
  53. package/lib/orchestrate/common/orchestrateCommonCorrectCasting.d.ts +18 -0
  54. package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js +411 -0
  55. package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js.map +1 -0
  56. package/lib/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.d.ts +122 -0
  57. package/lib/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.js +3 -0
  58. package/lib/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.js.map +1 -0
  59. package/lib/orchestrate/facade/transformFacadeStateMessage.js.map +1 -0
  60. package/lib/orchestrate/index.js.map +1 -0
  61. package/lib/orchestrate/interface/histories/transformInterfaceAssetHistories.js.map +1 -0
  62. package/lib/{agent/src/orchestrate → orchestrate}/interface/histories/transformInterfaceAuthorizationsHistories.js +1 -1
  63. package/lib/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.js.map +1 -0
  64. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.js +63 -0
  65. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.js.map +1 -0
  66. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.js.map +1 -0
  67. package/lib/{agent/src/orchestrate → orchestrate}/interface/histories/transformInterfaceEndpointsReviewHistories.js +4 -4
  68. package/lib/orchestrate/interface/histories/transformInterfaceEndpointsReviewHistories.js.map +1 -0
  69. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.js.map +1 -0
  70. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.js +52 -0
  71. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.js.map +1 -0
  72. package/lib/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.js +36 -0
  73. package/lib/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.js.map +1 -0
  74. package/lib/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.js.map +1 -0
  75. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.js +29 -0
  76. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.js.map +1 -0
  77. package/lib/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.js +60 -0
  78. package/lib/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.js.map +1 -0
  79. package/lib/orchestrate/interface/orchestrateInterface.js.map +1 -0
  80. package/lib/orchestrate/interface/orchestrateInterfaceAuthorizations.js.map +1 -0
  81. package/lib/{agent/src/orchestrate → orchestrate}/interface/orchestrateInterfaceComplement.js +2 -2
  82. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js.map +1 -0
  83. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +1 -0
  84. package/lib/orchestrate/interface/orchestrateInterfaceEndpointsReview.js.map +1 -0
  85. package/lib/orchestrate/interface/orchestrateInterfaceGroups.js.map +1 -0
  86. package/lib/{agent/src/orchestrate → orchestrate}/interface/orchestrateInterfaceOperations.js +193 -274
  87. package/lib/orchestrate/interface/orchestrateInterfaceOperations.js.map +1 -0
  88. package/lib/orchestrate/interface/orchestrateInterfaceOperationsReview.js +1747 -0
  89. package/lib/orchestrate/interface/orchestrateInterfaceOperationsReview.js.map +1 -0
  90. package/lib/{agent/src/orchestrate → orchestrate}/interface/orchestrateInterfaceSchemas.js +2 -2
  91. package/lib/orchestrate/interface/orchestrateInterfaceSchemas.js.map +1 -0
  92. package/lib/orchestrate/interface/orchestrateInterfaceSchemasReview.d.ts +1 -1
  93. package/lib/{agent/src/orchestrate → orchestrate}/interface/orchestrateInterfaceSchemasReview.js +5 -7
  94. package/lib/orchestrate/interface/orchestrateInterfaceSchemasReview.js.map +1 -0
  95. package/lib/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.js.map +1 -0
  96. package/lib/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.js.map +1 -0
  97. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.js.map +1 -0
  98. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointsReviewApplication.js.map +1 -0
  99. package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.js.map +1 -0
  100. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +247 -1
  101. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.js.map +1 -0
  102. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.js.map +1 -0
  103. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.js.map +1 -0
  104. package/lib/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.js.map +1 -0
  105. package/lib/orchestrate/interface/utils/JsonSchemaFactory.js.map +1 -0
  106. package/lib/orchestrate/interface/utils/JsonSchemaNamingConvention.js.map +1 -0
  107. package/lib/orchestrate/interface/utils/JsonSchemaValidator.d.ts +6 -1
  108. package/lib/{agent/src/orchestrate → orchestrate}/interface/utils/JsonSchemaValidator.js +26 -24
  109. package/lib/orchestrate/interface/utils/JsonSchemaValidator.js.map +1 -0
  110. package/lib/orchestrate/interface/utils/OpenApiEndpointComparator.js.map +1 -0
  111. package/lib/{agent/src/orchestrate/interface/utils/JsonSchemaValidator.d.ts → orchestrate/interface/utils/OperationValidator.d.ts} +2 -2
  112. package/lib/orchestrate/interface/utils/OperationValidator.js +114 -0
  113. package/lib/orchestrate/interface/utils/OperationValidator.js.map +1 -0
  114. package/lib/orchestrate/interface/utils/fulfillJsonSchemaErrorMessages.js.map +1 -0
  115. package/lib/orchestrate/prisma/histories/transformPrismaComponentsHistories.js.map +1 -0
  116. package/lib/orchestrate/prisma/histories/transformPrismaCorrectHistories.js.map +1 -0
  117. package/lib/orchestrate/prisma/histories/transformPrismaReviewHistories.js.map +1 -0
  118. package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistories.js.map +1 -0
  119. package/lib/orchestrate/prisma/orchestratePrisma.js.map +1 -0
  120. package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -0
  121. package/lib/{agent/src/orchestrate → orchestrate}/prisma/orchestratePrismaCorrect.js +2 -2
  122. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -0
  123. package/lib/orchestrate/prisma/orchestratePrismaReview.js.map +1 -0
  124. package/lib/orchestrate/prisma/orchestratePrismaSchemas.js.map +1 -0
  125. package/lib/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.js.map +1 -0
  126. package/lib/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.js.map +1 -0
  127. package/lib/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.js.map +1 -0
  128. package/lib/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.js.map +1 -0
  129. package/lib/orchestrate/realize/ProviderCodeComparator.js.map +1 -0
  130. package/lib/{agent/src/orchestrate → orchestrate}/realize/histories/transformRealizeAuthorization.js +1 -1
  131. package/lib/orchestrate/realize/histories/transformRealizeAuthorization.js.map +1 -0
  132. package/lib/{agent/src/orchestrate → orchestrate}/realize/histories/transformRealizeAuthorizationCorrectHistories.js +2 -2
  133. package/lib/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.js.map +1 -0
  134. package/lib/orchestrate/realize/histories/transformRealizeCorrectHistories.js +57 -0
  135. package/lib/orchestrate/realize/histories/transformRealizeCorrectHistories.js.map +1 -0
  136. package/lib/orchestrate/realize/histories/transformRealizeWriteAuthorizationsHistories.js.map +1 -0
  137. package/lib/orchestrate/realize/histories/transformRealizeWriteHistories.js +141 -0
  138. package/lib/orchestrate/realize/histories/transformRealizeWriteHistories.js.map +1 -0
  139. package/lib/orchestrate/realize/internal/compileRealizeFiles.js.map +1 -0
  140. package/lib/orchestrate/realize/orchestRateRealizeCorrectCasting.d.ts +4 -0
  141. package/lib/orchestrate/realize/orchestRateRealizeCorrectCasting.js +505 -0
  142. package/lib/orchestrate/realize/orchestRateRealizeCorrectCasting.js.map +1 -0
  143. package/lib/{agent/src/orchestrate → orchestrate}/realize/orchestrateRealize.js +18 -8
  144. package/lib/orchestrate/realize/orchestrateRealize.js.map +1 -0
  145. package/lib/orchestrate/realize/orchestrateRealizeAuthorization.js.map +1 -0
  146. package/lib/{agent/src/orchestrate → orchestrate}/realize/orchestrateRealizeAuthorizationCorrect.js +1 -1
  147. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js.map +1 -0
  148. package/lib/orchestrate/realize/orchestrateRealizeCorrect.d.ts +2 -15
  149. package/lib/{agent/src/orchestrate → orchestrate}/realize/orchestrateRealizeCorrect.js +48 -43
  150. package/lib/orchestrate/realize/orchestrateRealizeCorrect.js.map +1 -0
  151. package/lib/orchestrate/realize/orchestrateRealizeWrite.js.map +1 -0
  152. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.js.map +1 -0
  153. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js.map +1 -0
  154. package/lib/orchestrate/realize/structures/IAutoBeRealizeCorrectApplication.js.map +1 -0
  155. package/lib/orchestrate/realize/structures/IAutoBeRealizeFunctionFailure.js.map +1 -0
  156. package/lib/orchestrate/realize/structures/IAutoBeRealizeScenarioResult.js.map +1 -0
  157. package/lib/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.js.map +1 -0
  158. package/lib/orchestrate/realize/utils/AuthorizationFileSystem.js.map +1 -0
  159. package/lib/orchestrate/realize/utils/AutoBeRealizeAuthorizationFileSystem.js.map +1 -0
  160. package/lib/orchestrate/realize/utils/AutoBeRealizeAuthorizationReplaceImport.js.map +1 -0
  161. package/lib/orchestrate/realize/utils/InternalFileSystem.js.map +1 -0
  162. package/lib/orchestrate/realize/utils/ProviderFileSystem.js.map +1 -0
  163. package/lib/orchestrate/realize/utils/generateRealizeScenario.d.ts +25 -0
  164. package/lib/orchestrate/realize/utils/generateRealizeScenario.js +85 -0
  165. package/lib/orchestrate/realize/utils/generateRealizeScenario.js.map +1 -0
  166. package/lib/orchestrate/realize/utils/getRealizeWriteCodeTemplate.js.map +1 -0
  167. package/lib/orchestrate/realize/utils/getRealizeWriteDto.js.map +1 -0
  168. package/lib/orchestrate/realize/utils/getRealizeWriteImportStatements.js.map +1 -0
  169. package/lib/orchestrate/realize/utils/getRealizeWriteInputType.js.map +1 -0
  170. package/lib/orchestrate/realize/utils/replaceImportStatements.js +98 -0
  171. package/lib/orchestrate/realize/utils/replaceImportStatements.js.map +1 -0
  172. package/lib/orchestrate/test/compile/completeTestCode.js.map +1 -0
  173. package/lib/orchestrate/test/compile/filterTestFileName.js.map +1 -0
  174. package/lib/orchestrate/test/compile/getTestExternalDeclarations.js.map +1 -0
  175. package/lib/orchestrate/test/compile/getTestImportStatements.js.map +1 -0
  176. package/lib/orchestrate/test/compile/getTestScenarioArtifacts.js.map +1 -0
  177. package/lib/orchestrate/test/compile/getTestTemplateCode.js.map +1 -0
  178. package/lib/orchestrate/test/histories/transformTestCorrectHistories.js +51 -0
  179. package/lib/orchestrate/test/histories/transformTestCorrectHistories.js.map +1 -0
  180. package/lib/orchestrate/test/histories/transformTestCorrectInvalidRequestHistories.d.ts +4 -0
  181. package/lib/orchestrate/test/histories/transformTestCorrectInvalidRequestHistories.js +33 -0
  182. package/lib/orchestrate/test/histories/transformTestCorrectInvalidRequestHistories.js.map +1 -0
  183. package/lib/orchestrate/test/histories/transformTestScenarioHistories.d.ts +1 -1
  184. package/lib/orchestrate/test/histories/transformTestScenarioHistories.js +159 -0
  185. package/lib/orchestrate/test/histories/transformTestScenarioHistories.js.map +1 -0
  186. package/lib/orchestrate/test/histories/transformTestValidateEvent.d.ts +4 -0
  187. package/lib/orchestrate/test/histories/transformTestValidateEvent.js +11 -0
  188. package/lib/orchestrate/test/histories/transformTestValidateEvent.js.map +1 -0
  189. package/lib/orchestrate/test/histories/transformTestWriteHistories.js +220 -0
  190. package/lib/orchestrate/test/histories/transformTestWriteHistories.js.map +1 -0
  191. package/lib/{agent/src/orchestrate → orchestrate}/test/orchestrateTest.js +13 -7
  192. package/lib/orchestrate/test/orchestrateTest.js.map +1 -0
  193. package/lib/orchestrate/test/orchestrateTestCorrect.d.ts +2 -2
  194. package/lib/orchestrate/test/orchestrateTestCorrect.js +513 -0
  195. package/lib/orchestrate/test/orchestrateTestCorrect.js.map +1 -0
  196. package/lib/orchestrate/test/orchestrateTestCorrectInvalidRequest.d.ts +7 -0
  197. package/lib/orchestrate/test/orchestrateTestCorrectInvalidRequest.js +425 -0
  198. package/lib/orchestrate/test/orchestrateTestCorrectInvalidRequest.js.map +1 -0
  199. package/lib/{agent/src/orchestrate → orchestrate}/test/orchestrateTestScenario.js +32 -36
  200. package/lib/orchestrate/test/orchestrateTestScenario.js.map +1 -0
  201. package/lib/{agent/src/orchestrate → orchestrate}/test/orchestrateTestWrite.js +23 -35
  202. package/lib/orchestrate/test/orchestrateTestWrite.js.map +1 -0
  203. package/lib/orchestrate/test/structures/IAutoBeTestCorrectApplication.js.map +1 -0
  204. package/lib/orchestrate/test/structures/IAutoBeTestCorrectInvalidRequestApplication.d.ts +140 -0
  205. package/lib/orchestrate/test/structures/IAutoBeTestCorrectInvalidRequestApplication.js +3 -0
  206. package/lib/orchestrate/test/structures/IAutoBeTestCorrectInvalidRequestApplication.js.map +1 -0
  207. package/lib/orchestrate/test/structures/IAutoBeTestFunction.js.map +1 -0
  208. package/lib/orchestrate/test/structures/IAutoBeTestFunctionFailure.js.map +1 -0
  209. package/lib/orchestrate/test/structures/IAutoBeTestScenarioApplication.d.ts +2 -2
  210. package/lib/orchestrate/test/structures/IAutoBeTestScenarioApplication.js.map +1 -0
  211. package/lib/orchestrate/test/structures/IAutoBeTestScenarioArtifacts.js.map +1 -0
  212. package/lib/orchestrate/test/structures/IAutoBeTestScenarioAuthorizationRole.js.map +1 -0
  213. package/lib/orchestrate/test/structures/IAutoBeTestWriteApplication.d.ts +38 -15
  214. package/lib/orchestrate/test/structures/IAutoBeTestWriteApplication.js.map +1 -0
  215. package/lib/orchestrate/test/structures/IAutoBeTestWriteResult.js.map +1 -0
  216. package/lib/{agent/src/orchestrate → orchestrate}/test/utils/getReferenceIds.js +1 -1
  217. package/lib/orchestrate/test/utils/getReferenceIds.js.map +1 -0
  218. package/lib/structures/IAutoBeConfig.d.ts +1 -0
  219. package/lib/structures/IAutoBeConfig.js.map +1 -0
  220. package/lib/structures/IAutoBeProps.js.map +1 -0
  221. package/lib/structures/IAutoBeVendor.js.map +1 -0
  222. package/lib/utils/AutoBeTimeoutError.d.ts +4 -0
  223. package/lib/utils/AutoBeTimeoutError.js +18 -0
  224. package/lib/utils/AutoBeTimeoutError.js.map +1 -0
  225. package/lib/utils/TimeoutConversation.d.ts +24 -0
  226. package/lib/utils/TimeoutConversation.js +65 -0
  227. package/lib/utils/TimeoutConversation.js.map +1 -0
  228. package/lib/utils/arrayToRecord.js.map +1 -0
  229. package/lib/utils/backoffRetry.js.map +1 -0
  230. package/lib/utils/divideArray.js.map +1 -0
  231. package/lib/utils/emplaceMap.js.map +1 -0
  232. package/lib/utils/executeCachedBatch.js.map +1 -0
  233. package/lib/utils/predicateStateMessage.js.map +1 -0
  234. package/package.json +6 -6
  235. package/src/AutoBeAgent.ts +16 -1
  236. package/src/AutoBeMockAgent.ts +13 -3
  237. package/src/constants/AutoBeConfigConstant.ts +3 -1
  238. package/src/constants/AutoBeSystemPromptConstant.ts +17 -15
  239. package/src/context/AutoBeTokenUsage.ts +9 -0
  240. package/src/context/AutoBeTokenUsageComponent.ts +9 -0
  241. package/src/factory/consentFunctionCall.ts +1 -1
  242. package/src/factory/createAutoBeContext.ts +68 -20
  243. package/src/factory/getCriticalCompiler.ts +47 -0
  244. package/src/orchestrate/analyze/orchestrateAnalyzeWrite.ts +2 -4
  245. package/src/orchestrate/common/histories/transformCommonCorrectCastingHistories.ts +43 -0
  246. package/src/orchestrate/common/orchestrateCommonCorrectCasting.ts +170 -0
  247. package/src/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.ts +127 -0
  248. package/src/orchestrate/interface/histories/transformInterfaceEndpointsReviewHistories.ts +4 -4
  249. package/src/orchestrate/interface/orchestrateInterfaceComplement.ts +2 -2
  250. package/src/orchestrate/interface/orchestrateInterfaceOperations.ts +10 -94
  251. package/src/orchestrate/interface/orchestrateInterfaceOperationsReview.ts +49 -13
  252. package/src/orchestrate/interface/orchestrateInterfaceSchemas.ts +3 -2
  253. package/src/orchestrate/interface/orchestrateInterfaceSchemasReview.ts +5 -5
  254. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts +254 -4
  255. package/src/orchestrate/interface/utils/JsonSchemaValidator.ts +31 -26
  256. package/src/orchestrate/interface/utils/OperationValidator.ts +127 -0
  257. package/src/orchestrate/prisma/orchestratePrismaCorrect.ts +2 -2
  258. package/src/orchestrate/realize/histories/transformRealizeCorrectHistories.ts +6 -0
  259. package/src/orchestrate/realize/orchestRateRealizeCorrectCasting.ts +317 -0
  260. package/src/orchestrate/realize/orchestrateRealize.ts +29 -14
  261. package/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.ts +1 -1
  262. package/src/orchestrate/realize/orchestrateRealizeCorrect.ts +79 -67
  263. package/src/orchestrate/realize/utils/generateRealizeScenario.ts +104 -0
  264. package/src/orchestrate/realize/utils/replaceImportStatements.ts +60 -32
  265. package/src/orchestrate/test/histories/transformTestCorrectHistories.ts +4 -3
  266. package/src/orchestrate/test/histories/transformTestCorrectInvalidRequestHistories.ts +39 -0
  267. package/src/orchestrate/test/histories/transformTestScenarioHistories.ts +75 -17
  268. package/src/orchestrate/test/histories/transformTestValidateEvent.ts +14 -0
  269. package/src/orchestrate/test/orchestrateTest.ts +11 -7
  270. package/src/orchestrate/test/orchestrateTestCorrect.ts +111 -33
  271. package/src/orchestrate/test/orchestrateTestCorrectInvalidRequest.ts +145 -0
  272. package/src/orchestrate/test/orchestrateTestScenario.ts +29 -13
  273. package/src/orchestrate/test/orchestrateTestWrite.ts +3 -1
  274. package/src/orchestrate/test/structures/IAutoBeTestCorrectApplication.ts +233 -0
  275. package/src/orchestrate/test/structures/IAutoBeTestCorrectInvalidRequestApplication.ts +146 -0
  276. package/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.ts +2 -2
  277. package/src/orchestrate/test/structures/IAutoBeTestWriteApplication.ts +110 -15
  278. package/src/orchestrate/test/utils/getReferenceIds.ts +1 -1
  279. package/src/structures/IAutoBeConfig.ts +2 -0
  280. package/src/utils/AutoBeTimeoutError.ts +13 -0
  281. package/src/utils/TimeoutConversation.ts +82 -0
  282. package/lib/agent/src/AutoBeAgent.d.ts +0 -52
  283. package/lib/agent/src/AutoBeAgent.js.map +0 -1
  284. package/lib/agent/src/AutoBeAgentBase.d.ts +0 -18
  285. package/lib/agent/src/AutoBeAgentBase.js.map +0 -1
  286. package/lib/agent/src/AutoBeMockAgent.d.ts +0 -7
  287. package/lib/agent/src/AutoBeMockAgent.js.map +0 -1
  288. package/lib/agent/src/constants/AutoBeConfigConstant.d.ts +0 -3
  289. package/lib/agent/src/constants/AutoBeConfigConstant.js.map +0 -1
  290. package/lib/agent/src/constants/AutoBeSystemPromptConstant.d.ts +0 -29
  291. package/lib/agent/src/constants/AutoBeSystemPromptConstant.js.map +0 -1
  292. package/lib/agent/src/context/AutoBeContext.d.ts +0 -43
  293. package/lib/agent/src/context/AutoBeContext.js.map +0 -1
  294. package/lib/agent/src/context/AutoBeState.d.ts +0 -8
  295. package/lib/agent/src/context/AutoBeState.js.map +0 -1
  296. package/lib/agent/src/context/AutoBeTokenUsage.d.ts +0 -173
  297. package/lib/agent/src/context/AutoBeTokenUsage.js.map +0 -1
  298. package/lib/agent/src/context/AutoBeTokenUsageComponent.d.ts +0 -117
  299. package/lib/agent/src/context/AutoBeTokenUsageComponent.js.map +0 -1
  300. package/lib/agent/src/context/IAutoBeApplication.d.ts +0 -107
  301. package/lib/agent/src/context/IAutoBeApplication.js.map +0 -1
  302. package/lib/agent/src/context/IAutoBeApplicationProps.d.ts +0 -4
  303. package/lib/agent/src/context/IAutoBeApplicationProps.js.map +0 -1
  304. package/lib/agent/src/context/IAutoBeApplicationResult.d.ts +0 -4
  305. package/lib/agent/src/context/IAutoBeApplicationResult.js.map +0 -1
  306. package/lib/agent/src/context/assertSchemaModel.d.ts +0 -2
  307. package/lib/agent/src/context/assertSchemaModel.js.map +0 -1
  308. package/lib/agent/src/factory/consentFunctionCall.d.ts +0 -10
  309. package/lib/agent/src/factory/consentFunctionCall.js.map +0 -1
  310. package/lib/agent/src/factory/createAgenticaHistory.d.ts +0 -7
  311. package/lib/agent/src/factory/createAgenticaHistory.js.map +0 -1
  312. package/lib/agent/src/factory/createAutoBeApplication.d.ts +0 -7
  313. package/lib/agent/src/factory/createAutoBeApplication.js.map +0 -1
  314. package/lib/agent/src/factory/createAutoBeContext.d.ts +0 -19
  315. package/lib/agent/src/factory/createAutoBeContext.js.map +0 -1
  316. package/lib/agent/src/factory/createAutoBeState.d.ts +0 -3
  317. package/lib/agent/src/factory/createAutoBeState.js.map +0 -1
  318. package/lib/agent/src/factory/getAutoBeGenerated.d.ts +0 -4
  319. package/lib/agent/src/factory/getAutoBeGenerated.js.map +0 -1
  320. package/lib/agent/src/factory/getAutoBeRealizeGenerated.d.ts +0 -7
  321. package/lib/agent/src/factory/getAutoBeRealizeGenerated.js.map +0 -1
  322. package/lib/agent/src/factory/index.d.ts +0 -1
  323. package/lib/agent/src/factory/index.js.map +0 -1
  324. package/lib/agent/src/index.d.ts +0 -6
  325. package/lib/agent/src/index.js.map +0 -1
  326. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeReviewHistories.d.ts +0 -6
  327. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeReviewHistories.js.map +0 -1
  328. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.d.ts +0 -4
  329. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js.map +0 -1
  330. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.d.ts +0 -6
  331. package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.js.map +0 -1
  332. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyze.d.ts +0 -5
  333. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyze.js.map +0 -1
  334. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeReview.d.ts +0 -11
  335. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeReview.js.map +0 -1
  336. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeScenario.d.ts +0 -4
  337. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +0 -1
  338. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeWrite.d.ts +0 -10
  339. package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeWrite.js.map +0 -1
  340. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.d.ts +0 -111
  341. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.js.map +0 -1
  342. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +0 -78
  343. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.js.map +0 -1
  344. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.d.ts +0 -74
  345. package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.js.map +0 -1
  346. package/lib/agent/src/orchestrate/facade/transformFacadeStateMessage.d.ts +0 -2
  347. package/lib/agent/src/orchestrate/facade/transformFacadeStateMessage.js.map +0 -1
  348. package/lib/agent/src/orchestrate/index.d.ts +0 -5
  349. package/lib/agent/src/orchestrate/index.js.map +0 -1
  350. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAssetHistories.d.ts +0 -3
  351. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAssetHistories.js.map +0 -1
  352. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.d.ts +0 -4
  353. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.js.map +0 -1
  354. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceComplementHistories.d.ts +0 -4
  355. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceComplementHistories.js +0 -63
  356. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceComplementHistories.js.map +0 -1
  357. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.d.ts +0 -5
  358. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.js.map +0 -1
  359. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointsReviewHistories.d.ts +0 -4
  360. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointsReviewHistories.js.map +0 -1
  361. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceGroupHistories.d.ts +0 -3
  362. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceGroupHistories.js.map +0 -1
  363. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationHistories.d.ts +0 -4
  364. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationHistories.js +0 -52
  365. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationHistories.js.map +0 -1
  366. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.d.ts +0 -5
  367. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.js +0 -36
  368. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.js.map +0 -1
  369. package/lib/agent/src/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.d.ts +0 -3
  370. package/lib/agent/src/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.js.map +0 -1
  371. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.d.ts +0 -4
  372. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.js +0 -29
  373. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.js.map +0 -1
  374. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.d.ts +0 -4
  375. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.js +0 -60
  376. package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.js.map +0 -1
  377. package/lib/agent/src/orchestrate/interface/orchestrateInterface.d.ts +0 -5
  378. package/lib/agent/src/orchestrate/interface/orchestrateInterface.js.map +0 -1
  379. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceAuthorizations.d.ts +0 -4
  380. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceAuthorizations.js.map +0 -1
  381. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceComplement.d.ts +0 -4
  382. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceComplement.js.map +0 -1
  383. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceEndpoints.d.ts +0 -5
  384. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +0 -1
  385. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceEndpointsReview.d.ts +0 -10
  386. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceEndpointsReview.js.map +0 -1
  387. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceGroups.d.ts +0 -4
  388. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceGroups.js.map +0 -1
  389. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperations.d.ts +0 -4
  390. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperations.js.map +0 -1
  391. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperationsReview.d.ts +0 -4
  392. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperationsReview.js +0 -1416
  393. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperationsReview.js.map +0 -1
  394. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemas.d.ts +0 -4
  395. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemas.js.map +0 -1
  396. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemasReview.d.ts +0 -9
  397. package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemasReview.js.map +0 -1
  398. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.d.ts +0 -47
  399. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.js.map +0 -1
  400. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.d.ts +0 -93
  401. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.js.map +0 -1
  402. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.d.ts +0 -24
  403. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.js.map +0 -1
  404. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointsReviewApplication.d.ts +0 -60
  405. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointsReviewApplication.js.map +0 -1
  406. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.d.ts +0 -108
  407. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.js.map +0 -1
  408. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +0 -171
  409. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.js.map +0 -1
  410. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.d.ts +0 -117
  411. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.js.map +0 -1
  412. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.d.ts +0 -107
  413. package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.js.map +0 -1
  414. package/lib/agent/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.d.ts +0 -91
  415. package/lib/agent/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.js.map +0 -1
  416. package/lib/agent/src/orchestrate/interface/utils/JsonSchemaFactory.d.ts +0 -9
  417. package/lib/agent/src/orchestrate/interface/utils/JsonSchemaFactory.js.map +0 -1
  418. package/lib/agent/src/orchestrate/interface/utils/JsonSchemaNamingConvention.d.ts +0 -5
  419. package/lib/agent/src/orchestrate/interface/utils/JsonSchemaNamingConvention.js.map +0 -1
  420. package/lib/agent/src/orchestrate/interface/utils/JsonSchemaValidator.js.map +0 -1
  421. package/lib/agent/src/orchestrate/interface/utils/OpenApiEndpointComparator.d.ts +0 -6
  422. package/lib/agent/src/orchestrate/interface/utils/OpenApiEndpointComparator.js.map +0 -1
  423. package/lib/agent/src/orchestrate/interface/utils/fulfillJsonSchemaErrorMessages.d.ts +0 -2
  424. package/lib/agent/src/orchestrate/interface/utils/fulfillJsonSchemaErrorMessages.js.map +0 -1
  425. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaComponentsHistories.d.ts +0 -3
  426. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaComponentsHistories.js.map +0 -1
  427. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaCorrectHistories.d.ts +0 -3
  428. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaCorrectHistories.js.map +0 -1
  429. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaReviewHistories.d.ts +0 -8
  430. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaReviewHistories.js.map +0 -1
  431. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaSchemaHistories.d.ts +0 -3
  432. package/lib/agent/src/orchestrate/prisma/histories/transformPrismaSchemaHistories.js.map +0 -1
  433. package/lib/agent/src/orchestrate/prisma/orchestratePrisma.d.ts +0 -5
  434. package/lib/agent/src/orchestrate/prisma/orchestratePrisma.js.map +0 -1
  435. package/lib/agent/src/orchestrate/prisma/orchestratePrismaComponent.d.ts +0 -4
  436. package/lib/agent/src/orchestrate/prisma/orchestratePrismaComponent.js.map +0 -1
  437. package/lib/agent/src/orchestrate/prisma/orchestratePrismaCorrect.d.ts +0 -4
  438. package/lib/agent/src/orchestrate/prisma/orchestratePrismaCorrect.js.map +0 -1
  439. package/lib/agent/src/orchestrate/prisma/orchestratePrismaReview.d.ts +0 -5
  440. package/lib/agent/src/orchestrate/prisma/orchestratePrismaReview.js.map +0 -1
  441. package/lib/agent/src/orchestrate/prisma/orchestratePrismaSchemas.d.ts +0 -5
  442. package/lib/agent/src/orchestrate/prisma/orchestratePrismaSchemas.js.map +0 -1
  443. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.d.ts +0 -121
  444. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.js.map +0 -1
  445. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.d.ts +0 -142
  446. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.js.map +0 -1
  447. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.d.ts +0 -105
  448. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.js.map +0 -1
  449. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.d.ts +0 -99
  450. package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.js.map +0 -1
  451. package/lib/agent/src/orchestrate/realize/ProviderCodeComparator.d.ts +0 -5
  452. package/lib/agent/src/orchestrate/realize/ProviderCodeComparator.js.map +0 -1
  453. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorization.d.ts +0 -5
  454. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorization.js.map +0 -1
  455. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.d.ts +0 -5
  456. package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.js.map +0 -1
  457. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCorrectHistories.d.ts +0 -14
  458. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCorrectHistories.js +0 -51
  459. package/lib/agent/src/orchestrate/realize/histories/transformRealizeCorrectHistories.js.map +0 -1
  460. package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteAuthorizationsHistories.d.ts +0 -3
  461. package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteAuthorizationsHistories.js.map +0 -1
  462. package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteHistories.d.ts +0 -11
  463. package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteHistories.js +0 -141
  464. package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteHistories.js.map +0 -1
  465. package/lib/agent/src/orchestrate/realize/internal/compileRealizeFiles.d.ts +0 -7
  466. package/lib/agent/src/orchestrate/realize/internal/compileRealizeFiles.js.map +0 -1
  467. package/lib/agent/src/orchestrate/realize/orchestrateRealize.d.ts +0 -5
  468. package/lib/agent/src/orchestrate/realize/orchestrateRealize.js.map +0 -1
  469. package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorization.d.ts +0 -10
  470. package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorization.js.map +0 -1
  471. package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.d.ts +0 -4
  472. package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js.map +0 -1
  473. package/lib/agent/src/orchestrate/realize/orchestrateRealizeCorrect.d.ts +0 -19
  474. package/lib/agent/src/orchestrate/realize/orchestrateRealizeCorrect.js.map +0 -1
  475. package/lib/agent/src/orchestrate/realize/orchestrateRealizeScenario.d.ts +0 -25
  476. package/lib/agent/src/orchestrate/realize/orchestrateRealizeScenario.js +0 -44
  477. package/lib/agent/src/orchestrate/realize/orchestrateRealizeScenario.js.map +0 -1
  478. package/lib/agent/src/orchestrate/realize/orchestrateRealizeWrite.d.ts +0 -11
  479. package/lib/agent/src/orchestrate/realize/orchestrateRealizeWrite.js.map +0 -1
  480. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.d.ts +0 -109
  481. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.js.map +0 -1
  482. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.d.ts +0 -47
  483. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js.map +0 -1
  484. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCorrectApplication.d.ts +0 -39
  485. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCorrectApplication.js.map +0 -1
  486. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeFunctionFailure.d.ts +0 -5
  487. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeFunctionFailure.js.map +0 -1
  488. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeScenarioResult.d.ts +0 -36
  489. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeScenarioResult.js.map +0 -1
  490. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.d.ts +0 -295
  491. package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.js.map +0 -1
  492. package/lib/agent/src/orchestrate/realize/utils/AuthorizationFileSystem.d.ts +0 -5
  493. package/lib/agent/src/orchestrate/realize/utils/AuthorizationFileSystem.js.map +0 -1
  494. package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationFileSystem.d.ts +0 -5
  495. package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationFileSystem.js.map +0 -1
  496. package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationReplaceImport.d.ts +0 -4
  497. package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationReplaceImport.js.map +0 -1
  498. package/lib/agent/src/orchestrate/realize/utils/InternalFileSystem.d.ts +0 -8
  499. package/lib/agent/src/orchestrate/realize/utils/InternalFileSystem.js.map +0 -1
  500. package/lib/agent/src/orchestrate/realize/utils/ProviderFileSystem.d.ts +0 -3
  501. package/lib/agent/src/orchestrate/realize/utils/ProviderFileSystem.js.map +0 -1
  502. package/lib/agent/src/orchestrate/realize/utils/getRealizeWriteCodeTemplate.d.ts +0 -31
  503. package/lib/agent/src/orchestrate/realize/utils/getRealizeWriteCodeTemplate.js.map +0 -1
  504. package/lib/agent/src/orchestrate/realize/utils/getRealizeWriteDto.d.ts +0 -4
  505. package/lib/agent/src/orchestrate/realize/utils/getRealizeWriteDto.js.map +0 -1
  506. package/lib/agent/src/orchestrate/realize/utils/getRealizeWriteImportStatements.d.ts +0 -2
  507. package/lib/agent/src/orchestrate/realize/utils/getRealizeWriteImportStatements.js.map +0 -1
  508. package/lib/agent/src/orchestrate/realize/utils/getRealizeWriteInputType.d.ts +0 -30
  509. package/lib/agent/src/orchestrate/realize/utils/getRealizeWriteInputType.js.map +0 -1
  510. package/lib/agent/src/orchestrate/realize/utils/replaceImportStatements.d.ts +0 -8
  511. package/lib/agent/src/orchestrate/realize/utils/replaceImportStatements.js +0 -77
  512. package/lib/agent/src/orchestrate/realize/utils/replaceImportStatements.js.map +0 -1
  513. package/lib/agent/src/orchestrate/test/compile/completeTestCode.d.ts +0 -4
  514. package/lib/agent/src/orchestrate/test/compile/completeTestCode.js.map +0 -1
  515. package/lib/agent/src/orchestrate/test/compile/filterTestFileName.d.ts +0 -1
  516. package/lib/agent/src/orchestrate/test/compile/filterTestFileName.js.map +0 -1
  517. package/lib/agent/src/orchestrate/test/compile/getTestExternalDeclarations.d.ts +0 -3
  518. package/lib/agent/src/orchestrate/test/compile/getTestExternalDeclarations.js.map +0 -1
  519. package/lib/agent/src/orchestrate/test/compile/getTestImportStatements.d.ts +0 -2
  520. package/lib/agent/src/orchestrate/test/compile/getTestImportStatements.js.map +0 -1
  521. package/lib/agent/src/orchestrate/test/compile/getTestScenarioArtifacts.d.ts +0 -5
  522. package/lib/agent/src/orchestrate/test/compile/getTestScenarioArtifacts.js.map +0 -1
  523. package/lib/agent/src/orchestrate/test/compile/getTestTemplateCode.d.ts +0 -2
  524. package/lib/agent/src/orchestrate/test/compile/getTestTemplateCode.js.map +0 -1
  525. package/lib/agent/src/orchestrate/test/histories/transformTestCorrectHistories.d.ts +0 -6
  526. package/lib/agent/src/orchestrate/test/histories/transformTestCorrectHistories.js +0 -50
  527. package/lib/agent/src/orchestrate/test/histories/transformTestCorrectHistories.js.map +0 -1
  528. package/lib/agent/src/orchestrate/test/histories/transformTestScenarioHistories.d.ts +0 -4
  529. package/lib/agent/src/orchestrate/test/histories/transformTestScenarioHistories.js +0 -105
  530. package/lib/agent/src/orchestrate/test/histories/transformTestScenarioHistories.js.map +0 -1
  531. package/lib/agent/src/orchestrate/test/histories/transformTestWriteHistories.d.ts +0 -10
  532. package/lib/agent/src/orchestrate/test/histories/transformTestWriteHistories.js +0 -220
  533. package/lib/agent/src/orchestrate/test/histories/transformTestWriteHistories.js.map +0 -1
  534. package/lib/agent/src/orchestrate/test/orchestrateTest.d.ts +0 -5
  535. package/lib/agent/src/orchestrate/test/orchestrateTest.js.map +0 -1
  536. package/lib/agent/src/orchestrate/test/orchestrateTestCorrect.d.ts +0 -5
  537. package/lib/agent/src/orchestrate/test/orchestrateTestCorrect.js +0 -405
  538. package/lib/agent/src/orchestrate/test/orchestrateTestCorrect.js.map +0 -1
  539. package/lib/agent/src/orchestrate/test/orchestrateTestScenario.d.ts +0 -4
  540. package/lib/agent/src/orchestrate/test/orchestrateTestScenario.js.map +0 -1
  541. package/lib/agent/src/orchestrate/test/orchestrateTestWrite.d.ts +0 -5
  542. package/lib/agent/src/orchestrate/test/orchestrateTestWrite.js.map +0 -1
  543. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestCorrectApplication.d.ts +0 -125
  544. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestCorrectApplication.js.map +0 -1
  545. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestFunction.d.ts +0 -8
  546. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestFunction.js.map +0 -1
  547. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestFunctionFailure.d.ts +0 -6
  548. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestFunctionFailure.js.map +0 -1
  549. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.d.ts +0 -161
  550. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.js.map +0 -1
  551. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioArtifacts.d.ts +0 -8
  552. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioArtifacts.js.map +0 -1
  553. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioAuthorizationRole.d.ts +0 -6
  554. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioAuthorizationRole.js.map +0 -1
  555. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteApplication.d.ts +0 -126
  556. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteApplication.js.map +0 -1
  557. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteResult.d.ts +0 -7
  558. package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteResult.js.map +0 -1
  559. package/lib/agent/src/orchestrate/test/utils/getReferenceIds.d.ts +0 -5
  560. package/lib/agent/src/orchestrate/test/utils/getReferenceIds.js.map +0 -1
  561. package/lib/agent/src/structures/IAutoBeConfig.d.ts +0 -75
  562. package/lib/agent/src/structures/IAutoBeConfig.js.map +0 -1
  563. package/lib/agent/src/structures/IAutoBeProps.d.ts +0 -109
  564. package/lib/agent/src/structures/IAutoBeProps.js.map +0 -1
  565. package/lib/agent/src/structures/IAutoBeVendor.d.ts +0 -87
  566. package/lib/agent/src/structures/IAutoBeVendor.js.map +0 -1
  567. package/lib/agent/src/utils/arrayToRecord.d.ts +0 -17
  568. package/lib/agent/src/utils/arrayToRecord.js.map +0 -1
  569. package/lib/agent/src/utils/backoffRetry.d.ts +0 -22
  570. package/lib/agent/src/utils/backoffRetry.js.map +0 -1
  571. package/lib/agent/src/utils/divideArray.d.ts +0 -4
  572. package/lib/agent/src/utils/divideArray.js.map +0 -1
  573. package/lib/agent/src/utils/emplaceMap.d.ts +0 -1
  574. package/lib/agent/src/utils/emplaceMap.js.map +0 -1
  575. package/lib/agent/src/utils/executeCachedBatch.d.ts +0 -1
  576. package/lib/agent/src/utils/executeCachedBatch.js.map +0 -1
  577. package/lib/agent/src/utils/predicateStateMessage.d.ts +0 -4
  578. package/lib/agent/src/utils/predicateStateMessage.js.map +0 -1
  579. package/lib/interface/src/histories/contents/AutoBeAnalyzeFile.d.ts +0 -153
  580. package/lib/interface/src/histories/contents/AutoBeAnalyzeFile.js +0 -3
  581. package/lib/interface/src/histories/contents/AutoBeAnalyzeFile.js.map +0 -1
  582. package/lib/orchestrate/realize/orchestrateRealizeScenario.d.ts +0 -25
  583. package/src/orchestrate/realize/orchestrateRealizeScenario.ts +0 -57
  584. /package/lib/{agent/src/AutoBeAgentBase.js → AutoBeAgentBase.js} +0 -0
  585. /package/lib/{agent/src/constants → constants}/AutoBeConfigConstant.js +0 -0
  586. /package/lib/{agent/src/constants → constants}/AutoBeSystemPromptConstant.js +0 -0
  587. /package/lib/{agent/src/context → context}/AutoBeContext.js +0 -0
  588. /package/lib/{agent/src/context → context}/AutoBeState.js +0 -0
  589. /package/lib/{agent/src/context → context}/IAutoBeApplication.js +0 -0
  590. /package/lib/{agent/src/context → context}/IAutoBeApplicationProps.js +0 -0
  591. /package/lib/{agent/src/context → context}/IAutoBeApplicationResult.js +0 -0
  592. /package/lib/{agent/src/context → context}/assertSchemaModel.js +0 -0
  593. /package/lib/{agent/src/factory → factory}/createAgenticaHistory.js +0 -0
  594. /package/lib/{agent/src/factory → factory}/createAutoBeApplication.js +0 -0
  595. /package/lib/{agent/src/factory → factory}/createAutoBeState.js +0 -0
  596. /package/lib/{agent/src/factory → factory}/getAutoBeGenerated.js +0 -0
  597. /package/lib/{agent/src/factory → factory}/getAutoBeRealizeGenerated.js +0 -0
  598. /package/lib/{agent/src/factory → factory}/index.js +0 -0
  599. /package/lib/{agent/src/index.js → index.js} +0 -0
  600. /package/lib/{agent/src/orchestrate → orchestrate}/analyze/histories/transformAnalyzeReviewHistories.js +0 -0
  601. /package/lib/{agent/src/orchestrate → orchestrate}/analyze/histories/transformAnalyzeScenarioHistories.js +0 -0
  602. /package/lib/{agent/src/orchestrate → orchestrate}/analyze/histories/transformAnalyzeWriteHistories.js +0 -0
  603. /package/lib/{agent/src/orchestrate → orchestrate}/analyze/orchestrateAnalyze.js +0 -0
  604. /package/lib/{agent/src/orchestrate → orchestrate}/analyze/orchestrateAnalyzeReview.js +0 -0
  605. /package/lib/{agent/src/orchestrate → orchestrate}/analyze/orchestrateAnalyzeScenario.js +0 -0
  606. /package/lib/{agent/src/orchestrate → orchestrate}/analyze/structures/IAutoBeAnalyzeReviewApplication.js +0 -0
  607. /package/lib/{agent/src/orchestrate → orchestrate}/analyze/structures/IAutoBeAnalyzeScenarioApplication.js +0 -0
  608. /package/lib/{agent/src/orchestrate → orchestrate}/analyze/structures/IAutoBeAnalyzeWriteApplication.js +0 -0
  609. /package/lib/{agent/src/orchestrate → orchestrate}/facade/transformFacadeStateMessage.js +0 -0
  610. /package/lib/{agent/src/orchestrate → orchestrate}/index.js +0 -0
  611. /package/lib/{agent/src/orchestrate → orchestrate}/interface/histories/transformInterfaceAssetHistories.js +0 -0
  612. /package/lib/{agent/src/orchestrate → orchestrate}/interface/histories/transformInterfaceEndpointHistories.js +0 -0
  613. /package/lib/{agent/src/orchestrate → orchestrate}/interface/histories/transformInterfaceGroupHistories.js +0 -0
  614. /package/lib/{agent/src/orchestrate → orchestrate}/interface/histories/transformInterfacePrerequisiteHistories.js +0 -0
  615. /package/lib/{agent/src/orchestrate → orchestrate}/interface/orchestrateInterface.js +0 -0
  616. /package/lib/{agent/src/orchestrate → orchestrate}/interface/orchestrateInterfaceAuthorizations.js +0 -0
  617. /package/lib/{agent/src/orchestrate → orchestrate}/interface/orchestrateInterfaceEndpoints.js +0 -0
  618. /package/lib/{agent/src/orchestrate → orchestrate}/interface/orchestrateInterfaceEndpointsReview.js +0 -0
  619. /package/lib/{agent/src/orchestrate → orchestrate}/interface/orchestrateInterfaceGroups.js +0 -0
  620. /package/lib/{agent/src/orchestrate → orchestrate}/interface/structures/IAutoBeInterfaceAuthorizationsApplication.js +0 -0
  621. /package/lib/{agent/src/orchestrate → orchestrate}/interface/structures/IAutoBeInterfaceComplementApplication.js +0 -0
  622. /package/lib/{agent/src/orchestrate → orchestrate}/interface/structures/IAutoBeInterfaceEndpointApplication.js +0 -0
  623. /package/lib/{agent/src/orchestrate → orchestrate}/interface/structures/IAutoBeInterfaceEndpointsReviewApplication.js +0 -0
  624. /package/lib/{agent/src/orchestrate → orchestrate}/interface/structures/IAutoBeInterfaceGroupApplication.js +0 -0
  625. /package/lib/{agent/src/orchestrate → orchestrate}/interface/structures/IAutoBeInterfaceOperationApplication.js +0 -0
  626. /package/lib/{agent/src/orchestrate → orchestrate}/interface/structures/IAutoBeInterfaceOperationsReviewApplication.js +0 -0
  627. /package/lib/{agent/src/orchestrate → orchestrate}/interface/structures/IAutoBeInterfaceSchemaApplication.js +0 -0
  628. /package/lib/{agent/src/orchestrate → orchestrate}/interface/structures/IAutobeInterfaceSchemasReviewApplication.js +0 -0
  629. /package/lib/{agent/src/orchestrate → orchestrate}/interface/utils/JsonSchemaFactory.js +0 -0
  630. /package/lib/{agent/src/orchestrate → orchestrate}/interface/utils/JsonSchemaNamingConvention.js +0 -0
  631. /package/lib/{agent/src/orchestrate → orchestrate}/interface/utils/OpenApiEndpointComparator.js +0 -0
  632. /package/lib/{agent/src/orchestrate → orchestrate}/interface/utils/fulfillJsonSchemaErrorMessages.js +0 -0
  633. /package/lib/{agent/src/orchestrate → orchestrate}/prisma/histories/transformPrismaComponentsHistories.js +0 -0
  634. /package/lib/{agent/src/orchestrate → orchestrate}/prisma/histories/transformPrismaCorrectHistories.js +0 -0
  635. /package/lib/{agent/src/orchestrate → orchestrate}/prisma/histories/transformPrismaReviewHistories.js +0 -0
  636. /package/lib/{agent/src/orchestrate → orchestrate}/prisma/histories/transformPrismaSchemaHistories.js +0 -0
  637. /package/lib/{agent/src/orchestrate → orchestrate}/prisma/orchestratePrisma.js +0 -0
  638. /package/lib/{agent/src/orchestrate → orchestrate}/prisma/orchestratePrismaComponent.js +0 -0
  639. /package/lib/{agent/src/orchestrate → orchestrate}/prisma/orchestratePrismaReview.js +0 -0
  640. /package/lib/{agent/src/orchestrate → orchestrate}/prisma/orchestratePrismaSchemas.js +0 -0
  641. /package/lib/{agent/src/orchestrate → orchestrate}/prisma/structures/IAutoBePrismaComponentApplication.js +0 -0
  642. /package/lib/{agent/src/orchestrate → orchestrate}/prisma/structures/IAutoBePrismaCorrectApplication.js +0 -0
  643. /package/lib/{agent/src/orchestrate → orchestrate}/prisma/structures/IAutoBePrismaReviewApplication.js +0 -0
  644. /package/lib/{agent/src/orchestrate → orchestrate}/prisma/structures/IAutoBePrismaSchemaApplication.js +0 -0
  645. /package/lib/{agent/src/orchestrate → orchestrate}/realize/ProviderCodeComparator.js +0 -0
  646. /package/lib/{agent/src/orchestrate → orchestrate}/realize/histories/transformRealizeWriteAuthorizationsHistories.js +0 -0
  647. /package/lib/{agent/src/orchestrate → orchestrate}/realize/internal/compileRealizeFiles.js +0 -0
  648. /package/lib/{agent/src/orchestrate → orchestrate}/realize/orchestrateRealizeAuthorization.js +0 -0
  649. /package/lib/{agent/src/orchestrate → orchestrate}/realize/orchestrateRealizeWrite.js +0 -0
  650. /package/lib/{agent/src/orchestrate → orchestrate}/realize/structures/IAutoBeRealizeAuthorizationApplication.js +0 -0
  651. /package/lib/{agent/src/orchestrate → orchestrate}/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js +0 -0
  652. /package/lib/{agent/src/orchestrate → orchestrate}/realize/structures/IAutoBeRealizeCorrectApplication.js +0 -0
  653. /package/lib/{agent/src/orchestrate → orchestrate}/realize/structures/IAutoBeRealizeFunctionFailure.js +0 -0
  654. /package/lib/{agent/src/orchestrate → orchestrate}/realize/structures/IAutoBeRealizeScenarioResult.js +0 -0
  655. /package/lib/{agent/src/orchestrate → orchestrate}/realize/structures/IAutoBeRealizeWriteApplication.js +0 -0
  656. /package/lib/{agent/src/orchestrate → orchestrate}/realize/utils/AuthorizationFileSystem.js +0 -0
  657. /package/lib/{agent/src/orchestrate → orchestrate}/realize/utils/AutoBeRealizeAuthorizationFileSystem.js +0 -0
  658. /package/lib/{agent/src/orchestrate → orchestrate}/realize/utils/AutoBeRealizeAuthorizationReplaceImport.js +0 -0
  659. /package/lib/{agent/src/orchestrate → orchestrate}/realize/utils/InternalFileSystem.js +0 -0
  660. /package/lib/{agent/src/orchestrate → orchestrate}/realize/utils/ProviderFileSystem.js +0 -0
  661. /package/lib/{agent/src/orchestrate → orchestrate}/realize/utils/getRealizeWriteCodeTemplate.js +0 -0
  662. /package/lib/{agent/src/orchestrate → orchestrate}/realize/utils/getRealizeWriteDto.js +0 -0
  663. /package/lib/{agent/src/orchestrate → orchestrate}/realize/utils/getRealizeWriteImportStatements.js +0 -0
  664. /package/lib/{agent/src/orchestrate → orchestrate}/realize/utils/getRealizeWriteInputType.js +0 -0
  665. /package/lib/{agent/src/orchestrate → orchestrate}/test/compile/completeTestCode.js +0 -0
  666. /package/lib/{agent/src/orchestrate → orchestrate}/test/compile/filterTestFileName.js +0 -0
  667. /package/lib/{agent/src/orchestrate → orchestrate}/test/compile/getTestExternalDeclarations.js +0 -0
  668. /package/lib/{agent/src/orchestrate → orchestrate}/test/compile/getTestImportStatements.js +0 -0
  669. /package/lib/{agent/src/orchestrate → orchestrate}/test/compile/getTestScenarioArtifacts.js +0 -0
  670. /package/lib/{agent/src/orchestrate → orchestrate}/test/compile/getTestTemplateCode.js +0 -0
  671. /package/lib/{agent/src/orchestrate → orchestrate}/test/structures/IAutoBeTestCorrectApplication.js +0 -0
  672. /package/lib/{agent/src/orchestrate → orchestrate}/test/structures/IAutoBeTestFunction.js +0 -0
  673. /package/lib/{agent/src/orchestrate → orchestrate}/test/structures/IAutoBeTestFunctionFailure.js +0 -0
  674. /package/lib/{agent/src/orchestrate → orchestrate}/test/structures/IAutoBeTestScenarioApplication.js +0 -0
  675. /package/lib/{agent/src/orchestrate → orchestrate}/test/structures/IAutoBeTestScenarioArtifacts.js +0 -0
  676. /package/lib/{agent/src/orchestrate → orchestrate}/test/structures/IAutoBeTestScenarioAuthorizationRole.js +0 -0
  677. /package/lib/{agent/src/orchestrate → orchestrate}/test/structures/IAutoBeTestWriteApplication.js +0 -0
  678. /package/lib/{agent/src/orchestrate → orchestrate}/test/structures/IAutoBeTestWriteResult.js +0 -0
  679. /package/lib/{agent/src/structures → structures}/IAutoBeConfig.js +0 -0
  680. /package/lib/{agent/src/structures → structures}/IAutoBeProps.js +0 -0
  681. /package/lib/{agent/src/structures → structures}/IAutoBeVendor.js +0 -0
  682. /package/lib/{agent/src/utils → utils}/arrayToRecord.js +0 -0
  683. /package/lib/{agent/src/utils → utils}/backoffRetry.js +0 -0
  684. /package/lib/{agent/src/utils → utils}/divideArray.js +0 -0
  685. /package/lib/{agent/src/utils → utils}/emplaceMap.js +0 -0
  686. /package/lib/{agent/src/utils → utils}/executeCachedBatch.js +0 -0
  687. /package/lib/{agent/src/utils → utils}/predicateStateMessage.js +0 -0
@@ -1,405 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
36
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
37
- return new (P || (P = Promise))(function (resolve, reject) {
38
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
39
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
40
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
41
- step((generator = generator.apply(thisArg, _arguments || [])).next());
42
- });
43
- };
44
- var __importDefault = (this && this.__importDefault) || function (mod) {
45
- return (mod && mod.__esModule) ? mod : { "default": mod };
46
- };
47
- Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.orchestrateTestCorrect = void 0;
49
- const __typia_transform__validateReport = __importStar(require("typia/lib/internal/_validateReport.js"));
50
- const utils_1 = require("@autobe/utils");
51
- const typia_1 = __importDefault(require("typia"));
52
- const uuid_1 = require("uuid");
53
- const assertSchemaModel_1 = require("../../context/assertSchemaModel");
54
- const executeCachedBatch_1 = require("../../utils/executeCachedBatch");
55
- const completeTestCode_1 = require("./compile/completeTestCode");
56
- const transformTestCorrectHistories_1 = require("./histories/transformTestCorrectHistories");
57
- const orchestrateTestCorrect = (ctx, writeResult) => __awaiter(void 0, void 0, void 0, function* () {
58
- const result = yield (0, executeCachedBatch_1.executeCachedBatch)(writeResult.map((w) => () => __awaiter(void 0, void 0, void 0, function* () {
59
- var _a, _b;
60
- try {
61
- const event = yield compile(ctx, {
62
- artifacts: w.artifacts,
63
- scenario: w.scenario,
64
- location: w.event.location,
65
- script: (_a = w.event.final) !== null && _a !== void 0 ? _a : w.event.draft,
66
- });
67
- return yield predicate(ctx, {
68
- artifacts: w.artifacts,
69
- scenario: w.scenario,
70
- location: w.event.location,
71
- script: (_b = w.event.final) !== null && _b !== void 0 ? _b : w.event.draft,
72
- }, [], event, ctx.retry);
73
- }
74
- catch (_c) {
75
- return null;
76
- }
77
- })));
78
- return result.filter((r) => r !== null);
79
- });
80
- exports.orchestrateTestCorrect = orchestrateTestCorrect;
81
- const compile = (ctx, func) => __awaiter(void 0, void 0, void 0, function* () {
82
- var _a, _b;
83
- const compiler = yield ctx.compiler();
84
- const result = yield compiler.test.compile({
85
- files: Object.assign(Object.assign(Object.assign({}, func.artifacts.dto), func.artifacts.sdk), { [func.location]: func.script }),
86
- });
87
- return {
88
- type: "testValidate",
89
- id: (0, uuid_1.v7)(),
90
- file: {
91
- scenario: func.scenario,
92
- location: func.location,
93
- content: func.script,
94
- // result,
95
- },
96
- result,
97
- created_at: new Date().toISOString(),
98
- step: (_b = (_a = ctx.state().analyze) === null || _a === void 0 ? void 0 : _a.step) !== null && _b !== void 0 ? _b : 0,
99
- };
100
- });
101
- const predicate = (ctx, content, failures, event, life) => __awaiter(void 0, void 0, void 0, function* () {
102
- if (event.result.type === "failure")
103
- ctx.dispatch(event);
104
- return event.result.type === "failure"
105
- ? yield correct(ctx, content, failures, event, life - 1)
106
- : event;
107
- });
108
- const correct = (ctx, content, failures, validate, life) => __awaiter(void 0, void 0, void 0, function* () {
109
- var _a, _b, _c, _d, _e, _f;
110
- if (validate.result.type !== "failure")
111
- return validate;
112
- else if (--life <= 0)
113
- return validate;
114
- const pointer = {
115
- value: null,
116
- };
117
- const { tokenUsage } = yield ctx.conversate({
118
- source: "testCorrect",
119
- histories: yield (0, transformTestCorrectHistories_1.transformTestCorrectHistories)(ctx, content, [
120
- ...failures,
121
- {
122
- function: content,
123
- failure: validate.result,
124
- },
125
- ]),
126
- controller: createController({
127
- model: ctx.model,
128
- build: (next) => {
129
- pointer.value = next;
130
- },
131
- }),
132
- enforceFunctionCall: true,
133
- message: utils_1.StringUtil.trim `
134
- Fix the AutoBeTest.IFunction data to resolve the compilation error.
135
-
136
- You don't need to explain me anything, but just fix it immediately
137
- without any hesitation, explanation, and questions.
138
- `,
139
- });
140
- if (pointer.value === null)
141
- throw new Error("Failed to modify test code.");
142
- pointer.value.revise.final = yield (0, completeTestCode_1.completeTestCode)(ctx, content.artifacts, pointer.value.revise.final);
143
- pointer.value.draft = yield (0, completeTestCode_1.completeTestCode)(ctx, content.artifacts, pointer.value.draft);
144
- ctx.dispatch({
145
- type: "testCorrect",
146
- id: (0, uuid_1.v7)(),
147
- created_at: new Date().toISOString(),
148
- file: validate.file,
149
- result: validate.result,
150
- tokenUsage,
151
- step: (_b = (_a = ctx.state().analyze) === null || _a === void 0 ? void 0 : _a.step) !== null && _b !== void 0 ? _b : 0,
152
- think: pointer.value.think,
153
- draft: pointer.value.draft,
154
- review: (_c = pointer.value.revise) === null || _c === void 0 ? void 0 : _c.review,
155
- final: (_d = pointer.value.revise) === null || _d === void 0 ? void 0 : _d.final,
156
- });
157
- const newContent = Object.assign(Object.assign({}, content), { script: (_f = (_e = pointer.value.revise) === null || _e === void 0 ? void 0 : _e.final) !== null && _f !== void 0 ? _f : pointer.value.draft });
158
- const newValidate = yield compile(ctx, newContent);
159
- return predicate(ctx, newContent, [
160
- ...failures,
161
- {
162
- function: content,
163
- failure: validate.result,
164
- },
165
- ], newValidate, life);
166
- });
167
- const createController = (props) => {
168
- (0, assertSchemaModel_1.assertSchemaModel)(props.model);
169
- const application = collection[props.model];
170
- return {
171
- protocol: "class",
172
- name: "Modify Test Code",
173
- application,
174
- execute: {
175
- rewrite: (next) => {
176
- props.build(next);
177
- },
178
- },
179
- };
180
- };
181
- const claude = {
182
- model: "claude",
183
- options: {
184
- reference: true,
185
- separate: null
186
- },
187
- functions: [
188
- {
189
- name: "rewrite",
190
- parameters: {
191
- description: " Complete specification for error correction workflow including\nanalysis steps, draft implementation, review process, and final code\ngeneration\n\n------------------------------\n\nCurrent Type: {@link IAutoBeTestCorrectApplication.IProps}",
192
- type: "object",
193
- properties: {
194
- think: {
195
- description: "Step 1: Deep compilation error analysis and correction strategy.\n\nAI performs comprehensive analysis of compilation errors to develop\ntargeted correction strategies. This step involves deep examination of\nerror messages, identification of error patterns, understanding root\ncauses, and planning systematic corrections.\n\nThe AI examines each compilation diagnostic to understand where the\nimplementation diverged from correct TypeScript usage, identifies the\nbusiness logic intent behind the failed code, and formulates strategies\nto fix errors while preserving the original test purpose. This analysis\ncorrelates error patterns with code structure to ensure corrections\naddress root causes rather than symptoms.\n\nThis deep analysis forms the foundation for all subsequent correction\nefforts, ensuring a methodical approach to resolving compilation issues.\n\nWorkflow: Error diagnostic analysis \u2192 Root cause identification \u2192\nCorrection strategy planning \u2192 Business logic preservation strategy",
196
- type: "string"
197
- },
198
- draft: {
199
- description: "Step 2: Draft corrected TypeScript E2E test code implementation.\n\nAI generates the first corrected version of the test code based on error\nanalysis and correction strategies. This draft addresses all identified\ncompilation errors while preserving the original business logic and test\nworkflow. The code is compilation-error-free and follows all established\nconventions.\n\nThe implementation incorporates lessons learned from error analysis to\nproduce properly typed, syntactically correct code that maintains the\nintended test functionality. All type safety requirements and framework\nconventions are followed in this corrected implementation.\n\nWorkflow: Error correction \u2192 TypeScript implementation \u2192 Functional\npreservation\n\nDO: Resolve all compilation errors while maintaining original test intent",
200
- type: "string"
201
- },
202
- revise: {
203
- description: "Step 3-4: Review and finalization process.\n\nEncapsulates the review and final implementation phases into a single\nrevision process. This structured approach ensures systematic validation\nand refinement of the corrected code through comprehensive review\nfollowed by production-ready implementation.\n\nThe revision process maintains clear separation between review feedback\nand final deliverable while ensuring all corrections are properly\nvalidated and integrated.",
204
- $ref: "#/$defs/IAutoBeTestCorrectApplication.IReviseProps"
205
- }
206
- },
207
- required: [
208
- "think",
209
- "draft",
210
- "revise"
211
- ],
212
- additionalProperties: false,
213
- $defs: {
214
- "IAutoBeTestCorrectApplication.IReviseProps": {
215
- description: "Revision properties for the final review and implementation phases.\n\nThis interface encapsulates the final two steps of the error correction\nworkflow, ensuring systematic review and production-ready code delivery.",
216
- type: "object",
217
- properties: {
218
- review: {
219
- description: "Step 3: Code review and correction validation.\n\nAI performs a comprehensive review of the corrected draft implementation,\nvalidating that all compilation errors have been resolved and that the\ncode maintains the original functionality. This review examines both\ntechnical correctness and business logic preservation.\n\nThe review process includes verification of TypeScript compilation\ncompatibility, API integration correctness, test workflow completeness,\nand adherence to all quality standards. Any remaining issues or potential\nimprovements are identified for incorporation into the final\nimplementation.\n\nWorkflow: Draft validation \u2192 Compilation verification \u2192 Functionality\nreview \u2192 Quality assessment",
220
- type: "string"
221
- },
222
- final: {
223
- description: "Step 4: Final production-ready corrected test code.\n\nAI produces the final, polished version of the corrected test code\nincorporating all review feedback and validation results. This code\nrepresents the completed error correction, guaranteed to compile\nsuccessfully while preserving all original test functionality and\nbusiness logic.\n\nThe final implementation resolves all compilation issues, maintains\nstrict type safety, follows all established conventions, and delivers a\nproduction-ready test that accurately validates the intended API\nbehaviors and user workflows.\n\nWorkflow: Review integration \u2192 Final refinement \u2192 Production-ready\nimplementation. This is the ultimate deliverable that will replace the\ncompilation-failed code.",
224
- type: "string"
225
- }
226
- },
227
- required: [
228
- "review",
229
- "final"
230
- ]
231
- }
232
- }
233
- },
234
- description: "Main entry point for AI Function Call - analyzes compilation errors and\ngenerates corrected E2E test code.\n\nThe AI executes this function to perform the complete error correction\nworkflow: compilation error analysis \u2192 draft correction \u2192 code review \u2192\nfinal corrected implementation. This multi-step process ensures systematic\nerror resolution while preserving original test functionality and\nmaintaining code quality.\n\nThe corrector analyzes compilation diagnostics to identify specific issues,\ndevelops correction strategies, and produces corrected code through\niterative refinement with comprehensive review and validation.",
235
- validate: (() => { const _io0 = input => "string" === typeof input.think && "string" === typeof input.draft && ("object" === typeof input.revise && null !== input.revise && _io1(input.revise)); const _io1 = input => "string" === typeof input.review && "string" === typeof input.final; const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.think || _report(_exceptionable, {
236
- path: _path + ".think",
237
- expected: "string",
238
- value: input.think
239
- }), "string" === typeof input.draft || _report(_exceptionable, {
240
- path: _path + ".draft",
241
- expected: "string",
242
- value: input.draft
243
- }), ("object" === typeof input.revise && null !== input.revise || _report(_exceptionable, {
244
- path: _path + ".revise",
245
- expected: "IAutoBeTestCorrectApplication.IReviseProps",
246
- value: input.revise
247
- })) && _vo1(input.revise, _path + ".revise", true && _exceptionable) || _report(_exceptionable, {
248
- path: _path + ".revise",
249
- expected: "IAutoBeTestCorrectApplication.IReviseProps",
250
- value: input.revise
251
- })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.review || _report(_exceptionable, {
252
- path: _path + ".review",
253
- expected: "string",
254
- value: input.review
255
- }), "string" === typeof input.final || _report(_exceptionable, {
256
- path: _path + ".final",
257
- expected: "string",
258
- value: input.final
259
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
260
- if (false === __is(input)) {
261
- errors = [];
262
- _report = __typia_transform__validateReport._validateReport(errors);
263
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
264
- path: _path + "",
265
- expected: "IAutoBeTestCorrectApplication.IProps",
266
- value: input
267
- })) && _vo0(input, _path + "", true) || _report(true, {
268
- path: _path + "",
269
- expected: "IAutoBeTestCorrectApplication.IProps",
270
- value: input
271
- }))(input, "$input", true);
272
- const success = 0 === errors.length;
273
- return success ? {
274
- success,
275
- data: input
276
- } : {
277
- success,
278
- errors,
279
- data: input
280
- };
281
- }
282
- return {
283
- success: true,
284
- data: input
285
- };
286
- }; })()
287
- }
288
- ]
289
- };
290
- const collection = {
291
- chatgpt: {
292
- model: "chatgpt",
293
- options: {
294
- reference: true,
295
- strict: false,
296
- separate: null
297
- },
298
- functions: [
299
- {
300
- name: "rewrite",
301
- parameters: {
302
- description: " Complete specification for error correction workflow including\nanalysis steps, draft implementation, review process, and final code\ngeneration\n\n------------------------------\n\nCurrent Type: {@link IAutoBeTestCorrectApplication.IProps}\n\n### Description of {@link revise} property:\n\n> Step 3-4: Review and finalization process.\n> \n> Encapsulates the review and final implementation phases into a single\n> revision process. This structured approach ensures systematic validation\n> and refinement of the corrected code through comprehensive review\n> followed by production-ready implementation.\n> \n> The revision process maintains clear separation between review feedback\n> and final deliverable while ensuring all corrections are properly\n> validated and integrated.",
303
- type: "object",
304
- properties: {
305
- think: {
306
- description: "Step 1: Deep compilation error analysis and correction strategy.\n\nAI performs comprehensive analysis of compilation errors to develop\ntargeted correction strategies. This step involves deep examination of\nerror messages, identification of error patterns, understanding root\ncauses, and planning systematic corrections.\n\nThe AI examines each compilation diagnostic to understand where the\nimplementation diverged from correct TypeScript usage, identifies the\nbusiness logic intent behind the failed code, and formulates strategies\nto fix errors while preserving the original test purpose. This analysis\ncorrelates error patterns with code structure to ensure corrections\naddress root causes rather than symptoms.\n\nThis deep analysis forms the foundation for all subsequent correction\nefforts, ensuring a methodical approach to resolving compilation issues.\n\nWorkflow: Error diagnostic analysis \u2192 Root cause identification \u2192\nCorrection strategy planning \u2192 Business logic preservation strategy",
307
- type: "string"
308
- },
309
- draft: {
310
- description: "Step 2: Draft corrected TypeScript E2E test code implementation.\n\nAI generates the first corrected version of the test code based on error\nanalysis and correction strategies. This draft addresses all identified\ncompilation errors while preserving the original business logic and test\nworkflow. The code is compilation-error-free and follows all established\nconventions.\n\nThe implementation incorporates lessons learned from error analysis to\nproduce properly typed, syntactically correct code that maintains the\nintended test functionality. All type safety requirements and framework\nconventions are followed in this corrected implementation.\n\nWorkflow: Error correction \u2192 TypeScript implementation \u2192 Functional\npreservation\n\nDO: Resolve all compilation errors while maintaining original test intent",
311
- type: "string"
312
- },
313
- revise: {
314
- $ref: "#/$defs/IAutoBeTestCorrectApplication.IReviseProps"
315
- }
316
- },
317
- required: [
318
- "think",
319
- "draft",
320
- "revise"
321
- ],
322
- additionalProperties: false,
323
- $defs: {
324
- "IAutoBeTestCorrectApplication.IReviseProps": {
325
- description: "Revision properties for the final review and implementation phases.\n\nThis interface encapsulates the final two steps of the error correction\nworkflow, ensuring systematic review and production-ready code delivery.",
326
- type: "object",
327
- properties: {
328
- review: {
329
- description: "Step 3: Code review and correction validation.\n\nAI performs a comprehensive review of the corrected draft implementation,\nvalidating that all compilation errors have been resolved and that the\ncode maintains the original functionality. This review examines both\ntechnical correctness and business logic preservation.\n\nThe review process includes verification of TypeScript compilation\ncompatibility, API integration correctness, test workflow completeness,\nand adherence to all quality standards. Any remaining issues or potential\nimprovements are identified for incorporation into the final\nimplementation.\n\nWorkflow: Draft validation \u2192 Compilation verification \u2192 Functionality\nreview \u2192 Quality assessment",
330
- type: "string"
331
- },
332
- final: {
333
- description: "Step 4: Final production-ready corrected test code.\n\nAI produces the final, polished version of the corrected test code\nincorporating all review feedback and validation results. This code\nrepresents the completed error correction, guaranteed to compile\nsuccessfully while preserving all original test functionality and\nbusiness logic.\n\nThe final implementation resolves all compilation issues, maintains\nstrict type safety, follows all established conventions, and delivers a\nproduction-ready test that accurately validates the intended API\nbehaviors and user workflows.\n\nWorkflow: Review integration \u2192 Final refinement \u2192 Production-ready\nimplementation. This is the ultimate deliverable that will replace the\ncompilation-failed code.",
334
- type: "string"
335
- }
336
- },
337
- required: [
338
- "review",
339
- "final"
340
- ]
341
- }
342
- }
343
- },
344
- description: "Main entry point for AI Function Call - analyzes compilation errors and\ngenerates corrected E2E test code.\n\nThe AI executes this function to perform the complete error correction\nworkflow: compilation error analysis \u2192 draft correction \u2192 code review \u2192\nfinal corrected implementation. This multi-step process ensures systematic\nerror resolution while preserving original test functionality and\nmaintaining code quality.\n\nThe corrector analyzes compilation diagnostics to identify specific issues,\ndevelops correction strategies, and produces corrected code through\niterative refinement with comprehensive review and validation.",
345
- validate: (() => { const _io0 = input => "string" === typeof input.think && "string" === typeof input.draft && ("object" === typeof input.revise && null !== input.revise && _io1(input.revise)); const _io1 = input => "string" === typeof input.review && "string" === typeof input.final; const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.think || _report(_exceptionable, {
346
- path: _path + ".think",
347
- expected: "string",
348
- value: input.think
349
- }), "string" === typeof input.draft || _report(_exceptionable, {
350
- path: _path + ".draft",
351
- expected: "string",
352
- value: input.draft
353
- }), ("object" === typeof input.revise && null !== input.revise || _report(_exceptionable, {
354
- path: _path + ".revise",
355
- expected: "IAutoBeTestCorrectApplication.IReviseProps",
356
- value: input.revise
357
- })) && _vo1(input.revise, _path + ".revise", true && _exceptionable) || _report(_exceptionable, {
358
- path: _path + ".revise",
359
- expected: "IAutoBeTestCorrectApplication.IReviseProps",
360
- value: input.revise
361
- })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.review || _report(_exceptionable, {
362
- path: _path + ".review",
363
- expected: "string",
364
- value: input.review
365
- }), "string" === typeof input.final || _report(_exceptionable, {
366
- path: _path + ".final",
367
- expected: "string",
368
- value: input.final
369
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
370
- if (false === __is(input)) {
371
- errors = [];
372
- _report = __typia_transform__validateReport._validateReport(errors);
373
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
374
- path: _path + "",
375
- expected: "IAutoBeTestCorrectApplication.IProps",
376
- value: input
377
- })) && _vo0(input, _path + "", true) || _report(true, {
378
- path: _path + "",
379
- expected: "IAutoBeTestCorrectApplication.IProps",
380
- value: input
381
- }))(input, "$input", true);
382
- const success = 0 === errors.length;
383
- return success ? {
384
- success,
385
- data: input
386
- } : {
387
- success,
388
- errors,
389
- data: input
390
- };
391
- }
392
- return {
393
- success: true,
394
- data: input
395
- };
396
- }; })()
397
- }
398
- ]
399
- },
400
- claude,
401
- llama: claude,
402
- deepseek: claude,
403
- "3.1": claude,
404
- };
405
- //# sourceMappingURL=orchestrateTestCorrect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"orchestrateTestCorrect.js","sourceRoot":"","sources":["../../../../../src/orchestrate/test/orchestrateTestCorrect.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,yCAA2C;AAG3C,kDAA0B;AAC1B,+BAA0B;AAG1B,uEAAoE;AACpE,uEAAoE;AACpE,iEAA8D;AAC9D,6FAA0F;AAMnF,MAAM,sBAAsB,GAAG,CACpC,GAAyB,EACzB,WAAqC,EACD,EAAE;IACtC,MAAM,MAAM,GACV,MAAM,IAAA,uCAAkB,EACtB,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAS,EAAE;;QAChC,IAAI,CAAC;YACH,MAAM,KAAK,GAA4B,MAAM,OAAO,CAAC,GAAG,EAAE;gBACxD,SAAS,EAAE,CAAC,CAAC,SAAS;gBACtB,QAAQ,EAAE,CAAC,CAAC,QAAQ;gBACpB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ;gBAC1B,MAAM,EAAE,MAAA,CAAC,CAAC,KAAK,CAAC,KAAK,mCAAI,CAAC,CAAC,KAAK,CAAC,KAAK;aACvC,CAAC,CAAC;YACH,OAAO,MAAM,SAAS,CACpB,GAAG,EACH;gBACE,SAAS,EAAE,CAAC,CAAC,SAAS;gBACtB,QAAQ,EAAE,CAAC,CAAC,QAAQ;gBACpB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ;gBAC1B,MAAM,EAAE,MAAA,CAAC,CAAC,KAAK,CAAC,KAAK,mCAAI,CAAC,CAAC,KAAK,CAAC,KAAK;aACvC,EACD,EAAE,EACF,KAAK,EACL,GAAG,CAAC,KAAK,CACV,CAAC;QACJ,CAAC;QAAC,WAAM,CAAC;YACP,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC,CAAA,CAAC,CACH,CAAC;IACJ,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EA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CAAC,KAAK,CACwD,CAAC;IACtE,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,kBAAkB;QACxB,WAAW;QACX,OAAO,EAAE;YACP,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;gBAChB,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACpB,CAAC;SACsC;KAC1C,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmE,CAAC;AAChF,MAAM,UAAU,GAAG;IACjB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAmE;IAC1E,MAAM;IACN,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;CACd,CAAC"}
@@ -1,4 +0,0 @@
1
- import { AutoBeTestScenario } from "@autobe/interface";
2
- import { ILlmSchema } from "@samchon/openapi";
3
- import { AutoBeContext } from "../../context/AutoBeContext";
4
- export declare function orchestrateTestScenario<Model extends ILlmSchema.Model>(ctx: AutoBeContext<Model>): Promise<AutoBeTestScenario[]>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"orchestrateTestScenario.js","sourceRoot":"","sources":["../../../../../src/orchestrate/test/orchestrateTestScenario.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,0DAqFC;;;AAnGD,yCAA8E;AAE9E,+BAA+C;AAC/C,kDAA0B;AAC1B,+BAA0B;AAG1B,uEAAoE;AACpE,yDAAsD;AACtD,uEAAoE;AACpE,+FAA4F;AAI5F,SAAsB,uBAAuB,CAC3C,GAAyB;;;Q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,CAAC,QAAmB,EAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uHACkC;YAC9D,QAAQ,EAAE;gBACR,YAAY,EAAE,QAAQ;aACvB;SACF;;QAAC;CACL,CAAC"}
@@ -1,5 +0,0 @@
1
- import { AutoBeTestScenario } from "@autobe/interface";
2
- import { ILlmSchema } from "@samchon/openapi";
3
- import { AutoBeContext } from "../../context/AutoBeContext";
4
- import { IAutoBeTestWriteResult } from "./structures/IAutoBeTestWriteResult";
5
- export declare function orchestrateTestWrite<Model extends ILlmSchema.Model>(ctx: AutoBeContext<Model>, scenarios: AutoBeTestScenario[]): Promise<IAutoBeTestWriteResult[]>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"orchestrateTestWrite.js","sourceRoot":"","sources":["../../../../../src/orchestrate/test/orchestrateTestWrite.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,oDAoCC;;AAjDD,kDAA0B;AAC1B,+BAA0B;AAG1B,uEAAoE;AACpE,uEAAoE;AACpE,iEAA8D;AAC9D,iFAA8E;AAC9E,yFAAsF;AAKtF,SAAsB,oBAAoB,CACxC,GAAyB,EACzB,SAA+B;;QAE/B,MAAM,QAAQ,GAA4B;YACxC,KAAK,EAAE,SAAS,CAAC,MAAM;YACvB,SAAS,EAAE,CAAC;SACb,CAAC;QACF,MAAM,MAAM,GAAyC,MAAM,IAAA,uCAAkB;QAC3E;;;;WAIG;QACH,SAAS,CAAC,GAAG,CAAC,CAAC,QAA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AC,CAAC;IAE/B,MAAM,WAAW,GAA2B,UAAU,CACpD,KAAK,CAAC,KAAK,CACwD,CAAC;IACtE,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,kBAAkB;QACxB,WAAW;QACX,OAAO,EAAE;YACP,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE;gBACd,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACpB,CAAC;SACoC;KACxC,CAAC;AACJ,CAAC;AAED,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiE,CAAC;AAC9E,MAAM,UAAU,GAAG;IACjB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAiE;IACxE,MAAM;IACN,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;IACb,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAA6D;CACnE,CAAC"}
@@ -1,125 +0,0 @@
1
- export interface IAutoBeTestCorrectApplication {
2
- /**
3
- * Main entry point for AI Function Call - analyzes compilation errors and
4
- * generates corrected E2E test code.
5
- *
6
- * The AI executes this function to perform the complete error correction
7
- * workflow: compilation error analysis → draft correction → code review →
8
- * final corrected implementation. This multi-step process ensures systematic
9
- * error resolution while preserving original test functionality and
10
- * maintaining code quality.
11
- *
12
- * The corrector analyzes compilation diagnostics to identify specific issues,
13
- * develops correction strategies, and produces corrected code through
14
- * iterative refinement with comprehensive review and validation.
15
- *
16
- * @param props Complete specification for error correction workflow including
17
- * analysis steps, draft implementation, review process, and final code
18
- * generation
19
- */
20
- rewrite(props: IAutoBeTestCorrectApplication.IProps): void;
21
- }
22
- export declare namespace IAutoBeTestCorrectApplication {
23
- interface IProps {
24
- /**
25
- * Step 1: Deep compilation error analysis and correction strategy.
26
- *
27
- * AI performs comprehensive analysis of compilation errors to develop
28
- * targeted correction strategies. This step involves deep examination of
29
- * error messages, identification of error patterns, understanding root
30
- * causes, and planning systematic corrections.
31
- *
32
- * The AI examines each compilation diagnostic to understand where the
33
- * implementation diverged from correct TypeScript usage, identifies the
34
- * business logic intent behind the failed code, and formulates strategies
35
- * to fix errors while preserving the original test purpose. This analysis
36
- * correlates error patterns with code structure to ensure corrections
37
- * address root causes rather than symptoms.
38
- *
39
- * This deep analysis forms the foundation for all subsequent correction
40
- * efforts, ensuring a methodical approach to resolving compilation issues.
41
- *
42
- * Workflow: Error diagnostic analysis → Root cause identification →
43
- * Correction strategy planning → Business logic preservation strategy
44
- */
45
- think: string;
46
- /**
47
- * Step 2: Draft corrected TypeScript E2E test code implementation.
48
- *
49
- * AI generates the first corrected version of the test code based on error
50
- * analysis and correction strategies. This draft addresses all identified
51
- * compilation errors while preserving the original business logic and test
52
- * workflow. The code is compilation-error-free and follows all established
53
- * conventions.
54
- *
55
- * The implementation incorporates lessons learned from error analysis to
56
- * produce properly typed, syntactically correct code that maintains the
57
- * intended test functionality. All type safety requirements and framework
58
- * conventions are followed in this corrected implementation.
59
- *
60
- * Workflow: Error correction → TypeScript implementation → Functional
61
- * preservation
62
- *
63
- * DO: Resolve all compilation errors while maintaining original test intent
64
- */
65
- draft: string;
66
- /**
67
- * Step 3-4: Review and finalization process.
68
- *
69
- * Encapsulates the review and final implementation phases into a single
70
- * revision process. This structured approach ensures systematic validation
71
- * and refinement of the corrected code through comprehensive review
72
- * followed by production-ready implementation.
73
- *
74
- * The revision process maintains clear separation between review feedback
75
- * and final deliverable while ensuring all corrections are properly
76
- * validated and integrated.
77
- */
78
- revise: IReviseProps;
79
- }
80
- /**
81
- * Revision properties for the final review and implementation phases.
82
- *
83
- * This interface encapsulates the final two steps of the error correction
84
- * workflow, ensuring systematic review and production-ready code delivery.
85
- */
86
- interface IReviseProps {
87
- /**
88
- * Step 3: Code review and correction validation.
89
- *
90
- * AI performs a comprehensive review of the corrected draft implementation,
91
- * validating that all compilation errors have been resolved and that the
92
- * code maintains the original functionality. This review examines both
93
- * technical correctness and business logic preservation.
94
- *
95
- * The review process includes verification of TypeScript compilation
96
- * compatibility, API integration correctness, test workflow completeness,
97
- * and adherence to all quality standards. Any remaining issues or potential
98
- * improvements are identified for incorporation into the final
99
- * implementation.
100
- *
101
- * Workflow: Draft validation → Compilation verification → Functionality
102
- * review → Quality assessment
103
- */
104
- review: string;
105
- /**
106
- * Step 4: Final production-ready corrected test code.
107
- *
108
- * AI produces the final, polished version of the corrected test code
109
- * incorporating all review feedback and validation results. This code
110
- * represents the completed error correction, guaranteed to compile
111
- * successfully while preserving all original test functionality and
112
- * business logic.
113
- *
114
- * The final implementation resolves all compilation issues, maintains
115
- * strict type safety, follows all established conventions, and delivers a
116
- * production-ready test that accurately validates the intended API
117
- * behaviors and user workflows.
118
- *
119
- * Workflow: Review integration → Final refinement → Production-ready
120
- * implementation. This is the ultimate deliverable that will replace the
121
- * compilation-failed code.
122
- */
123
- final: string;
124
- }
125
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"IAutoBeTestCorrectApplication.js","sourceRoot":"","sources":["../../../../../../src/orchestrate/test/structures/IAutoBeTestCorrectApplication.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- import { AutoBeTestScenario } from "@autobe/interface";
2
- import { IAutoBeTestScenarioArtifacts } from "./IAutoBeTestScenarioArtifacts";
3
- export interface IAutoBeTestFunction {
4
- artifacts: IAutoBeTestScenarioArtifacts;
5
- scenario: AutoBeTestScenario;
6
- location: string;
7
- script: string;
8
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"IAutoBeTestFunction.js","sourceRoot":"","sources":["../../../../../../src/orchestrate/test/structures/IAutoBeTestFunction.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import { IAutoBeTypeScriptCompileResult } from "@autobe/interface";
2
- import { IAutoBeTestFunction } from "./IAutoBeTestFunction";
3
- export interface IAutoBeTestFunctionFailure {
4
- function: IAutoBeTestFunction;
5
- failure: IAutoBeTypeScriptCompileResult.IFailure;
6
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"IAutoBeTestFunctionFailure.js","sourceRoot":"","sources":["../../../../../../src/orchestrate/test/structures/IAutoBeTestFunctionFailure.ts"],"names":[],"mappings":""}