@autobe/agent 0.30.4-dev.20260324 → 0.30.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/LICENSE +661 -661
  2. package/lib/constants/AutoBeSystemPromptConstant.d.ts +5 -4
  3. package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -1
  4. package/lib/describe/image/orchestrateImageDescribeDraft.js +6 -6
  5. package/lib/describe/image/structures/IAutoBeImageDescribeDraftApplication.d.ts +12 -63
  6. package/lib/index.mjs +2918 -2842
  7. package/lib/index.mjs.map +1 -1
  8. package/lib/orchestrate/analyze/orchestrateAnalyzeExtractDecisions.js +8 -8
  9. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js +36 -37
  10. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -1
  11. package/lib/orchestrate/analyze/orchestrateAnalyzeScenarioReview.js +7 -7
  12. package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js +55 -42
  13. package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js.map +1 -1
  14. package/lib/orchestrate/analyze/orchestrateAnalyzeSectionReview.js +67 -54
  15. package/lib/orchestrate/analyze/orchestrateAnalyzeSectionReview.js.map +1 -1
  16. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSection.js +24 -25
  17. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSection.js.map +1 -1
  18. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSectionPatch.js +24 -25
  19. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSectionPatch.js.map +1 -1
  20. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteUnit.js +30 -31
  21. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteUnit.js.map +1 -1
  22. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.d.ts +14 -52
  23. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +23 -96
  24. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioReviewApplication.d.ts +12 -40
  25. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeSectionCrossFileReviewApplication.d.ts +30 -88
  26. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeSectionReviewApplication.d.ts +35 -94
  27. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteSectionApplication.d.ts +23 -93
  28. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteUnitApplication.d.ts +15 -88
  29. package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js +76 -31
  30. package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js.map +1 -1
  31. package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js +7 -7
  32. package/lib/orchestrate/common/structures/IAnalysisSectionEntry.d.ts +2 -8
  33. package/lib/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.d.ts +8 -50
  34. package/lib/orchestrate/common/structures/IAutoBePreliminaryCollection.d.ts +1 -9
  35. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisSections.d.ts +4 -23
  36. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetDatabaseSchemas.d.ts +3 -21
  37. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.d.ts +4 -22
  38. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.d.ts +4 -22
  39. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousAnalysisSections.d.ts +5 -17
  40. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas.d.ts +7 -76
  41. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations.d.ts +6 -89
  42. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceSchemas.d.ts +7 -93
  43. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetRealizeCollectors.d.ts +3 -22
  44. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetRealizeTransformers.d.ts +3 -22
  45. package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js +114 -139
  46. package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js.map +1 -1
  47. package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js +90 -91
  48. package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js.map +1 -1
  49. package/lib/orchestrate/interface/orchestrateInterfaceEndpointWrite.js +58 -59
  50. package/lib/orchestrate/interface/orchestrateInterfaceEndpointWrite.js.map +1 -1
  51. package/lib/orchestrate/interface/orchestrateInterfaceGroup.js +58 -59
  52. package/lib/orchestrate/interface/orchestrateInterfaceGroup.js.map +1 -1
  53. package/lib/orchestrate/interface/orchestrateInterfaceOperation.js +108 -132
  54. package/lib/orchestrate/interface/orchestrateInterfaceOperation.js.map +1 -1
  55. package/lib/orchestrate/interface/orchestrateInterfaceOperationReview.js +72 -72
  56. package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js +76 -77
  57. package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js.map +1 -1
  58. package/lib/orchestrate/interface/orchestrateInterfaceSchemaCasting.js +130 -159
  59. package/lib/orchestrate/interface/orchestrateInterfaceSchemaCasting.js.map +1 -1
  60. package/lib/orchestrate/interface/orchestrateInterfaceSchemaComplement.js +126 -155
  61. package/lib/orchestrate/interface/orchestrateInterfaceSchemaComplement.js.map +1 -1
  62. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js +114 -142
  63. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js.map +1 -1
  64. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRename.js +5 -5
  65. package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js +100 -129
  66. package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js.map +1 -1
  67. package/lib/orchestrate/interface/orchestrateInterfaceSchemaWrite.js +120 -149
  68. package/lib/orchestrate/interface/orchestrateInterfaceSchemaWrite.js.map +1 -1
  69. package/lib/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationApplication.d.ts +10 -97
  70. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.d.ts +14 -83
  71. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointWriteApplication.d.ts +12 -90
  72. package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.d.ts +12 -80
  73. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +21 -116
  74. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.d.ts +24 -112
  75. package/lib/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.d.ts +11 -83
  76. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.d.ts +11 -76
  77. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaCastingApplication.d.ts +18 -96
  78. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaComplementApplication.d.ts +11 -76
  79. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRefineApplication.d.ts +25 -107
  80. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRenameApplication.d.ts +5 -31
  81. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaReviewApplication.d.ts +6 -42
  82. package/lib/orchestrate/interface/utils/AutoBeJsonSchemaValidator.js +283 -283
  83. package/lib/orchestrate/prisma/orchestratePrismaAuthorization.js +41 -41
  84. package/lib/orchestrate/prisma/orchestratePrismaAuthorizationReview.js +62 -63
  85. package/lib/orchestrate/prisma/orchestratePrismaAuthorizationReview.js.map +1 -1
  86. package/lib/orchestrate/prisma/orchestratePrismaComponent.js +40 -41
  87. package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -1
  88. package/lib/orchestrate/prisma/orchestratePrismaComponentReview.js +60 -61
  89. package/lib/orchestrate/prisma/orchestratePrismaComponentReview.js.map +1 -1
  90. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js +112 -116
  91. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -1
  92. package/lib/orchestrate/prisma/orchestratePrismaGroup.js +48 -49
  93. package/lib/orchestrate/prisma/orchestratePrismaGroup.js.map +1 -1
  94. package/lib/orchestrate/prisma/orchestratePrismaGroupReview.js +70 -71
  95. package/lib/orchestrate/prisma/orchestratePrismaGroupReview.js.map +1 -1
  96. package/lib/orchestrate/prisma/orchestratePrismaSchema.js +118 -122
  97. package/lib/orchestrate/prisma/orchestratePrismaSchema.js.map +1 -1
  98. package/lib/orchestrate/prisma/orchestratePrismaSchemaReview.js +126 -131
  99. package/lib/orchestrate/prisma/orchestratePrismaSchemaReview.js.map +1 -1
  100. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationApplication.d.ts +22 -99
  101. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationReviewApplication.d.ts +12 -109
  102. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseComponentApplication.d.ts +14 -100
  103. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseComponentReviewApplication.d.ts +15 -108
  104. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseCorrectApplication.d.ts +24 -106
  105. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseGroupApplication.d.ts +13 -76
  106. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseGroupReviewApplication.d.ts +13 -111
  107. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseSchemaApplication.d.ts +26 -97
  108. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseSchemaReviewApplication.d.ts +16 -93
  109. package/lib/orchestrate/realize/histories/transformRealizeOperationCorrectHistory.js +1 -1
  110. package/lib/orchestrate/realize/histories/transformRealizeOperationCorrectHistory.js.map +1 -1
  111. package/lib/orchestrate/realize/histories/transformRealizeOperationWriteHistory.js +1 -1
  112. package/lib/orchestrate/realize/histories/transformRealizeOperationWriteHistory.js.map +1 -1
  113. package/lib/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.js +20 -2
  114. package/lib/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.js.map +1 -1
  115. package/lib/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.js +22 -2
  116. package/lib/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.js.map +1 -1
  117. package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectCasting.js +7 -7
  118. package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.js +86 -6
  119. package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.js.map +1 -1
  120. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js +38 -38
  121. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationWrite.js +34 -34
  122. package/lib/orchestrate/realize/orchestrateRealizeCollectorCorrectOverall.js +38 -38
  123. package/lib/orchestrate/realize/orchestrateRealizeCollectorPlan.js +54 -54
  124. package/lib/orchestrate/realize/orchestrateRealizeCollectorWrite.js +36 -36
  125. package/lib/orchestrate/realize/orchestrateRealizeOperationCorrectOverall.js +44 -44
  126. package/lib/orchestrate/realize/orchestrateRealizeOperationWrite.js +42 -42
  127. package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.js +1 -0
  128. package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.js.map +1 -1
  129. package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectOverall.js +46 -46
  130. package/lib/orchestrate/realize/orchestrateRealizeTransformerPlan.js +36 -36
  131. package/lib/orchestrate/realize/orchestrateRealizeTransformerWrite.js +44 -44
  132. package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.d.ts +18 -0
  133. package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.js +167 -8
  134. package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.js.map +1 -1
  135. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.d.ts +17 -71
  136. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.d.ts +32 -92
  137. package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorCorrectApplication.d.ts +32 -114
  138. package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorPlanApplication.d.ts +29 -106
  139. package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorWriteApplication.d.ts +38 -131
  140. package/lib/orchestrate/realize/structures/IAutoBeRealizeOperationCorrectApplication.d.ts +16 -71
  141. package/lib/orchestrate/realize/structures/IAutoBeRealizeOperationWriteApplication.d.ts +16 -73
  142. package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerCorrectApplication.d.ts +37 -155
  143. package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerPlanApplication.d.ts +25 -88
  144. package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerWriteApplication.d.ts +48 -181
  145. package/lib/orchestrate/realize/utils/generateTS2339Hints.d.ts +5 -3
  146. package/lib/orchestrate/realize/utils/generateTS2339Hints.js +37 -19
  147. package/lib/orchestrate/realize/utils/generateTS2339Hints.js.map +1 -1
  148. package/lib/orchestrate/test/histories/transformTestOperationWriteHistory.js +2 -2
  149. package/lib/orchestrate/test/orchestrateTestScenario.js +22 -22
  150. package/lib/orchestrate/test/orchestrateTestScenarioReview.js +22 -22
  151. package/package.json +5 -5
  152. package/src/AutoBeMockAgent.ts +283 -283
  153. package/src/constants/AutoBeSystemPromptConstant.ts +5 -4
  154. package/src/describe/image/structures/IAutoBeImageDescribeDraftApplication.ts +12 -63
  155. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.ts +14 -52
  156. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.ts +23 -96
  157. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioReviewApplication.ts +12 -40
  158. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeSectionCrossFileReviewApplication.ts +30 -88
  159. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeSectionReviewApplication.ts +35 -94
  160. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteSectionApplication.ts +23 -93
  161. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteUnitApplication.ts +15 -88
  162. package/src/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.ts +92 -31
  163. package/src/orchestrate/common/structures/IAnalysisSectionEntry.ts +2 -8
  164. package/src/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.ts +8 -50
  165. package/src/orchestrate/common/structures/IAutoBePreliminaryCollection.ts +1 -9
  166. package/src/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisSections.ts +4 -23
  167. package/src/orchestrate/common/structures/IAutoBePreliminaryGetDatabaseSchemas.ts +3 -21
  168. package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.ts +4 -22
  169. package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.ts +4 -22
  170. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousAnalysisSections.ts +5 -17
  171. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas.ts +7 -76
  172. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations.ts +6 -89
  173. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceSchemas.ts +7 -93
  174. package/src/orchestrate/common/structures/IAutoBePreliminaryGetRealizeCollectors.ts +3 -22
  175. package/src/orchestrate/common/structures/IAutoBePreliminaryGetRealizeTransformers.ts +3 -22
  176. package/src/orchestrate/interface/orchestrateInterfaceSchemaRefine.ts +291 -291
  177. package/src/orchestrate/interface/orchestrateInterfaceSchemaReview.ts +309 -309
  178. package/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationApplication.ts +10 -97
  179. package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.ts +14 -83
  180. package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointWriteApplication.ts +12 -90
  181. package/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.ts +12 -80
  182. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts +21 -116
  183. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.ts +24 -112
  184. package/src/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.ts +11 -83
  185. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.ts +11 -76
  186. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaCastingApplication.ts +18 -96
  187. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaComplementApplication.ts +11 -76
  188. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRefineApplication.ts +25 -107
  189. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRenameApplication.ts +5 -31
  190. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaReviewApplication.ts +6 -42
  191. package/src/orchestrate/interface/utils/AutoBeJsonSchemaValidator.ts +763 -763
  192. package/src/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationApplication.ts +22 -99
  193. package/src/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationReviewApplication.ts +12 -109
  194. package/src/orchestrate/prisma/structures/IAutoBeDatabaseComponentApplication.ts +14 -100
  195. package/src/orchestrate/prisma/structures/IAutoBeDatabaseComponentReviewApplication.ts +15 -108
  196. package/src/orchestrate/prisma/structures/IAutoBeDatabaseCorrectApplication.ts +24 -106
  197. package/src/orchestrate/prisma/structures/IAutoBeDatabaseGroupApplication.ts +13 -76
  198. package/src/orchestrate/prisma/structures/IAutoBeDatabaseGroupReviewApplication.ts +13 -111
  199. package/src/orchestrate/prisma/structures/IAutoBeDatabaseSchemaApplication.ts +26 -97
  200. package/src/orchestrate/prisma/structures/IAutoBeDatabaseSchemaReviewApplication.ts +16 -93
  201. package/src/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.ts +21 -1
  202. package/src/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.ts +26 -4
  203. package/src/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.ts +125 -9
  204. package/src/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.ts +1 -0
  205. package/src/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.ts +210 -7
  206. package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.ts +17 -71
  207. package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.ts +32 -92
  208. package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorCorrectApplication.ts +32 -114
  209. package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorPlanApplication.ts +29 -106
  210. package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorWriteApplication.ts +38 -131
  211. package/src/orchestrate/realize/structures/IAutoBeRealizeOperationCorrectApplication.ts +16 -71
  212. package/src/orchestrate/realize/structures/IAutoBeRealizeOperationWriteApplication.ts +16 -73
  213. package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerCorrectApplication.ts +37 -155
  214. package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerPlanApplication.ts +25 -88
  215. package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerWriteApplication.ts +48 -181
  216. package/src/orchestrate/realize/utils/generateTS2339Hints.ts +39 -19
  217. package/src/orchestrate/test/experimental/orchestrateTestCorrect.ast +237 -237
  218. package/src/orchestrate/test/experimental/orchestrateTestWrite.ast +322 -322
  219. package/src/orchestrate/test/experimental/transformTestCorrectHistories.ast +52 -52
  220. package/src/structures/IAutoBeVendor.ts +127 -127
  221. package/README.md +0 -261
