@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
@@ -85,7 +85,7 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
85
85
  type: "string"
86
86
  }
87
87
  ],
88
- description: "Think before you act.\n\nBefore requesting preliminary data or completing your task, reflect on your\ncurrent state and explain your reasoning:\n\nFor preliminary requests:\n\n- What additional context do you need for cross-file validation?\n\nFor completion:\n\n- Is EARS format consistent across requirement files (03, 04)?\n- Are values and constraints consistent across all files?\n- Is terminology aligned across all files?\n- Are Mermaid diagram styles uniform?"
88
+ description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion)."
89
89
  },
90
90
  request: {
91
91
  oneOf: [
@@ -103,7 +103,7 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
103
103
  complete: "#/components/schemas/IAutoBeAnalyzeSectionReviewApplicationComplete"
104
104
  }
105
105
  },
106
- description: "Type discriminator for the request."
106
+ description: "Action to perform. Exhausted preliminary types are removed from the union."
107
107
  }
108
108
  },
109
109
  required: [
@@ -115,7 +115,7 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
115
115
  properties: {
116
116
  type: {
117
117
  "const": "getPreviousAnalysisSections",
118
- description: "Type discriminator for the request.\n\nValue \"getPreviousAnalysisSections\" indicates this is a preliminary data\nrequest for analysis sections from the previous iteration."
118
+ description: "Type discriminator."
119
119
  },
120
120
  sectionIds: {
121
121
  type: "array",
@@ -124,35 +124,35 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
124
124
  minimum: 0
125
125
  },
126
126
  minItems: 1,
127
- 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."
127
+ description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls."
128
128
  }
129
129
  },
130
130
  required: [
131
131
  "type",
132
132
  "sectionIds"
133
133
  ],
134
- 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."
134
+ description: "Request to retrieve analysis sections from the previous iteration by numeric\nID."
135
135
  },
136
136
  IAutoBeAnalyzeSectionReviewApplicationComplete: {
137
137
  type: "object",
138
138
  properties: {
139
139
  type: {
140
140
  "const": "complete",
141
- description: "Type discriminator for the request."
141
+ description: "Type discriminator for completion request."
142
142
  },
143
143
  fileResults: {
144
144
  type: "array",
145
145
  items: {
146
146
  $ref: "#/components/schemas/IAutoBeAnalyzeSectionReviewApplicationFileResult"
147
147
  },
148
- description: "Per-file review results.\n\nEach entry contains the verdict for one file's section content."
148
+ description: "Per-file review results."
149
149
  }
150
150
  },
151
151
  required: [
152
152
  "type",
153
153
  "fileResults"
154
154
  ],
155
- description: "Request to complete the cross-file section review.\n\nProvides per-file review verdicts for all files' section content."
155
+ description: "Complete the cross-file section review with per-file verdicts."
156
156
  },
157
157
  IAutoBeAnalyzeSectionReviewApplicationFileResult: {
158
158
  type: "object",
@@ -163,11 +163,11 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
163
163
  },
164
164
  approved: {
165
165
  type: "boolean",
166
- description: "Whether this file's section content passed review.\n\nIf true: File's sections are consistent with other files. If false: File's\nsections must be regenerated with feedback."
166
+ description: "Whether this file's section content passed review."
167
167
  },
168
168
  feedback: {
169
169
  type: "string",
170
- description: "Detailed review feedback for this file's section content.\n\nCross-file review criteria evaluated:\n\n- EARS format compliance (03-functional-requirements, 04-business-rules only)\n- Value and constraint consistency\n- Terminology alignment\n- Mermaid diagram style uniformity\n- No prohibited content\n\nFor rejected files:\n\n- Specific inconsistencies identified\n- Recommendations for alignment"
170
+ description: "Cross-file review feedback. For rejected files, describe specific\ninconsistencies."
171
171
  },
172
172
  issues: {
173
173
  oneOf: [
@@ -181,7 +181,7 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
181
181
  }
182
182
  }
183
183
  ],
184
- description: "Structured review issues for targeted rewrites / patches.\n\nOptional for backward compatibility."
184
+ description: "Structured review issues for targeted rewrites. Optional for backward\ncompatibility."
185
185
  },
186
186
  revisedSections: {
187
187
  oneOf: [
@@ -195,7 +195,7 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
195
195
  }
196
196
  }
197
197
  ],
