@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
@@ -96,7 +96,7 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
96
96
  properties: {
97
97
  thinking: {
98
98
  type: "string",
99
- description: "Think before you act.\n\nBefore requesting preliminary data or completing your task, reflect on\nyour current state and explain your reasoning:\n\nFor preliminary requests (getAnalysisSections, getDatabaseSchemas, etc.):\n\n- What critical information is missing that you don't already have?\n- Why do you need it specifically right now?\n- Be brief - state the gap, don't list everything you have.\n\nFor completion (complete):\n\n- What key assets did you acquire?\n- What did you accomplish?\n- Why is it sufficient to complete?\n- Summarize - don't enumerate every single item.\n\nThis reflection helps you avoid duplicate requests and premature\ncompletion."
99
+ description: "Think before you act.\n\nFor preliminary requests: what critical information is missing and why?\n\nFor completion: what did you acquire, what did you accomplish, why is it\nsufficient? Summarize \u2014 don't enumerate every single item."
100
100
  },
101
101
  request: {
102
102
  oneOf: [
@@ -126,7 +126,7 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
126
126
  complete: "#/components/schemas/IAutoBeRealizeOperationCorrectApplication.IComplete"
127
127
  }
128
128
  },
129
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval\n(getDatabaseSchemas) or final error correction (complete). When\npreliminary returns empty array, that type is removed from the union,\nphysically preventing repeated calls."
129
+ description: "Action to perform. Exhausted preliminary types are removed from the\nunion, physically preventing repeated calls."
130
130
  }
131
131
  },
132
132
  required: [
@@ -139,7 +139,7 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
139
139
  properties: {
140
140
  type: {
141
141
  "const": "getAnalysisSections",
142
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getAnalysisSections\" indicates this is a preliminary\ndata request for individual analysis sections."
142
+ description: "Type discriminator."
143
143
  },
144
144
  sectionIds: {
145
145
  type: "array",
@@ -149,21 +149,21 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
149
149
  },
150
150
  minItems: 1,
151
151
  maxItems: 100,
152
- description: "List of section IDs to retrieve.\n\nThese are sequential integer IDs from the analysis sections catalog. Each\nID maps to a specific ### section in the requirements documents.\n\nCRITICAL: DO NOT request the same section IDs that you have already\nrequested in previous calls."
152
+ description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls."
153
153
  }
154
154
  },
155
155
  required: [
156
156
  "type",
157
157
  "sectionIds"
158
158
  ],
159
- description: "Request to retrieve individual analysis sections by numeric ID.\n\nInstead of loading entire analysis files (~110-120KB each), this loads\nspecific ### sections (~200-600 words each) identified by integer IDs from\nthe section catalog."
159
+ description: "Request to retrieve individual analysis sections by numeric ID."
160
160
  },
161
161
  IAutoBePreliminaryGetDatabaseSchemas: {
162
162
  type: "object",
163
163
  properties: {
164
164
  type: {
165
165
  "const": "getDatabaseSchemas",
166
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getDatabaseSchemas\" indicates this is a preliminary\ndata request for database schemas."
166
+ description: "Type discriminator."
167
167
  },
168
168
  schemaNames: {
169
169
  type: "array",
@@ -171,21 +171,21 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
171
171
  type: "string"
172
172
  },
173
173
  minItems: 1,
174
- description: "List of database table names to retrieve.\n\nTable names from the database schema representing database entities (e.g.,\n\"user\", \"post\", \"comment\").\n\nCRITICAL: DO NOT request the same schema names that you have already\nrequested in previous calls."
174
+ description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls."
175
175
  }
176
176
  },
177
177
  required: [
178
178
  "type",
179
179
  "schemaNames"
180
180
  ],
181
- description: "Request to retrieve database schema definitions for context.\n\nThis type is used in the preliminary phase to request specific database table\nschemas needed for generating type-safe API operations."
181
+ description: "Request to retrieve database schema definitions for context."
182
182
  },
