@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
@@ -106,7 +106,7 @@ function process(ctx, props) {
106
106
  properties: {
107
107
  thinking: {
108
108
  type: "string",
109
- 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, DTO, Operations) 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 collectable or non-collectable?\n- What database table does it map to (if collectable)?\n- Why is it non-collectable (if applicable)?\n\nThis reflection helps you avoid duplicate requests and premature\ncompletion."
109
+ description: "Think before you act.\n\nFor preliminary requests: what schemas (database, DTO, operations) are\nmissing?\n\nFor completion: is this DTO collectable or non-collectable? What database\ntable does it map to (if collectable)?"
110
110
  },
111
111
  request: {
112
112
  oneOf: [
@@ -136,7 +136,7 @@ function process(ctx, props) {
136
136
  complete: "#/components/schemas/IAutoBeRealizeCollectorPlanApplication.IComplete"
137
137
  }
138
138
  },
139
- description: "Type discriminator for the request.\n\nDetermines which action to perform:\n\n- \"getDatabaseSchemas\": Retrieve database table schemas for DB structure\n- \"getAnalysisSections\": Retrieve analysis sections for context\n- \"getInterfaceOperations\": Retrieve operation specifications\n- \"getInterfaceSchemas\": Retrieve DTO type definitions for API contracts\n- \"complete\": Generate final collector plan\n\nThe preliminary types are removed from the union after their respective\ndata has been provided, physically preventing repeated calls."
139
+ description: "Action to perform. Exhausted preliminary types are removed from the\nunion, physically preventing repeated calls."
140
140
  }
141
141
  },