198
- description: "Revised sections for this file if modifications were made.\n\nOrganized by moduleIndex and unitIndex. Set to `null` if no revisions were\nmade."
198
+ description: "Revised sections organized by moduleIndex/unitIndex. Null if no revisions."
199
199
  },
200
200
  rejectedModuleUnits: {
201
201
  oneOf: [
@@ -209,7 +209,7 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
209
209
  }
210
210
  }
211
211
  ],
212
- description: "Specific module/unit pairs whose sections were rejected.\n\nWhen rejecting a file, identify EXACTLY which modules and units have\nproblematic sections. Only these will be regenerated on retry.\n\nSet to null if all module/units need regeneration, or if approving."
212
+ description: "Module/unit pairs with rejected sections. Only these are regenerated on\nretry. Null if all module/units need regeneration, or if approving."
213
213
  }
214
214
  },
215
215
  required: [
@@ -225,7 +225,8 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
225
225
  type: "object",
226
226
  properties: {
227
227
  ruleCode: {
228
- type: "string"
228
+ type: "string",
229
+ description: "Rule violation code (e.g., \"TERM-001\", \"VALUE-002\")."
229
230
  },
230
231
  moduleIndex: {
231
232
  oneOf: [
@@ -235,7 +236,8 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
235
236
  {
236
237
  type: "number"
237
238
  }
238
- ]
239
+ ],
240
+ description: "Module index where the issue was found, or null if file-level."
239
241
  },
240
242
  unitIndex: {
241
243
  oneOf: [
@@ -245,7 +247,8 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
245
247
  {
246
248
  type: "number"
247
249
  }
248
- ]
250
+ ],
251
+ description: "Unit index where the issue was found, or null if module-level."
249
252
  },
250
253
  sectionIndex: {
251
254
  oneOf: [
@@ -255,10 +258,12 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
255
258
  {
256
259
  type: "number"
257
260
  }
258
- ]
261
+ ],
262
+ description: "Section index where the issue was found, or null if unit-level."
259
263
  },
260
264
  fixInstruction: {
261
- type: "string"
265
+ type: "string",
266
+ description: "Specific instruction for fixing this issue."
262
267
  },
263
268
  evidence: {
264
269
  oneOf: [
@@ -268,7 +273,8 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
268
273
  {
269
274
  type: "string"
270
275
  }
271
- ]
276
+ ],
277
+ description: "Supporting evidence from the source text."
272
278
  }
273
279
  },
274
280
  required: [
@@ -276,7 +282,8 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
276
282
  "moduleIndex",
277
283
  "unitIndex",
278
284
  "fixInstruction"
279
- ]
285
+ ],
286
+ description: "A specific review issue found during section content review."
280
287
  },
281
288
  IAutoBeAnalyzeSectionReviewApplicationRevisedModuleSections: {
282
289
  type: "object",
@@ -290,14 +297,14 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
290
297
  items: {
291
298
  $ref: "#/components/schemas/IAutoBeAnalyzeSectionReviewApplicationRevisedUnitSections"
292
299
  },
293
- description: "Revised sections for each unit in this module."
300
+ description: "Revised sections for each unit."
294
301
  }
295
302
  },
296
303
  required: [
297
304
  "moduleIndex",
298
305
  "units"
299
306
  ],
300
- description: "Structure for revised sections of a single module."
307
+ description: "Revised sections of a single module."
301
308
  },
302
309
  IAutoBeAnalyzeSectionReviewApplicationRevisedUnitSections: {
303
310
  type: "object",
@@ -311,14 +318,14 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
311
318
  items: {
312
319
  $ref: "#/components/schemas/IAutoBeAnalyzeSectionReviewApplicationRevisedSectionSection"
313
320
  },
314
- description: "Revised section sections for this unit."
321
+ description: "Revised subsections (#### level) within this unit."
315
322
  }
316
323
  },
317
324
  required: [
318
325
  "unitIndex",
319
326
  "sectionSections"
320
327
  ],
321
- description: "Structure for revised sections of a single unit."
328
+ description: "Revised sections of a single unit."
322
329
  },
323
330
  IAutoBeAnalyzeSectionReviewApplicationRevisedSectionSection: {
324
331
  type: "object",
@@ -336,7 +343,7 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
336
343
  "title",
337
344
  "content"
338
345
  ],
339
- description: "Structure for a revised section."
346
+ description: "A revised section."
340
347
  },