183
183
  IAutoBePreliminaryGetRealizeTransformers: {
184
184
  type: "object",
185
185
  properties: {
186
186
  type: {
187
187
  "const": "getRealizeTransformers",
188
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getRealizeTransformers\" indicates this is a\npreliminary data request for transformer functions."
188
+ description: "Type discriminator."
189
189
  },
190
190
  dtoTypeNames: {
191
191
  type: "array",
@@ -193,21 +193,21 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
193
193
  type: "string"
194
194
  },
195
195
  minItems: 1,
196
- description: "List of transformer DTO type names to retrieve.\n\nDTO type names for response DTOs that have transformer functions (e.g.,\n\"IShoppingSale\", \"IBbsArticle\", \"IShoppingSale.ISummary\").\n\nCRITICAL: DO NOT request the same type names that you have already\nrequested in previous calls."
196
+ description: "Transformer DTO type names to retrieve. DO NOT request same names already\nrequested in previous calls."
197
197
  }
198
198
  },
199
199
  required: [
200
200
  "type",
201
201
  "dtoTypeNames"
202
202
  ],
203
- description: "Request to retrieve Realize Transformer function definitions for context.\n\nThis type is used in the preliminary phase to request specific transformer\nfunctions generated during the REALIZE_TRANSFORMER_WRITE phase. Transformers\nconvert database query results into API response DTOs."
203
+ description: "Request to retrieve Realize Transformer function definitions for context."
204
204
  },
205
205
  IAutoBePreliminaryGetRealizeCollectors: {
206
206
  type: "object",
207
207
  properties: {
208
208
  type: {
209
209
  "const": "getRealizeCollectors",
210
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getRealizeCollectors\" indicates this is a\npreliminary data request for collector functions."
210
+ description: "Type discriminator."
211
211
  },
212
212
  dtoTypeNames: {
213
213
  type: "array",
@@ -215,33 +215,33 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
215
215
  type: "string"
216
216
  },
217
217
  minItems: 1,
218
- description: "List of collector DTO type names to retrieve.\n\nDTO type names for Create DTOs that have collector functions (e.g.,\n\"IShoppingSale.ICreate\", \"IBbsArticle.ICreate\").\n\nCRITICAL: DO NOT request the same type names that you have already\nrequested in previous calls."
218
+ description: "Collector DTO type names to retrieve. DO NOT request same names already\nrequested in previous calls."
219
219
  }
220
220
  },
221
221
  required: [
222
222
  "type",
223
223
  "dtoTypeNames"
224
224
  ],
225
- description: "Request to retrieve Realize Collector function definitions for context.\n\nThis type is used in the preliminary phase to request specific collector\nfunctions generated during the REALIZE_COLLECTOR_WRITE phase. Collectors\ntransform API request DTOs into database CreateInput structures."
225
+ description: "Request to retrieve Realize Collector function definitions for context."
226
226
  },
227
227
  "IAutoBeRealizeOperationCorrectApplication.IComplete": {
228
228
  type: "object",
229
229
  properties: {
230
230
  type: {
231
231
  "const": "complete",
232
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"complete\" indicates this is the final task\nexecution request."
232
+ description: "Type discriminator for completion request."
233
233
  },
234
234
  think: {
235
235
  type: "string",
236
- description: "Initial error analysis and correction strategy.\n\nAnalyzes TypeScript compilation errors to understand:\n\n- Error patterns and root causes\n- Required fixes and their impact\n- Whether quick fixes or deep refactoring is needed\n- Database schema and API contract constraints"
236
+ description: "Error analysis and correction strategy. Understand:\n\n- Error patterns and root causes\n- Required fixes and their impact\n- Whether quick fixes or deep refactoring is needed\n- Database schema and API contract constraints"
237
237
  },
238
238
  draft: {
239
239
  type: "string",
240
- description: "First correction attempt.\n\nImplements the initial fixes identified in the think phase. For simple\nerrors (typos, missing imports), this may be the final solution. Complex\nerrors may require further refinement."
240
+ description: "Corrected implementation applying all fixes from think phase."
241
241
  },
242
242
  revise: {
243
243
  $ref: "#/components/schemas/IAutoBeRealizeOperationCorrectApplication.IReviseProps",
244
- description: "Revision and finalization phase.\n\nReviews the draft corrections and produces the final, error-free code\nthat maintains all business requirements."
244
+ description: "Reviews draft corrections and produces final error-free code."
245
245
  }
246
246
  },
247
247
  required: [
@@ -250,14 +250,14 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
250
250
  "draft",
251
251
  "revise"
252
252
  ],
253
- description: "Request to correct provider implementation errors.\n\nExecutes three-phase error correction to resolve TypeScript compilation\nissues in provider functions. Applies systematic fixes following think \u2192\ndraft \u2192 revise pattern to ensure error-free production code."
253
+ description: "Correct provider compilation errors via think/draft/revise."
254
254
  },