142
142
  required: [
@@ -149,7 +149,7 @@ function process(ctx, props) {
149
149
  properties: {
150
150
  type: {
151
151
  "const": "getAnalysisSections",
152
- 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."
152
+ description: "Type discriminator."
153
153
  },
154
154
  sectionIds: {
155
155
  type: "array",
@@ -159,21 +159,21 @@ function process(ctx, props) {
159
159
  },
160
160
  minItems: 1,
161
161
  maxItems: 100,
162
- 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."
162
+ description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls."
163
163
  }
164
164
  },
165
165
  required: [
166
166
  "type",
167
167
  "sectionIds"
168
168
  ],
169
- 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."
169
+ description: "Request to retrieve individual analysis sections by numeric ID."
170
170
  },
171
171
  IAutoBePreliminaryGetDatabaseSchemas: {
172
172
  type: "object",
173
173
  properties: {
174
174
  type: {
175
175
  "const": "getDatabaseSchemas",
176
- 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."
176
+ description: "Type discriminator."
177
177
  },
178
178
  schemaNames: {
179
179
  type: "array",
@@ -181,21 +181,21 @@ function process(ctx, props) {
181
181
  type: "string"
182
182
  },
183
183
  minItems: 1,
184
- 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."
184
+ description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls."
185
185
  }
186
186
  },
187
187
  required: [
188
188
  "type",
189
189
  "schemaNames"
190
190
  ],
191
- 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."
191
+ description: "Request to retrieve database schema definitions for context."
192
192
  },
193
193
  IAutoBePreliminaryGetInterfaceOperations: {
194
194
  type: "object",
195
195
  properties: {
196
196
  type: {
197
197
  "const": "getInterfaceOperations",
198
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getInterfaceOperations\" indicates this is a\npreliminary data request for interface operations."
198
+ description: "Type discriminator."
199
199
  },
200
200
  endpoints: {
201
201
  type: "array",
@@ -203,14 +203,14 @@ function process(ctx, props) {
203
203
  $ref: "#/components/schemas/AutoBeOpenApi.IEndpoint"
204
204
  },
205
205
  minItems: 1,
206
- description: "List of existing API operation endpoints to retrieve.\n\nOperations that have been generated in previous phases, containing paths,\nmethods, parameters, and request/response bodies.\n\nCRITICAL: DO NOT request the same endpoints that you have already requested\nin previous calls."
206
+ description: "API operation endpoints to retrieve. DO NOT request same endpoints already\nrequested in previous calls."
207
207
  }
208
208
  },
209
209
  required: [
210
210
  "type",
211
211
  "endpoints"
212
212
  ],
213
- description: "Request to retrieve existing interface operations for context.\n\nThis type is used in the preliminary phase to request already-generated API\noperations for review, validation, or complementary generation tasks."
213
+ description: "Request to retrieve existing interface operations for context."
214
214
  },
215
215
  "AutoBeOpenApi.IEndpoint": {
216
216
  type: "object",
@@ -218,7 +218,7 @@ function process(ctx, props) {
218
218
  path: {
219
219
  type: "string",
220
220
  pattern: "^\\/[a-zA-Z0-9\\/_{}.-]*$",
221
- description: "HTTP path of the API operation.\n\nThe URL path for accessing this API operation, using path parameters\nenclosed in curly braces (e.g., `/shoppings/customers/sales/{saleId}`).\n\nIt must be corresponded to the {@link parameters path parameters}.\n\nThe path structure should clearly indicate which database entity this\noperation is manipulating, helping to ensure all entities have\nappropriate API coverage.\n\nPath validation rules:\n\n- Must start with a forward slash (/)\n- Can contain only: letters (a-z, A-Z), numbers (0-9), forward slashes (/),\n curly braces for parameters ({paramName}), hyphens (-), and underscores\n (_)\n- Parameters must be enclosed in curly braces: {paramName}\n- Resource names should be in camelCase\n- No quotes, spaces, or invalid special characters allowed\n- No domain or role-based prefixes\n\nValid examples:\n\n- \"/users\"\n- \"/users/{userId}\"\n- \"/articles/{articleId}/comments\"\n- \"/attachmentFiles\"\n- \"/orders/{orderId}/items/{itemId}\"\n\nInvalid examples:\n\n- \"'/users'\" (contains quotes)\n- \"/user profile\" (contains space)\n- \"/users/[userId]\" (wrong bracket format)\n- \"/admin/users\" (role prefix)\n- \"/api/v1/users\" (API prefix)"
221
+ description: "HTTP path of the API operation.\n\nMust start with `/`. Parameters use curly braces: `{paramName}`. Resource\nnames in camelCase. No quotes, spaces, role prefixes (`/admin/`), or API\nversion prefixes (`/api/v1/`).\n\nAllowed characters: letters, digits, `/`, `{`, `}`, `-`, `_`, `.`"
222
222
  },
223
223
  method: {
224
224
  oneOf: [
@@ -238,7 +238,7 @@ function process(ctx, props) {
238
238
  "const": "patch"
239
239
  }
240
240
  ],
241
- description: "HTTP method of the API operation.\n\n**IMPORTANT**: Methods must be written in lowercase only (e.g., \"get\",\nnot \"GET\").\n\nNote that, if the API operation has {@link requestBody}, method must not\nbe `get`.\n\nAlso, even though the API operation has been designed to only get\ninformation, but it needs complicated request information, it must be\ndefined as `patch` method with {@link requestBody} data specification.\n\n- `get`: get information\n- `patch`: get information with complicated request data\n ({@link requestBody})\n- `post`: create new record\n- `put`: update existing record\n- `delete`: remove record"
241
+ description: "HTTP method (lowercase only).\n\nUse `patch` (not `get`) when a read operation needs a complex\n{@link requestBody}. `get` cannot have a request body."
242
242
  }
243
243
  },
244
244
  required: [
@@ -252,7 +252,7 @@ function process(ctx, props) {
252
252
  properties: {
253
253
  type: {
254
254
  "const": "getInterfaceSchemas",
255
- 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."
255
+ description: "Type discriminator."
256
256
  },
257
257
  typeNames: {
258
258
  type: "array",
@@ -260,14 +260,14 @@ function process(ctx, props) {
260
260
  type: "string"
261
261
  },
262
262
  minItems: 1,
263
- 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."
263
+ description: "Schema type names to retrieve. DO NOT request same names already requested\nin previous calls."
264
264
  }
265
265
  },
266
266
  required: [
267
267
  "type",
268
268
  "typeNames"
269
269
  ],
270
- 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."
270
+ description: "Request to retrieve OpenAPI schema type definitions for context."
271
271
  },
272
272
  "IAutoBeRealizeCollectorPlanApplication.IComplete": {
273
273
  type: "object",
@@ -281,25 +281,25 @@ function process(ctx, props) {
281
281
  items: {
282
282
  $ref: "#/components/schemas/IAutoBeRealizeCollectorPlanApplication.IPlan"
283
283
  },
284
- 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 collectable, or null if not\n\nUse databaseSchemaName to distinguish:\n\n- Non-null: Collectable DTO, collector will be generated\n- Null: Non-collectable DTO, no collector needed"
284
+ description: "Exactly ONE entry. databaseSchemaName non-null = collectable, null = no\ncollector needed."
285
285
  }
286
286
  },
287
287
  required: [
288
288
  "type",
289
289
  "plans"
290
290
  ],
291
- description: "Request to complete collector planning.\n\nGenerates a plan with exactly ONE entry for the given DTO, indicating\nwhether it is collectable (has database schema name) or non-collectable\n(null)."
291
+ description: "Generates exactly ONE plan entry indicating collectable (has DB schema\nname) or not (null)."
292
292
  },
293
293
  "IAutoBeRealizeCollectorPlanApplication.IPlan": {
294
294
  type: "object",
295
295
  properties: {
296
296
  dtoTypeName: {
297
297
  type: "string",
298
- description: "DTO type name being analyzed.\n\nThe TypeScript interface type from the operation request body.\n\nExample: \"IShoppingSale.ICreate\", \"IShoppingCategory.ICreate\""
298
+ description: "TypeScript interface type from the operation request body (e.g.,\n\"IShoppingSale.ICreate\")."
299
299
  },
300
300
  thinking: {
301
301
  type: "string",
302
- description: "Chain of thought for this DTO's planning decision.\n\nExplains the agent's reasoning:\n\n- For collectable DTOs: Why a collector is needed, which database table it\n maps to\n- For non-collectable DTOs: Why no collector is needed (read-only DTO,\n computed type, etc.)\n\nExample (collectable): \"Collects IShoppingSale.ICreate to shopping_sales\nwith nested category\"\n\nExample (non-collectable): \"IShoppingSale is read-only response DTO, not\nfor creation\""
302
+ description: "Reasoning for this DTO's planning decision.\n\nCollectable: \"Collects IShoppingSale.ICreate to shopping_sales with\nnested category\".\n\nNon-collectable: \"IShoppingSale is read-only response DTO, not for\ncreation\"."
303
303
  },
304
304
  databaseSchemaName: {
305
305
  oneOf: [
@@ -310,14 +310,14 @@ function process(ctx, props) {
310
310
  type: "string"
311
311
  }
312
312
  ],
313
- description: "Database schema name if collectable, null if not.\n\n- **Non-null**: The database table name this DTO maps to. A collector will\n be generated for this DTO.\n- **Null**: This DTO is non-collectable (read-only DTO, computed type). No\n collector will be generated.\n\nExamples:\n\n- (collectable): \"shopping_sales\", \"shopping_categories\"\n- (non-collectable): null"
313
+ description: "Database table name if collectable (e.g., \"shopping_sales\"), null if\nnon-collectable (read-only DTO, computed type)."
314
314
  },
315
315
  references: {
316
316
  type: "array",
317
317
  items: {
318
318
  $ref: "#/components/schemas/AutoBeRealizeCollectorReference"
319
319
  },
320
- description: "Referenced entities from path parameters or auth context.\n\nEach reference contains:\n\n- `databaseSchemaName`: Database table name (e.g., \"shopping_sales\")\n- `source`: Origin of reference\n\n - \"from path parameter {paramName}\"\n - \"from authorized actor\"\n - \"from authorized session\"\n\nSee `AutoBeRealizeCollectorReference` for details.\n\nEmpty array means the Create DTO contains all necessary references."
320
+ description: "Referenced entities from path parameters or auth context.\n\nEach reference contains `databaseSchemaName` and `source` (e.g., \"from\npath parameter {id}\", \"from authorized actor\"). Empty array means the\nCreate DTO contains all necessary references."
321
321
  }
322
322
  },
323
323
  required: [
@@ -326,25 +326,25 @@ function process(ctx, props) {
326
326
  "databaseSchemaName",
327
327
  "references"
328
328
  ],
329
- description: "Plan for a single DTO analysis result.\n\nRecords the planning decision for one DTO from the operation request."
329
+ description: "Planning decision for one DTO."
330
330
  },
331
331
  AutoBeRealizeCollectorReference: {
332
332
  type: "object",
333
333
  properties: {
334
334
  databaseSchemaName: {
335
335
  type: "string",
336
- description: "Prisma schema name (table name) of the referenced entity.\n\nExamples: \"shopping_sales\", \"shopping_customers\", \"bbs_members\""
336
+ description: "Prisma table name (e.g., \"shopping_sales\", \"shopping_customers\")."
337
337
  },
338
338
  source: {
339
339
  type: "string",
340
- description: "Source of this reference, describing where it originates.\n\nPossible formats:\n\n- \"from path parameter {paramName}\" - URL path parameter (e.g., \"from path\n parameter saleId\")\n- \"from authorized actor\" - Logged-in user entity\n- \"from authorized session\" - Current user session entity"
340
+ description: "Source of this reference:\n\n- \"from path parameter {paramName}\" \u2014 URL path parameter\n- \"from authorized actor\" \u2014 logged-in user entity\n- \"from authorized session\" \u2014 current session entity"
341
341
  }
342
342
  },
343
343
  required: [
344
344
  "databaseSchemaName",
345
345
  "source"
346
346
  ],
347
- description: "Reference to an external entity needed by a collector function.\n\nWhen a Create DTO doesn't contain all foreign key references needed to create\nthe Prisma record, those references come from either path parameters or auth\ncontext. This interface tracks both the Prisma schema name and the source of\nthe reference.\n\nThe source field indicates where the reference originates:\n\n- \"from path parameter X\" - Entity identifier from URL path (e.g., saleId)\n- \"from authorized actor\" - Logged-in user entity (customer/seller/member)\n- \"from authorized session\" - Current user session entity\n\nEach reference becomes an `IEntity` parameter in the collector's `collect()`\nfunction signature."
347
+ description: "External entity reference needed by a collector function.\n\nFK references not in the Create DTO come from path parameters or auth\ncontext. Each becomes an `IEntity` parameter in the collector's `collect()`\nsignature."
348
348
  }
349
349
  }
350
350
  },
@@ -362,7 +362,7 @@ function process(ctx, props) {
362
362
  }
363
363
  }
