@autobe/agent 0.30.4 → 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 (210) hide show
  1. package/lib/constants/AutoBeSystemPromptConstant.d.ts +5 -4
  2. package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -1
  3. package/lib/describe/image/orchestrateImageDescribeDraft.js +6 -6
  4. package/lib/describe/image/structures/IAutoBeImageDescribeDraftApplication.d.ts +12 -63
  5. package/lib/index.mjs +2918 -2842
  6. package/lib/index.mjs.map +1 -1
  7. package/lib/orchestrate/analyze/orchestrateAnalyzeExtractDecisions.js +8 -8
  8. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js +36 -37
  9. package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -1
  10. package/lib/orchestrate/analyze/orchestrateAnalyzeScenarioReview.js +7 -7
  11. package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js +55 -42
  12. package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js.map +1 -1
  13. package/lib/orchestrate/analyze/orchestrateAnalyzeSectionReview.js +67 -54
  14. package/lib/orchestrate/analyze/orchestrateAnalyzeSectionReview.js.map +1 -1
  15. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSection.js +24 -25
  16. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSection.js.map +1 -1
  17. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSectionPatch.js +24 -25
  18. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSectionPatch.js.map +1 -1
  19. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteUnit.js +30 -31
  20. package/lib/orchestrate/analyze/orchestrateAnalyzeWriteUnit.js.map +1 -1
  21. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.d.ts +14 -52
  22. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +23 -96
  23. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioReviewApplication.d.ts +12 -40
  24. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeSectionCrossFileReviewApplication.d.ts +30 -88
  25. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeSectionReviewApplication.d.ts +35 -94
  26. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteSectionApplication.d.ts +23 -93
  27. package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteUnitApplication.d.ts +15 -88
  28. package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js +76 -31
  29. package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js.map +1 -1
  30. package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js +7 -7
  31. package/lib/orchestrate/common/structures/IAnalysisSectionEntry.d.ts +2 -8
  32. package/lib/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.d.ts +8 -50
  33. package/lib/orchestrate/common/structures/IAutoBePreliminaryCollection.d.ts +1 -9
  34. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisSections.d.ts +4 -23
  35. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetDatabaseSchemas.d.ts +3 -21
  36. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.d.ts +4 -22
  37. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.d.ts +4 -22
  38. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousAnalysisSections.d.ts +5 -17
  39. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas.d.ts +7 -76
  40. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations.d.ts +6 -89
  41. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceSchemas.d.ts +7 -93
  42. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetRealizeCollectors.d.ts +3 -22
  43. package/lib/orchestrate/common/structures/IAutoBePreliminaryGetRealizeTransformers.d.ts +3 -22
  44. package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js +114 -139
  45. package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js.map +1 -1
  46. package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js +90 -91
  47. package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js.map +1 -1
  48. package/lib/orchestrate/interface/orchestrateInterfaceEndpointWrite.js +58 -59
  49. package/lib/orchestrate/interface/orchestrateInterfaceEndpointWrite.js.map +1 -1
  50. package/lib/orchestrate/interface/orchestrateInterfaceGroup.js +58 -59
  51. package/lib/orchestrate/interface/orchestrateInterfaceGroup.js.map +1 -1
  52. package/lib/orchestrate/interface/orchestrateInterfaceOperation.js +108 -132
  53. package/lib/orchestrate/interface/orchestrateInterfaceOperation.js.map +1 -1
  54. package/lib/orchestrate/interface/orchestrateInterfaceOperationReview.js +72 -72
  55. package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js +76 -77
  56. package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js.map +1 -1
  57. package/lib/orchestrate/interface/orchestrateInterfaceSchemaCasting.js +130 -159
  58. package/lib/orchestrate/interface/orchestrateInterfaceSchemaCasting.js.map +1 -1
  59. package/lib/orchestrate/interface/orchestrateInterfaceSchemaComplement.js +126 -155
  60. package/lib/orchestrate/interface/orchestrateInterfaceSchemaComplement.js.map +1 -1
  61. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js +114 -142
  62. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js.map +1 -1
  63. package/lib/orchestrate/interface/orchestrateInterfaceSchemaRename.js +5 -5
  64. package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js +100 -129
  65. package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js.map +1 -1
  66. package/lib/orchestrate/interface/orchestrateInterfaceSchemaWrite.js +120 -149
  67. package/lib/orchestrate/interface/orchestrateInterfaceSchemaWrite.js.map +1 -1
  68. package/lib/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationApplication.d.ts +10 -97
  69. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.d.ts +14 -83
  70. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointWriteApplication.d.ts +12 -90
  71. package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.d.ts +12 -80
  72. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +21 -116
  73. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.d.ts +24 -112
  74. package/lib/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.d.ts +11 -83
  75. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.d.ts +11 -76
  76. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaCastingApplication.d.ts +18 -96
  77. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaComplementApplication.d.ts +11 -76
  78. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRefineApplication.d.ts +25 -107
  79. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRenameApplication.d.ts +5 -31
  80. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaReviewApplication.d.ts +6 -42
  81. package/lib/orchestrate/prisma/orchestratePrismaAuthorization.js +41 -41
  82. package/lib/orchestrate/prisma/orchestratePrismaAuthorizationReview.js +62 -63
  83. package/lib/orchestrate/prisma/orchestratePrismaAuthorizationReview.js.map +1 -1
  84. package/lib/orchestrate/prisma/orchestratePrismaComponent.js +40 -41
  85. package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -1
  86. package/lib/orchestrate/prisma/orchestratePrismaComponentReview.js +60 -61
  87. package/lib/orchestrate/prisma/orchestratePrismaComponentReview.js.map +1 -1
  88. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js +112 -116
  89. package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -1
  90. package/lib/orchestrate/prisma/orchestratePrismaGroup.js +48 -49
  91. package/lib/orchestrate/prisma/orchestratePrismaGroup.js.map +1 -1
  92. package/lib/orchestrate/prisma/orchestratePrismaGroupReview.js +70 -71
  93. package/lib/orchestrate/prisma/orchestratePrismaGroupReview.js.map +1 -1
  94. package/lib/orchestrate/prisma/orchestratePrismaSchema.js +118 -122
  95. package/lib/orchestrate/prisma/orchestratePrismaSchema.js.map +1 -1
  96. package/lib/orchestrate/prisma/orchestratePrismaSchemaReview.js +126 -131
  97. package/lib/orchestrate/prisma/orchestratePrismaSchemaReview.js.map +1 -1
  98. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationApplication.d.ts +22 -99
  99. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationReviewApplication.d.ts +12 -109
  100. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseComponentApplication.d.ts +14 -100
  101. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseComponentReviewApplication.d.ts +15 -108
  102. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseCorrectApplication.d.ts +24 -106
  103. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseGroupApplication.d.ts +13 -76
  104. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseGroupReviewApplication.d.ts +13 -111
  105. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseSchemaApplication.d.ts +26 -97
  106. package/lib/orchestrate/prisma/structures/IAutoBeDatabaseSchemaReviewApplication.d.ts +16 -93
  107. package/lib/orchestrate/realize/histories/transformRealizeOperationCorrectHistory.js +1 -1
  108. package/lib/orchestrate/realize/histories/transformRealizeOperationCorrectHistory.js.map +1 -1
  109. package/lib/orchestrate/realize/histories/transformRealizeOperationWriteHistory.js +1 -1
  110. package/lib/orchestrate/realize/histories/transformRealizeOperationWriteHistory.js.map +1 -1
  111. package/lib/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.js +20 -2
  112. package/lib/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.js.map +1 -1
  113. package/lib/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.js +22 -2
  114. package/lib/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.js.map +1 -1
  115. package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectCasting.js +7 -7
  116. package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.js +86 -6
  117. package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.js.map +1 -1
  118. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js +38 -38
  119. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationWrite.js +34 -34
  120. package/lib/orchestrate/realize/orchestrateRealizeCollectorCorrectOverall.js +38 -38
  121. package/lib/orchestrate/realize/orchestrateRealizeCollectorPlan.js +54 -54
  122. package/lib/orchestrate/realize/orchestrateRealizeCollectorWrite.js +36 -36
  123. package/lib/orchestrate/realize/orchestrateRealizeOperationCorrectOverall.js +44 -44
  124. package/lib/orchestrate/realize/orchestrateRealizeOperationWrite.js +42 -42
  125. package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.js +1 -0
  126. package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.js.map +1 -1
  127. package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectOverall.js +46 -46
  128. package/lib/orchestrate/realize/orchestrateRealizeTransformerPlan.js +36 -36
  129. package/lib/orchestrate/realize/orchestrateRealizeTransformerWrite.js +44 -44
  130. package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.d.ts +18 -0
  131. package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.js +167 -8
  132. package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.js.map +1 -1
  133. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.d.ts +17 -71
  134. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.d.ts +32 -92
  135. package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorCorrectApplication.d.ts +32 -114
  136. package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorPlanApplication.d.ts +29 -106
  137. package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorWriteApplication.d.ts +38 -131
  138. package/lib/orchestrate/realize/structures/IAutoBeRealizeOperationCorrectApplication.d.ts +16 -71
  139. package/lib/orchestrate/realize/structures/IAutoBeRealizeOperationWriteApplication.d.ts +16 -73
  140. package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerCorrectApplication.d.ts +37 -155
  141. package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerPlanApplication.d.ts +25 -88
  142. package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerWriteApplication.d.ts +48 -181
  143. package/lib/orchestrate/realize/utils/generateTS2339Hints.d.ts +5 -3
  144. package/lib/orchestrate/realize/utils/generateTS2339Hints.js +37 -19
  145. package/lib/orchestrate/realize/utils/generateTS2339Hints.js.map +1 -1
  146. package/lib/orchestrate/test/histories/transformTestOperationWriteHistory.js +2 -2
  147. package/lib/orchestrate/test/orchestrateTestScenario.js +22 -22
  148. package/lib/orchestrate/test/orchestrateTestScenarioReview.js +22 -22
  149. package/package.json +5 -5
  150. package/src/constants/AutoBeSystemPromptConstant.ts +5 -4
  151. package/src/describe/image/structures/IAutoBeImageDescribeDraftApplication.ts +12 -63
  152. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.ts +14 -52
  153. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.ts +23 -96
  154. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioReviewApplication.ts +12 -40
  155. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeSectionCrossFileReviewApplication.ts +30 -88
  156. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeSectionReviewApplication.ts +35 -94
  157. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteSectionApplication.ts +23 -93
  158. package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteUnitApplication.ts +15 -88
  159. package/src/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.ts +92 -31
  160. package/src/orchestrate/common/structures/IAnalysisSectionEntry.ts +2 -8
  161. package/src/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.ts +8 -50
  162. package/src/orchestrate/common/structures/IAutoBePreliminaryCollection.ts +1 -9
  163. package/src/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisSections.ts +4 -23
  164. package/src/orchestrate/common/structures/IAutoBePreliminaryGetDatabaseSchemas.ts +3 -21
  165. package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.ts +4 -22
  166. package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.ts +4 -22
  167. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousAnalysisSections.ts +5 -17
  168. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas.ts +7 -76
  169. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations.ts +6 -89
  170. package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceSchemas.ts +7 -93
  171. package/src/orchestrate/common/structures/IAutoBePreliminaryGetRealizeCollectors.ts +3 -22
  172. package/src/orchestrate/common/structures/IAutoBePreliminaryGetRealizeTransformers.ts +3 -22
  173. package/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationApplication.ts +10 -97
  174. package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.ts +14 -83
  175. package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointWriteApplication.ts +12 -90
  176. package/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.ts +12 -80
  177. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts +21 -116
  178. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.ts +24 -112
  179. package/src/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.ts +11 -83
  180. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.ts +11 -76
  181. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaCastingApplication.ts +18 -96
  182. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaComplementApplication.ts +11 -76
  183. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRefineApplication.ts +25 -107
  184. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRenameApplication.ts +5 -31
  185. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaReviewApplication.ts +6 -42
  186. package/src/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationApplication.ts +22 -99
  187. package/src/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationReviewApplication.ts +12 -109
  188. package/src/orchestrate/prisma/structures/IAutoBeDatabaseComponentApplication.ts +14 -100
  189. package/src/orchestrate/prisma/structures/IAutoBeDatabaseComponentReviewApplication.ts +15 -108
  190. package/src/orchestrate/prisma/structures/IAutoBeDatabaseCorrectApplication.ts +24 -106
  191. package/src/orchestrate/prisma/structures/IAutoBeDatabaseGroupApplication.ts +13 -76
  192. package/src/orchestrate/prisma/structures/IAutoBeDatabaseGroupReviewApplication.ts +13 -111
  193. package/src/orchestrate/prisma/structures/IAutoBeDatabaseSchemaApplication.ts +26 -97
  194. package/src/orchestrate/prisma/structures/IAutoBeDatabaseSchemaReviewApplication.ts +16 -93
  195. package/src/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.ts +21 -1
  196. package/src/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.ts +26 -4
  197. package/src/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.ts +125 -9
  198. package/src/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.ts +1 -0
  199. package/src/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.ts +210 -7
  200. package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.ts +17 -71
  201. package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.ts +32 -92
  202. package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorCorrectApplication.ts +32 -114
  203. package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorPlanApplication.ts +29 -106
  204. package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorWriteApplication.ts +38 -131
  205. package/src/orchestrate/realize/structures/IAutoBeRealizeOperationCorrectApplication.ts +16 -71
  206. package/src/orchestrate/realize/structures/IAutoBeRealizeOperationWriteApplication.ts +16 -73
  207. package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerCorrectApplication.ts +37 -155
  208. package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerPlanApplication.ts +25 -88
  209. package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerWriteApplication.ts +48 -181
  210. package/src/orchestrate/realize/utils/generateTS2339Hints.ts +39 -19
@@ -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>;