255
255
  "IAutoBeRealizeOperationCorrectApplication.IReviseProps": {
256
256
  type: "object",
257
257
  properties: {
258
258
  review: {
259
259
  type: "string",
260
- description: "Correction review and validation.\n\nAnalyzes the draft corrections to ensure:\n\n- All TypeScript errors are resolved\n- Business logic remains intact\n- AutoBE coding standards are maintained\n- No new errors are introduced\n- Performance and security are preserved"
260
+ description: "Verify corrections:\n\n- All TypeScript errors resolved\n- Business logic remains intact\n- No new errors introduced\n- Performance and security preserved"
261
261
  },
262
262
  final: {
263
263
  oneOf: [
@@ -268,7 +268,7 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
268
268
  type: "string"
269
269
  }
270
270
  ],
271
- description: "Final error-free implementation.\n\nThe complete, corrected code that passes all TypeScript compilation\nchecks.\n\nReturns `null` if the draft corrections are sufficient and need no\nfurther changes."
271
+ description: "Final error-free code with all corrections applied, or null if draft\nneeds no changes."
272
272
  }
273
273
  },
274
274
  required: [
@@ -292,7 +292,7 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
292
292
  }
293
293
  }
294
294
  ],
295
- description: "Process provider correction task or preliminary data requests.\n\nSystematically analyzes and corrects TypeScript compilation errors through\nthree-phase workflow (think \u2192 draft \u2192 revise). Maintains business logic\nintegrity while resolving all compilation issues."
295
+ description: "Process provider correction task or preliminary data requests."
296
296
  }
297
297
  ]
298
298
  },
@@ -549,11 +549,11 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
549
549
  type: "object",