@@ -1,100 +1,17 @@
1
1
  import { AutoBeOpenApi } from "@autobe/interface";
2
2
  import { tags } from "typia";
3
3
  /**
4
- * Request to retrieve interface operations from a previous version.
4
+ * Request to retrieve interface operations from the previous iteration.
5
5
  *
6
- * This type is used to load API operation definitions that were generated in a
7
- * **previous version** of the AutoBE generation pipeline. This is NOT about
8
- * re-requesting operations within the same execution, but rather accessing
9
- * artifacts from an earlier version.
10
- *
11
- * **Use Case:** When regenerating or modifying API operations based on user
12
- * change requests, agents need to reference the previously generated operations
13
- * to understand the existing API design and what needs to be modified.
14
- *
15
- * **Key Difference from `getInterfaceOperations`:**
16
- *
17
- * - `getInterfaceOperations`: Fetches operations from the **current version**
18
- * (the version being generated right now)
19
- * - `getPreviousInterfaceOperations`: Fetches operations from the **previous
20
- * version** (the last successfully generated version)
21
- *
22
- * **Example Scenario:**
23
- *
24
- * Initial generation:
25
- * - INTERFACE phase creates: GET /users, POST /users, GET /users/{id}
26
- * - Generation completes successfully
27
- *
28
- * User: "Change user creation to require email verification"
29
- *
30
- * Regeneration:
31
- * - INTERFACE phase starts regeneration
32
- * - Calls getPreviousInterfaceOperations([{method: "POST", path: "/users"}])
33
- * → Loads the previous version of POST /users operation
34
- * - Creates new version with emailVerification requirement in request body
35
- *
36
- * **Automatic Schema Loading:**
37
- *
38
- * When operations are loaded from the previous version, their associated
39
- * request/response body schemas are also referenced, providing complete context
40
- * for understanding the operation's data structures.
41
- *
42
- * **Waterfall + Spiral Pattern:**
43
- *
44
- * This aligns with AutoBE's regeneration cycles where:
45
- *
46
- * - Compilation failures trigger regeneration with corrections
47
- * - User modifications trigger new versions
48
- * - Previous operations serve as reference for incremental API changes
49
- *
50
- * @author Samchon
6
+ * Loads API operation definitions from the last successfully generated version,
7
+ * used as reference context during regeneration or modification cycles.
51
8
  */