364
364
  ],
365
- description: "Process collector planning task or preliminary data requests.\n\nAnalyzes the given DTO type and generates a plan entry determining whether\na collector is needed. Returns exactly ONE plan entry for the given DTO."
365
+ description: "Analyzes the given DTO type and generates a plan entry determining whether\na collector is needed. Returns exactly ONE plan entry."
366
366
  }
367
367
  ]
368
368
  },
@@ -711,11 +711,11 @@ function createController(props) {
711
711
  type: "object",
712
712
  properties: {
713
713
  thinking: {
714
- 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, DTO, Operations) 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 collectable or non-collectable?\n- What database table does it map to (if collectable)?\n- Why is it non-collectable (if applicable)?\n\nThis reflection helps you avoid duplicate requests and premature\ncompletion.",
714
+ description: "Think before you act.\n\nFor preliminary requests: what schemas (database, DTO, operations) are\nmissing?\n\nFor completion: is this DTO collectable or non-collectable? What database\ntable does it map to (if collectable)?",
715
715
  type: "string"
716
716
  },
717
717
  request: {
718
- description: "Type discriminator for the request.\n\nDetermines which action to perform:\n\n- \"getDatabaseSchemas\": Retrieve database table schemas for DB structure\n- \"getAnalysisSections\": Retrieve analysis sections for context\n- \"getInterfaceOperations\": Retrieve operation specifications\n- \"getInterfaceSchemas\": Retrieve DTO type definitions for API contracts\n- \"complete\": Generate final collector plan\n\nThe preliminary types are removed from the union after their respective\ndata has been provided, physically preventing repeated calls.",
718
+ description: "Action to perform. Exhausted preliminary types are removed from the\nunion, physically preventing repeated calls.",
719
719
  anyOf: [
720
720
  {
721
721
  $ref: "#/$defs/IAutoBePreliminaryGetAnalysisSections"
@@ -752,18 +752,18 @@ function createController(props) {
752
752
  additionalProperties: false,
753
753
  $defs: {
754
754
  IAutoBePreliminaryGetAnalysisSections: {
755
- 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.",
755
+ description: "Request to retrieve individual analysis sections by numeric ID.",
756
756
  type: "object",
757
757
  properties: {
758
758
  type: {
759
- 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.",
759
+ description: "Type discriminator.",
760
760
  type: "string",
761
761
  "enum": [
762
762
  "getAnalysisSections"
763
763
  ]
764
764
  },
765
765
  sectionIds: {
766
- 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.",
766
+ description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls.",
767
767
  type: "array",
768
768
  items: {
769
769
  type: "integer",
@@ -779,18 +779,18 @@ function createController(props) {
779
779
  ]
780
780
  },
781
781
  IAutoBePreliminaryGetDatabaseSchemas: {
782
- 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.",
782
+ description: "Request to retrieve database schema definitions for context.",
783
783
  type: "object",
784
784
  properties: {
785
785
  type: {
786
- 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.",
786
+ description: "Type discriminator.",
787
787
  type: "string",
788
788
  "enum": [
789
789
  "getDatabaseSchemas"
790
790
  ]
791
791
  },
792
792
  schemaNames: {
793
- 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.",
793
+ description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls.",
794
794
  type: "array",
795
795
  items: {
796
796
  type: "string"
@@ -804,18 +804,18 @@ function createController(props) {
804
804
  ]
805
805
  },
806
806
  IAutoBePreliminaryGetInterfaceOperations: {
807
- description: "Request to retrieve existing interface operations for context.\n\nThis type is used in the preliminary phase to request already-generated API\noperations for review, validation, or complementary generation tasks.",
807
+ description: "Request to retrieve existing interface operations for context.",
808
808
  type: "object",
809
809
  properties: {
810
810
  type: {
811
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getInterfaceOperations\" indicates this is a\npreliminary data request for interface operations.",
811
+ description: "Type discriminator.",
812
812
  type: "string",
813
813
  "enum": [
814
814
  "getInterfaceOperations"
815
815
  ]
816
816
  },
817
817
  endpoints: {
818
- description: "List of existing API operation endpoints to retrieve.\n\nOperations that have been generated in previous phases, containing paths,\nmethods, parameters, and request/response bodies.\n\nCRITICAL: DO NOT request the same endpoints that you have already requested\nin previous calls.",
818
+ description: "API operation endpoints to retrieve. DO NOT request same endpoints already\nrequested in previous calls.",
819
819
  type: "array",
820
820
  items: {
821
821
  $ref: "#/$defs/AutoBeOpenApi.IEndpoint"
@@ -833,12 +833,12 @@ function createController(props) {
833
833
  type: "object",
834
834
  properties: {
835
835
  path: {
836
- description: "HTTP path of the API operation.\n\nThe URL path for accessing this API operation, using path parameters\nenclosed in curly braces (e.g., `/shoppings/customers/sales/{saleId}`).\n\nIt must be corresponded to the {@link parameters path parameters}.\n\nThe path structure should clearly indicate which database entity this\noperation is manipulating, helping to ensure all entities have\nappropriate API coverage.\n\nPath validation rules:\n\n- Must start with a forward slash (/)\n- Can contain only: letters (a-z, A-Z), numbers (0-9), forward slashes (/),\n curly braces for parameters ({paramName}), hyphens (-), and underscores\n (_)\n- Parameters must be enclosed in curly braces: {paramName}\n- Resource names should be in camelCase\n- No quotes, spaces, or invalid special characters allowed\n- No domain or role-based prefixes\n\nValid examples:\n\n- \"/users\"\n- \"/users/{userId}\"\n- \"/articles/{articleId}/comments\"\n- \"/attachmentFiles\"\n- \"/orders/{orderId}/items/{itemId}\"\n\nInvalid examples:\n\n- \"'/users'\" (contains quotes)\n- \"/user profile\" (contains space)\n- \"/users/[userId]\" (wrong bracket format)\n- \"/admin/users\" (role prefix)\n- \"/api/v1/users\" (API prefix)",
836
+ description: "HTTP path of the API operation.\n\nMust start with `/`. Parameters use curly braces: `{paramName}`. Resource\nnames in camelCase. No quotes, spaces, role prefixes (`/admin/`), or API\nversion prefixes (`/api/v1/`).\n\nAllowed characters: letters, digits, `/`, `{`, `}`, `-`, `_`, `.`",
837
837
  type: "string",
838
838
  pattern: "^\\/[a-zA-Z0-9\\/_{}.-]*$"
839
839
  },
840
840
  method: {
841
- description: "HTTP method of the API operation.\n\n**IMPORTANT**: Methods must be written in lowercase only (e.g., \"get\",\nnot \"GET\").\n\nNote that, if the API operation has {@link requestBody}, method must not\nbe `get`.\n\nAlso, even though the API operation has been designed to only get\ninformation, but it needs complicated request information, it must be\ndefined as `patch` method with {@link requestBody} data specification.\n\n- `get`: get information\n- `patch`: get information with complicated request data\n ({@link requestBody})\n- `post`: create new record\n- `put`: update existing record\n- `delete`: remove record",
841
+ description: "HTTP method (lowercase only).\n\nUse `patch` (not `get`) when a read operation needs a complex\n{@link requestBody}. `get` cannot have a request body.",
842
842
  type: "string",
843
843
  "enum": [
844
844
  "get",
@@ -855,18 +855,18 @@ function createController(props) {
855
855
  ]
856
856
  },
857
857
  IAutoBePreliminaryGetInterfaceSchemas: {
858
- 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.",
858
+ description: "Request to retrieve OpenAPI schema type definitions for context.",
859
859
  type: "object",
860
860
  properties: {
861
861
  type: {
862
- 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.",
862
+ description: "Type discriminator.",
863
863
  type: "string",
864
864
  "enum": [
865
865
  "getInterfaceSchemas"
866
866
  ]
867
867
  },
868
868
  typeNames: {
869
- 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.",
869
+ description: "Schema type names to retrieve. DO NOT request same names already requested\nin previous calls.",
870
870
  type: "array",
871
871
  items: {
872
872
  type: "string"
@@ -880,7 +880,7 @@ function createController(props) {
880
880
  ]
881
881
  },
882
882
  "IAutoBeRealizeCollectorPlanApplication.IComplete": {
883
- description: "Request to complete collector planning.\n\nGenerates a plan with exactly ONE entry for the given DTO, indicating\nwhether it is collectable (has database schema name) or non-collectable\n(null).",
883
+ description: "Generates exactly ONE plan entry indicating collectable (has DB schema\nname) or not (null).",
884
884
  type: "object",
885
885
  properties: {
886
886
  type: {
@@ -891,7 +891,7 @@ function createController(props) {
891
891
  ]
892
892
  },
893
893
  plans: {
894
- 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 collectable, or null if not\n\nUse databaseSchemaName to distinguish:\n\n- Non-null: Collectable DTO, collector will be generated\n- Null: Non-collectable DTO, no collector needed",
894
+ description: "Exactly ONE entry. databaseSchemaName non-null = collectable, null = no\ncollector needed.",
895
895
  type: "array",
896
896
  items: {
897
897
  $ref: "#/$defs/IAutoBeRealizeCollectorPlanApplication.IPlan"
@@ -904,19 +904,19 @@ function createController(props) {
904
904
  ]
905
905
  },
906
906
  "IAutoBeRealizeCollectorPlanApplication.IPlan": {
907
- description: "Plan for a single DTO analysis result.\n\nRecords the planning decision for one DTO from the operation request.",
907
+ description: "Planning decision for one DTO.",
908
908
  type: "object",
909
909
  properties: {
910
910
  dtoTypeName: {
911
- description: "DTO type name being analyzed.\n\nThe TypeScript interface type from the operation request body.\n\nExample: \"IShoppingSale.ICreate\", \"IShoppingCategory.ICreate\"",
911
+ description: "TypeScript interface type from the operation request body (e.g.,\n\"IShoppingSale.ICreate\").",
912
912
  type: "string"
913
913
  },
914
914
  thinking: {
915
- description: "Chain of thought for this DTO's planning decision.\n\nExplains the agent's reasoning:\n\n- For collectable DTOs: Why a collector is needed, which database table it\n maps to\n- For non-collectable DTOs: Why no collector is needed (read-only DTO,\n computed type, etc.)\n\nExample (collectable): \"Collects IShoppingSale.ICreate to shopping_sales\nwith nested category\"\n\nExample (non-collectable): \"IShoppingSale is read-only response DTO, not\nfor creation\"",
915
+ description: "Reasoning for this DTO's planning decision.\n\nCollectable: \"Collects IShoppingSale.ICreate to shopping_sales with\nnested category\".\n\nNon-collectable: \"IShoppingSale is read-only response DTO, not for\ncreation\".",
916
916
  type: "string"
917
917
  },
918
918
  databaseSchemaName: {
919
- description: "Database schema name if collectable, null if not.\n\n- **Non-null**: The database table name this DTO maps to. A collector will\n be generated for this DTO.\n- **Null**: This DTO is non-collectable (read-only DTO, computed type). No\n collector will be generated.\n\nExamples:\n\n- (collectable): \"shopping_sales\", \"shopping_categories\"\n- (non-collectable): null",
919
+ description: "Database table name if collectable (e.g., \"shopping_sales\"), null if\nnon-collectable (read-only DTO, computed type).",
920
920
  anyOf: [
921
921
  {
922
922
  type: "null"
@@ -927,7 +927,7 @@ function createController(props) {
927
927
  ]
928
928
  },
929
929
  references: {
930
- description: "Referenced entities from path parameters or auth context.\n\nEach reference contains:\n\n- `databaseSchemaName`: Database table name (e.g., \"shopping_sales\")\n- `source`: Origin of reference\n\n - \"from path parameter {paramName}\"\n - \"from authorized actor\"\n - \"from authorized session\"\n\nSee `AutoBeRealizeCollectorReference` for details.\n\nEmpty array means the Create DTO contains all necessary references.",
930
+ description: "Referenced entities from path parameters or auth context.\n\nEach reference contains `databaseSchemaName` and `source` (e.g., \"from\npath parameter {id}\", \"from authorized actor\"). Empty array means the\nCreate DTO contains all necessary references.",
931
931
  type: "array",
932
932
  items: {
933
933
  $ref: "#/$defs/AutoBeRealizeCollectorReference"
@@ -942,15 +942,15 @@ function createController(props) {
942
942
  ]
943
943
  },
944
944
  AutoBeRealizeCollectorReference: {
945
- description: "Reference to an external entity needed by a collector function.\n\nWhen a Create DTO doesn't contain all foreign key references needed to create\nthe Prisma record, those references come from either path parameters or auth\ncontext. This interface tracks both the Prisma schema name and the source of\nthe reference.\n\nThe source field indicates where the reference originates:\n\n- \"from path parameter X\" - Entity identifier from URL path (e.g., saleId)\n- \"from authorized actor\" - Logged-in user entity (customer/seller/member)\n- \"from authorized session\" - Current user session entity\n\nEach reference becomes an `IEntity` parameter in the collector's `collect()`\nfunction signature.",
945
+ description: "External entity reference needed by a collector function.\n\nFK references not in the Create DTO come from path parameters or auth\ncontext. Each becomes an `IEntity` parameter in the collector's `collect()`\nsignature.",
946
946
  type: "object",
947
947
  properties: {
948
948
  databaseSchemaName: {
949
- description: "Prisma schema name (table name) of the referenced entity.\n\nExamples: \"shopping_sales\", \"shopping_customers\", \"bbs_members\"",
949
+ description: "Prisma table name (e.g., \"shopping_sales\", \"shopping_customers\").",
950
950
  type: "string"
951
951
  },
952
952
  source: {
953
- description: "Source of this reference, describing where it originates.\n\nPossible formats:\n\n- \"from path parameter {paramName}\" - URL path parameter (e.g., \"from path\n parameter saleId\")\n- \"from authorized actor\" - Logged-in user entity\n- \"from authorized session\" - Current user session entity",
953
+ description: "Source of this reference:\n\n- \"from path parameter {paramName}\" \u2014 URL path parameter\n- \"from authorized actor\" \u2014 logged-in user entity\n- \"from authorized session\" \u2014 current session entity",
954
954
  type: "string"
955
955
  }
956
956
  },
@@ -961,7 +961,7 @@ function createController(props) {
961
961
  }
962
962
  }
963
963
  },
964
- description: "Process collector planning task or preliminary data requests.\n\nAnalyzes the given DTO type and generates a plan entry determining whether\na collector is needed. Returns exactly ONE plan entry for the given DTO.",
964
+ description: "Analyzes the given DTO type and generates a plan entry determining whether\na collector is needed. Returns exactly ONE plan entry.",
965
965
  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 => "getInterfaceOperations" === input.type && (Array.isArray(input.endpoints) && (1 <= input.endpoints.length && input.endpoints.every(elem => "object" === typeof elem && null !== elem && _io4(elem)))); const _io4 = input => "string" === typeof input.path && RegExp("^\\/[a-zA-Z0-9\\/_{}.-]*$").test(input.path) && ("get" === input.method || "post" === input.method || "put" === input.method || "delete" === input.method || "patch" === input.method); const _io5 = input => "getInterfaceSchemas" === input.type && (Array.isArray(input.typeNames) && (1 <= input.typeNames.length && input.typeNames.every(elem => "string" === typeof elem))); const _io6 = input => "complete" === input.type && (Array.isArray(input.plans) && input.plans.every(elem => "object" === typeof elem && null !== elem && _io7(elem))); const _io7 = input => "string" === typeof input.dtoTypeName && "string" === typeof input.thinking && (null === input.databaseSchemaName || "string" === typeof input.databaseSchemaName) && (Array.isArray(input.references) && input.references.every(elem => "object" === typeof elem && null !== elem && _io8(elem))); const _io8 = input => "string" === typeof input.databaseSchemaName && "string" === typeof input.source; const _iu0 = input => (() => {
966
966
  if ("getAnalysisSections" === input.type)
967
967
  return _io1(input);