@autobe/agent 0.30.4-dev.20260324 → 0.30.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -661
- package/lib/constants/AutoBeSystemPromptConstant.d.ts +5 -4
- package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -1
- package/lib/describe/image/orchestrateImageDescribeDraft.js +6 -6
- package/lib/describe/image/structures/IAutoBeImageDescribeDraftApplication.d.ts +12 -63
- package/lib/index.mjs +2918 -2842
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeExtractDecisions.js +8 -8
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js +36 -37
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenarioReview.js +7 -7
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js +55 -42
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionReview.js +67 -54
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionReview.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSection.js +24 -25
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSection.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSectionPatch.js +24 -25
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSectionPatch.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteUnit.js +30 -31
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteUnit.js.map +1 -1
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.d.ts +14 -52
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +23 -96
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioReviewApplication.d.ts +12 -40
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeSectionCrossFileReviewApplication.d.ts +30 -88
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeSectionReviewApplication.d.ts +35 -94
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteSectionApplication.d.ts +23 -93
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteUnitApplication.d.ts +15 -88
- package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js +76 -31
- package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js.map +1 -1
- package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js +7 -7
- package/lib/orchestrate/common/structures/IAnalysisSectionEntry.d.ts +2 -8
- package/lib/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.d.ts +8 -50
- package/lib/orchestrate/common/structures/IAutoBePreliminaryCollection.d.ts +1 -9
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisSections.d.ts +4 -23
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetDatabaseSchemas.d.ts +3 -21
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.d.ts +4 -22
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.d.ts +4 -22
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousAnalysisSections.d.ts +5 -17
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas.d.ts +7 -76
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations.d.ts +6 -89
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceSchemas.d.ts +7 -93
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetRealizeCollectors.d.ts +3 -22
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetRealizeTransformers.d.ts +3 -22
- package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js +114 -139
- package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js +90 -91
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointWrite.js +58 -59
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointWrite.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceGroup.js +58 -59
- package/lib/orchestrate/interface/orchestrateInterfaceGroup.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceOperation.js +108 -132
- package/lib/orchestrate/interface/orchestrateInterfaceOperation.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceOperationReview.js +72 -72
- package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js +76 -77
- package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaCasting.js +130 -159
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaCasting.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaComplement.js +126 -155
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaComplement.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js +114 -142
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRename.js +5 -5
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js +100 -129
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaWrite.js +120 -149
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaWrite.js.map +1 -1
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationApplication.d.ts +10 -97
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.d.ts +14 -83
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointWriteApplication.d.ts +12 -90
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.d.ts +12 -80
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +21 -116
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.d.ts +24 -112
- package/lib/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.d.ts +11 -83
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.d.ts +11 -76
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaCastingApplication.d.ts +18 -96
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaComplementApplication.d.ts +11 -76
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRefineApplication.d.ts +25 -107
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRenameApplication.d.ts +5 -31
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaReviewApplication.d.ts +6 -42
- package/lib/orchestrate/interface/utils/AutoBeJsonSchemaValidator.js +283 -283
- package/lib/orchestrate/prisma/orchestratePrismaAuthorization.js +41 -41
- package/lib/orchestrate/prisma/orchestratePrismaAuthorizationReview.js +62 -63
- package/lib/orchestrate/prisma/orchestratePrismaAuthorizationReview.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaComponent.js +40 -41
- package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaComponentReview.js +60 -61
- package/lib/orchestrate/prisma/orchestratePrismaComponentReview.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaCorrect.js +112 -116
- package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaGroup.js +48 -49
- package/lib/orchestrate/prisma/orchestratePrismaGroup.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaGroupReview.js +70 -71
- package/lib/orchestrate/prisma/orchestratePrismaGroupReview.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaSchema.js +118 -122
- package/lib/orchestrate/prisma/orchestratePrismaSchema.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaSchemaReview.js +126 -131
- package/lib/orchestrate/prisma/orchestratePrismaSchemaReview.js.map +1 -1
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationApplication.d.ts +22 -99
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationReviewApplication.d.ts +12 -109
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseComponentApplication.d.ts +14 -100
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseComponentReviewApplication.d.ts +15 -108
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseCorrectApplication.d.ts +24 -106
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseGroupApplication.d.ts +13 -76
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseGroupReviewApplication.d.ts +13 -111
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseSchemaApplication.d.ts +26 -97
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseSchemaReviewApplication.d.ts +16 -93
- package/lib/orchestrate/realize/histories/transformRealizeOperationCorrectHistory.js +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeOperationCorrectHistory.js.map +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeOperationWriteHistory.js +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeOperationWriteHistory.js.map +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.js +20 -2
- package/lib/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.js.map +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.js +22 -2
- package/lib/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.js.map +1 -1
- package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectCasting.js +7 -7
- package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.js +86 -6
- package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js +38 -38
- package/lib/orchestrate/realize/orchestrateRealizeAuthorizationWrite.js +34 -34
- package/lib/orchestrate/realize/orchestrateRealizeCollectorCorrectOverall.js +38 -38
- package/lib/orchestrate/realize/orchestrateRealizeCollectorPlan.js +54 -54
- package/lib/orchestrate/realize/orchestrateRealizeCollectorWrite.js +36 -36
- package/lib/orchestrate/realize/orchestrateRealizeOperationCorrectOverall.js +44 -44
- package/lib/orchestrate/realize/orchestrateRealizeOperationWrite.js +42 -42
- package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.js +1 -0
- package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectOverall.js +46 -46
- package/lib/orchestrate/realize/orchestrateRealizeTransformerPlan.js +36 -36
- package/lib/orchestrate/realize/orchestrateRealizeTransformerWrite.js +44 -44
- package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.d.ts +18 -0
- package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.js +167 -8
- package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.js.map +1 -1
- package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.d.ts +17 -71
- package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.d.ts +32 -92
- package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorCorrectApplication.d.ts +32 -114
- package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorPlanApplication.d.ts +29 -106
- package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorWriteApplication.d.ts +38 -131
- package/lib/orchestrate/realize/structures/IAutoBeRealizeOperationCorrectApplication.d.ts +16 -71
- package/lib/orchestrate/realize/structures/IAutoBeRealizeOperationWriteApplication.d.ts +16 -73
- package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerCorrectApplication.d.ts +37 -155
- package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerPlanApplication.d.ts +25 -88
- package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerWriteApplication.d.ts +48 -181
- package/lib/orchestrate/realize/utils/generateTS2339Hints.d.ts +5 -3
- package/lib/orchestrate/realize/utils/generateTS2339Hints.js +37 -19
- package/lib/orchestrate/realize/utils/generateTS2339Hints.js.map +1 -1
- package/lib/orchestrate/test/histories/transformTestOperationWriteHistory.js +2 -2
- package/lib/orchestrate/test/orchestrateTestScenario.js +22 -22
- package/lib/orchestrate/test/orchestrateTestScenarioReview.js +22 -22
- package/package.json +5 -5
- package/src/AutoBeMockAgent.ts +283 -283
- package/src/constants/AutoBeSystemPromptConstant.ts +5 -4
- package/src/describe/image/structures/IAutoBeImageDescribeDraftApplication.ts +12 -63
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.ts +14 -52
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.ts +23 -96
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioReviewApplication.ts +12 -40
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeSectionCrossFileReviewApplication.ts +30 -88
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeSectionReviewApplication.ts +35 -94
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteSectionApplication.ts +23 -93
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteUnitApplication.ts +15 -88
- package/src/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.ts +92 -31
- package/src/orchestrate/common/structures/IAnalysisSectionEntry.ts +2 -8
- package/src/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.ts +8 -50
- package/src/orchestrate/common/structures/IAutoBePreliminaryCollection.ts +1 -9
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisSections.ts +4 -23
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetDatabaseSchemas.ts +3 -21
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.ts +4 -22
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.ts +4 -22
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousAnalysisSections.ts +5 -17
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas.ts +7 -76
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations.ts +6 -89
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceSchemas.ts +7 -93
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetRealizeCollectors.ts +3 -22
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetRealizeTransformers.ts +3 -22
- package/src/orchestrate/interface/orchestrateInterfaceSchemaRefine.ts +291 -291
- package/src/orchestrate/interface/orchestrateInterfaceSchemaReview.ts +309 -309
- package/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationApplication.ts +10 -97
- package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.ts +14 -83
- package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointWriteApplication.ts +12 -90
- package/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.ts +12 -80
- package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts +21 -116
- package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.ts +24 -112
- package/src/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.ts +11 -83
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.ts +11 -76
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaCastingApplication.ts +18 -96
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaComplementApplication.ts +11 -76
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRefineApplication.ts +25 -107
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRenameApplication.ts +5 -31
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaReviewApplication.ts +6 -42
- package/src/orchestrate/interface/utils/AutoBeJsonSchemaValidator.ts +763 -763
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationApplication.ts +22 -99
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationReviewApplication.ts +12 -109
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseComponentApplication.ts +14 -100
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseComponentReviewApplication.ts +15 -108
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseCorrectApplication.ts +24 -106
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseGroupApplication.ts +13 -76
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseGroupReviewApplication.ts +13 -111
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseSchemaApplication.ts +26 -97
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseSchemaReviewApplication.ts +16 -93
- package/src/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.ts +21 -1
- package/src/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.ts +26 -4
- package/src/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.ts +125 -9
- package/src/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.ts +1 -0
- package/src/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.ts +210 -7
- package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.ts +17 -71
- package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.ts +32 -92
- package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorCorrectApplication.ts +32 -114
- package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorPlanApplication.ts +29 -106
- package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorWriteApplication.ts +38 -131
- package/src/orchestrate/realize/structures/IAutoBeRealizeOperationCorrectApplication.ts +16 -71
- package/src/orchestrate/realize/structures/IAutoBeRealizeOperationWriteApplication.ts +16 -73
- package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerCorrectApplication.ts +37 -155
- package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerPlanApplication.ts +25 -88
- package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerWriteApplication.ts +48 -181
- package/src/orchestrate/realize/utils/generateTS2339Hints.ts +39 -19
- package/src/orchestrate/test/experimental/orchestrateTestCorrect.ast +237 -237
- package/src/orchestrate/test/experimental/orchestrateTestWrite.ast +322 -322
- package/src/orchestrate/test/experimental/transformTestCorrectHistories.ast +52 -52
- package/src/structures/IAutoBeVendor.ts +127 -127
- package/README.md +0 -261
|
@@ -106,7 +106,7 @@ function process(ctx, props) {
|
|
|
106
106
|
properties: {
|
|
107
107
|
thinking: {
|
|
108
108
|
type: "string",
|
|
109
|
-
description: "
|
|
109
|
+
description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion)."
|
|
110
110
|
},
|
|
111
111
|
request: {
|
|
112
112
|
oneOf: [
|
|
@@ -152,7 +152,7 @@ function process(ctx, props) {
|
|
|
152
152
|
complete: "#/components/schemas/IAutoBeInterfacePrerequisiteApplication.IComplete"
|
|
153
153
|
}
|
|
154
154
|
},
|
|
155
|
-
description: "
|
|
155
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion."
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
required: [
|
|
@@ -165,7 +165,7 @@ function process(ctx, props) {
|
|
|
165
165
|
properties: {
|
|
166
166
|
type: {
|
|
167
167
|
"const": "getAnalysisSections",
|
|
168
|
-
description: "Type discriminator
|
|
168
|
+
description: "Type discriminator."
|
|
169
169
|
},
|
|
170
170
|
sectionIds: {
|
|
171
171
|
type: "array",
|
|
@@ -175,21 +175,21 @@ function process(ctx, props) {
|
|
|
175
175
|
},
|
|
176
176
|
minItems: 1,
|
|
177
177
|
maxItems: 100,
|
|
178
|
-
description: "
|
|
178
|
+
description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls."
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
required: [
|
|
182
182
|
"type",
|
|
183
183
|
"sectionIds"
|
|
184
184
|
],
|
|
185
|
-
description: "Request to retrieve individual analysis sections by numeric ID
|
|
185
|
+
description: "Request to retrieve individual analysis sections by numeric ID."
|
|
186
186
|
},
|
|
187
187
|
IAutoBePreliminaryGetDatabaseSchemas: {
|
|
188
188
|
type: "object",
|
|
189
189
|
properties: {
|
|
190
190
|
type: {
|
|
191
191
|
"const": "getDatabaseSchemas",
|
|
192
|
-
description: "Type discriminator
|
|
192
|
+
description: "Type discriminator."
|
|
193
193
|
},
|
|
194
194
|
schemaNames: {
|
|
195
195
|
type: "array",
|
|
@@ -197,21 +197,21 @@ function process(ctx, props) {
|
|
|
197
197
|
type: "string"
|
|
198
198
|
},
|
|
199
199
|
minItems: 1,
|
|
200
|
-
description: "
|
|
200
|
+
description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls."
|
|
201
201
|
}
|
|
202
202
|
},
|
|
203
203
|
required: [
|
|
204
204
|
"type",
|
|
205
205
|
"schemaNames"
|
|
206
206
|
],
|
|
207
|
-
description: "Request to retrieve database schema definitions for context
|
|
207
|
+
description: "Request to retrieve database schema definitions for context."
|
|
208
208
|
},
|
|
209
209
|
IAutoBePreliminaryGetInterfaceOperations: {
|
|
210
210
|
type: "object",
|
|
211
211
|
properties: {
|
|
212
212
|
type: {
|
|
213
213
|
"const": "getInterfaceOperations",
|
|
214
|
-
description: "Type discriminator
|
|
214
|
+
description: "Type discriminator."
|
|
215
215
|
},
|
|
216
216
|
endpoints: {
|
|
217
217
|
type: "array",
|
|
@@ -219,14 +219,14 @@ function process(ctx, props) {
|
|
|
219
219
|
$ref: "#/components/schemas/AutoBeOpenApi.IEndpoint"
|
|
220
220
|
},
|
|
221
221
|
minItems: 1,
|
|
222
|
-
description: "
|
|
222
|
+
description: "API operation endpoints to retrieve. DO NOT request same endpoints already\nrequested in previous calls."
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
225
|
required: [
|
|
226
226
|
"type",
|
|
227
227
|
"endpoints"
|
|
228
228
|
],
|
|
229
|
-
description: "Request to retrieve existing interface operations for context
|
|
229
|
+
description: "Request to retrieve existing interface operations for context."
|
|
230
230
|
},
|
|
231
231
|
"AutoBeOpenApi.IEndpoint": {
|
|
232
232
|
type: "object",
|
|
@@ -234,7 +234,7 @@ function process(ctx, props) {
|
|
|
234
234
|
path: {
|
|
235
235
|
type: "string",
|
|
236
236
|
pattern: "^\\/[a-zA-Z0-9\\/_{}.-]*$",
|
|
237
|
-
description: "HTTP path of the API operation.\n\
|
|
237
|
+
description: "HTTP path of the API operation.\n\nMust start with `/`. Parameters use curly braces: `{paramName}`. Resource\nnames in camelCase. No quotes, spaces, role prefixes (`/admin/`), or API\nversion prefixes (`/api/v1/`).\n\nAllowed characters: letters, digits, `/`, `{`, `}`, `-`, `_`, `.`"
|
|
238
238
|
},
|
|
239
239
|
method: {
|
|
240
240
|
oneOf: [
|
|
@@ -254,7 +254,7 @@ function process(ctx, props) {
|
|
|
254
254
|
"const": "patch"
|
|
255
255
|
}
|
|
256
256
|
],
|
|
257
|
-
description: "HTTP method
|
|
257
|
+
description: "HTTP method (lowercase only).\n\nUse `patch` (not `get`) when a read operation needs a complex\n{@link requestBody}. `get` cannot have a request body."
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
260
|
required: [
|
|
@@ -268,7 +268,7 @@ function process(ctx, props) {
|
|
|
268
268
|
properties: {
|
|
269
269
|
type: {
|
|
270
270
|
"const": "getInterfaceSchemas",
|
|
271
|
-
description: "Type discriminator
|
|
271
|
+
description: "Type discriminator."
|
|
272
272
|
},
|
|
273
273
|
typeNames: {
|
|
274
274
|
type: "array",
|
|
@@ -276,21 +276,21 @@ function process(ctx, props) {
|
|
|
276
276
|
type: "string"
|
|
277
277
|
},
|
|
278
278
|
minItems: 1,
|
|
279
|
-
description: "
|
|
279
|
+
description: "Schema type names to retrieve. DO NOT request same names already requested\nin previous calls."
|
|
280
280
|
}
|
|
281
281
|
},
|
|
282
282
|
required: [
|
|
283
283
|
"type",
|
|
284
284
|
"typeNames"
|
|
285
285
|
],
|
|
286
|
-
description: "Request to retrieve OpenAPI schema type definitions for context
|
|
286
|
+
description: "Request to retrieve OpenAPI schema type definitions for context."
|
|
287
287
|
},
|
|
288
288
|
IAutoBePreliminaryGetPreviousAnalysisSections: {
|
|
289
289
|
type: "object",
|
|
290
290
|
properties: {
|
|
291
291
|
type: {
|
|
292
292
|
"const": "getPreviousAnalysisSections",
|
|
293
|
-
description: "Type discriminator
|
|
293
|
+
description: "Type discriminator."
|
|
294
294
|
},
|
|
295
295
|
sectionIds: {
|
|
296
296
|
type: "array",
|
|
@@ -299,21 +299,21 @@ function process(ctx, props) {
|
|
|
299
299
|
minimum: 0
|
|
300
300
|
},
|
|
301
301
|
minItems: 1,
|
|
302
|
-
description: "
|
|
302
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls."
|
|
303
303
|
}
|
|
304
304
|
},
|
|
305
305
|
required: [
|
|
306
306
|
"type",
|
|
307
307
|
"sectionIds"
|
|
308
308
|
],
|
|
309
|
-
description: "Request to retrieve
|
|
309
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID."
|
|
310
310
|
},
|
|
311
311
|
IAutoBePreliminaryGetPreviousDatabaseSchemas: {
|
|
312
312
|
type: "object",
|
|
313
313
|
properties: {
|
|
314
314
|
type: {
|
|
315
315
|
"const": "getPreviousDatabaseSchemas",
|
|
316
|
-
description: "Type discriminator
|
|
316
|
+
description: "Type discriminator."
|
|
317
317
|
},
|
|
318
318
|
schemaNames: {
|
|
319
319
|
type: "array",
|
|
@@ -321,21 +321,21 @@ function process(ctx, props) {
|
|
|
321
321
|
type: "string"
|
|
322
322
|
},
|
|
323
323
|
minItems: 1,
|
|
324
|
-
description: "
|
|
324
|
+
description: "Table names to retrieve from previous iteration. DO NOT request same names\nalready requested in previous calls."
|
|
325
325
|
}
|
|
326
326
|
},
|
|
327
327
|
required: [
|
|
328
328
|
"type",
|
|
329
329
|
"schemaNames"
|
|
330
330
|
],
|
|
331
|
-
description: "Request to retrieve database schemas from
|
|
331
|
+
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."
|
|
332
332
|
},
|
|
333
333
|
IAutoBePreliminaryGetPreviousInterfaceOperations: {
|
|
334
334
|
type: "object",
|
|
335
335
|
properties: {
|
|
336
336
|
type: {
|
|
337
337
|
"const": "getPreviousInterfaceOperations",
|
|
338
|
-
description: "Type discriminator
|
|
338
|
+
description: "Type discriminator."
|
|
339
339
|
},
|
|
340
340
|
endpoints: {
|
|
341
341
|
type: "array",
|
|
@@ -343,21 +343,21 @@ function process(ctx, props) {
|
|
|
343
343
|
$ref: "#/components/schemas/AutoBeOpenApi.IEndpoint"
|
|
344
344
|
},
|
|
345
345
|
minItems: 1,
|
|
346
|
-
description: "
|
|
346
|
+
description: "Endpoints to retrieve from previous iteration. DO NOT request same\nendpoints already requested in previous calls."
|
|
347
347
|
}
|
|
348
348
|
},
|
|
349
349
|
required: [
|
|
350
350
|
"type",
|
|
351
351
|
"endpoints"
|
|
352
352
|
],
|
|
353
|
-
description: "Request to retrieve interface operations from
|
|
353
|
+
description: "Request to retrieve interface operations from the previous iteration.\n\nLoads API operation definitions from the last successfully generated version,\nused as reference context during regeneration or modification cycles."
|
|
354
354
|
},
|
|
355
355
|
IAutoBePreliminaryGetPreviousInterfaceSchemas: {
|
|
356
356
|
type: "object",
|
|
357
357
|
properties: {
|
|
358
358
|
type: {
|
|
359
359
|
"const": "getPreviousInterfaceSchemas",
|
|
360
|
-
description: "Type discriminator
|
|
360
|
+
description: "Type discriminator."
|
|
361
361
|
},
|
|
362
362
|
typeNames: {
|
|
363
363
|
type: "array",
|
|
@@ -365,40 +365,40 @@ function process(ctx, props) {
|
|
|
365
365
|
type: "string"
|
|
366
366
|
},
|
|
367
367
|
minItems: 1,
|
|
368
|
-
description: "
|
|
368
|
+
description: "Schema type names to retrieve from previous iteration. DO NOT request same\nnames already requested in previous calls."
|
|
369
369
|
}
|
|
370
370
|
},
|
|
371
371
|
required: [
|
|
372
372
|
"type",
|
|
373
373
|
"typeNames"
|
|
374
374
|
],
|
|
375
|
-
description: "Request to retrieve interface schemas from
|
|
375
|
+
description: "Request to retrieve interface schemas from the previous iteration.\n\nLoads OpenAPI schema definitions (DTOs) from the last successfully generated\nversion, used as reference context during regeneration or modification\ncycles."
|
|
376
376
|
},
|
|
377
377
|
"IAutoBeInterfacePrerequisiteApplication.IComplete": {
|
|
378
378
|
type: "object",
|
|
379
379
|
properties: {
|
|
380
380
|
type: {
|
|
381
381
|
"const": "complete",
|
|
382
|
-
description: "Type discriminator for
|
|
382
|
+
description: "Type discriminator for completion request."
|
|
383
383
|
},
|
|
384
384
|
analysis: {
|
|
385
385
|
type: "string",
|
|
386
|
-
description: "Analysis of the operation's resource dependencies
|
|
386
|
+
description: "Analysis of the operation's resource dependencies."
|
|
387
387
|
},
|
|
388
388
|
rationale: {
|
|
389
389
|
type: "string",
|
|
390
|
-
description: "Rationale for the prerequisite chain decisions
|
|
390
|
+
description: "Rationale for the prerequisite chain decisions."
|
|
391
391
|
},
|
|
392
392
|
endpoint: {
|
|
393
393
|
$ref: "#/components/schemas/AutoBeOpenApi.IEndpoint",
|
|
394
|
-
description: "The API endpoint
|
|
394
|
+
description: "The API endpoint (method + path) being analyzed."
|
|
395
395
|
},
|
|
396
396
|
prerequisites: {
|
|
397
397
|
type: "array",
|
|
398
398
|
items: {
|
|
399
399
|
$ref: "#/components/schemas/AutoBeOpenApi.IPrerequisite"
|
|
400
400
|
},
|
|
401
|
-
description: "Required prerequisite operations
|
|
401
|
+
description: "Required prerequisite operations that must execute before this operation."
|
|
402
402
|
}
|
|
403
403
|
},
|
|
404
404
|
required: [
|
|
@@ -408,25 +408,25 @@ function process(ctx, props) {
|
|
|
408
408
|
"endpoint",
|
|
409
409
|
"prerequisites"
|
|
410
410
|
],
|
|
411
|
-
description: "Request to analyze and generate API operation prerequisites
|
|
411
|
+
description: "Request to analyze and generate API operation prerequisites."
|
|
412
412
|
},
|
|
413
413
|
"AutoBeOpenApi.IPrerequisite": {
|
|
414
414
|
type: "object",
|
|
415
415
|
properties: {
|
|
416
416
|
endpoint: {
|
|
417
417
|
$ref: "#/components/schemas/AutoBeOpenApi.IEndpoint",
|
|
418
|
-
description: "The API endpoint that must be called
|
|
418
|
+
description: "The API endpoint that must be called first."
|
|
419
419
|
},
|
|
420
420
|
description: {
|
|
421
421
|
type: "string",
|
|
422
|
-
description: "
|
|
422
|
+
description: "Why this prerequisite is required (specific condition or state).\n\n> MUST be written in English. Never use other languages."
|
|
423
423
|
}
|
|
424
424
|
},
|
|
425
425
|
required: [
|
|
426
426
|
"endpoint",
|
|
427
427
|
"description"
|
|
428
428
|
],
|
|
429
|
-
description: "Prerequisite API operation
|
|
429
|
+
description: "Prerequisite API operation that must succeed before the main operation.\n\nONLY for business logic dependencies (resource existence, state checks,\ndata availability). NEVER for authentication or authorization -- those are\nhandled via `authorizationActor`.\n\nKeep prerequisite chains minimal. Descriptions should explain WHY the\ndependency is needed."
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
432
|
},
|
|
@@ -437,14 +437,13 @@ function process(ctx, props) {
|
|
|
437
437
|
parameters: [
|
|
438
438
|
{
|
|
439
439
|
name: "props",
|
|
440
|
-
description: " Request containing either preliminary data request or complete\ntask",
|
|
441
440
|
required: true,
|
|
442
441
|
schema: {
|
|
443
442
|
$ref: "#/components/schemas/IAutoBeInterfacePrerequisiteApplication.IProps"
|
|
444
443
|
}
|
|
445
444
|
}
|
|
446
445
|
],
|
|
447
|
-
description: "Process
|
|
446
|
+
description: "Process task or retrieve preliminary data."
|
|
448
447
|
}
|
|
449
448
|
]
|
|
450
449
|
},
|
|
@@ -870,11 +869,11 @@ function createController(props) {
|
|
|
870
869
|
type: "object",
|
|
871
870
|
properties: {
|
|
872
871
|
thinking: {
|
|
873
|
-
description: "
|
|
872
|
+
description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion).",
|
|
874
873
|
type: "string"
|
|
875
874
|
},
|
|
876
875
|
request: {
|
|
877
|
-
description: "
|
|
876
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion.",
|
|
878
877
|
anyOf: [
|
|
879
878
|
{
|
|
880
879
|
$ref: "#/$defs/IAutoBePreliminaryGetAnalysisSections"
|
|
@@ -927,18 +926,18 @@ function createController(props) {
|
|
|
927
926
|
additionalProperties: false,
|
|
928
927
|
$defs: {
|
|
929
928
|
IAutoBePreliminaryGetAnalysisSections: {
|
|
930
|
-
description: "Request to retrieve individual analysis sections by numeric ID
|
|
929
|
+
description: "Request to retrieve individual analysis sections by numeric ID.",
|
|
931
930
|
type: "object",
|
|
932
931
|
properties: {
|
|
933
932
|
type: {
|
|
934
|
-
description: "Type discriminator
|
|
933
|
+
description: "Type discriminator.",
|
|
935
934
|
type: "string",
|
|
936
935
|
"enum": [
|
|
937
936
|
"getAnalysisSections"
|
|
938
937
|
]
|
|
939
938
|
},
|
|
940
939
|
sectionIds: {
|
|
941
|
-
description: "
|
|
940
|
+
description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls.",
|
|
942
941
|
type: "array",
|
|
943
942
|
items: {
|
|
944
943
|
type: "integer",
|
|
@@ -954,18 +953,18 @@ function createController(props) {
|
|
|
954
953
|
]
|
|
955
954
|
},
|
|
956
955
|
IAutoBePreliminaryGetDatabaseSchemas: {
|
|
957
|
-
description: "Request to retrieve database schema definitions for context
|
|
956
|
+
description: "Request to retrieve database schema definitions for context.",
|
|
958
957
|
type: "object",
|
|
959
958
|
properties: {
|
|
960
959
|
type: {
|
|
961
|
-
description: "Type discriminator
|
|
960
|
+
description: "Type discriminator.",
|
|
962
961
|
type: "string",
|
|
963
962
|
"enum": [
|
|
964
963
|
"getDatabaseSchemas"
|
|
965
964
|
]
|
|
966
965
|
},
|
|
967
966
|
schemaNames: {
|
|
968
|
-
description: "
|
|
967
|
+
description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls.",
|
|
969
968
|
type: "array",
|
|
970
969
|
items: {
|
|
971
970
|
type: "string"
|
|
@@ -979,18 +978,18 @@ function createController(props) {
|
|
|
979
978
|
]
|
|
980
979
|
},
|
|
981
980
|
IAutoBePreliminaryGetInterfaceOperations: {
|
|
982
|
-
description: "Request to retrieve existing interface operations for context
|
|
981
|
+
description: "Request to retrieve existing interface operations for context.",
|
|
983
982
|
type: "object",
|
|
984
983
|
properties: {
|
|
985
984
|
type: {
|
|
986
|
-
description: "Type discriminator
|
|
985
|
+
description: "Type discriminator.",
|
|
987
986
|
type: "string",
|
|
988
987
|
"enum": [
|
|
989
988
|
"getInterfaceOperations"
|
|
990
989
|
]
|
|
991
990
|
},
|
|
992
991
|
endpoints: {
|
|
993
|
-
description: "
|
|
992
|
+
description: "API operation endpoints to retrieve. DO NOT request same endpoints already\nrequested in previous calls.",
|
|
994
993
|
type: "array",
|
|
995
994
|
items: {
|
|
996
995
|
$ref: "#/$defs/AutoBeOpenApi.IEndpoint"
|
|
@@ -1008,12 +1007,12 @@ function createController(props) {
|
|
|
1008
1007
|
type: "object",
|
|
1009
1008
|
properties: {
|
|
1010
1009
|
path: {
|
|
1011
|
-
description: "HTTP path of the API operation.\n\
|
|
1010
|
+
description: "HTTP path of the API operation.\n\nMust start with `/`. Parameters use curly braces: `{paramName}`. Resource\nnames in camelCase. No quotes, spaces, role prefixes (`/admin/`), or API\nversion prefixes (`/api/v1/`).\n\nAllowed characters: letters, digits, `/`, `{`, `}`, `-`, `_`, `.`",
|
|
1012
1011
|
type: "string",
|
|
1013
1012
|
pattern: "^\\/[a-zA-Z0-9\\/_{}.-]*$"
|
|
1014
1013
|
},
|
|
1015
1014
|
method: {
|
|
1016
|
-
description: "HTTP method
|
|
1015
|
+
description: "HTTP method (lowercase only).\n\nUse `patch` (not `get`) when a read operation needs a complex\n{@link requestBody}. `get` cannot have a request body.",
|
|
1017
1016
|
type: "string",
|
|
1018
1017
|
"enum": [
|
|
1019
1018
|
"get",
|
|
@@ -1030,18 +1029,18 @@ function createController(props) {
|
|
|
1030
1029
|
]
|
|
1031
1030
|
},
|
|
1032
1031
|
IAutoBePreliminaryGetInterfaceSchemas: {
|
|
1033
|
-
description: "Request to retrieve OpenAPI schema type definitions for context
|
|
1032
|
+
description: "Request to retrieve OpenAPI schema type definitions for context.",
|
|
1034
1033
|
type: "object",
|
|
1035
1034
|
properties: {
|
|
1036
1035
|
type: {
|
|
1037
|
-
description: "Type discriminator
|
|
1036
|
+
description: "Type discriminator.",
|
|
1038
1037
|
type: "string",
|
|
1039
1038
|
"enum": [
|
|
1040
1039
|
"getInterfaceSchemas"
|
|
1041
1040
|
]
|
|
1042
1041
|
},
|
|
1043
1042
|
typeNames: {
|
|
1044
|
-
description: "
|
|
1043
|
+
description: "Schema type names to retrieve. DO NOT request same names already requested\nin previous calls.",
|
|
1045
1044
|
type: "array",
|
|
1046
1045
|
items: {
|
|
1047
1046
|
type: "string"
|
|
@@ -1055,18 +1054,18 @@ function createController(props) {
|
|
|
1055
1054
|
]
|
|
1056
1055
|
},
|
|
1057
1056
|
IAutoBePreliminaryGetPreviousAnalysisSections: {
|
|
1058
|
-
description: "Request to retrieve
|
|
1057
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID.",
|
|
1059
1058
|
type: "object",
|
|
1060
1059
|
properties: {
|
|
1061
1060
|
type: {
|
|
1062
|
-
description: "Type discriminator
|
|
1061
|
+
description: "Type discriminator.",
|
|
1063
1062
|
type: "string",
|
|
1064
1063
|
"enum": [
|
|
1065
1064
|
"getPreviousAnalysisSections"
|
|
1066
1065
|
]
|
|
1067
1066
|
},
|
|
1068
1067
|
sectionIds: {
|
|
1069
|
-
description: "
|
|
1068
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls.",
|
|
1070
1069
|
type: "array",
|
|
1071
1070
|
items: {
|
|
1072
1071
|
type: "integer",
|
|
@@ -1081,18 +1080,18 @@ function createController(props) {
|
|
|
1081
1080
|
]
|
|
1082
1081
|
},
|
|
1083
1082
|
IAutoBePreliminaryGetPreviousDatabaseSchemas: {
|
|
1084
|
-
description: "Request to retrieve database schemas from
|
|
1083
|
+
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.",
|
|
1085
1084
|
type: "object",
|
|
1086
1085
|
properties: {
|
|
1087
1086
|
type: {
|
|
1088
|
-
description: "Type discriminator
|
|
1087
|
+
description: "Type discriminator.",
|
|
1089
1088
|
type: "string",
|
|
1090
1089
|
"enum": [
|
|
1091
1090
|
"getPreviousDatabaseSchemas"
|
|
1092
1091
|
]
|
|
1093
1092
|
},
|
|
1094
1093
|
schemaNames: {
|
|
1095
|
-
description: "
|
|
1094
|
+
description: "Table names to retrieve from previous iteration. DO NOT request same names\nalready requested in previous calls.",
|
|
1096
1095
|
type: "array",
|
|
1097
1096
|
items: {
|
|
1098
1097
|
type: "string"
|
|
@@ -1106,18 +1105,18 @@ function createController(props) {
|
|
|
1106
1105
|
]
|
|
1107
1106
|
},
|
|
1108
1107
|
IAutoBePreliminaryGetPreviousInterfaceOperations: {
|
|
1109
|
-
description: "Request to retrieve interface operations from
|
|
1108
|
+
description: "Request to retrieve interface operations from the previous iteration.\n\nLoads API operation definitions from the last successfully generated version,\nused as reference context during regeneration or modification cycles.",
|
|
1110
1109
|
type: "object",
|
|
1111
1110
|
properties: {
|
|
1112
1111
|
type: {
|
|
1113
|
-
description: "Type discriminator
|
|
1112
|
+
description: "Type discriminator.",
|
|
1114
1113
|
type: "string",
|
|
1115
1114
|
"enum": [
|
|
1116
1115
|
"getPreviousInterfaceOperations"
|
|
1117
1116
|
]
|
|
1118
1117
|
},
|
|
1119
1118
|
endpoints: {
|
|
1120
|
-
description: "
|
|
1119
|
+
description: "Endpoints to retrieve from previous iteration. DO NOT request same\nendpoints already requested in previous calls.",
|
|
1121
1120
|
type: "array",
|
|
1122
1121
|
items: {
|
|
1123
1122
|
$ref: "#/$defs/AutoBeOpenApi.IEndpoint"
|
|
@@ -1131,18 +1130,18 @@ function createController(props) {
|
|
|
1131
1130
|
]
|
|
1132
1131
|
},
|
|
1133
1132
|
IAutoBePreliminaryGetPreviousInterfaceSchemas: {
|
|
1134
|
-
description: "Request to retrieve interface schemas from
|
|
1133
|
+
description: "Request to retrieve interface schemas from the previous iteration.\n\nLoads OpenAPI schema definitions (DTOs) from the last successfully generated\nversion, used as reference context during regeneration or modification\ncycles.",
|
|
1135
1134
|
type: "object",
|
|
1136
1135
|
properties: {
|
|
1137
1136
|
type: {
|
|
1138
|
-
description: "Type discriminator
|
|
1137
|
+
description: "Type discriminator.",
|
|
1139
1138
|
type: "string",
|
|
1140
1139
|
"enum": [
|
|
1141
1140
|
"getPreviousInterfaceSchemas"
|
|
1142
1141
|
]
|
|
1143
1142
|
},
|
|
1144
1143
|
typeNames: {
|
|
1145
|
-
description: "
|
|
1144
|
+
description: "Schema type names to retrieve from previous iteration. DO NOT request same\nnames already requested in previous calls.",
|
|
1146
1145
|
type: "array",
|
|
1147
1146
|
items: {
|
|
1148
1147
|
type: "string"
|
|
@@ -1156,30 +1155,30 @@ function createController(props) {
|
|
|
1156
1155
|
]
|
|
1157
1156
|
},
|
|
1158
1157
|
"IAutoBeInterfacePrerequisiteApplication.IComplete": {
|
|
1159
|
-
description: "Request to analyze and generate API operation prerequisites
|
|
1158
|
+
description: "Request to analyze and generate API operation prerequisites.",
|
|
1160
1159
|
type: "object",
|
|
1161
1160
|
properties: {
|
|
1162
1161
|
type: {
|
|
1163
|
-
description: "Type discriminator for
|
|
1162
|
+
description: "Type discriminator for completion request.",
|
|
1164
1163
|
type: "string",
|
|
1165
1164
|
"enum": [
|
|
1166
1165
|
"complete"
|
|
1167
1166
|
]
|
|
1168
1167
|
},
|
|
1169
1168
|
analysis: {
|
|
1170
|
-
description: "Analysis of the operation's resource dependencies
|
|
1169
|
+
description: "Analysis of the operation's resource dependencies.",
|
|
1171
1170
|
type: "string"
|
|
1172
1171
|
},
|
|
1173
1172
|
rationale: {
|
|
1174
|
-
description: "Rationale for the prerequisite chain decisions
|
|
1173
|
+
description: "Rationale for the prerequisite chain decisions.",
|
|
1175
1174
|
type: "string"
|
|
1176
1175
|
},
|
|
1177
1176
|
endpoint: {
|
|
1178
|
-
description: "The API endpoint
|
|
1177
|
+
description: "The API endpoint (method + path) being analyzed.",
|
|
1179
1178
|
$ref: "#/$defs/AutoBeOpenApi.IEndpoint"
|
|
1180
1179
|
},
|
|
1181
1180
|
prerequisites: {
|
|
1182
|
-
description: "Required prerequisite operations
|
|
1181
|
+
description: "Required prerequisite operations that must execute before this operation.",
|
|
1183
1182
|
type: "array",
|
|
1184
1183
|
items: {
|
|
1185
1184
|
$ref: "#/$defs/AutoBeOpenApi.IPrerequisite"
|
|
@@ -1195,15 +1194,15 @@ function createController(props) {
|
|
|
1195
1194
|
]
|
|
1196
1195
|
},
|
|
1197
1196
|
"AutoBeOpenApi.IPrerequisite": {
|
|
1198
|
-
description: "Prerequisite API operation
|
|
1197
|
+
description: "Prerequisite API operation that must succeed before the main operation.\n\nONLY for business logic dependencies (resource existence, state checks,\ndata availability). NEVER for authentication or authorization -- those are\nhandled via `authorizationActor`.\n\nKeep prerequisite chains minimal. Descriptions should explain WHY the\ndependency is needed.",
|
|
1199
1198
|
type: "object",
|
|
1200
1199
|
properties: {
|
|
1201
1200
|
endpoint: {
|
|
1202
|
-
description: "The API endpoint that must be called
|
|
1201
|
+
description: "The API endpoint that must be called first.",
|
|
1203
1202
|
$ref: "#/$defs/AutoBeOpenApi.IEndpoint"
|
|
1204
1203
|
},
|
|
1205
1204
|
description: {
|
|
1206
|
-
description: "
|
|
1205
|
+
description: "Why this prerequisite is required (specific condition or state).\n\n> MUST be written in English. Never use other languages.",
|
|
1207
1206
|
type: "string"
|
|
1208
1207
|
}
|
|
1209
1208
|
},
|
|
@@ -1214,7 +1213,7 @@ function createController(props) {
|
|
|
1214
1213
|
}
|
|
1215
1214
|
}
|
|
1216
1215
|
},
|
|
1217
|
-
description: "Process
|
|
1216
|
+
description: "Process task or retrieve preliminary data.",
|
|
1218
1217
|
validate: (() => { const _io0 = input => "string" === typeof input.thinking && ("object" === typeof input.request && null !== input.request && _iu0(input.request)); const _io1 = input => "getAnalysisSections" === input.type && (Array.isArray(input.sectionIds) && (1 <= input.sectionIds.length && input.sectionIds.length <= 100 && input.sectionIds.every(elem => "number" === typeof elem && __typia_transform__isTypeUint32._isTypeUint32(elem)))); const _io2 = input => "getDatabaseSchemas" === input.type && (Array.isArray(input.schemaNames) && (1 <= input.schemaNames.length && input.schemaNames.every(elem => "string" === typeof elem))); const _io3 = input => "getInterfaceOperations" === input.type && (Array.isArray(input.endpoints) && (1 <= input.endpoints.length && input.endpoints.every(elem => "object" === typeof elem && null !== elem && _io4(elem)))); const _io4 = input => "string" === typeof input.path && RegExp("^\\/[a-zA-Z0-9\\/_{}.-]*$").test(input.path) && ("get" === input.method || "post" === input.method || "put" === input.method || "delete" === input.method || "patch" === input.method); const _io5 = input => "getInterfaceSchemas" === input.type && (Array.isArray(input.typeNames) && (1 <= input.typeNames.length && input.typeNames.every(elem => "string" === typeof elem))); const _io6 = input => "getPreviousAnalysisSections" === input.type && (Array.isArray(input.sectionIds) && (1 <= input.sectionIds.length && input.sectionIds.every(elem => "number" === typeof elem && __typia_transform__isTypeUint32._isTypeUint32(elem)))); const _io7 = input => "getPreviousDatabaseSchemas" === input.type && (Array.isArray(input.schemaNames) && (1 <= input.schemaNames.length && input.schemaNames.every(elem => "string" === typeof elem))); const _io8 = input => "getPreviousInterfaceOperations" === input.type && (Array.isArray(input.endpoints) && (1 <= input.endpoints.length && input.endpoints.every(elem => "object" === typeof elem && null !== elem && _io4(elem)))); const _io9 = input => "getPreviousInterfaceSchemas" === input.type && (Array.isArray(input.typeNames) && (1 <= input.typeNames.length && input.typeNames.every(elem => "string" === typeof elem))); const _io10 = input => "complete" === input.type && "string" === typeof input.analysis && "string" === typeof input.rationale && ("object" === typeof input.endpoint && null !== input.endpoint && _io4(input.endpoint)) && (Array.isArray(input.prerequisites) && input.prerequisites.every(elem => "object" === typeof elem && null !== elem && _io11(elem))); const _io11 = input => "object" === typeof input.endpoint && null !== input.endpoint && _io4(input.endpoint) && "string" === typeof input.description; const _iu0 = input => (() => {
|
|
1219
1218
|
if ("getAnalysisSections" === input.type)
|
|
1220
1219
|
return _io1(input);
|