52
9
  export interface IAutoBePreliminaryGetPreviousInterfaceOperations {
53
- /**
54
- * Type discriminator for the request.
55
- *
56
- * Determines which action to perform: preliminary data retrieval or actual
57
- * task execution. Value "getPreviousInterfaceOperations" indicates this is a
58
- * preliminary data request for interface operations from a previous version.
59
- */
10
+ /** Type discriminator. */
60
11
  type: "getPreviousInterfaceOperations";
61
12
  /**
62
- * List of API operation endpoints to retrieve from the previous version.
63
- *
64
- * These are endpoint identifiers (method + path) that were generated in a
65
- * previous version and are needed as reference context for the current
66
- * regeneration.
67
- *
68
- * **Important Notes:**
69
- *
70
- * - These endpoints MUST exist in the previous version
71
- * - This function is only available when a previous version exists
72
- * - Used for reference/comparison, not for re-requesting within same execution
73
- * - Each endpoint is identified by: `{method: "GET|POST|PUT|DELETE|PATCH",
74
- * path: "/api/path"}`
75
- *
76
- * **When This Function is Available:**
77
- *
78
- * - When a previous version exists
79
- * - When user requests modifications to existing API operations
80
- * - During correction/regeneration cycles that need previous operation context
81
- *
82
- * **When This Function is NOT Available:**
83
- *
84
- * - During initial generation (no previous version exists)
85
- * - No previous interface operations available for this orchestration task
86
- *
87
- * **Endpoint Format:**
88
- *
89
- * - Method: HTTP verb in uppercase (e.g., "GET", "POST", "PUT", "DELETE",
90
- * "PATCH")
91
- * - Path: OpenAPI path with parameters (e.g., "/users/{id}", "/posts")
92
- *
93
- * **Example Endpoints:**
94
- *
95
- * - `{method: "GET", path: "/users/{id}"}`
96
- * - `{method: "POST", path: "/shoppings/orders"}`
97
- * - `{method: "PATCH", path: "/bbs/articles"}`
13
+ * Endpoints to retrieve from previous iteration. DO NOT request same
14
+ * endpoints already requested in previous calls.
98
15
  */
99
16
  endpoints: AutoBeOpenApi.IEndpoint[] & tags.MinItems<1>;
100
17
  }