341
348
  IAutoBeAnalyzeSectionReviewApplicationRejectedModuleUnit: {
342
349
  type: "object",
@@ -350,11 +357,11 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
350
357
  items: {
351
358
  type: "number"
352
359
  },
353
- description: "Indices of units within this module that need section regeneration."
360
+ description: "Unit indices needing section regeneration."
354
361
  },
355
362
  feedback: {
356
363
  type: "string",
357
- description: "Specific feedback for this module/unit group's issues."
364
+ description: "Feedback for this module/unit group's issues."
358
365
  },
359
366
  issues: {
360
367
  oneOf: [
@@ -368,7 +375,7 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
368
375
  }
369
376
  }
370
377
  ],
371
- description: "Structured issues scoped to this module/unit group.\n\nOptional for backward compatibility."
378
+ description: "Structured issues scoped to this module/unit group. Optional for backward\ncompatibility."
372
379
  },
373
380
  sectionIndicesPerUnit: {
374
381
  oneOf: [
@@ -379,7 +386,7 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
379
386
  $ref: "#/components/schemas/RecordnumberArraynumber"
380
387
  }
381
388
  ],
382
- description: "Per-unit mapping of specific section indices that need regeneration.\n\nKeys are unit indices (from `unitIndices`), values are arrays of section\nindices within that unit's `sectionSections[]` that failed review.\n\nWhen null/undefined or when a unitIndex is not present as a key, ALL\nsections for that unit are regenerated (backward-compatible fallback)."
389
+ description: "Per-unit mapping of section indices needing regeneration. When null or a\nunitIndex is absent, ALL sections for that unit are regenerated."
383
390
  }
384
391
  },
385
392
  required: [
@@ -410,14 +417,13 @@ const orchestrateAnalyzeSectionReview = (ctx, props) => __awaiter(void 0, void 0
410
417
  parameters: [
411
418
  {
412
419
  name: "props",
413
- description: " Request containing either preliminary data request or complete\ntask",
414
420
  required: true,
415
421
  schema: {
416
422
  $ref: "#/components/schemas/IAutoBeAnalyzeSectionReviewApplicationProps"
417
423
  }
418
424
  }
419
425
  ],
420
- description: "Process cross-file section review task or preliminary data requests.\n\nReviews and validates section content across ALL files in a single call,\nensuring cross-file consistency and uniformity."
426
+ description: "Review section content across all files for cross-file consistency."
421
427
  }
422
428
  ]
423
429
  },
