@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
@@ -109,7 +109,7 @@ function process(ctx, props) {
109
109
  properties: {
110
110
  thinking: {
111
111
  type: "string",
112
- description: "Think before you act.\n\nBefore requesting preliminary data or completing your plan, reflect on\nyour current state and explain your reasoning:\n\nFor preliminary requests:\n\n- What schemas (database or DTO) are missing that you need?\n- Why do you need them for planning?\n- Be brief - state the gap, don't list everything you have.\n\nFor completion:\n\n- Is this DTO transformable or non-transformable?\n- What database table does it map to (if transformable)?\n- Why is it non-transformable (if applicable)?\n\nThis reflection helps you avoid duplicate requests and premature\ncompletion."
112
+ description: "Think before you act.\n\nFor preliminary requests: what schemas (database or DTO) are missing?\n\nFor completion: is this DTO transformable or non-transformable? What\ndatabase table does it map to (if transformable)?"
113
113
  },
114
114
  request: {
115
115
  oneOf: [
@@ -135,7 +135,7 @@ function process(ctx, props) {
135
135
  complete: "#/components/schemas/IAutoBeRealizeTransformerPlanApplication.IComplete"
136
136
  }
137
137
  },
138
- description: "Type discriminator for the request.\n\nDetermines which action to perform:\n\n- \"getDatabaseSchemas\": Retrieve database table schemas for DB structure\n- \"getInterfaceSchemas\": Retrieve DTO type definitions for API contracts\n- \"complete\": Generate final transformer plan\n\nThe preliminary types are removed from the union after their respective\ndata has been provided, physically preventing repeated calls."
138
+ description: "Action to perform. Exhausted preliminary types are removed from the\nunion, physically preventing repeated calls."
139
139
  }
140
140
  },
141
141
  required: [
@@ -148,7 +148,7 @@ function process(ctx, props) {
148
148
  properties: {
149
149
  type: {
150
150
  "const": "getAnalysisSections",
151
- 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."
151
+ description: "Type discriminator."
152
152
  },
153
153
  sectionIds: {
154
154
  type: "array",
@@ -158,21 +158,21 @@ function process(ctx, props) {
158
158
  },
159
159
  minItems: 1,
160
160
  maxItems: 100,
161
- 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."
161
+ description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls."
162
162
  }
163
163
  },
164
164
  required: [
165
165
  "type",
166
166
  "sectionIds"
167
167
  ],
168
- 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."
168
+ description: "Request to retrieve individual analysis sections by numeric ID."
169
169
  },
170
170
  IAutoBePreliminaryGetDatabaseSchemas: {
171
171
  type: "object",
172
172
  properties: {
173
173
  type: {
174
174
  "const": "getDatabaseSchemas",
175
- 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."
175
+ description: "Type discriminator."
176
176
  },
177
177
  schemaNames: {
178
178
  type: "array",
@@ -180,21 +180,21 @@ function process(ctx, props) {
180
180
  type: "string"
181
181
  },
182
182
  minItems: 1,
183
- 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."
183
+ description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls."
184
184
  }
185
185
  },
186
186
  required: [
187
187
  "type",
188
188
  "schemaNames"
189
189
  ],
190
- 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."
190
+ description: "Request to retrieve database schema definitions for context."
191
191
  },
192
192
  IAutoBePreliminaryGetInterfaceSchemas: {
193
193
  type: "object",
194
194
  properties: {
195
195
  type: {
196
196
  "const": "getInterfaceSchemas",
197
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getInterfaceSchemas\" indicates this is a preliminary\ndata request for interface schemas."
197
+ description: "Type discriminator."
198
198
  },
199
199
  typeNames: {
200
200
  type: "array",
@@ -202,14 +202,14 @@ function process(ctx, props) {
202
202
  type: "string"
203
203
  },
204
204
  minItems: 1,
205
- description: "List of schema type names to retrieve.\n\nSchema names from the OpenAPI components.schemas section (e.g., \"IUser\",\n\"IUser.ICreate\", \"IPost.IUpdate\").\n\nCRITICAL: DO NOT request the same type names that you have already\nrequested in previous calls."
205
+ description: "Schema type names to retrieve. DO NOT request same names already requested\nin previous calls."
206
206
  }
207
207
  },
208
208
  required: [
209
209
  "type",
210
210
  "typeNames"
211
211
  ],
212
- description: "Request to retrieve OpenAPI schema type definitions for context.\n\nThis type is used in the preliminary phase to request specific schema\ndefinitions from components.schemas for review or complementary generation."
212
+ description: "Request to retrieve OpenAPI schema type definitions for context."
213
213
  },
214
214
  "IAutoBeRealizeTransformerPlanApplication.IComplete": {
215
215
  type: "object",
@@ -223,25 +223,25 @@ function process(ctx, props) {
223
223
  items: {
224
224
  $ref: "#/components/schemas/IAutoBeRealizeTransformerPlanApplication.IPlan"
225
225
  },
226
- description: "Plan entry for the given DTO.\n\nMust contain exactly ONE entry with:\n\n- DTO type name matching the given DTO\n- Chain of thought explaining the analysis\n- Database schema name if transformable, or null if not\n\nUse databaseSchemaName to distinguish:\n\n- Non-null: Transformable DTO, transformer will be generated\n- Null: Non-transformable DTO, no transformer needed"
226
+ description: "Exactly ONE entry. databaseSchemaName non-null = transformable, null = no\ntransformer needed."
227
227
  }
228
228
  },
229
229
  required: [
230
230
  "type",
231
231
  "plans"
232
232
  ],
233
- description: "Request to complete transformer planning.\n\nGenerates a plan with exactly ONE entry for the given DTO, indicating\nwhether it is transformable (has database schema name) or non-transformable\n(null)."
233
+ description: "Generates exactly ONE plan entry indicating transformable (has DB schema\nname) or not (null)."
234
234
  },
235
235
  "IAutoBeRealizeTransformerPlanApplication.IPlan": {
236
236
  type: "object",
237
237
  properties: {
238
238
  dtoTypeName: {
239
239
  type: "string",
240
- description: "DTO type name being analyzed.\n\nThe TypeScript interface type from the operation response.\n\nExample: \"IShoppingSaleUnitStock\", \"IShoppingCategory\", \"IPage.IRequest\""
240
+ description: "TypeScript interface type from the operation response (e.g.,\n\"IShoppingSaleUnitStock\")."
241
241
  },
242
242
  thinking: {
243
243
  type: "string",
244
- description: "Chain of thought for this DTO's planning decision.\n\nExplains the agent's reasoning:\n\n- For transformable DTOs: Why a transformer is needed, which database table\n it maps to\n- For non-transformable DTOs: Why no transformer is needed (request param,\n pagination wrapper, business logic, etc.)\n\nExample (transformable): \"Transforms shopping_sales to IShoppingSale with\nnested category and tags\"\n\nExample (non-transformable): \"IPage.IRequest is pagination parameter, not\ndatabase-backed\""
244
+ description: "Reasoning for this DTO's planning decision.\n\nTransformable: \"Transforms shopping_sales to IShoppingSale with nested\ncategory and tags\".\n\nNon-transformable: \"IPage.IRequest is pagination parameter, not\nDB-backed\"."
245
245
  },
246
246
  databaseSchemaName: {
247
247
  oneOf: [
@@ -252,7 +252,7 @@ function process(ctx, props) {
252
252
  type: "string"
253
253
  }
254
254
  ],
255
- description: "Database schema name if transformable, null if not.\n\n- **Non-null**: The database table name this DTO maps to. A transformer\n will be generated for this DTO.\n- **Null**: This DTO is non-transformable (request param, pagination\n wrapper, business logic type). No transformer will be generated.\n\nExample (transformable): \"shopping_sales\", \"shopping_categories\" Example\n(non-transformable): null"
255
+ description: "Database table name if transformable (e.g., \"shopping_sales\"), null if\nnon-transformable (request param, pagination wrapper, business logic)."
256
256
  }
257
257
  },
258
258
  required: [
@@ -260,7 +260,7 @@ function process(ctx, props) {
260
260
  "thinking",
261
261
  "databaseSchemaName"
262
262
  ],
263
- description: "Plan for a single DTO analysis result.\n\nRecords the planning decision for one DTO from the operation response."
263
+ description: "Planning decision for one DTO."
264
264
  }
265
265
  }
266
266
  },