@@ -1,103 +1,17 @@
1
1
  import { tags } from "typia";
2
2
  /**
3
- * Request to retrieve interface schemas from a previous version.
3
+ * Request to retrieve interface schemas from the previous iteration.
4
4
  *
5
- * This type is used to load OpenAPI schema definitions (DTOs from
6
- * components.schemas) that were generated in a **previous version** of the
7
- * AutoBE generation pipeline. This is NOT about re-requesting schemas within
8
- * the same execution, but rather accessing artifacts from an earlier version.
9
- *
10
- * **Use Case:** When regenerating or modifying API schemas based on user change
11
- * requests, agents need to reference the previously generated schemas to
12
- * understand the existing DTO structure and what needs to be modified.
13
- *
14
- * **Key Difference from `getInterfaceSchemas`:**
15
- *
16
- * - `getInterfaceSchemas`: Fetches schemas from the **current version** (the
17
- * version being generated right now)
18
- * - `getPreviousInterfaceSchemas`: Fetches schemas from the **previous version**
19
- * (the last successfully generated version)
20
- *
21
- * **Example Scenario:**
22
- *
23
- * Initial generation:
24
- * - INTERFACE phase creates: IUser, IUser.ICreate, IUser.IUpdate, IPost
25
- * - Generation completes successfully
26
- *
27
- * User: "Add phone number to user profile"
28
- *
29
- * Regeneration:
30
- * - INTERFACE phase starts regeneration
31
- * - Calls getPreviousInterfaceSchemas(["IUser", "IUser.IUpdate"])
32
- * → Loads the previous versions of these schemas
33
- * - Creates new versions with phoneNumber property added
34
- *
35
- * **Automatic Dependency Loading:**
36
- *
37
- * When schemas are loaded from the previous version, their referenced schemas
38
- * (via `$ref`) are also available, providing complete type dependency context
39
- * for understanding the schema structure.
40
- *
41
- * **Schema Type Naming Convention:**
42
- *
43
- * - Entity schemas: `IEntityName` (e.g., "IUser", "IPost", "IShoppingSale")
44
- * - Nested DTOs: `IEntityName.ISubType` (e.g., "IUser.ICreate", "IPost.IUpdate")
45
- * - Response wrappers: `IPage<IEntityName>` (e.g., "IPageIUser", "IPageIPost")
46
- * - Summary types: `IEntityName.ISummary` (e.g., "IBbsArticle.ISummary")
47
- * - Authorized types: `IEntityName.IAuthorized` (e.g., "IUser.IAuthorized")
48
- *
49
- * **Waterfall + Spiral Pattern:**
50
- *
51
- * This aligns with AutoBE's regeneration cycles where:
52
- *
53
- * - Compilation failures trigger regeneration with corrections
54
- * - User modifications trigger new versions
55
- * - Previous schemas serve as reference for incremental DTO changes
56
- *
57
- * @author Samchon
5
+ * Loads OpenAPI schema definitions (DTOs) from the last successfully generated
6
+ * version, used as reference context during regeneration or modification
7
+ * cycles.
58
8
  */
