@autobe/agent 0.28.1 → 0.29.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 (543) hide show
  1. package/lib/AutoBeAgent.js +5 -4
  2. package/lib/AutoBeAgent.js.map +1 -1
  3. package/lib/AutoBeMockAgent.js +1 -0
  4. package/lib/AutoBeMockAgent.js.map +1 -1
  5. package/lib/constants/AutoBeConfigConstant.d.ts +3 -1
  6. package/lib/constants/AutoBeSystemPromptConstant.d.ts +39 -26
  7. package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -1
  8. package/lib/context/AutoBeContext.d.ts +1 -1
  9. package/lib/factory/createAutoBeContext.js +13 -13
  10. package/lib/factory/createAutoBeContext.js.map +1 -1
  11. package/lib/index.mjs +43499 -23744
  12. package/lib/index.mjs.map +1 -1
  13. package/lib/orchestrate/analyze/histories/transformAnalyzeReviewHistories.d.ts +7 -2
  14. package/lib/orchestrate/analyze/histories/transformAnalyzeReviewHistories.js +11 -21
  15. package/lib/orchestrate/analyze/histories/transformAnalyzeReviewHistories.js.map +1 -1
  16. package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.d.ts +2 -2
  17. package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js +12 -5
  18. package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js.map +1 -1
  19. package/lib/orchestrate/analyze/histories/transformAnalyzeWriteHistories.d.ts +2 -2
  20. package/lib/orchestrate/analyze/histories/transformAnalyzeWriteHistories.js +53 -50
  21. package/lib/orchestrate/analyze/histories/transformAnalyzeWriteHistories.js.map +1 -1
  22. package/lib/orchestrate/analyze/orchestrateAnalyze.js +2 -2
  23. package/lib/orchestrate/analyze/orchestrateAnalyze.js.map +1 -1
  24. package/lib/orchestrate/analyze/orchestrateAnalyzeReview.js +855 -258
  25. package/lib/orchestrate/analyze/orchestrateAnalyzeReview.js.map +1 -1
  26. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js +2 -14
  27. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -1
  28. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js +2 -9
  29. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js.map +1 -1
  30. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.d.ts +110 -36
  31. package/lib/orchestrate/common/AutoBePreliminaryController.d.ts +40 -0
  32. package/lib/orchestrate/common/AutoBePreliminaryController.js +97 -0
  33. package/lib/orchestrate/common/AutoBePreliminaryController.js.map +1 -0
  34. package/lib/orchestrate/common/histories/transformCommonCorrectCastingHistory.d.ts +8 -0
  35. package/lib/orchestrate/{realize/histories/transformRealizeCorrectCastingHistories.js → common/histories/transformCommonCorrectCastingHistory.js} +16 -13
  36. package/lib/orchestrate/common/histories/transformCommonCorrectCastingHistory.js.map +1 -0
  37. package/lib/orchestrate/common/histories/transformPreliminaryHistory.d.ts +4 -0
  38. package/lib/orchestrate/common/histories/transformPreliminaryHistory.js +285 -0
  39. package/lib/orchestrate/common/histories/transformPreliminaryHistory.js.map +1 -0
  40. package/lib/orchestrate/common/histories/{transformPreviousAndLatestCorrectHistories.d.ts → transformPreviousAndLatestCorrectHistory.d.ts} +1 -1
  41. package/lib/orchestrate/common/histories/{transformPreviousAndLatestCorrectHistories.js → transformPreviousAndLatestCorrectHistory.js} +4 -4
  42. package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js.map +1 -0
  43. package/lib/orchestrate/common/internal/complementPreliminaryCollection.d.ts +7 -0
  44. package/lib/orchestrate/common/internal/complementPreliminaryCollection.js +99 -0
  45. package/lib/orchestrate/common/internal/complementPreliminaryCollection.js.map +1 -0
  46. package/lib/orchestrate/common/internal/createPreliminaryCollection.d.ts +3 -0
  47. package/lib/orchestrate/common/internal/createPreliminaryCollection.js +20 -0
  48. package/lib/orchestrate/common/internal/createPreliminaryCollection.js.map +1 -0
  49. package/lib/orchestrate/common/internal/validatePreliminary.d.ts +5 -0
  50. package/lib/orchestrate/common/internal/validatePreliminary.js +217 -0
  51. package/lib/orchestrate/common/internal/validatePreliminary.js.map +1 -0
  52. package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js +10 -22
  53. package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js.map +1 -1
  54. package/lib/orchestrate/common/orchestratePreliminary.d.ts +12 -0
  55. package/lib/orchestrate/common/orchestratePreliminary.js +231 -0
  56. package/lib/orchestrate/common/orchestratePreliminary.js.map +1 -0
  57. package/lib/orchestrate/common/structures/AutoBePreliminaryRequest.d.ts +16 -0
  58. package/lib/orchestrate/{realize/structures/IAutoBeRealizeAuthorizationApplication.js → common/structures/AutoBePreliminaryRequest.js} +1 -1
  59. package/lib/orchestrate/common/structures/AutoBePreliminaryRequest.js.map +1 -0
  60. package/lib/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.d.ts +1 -4
  61. package/lib/orchestrate/common/structures/IAutoBeOrchestrateResult.d.ts +9 -0
  62. package/lib/orchestrate/{interface/structures/IAutoBeInterfacePrerequisitesApplication.js → common/structures/IAutoBeOrchestrateResult.js} +1 -1
  63. package/lib/orchestrate/common/structures/IAutoBeOrchestrateResult.js.map +1 -0
  64. package/lib/orchestrate/common/structures/IAutoBePreliminaryCollection.d.ts +8 -0
  65. package/lib/orchestrate/{interface/structures/IAutoBeInterfaceEndpointsReviewApplication.js → common/structures/IAutoBePreliminaryCollection.js} +1 -1
  66. package/lib/orchestrate/common/structures/IAutoBePreliminaryCollection.js.map +1 -0
  67. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisFiles.d.ts +27 -0
  68. package/lib/orchestrate/{interface/structures/IAutoBeInterfaceOperationsReviewApplication.js → common/structures/IAutoBePreliminaryGetAnalysisFiles.js} +1 -1
  69. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisFiles.js.map +1 -0
  70. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.d.ts +28 -0
  71. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.js +3 -0
  72. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.js.map +1 -0
  73. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.d.ts +27 -0
  74. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.js +3 -0
  75. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.js.map +1 -0
  76. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPrismaSchemas.d.ts +27 -0
  77. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPrismaSchemas.js +3 -0
  78. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPrismaSchemas.js.map +1 -0
  79. package/lib/orchestrate/interface/histories/transformInterfaceAuthorizationHistory.d.ts +10 -0
  80. package/lib/orchestrate/interface/histories/transformInterfaceAuthorizationHistory.js +70 -0
  81. package/lib/orchestrate/interface/histories/transformInterfaceAuthorizationHistory.js.map +1 -0
  82. package/lib/orchestrate/interface/histories/transformInterfaceCommonHistory.d.ts +3 -0
  83. package/lib/orchestrate/interface/histories/{transformInterfaceCommonHistories.js → transformInterfaceCommonHistory.js} +4 -4
  84. package/lib/orchestrate/interface/histories/transformInterfaceCommonHistory.js.map +1 -0
  85. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistory.d.ts +9 -0
  86. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistory.js +60 -0
  87. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistory.js.map +1 -0
  88. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistory.d.ts +12 -0
  89. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistory.js +63 -0
  90. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistory.js.map +1 -0
  91. package/lib/orchestrate/interface/histories/transformInterfaceEndpointReviewHistory.d.ts +7 -0
  92. package/lib/orchestrate/interface/histories/transformInterfaceEndpointReviewHistory.js +36 -0
  93. package/lib/orchestrate/interface/histories/transformInterfaceEndpointReviewHistory.js.map +1 -0
  94. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistory.d.ts +6 -0
  95. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistory.js +68 -0
  96. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistory.js.map +1 -0
  97. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistory.d.ts +9 -0
  98. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistory.js +72 -0
  99. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistory.js.map +1 -0
  100. package/lib/orchestrate/interface/histories/transformInterfaceOperationReviewHistory.d.ts +7 -0
  101. package/lib/orchestrate/interface/histories/transformInterfaceOperationReviewHistory.js +38 -0
  102. package/lib/orchestrate/interface/histories/transformInterfaceOperationReviewHistory.js.map +1 -0
  103. package/lib/orchestrate/interface/histories/transformInterfacePrerequisiteHistory.d.ts +8 -0
  104. package/lib/orchestrate/interface/histories/transformInterfacePrerequisiteHistory.js +73 -0
  105. package/lib/orchestrate/interface/histories/transformInterfacePrerequisiteHistory.js.map +1 -0
  106. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistory.d.ts +11 -0
  107. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistory.js +95 -0
  108. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistory.js.map +1 -0
  109. package/lib/orchestrate/interface/histories/transformInterfaceSchemaRenameHistory.d.ts +5 -0
  110. package/lib/orchestrate/interface/histories/transformInterfaceSchemaRenameHistory.js +54 -0
  111. package/lib/orchestrate/interface/histories/transformInterfaceSchemaRenameHistory.js.map +1 -0
  112. package/lib/orchestrate/interface/histories/transformInterfaceSchemaReviewHistory.d.ts +12 -0
  113. package/lib/orchestrate/interface/histories/transformInterfaceSchemaReviewHistory.js +75 -0
  114. package/lib/orchestrate/interface/histories/transformInterfaceSchemaReviewHistory.js.map +1 -0
  115. package/lib/orchestrate/interface/orchestrateInterface.js +90 -46
  116. package/lib/orchestrate/interface/orchestrateInterface.js.map +1 -1
  117. package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.d.ts +6 -0
  118. package/lib/orchestrate/interface/{orchestrateInterfaceAuthorizations.js → orchestrateInterfaceAuthorization.js} +1370 -226
  119. package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js.map +1 -0
  120. package/lib/orchestrate/interface/orchestrateInterfaceComplement.d.ts +4 -3
  121. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js +2807 -532
  122. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js.map +1 -1
  123. package/lib/orchestrate/interface/{orchestrateInterfaceEndpoints.d.ts → orchestrateInterfaceEndpoint.d.ts} +1 -1
  124. package/lib/orchestrate/interface/orchestrateInterfaceEndpoint.js +1356 -0
  125. package/lib/orchestrate/interface/orchestrateInterfaceEndpoint.js.map +1 -0
  126. package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.d.ts +4 -0
  127. package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js +1337 -0
  128. package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js.map +1 -0
  129. package/lib/orchestrate/interface/{orchestrateInterfaceGroups.d.ts → orchestrateInterfaceGroup.d.ts} +1 -2
  130. package/lib/orchestrate/interface/orchestrateInterfaceGroup.js +621 -0
  131. package/lib/orchestrate/interface/orchestrateInterfaceGroup.js.map +1 -0
  132. package/lib/orchestrate/interface/{orchestrateInterfaceOperations.d.ts → orchestrateInterfaceOperation.d.ts} +1 -2
  133. package/lib/orchestrate/interface/{orchestrateInterfaceOperations.js → orchestrateInterfaceOperation.js} +1275 -216
  134. package/lib/orchestrate/interface/orchestrateInterfaceOperation.js.map +1 -0
  135. package/lib/orchestrate/interface/orchestrateInterfaceOperationReview.d.ts +4 -0
  136. package/lib/orchestrate/interface/{orchestrateInterfaceOperationsReview.js → orchestrateInterfaceOperationReview.js} +1421 -247
  137. package/lib/orchestrate/interface/orchestrateInterfaceOperationReview.js.map +1 -0
  138. package/lib/orchestrate/interface/{orchestrateInterfacePrerequisites.d.ts → orchestrateInterfacePrerequisite.d.ts} +1 -1
  139. package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js +2159 -0
  140. package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js.map +1 -0
  141. package/lib/orchestrate/interface/{orchestrateInterfaceSchemas.d.ts → orchestrateInterfaceSchema.d.ts} +1 -2
  142. package/lib/orchestrate/interface/{orchestrateInterfaceSchemas.js → orchestrateInterfaceSchema.js} +2550 -546
  143. package/lib/orchestrate/interface/orchestrateInterfaceSchema.js.map +1 -0
  144. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRename.js +7 -17
  145. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRename.js.map +1 -1
  146. package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.d.ts +1 -0
  147. package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js +2823 -548
  148. package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js.map +1 -1
  149. package/lib/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.d.ts +56 -5
  150. package/lib/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.d.ts +57 -10
  151. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.d.ts +55 -10
  152. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.d.ts +96 -0
  153. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.js +3 -0
  154. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.js.map +1 -0
  155. package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.d.ts +6 -82
  156. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +58 -13
  157. package/lib/orchestrate/interface/structures/{IAutoBeInterfaceOperationsReviewApplication.d.ts → IAutoBeInterfaceOperationReviewApplication.d.ts} +58 -28
  158. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.js +3 -0
  159. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.js.map +1 -0
  160. package/lib/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.d.ts +98 -0
  161. package/lib/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.js +3 -0
  162. package/lib/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.js.map +1 -0
  163. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.d.ts +56 -15
  164. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaContentReviewApplication.d.ts +62 -22
  165. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRelationReviewApplication.d.ts +60 -21
  166. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaSecurityReviewApplication.d.ts +61 -19
  167. package/lib/orchestrate/interface/utils/JsonSchemaFactory.js +29 -23
  168. package/lib/orchestrate/interface/utils/JsonSchemaFactory.js.map +1 -1
  169. package/lib/orchestrate/interface/utils/JsonSchemaNamingConvention.js +67 -61
  170. package/lib/orchestrate/interface/utils/JsonSchemaNamingConvention.js.map +1 -1
  171. package/lib/orchestrate/interface/utils/JsonSchemaValidator.d.ts +2 -1
  172. package/lib/orchestrate/interface/utils/JsonSchemaValidator.js +52 -25
  173. package/lib/orchestrate/interface/utils/JsonSchemaValidator.js.map +1 -1
  174. package/lib/orchestrate/interface/utils/OperationValidator.js +59 -1
  175. package/lib/orchestrate/interface/utils/OperationValidator.js.map +1 -1
  176. package/lib/orchestrate/prisma/histories/transformPrismaComponentsHistory.d.ts +6 -0
  177. package/lib/orchestrate/prisma/histories/transformPrismaComponentsHistory.js +98 -0
  178. package/lib/orchestrate/prisma/histories/transformPrismaComponentsHistory.js.map +1 -0
  179. package/lib/orchestrate/prisma/histories/transformPrismaCorrectHistory.d.ts +7 -0
  180. package/lib/orchestrate/prisma/histories/transformPrismaCorrectHistory.js +31 -0
  181. package/lib/orchestrate/prisma/histories/transformPrismaCorrectHistory.js.map +1 -0
  182. package/lib/orchestrate/prisma/histories/transformPrismaReviewHistory.d.ts +7 -0
  183. package/lib/orchestrate/prisma/histories/transformPrismaReviewHistory.js +38 -0
  184. package/lib/orchestrate/prisma/histories/transformPrismaReviewHistory.js.map +1 -0
  185. package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistory.d.ts +8 -0
  186. package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistory.js +79 -0
  187. package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistory.js.map +1 -0
  188. package/lib/orchestrate/prisma/orchestratePrisma.js +9 -6
  189. package/lib/orchestrate/prisma/orchestratePrisma.js.map +1 -1
  190. package/lib/orchestrate/prisma/orchestratePrismaComponent.d.ts +1 -1
  191. package/lib/orchestrate/prisma/orchestratePrismaComponent.js +8 -14
  192. package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -1
  193. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js +2863 -1543
  194. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -1
  195. package/lib/orchestrate/prisma/orchestratePrismaReview.d.ts +1 -1
  196. package/lib/orchestrate/prisma/orchestratePrismaReview.js +2886 -1566
  197. package/lib/orchestrate/prisma/orchestratePrismaReview.js.map +1 -1
  198. package/lib/orchestrate/prisma/{orchestratePrismaSchemas.d.ts → orchestratePrismaSchema.d.ts} +1 -1
  199. package/lib/orchestrate/prisma/orchestratePrismaSchema.js +3068 -0
  200. package/lib/orchestrate/prisma/orchestratePrismaSchema.js.map +1 -0
  201. package/lib/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.d.ts +74 -76
  202. package/lib/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.d.ts +90 -72
  203. package/lib/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.d.ts +89 -66
  204. package/lib/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistory.d.ts +9 -0
  205. package/lib/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistory.js +79 -0
  206. package/lib/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistory.js.map +1 -0
  207. package/lib/orchestrate/realize/histories/transformRealizeAuthorizationWriteHistory.d.ts +7 -0
  208. package/lib/orchestrate/realize/histories/transformRealizeAuthorizationWriteHistory.js +41 -0
  209. package/lib/orchestrate/realize/histories/transformRealizeAuthorizationWriteHistory.js.map +1 -0
  210. package/lib/orchestrate/realize/histories/transformRealizeCorrectCastingHistory.d.ts +12 -0
  211. package/lib/orchestrate/realize/histories/transformRealizeCorrectCastingHistory.js +67 -0
  212. package/lib/orchestrate/realize/histories/transformRealizeCorrectCastingHistory.js.map +1 -0
  213. package/lib/orchestrate/realize/histories/transformRealizeCorrectHistory.d.ts +18 -0
  214. package/lib/orchestrate/realize/histories/transformRealizeCorrectHistory.js +54 -0
  215. package/lib/orchestrate/realize/histories/transformRealizeCorrectHistory.js.map +1 -0
  216. package/lib/orchestrate/realize/histories/transformRealizeWriteHistories.d.ts +4 -2
  217. package/lib/orchestrate/realize/histories/transformRealizeWriteHistories.js +140 -106
  218. package/lib/orchestrate/realize/histories/transformRealizeWriteHistories.js.map +1 -1
  219. package/lib/orchestrate/realize/histories/transformRealizeWriteMembershipHistory.d.ts +3 -0
  220. package/lib/orchestrate/realize/histories/transformRealizeWriteMembershipHistory.js +23 -0
  221. package/lib/orchestrate/realize/histories/transformRealizeWriteMembershipHistory.js.map +1 -0
  222. package/lib/orchestrate/realize/orchestrateRealize.js +4 -4
  223. package/lib/orchestrate/realize/orchestrateRealize.js.map +1 -1
  224. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.d.ts +5 -1
  225. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js +1288 -572
  226. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js.map +1 -1
  227. package/lib/orchestrate/realize/{orchestrateRealizeAuthorization.d.ts → orchestrateRealizeAuthorizationWrite.d.ts} +1 -1
  228. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationWrite.js +1410 -0
  229. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationWrite.js.map +1 -0
  230. package/lib/orchestrate/realize/orchestrateRealizeCorrect.js +664 -140
  231. package/lib/orchestrate/realize/orchestrateRealizeCorrect.js.map +1 -1
  232. package/lib/orchestrate/realize/orchestrateRealizeCorrectCasting.js +20 -65
  233. package/lib/orchestrate/realize/orchestrateRealizeCorrectCasting.js.map +1 -1
  234. package/lib/orchestrate/realize/orchestrateRealizeWrite.js +660 -135
  235. package/lib/orchestrate/realize/orchestrateRealizeWrite.js.map +1 -1
  236. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.d.ts +79 -19
  237. package/lib/orchestrate/realize/structures/{IAutoBeRealizeAuthorizationApplication.d.ts → IAutoBeRealizeAuthorizationWriteApplication.d.ts} +60 -27
  238. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.js +3 -0
  239. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.js.map +1 -0
  240. package/lib/orchestrate/realize/structures/IAutoBeRealizeCorrectApplication.d.ts +54 -5
  241. package/lib/orchestrate/realize/structures/IAutoBeRealizeScenarioResult.d.ts +6 -14
  242. package/lib/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.d.ts +54 -6
  243. package/lib/orchestrate/realize/utils/generateRealizeScenario.d.ts +1 -3
  244. package/lib/orchestrate/realize/utils/generateRealizeScenario.js +1 -7
  245. package/lib/orchestrate/realize/utils/generateRealizeScenario.js.map +1 -1
  246. package/lib/orchestrate/test/histories/transformTestCorrectHistories.d.ts +3 -3
  247. package/lib/orchestrate/test/histories/transformTestCorrectHistories.js +23 -20
  248. package/lib/orchestrate/test/histories/transformTestCorrectHistories.js.map +1 -1
  249. package/lib/orchestrate/test/histories/transformTestCorrectInvalidRequestHistory.d.ts +4 -0
  250. package/lib/orchestrate/test/histories/transformTestCorrectInvalidRequestHistory.js +36 -0
  251. package/lib/orchestrate/test/histories/transformTestCorrectInvalidRequestHistory.js.map +1 -0
  252. package/lib/orchestrate/test/histories/transformTestScenarioHistory.d.ts +11 -0
  253. package/lib/orchestrate/test/histories/transformTestScenarioHistory.js +95 -0
  254. package/lib/orchestrate/test/histories/transformTestScenarioHistory.js.map +1 -0
  255. package/lib/orchestrate/test/histories/transformTestScenarioReviewHistory.d.ts +10 -0
  256. package/lib/orchestrate/test/histories/transformTestScenarioReviewHistory.js +67 -0
  257. package/lib/orchestrate/test/histories/transformTestScenarioReviewHistory.js.map +1 -0
  258. package/lib/orchestrate/test/histories/{transformTestWriteHistories.d.ts → transformTestWriteHistory.d.ts} +4 -4
  259. package/lib/orchestrate/test/histories/{transformTestWriteHistories.js → transformTestWriteHistory.js} +79 -76
  260. package/lib/orchestrate/test/histories/transformTestWriteHistory.js.map +1 -0
  261. package/lib/orchestrate/test/orchestrateTestCorrect.js +13 -26
  262. package/lib/orchestrate/test/orchestrateTestCorrect.js.map +1 -1
  263. package/lib/orchestrate/test/orchestrateTestCorrectInvalidRequest.js +3 -15
  264. package/lib/orchestrate/test/orchestrateTestCorrectInvalidRequest.js.map +1 -1
  265. package/lib/orchestrate/test/orchestrateTestScenario.d.ts +1 -1
  266. package/lib/orchestrate/test/orchestrateTestScenario.js +1370 -316
  267. package/lib/orchestrate/test/orchestrateTestScenario.js.map +1 -1
  268. package/lib/orchestrate/test/orchestrateTestScenarioReview.d.ts +5 -3
  269. package/lib/orchestrate/test/orchestrateTestScenarioReview.js +1067 -288
  270. package/lib/orchestrate/test/orchestrateTestScenarioReview.js.map +1 -1
  271. package/lib/orchestrate/test/orchestrateTestWrite.js +8 -15
  272. package/lib/orchestrate/test/orchestrateTestWrite.js.map +1 -1
  273. package/lib/orchestrate/test/structures/IAutoBeTestScenarioApplication.d.ts +66 -4
  274. package/lib/orchestrate/test/structures/IAutoBeTestScenarioReviewApplication.d.ts +82 -14
  275. package/lib/structures/IAutoBeOrchestrateHistory.d.ts +5 -0
  276. package/lib/structures/IAutoBeOrchestrateHistory.js +3 -0
  277. package/lib/structures/IAutoBeOrchestrateHistory.js.map +1 -0
  278. package/lib/utils/executeCachedBatch.d.ts +5 -1
  279. package/lib/utils/executeCachedBatch.js +23 -5
  280. package/lib/utils/executeCachedBatch.js.map +1 -1
  281. package/lib/utils/validateEmptyCode.js +2 -2
  282. package/lib/utils/validateEmptyCode.js.map +1 -1
  283. package/package.json +8 -6
  284. package/src/AutoBeAgent.ts +2 -1
  285. package/src/AutoBeMockAgent.ts +1 -0
  286. package/src/constants/AutoBeConfigConstant.ts +2 -0
  287. package/src/constants/AutoBeSystemPromptConstant.ts +39 -26
  288. package/src/context/AutoBeContext.ts +1 -1
  289. package/src/factory/createAutoBeContext.ts +10 -5
  290. package/src/orchestrate/analyze/histories/transformAnalyzeReviewHistories.ts +17 -28
  291. package/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.ts +12 -6
  292. package/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.ts +62 -61
  293. package/src/orchestrate/analyze/orchestrateAnalyze.ts +2 -0
  294. package/src/orchestrate/analyze/orchestrateAnalyzeReview.ts +97 -48
  295. package/src/orchestrate/analyze/orchestrateAnalyzeScenario.ts +3 -16
  296. package/src/orchestrate/analyze/orchestrateAnalyzeWrite.ts +1 -2
  297. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.ts +114 -36
  298. package/src/orchestrate/common/AutoBePreliminaryController.ts +161 -0
  299. package/src/orchestrate/common/histories/transformCommonCorrectCastingHistory.ts +32 -0
  300. package/src/orchestrate/common/histories/transformPreliminaryHistory.ts +383 -0
  301. package/src/orchestrate/common/histories/{transformPreviousAndLatestCorrectHistories.ts → transformPreviousAndLatestCorrectHistory.ts} +1 -1
  302. package/src/orchestrate/common/internal/complementPreliminaryCollection.ts +123 -0
  303. package/src/orchestrate/common/internal/createPreliminaryCollection.ts +32 -0
  304. package/src/orchestrate/common/internal/validatePreliminary.ts +315 -0
  305. package/src/orchestrate/common/orchestrateCommonCorrectCasting.ts +8 -15
  306. package/src/orchestrate/common/orchestratePreliminary.ts +361 -0
  307. package/src/orchestrate/common/structures/AutoBePreliminaryRequest.ts +18 -0
  308. package/src/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.ts +1 -4
  309. package/src/orchestrate/common/structures/IAutoBeOrchestrateResult.ts +13 -0
  310. package/src/orchestrate/common/structures/IAutoBePreliminaryCollection.ts +9 -0
  311. package/src/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisFiles.ts +29 -0
  312. package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.ts +30 -0
  313. package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.ts +29 -0
  314. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPrismaSchemas.ts +29 -0
  315. package/src/orchestrate/interface/histories/transformInterfaceAuthorizationHistory.ts +77 -0
  316. package/src/orchestrate/interface/histories/{transformInterfaceCommonHistories.ts → transformInterfaceCommonHistory.ts} +1 -1
  317. package/src/orchestrate/interface/histories/{transformInterfaceGroupHistories.ts → transformInterfaceComplementHistory.ts} +35 -21
  318. package/src/orchestrate/interface/histories/transformInterfaceEndpointHistory.ts +74 -0
  319. package/src/orchestrate/interface/histories/transformInterfaceEndpointReviewHistory.ts +40 -0
  320. package/src/orchestrate/interface/histories/transformInterfaceGroupHistory.ts +72 -0
  321. package/src/orchestrate/interface/histories/transformInterfaceOperationHistory.ts +79 -0
  322. package/src/orchestrate/interface/histories/transformInterfaceOperationReviewHistory.ts +43 -0
  323. package/src/orchestrate/interface/histories/transformInterfacePrerequisiteHistory.ts +89 -0
  324. package/src/orchestrate/interface/histories/transformInterfaceSchemaHistory.ts +105 -0
  325. package/src/orchestrate/interface/histories/transformInterfaceSchemaRenameHistory.ts +56 -0
  326. package/src/orchestrate/interface/histories/transformInterfaceSchemaReviewHistory.ts +88 -0
  327. package/src/orchestrate/interface/orchestrateInterface.ts +115 -51
  328. package/src/orchestrate/interface/{orchestrateInterfaceAuthorizations.ts → orchestrateInterfaceAuthorization.ts} +91 -67
  329. package/src/orchestrate/interface/orchestrateInterfaceComplement.ts +174 -78
  330. package/src/orchestrate/interface/orchestrateInterfaceEndpoint.ts +207 -0
  331. package/src/orchestrate/interface/orchestrateInterfaceEndpointReview.ts +139 -0
  332. package/src/orchestrate/interface/orchestrateInterfaceGroup.ts +153 -0
  333. package/src/orchestrate/interface/{orchestrateInterfaceOperations.ts → orchestrateInterfaceOperation.ts} +109 -86
  334. package/src/orchestrate/interface/orchestrateInterfaceOperationReview.ts +186 -0
  335. package/src/orchestrate/interface/{orchestrateInterfacePrerequisites.ts → orchestrateInterfacePrerequisite.ts} +123 -58
  336. package/src/orchestrate/interface/{orchestrateInterfaceSchemas.ts → orchestrateInterfaceSchema.ts} +96 -90
  337. package/src/orchestrate/interface/orchestrateInterfaceSchemaRename.ts +10 -11
  338. package/src/orchestrate/interface/orchestrateInterfaceSchemaReview.ts +127 -60
  339. package/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.ts +63 -5
  340. package/src/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.ts +67 -12
  341. package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.ts +63 -10
  342. package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.ts +106 -0
  343. package/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.ts +6 -84
  344. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts +65 -13
  345. package/src/orchestrate/interface/structures/{IAutoBeInterfaceOperationsReviewApplication.ts → IAutoBeInterfaceOperationReviewApplication.ts} +65 -30
  346. package/src/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.ts +111 -0
  347. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.ts +65 -15
  348. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaContentReviewApplication.ts +71 -24
  349. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRelationReviewApplication.ts +68 -23
  350. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaSecurityReviewApplication.ts +69 -21
  351. package/src/orchestrate/interface/utils/JsonSchemaFactory.ts +31 -23
  352. package/src/orchestrate/interface/utils/JsonSchemaNamingConvention.ts +73 -61
  353. package/src/orchestrate/interface/utils/JsonSchemaValidator.ts +53 -26
  354. package/src/orchestrate/interface/utils/OperationValidator.ts +69 -1
  355. package/src/orchestrate/prisma/histories/transformPrismaComponentsHistory.ts +109 -0
  356. package/src/orchestrate/prisma/histories/{transformPrismaCorrectHistories.ts → transformPrismaCorrectHistory.ts} +13 -22
  357. package/src/orchestrate/prisma/histories/transformPrismaReviewHistory.ts +42 -0
  358. package/src/orchestrate/prisma/histories/{transformPrismaSchemaHistories.ts → transformPrismaSchemaHistory.ts} +7 -8
  359. package/src/orchestrate/prisma/orchestratePrisma.ts +12 -17
  360. package/src/orchestrate/prisma/orchestratePrismaComponent.ts +7 -15
  361. package/src/orchestrate/prisma/orchestratePrismaCorrect.ts +129 -64
  362. package/src/orchestrate/prisma/orchestratePrismaReview.ts +115 -59
  363. package/src/orchestrate/prisma/{orchestratePrismaSchemas.ts → orchestratePrismaSchema.ts} +92 -60
  364. package/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.ts +81 -76
  365. package/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.ts +97 -72
  366. package/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.ts +93 -66
  367. package/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistory.ts +89 -0
  368. package/src/orchestrate/realize/histories/transformRealizeAuthorizationWriteHistory.ts +45 -0
  369. package/src/orchestrate/realize/histories/transformRealizeCorrectCastingHistory.ts +85 -0
  370. package/src/orchestrate/realize/histories/transformRealizeCorrectHistory.ts +77 -0
  371. package/src/orchestrate/realize/histories/transformRealizeWriteHistories.ts +152 -121
  372. package/src/orchestrate/realize/histories/{transformRealizeWriteAuthorizationsHistories.ts → transformRealizeWriteMembershipHistory.ts} +2 -2
  373. package/src/orchestrate/realize/orchestrateRealize.ts +4 -3
  374. package/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.ts +155 -97
  375. package/src/orchestrate/realize/orchestrateRealizeAuthorizationWrite.ts +241 -0
  376. package/src/orchestrate/realize/orchestrateRealizeCorrect.ts +88 -86
  377. package/src/orchestrate/realize/orchestrateRealizeCorrectCasting.ts +17 -56
  378. package/src/orchestrate/realize/orchestrateRealizeWrite.ts +82 -78
  379. package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.ts +85 -22
  380. package/src/orchestrate/realize/structures/{IAutoBeRealizeAuthorizationApplication.ts → IAutoBeRealizeAuthorizationWriteApplication.ts} +64 -29
  381. package/src/orchestrate/realize/structures/IAutoBeRealizeCorrectApplication.ts +58 -5
  382. package/src/orchestrate/realize/structures/IAutoBeRealizeScenarioResult.ts +6 -19
  383. package/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.ts +58 -6
  384. package/src/orchestrate/realize/utils/generateRealizeScenario.ts +2 -20
  385. package/src/orchestrate/test/histories/transformTestCorrectHistories.ts +30 -30
  386. package/src/orchestrate/test/histories/transformTestCorrectInvalidRequestHistory.ts +40 -0
  387. package/src/orchestrate/test/histories/transformTestScenarioHistory.ts +116 -0
  388. package/src/orchestrate/test/histories/transformTestScenarioReviewHistory.ts +85 -0
  389. package/src/orchestrate/test/histories/transformTestWriteHistory.ts +169 -0
  390. package/src/orchestrate/test/orchestrateTestCorrect.ts +13 -19
  391. package/src/orchestrate/test/orchestrateTestCorrectInvalidRequest.ts +5 -12
  392. package/src/orchestrate/test/orchestrateTestScenario.ts +143 -83
  393. package/src/orchestrate/test/orchestrateTestScenarioReview.ts +93 -76
  394. package/src/orchestrate/test/orchestrateTestWrite.ts +7 -7
  395. package/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.ts +74 -4
  396. package/src/orchestrate/test/structures/IAutoBeTestScenarioReviewApplication.ts +89 -14
  397. package/src/structures/IAutoBeOrchestrateHistory.ts +6 -0
  398. package/src/utils/executeCachedBatch.ts +33 -7
  399. package/src/utils/validateEmptyCode.ts +2 -2
  400. package/lib/factory/AutoBeFunctionCallingMetricFactory.d.ts +0 -7
  401. package/lib/factory/AutoBeFunctionCallingMetricFactory.js +0 -35
  402. package/lib/factory/AutoBeFunctionCallingMetricFactory.js.map +0 -1
  403. package/lib/factory/AutoBeProcessAggregateFactory.d.ts +0 -13
  404. package/lib/factory/AutoBeProcessAggregateFactory.js +0 -100
  405. package/lib/factory/AutoBeProcessAggregateFactory.js.map +0 -1
  406. package/lib/orchestrate/common/histories/transformCommonCorrectCastingHistories.d.ts +0 -8
  407. package/lib/orchestrate/common/histories/transformCommonCorrectCastingHistories.js +0 -16
  408. package/lib/orchestrate/common/histories/transformCommonCorrectCastingHistories.js.map +0 -1
  409. package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistories.js.map +0 -1
  410. package/lib/orchestrate/interface/histories/transformInterfaceAssetHistories.d.ts +0 -3
  411. package/lib/orchestrate/interface/histories/transformInterfaceAssetHistories.js +0 -62
  412. package/lib/orchestrate/interface/histories/transformInterfaceAssetHistories.js.map +0 -1
  413. package/lib/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.d.ts +0 -8
  414. package/lib/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.js +0 -68
  415. package/lib/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.js.map +0 -1
  416. package/lib/orchestrate/interface/histories/transformInterfaceCommonHistories.d.ts +0 -3
  417. package/lib/orchestrate/interface/histories/transformInterfaceCommonHistories.js.map +0 -1
  418. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.d.ts +0 -9
  419. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.js +0 -74
  420. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.js.map +0 -1
  421. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.d.ts +0 -10
  422. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.js +0 -61
  423. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.js.map +0 -1
  424. package/lib/orchestrate/interface/histories/transformInterfaceEndpointsReviewHistories.d.ts +0 -4
  425. package/lib/orchestrate/interface/histories/transformInterfaceEndpointsReviewHistories.js +0 -34
  426. package/lib/orchestrate/interface/histories/transformInterfaceEndpointsReviewHistories.js.map +0 -1
  427. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.d.ts +0 -6
  428. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.js +0 -52
  429. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.js.map +0 -1
  430. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.d.ts +0 -8
  431. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.js +0 -71
  432. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.js.map +0 -1
  433. package/lib/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.d.ts +0 -5
  434. package/lib/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.js +0 -36
  435. package/lib/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.js.map +0 -1
  436. package/lib/orchestrate/interface/histories/transformInterfacePrerequisitesHistories.d.ts +0 -3
  437. package/lib/orchestrate/interface/histories/transformInterfacePrerequisitesHistories.js +0 -102
  438. package/lib/orchestrate/interface/histories/transformInterfacePrerequisitesHistories.js.map +0 -1
  439. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.d.ts +0 -9
  440. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.js +0 -74
  441. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.js.map +0 -1
  442. package/lib/orchestrate/interface/histories/transformInterfaceSchemaRenameHistories.d.ts +0 -5
  443. package/lib/orchestrate/interface/histories/transformInterfaceSchemaRenameHistories.js +0 -51
  444. package/lib/orchestrate/interface/histories/transformInterfaceSchemaRenameHistories.js.map +0 -1
  445. package/lib/orchestrate/interface/histories/transformInterfaceSchemaReviewHistories.d.ts +0 -11
  446. package/lib/orchestrate/interface/histories/transformInterfaceSchemaReviewHistories.js +0 -81
  447. package/lib/orchestrate/interface/histories/transformInterfaceSchemaReviewHistories.js.map +0 -1
  448. package/lib/orchestrate/interface/orchestrateInterfaceAuthorizations.d.ts +0 -4
  449. package/lib/orchestrate/interface/orchestrateInterfaceAuthorizations.js.map +0 -1
  450. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js +0 -508
  451. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +0 -1
  452. package/lib/orchestrate/interface/orchestrateInterfaceEndpointsReview.d.ts +0 -4
  453. package/lib/orchestrate/interface/orchestrateInterfaceEndpointsReview.js +0 -488
  454. package/lib/orchestrate/interface/orchestrateInterfaceEndpointsReview.js.map +0 -1
  455. package/lib/orchestrate/interface/orchestrateInterfaceGroups.js +0 -458
  456. package/lib/orchestrate/interface/orchestrateInterfaceGroups.js.map +0 -1
  457. package/lib/orchestrate/interface/orchestrateInterfaceOperations.js.map +0 -1
  458. package/lib/orchestrate/interface/orchestrateInterfaceOperationsReview.d.ts +0 -4
  459. package/lib/orchestrate/interface/orchestrateInterfaceOperationsReview.js.map +0 -1
  460. package/lib/orchestrate/interface/orchestrateInterfacePrerequisites.js +0 -917
  461. package/lib/orchestrate/interface/orchestrateInterfacePrerequisites.js.map +0 -1
  462. package/lib/orchestrate/interface/orchestrateInterfaceSchemas.js.map +0 -1
  463. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointsReviewApplication.d.ts +0 -60
  464. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointsReviewApplication.js.map +0 -1
  465. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.js.map +0 -1
  466. package/lib/orchestrate/interface/structures/IAutoBeInterfacePrerequisitesApplication.d.ts +0 -52
  467. package/lib/orchestrate/interface/structures/IAutoBeInterfacePrerequisitesApplication.js.map +0 -1
  468. package/lib/orchestrate/prisma/histories/transformPrismaComponentsHistories.d.ts +0 -6
  469. package/lib/orchestrate/prisma/histories/transformPrismaComponentsHistories.js +0 -95
  470. package/lib/orchestrate/prisma/histories/transformPrismaComponentsHistories.js.map +0 -1
  471. package/lib/orchestrate/prisma/histories/transformPrismaCorrectHistories.d.ts +0 -3
  472. package/lib/orchestrate/prisma/histories/transformPrismaCorrectHistories.js +0 -41
  473. package/lib/orchestrate/prisma/histories/transformPrismaCorrectHistories.js.map +0 -1
  474. package/lib/orchestrate/prisma/histories/transformPrismaReviewHistories.d.ts +0 -8
  475. package/lib/orchestrate/prisma/histories/transformPrismaReviewHistories.js +0 -62
  476. package/lib/orchestrate/prisma/histories/transformPrismaReviewHistories.js.map +0 -1
  477. package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistories.d.ts +0 -8
  478. package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistories.js +0 -78
  479. package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistories.js.map +0 -1
  480. package/lib/orchestrate/prisma/orchestratePrismaSchemas.js +0 -1678
  481. package/lib/orchestrate/prisma/orchestratePrismaSchemas.js.map +0 -1
  482. package/lib/orchestrate/realize/histories/transformRealizeAuthorization.d.ts +0 -5
  483. package/lib/orchestrate/realize/histories/transformRealizeAuthorization.js +0 -44
  484. package/lib/orchestrate/realize/histories/transformRealizeAuthorization.js.map +0 -1
  485. package/lib/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.d.ts +0 -5
  486. package/lib/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.js +0 -82
  487. package/lib/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.js.map +0 -1
  488. package/lib/orchestrate/realize/histories/transformRealizeCorrectCastingHistories.d.ts +0 -5
  489. package/lib/orchestrate/realize/histories/transformRealizeCorrectCastingHistories.js.map +0 -1
  490. package/lib/orchestrate/realize/histories/transformRealizeCorrectHistories.d.ts +0 -13
  491. package/lib/orchestrate/realize/histories/transformRealizeCorrectHistories.js +0 -29
  492. package/lib/orchestrate/realize/histories/transformRealizeCorrectHistories.js.map +0 -1
  493. package/lib/orchestrate/realize/histories/transformRealizeWriteAuthorizationsHistories.d.ts +0 -3
  494. package/lib/orchestrate/realize/histories/transformRealizeWriteAuthorizationsHistories.js +0 -23
  495. package/lib/orchestrate/realize/histories/transformRealizeWriteAuthorizationsHistories.js.map +0 -1
  496. package/lib/orchestrate/realize/orchestrateRealizeAuthorization.js +0 -710
  497. package/lib/orchestrate/realize/orchestrateRealizeAuthorization.js.map +0 -1
  498. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.js.map +0 -1
  499. package/lib/orchestrate/test/histories/transformTestCorrectInvalidRequestHistories.d.ts +0 -4
  500. package/lib/orchestrate/test/histories/transformTestCorrectInvalidRequestHistories.js +0 -33
  501. package/lib/orchestrate/test/histories/transformTestCorrectInvalidRequestHistories.js.map +0 -1
  502. package/lib/orchestrate/test/histories/transformTestScenarioHistories.d.ts +0 -10
  503. package/lib/orchestrate/test/histories/transformTestScenarioHistories.js +0 -101
  504. package/lib/orchestrate/test/histories/transformTestScenarioHistories.js.map +0 -1
  505. package/lib/orchestrate/test/histories/transformTestScenarioReviewHistories.d.ts +0 -8
  506. package/lib/orchestrate/test/histories/transformTestScenarioReviewHistories.js +0 -72
  507. package/lib/orchestrate/test/histories/transformTestScenarioReviewHistories.js.map +0 -1
  508. package/lib/orchestrate/test/histories/transformTestWriteHistories.js.map +0 -1
  509. package/lib/utils/TokenUsageComputer.d.ts +0 -5
  510. package/lib/utils/TokenUsageComputer.js +0 -29
  511. package/lib/utils/TokenUsageComputer.js.map +0 -1
  512. package/src/factory/AutoBeFunctionCallingMetricFactory.ts +0 -44
  513. package/src/factory/AutoBeProcessAggregateFactory.ts +0 -141
  514. package/src/orchestrate/common/histories/transformCommonCorrectCastingHistories.ts +0 -25
  515. package/src/orchestrate/interface/histories/transformInterfaceAssetHistories.ts +0 -72
  516. package/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.ts +0 -75
  517. package/src/orchestrate/interface/histories/transformInterfaceComplementHistories.ts +0 -82
  518. package/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.ts +0 -72
  519. package/src/orchestrate/interface/histories/transformInterfaceEndpointsReviewHistories.ts +0 -40
  520. package/src/orchestrate/interface/histories/transformInterfaceOperationHistories.ts +0 -78
  521. package/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.ts +0 -44
  522. package/src/orchestrate/interface/histories/transformInterfacePrerequisitesHistories.ts +0 -118
  523. package/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.ts +0 -80
  524. package/src/orchestrate/interface/histories/transformInterfaceSchemaRenameHistories.ts +0 -55
  525. package/src/orchestrate/interface/histories/transformInterfaceSchemaReviewHistories.ts +0 -90
  526. package/src/orchestrate/interface/orchestrateInterfaceEndpoints.ts +0 -152
  527. package/src/orchestrate/interface/orchestrateInterfaceEndpointsReview.ts +0 -98
  528. package/src/orchestrate/interface/orchestrateInterfaceGroups.ts +0 -91
  529. package/src/orchestrate/interface/orchestrateInterfaceOperationsReview.ts +0 -157
  530. package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointsReviewApplication.ts +0 -65
  531. package/src/orchestrate/interface/structures/IAutoBeInterfacePrerequisitesApplication.ts +0 -58
  532. package/src/orchestrate/prisma/histories/transformPrismaComponentsHistories.ts +0 -104
  533. package/src/orchestrate/prisma/histories/transformPrismaReviewHistories.ts +0 -69
  534. package/src/orchestrate/realize/histories/transformRealizeAuthorization.ts +0 -52
  535. package/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.ts +0 -95
  536. package/src/orchestrate/realize/histories/transformRealizeCorrectCastingHistories.ts +0 -30
  537. package/src/orchestrate/realize/histories/transformRealizeCorrectHistories.ts +0 -46
  538. package/src/orchestrate/realize/orchestrateRealizeAuthorization.ts +0 -185
  539. package/src/orchestrate/test/histories/transformTestCorrectInvalidRequestHistories.ts +0 -39
  540. package/src/orchestrate/test/histories/transformTestScenarioHistories.ts +0 -125
  541. package/src/orchestrate/test/histories/transformTestScenarioReviewHistories.ts +0 -89
  542. package/src/orchestrate/test/histories/transformTestWriteHistories.ts +0 -172
  543. package/src/utils/TokenUsageComputer.ts +0 -35
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orchestrateInterfaceEndpointReview.js","sourceRoot":"","sources":["../../../src/orchestrate/interface/orchestrateInterfaceEndpointReview.ts"],"names":[],"mappings":"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"}
@@ -1,7 +1,6 @@
1
1
  import { AutoBeInterfaceGroupEvent } from "@autobe/interface";
