@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 task, reflect on\nyour current state and explain your reasoning:\n\nFor preliminary requests (getAnalysisSections,\ngetPreviousAnalysisSections):\n\n- What critical information is missing that you don't already have?\n- Why do you need it specifically right now?\n- Be brief - state the gap, don't list everything you have.\n\nFor completion (complete):\n\n- What key assets did you acquire?\n- What did you accomplish?\n- Why is it sufficient to complete?\n- Summarize - don't enumerate every single item.\n\nThis reflection helps you avoid duplicate requests and premature\ncompletion."
109
+ description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion)."
110
110
  },
111
111
  request: {
112
112
  oneOf: [
@@ -132,7 +132,7 @@ function process(ctx, props) {
132
132
  complete: "#/components/schemas/IAutoBeDatabaseComponentApplication.IComplete"
133
133
  }
134
134
  },
135
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval\n(getAnalysisSections, getPreviousAnalysisSections,\ngetPreviousDatabaseSchemas) or final table design (complete). When\npreliminary returns empty array, that type is removed from the union,\nphysically preventing repeated calls."
135
+ description: "Action to perform. Exhausted preliminary types are removed from the\nunion."
136
136
  }
137
137
  },
138
138
  required: [
@@ -145,7 +145,7 @@ function process(ctx, props) {
145
145
  properties: {
146
146
  type: {
147
147
  "const": "getPreviousAnalysisSections",
148
- description: "Type discriminator for the request.\n\nValue \"getPreviousAnalysisSections\" indicates this is a preliminary data\nrequest for analysis sections from the previous iteration."
148
+ description: "Type discriminator."
149
149
  },
150
150
  sectionIds: {
151
151
  type: "array",
@@ -154,21 +154,21 @@ function process(ctx, props) {
154
154
  minimum: 0
155
155
  },
156
156
  minItems: 1,
157
- description: "List of section IDs to retrieve from the previous iteration.\n\nCRITICAL: DO NOT request the same section IDs that you have already\nrequested in previous calls."
157
+ description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls."
158
158
  }
159
159
  },
160
160
  required: [
161
161
  "type",
162
162
  "sectionIds"
163
163
  ],
164
- description: "Request to retrieve individual analysis sections from previous iteration by\nnumeric ID.\n\nSame as {@link IAutoBePreliminaryGetAnalysisSections} but for sections from\nthe previous generation cycle, enabling comparison and consistency checks."
164
+ description: "Request to retrieve analysis sections from the previous iteration by numeric\nID."
165
165
  },
166
166
  IAutoBePreliminaryGetAnalysisSections: {
167
167
  type: "object",
168
168
  properties: {
169
169
  type: {
170
170
  "const": "getAnalysisSections",
171
- 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."
171
+ description: "Type discriminator."
172
172
  },
173
173
  sectionIds: {
174
174
  type: "array",
@@ -178,21 +178,21 @@ function process(ctx, props) {
178
178
  },
179
179
  minItems: 1,
180
180
  maxItems: 100,
181
- 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."
181
+ description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls."
182
182
  }
183
183
  },
184
184
  required: [
185
185
  "type",
186
186
  "sectionIds"
187
187
  ],
188
- 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."
188
+ description: "Request to retrieve individual analysis sections by numeric ID."
189
189
  },
190
190
  IAutoBePreliminaryGetPreviousDatabaseSchemas: {
191
191
  type: "object",
192
192
  properties: {
193
193
  type: {
194
194
  "const": "getPreviousDatabaseSchemas",
195
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getPreviousDatabaseSchemas\" indicates this is a\npreliminary data request for database schemas from a previous version."
195
+ description: "Type discriminator."
196
196
  },
197
197
  schemaNames: {
198
198
  type: "array",
@@ -200,36 +200,36 @@ function process(ctx, props) {
200
200
  type: "string"
201
201
  },
202
202
  minItems: 1,
203
- description: "List of database table names to retrieve from the previous version.\n\nThese are table schema names that were generated in a previous version and\nare needed as reference context for the current regeneration.\n\n**Important Notes:**\n\n- These schemas MUST exist in the previous version\n- This function is only available when a previous version exists\n- Used for reference/comparison, not for re-requesting within same execution\n- Table names are in snake_case (e.g., \"shopping_sale\", \"bbs_article\")\n\n**When This Function is Available:**\n\n- When a previous version exists\n- When user requests modifications to existing database schema\n- During correction/regeneration cycles that need previous schema context\n\n**When This Function is NOT Available:**\n\n- During initial generation (no previous version exists)\n- No previous database schemas available for this orchestration task\n\n**Example Table Names:**\n\n- \"users\", \"posts\", \"comments\"\n- \"shopping_sales\", \"shopping_orders\", \"shopping_products\"\n- \"bbs_articles\", \"bbs_article_files\""
203
+ description: "Table names to retrieve from previous iteration. DO NOT request same names\nalready requested in previous calls."
204
204
  }
205
205
  },
206
206
  required: [
207
207
  "type",
208
208
  "schemaNames"
209
209
  ],
210
- description: "Request to retrieve database schemas from a previous version.\n\nThis type is used to load database schema definitions that were generated in\na **previous version** of the AutoBE generation pipeline. This is NOT about\nre-requesting schemas within the same execution, but rather accessing\nartifacts from an earlier version.\n\n**Use Case:** When regenerating or modifying the database schema based on\nuser change requests, agents need to reference the previously generated\ndatabase schemas to understand the existing database structure and what needs\nto be modified.\n\n**Key Difference from `getDatabaseSchemas`:**\n\n- `getDatabaseSchemas`: Fetches schemas from the **current version** (the\n version being generated right now)\n- `getPreviousDatabaseSchemas`: Fetches schemas from the **previous version**\n (the last successfully generated version)\n\n**Example Scenario:**\n\n Initial generation:\n - DATABASE phase creates: users, posts, comments tables\n - Generation completes successfully\n\n User: \"Add email verification status to users\"\n\n Regeneration:\n - DATABASE phase starts regeneration\n - Calls getPreviousDatabaseSchemas([\"users\"])\n \u2192 Loads the previous version of users table schema\n - Creates new version with emailVerified field added\n\n**Waterfall + Spiral Pattern:**\n\nThis aligns with AutoBE's regeneration cycles where:\n\n- Compilation failures trigger regeneration with corrections\n- User modifications trigger new versions\n- Previous schemas serve as reference for incremental changes"
210
+ description: "Request to retrieve database schemas from the previous iteration.\n\nLoads database table definitions from the last successfully generated\nversion, used as reference context during regeneration or modification\ncycles."
211
211
  },
212
212
  "IAutoBeDatabaseComponentApplication.IComplete": {
213
213
  type: "object",
214
214
  properties: {
215
215
  type: {
216
216
  "const": "complete",
217
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"complete\" indicates this is the final task\nexecution request."
217
+ description: "Type discriminator for completion request."
218
218
  },
219
219
  analysis: {
220
220
  type: "string",
221
- description: "Analysis of the component's scope and table requirements.\n\nDocuments the agent's understanding of this component's domain:\n\n- What is the component's business purpose (from the skeleton)?\n- What entities from the requirements belong to this component?\n- What relationships exist between these entities?\n- What normalization patterns were identified?"
221
+ description: "Analysis of the component's scope, entities, relationships, and table\nrequirements."
222
222
  },
223
223
  rationale: {
224
224
  type: "string",
225
- description: "Rationale for the table design decisions.\n\nExplains why tables were designed this way:\n\n- Why was each table created?\n- Why were certain entities kept separate vs combined?\n- What normalization principles were applied?\n- How do the tables fulfill the component's rationale?"
225
+ description: "Rationale for table design decisions and normalization choices."
226
226
  },
227
227
  tables: {
228
228
  type: "array",
229
229
  items: {
230
230
  $ref: "#/components/schemas/AutoBeDatabaseComponentTableDesign"
231
231
  },
232
- description: "Array of table designs for THIS SINGLE component.\n\nContains all database tables that belong to the component skeleton\nreceived as input. Each table design includes table name (snake_case,\nplural) and description explaining the table's purpose and contents.\n\nThe AI agent must design tables based on:\n\n- The component's namespace and intended domain (from skeleton)\n- Business requirements from analysis sections\n- Previous database schemas for consistency\n- Normalization principles (3NF)\n- Relationship integrity\n\nCRITICAL CONSTRAINTS:\n\n- The namespace and filename are ALREADY DETERMINED by the component\n skeleton\n- Do NOT create multiple components or reorganize component boundaries\n- Do NOT include thinking, review, decision, or rationale - those are\n already in the skeleton\n- ALL tables generated here belong to THE SINGLE component skeleton\n provided\n- ONLY provide the tables array - nothing else"
232
+ description: "Table designs for this single component (snake_case, plural names).\n\nNamespace and filename are already determined by the skeleton. All tables\nmust belong to this component only."
233
233
  }
234
234
  },
235
235
  required: [
@@ -238,26 +238,26 @@ function process(ctx, props) {
238
238
  "rationale",
239
239
  "tables"
240
240
  ],
241
- description: "Request to complete the database component by filling in table designs.\n\nTakes a component skeleton (namespace, filename already determined by\nDATABASE_GROUP phase) and fills in the tables field by designing all\nnecessary database tables for this single component.\n\nThis is NOT about creating multiple components - the component identity is\nalready fixed. This is ONLY about designing the tables that belong to this\nsingle component."
241
+ description: "Complete the database component by filling in table designs for the given\nskeleton."
242
242
  },
243
243
  AutoBeDatabaseComponentTableDesign: {
244
244
  type: "object",
245
245
  properties: {
246
246
  description: {
247
247
  type: "string",
248
- description: "Brief, concise description of what this table stores and why it's needed.\n\nShould explain:\n\n- What business concept this table represents\n- What data it stores\n- Why this table is necessary for the component's domain\n\n**IMPORTANT**:\n\n- Keep it **concise** - one or two sentences maximum\n- Description must be written in English"
248
+ description: "Business purpose of this table. One or two sentences maximum. MUST be\nwritten in English."
249
249
  },
250
250
  name: {
251
251
  type: "string",
252
252
  pattern: "^[a-z][a-z0-9_]*$",
253
- description: "Name of the database table.\n\nMust follow snake_case naming convention with appropriate domain prefix.\nExamples: `shopping_customers`, `bbs_articles`, `order_items`"
253
+ description: "Table name in snake_case with domain prefix (e.g., \"shopping_customers\")."
254
254
  }
255
255
  },
256
256
  required: [
257
257
  "description",
258
258
  "name"
259
259
  ],
260
- description: "Table design with name and description.\n\nRepresents a single table identified during the component extraction phase,\npairing the table name with a description of its purpose. This type\nformalizes the table design structure for database schema generation.\n\nThe description provides business context that helps:\n\n- Review agents validate that the table fulfills actual requirements\n- Schema generation create appropriate models with proper documentation\n- Future developers understand the table's role in the system"
260
+ description: "Table design with name and description."
261
261
  }
262
262
  }
263
263
  },