59
9
  export interface IAutoBePreliminaryGetPreviousInterfaceSchemas {
60
- /**
61
- * Type discriminator for the request.
62
- *
63
- * Determines which action to perform: preliminary data retrieval or actual
64
- * task execution. Value "getPreviousInterfaceSchemas" indicates this is a
65
- * preliminary data request for interface schemas from a previous version.
66
- */
10
+ /** Type discriminator. */
67
11
  type: "getPreviousInterfaceSchemas";
68
12
  /**
69
- * List of schema type names to retrieve from the previous version.
70
- *
71
- * These are type names from the OpenAPI components.schemas section that were
72
- * generated in a previous version and are needed as reference context for the
73
- * current regeneration.
74
- *
75
- * **Important Notes:**
76
- *
77
- * - These type names MUST exist in the previous version
78
- * - This function is only available when a previous version exists
79
- * - Used for reference/comparison, not for re-requesting within same execution
80
- * - Type names follow TypeScript interface naming (e.g., "IUser",
81
- * "IUser.ICreate")
82
- *
83
- * **When This Function is Available:**
84
- *
85
- * - When a previous version exists
86
- * - When user requests modifications to existing API schemas
87
- * - During correction/regeneration cycles that need previous schema context
88
- *
89
- * **When This Function is NOT Available:**
90
- *
91
- * - During initial generation (no previous version exists)
92
- * - No previous interface schemas available for this orchestration task
93
- *
94
- * **Type Name Examples:**
95
- *
96
- * - Base entity: "IShoppingSale", "IBbsArticle", "IUser"
97
- * - Create DTO: "IShoppingSale.ICreate", "IBbsArticle.ICreate"
98
- * - Update DTO: "IShoppingSale.IUpdate", "IUser.IUpdate"
99
- * - Paginated: "IPageIShoppingSale", "IPageIBbsArticle"
100
- * - Summary: "IShoppingSale.ISummary", "IBbsArticle.ISummary"
13
+ * Schema type names to retrieve from previous iteration. DO NOT request same
14
+ * names already requested in previous calls.
101
15
  */
102
16
  typeNames: string[] & tags.MinItems<1>;
103
17
  }