@@ -792,7 +798,7 @@ function createController(props) {
792
798
  type: "object",
793
799
  properties: {
794
800
  thinking: {
795
- description: "Think before you act.\n\nBefore requesting preliminary data or completing your task, reflect on your\ncurrent state and explain your reasoning:\n\nFor preliminary requests:\n\n- What additional context do you need for cross-file validation?\n\nFor completion:\n\n- Is EARS format consistent across requirement files (03, 04)?\n- Are values and constraints consistent across all files?\n- Is terminology aligned across all files?\n- Are Mermaid diagram styles uniform?",
801
+ description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion).",
796
802
  anyOf: [
797
803
  {
798
804
  type: "null"
@@ -803,7 +809,7 @@ function createController(props) {
803
809
  ]
804
810
  },
805
811
  request: {
806
- description: "Type discriminator for the request.",
812
+ description: "Action to perform. Exhausted preliminary types are removed from the union.",
807
813
  anyOf: [
808
814
  {
809
815
  $ref: "#/$defs/IAutoBePreliminaryGetPreviousAnalysisSections"
@@ -827,18 +833,18 @@ function createController(props) {
827
833
  additionalProperties: false,
828
834
  $defs: {
829
835
  IAutoBePreliminaryGetPreviousAnalysisSections: {
830
- 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.",
836
+ description: "Request to retrieve analysis sections from the previous iteration by numeric\nID.",
831
837
  type: "object",
832
838
  properties: {
833
839
  type: {
834
- description: "Type discriminator for the request.\n\nValue \"getPreviousAnalysisSections\" indicates this is a preliminary data\nrequest for analysis sections from the previous iteration.",
840
+ description: "Type discriminator.",
835
841
  type: "string",
836
842
  "enum": [
837
843
  "getPreviousAnalysisSections"
838
844
  ]
839
845
  },
840
846
  sectionIds: {
841
- 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.",
847
+ description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls.",
842
848
  type: "array",
843
849
  items: {
844
850
  type: "integer",
@@ -853,18 +859,18 @@ function createController(props) {
853
859
  ]
854
860
  },
855
861
  IAutoBeAnalyzeSectionReviewApplicationComplete: {
856
- description: "Request to complete the cross-file section review.\n\nProvides per-file review verdicts for all files' section content.",
862
+ description: "Complete the cross-file section review with per-file verdicts.",
857
863
  type: "object",
858
864
  properties: {
859
865
  type: {
860
- description: "Type discriminator for the request.",
866
+ description: "Type discriminator for completion request.",
861
867
  type: "string",
862
868
  "enum": [
863
869
  "complete"
864
870
  ]
865
871
  },
866
872
  fileResults: {
867
- description: "Per-file review results.\n\nEach entry contains the verdict for one file's section content.",
873
+ description: "Per-file review results.",
868
874
  type: "array",
869
875
  items: {
870
876
  $ref: "#/$defs/IAutoBeAnalyzeSectionReviewApplicationFileResult"
@@ -885,15 +891,15 @@ function createController(props) {
885
891
  type: "number"
886
892
  },
887
893
  approved: {
888
- description: "Whether this file's section content passed review.\n\nIf true: File's sections are consistent with other files. If false: File's\nsections must be regenerated with feedback.",
894
+ description: "Whether this file's section content passed review.",
889
895
  type: "boolean"
890
896
  },
891
897
  feedback: {
892
- description: "Detailed review feedback for this file's section content.\n\nCross-file review criteria evaluated:\n\n- EARS format compliance (03-functional-requirements, 04-business-rules only)\n- Value and constraint consistency\n- Terminology alignment\n- Mermaid diagram style uniformity\n- No prohibited content\n\nFor rejected files:\n\n- Specific inconsistencies identified\n- Recommendations for alignment",
898
+ description: "Cross-file review feedback. For rejected files, describe specific\ninconsistencies.",
893
899
  type: "string"
894
900
  },
895
901
  issues: {
896
- description: "Structured review issues for targeted rewrites / patches.\n\nOptional for backward compatibility.",
902
+ description: "Structured review issues for targeted rewrites. Optional for backward\ncompatibility.",
897
903
  anyOf: [
898
904
  {
899
905
  type: "null"
@@ -907,7 +913,7 @@ function createController(props) {
907
913
  ]
908
914
  },
909
915
  revisedSections: {
910
- description: "Revised sections for this file if modifications were made.\n\nOrganized by moduleIndex and unitIndex. Set to `null` if no revisions were\nmade.",
916
+ description: "Revised sections organized by moduleIndex/unitIndex. Null if no revisions.",
911
917
  anyOf: [
912
918
  {
913
919
  type: "null"
@@ -921,7 +927,7 @@ function createController(props) {
921
927
  ]
922
928
  },
923
929
  rejectedModuleUnits: {
924
- description: "Specific module/unit pairs whose sections were rejected.\n\nWhen rejecting a file, identify EXACTLY which modules and units have\nproblematic sections. Only these will be regenerated on retry.\n\nSet to null if all module/units need regeneration, or if approving.",
930
+ description: "Module/unit pairs with rejected sections. Only these are regenerated on\nretry. Null if all module/units need regeneration, or if approving.",
925
931
  anyOf: [
926
932
  {
927
933
  type: "null"
@@ -944,12 +950,15 @@ function createController(props) {
944
950
  ]
945
951
  },
946
952
  IAutoBeAnalyzeSectionReviewApplicationReviewIssue: {
953
+ description: "A specific review issue found during section content review.",
947
954
  type: "object",
948
955
  properties: {
949
956
  ruleCode: {
957
+ description: "Rule violation code (e.g., \"TERM-001\", \"VALUE-002\").",
950
958
  type: "string"
951
959
  },
952
960
  moduleIndex: {
961
+ description: "Module index where the issue was found, or null if file-level.",
953
962
  anyOf: [
954
963
  {
955
964
  type: "null"
@@ -960,6 +969,7 @@ function createController(props) {
960
969
  ]
961
970
  },
962
971
  unitIndex: {
972
+ description: "Unit index where the issue was found, or null if module-level.",
963
973
  anyOf: [
964
974
  {
965
975
  type: "null"
@@ -970,6 +980,7 @@ function createController(props) {
970
980
  ]
971
981
  },
972
982
  sectionIndex: {
983
+ description: "Section index where the issue was found, or null if unit-level.",
973
984
  anyOf: [
974
985
  {
975
986
  type: "null"
@@ -980,9 +991,11 @@ function createController(props) {
980
991
  ]
981
992
  },
982
993
  fixInstruction: {
994
+ description: "Specific instruction for fixing this issue.",
983
995
  type: "string"
984
996
  },
985
997
  evidence: {
998
+ description: "Supporting evidence from the source text.",
986
999
  anyOf: [
987
1000
  {
988
1001
  type: "null"
@@ -1001,7 +1014,7 @@ function createController(props) {
1001
1014
  ]
1002
1015
  },
1003
1016
  IAutoBeAnalyzeSectionReviewApplicationRevisedModuleSections: {
1004
- description: "Structure for revised sections of a single module.",
1017
+ description: "Revised sections of a single module.",
1005
1018
  type: "object",
1006
1019
  properties: {
1007
1020
  moduleIndex: {
@@ -1009,7 +1022,7 @@ function createController(props) {
1009
1022
  type: "number"
1010
1023
  },
1011
1024
  units: {
1012
- description: "Revised sections for each unit in this module.",
1025
+ description: "Revised sections for each unit.",
1013
1026
  type: "array",
1014
1027
  items: {
1015
1028
  $ref: "#/$defs/IAutoBeAnalyzeSectionReviewApplicationRevisedUnitSections"
@@ -1022,7 +1035,7 @@ function createController(props) {
1022
1035
  ]
1023
1036
  },
1024
1037
  IAutoBeAnalyzeSectionReviewApplicationRevisedUnitSections: {
1025
- description: "Structure for revised sections of a single unit.",
1038
+ description: "Revised sections of a single unit.",
1026
1039
  type: "object",
1027
1040
  properties: {
1028
1041
  unitIndex: {
@@ -1030,7 +1043,7 @@ function createController(props) {
1030
1043
  type: "number"
1031
1044
  },
1032
1045
  sectionSections: {
1033
- description: "Revised section sections for this unit.",
1046
+ description: "Revised subsections (#### level) within this unit.",
1034
1047
  type: "array",
1035
1048
  items: {
1036
1049
  $ref: "#/$defs/IAutoBeAnalyzeSectionReviewApplicationRevisedSectionSection"
@@ -1043,7 +1056,7 @@ function createController(props) {
1043
1056
  ]
1044
1057
  },
1045
1058
  IAutoBeAnalyzeSectionReviewApplicationRevisedSectionSection: {
1046
- description: "Structure for a revised section.",
1059
+ description: "A revised section.",
1047
1060
  type: "object",
1048
1061
  properties: {
1049
1062
  title: {
@@ -1069,18 +1082,18 @@ function createController(props) {
1069
1082
  type: "number"
1070
1083
  },
1071
1084
  unitIndices: {
1072
- description: "Indices of units within this module that need section regeneration.",
1085
+ description: "Unit indices needing section regeneration.",
1073
1086
  type: "array",
1074
1087
  items: {
1075
1088
  type: "number"
1076
1089
  }
1077
1090
  },
1078
1091
  feedback: {
1079
- description: "Specific feedback for this module/unit group's issues.",
1092
+ description: "Feedback for this module/unit group's issues.",
1080
1093
  type: "string"
1081
1094
  },
1082
1095
  issues: {
1083
- description: "Structured issues scoped to this module/unit group.\n\nOptional for backward compatibility.",
1096
+ description: "Structured issues scoped to this module/unit group. Optional for backward\ncompatibility.",
1084
1097
  anyOf: [
1085
1098
  {
1086
1099
  type: "null"
@@ -1094,7 +1107,7 @@ function createController(props) {
1094
1107
  ]
1095
1108
  },
1096
1109
  sectionIndicesPerUnit: {
1097
- description: "Per-unit mapping of specific section indices that need regeneration.\n\nKeys are unit indices (from `unitIndices`), values are arrays of section\nindices within that unit's `sectionSections[]` that failed review.\n\nWhen null/undefined or when a unitIndex is not present as a key, ALL\nsections for that unit are regenerated (backward-compatible fallback).",
1110
+ description: "Per-unit mapping of section indices needing regeneration. When null or a\nunitIndex is absent, ALL sections for that unit are regenerated.",
1098
1111
  anyOf: [
1099
1112
  {
1100
1113
  type: "null"
@@ -1125,7 +1138,7 @@ function createController(props) {
1125
1138
  }
1126
1139
  }
1127
1140
  },
1128
- description: "Process cross-file section review task or preliminary data requests.\n\nReviews and validates section content across ALL files in a single call,\nensuring cross-file consistency and uniformity.",
1141
+ description: "Review section content across all files for cross-file consistency.",
1129
1142
  validate: (() => { const _io0 = input => (null === input.thinking || undefined === input.thinking || "string" === typeof input.thinking) && ("object" === typeof input.request && null !== input.request && _iu0(input.request)); const _io1 = 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 _io2 = input => "complete" === input.type && (Array.isArray(input.fileResults) && input.fileResults.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io3 = input => "number" === typeof input.fileIndex && "boolean" === typeof input.approved && "string" === typeof input.feedback && (null === input.issues || undefined === input.issues || Array.isArray(input.issues) && input.issues.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.revisedSections || Array.isArray(input.revisedSections) && input.revisedSections.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (null === input.rejectedModuleUnits || Array.isArray(input.rejectedModuleUnits) && input.rejectedModuleUnits.every(elem => "object" === typeof elem && null !== elem && _io8(elem))); const _io4 = input => "string" === typeof input.ruleCode && (null === input.moduleIndex || "number" === typeof input.moduleIndex) && (null === input.unitIndex || "number" === typeof input.unitIndex) && (null === input.sectionIndex || undefined === input.sectionIndex || "number" === typeof input.sectionIndex) && "string" === typeof input.fixInstruction && (null === input.evidence || undefined === input.evidence || "string" === typeof input.evidence); const _io5 = input => "number" === typeof input.moduleIndex && (Array.isArray(input.units) && input.units.every(elem => "object" === typeof elem && null !== elem && _io6(elem))); const _io6 = input => "number" === typeof input.unitIndex && (Array.isArray(input.sectionSections) && input.sectionSections.every(elem => "object" === typeof elem && null !== elem && _io7(elem))); const _io7 = input => "string" === typeof input.title && "string" === typeof input.content; const _io8 = input => "number" === typeof input.moduleIndex && (Array.isArray(input.unitIndices) && input.unitIndices.every(elem => "number" === typeof elem)) && "string" === typeof input.feedback && (null === input.issues || undefined === input.issues || Array.isArray(input.issues) && input.issues.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.sectionIndicesPerUnit || undefined === input.sectionIndicesPerUnit || "object" === typeof input.sectionIndicesPerUnit && null !== input.sectionIndicesPerUnit && false === Array.isArray(input.sectionIndicesPerUnit) && _io9(input.sectionIndicesPerUnit)); const _io9 = input => Object.keys(input).every(key => {
1130
1143
  const value = input[key];
1131
1144
  if (undefined === value)
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrateAnalyzeSectionReview.js","sourceRoot":"","sources":["../../../src/orchestrate/analyze/orchestrateAnalyzeSectionReview.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,kDAA4D;AAC5D,+BAA0B;AAG1B,uFAAoF;AACpF,2GAAwG;AAMxG,+EAA4E;AAE5E;;;;;;;;;;;GAWG;AACI,MAAM,+BAA+B,GAAG,CAC7C,GAAkB,EAClB,KAiBC,EACyC,EAAE;IAC5C,MAAM,WAAW,GACf,IAAI,yDAA2B,CAAC;QAC9B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OACL;QAC5D,QAAQ,EAAE;YACR,OAAO,EAAE,QAAQ;SAClB;KACF,EACF,CAAC;IACF,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,MAAM;QACZ,WAAW;QACX,OAAO,EAAE;YACP,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;gBACjB,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,UAAU;oBACnC,KAAK,CAAC,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC;YACxC,CAAC;SAC+C;KACnD,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,sBAAkD,CAAC"}
1
+ {"version":3,"file":"orchestrateAnalyzeSectionReview.js","sourceRoot":"","sources":["../../../src/orchestrate/analyze/orchestrateAnalyzeSectionReview.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,kDAA4D;AAC5D,+BAA0B;AAG1B,uFAAoF;AACpF,2GAAwG;AAMxG,+EAA4E;AAE5E;;;;;;;;;;;GAWG;AACI,MAAM,+BAA+B,GAAG,CAC7C,GAAkB,EAClB,KAiBC,EACyC,EAAE;IAC5C,MAAM,WAAW,GACf,IAAI,yDAA2B,CAAC;QAC9B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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