550
550
  properties: {
551
551
  thinking: {
552
- description: "Think before you act.\n\nBefore requesting preliminary data or completing your task, reflect on\nyour current state and explain your reasoning:\n\nFor preliminary requests (getAnalysisSections, getDatabaseSchemas, etc.):\n\n- What critical information is missing that you don't already have?\n- Why do you need it specifically right now?\n- Be brief - state the gap, don't list everything you have.\n\nFor completion (complete):\n\n- What key assets did you acquire?\n- What did you accomplish?\n- Why is it sufficient to complete?\n- Summarize - don't enumerate every single item.\n\nThis reflection helps you avoid duplicate requests and premature\ncompletion.",
552
+ description: "Think before you act.\n\nFor preliminary requests: what critical information is missing and why?\n\nFor completion: what did you acquire, what did you accomplish, why is it\nsufficient? Summarize \u2014 don't enumerate every single item.",
553
553
  type: "string"
554
554
  },
555
555
  request: {
556
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval\n(getDatabaseSchemas) or final error correction (complete). When\npreliminary returns empty array, that type is removed from the union,\nphysically preventing repeated calls.",
556
+ description: "Action to perform. Exhausted preliminary types are removed from the\nunion, physically preventing repeated calls.",
557
557
  anyOf: [
558
558
  {
559
559
  $ref: "#/$defs/IAutoBePreliminaryGetAnalysisSections"
@@ -590,18 +590,18 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
590
590
  additionalProperties: false,
591
591
  $defs: {
592
592
  IAutoBePreliminaryGetAnalysisSections: {
593
- description: "Request to retrieve individual analysis sections by numeric ID.\n\nInstead of loading entire analysis files (~110-120KB each), this loads\nspecific ### sections (~200-600 words each) identified by integer IDs from\nthe section catalog.",
593
+ description: "Request to retrieve individual analysis sections by numeric ID.",
594
594
  type: "object",
595
595
  properties: {
596
596
  type: {
597
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getAnalysisSections\" indicates this is a preliminary\ndata request for individual analysis sections.",
597
+ description: "Type discriminator.",
598
598
  type: "string",
599
599
  "enum": [
600
600
  "getAnalysisSections"
601
601
  ]
602
602
  },
603
603
  sectionIds: {
604
- description: "List of section IDs to retrieve.\n\nThese are sequential integer IDs from the analysis sections catalog. Each\nID maps to a specific ### section in the requirements documents.\n\nCRITICAL: DO NOT request the same section IDs that you have already\nrequested in previous calls.",
604
+ description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls.",
605
605
  type: "array",
606
606
  items: {
607
607
  type: "integer",
@@ -617,18 +617,18 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
617
617
  ]
618
618
  },
619
619
  IAutoBePreliminaryGetDatabaseSchemas: {
620
- description: "Request to retrieve database schema definitions for context.\n\nThis type is used in the preliminary phase to request specific database table\nschemas needed for generating type-safe API operations.",
620
+ description: "Request to retrieve database schema definitions for context.",
621
621
  type: "object",
622
622
  properties: {
623
623
  type: {
624
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getDatabaseSchemas\" indicates this is a preliminary\ndata request for database schemas.",
624
+ description: "Type discriminator.",
625
625
  type: "string",
626
626
  "enum": [
627
627
  "getDatabaseSchemas"
628
628
  ]
629
629
  },
630
630
  schemaNames: {
631
- description: "List of database table names to retrieve.\n\nTable names from the database schema representing database entities (e.g.,\n\"user\", \"post\", \"comment\").\n\nCRITICAL: DO NOT request the same schema names that you have already\nrequested in previous calls.",
631
+ description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls.",
632
632
  type: "array",
633
633
  items: {
634
634
  type: "string"
@@ -642,18 +642,18 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
642
642
  ]
643
643
  },
644
644
  IAutoBePreliminaryGetRealizeTransformers: {
645
- description: "Request to retrieve Realize Transformer function definitions for context.\n\nThis type is used in the preliminary phase to request specific transformer\nfunctions generated during the REALIZE_TRANSFORMER_WRITE phase. Transformers\nconvert database query results into API response DTOs.",
645
+ description: "Request to retrieve Realize Transformer function definitions for context.",
646
646
  type: "object",
647
647
  properties: {
648
648
  type: {
649
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getRealizeTransformers\" indicates this is a\npreliminary data request for transformer functions.",
649
+ description: "Type discriminator.",
650
650
  type: "string",
651
651
  "enum": [
652
652
  "getRealizeTransformers"
653
653
  ]
654
654
  },
655
655
  dtoTypeNames: {
656
- description: "List of transformer DTO type names to retrieve.\n\nDTO type names for response DTOs that have transformer functions (e.g.,\n\"IShoppingSale\", \"IBbsArticle\", \"IShoppingSale.ISummary\").\n\nCRITICAL: DO NOT request the same type names that you have already\nrequested in previous calls.",
656
+ description: "Transformer DTO type names to retrieve. DO NOT request same names already\nrequested in previous calls.",
657
657
  type: "array",
658
658
  items: {
659
659
  type: "string"
@@ -667,18 +667,18 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
667
667
  ]
668
668
  },
669
669
  IAutoBePreliminaryGetRealizeCollectors: {
670
- description: "Request to retrieve Realize Collector function definitions for context.\n\nThis type is used in the preliminary phase to request specific collector\nfunctions generated during the REALIZE_COLLECTOR_WRITE phase. Collectors\ntransform API request DTOs into database CreateInput structures.",
670
+ description: "Request to retrieve Realize Collector function definitions for context.",
671
671
  type: "object",
672
672
  properties: {
673
673
  type: {
674
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getRealizeCollectors\" indicates this is a\npreliminary data request for collector functions.",
674
+ description: "Type discriminator.",
675
675
  type: "string",
676
676
  "enum": [
677
677
  "getRealizeCollectors"
678
678
  ]
679
679
  },
680
680
  dtoTypeNames: {
681
- description: "List of collector DTO type names to retrieve.\n\nDTO type names for Create DTOs that have collector functions (e.g.,\n\"IShoppingSale.ICreate\", \"IBbsArticle.ICreate\").\n\nCRITICAL: DO NOT request the same type names that you have already\nrequested in previous calls.",
681
+ description: "Collector DTO type names to retrieve. DO NOT request same names already\nrequested in previous calls.",
682
682
  type: "array",
683
683
  items: {
684
684
  type: "string"
@@ -692,26 +692,26 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
692
692
  ]
693
693
  },
694
694
  "IAutoBeRealizeOperationCorrectApplication.IComplete": {
695
- description: "Request to correct provider implementation errors.\n\nExecutes three-phase error correction to resolve TypeScript compilation\nissues in provider functions. Applies systematic fixes following think \u2192\ndraft \u2192 revise pattern to ensure error-free production code.",
695
+ description: "Correct provider compilation errors via think/draft/revise.",
696
696
  type: "object",
697
697
  properties: {
698
698
  type: {
699
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"complete\" indicates this is the final task\nexecution request.",
699
+ description: "Type discriminator for completion request.",
700
700
  type: "string",
701
701
  "enum": [
702
702
  "complete"
703
703
  ]
704
704
  },
705
705
  think: {
706
- description: "Initial error analysis and correction strategy.\n\nAnalyzes TypeScript compilation errors to understand:\n\n- Error patterns and root causes\n- Required fixes and their impact\n- Whether quick fixes or deep refactoring is needed\n- Database schema and API contract constraints",
706
+ description: "Error analysis and correction strategy. Understand:\n\n- Error patterns and root causes\n- Required fixes and their impact\n- Whether quick fixes or deep refactoring is needed\n- Database schema and API contract constraints",
707
707
  type: "string"
708
708
  },
709
709
  draft: {
710
- description: "First correction attempt.\n\nImplements the initial fixes identified in the think phase. For simple\nerrors (typos, missing imports), this may be the final solution. Complex\nerrors may require further refinement.",
710
+ description: "Corrected implementation applying all fixes from think phase.",
711
711
  type: "string"
712
712
  },
713
713
  revise: {
714
- description: "Revision and finalization phase.\n\nReviews the draft corrections and produces the final, error-free code\nthat maintains all business requirements.",
714
+ description: "Reviews draft corrections and produces final error-free code.",
715
715
  $ref: "#/$defs/IAutoBeRealizeOperationCorrectApplication.IReviseProps"
716
716
  }
717
717
  },
@@ -726,11 +726,11 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
726
726
  type: "object",
727
727
  properties: {
728
728
  review: {
729
- description: "Correction review and validation.\n\nAnalyzes the draft corrections to ensure:\n\n- All TypeScript errors are resolved\n- Business logic remains intact\n- AutoBE coding standards are maintained\n- No new errors are introduced\n- Performance and security are preserved",
729
+ description: "Verify corrections:\n\n- All TypeScript errors resolved\n- Business logic remains intact\n- No new errors introduced\n- Performance and security preserved",
730
730
  type: "string"
731
731
  },
732
732
  final: {
733
- description: "Final error-free implementation.\n\nThe complete, corrected code that passes all TypeScript compilation\nchecks.\n\nReturns `null` if the draft corrections are sufficient and need no\nfurther changes.",
733
+ description: "Final error-free code with all corrections applied, or null if draft\nneeds no changes.",
734
734
  anyOf: [
735
735
  {
736
736
  type: "null"
@@ -748,7 +748,7 @@ const orchestrateRealizeOperationCorrectOverall = (ctx, props) => __awaiter(void
748
748
  }
749
749
  }
750
750
  },
751
- description: "Process provider correction task or preliminary data requests.\n\nSystematically analyzes and corrects TypeScript compilation errors through\nthree-phase workflow (think \u2192 draft \u2192 revise). Maintains business logic\nintegrity while resolving all compilation issues.",
751
+ description: "Process provider correction task or preliminary data requests.",
752
752
  validate: (() => { const _io0 = input => "string" === typeof input.thinking && ("object" === typeof input.request && null !== input.request && _iu0(input.request)); const _io1 = input => "getAnalysisSections" === input.type && (Array.isArray(input.sectionIds) && (1 <= input.sectionIds.length && input.sectionIds.length <= 100 && input.sectionIds.every(elem => "number" === typeof elem && __typia_transform__isTypeUint32._isTypeUint32(elem)))); const _io2 = input => "getDatabaseSchemas" === input.type && (Array.isArray(input.schemaNames) && (1 <= input.schemaNames.length && input.schemaNames.every(elem => "string" === typeof elem))); const _io3 = input => "getRealizeCollectors" === input.type && (Array.isArray(input.dtoTypeNames) && (1 <= input.dtoTypeNames.length && input.dtoTypeNames.every(elem => "string" === typeof elem))); const _io4 = input => "getRealizeTransformers" === input.type && (Array.isArray(input.dtoTypeNames) && (1 <= input.dtoTypeNames.length && input.dtoTypeNames.every(elem => "string" === typeof elem))); const _io5 = input => "complete" === input.type && "string" === typeof input.think && "string" === typeof input.draft && ("object" === typeof input.revise && null !== input.revise && _io6(input.revise)); const _io6 = input => "string" === typeof input.review && (null === input.final || "string" === typeof input.final); const _iu0 = input => (() => {
753
753
  if ("getAnalysisSections" === input.type)
754
754
  return _io1(input);