@@ -1,29 +1,10 @@
1
1
  import { tags } from "typia";
2
- /**
3
- * Request to retrieve Realize Collector function definitions for context.
4
- *
5
- * This type is used in the preliminary phase to request specific collector
6
- * functions generated during the REALIZE_COLLECTOR_WRITE phase. Collectors
7
- * transform API request DTOs into database CreateInput structures.
8
- *
9
- * @author Samchon
10
- */
2
+ /** Request to retrieve Realize Collector function definitions for context. */
11
3
  export interface IAutoBePreliminaryGetRealizeCollectors {
12
- /**
13
- * Type discriminator for the request.
14
- *
15
- * Determines which action to perform: preliminary data retrieval or actual
16
- * task execution. Value "getRealizeCollectors" indicates this is a
17
- * preliminary data request for collector functions.
18
- */
4
+ /** Type discriminator. */
19
5
  type: "getRealizeCollectors";
20
6
  /**
21
- * List of collector DTO type names to retrieve.
22
- *
23
- * DTO type names for Create DTOs that have collector functions (e.g.,
24
- * "IShoppingSale.ICreate", "IBbsArticle.ICreate").
25
- *
26
- * CRITICAL: DO NOT request the same type names that you have already
7
+ * Collector DTO type names to retrieve. DO NOT request same names already
27
8
  * requested in previous calls.
28
9
  */
29
10
  dtoTypeNames: string[] & tags.MinItems<1>;
@@ -1,29 +1,10 @@
1
1
  import { tags } from "typia";
2
- /**
3
- * Request to retrieve Realize Transformer function definitions for context.
4
- *
5
- * This type is used in the preliminary phase to request specific transformer
6
- * functions generated during the REALIZE_TRANSFORMER_WRITE phase. Transformers
7
- * convert database query results into API response DTOs.
8
- *
9
- * @author Samchon
10
- */
2
+ /** Request to retrieve Realize Transformer function definitions for context. */
11
3
  export interface IAutoBePreliminaryGetRealizeTransformers {
12
- /**
13
- * Type discriminator for the request.
14
- *
15
- * Determines which action to perform: preliminary data retrieval or actual
16
- * task execution. Value "getRealizeTransformers" indicates this is a
17
- * preliminary data request for transformer functions.
18
- */
4
+ /** Type discriminator. */
19
5
  type: "getRealizeTransformers";
20
6
  /**
21
- * List of transformer DTO type names to retrieve.
22
- *
23
- * DTO type names for response DTOs that have transformer functions (e.g.,
24
- * "IShoppingSale", "IBbsArticle", "IShoppingSale.ISummary").
25
- *
26
- * CRITICAL: DO NOT request the same type names that you have already
7
+ * Transformer DTO type names to retrieve. DO NOT request same names already
27
8
  * requested in previous calls.
28
9
  */
29
10
  dtoTypeNames: string[] & tags.MinItems<1>;