@@ -278,7 +278,7 @@ function process(ctx, props) {
278
278
  }
279
279
  }
280
280
  ],
281
- description: "Process transformer planning task or preliminary data requests.\n\nAnalyzes the given DTO type and generates a plan entry determining whether\na transformer is needed. Returns exactly ONE plan entry for the given DTO."
281
+ description: "Analyzes the given DTO type and generates a plan entry determining whether\na transformer is needed. Returns exactly ONE plan entry."
282
282
  }
283
283
  ]
284
284
  },
@@ -556,11 +556,11 @@ function createController(props) {
556
556
  type: "object",
557
557
  properties: {
558
558
  thinking: {
559
- description: "Think before you act.\n\nBefore requesting preliminary data or completing your plan, reflect on\nyour current state and explain your reasoning:\n\nFor preliminary requests:\n\n- What schemas (database or DTO) are missing that you need?\n- Why do you need them for planning?\n- Be brief - state the gap, don't list everything you have.\n\nFor completion:\n\n- Is this DTO transformable or non-transformable?\n- What database table does it map to (if transformable)?\n- Why is it non-transformable (if applicable)?\n\nThis reflection helps you avoid duplicate requests and premature\ncompletion.",
559
+ description: "Think before you act.\n\nFor preliminary requests: what schemas (database or DTO) are missing?\n\nFor completion: is this DTO transformable or non-transformable? What\ndatabase table does it map to (if transformable)?",
560
560
  type: "string"
561
561
  },
562
562
  request: {
563
- description: "Type discriminator for the request.\n\nDetermines which action to perform:\n\n- \"getDatabaseSchemas\": Retrieve database table schemas for DB structure\n- \"getInterfaceSchemas\": Retrieve DTO type definitions for API contracts\n- \"complete\": Generate final transformer plan\n\nThe preliminary types are removed from the union after their respective\ndata has been provided, physically preventing repeated calls.",
563
+ description: "Action to perform. Exhausted preliminary types are removed from the\nunion, physically preventing repeated calls.",
564
564
  anyOf: [
565
565
  {
566
566
  $ref: "#/$defs/IAutoBePreliminaryGetAnalysisSections"
@@ -593,18 +593,18 @@ function createController(props) {
593
593
  additionalProperties: false,
594
594
  $defs: {
595
595
  IAutoBePreliminaryGetAnalysisSections: {
596
- 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.",
596
+ description: "Request to retrieve individual analysis sections by numeric ID.",
597
597
  type: "object",
598
598
  properties: {
599
599
  type: {
600
- 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.",
600
+ description: "Type discriminator.",
601
601
  type: "string",
602
602
  "enum": [
603
603
  "getAnalysisSections"
604
604
  ]
605
605
  },
606
606
  sectionIds: {
607
- 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.",
607
+ description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls.",
608
608
  type: "array",
609
609
  items: {
610
610
  type: "integer",
@@ -620,18 +620,18 @@ function createController(props) {
620
620
  ]
621
621
  },
622
622
  IAutoBePreliminaryGetDatabaseSchemas: {
623
- 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.",
623
+ description: "Request to retrieve database schema definitions for context.",
624
624
  type: "object",
625
625
  properties: {
626
626
  type: {
627
- 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.",
627
+ description: "Type discriminator.",
628
628
  type: "string",
629
629
  "enum": [
630
630
  "getDatabaseSchemas"
631
631
  ]
632
632
  },
633
633
  schemaNames: {
634
- 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.",
634
+ description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls.",
635
635
  type: "array",
636
636
  items: {
637
637
  type: "string"
@@ -645,18 +645,18 @@ function createController(props) {
645
645
  ]
646
646
  },
647
647
  IAutoBePreliminaryGetInterfaceSchemas: {
648
- description: "Request to retrieve OpenAPI schema type definitions for context.\n\nThis type is used in the preliminary phase to request specific schema\ndefinitions from components.schemas for review or complementary generation.",
648
+ description: "Request to retrieve OpenAPI schema type definitions for context.",
649
649
  type: "object",
650
650
  properties: {
651
651
  type: {
652
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getInterfaceSchemas\" indicates this is a preliminary\ndata request for interface schemas.",
652
+ description: "Type discriminator.",
653
653
  type: "string",
654
654
  "enum": [
655
655
  "getInterfaceSchemas"
656
656
  ]
657
657
  },
658
658
  typeNames: {
659
- description: "List of schema type names to retrieve.\n\nSchema names from the OpenAPI components.schemas section (e.g., \"IUser\",\n\"IUser.ICreate\", \"IPost.IUpdate\").\n\nCRITICAL: DO NOT request the same type names that you have already\nrequested in previous calls.",
659
+ description: "Schema type names to retrieve. DO NOT request same names already requested\nin previous calls.",
660
660
  type: "array",
661
661
  items: {
662
662
  type: "string"
@@ -670,7 +670,7 @@ function createController(props) {
670
670
  ]
671
671
  },
672
672
  "IAutoBeRealizeTransformerPlanApplication.IComplete": {
673
- description: "Request to complete transformer planning.\n\nGenerates a plan with exactly ONE entry for the given DTO, indicating\nwhether it is transformable (has database schema name) or non-transformable\n(null).",
673
+ description: "Generates exactly ONE plan entry indicating transformable (has DB schema\nname) or not (null).",
674
674
  type: "object",
675
675
  properties: {
676
676
  type: {
@@ -681,7 +681,7 @@ function createController(props) {
681
681
  ]
682
682
  },
683
683
  plans: {
684
- description: "Plan entry for the given DTO.\n\nMust contain exactly ONE entry with:\n\n- DTO type name matching the given DTO\n- Chain of thought explaining the analysis\n- Database schema name if transformable, or null if not\n\nUse databaseSchemaName to distinguish:\n\n- Non-null: Transformable DTO, transformer will be generated\n- Null: Non-transformable DTO, no transformer needed",
684
+ description: "Exactly ONE entry. databaseSchemaName non-null = transformable, null = no\ntransformer needed.",
685
685
  type: "array",
686
686
  items: {
687
687
  $ref: "#/$defs/IAutoBeRealizeTransformerPlanApplication.IPlan"
@@ -694,19 +694,19 @@ function createController(props) {
694
694
  ]
695
695
  },
696
696
  "IAutoBeRealizeTransformerPlanApplication.IPlan": {
697
- description: "Plan for a single DTO analysis result.\n\nRecords the planning decision for one DTO from the operation response.",
697
+ description: "Planning decision for one DTO.",
698
698
  type: "object",
699
699
  properties: {
700
700
  dtoTypeName: {
701
- description: "DTO type name being analyzed.\n\nThe TypeScript interface type from the operation response.\n\nExample: \"IShoppingSaleUnitStock\", \"IShoppingCategory\", \"IPage.IRequest\"",
701
+ description: "TypeScript interface type from the operation response (e.g.,\n\"IShoppingSaleUnitStock\").",
702
702
  type: "string"
703
703
  },
704
704
  thinking: {
705
- description: "Chain of thought for this DTO's planning decision.\n\nExplains the agent's reasoning:\n\n- For transformable DTOs: Why a transformer is needed, which database table\n it maps to\n- For non-transformable DTOs: Why no transformer is needed (request param,\n pagination wrapper, business logic, etc.)\n\nExample (transformable): \"Transforms shopping_sales to IShoppingSale with\nnested category and tags\"\n\nExample (non-transformable): \"IPage.IRequest is pagination parameter, not\ndatabase-backed\"",
705
+ description: "Reasoning for this DTO's planning decision.\n\nTransformable: \"Transforms shopping_sales to IShoppingSale with nested\ncategory and tags\".\n\nNon-transformable: \"IPage.IRequest is pagination parameter, not\nDB-backed\".",
706
706
  type: "string"
707
707
  },
708
708
  databaseSchemaName: {
709
- description: "Database schema name if transformable, null if not.\n\n- **Non-null**: The database table name this DTO maps to. A transformer\n will be generated for this DTO.\n- **Null**: This DTO is non-transformable (request param, pagination\n wrapper, business logic type). No transformer will be generated.\n\nExample (transformable): \"shopping_sales\", \"shopping_categories\" Example\n(non-transformable): null",
709
+ description: "Database table name if transformable (e.g., \"shopping_sales\"), null if\nnon-transformable (request param, pagination wrapper, business logic).",
710
710
  anyOf: [
711
711
  {
712
712
  type: "null"
@@ -725,7 +725,7 @@ function createController(props) {
725
725
  }
726
726
  }
727
727
  },
728
- description: "Process transformer planning task or preliminary data requests.\n\nAnalyzes the given DTO type and generates a plan entry determining whether\na transformer is needed. Returns exactly ONE plan entry for the given DTO.",
728
+ description: "Analyzes the given DTO type and generates a plan entry determining whether\na transformer is needed. Returns exactly ONE plan entry.",
729
729
  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 => "getInterfaceSchemas" === input.type && (Array.isArray(input.typeNames) && (1 <= input.typeNames.length && input.typeNames.every(elem => "string" === typeof elem))); const _io4 = input => "complete" === input.type && (Array.isArray(input.plans) && input.plans.every(elem => "object" === typeof elem && null !== elem && _io5(elem))); const _io5 = input => "string" === typeof input.dtoTypeName && "string" === typeof input.thinking && (null === input.databaseSchemaName || "string" === typeof input.databaseSchemaName); const _iu0 = input => (() => {
730
730
  if ("getAnalysisSections" === input.type)
731
731
  return _io1(input);