2
2
  import { ILlmSchema } from "@samchon/openapi";
3
3
  import { AutoBeContext } from "../../context/AutoBeContext";
4
- export declare function orchestrateInterfaceGroups<Model extends ILlmSchema.Model>(ctx: AutoBeContext<Model>, props: {
4
+ export declare function orchestrateInterfaceGroup<Model extends ILlmSchema.Model>(ctx: AutoBeContext<Model>, props: {
5
5
  instruction: string;
6
- message?: string;
7
6
  }): Promise<AutoBeInterfaceGroupEvent>;
@@ -0,0 +1,621 @@
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.orchestrateInterfaceGroup = orchestrateInterfaceGroup;
49
+ const __typia_transform__validateReport = __importStar(require("typia/lib/internal/_validateReport.js"));
50
+ const __typia_transform__llmApplicationFinalize = __importStar(require("typia/lib/internal/_llmApplicationFinalize.js"));
51
+ const utils_1 = require("@autobe/utils");
52
+ const typia_1 = __importDefault(require("typia"));
53
+ const uuid_1 = require("uuid");
54
+ const assertSchemaModel_1 = require("../../context/assertSchemaModel");
55
+ const transformInterfaceGroupHistory_1 = require("./histories/transformInterfaceGroupHistory");
56
+ function orchestrateInterfaceGroup(ctx, props) {
57
+ return __awaiter(this, void 0, void 0, function* () {
58
+ var _a, _b;
59
+ const start = new Date();
60
+ const pointer = {
61
+ value: null,
62
+ };
63
+ const prisma = ctx.state().prisma;
64
+ const { metric, tokenUsage } = yield ctx.conversate(Object.assign({ source: SOURCE, controller: createController({
65
+ model: ctx.model,
66
+ build: (next) => {
67
+ pointer.value = next;
68
+ },
69
+ prismaSchemas: new Set(prisma !== null
70
+ ? prisma.result.data.files
71
+ .map((f) => f.models)
72
+ .flat()
73
+ .map((m) => m.name)
74
+ : []),
75
+ }), enforceFunctionCall: true }, (0, transformInterfaceGroupHistory_1.transformInterfaceGroupHistory)({
76
+ state: ctx.state(),
77
+ instruction: props.instruction,
78
+ })));
79
+ if (pointer.value === null)
80
+ throw new Error("Failed to generate endpoint groups."); // unreachable
81
+ return {
82
+ type: SOURCE,
83
+ id: (0, uuid_1.v7)(),
84
+ created_at: start.toISOString(),
85
+ groups: pointer.value.groups,
86
+ metric,
87
+ tokenUsage,
88
+ step: (_b = (_a = ctx.state().analyze) === null || _a === void 0 ? void 0 : _a.step) !== null && _b !== void 0 ? _b : 0,
89
+ };
90
+ });
91
+ }
92
+ function createController(props) {
93
+ (0, assertSchemaModel_1.assertSchemaModel)(props.model);
94
+ const validate = (input) => {
95
+ const result = (() => { const _io0 = input => Array.isArray(input.groups) && (1 <= input.groups.length && input.groups.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "string" === typeof input.name && "string" === typeof input.description && (Array.isArray(input.prismaSchemas) && input.prismaSchemas.every(elem => "string" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.groups) || _report(_exceptionable, {
96
+ path: _path + ".groups",
97
+ expected: "(Array<AutoBeInterfaceGroup> & MinItems<1>)",
98
+ value: input.groups
99
+ })) && ((1 <= input.groups.length || _report(_exceptionable, {
100
+ path: _path + ".groups",
101
+ expected: "Array<> & MinItems<1>",
102
+ value: input.groups
103
+ })) && input.groups.map((elem, _index3) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
104
+ path: _path + ".groups[" + _index3 + "]",
105
+ expected: "AutoBeInterfaceGroup",
106
+ value: elem
107
+ })) && _vo1(elem, _path + ".groups[" + _index3 + "]", true && _exceptionable) || _report(_exceptionable, {
108
+ path: _path + ".groups[" + _index3 + "]",
109
+ expected: "AutoBeInterfaceGroup",
110
+ value: elem
111
+ })).every(flag => flag)) || _report(_exceptionable, {
112
+ path: _path + ".groups",
113
+ expected: "(Array<AutoBeInterfaceGroup> & MinItems<1>)",
114
+ value: input.groups
115
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
116
+ path: _path + ".name",
117
+ expected: "string",
118
+ value: input.name
119
+ }), "string" === typeof input.description || _report(_exceptionable, {
120
+ path: _path + ".description",
121
+ expected: "string",
122
+ value: input.description
123
+ }), (Array.isArray(input.prismaSchemas) || _report(_exceptionable, {
124
+ path: _path + ".prismaSchemas",
125
+ expected: "Array<string>",
126
+ value: input.prismaSchemas
127
+ })) && input.prismaSchemas.map((elem, _index4) => "string" === typeof elem || _report(_exceptionable, {
128
+ path: _path + ".prismaSchemas[" + _index4 + "]",
129
+ expected: "string",
130
+ value: elem
131
+ })).every(flag => flag) || _report(_exceptionable, {
132
+ path: _path + ".prismaSchemas",
133
+ expected: "Array<string>",
134
+ value: input.prismaSchemas
135
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
136
+ if (false === __is(input)) {
137
+ errors = [];
138
+ _report = __typia_transform__validateReport._validateReport(errors);
139
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
140
+ path: _path + "",
141
+ expected: "IAutoBeInterfaceGroupApplication.IProps",
142
+ value: input
143
+ })) && _vo0(input, _path + "", true) || _report(true, {
144
+ path: _path + "",
145
+ expected: "IAutoBeInterfaceGroupApplication.IProps",
146
+ value: input
147
+ }))(input, "$input", true);
148
+ const success = 0 === errors.length;
149
+ return success ? {
150
+ success,
151
+ data: input
152
+ } : {
153
+ success,
154
+ errors,
155
+ data: input
156
+ };
157
+ }
158
+ return {
159
+ success: true,
160
+ data: input
161
+ };
162
+ }; })()(input);
163
+ if (result.success === false)
164
+ return result;
165
+ const errors = [];
166
+ result.data.groups.forEach((group, i) => {
167
+ group.prismaSchemas.forEach((key, j) => {
168
+ if (props.prismaSchemas.has(key) === false)
169
+ errors.push({
170
+ expected: Array.from(props.prismaSchemas)
171
+ .map((s) => JSON.stringify(s))
172
+ .join(" | "),
173
+ value: key,
174
+ path: `groups[${i}].prismaSchemas[${j}]`,
175
+ description: utils_1.StringUtil.trim `
176
+ The Prisma schema "${key}" does not exist in the current project.
177
+
178
+ Make sure to provide only the valid Prisma schema names that are present in your project.
179
+
180
+ Here is the list of available Prisma schemas in the project:
181
+
182
+ ${Array.from(props.prismaSchemas)
183
+ .map((s) => `- ${s}`)
184
+ .join("\n")}
185
+ `,
186
+ });
187
+ });
188
+ });
189
+ return errors.length === 0
190
+ ? result
191
+ : {
192
+ success: false,
193
+ data: result.data,
194
+ errors,
195
+ };
196
+ };
197
+ const application = collection[props.model === "chatgpt"
198
+ ? "chatgpt"
199
+ : props.model === "gemini"
200
+ ? "gemini"
201
+ : "claude"](validate);
202
+ return {
203
+ protocol: "class",
204
+ name: SOURCE,
205
+ application,
206
+ execute: {
207
+ makeGroups: (next) => {
208
+ props.build(next);
209
+ },
210
+ },
211
+ };
212
+ }
213
+ const collection = {
214
+ chatgpt: (validate) => (() => {
215
+ const application = {
216
+ model: "chatgpt",
217
+ options: {
218
+ reference: true,
219
+ strict: false,
220
+ separate: null
221
+ },
222
+ functions: [
223
+ {
224
+ name: "makeGroups",
225
+ parameters: {
226
+ description: " Properties containing the groups to be created for API\norganization\n\n------------------------------\n\nCurrent Type: {@link IAutoBeInterfaceGroupApplication.IProps}",
227
+ type: "object",
228
+ properties: {
229
+ groups: {
230
+ description: "Array of API endpoint groups for organizing development.\n\nDO: Organize groups around existing Prisma schema structure. DO: Provide\ncomplete coverage of all entities and requirements without overlap.\n\n\n@minItems 1",
231
+ type: "array",
232
+ items: {
233
+ $ref: "#/$defs/AutoBeInterfaceGroup"
234
+ }
235
+ }
236
+ },
237
+ required: [
238
+ "groups"
239
+ ],
240
+ additionalProperties: false,
241
+ $defs: {
242
+ AutoBeInterfaceGroup: {
243
+ description: "Interface representing a logical grouping of API endpoints based on Prisma\nschema structure.\n\nThis interface defines organizational units used by the Interface agent to\nmanage API endpoint generation for large-scale projects. Each group\nrepresents a cohesive collection of database entities and their associated\nAPI operations, derived directly from the Prisma schema organization rather\nthan arbitrary business domains.\n\nGroups serve as the foundational organizing principle for:\n\n- Dividing large API specifications into manageable generation cycles\n- Maintaining alignment between API structure and database schema\n- Ensuring complete coverage of all database entities\n- Facilitating modular and scalable API development\n\nThe group structure must strictly follow Prisma schema organization patterns\nsuch as namespaces, file boundaries, or table prefix conventions to ensure\nconsistency between the data model and API design.",
244
+ type: "object",
245
+ properties: {
246
+ name: {
247
+ description: "Name identifier for the API endpoint group.\n\nThis name must be derived from the Prisma schema structure following these\npriorities:\n\n1. Prisma namespace names (e.g., `namespace Shopping` \u2192 \"Shopping\")\n2. Schema file names (e.g., `shopping.prisma` \u2192 \"Shopping\")\n3. Table prefix patterns (e.g., `shopping_*` tables \u2192 \"Shopping\")\n\nNames should use PascalCase format and range from 3-50 characters.\nExamples: \"Shopping\", \"BBS\", \"UserManagement\", \"PaymentProcessing\"",
248
+ type: "string"
249
+ },
250
+ description: {
251
+ description: "Comprehensive description of the API endpoint group's scope and purpose.\n\nThe description must include:\n\n- Schema foundation (namespace, file, or prefix pattern)\n- Specific database entities (table names) covered by this group\n- Functional operations and workflows supported\n- Relationships between entities within the group\n- How requirements map to these schema entities\n\nDescriptions should be 100-2000 characters and focus on concrete schema\nelements rather than abstract business concepts.",
252
+ type: "string"
253
+ },
254
+ prismaSchemas: {
255
+ description: "List of Prisma schema model names required for implementing endpoints in\nthis group.\n\nThis field pre-identifies all database models that are relevant to this\nendpoint group, reducing the cognitive load on the endpoint generation\nagent and enabling more comprehensive endpoint coverage.\n\nThe AI analyzes requirements during group definition phase to determine\nwhich Prisma models are needed for complete API functionality within this\ngroup's domain.\n\nSelection Guidelines:\n\n- Include ALL models that users directly interact with in this domain\n- Include related models needed for complete CRUD operations\n- Include parent/child models for nested endpoint support\n- Include snapshot models if the domain handles versioned data\n- Be thorough - better to include extra models than miss required ones\n\nWhat NOT to Include:\n\n- System-internal tables (audit_logs, system_metrics)\n- Pure cache tables (temporary_cache, session_cache)\n- Framework tables (migrations, schema_versions)",
256
+ type: "array",
257
+ items: {
258
+ type: "string"
259
+ }
260
+ }
261
+ },
262
+ required: [
263
+ "name",
264
+ "description",
265
+ "prismaSchemas"
266
+ ]
267
+ }
268
+ }
269
+ },
270
+ description: "Generate logical groups for organizing API endpoint creation based on\nPrisma schema structure.\n\nDO: Derive groups from Prisma schema organization (namespaces, file\nstructure, table prefixes) rather than arbitrary business domains. DO:\nCreate new groups only when existing schema structure cannot adequately\ncover all requirements.",
271
+ validate: (() => { const _io0 = input => Array.isArray(input.groups) && (1 <= input.groups.length && input.groups.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "string" === typeof input.name && "string" === typeof input.description && (Array.isArray(input.prismaSchemas) && input.prismaSchemas.every(elem => "string" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.groups) || _report(_exceptionable, {
272
+ path: _path + ".groups",
273
+ expected: "(Array<AutoBeInterfaceGroup> & MinItems<1>)",
274
+ value: input.groups
275
+ })) && ((1 <= input.groups.length || _report(_exceptionable, {
276
+ path: _path + ".groups",
277
+ expected: "Array<> & MinItems<1>",
278
+ value: input.groups
279
+ })) && input.groups.map((elem, _index3) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
280
+ path: _path + ".groups[" + _index3 + "]",
281
+ expected: "AutoBeInterfaceGroup",
282
+ value: elem
283
+ })) && _vo1(elem, _path + ".groups[" + _index3 + "]", true && _exceptionable) || _report(_exceptionable, {
284
+ path: _path + ".groups[" + _index3 + "]",
285
+ expected: "AutoBeInterfaceGroup",
286
+ value: elem
287
+ })).every(flag => flag)) || _report(_exceptionable, {
288
+ path: _path + ".groups",
289
+ expected: "(Array<AutoBeInterfaceGroup> & MinItems<1>)",
290
+ value: input.groups
291
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
292
+ path: _path + ".name",
293
+ expected: "string",
294
+ value: input.name
295
+ }), "string" === typeof input.description || _report(_exceptionable, {
296
+ path: _path + ".description",
297
+ expected: "string",
298
+ value: input.description
299
+ }), (Array.isArray(input.prismaSchemas) || _report(_exceptionable, {
300
+ path: _path + ".prismaSchemas",
301
+ expected: "Array<string>",
302
+ value: input.prismaSchemas
303
+ })) && input.prismaSchemas.map((elem, _index4) => "string" === typeof elem || _report(_exceptionable, {
304
+ path: _path + ".prismaSchemas[" + _index4 + "]",
305
+ expected: "string",
306
+ value: elem
307
+ })).every(flag => flag) || _report(_exceptionable, {
308
+ path: _path + ".prismaSchemas",
309
+ expected: "Array<string>",
310
+ value: input.prismaSchemas
311
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
312
+ if (false === __is(input)) {
313
+ errors = [];
314
+ _report = __typia_transform__validateReport._validateReport(errors);
315
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
316
+ path: _path + "",
317
+ expected: "IAutoBeInterfaceGroupApplication.IProps",
318
+ value: input
319
+ })) && _vo0(input, _path + "", true) || _report(true, {
320
+ path: _path + "",
321
+ expected: "IAutoBeInterfaceGroupApplication.IProps",
322
+ value: input
323
+ }))(input, "$input", true);
324
+ const success = 0 === errors.length;
325
+ return success ? {
326
+ success,
327
+ data: input
328
+ } : {
329
+ success,
330
+ errors,
331
+ data: input
332
+ };
333
+ }
334
+ return {
335
+ success: true,
336
+ data: input
337
+ };
338
+ }; })()
339
+ }
340
+ ]
341
+ };
342
+ __typia_transform__llmApplicationFinalize._llmApplicationFinalize(application, Object.assign(Object.assign({}, {
343
+ validate: {
344
+ makeGroups: validate,
345
+ },
346
+ }), { equals: false }));
347
+ return application;
348
+ })(),
349
+ claude: (validate) => (() => {
350
+ const application = {
351
+ model: "claude",
352
+ options: {
353
+ reference: true,
354
+ separate: null
355
+ },
356
+ functions: [
357
+ {
358
+ name: "makeGroups",
359
+ parameters: {
360
+ description: " Properties containing the groups to be created for API\norganization\n\n------------------------------\n\nCurrent Type: {@link IAutoBeInterfaceGroupApplication.IProps}",
361
+ type: "object",
362
+ properties: {
363
+ groups: {
364
+ description: "Array of API endpoint groups for organizing development.\n\nDO: Organize groups around existing Prisma schema structure. DO: Provide\ncomplete coverage of all entities and requirements without overlap.",
365
+ type: "array",
366
+ items: {
367
+ $ref: "#/$defs/AutoBeInterfaceGroup"
368
+ },
369
+ minItems: 1
370
+ }
371
+ },
372
+ required: [
373
+ "groups"
374
+ ],
375
+ additionalProperties: false,
376
+ $defs: {
377
+ AutoBeInterfaceGroup: {
378
+ description: "Interface representing a logical grouping of API endpoints based on Prisma\nschema structure.\n\nThis interface defines organizational units used by the Interface agent to\nmanage API endpoint generation for large-scale projects. Each group\nrepresents a cohesive collection of database entities and their associated\nAPI operations, derived directly from the Prisma schema organization rather\nthan arbitrary business domains.\n\nGroups serve as the foundational organizing principle for:\n\n- Dividing large API specifications into manageable generation cycles\n- Maintaining alignment between API structure and database schema\n- Ensuring complete coverage of all database entities\n- Facilitating modular and scalable API development\n\nThe group structure must strictly follow Prisma schema organization patterns\nsuch as namespaces, file boundaries, or table prefix conventions to ensure\nconsistency between the data model and API design.",
379
+ type: "object",
380
+ properties: {
381
+ name: {
382
+ description: "Name identifier for the API endpoint group.\n\nThis name must be derived from the Prisma schema structure following these\npriorities:\n\n1. Prisma namespace names (e.g., `namespace Shopping` \u2192 \"Shopping\")\n2. Schema file names (e.g., `shopping.prisma` \u2192 \"Shopping\")\n3. Table prefix patterns (e.g., `shopping_*` tables \u2192 \"Shopping\")\n\nNames should use PascalCase format and range from 3-50 characters.\nExamples: \"Shopping\", \"BBS\", \"UserManagement\", \"PaymentProcessing\"",
383
+ type: "string"
384
+ },
385
+ description: {
386
+ description: "Comprehensive description of the API endpoint group's scope and purpose.\n\nThe description must include:\n\n- Schema foundation (namespace, file, or prefix pattern)\n- Specific database entities (table names) covered by this group\n- Functional operations and workflows supported\n- Relationships between entities within the group\n- How requirements map to these schema entities\n\nDescriptions should be 100-2000 characters and focus on concrete schema\nelements rather than abstract business concepts.",
387
+ type: "string"
388
+ },
389
+ prismaSchemas: {
390
+ description: "List of Prisma schema model names required for implementing endpoints in\nthis group.\n\nThis field pre-identifies all database models that are relevant to this\nendpoint group, reducing the cognitive load on the endpoint generation\nagent and enabling more comprehensive endpoint coverage.\n\nThe AI analyzes requirements during group definition phase to determine\nwhich Prisma models are needed for complete API functionality within this\ngroup's domain.\n\nSelection Guidelines:\n\n- Include ALL models that users directly interact with in this domain\n- Include related models needed for complete CRUD operations\n- Include parent/child models for nested endpoint support\n- Include snapshot models if the domain handles versioned data\n- Be thorough - better to include extra models than miss required ones\n\nWhat NOT to Include:\n\n- System-internal tables (audit_logs, system_metrics)\n- Pure cache tables (temporary_cache, session_cache)\n- Framework tables (migrations, schema_versions)",
391
+ type: "array",
392
+ items: {
393
+ type: "string"
394
+ }
395
+ }
396
+ },
397
+ required: [
398
+ "name",
399
+ "description",
400
+ "prismaSchemas"
401
+ ]
402
+ }
403
+ }
404
+ },
405
+ description: "Generate logical groups for organizing API endpoint creation based on\nPrisma schema structure.\n\nDO: Derive groups from Prisma schema organization (namespaces, file\nstructure, table prefixes) rather than arbitrary business domains. DO:\nCreate new groups only when existing schema structure cannot adequately\ncover all requirements.",
406
+ validate: (() => { const _io0 = input => Array.isArray(input.groups) && (1 <= input.groups.length && input.groups.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "string" === typeof input.name && "string" === typeof input.description && (Array.isArray(input.prismaSchemas) && input.prismaSchemas.every(elem => "string" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.groups) || _report(_exceptionable, {
407
+ path: _path + ".groups",
408
+ expected: "(Array<AutoBeInterfaceGroup> & MinItems<1>)",
409
+ value: input.groups
410
+ })) && ((1 <= input.groups.length || _report(_exceptionable, {
411
+ path: _path + ".groups",
412
+ expected: "Array<> & MinItems<1>",
413
+ value: input.groups
414
+ })) && input.groups.map((elem, _index3) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
415
+ path: _path + ".groups[" + _index3 + "]",
416
+ expected: "AutoBeInterfaceGroup",
417
+ value: elem
418
+ })) && _vo1(elem, _path + ".groups[" + _index3 + "]", true && _exceptionable) || _report(_exceptionable, {
419
+ path: _path + ".groups[" + _index3 + "]",
420
+ expected: "AutoBeInterfaceGroup",
421
+ value: elem
422
+ })).every(flag => flag)) || _report(_exceptionable, {
423
+ path: _path + ".groups",
424
+ expected: "(Array<AutoBeInterfaceGroup> & MinItems<1>)",
425
+ value: input.groups
426
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
427
+ path: _path + ".name",
428
+ expected: "string",
429
+ value: input.name
430
+ }), "string" === typeof input.description || _report(_exceptionable, {
431
+ path: _path + ".description",
432
+ expected: "string",
433
+ value: input.description
434
+ }), (Array.isArray(input.prismaSchemas) || _report(_exceptionable, {
435
+ path: _path + ".prismaSchemas",
436
+ expected: "Array<string>",
437
+ value: input.prismaSchemas
438
+ })) && input.prismaSchemas.map((elem, _index4) => "string" === typeof elem || _report(_exceptionable, {
439
+ path: _path + ".prismaSchemas[" + _index4 + "]",
440
+ expected: "string",
441
+ value: elem
442
+ })).every(flag => flag) || _report(_exceptionable, {
443
+ path: _path + ".prismaSchemas",
444
+ expected: "Array<string>",
445
+ value: input.prismaSchemas
446
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
447
+ if (false === __is(input)) {
448
+ errors = [];
449
+ _report = __typia_transform__validateReport._validateReport(errors);
450
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
451
+ path: _path + "",
452
+ expected: "IAutoBeInterfaceGroupApplication.IProps",
453
+ value: input
454
+ })) && _vo0(input, _path + "", true) || _report(true, {
455
+ path: _path + "",
456
+ expected: "IAutoBeInterfaceGroupApplication.IProps",
457
+ value: input
458
+ }))(input, "$input", true);
459
+ const success = 0 === errors.length;
460
+ return success ? {
461
+ success,
462
+ data: input
463
+ } : {
464
+ success,
465
+ errors,
466
+ data: input
467
+ };
468
+ }
469
+ return {
470
+ success: true,
471
+ data: input
472
+ };
473
+ }; })()
474
+ }
475
+ ]
476
+ };
477
+ __typia_transform__llmApplicationFinalize._llmApplicationFinalize(application, Object.assign(Object.assign({}, {
478
+ validate: {
479
+ makeGroups: validate,
480
+ },
481
+ }), { equals: false }));
482
+ return application;
483
+ })(),
484
+ gemini: (validate) => (() => {
485
+ const application = {
486
+ model: "gemini",
487
+ options: {
488
+ reference: true,
489
+ separate: null
490
+ },
491
+ functions: [
492
+ {
493
+ name: "makeGroups",
494
+ parameters: {
495
+ description: " Properties containing the groups to be created for API\norganization\n\n------------------------------\n\nCurrent Type: {@link IAutoBeInterfaceGroupApplication.IProps}",
496
+ type: "object",
497
+ properties: {
498
+ groups: {
499
+ description: "Array of API endpoint groups for organizing development.\n\nDO: Organize groups around existing Prisma schema structure. DO: Provide\ncomplete coverage of all entities and requirements without overlap.",
500
+ type: "array",
501
+ items: {
502
+ $ref: "#/$defs/AutoBeInterfaceGroup"
503
+ },
504
+ minItems: 1
505
+ }
506
+ },
507
+ required: [
508
+ "groups"
509
+ ],
510
+ additionalProperties: false,
511
+ $defs: {
512
+ AutoBeInterfaceGroup: {
513
+ description: "Interface representing a logical grouping of API endpoints based on Prisma\nschema structure.\n\nThis interface defines organizational units used by the Interface agent to\nmanage API endpoint generation for large-scale projects. Each group\nrepresents a cohesive collection of database entities and their associated\nAPI operations, derived directly from the Prisma schema organization rather\nthan arbitrary business domains.\n\nGroups serve as the foundational organizing principle for:\n\n- Dividing large API specifications into manageable generation cycles\n- Maintaining alignment between API structure and database schema\n- Ensuring complete coverage of all database entities\n- Facilitating modular and scalable API development\n\nThe group structure must strictly follow Prisma schema organization patterns\nsuch as namespaces, file boundaries, or table prefix conventions to ensure\nconsistency between the data model and API design.",
514
+ type: "object",
515
+ properties: {
516
+ name: {
517
+ description: "Name identifier for the API endpoint group.\n\nThis name must be derived from the Prisma schema structure following these\npriorities:\n\n1. Prisma namespace names (e.g., `namespace Shopping` \u2192 \"Shopping\")\n2. Schema file names (e.g., `shopping.prisma` \u2192 \"Shopping\")\n3. Table prefix patterns (e.g., `shopping_*` tables \u2192 \"Shopping\")\n\nNames should use PascalCase format and range from 3-50 characters.\nExamples: \"Shopping\", \"BBS\", \"UserManagement\", \"PaymentProcessing\"",
518
+ type: "string"
519
+ },
520
+ description: {
521
+ description: "Comprehensive description of the API endpoint group's scope and purpose.\n\nThe description must include:\n\n- Schema foundation (namespace, file, or prefix pattern)\n- Specific database entities (table names) covered by this group\n- Functional operations and workflows supported\n- Relationships between entities within the group\n- How requirements map to these schema entities\n\nDescriptions should be 100-2000 characters and focus on concrete schema\nelements rather than abstract business concepts.",
522
+ type: "string"
523
+ },
524
+ prismaSchemas: {
525
+ description: "List of Prisma schema model names required for implementing endpoints in\nthis group.\n\nThis field pre-identifies all database models that are relevant to this\nendpoint group, reducing the cognitive load on the endpoint generation\nagent and enabling more comprehensive endpoint coverage.\n\nThe AI analyzes requirements during group definition phase to determine\nwhich Prisma models are needed for complete API functionality within this\ngroup's domain.\n\nSelection Guidelines:\n\n- Include ALL models that users directly interact with in this domain\n- Include related models needed for complete CRUD operations\n- Include parent/child models for nested endpoint support\n- Include snapshot models if the domain handles versioned data\n- Be thorough - better to include extra models than miss required ones\n\nWhat NOT to Include:\n\n- System-internal tables (audit_logs, system_metrics)\n- Pure cache tables (temporary_cache, session_cache)\n- Framework tables (migrations, schema_versions)",
526
+ type: "array",
527
+ items: {
528
+ type: "string"
529
+ }
530
+ }
531
+ },
532
+ required: [
533
+ "name",
534
+ "description",
535
+ "prismaSchemas"
536
+ ]
537
+ }
538
+ }
539
+ },
540
+ description: "Generate logical groups for organizing API endpoint creation based on\nPrisma schema structure.\n\nDO: Derive groups from Prisma schema organization (namespaces, file\nstructure, table prefixes) rather than arbitrary business domains. DO:\nCreate new groups only when existing schema structure cannot adequately\ncover all requirements.",
541
+ validate: (() => { const _io0 = input => Array.isArray(input.groups) && (1 <= input.groups.length && input.groups.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "string" === typeof input.name && "string" === typeof input.description && (Array.isArray(input.prismaSchemas) && input.prismaSchemas.every(elem => "string" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.groups) || _report(_exceptionable, {
542
+ path: _path + ".groups",
543
+ expected: "(Array<AutoBeInterfaceGroup> & MinItems<1>)",
544
+ value: input.groups
545
+ })) && ((1 <= input.groups.length || _report(_exceptionable, {
546
+ path: _path + ".groups",
547
+ expected: "Array<> & MinItems<1>",
548
+ value: input.groups
549
+ })) && input.groups.map((elem, _index3) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
550
+ path: _path + ".groups[" + _index3 + "]",
551
+ expected: "AutoBeInterfaceGroup",
552
+ value: elem
553
+ })) && _vo1(elem, _path + ".groups[" + _index3 + "]", true && _exceptionable) || _report(_exceptionable, {
554
+ path: _path + ".groups[" + _index3 + "]",
555
+ expected: "AutoBeInterfaceGroup",
556
+ value: elem
557
+ })).every(flag => flag)) || _report(_exceptionable, {
558
+ path: _path + ".groups",
559
+ expected: "(Array<AutoBeInterfaceGroup> & MinItems<1>)",
560
+ value: input.groups
561
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
562
+ path: _path + ".name",
563
+ expected: "string",
564
+ value: input.name
565
+ }), "string" === typeof input.description || _report(_exceptionable, {
566
+ path: _path + ".description",
567
+ expected: "string",
568
+ value: input.description
569
+ }), (Array.isArray(input.prismaSchemas) || _report(_exceptionable, {
570
+ path: _path + ".prismaSchemas",
571
+ expected: "Array<string>",
572
+ value: input.prismaSchemas
573
+ })) && input.prismaSchemas.map((elem, _index4) => "string" === typeof elem || _report(_exceptionable, {
574
+ path: _path + ".prismaSchemas[" + _index4 + "]",
575
+ expected: "string",
576
+ value: elem
577
+ })).every(flag => flag) || _report(_exceptionable, {
578
+ path: _path + ".prismaSchemas",
579
+ expected: "Array<string>",
580
+ value: input.prismaSchemas
581
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
582
+ if (false === __is(input)) {
583
+ errors = [];
584
+ _report = __typia_transform__validateReport._validateReport(errors);
585
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
586
+ path: _path + "",
587
+ expected: "IAutoBeInterfaceGroupApplication.IProps",
588
+ value: input
589
+ })) && _vo0(input, _path + "", true) || _report(true, {
590
+ path: _path + "",
591
+ expected: "IAutoBeInterfaceGroupApplication.IProps",
592
+ value: input
593
+ }))(input, "$input", true);
594
+ const success = 0 === errors.length;
595
+ return success ? {
596
+ success,
597
+ data: input
598
+ } : {
599
+ success,
600
+ errors,
601
+ data: input
602
+ };
603
+ }
604
+ return {
605
+ success: true,
606
+ data: input
607
+ };
608
+ }; })()
609
+ }
610
+ ]
611
+ };
612
+ __typia_transform__llmApplicationFinalize._llmApplicationFinalize(application, Object.assign(Object.assign({}, {
613
+ validate: {
614
+ makeGroups: validate,
615
+ },
616
+ }), { equals: false }));
617
+ return application;
618
+ })(),
619
+ };
620
+ const SOURCE = "interfaceGroup";
621
+ //# sourceMappingURL=orchestrateInterfaceGroup.js.map