@@ -268,14 +268,13 @@ function process(ctx, props) {
268
268
  parameters: [
269
269
  {
270
270
  name: "props",
271
- description: " Request containing either preliminary data request or complete\ntable design",
272
271
  required: true,
273
272
  schema: {
274
273
  $ref: "#/components/schemas/IAutoBeDatabaseComponentApplication.IProps"
275
274
  }
276
275
  }
277
276
  ],
278
- description: "Process table design task for a single component skeleton or preliminary\ndata requests.\n\nReceives a component skeleton (namespace, filename, thinking, review,\nrationale already determined by DATABASE_GROUP phase) and fills in the\ntables field with complete table designs for that single component.\n\nThis is NOT about creating or organizing multiple components. The component\nidentity is fixed. This agent ONLY designs the tables that belong to the\nprovided component skeleton."
277
+ description: "Process table design task or retrieve preliminary data."
279
278
  }
280
279
  ]
281
280
  },
@@ -538,11 +537,11 @@ function createController(props) {
538
537
  type: "object",
539
538
  properties: {
540
539
  thinking: {
541
- description: "Think before you act.\n\nBefore requesting preliminary data or completing your task, reflect on\nyour current state and explain your reasoning:\n\nFor preliminary requests (getAnalysisSections,\ngetPreviousAnalysisSections):\n\n- What critical information is missing that you don't already have?\n- Why do you need it specifically right now?\n- Be brief - state the gap, don't list everything you have.\n\nFor completion (complete):\n\n- What key assets did you acquire?\n- What did you accomplish?\n- Why is it sufficient to complete?\n- Summarize - don't enumerate every single item.\n\nThis reflection helps you avoid duplicate requests and premature\ncompletion.",
540
+ description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion).",
542
541
  type: "string"
543
542
  },
544
543
  request: {
545
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval\n(getAnalysisSections, getPreviousAnalysisSections,\ngetPreviousDatabaseSchemas) or final table design (complete). When\npreliminary returns empty array, that type is removed from the union,\nphysically preventing repeated calls.",
544
+ description: "Action to perform. Exhausted preliminary types are removed from the\nunion.",
546
545
  anyOf: [
547
546
  {
548
547
  $ref: "#/$defs/IAutoBePreliminaryGetPreviousAnalysisSections"
@@ -575,18 +574,18 @@ function createController(props) {
575
574
  additionalProperties: false,
576
575
  $defs: {
577
576
  IAutoBePreliminaryGetPreviousAnalysisSections: {
578
- description: "Request to retrieve individual analysis sections from previous iteration by\nnumeric ID.\n\nSame as {@link IAutoBePreliminaryGetAnalysisSections} but for sections from\nthe previous generation cycle, enabling comparison and consistency checks.",
577
+ description: "Request to retrieve analysis sections from the previous iteration by numeric\nID.",
579
578
  type: "object",
580
579
  properties: {
581
580
  type: {
582
- description: "Type discriminator for the request.\n\nValue \"getPreviousAnalysisSections\" indicates this is a preliminary data\nrequest for analysis sections from the previous iteration.",
581
+ description: "Type discriminator.",
583
582
  type: "string",
584
583
  "enum": [
585
584
  "getPreviousAnalysisSections"
586
585
  ]
587
586
  },
588
587
  sectionIds: {
589
- description: "List of section IDs to retrieve from the previous iteration.\n\nCRITICAL: DO NOT request the same section IDs that you have already\nrequested in previous calls.",
588
+ description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls.",
590
589
  type: "array",
591
590
  items: {
592
591
  type: "integer",
@@ -601,18 +600,18 @@ function createController(props) {
601
600
  ]
602
601
  },
603
602
  IAutoBePreliminaryGetAnalysisSections: {
604
- 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.",
603
+ description: "Request to retrieve individual analysis sections by numeric ID.",
605
604
  type: "object",
606
605
  properties: {
607
606
  type: {
608
- 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.",
607
+ description: "Type discriminator.",
609
608
  type: "string",
610
609
  "enum": [
611
610
  "getAnalysisSections"
612
611
  ]
613
612
  },
614
613
  sectionIds: {
615
- 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.",
614
+ description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls.",
616
615
  type: "array",
617
616
  items: {
618
617
  type: "integer",
@@ -628,18 +627,18 @@ function createController(props) {
628
627
  ]
629
628
  },
630
629
  IAutoBePreliminaryGetPreviousDatabaseSchemas: {
631
- description: "Request to retrieve database schemas from a previous version.\n\nThis type is used to load database schema definitions that were generated in\na **previous version** of the AutoBE generation pipeline. This is NOT about\nre-requesting schemas within the same execution, but rather accessing\nartifacts from an earlier version.\n\n**Use Case:** When regenerating or modifying the database schema based on\nuser change requests, agents need to reference the previously generated\ndatabase schemas to understand the existing database structure and what needs\nto be modified.\n\n**Key Difference from `getDatabaseSchemas`:**\n\n- `getDatabaseSchemas`: Fetches schemas from the **current version** (the\n version being generated right now)\n- `getPreviousDatabaseSchemas`: Fetches schemas from the **previous version**\n (the last successfully generated version)\n\n**Example Scenario:**\n\n Initial generation:\n - DATABASE phase creates: users, posts, comments tables\n - Generation completes successfully\n\n User: \"Add email verification status to users\"\n\n Regeneration:\n - DATABASE phase starts regeneration\n - Calls getPreviousDatabaseSchemas([\"users\"])\n \u2192 Loads the previous version of users table schema\n - Creates new version with emailVerified field added\n\n**Waterfall + Spiral Pattern:**\n\nThis aligns with AutoBE's regeneration cycles where:\n\n- Compilation failures trigger regeneration with corrections\n- User modifications trigger new versions\n- Previous schemas serve as reference for incremental changes",
630
+ description: "Request to retrieve database schemas from the previous iteration.\n\nLoads database table definitions from the last successfully generated\nversion, used as reference context during regeneration or modification\ncycles.",
632
631
  type: "object",
633
632
  properties: {
634
633
  type: {
635
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"getPreviousDatabaseSchemas\" indicates this is a\npreliminary data request for database schemas from a previous version.",
634
+ description: "Type discriminator.",
636
635
  type: "string",
637
636
  "enum": [
638
637
  "getPreviousDatabaseSchemas"
639
638
  ]
640
639
  },
641
640
  schemaNames: {
642
- description: "List of database table names to retrieve from the previous version.\n\nThese are table schema names that were generated in a previous version and\nare needed as reference context for the current regeneration.\n\n**Important Notes:**\n\n- These schemas MUST exist in the previous version\n- This function is only available when a previous version exists\n- Used for reference/comparison, not for re-requesting within same execution\n- Table names are in snake_case (e.g., \"shopping_sale\", \"bbs_article\")\n\n**When This Function is Available:**\n\n- When a previous version exists\n- When user requests modifications to existing database schema\n- During correction/regeneration cycles that need previous schema context\n\n**When This Function is NOT Available:**\n\n- During initial generation (no previous version exists)\n- No previous database schemas available for this orchestration task\n\n**Example Table Names:**\n\n- \"users\", \"posts\", \"comments\"\n- \"shopping_sales\", \"shopping_orders\", \"shopping_products\"\n- \"bbs_articles\", \"bbs_article_files\"",
641
+ description: "Table names to retrieve from previous iteration. DO NOT request same names\nalready requested in previous calls.",
643
642
  type: "array",
644
643
  items: {
645
644
  type: "string"
@@ -653,26 +652,26 @@ function createController(props) {
653
652
  ]
654
653
  },
655
654
  "IAutoBeDatabaseComponentApplication.IComplete": {
656
- description: "Request to complete the database component by filling in table designs.\n\nTakes a component skeleton (namespace, filename already determined by\nDATABASE_GROUP phase) and fills in the tables field by designing all\nnecessary database tables for this single component.\n\nThis is NOT about creating multiple components - the component identity is\nalready fixed. This is ONLY about designing the tables that belong to this\nsingle component.",
655
+ description: "Complete the database component by filling in table designs for the given\nskeleton.",
657
656
  type: "object",
658
657
  properties: {
659
658
  type: {
660
- description: "Type discriminator for the request.\n\nDetermines which action to perform: preliminary data retrieval or actual\ntask execution. Value \"complete\" indicates this is the final task\nexecution request.",
659
+ description: "Type discriminator for completion request.",
661
660
  type: "string",
662
661
  "enum": [
663
662
  "complete"
664
663
  ]
665
664
  },
666
665
  analysis: {
667
- description: "Analysis of the component's scope and table requirements.\n\nDocuments the agent's understanding of this component's domain:\n\n- What is the component's business purpose (from the skeleton)?\n- What entities from the requirements belong to this component?\n- What relationships exist between these entities?\n- What normalization patterns were identified?",
666
+ description: "Analysis of the component's scope, entities, relationships, and table\nrequirements.",
668
667
  type: "string"
669
668
  },
670
669
  rationale: {
671
- description: "Rationale for the table design decisions.\n\nExplains why tables were designed this way:\n\n- Why was each table created?\n- Why were certain entities kept separate vs combined?\n- What normalization principles were applied?\n- How do the tables fulfill the component's rationale?",
670
+ description: "Rationale for table design decisions and normalization choices.",
672
671
  type: "string"
673
672
  },
674
673
  tables: {
675
- description: "Array of table designs for THIS SINGLE component.\n\nContains all database tables that belong to the component skeleton\nreceived as input. Each table design includes table name (snake_case,\nplural) and description explaining the table's purpose and contents.\n\nThe AI agent must design tables based on:\n\n- The component's namespace and intended domain (from skeleton)\n- Business requirements from analysis sections\n- Previous database schemas for consistency\n- Normalization principles (3NF)\n- Relationship integrity\n\nCRITICAL CONSTRAINTS:\n\n- The namespace and filename are ALREADY DETERMINED by the component\n skeleton\n- Do NOT create multiple components or reorganize component boundaries\n- Do NOT include thinking, review, decision, or rationale - those are\n already in the skeleton\n- ALL tables generated here belong to THE SINGLE component skeleton\n provided\n- ONLY provide the tables array - nothing else",
674
+ description: "Table designs for this single component (snake_case, plural names).\n\nNamespace and filename are already determined by the skeleton. All tables\nmust belong to this component only.",
676
675
  type: "array",
677
676
  items: {
678
677
  $ref: "#/$defs/AutoBeDatabaseComponentTableDesign"
@@ -687,15 +686,15 @@ function createController(props) {
687
686
  ]
688
687
  },
689
688
  AutoBeDatabaseComponentTableDesign: {
690
- description: "Table design with name and description.\n\nRepresents a single table identified during the component extraction phase,\npairing the table name with a description of its purpose. This type\nformalizes the table design structure for database schema generation.\n\nThe description provides business context that helps:\n\n- Review agents validate that the table fulfills actual requirements\n- Schema generation create appropriate models with proper documentation\n- Future developers understand the table's role in the system",
689
+ description: "Table design with name and description.",
691
690
  type: "object",
692
691
  properties: {
693
692
  description: {
694
- description: "Brief, concise description of what this table stores and why it's needed.\n\nShould explain:\n\n- What business concept this table represents\n- What data it stores\n- Why this table is necessary for the component's domain\n\n**IMPORTANT**:\n\n- Keep it **concise** - one or two sentences maximum\n- Description must be written in English",
693
+ description: "Business purpose of this table. One or two sentences maximum. MUST be\nwritten in English.",
695
694
  type: "string"
696
695
  },
697
696
  name: {
698
- description: "Name of the database table.\n\nMust follow snake_case naming convention with appropriate domain prefix.\nExamples: `shopping_customers`, `bbs_articles`, `order_items`",
697
+ description: "Table name in snake_case with domain prefix (e.g., \"shopping_customers\").",
699
698
  type: "string",
700
699
  pattern: "^[a-z][a-z0-9_]*$"
701
700
  }
@@ -707,7 +706,7 @@ function createController(props) {
707
706
  }
708
707
  }
709
708
  },
710
- description: "Process table design task for a single component skeleton or preliminary\ndata requests.\n\nReceives a component skeleton (namespace, filename, thinking, review,\nrationale already determined by DATABASE_GROUP phase) and fills in the\ntables field with complete table designs for that single component.\n\nThis is NOT about creating or organizing multiple components. The component\nidentity is fixed. This agent ONLY designs the tables that belong to the\nprovided component skeleton.",
709
+ description: "Process table design task or retrieve preliminary data.",
711
710
  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 => "getPreviousAnalysisSections" === input.type && (Array.isArray(input.sectionIds) && (1 <= input.sectionIds.length && input.sectionIds.every(elem => "number" === typeof elem && __typia_transform__isTypeUint32._isTypeUint32(elem)))); const _io3 = input => "getPreviousDatabaseSchemas" === input.type && (Array.isArray(input.schemaNames) && (1 <= input.schemaNames.length && input.schemaNames.every(elem => "string" === typeof elem))); const _io4 = input => "complete" === input.type && "string" === typeof input.analysis && "string" === typeof input.rationale && (Array.isArray(input.tables) && input.tables.every(elem => "object" === typeof elem && null !== elem && _io5(elem))); const _io5 = input => "string" === typeof input.description && ("string" === typeof input.name && RegExp("^[a-z][a-z0-9_]*$").test(input.name)); const _iu0 = input => (() => {
712
711
  if ("getPreviousAnalysisSections" === input.type)
713
712
  return _io2(input);
@@ -1 +1 @@
1
- {"version":3,"file":"orchestratePrismaComponent.js","sourceRoot":"","sources":["../../../src/orchestrate/prisma/orchestratePrismaComponent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,gEAgCC;;;;AA9CD,kDAA4D;AAC5D,+BAA0B;AAG1B,2DAAwE;AACxE,uEAAoE;AACpE,yDAAsD;AACtD,uFAAoF;AACpF,wFAAqF;AAErF,mGAAgG;AAChG,uGAAoG;AAGpG,SAAsB,0BAA0B,CAC9C,GAAkB,EAClB,KAGC;;;QAED,0EAA0E;QAC1E,+CAA+C;QAC/C,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC;QACrE,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,EAAE,CAAC;QAEzC,MAAM,MAAM,GAAkB,MAAA,MAAA,GAAG,CAAC,KAAK,EAAE,CAAC,OAAO,0CAAE,MAAM,mCAAI,IAAI,CAAC;QAClE,MAAM,QAAQ,GAA4B;YACxC,SAAS,EAAE,CAAC;YACZ,KAAK,EAAE,YAAY,CA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