@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.
- 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/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/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/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/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
|
@@ -80,7 +80,7 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
80
80
|
properties: {
|
|
81
81
|
thinking: {
|
|
82
82
|
type: "string",
|
|
83
|
-
description: "
|
|
83
|
+
description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion)."
|
|
84
84
|
},
|
|
85
85
|
request: {
|
|
86
86
|
oneOf: [
|
|
@@ -114,7 +114,7 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
114
114
|
complete: "#/components/schemas/IAutoBeInterfaceEndpointReviewApplication.IComplete"
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
|
-
description: "
|
|
117
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion."
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
required: [
|
|
@@ -127,7 +127,7 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
127
127
|
properties: {
|
|
128
128
|
type: {
|
|
129
129
|
"const": "getAnalysisSections",
|
|
130
|
-
description: "Type discriminator
|
|
130
|
+
description: "Type discriminator."
|
|
131
131
|
},
|
|
132
132
|
sectionIds: {
|
|
133
133
|
type: "array",
|
|
@@ -137,21 +137,21 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
137
137
|
},
|
|
138
138
|
minItems: 1,
|
|
139
139
|
maxItems: 100,
|
|
140
|
-
description: "
|
|
140
|
+
description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls."
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
required: [
|
|
144
144
|
"type",
|
|
145
145
|
"sectionIds"
|
|
146
146
|
],
|
|
147
|
-
description: "Request to retrieve individual analysis sections by numeric ID
|
|
147
|
+
description: "Request to retrieve individual analysis sections by numeric ID."
|
|
148
148
|
},
|
|
149
149
|
IAutoBePreliminaryGetDatabaseSchemas: {
|
|
150
150
|
type: "object",
|
|
151
151
|
properties: {
|
|
152
152
|
type: {
|
|
153
153
|
"const": "getDatabaseSchemas",
|
|
154
|
-
description: "Type discriminator
|
|
154
|
+
description: "Type discriminator."
|
|
155
155
|
},
|
|
156
156
|
schemaNames: {
|
|
157
157
|
type: "array",
|
|
@@ -159,21 +159,21 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
159
159
|
type: "string"
|
|
160
160
|
},
|
|
161
161
|
minItems: 1,
|
|
162
|
-
description: "
|
|
162
|
+
description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls."
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
required: [
|
|
166
166
|
"type",
|
|
167
167
|
"schemaNames"
|
|
168
168
|
],
|
|
169
|
-
description: "Request to retrieve database schema definitions for context
|
|
169
|
+
description: "Request to retrieve database schema definitions for context."
|
|
170
170
|
},
|
|
171
171
|
IAutoBePreliminaryGetPreviousAnalysisSections: {
|
|
172
172
|
type: "object",
|
|
173
173
|
properties: {
|
|
174
174
|
type: {
|
|
175
175
|
"const": "getPreviousAnalysisSections",
|
|
176
|
-
description: "Type discriminator
|
|
176
|
+
description: "Type discriminator."
|
|
177
177
|
},
|
|
178
178
|
sectionIds: {
|
|
179
179
|
type: "array",
|
|
@@ -182,21 +182,21 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
182
182
|
minimum: 0
|
|
183
183
|
},
|
|
184
184
|
minItems: 1,
|
|
185
|
-
description: "
|
|
185
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls."
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
188
|
required: [
|
|
189
189
|
"type",
|
|
190
190
|
"sectionIds"
|
|
191
191
|
],
|
|
192
|
-
description: "Request to retrieve
|
|
192
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID."
|
|
193
193
|
},
|
|
194
194
|
IAutoBePreliminaryGetPreviousDatabaseSchemas: {
|
|
195
195
|
type: "object",
|
|
196
196
|
properties: {
|
|
197
197
|
type: {
|
|
198
198
|
"const": "getPreviousDatabaseSchemas",
|
|
199
|
-
description: "Type discriminator
|
|
199
|
+
description: "Type discriminator."
|
|
200
200
|
},
|
|
201
201
|
schemaNames: {
|
|
202
202
|
type: "array",
|
|
@@ -204,21 +204,21 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
204
204
|
type: "string"
|
|
205
205
|
},
|
|
206
206
|
minItems: 1,
|
|
207
|
-
description: "
|
|
207
|
+
description: "Table names to retrieve from previous iteration. DO NOT request same names\nalready requested in previous calls."
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
210
|
required: [
|
|
211
211
|
"type",
|
|
212
212
|
"schemaNames"
|
|
213
213
|
],
|
|
214
|
-
description: "Request to retrieve database schemas from
|
|
214
|
+
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."
|
|
215
215
|
},
|
|
216
216
|
IAutoBePreliminaryGetPreviousInterfaceOperations: {
|
|
217
217
|
type: "object",
|
|
218
218
|
properties: {
|
|
219
219
|
type: {
|
|
220
220
|
"const": "getPreviousInterfaceOperations",
|
|
221
|
-
description: "Type discriminator
|
|
221
|
+
description: "Type discriminator."
|
|
222
222
|
},
|
|
223
223
|
endpoints: {
|
|
224
224
|
type: "array",
|
|
@@ -226,14 +226,14 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
226
226
|
$ref: "#/components/schemas/AutoBeOpenApi.IEndpoint"
|
|
227
227
|
},
|
|
228
228
|
minItems: 1,
|
|
229
|
-
description: "
|
|
229
|
+
description: "Endpoints to retrieve from previous iteration. DO NOT request same\nendpoints already requested in previous calls."
|
|
230
230
|
}
|
|
231
231
|
},
|
|
232
232
|
required: [
|
|
233
233
|
"type",
|
|
234
234
|
"endpoints"
|
|
235
235
|
],
|
|
236
|
-
description: "Request to retrieve interface operations from
|
|
236
|
+
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."
|
|
237
237
|
},
|
|
238
238
|
"AutoBeOpenApi.IEndpoint": {
|
|
239
239
|
type: "object",
|
|
@@ -241,7 +241,7 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
241
241
|
path: {
|
|
242
242
|
type: "string",
|
|
243
243
|
pattern: "^\\/[a-zA-Z0-9\\/_{}.-]*$",
|
|
244
|
-
description: "HTTP path of the API operation.\n\
|
|
244
|
+
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, `/`, `{`, `}`, `-`, `_`, `.`"
|
|
245
245
|
},
|
|
246
246
|
method: {
|
|
247
247
|
oneOf: [
|
|
@@ -261,7 +261,7 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
261
261
|
"const": "patch"
|
|
262
262
|
}
|
|
263
263
|
],
|
|
264
|
-
description: "HTTP method
|
|
264
|
+
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."
|
|
265
265
|
}
|
|
266
266
|
},
|
|
267
267
|
required: [
|
|
@@ -275,18 +275,18 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
275
275
|
properties: {
|
|
276
276
|
type: {
|
|
277
277
|
"const": "complete",
|
|
278
|
-
description: "Type discriminator for
|
|
278
|
+
description: "Type discriminator for completion request."
|
|
279
279
|
},
|
|
280
280
|
review: {
|
|
281
281
|
type: "string",
|
|
282
|
-
description: "Summary of issues found and fixes applied
|
|
282
|
+
description: "Summary of issues found and fixes applied. State \"No issues found.\" if\nall pass."
|
|
283
283
|
},
|
|
284
284
|
revises: {
|
|
285
285
|
type: "array",
|
|
286
286
|
items: {
|
|
287
287
|
$ref: "#/components/schemas/AutoBeInterfaceEndpointRevise"
|
|
288
288
|
},
|
|
289
|
-
description: "Revision decisions for ALL endpoints
|
|
289
|
+
description: "Revision decisions for ALL endpoints. One revision per endpoint, no\nomissions. The endpoint field in keep/update/erase must exactly match a\nprovided endpoint (path + method)."
|
|
290
290
|
}
|
|
291
291
|
},
|
|
292
292
|
required: [
|
|
@@ -294,7 +294,7 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
294
294
|
"review",
|
|
295
295
|
"revises"
|
|
296
296
|
],
|
|
297
|
-
description: "
|
|
297
|
+
description: "Complete endpoint review with revision decisions (keep/create/update/erase)\nfor ALL endpoints."
|
|
298
298
|
},
|
|
299
299
|
AutoBeInterfaceEndpointRevise: {
|
|
300
300
|
oneOf: [
|
|
@@ -320,18 +320,18 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
320
320
|
update: "#/components/schemas/AutoBeInterfaceEndpointUpdate"
|
|
321
321
|
}
|
|
322
322
|
},
|
|
323
|
-
description: "Endpoint revision
|
|
323
|
+
description: "Endpoint revision: keep | create | update | erase.\n\nEvery endpoint in the review list MUST have a revision \u2014 no omissions."
|
|
324
324
|
},
|
|
325
325
|
AutoBeInterfaceEndpointCreate: {
|
|
326
326
|
type: "object",
|
|
327
327
|
properties: {
|
|
328
328
|
reason: {
|
|
329
329
|
type: "string",
|
|
330
|
-
description: "
|
|
330
|
+
description: "Why this endpoint is needed."
|
|
331
331
|
},
|
|
332
332
|
type: {
|
|
333
333
|
"const": "create",
|
|
334
|
-
description: "Type discriminator
|
|
334
|
+
description: "Type discriminator."
|
|
335
335
|
},
|
|
336
336
|
design: {
|
|
337
337
|
$ref: "#/components/schemas/AutoBeInterfaceEndpointDesign",
|
|
@@ -343,14 +343,14 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
343
343
|
"type",
|
|
344
344
|
"design"
|
|
345
345
|
],
|
|
346
|
-
description: "
|
|
346
|
+
description: "Add a missing endpoint."
|
|
347
347
|
},
|
|
348
348
|
AutoBeInterfaceEndpointDesign: {
|
|
349
349
|
type: "object",
|
|
350
350
|
properties: {
|
|
351
351
|
description: {
|
|
352
352
|
type: "string",
|
|
353
|
-
description: "
|
|
353
|
+
description: "Functional description of what this endpoint does and why. Keep concise."
|
|
354
354
|
},
|
|
355
355
|
authorizationActors: {
|
|
356
356
|
type: "array",
|
|
@@ -359,7 +359,7 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
359
359
|
pattern: "^[a-z][a-zA-Z0-9]*$",
|
|
360
360
|
minLength: 1
|
|
361
361
|
},
|
|
362
|
-
description: "Authorization actors associated with this
|
|
362
|
+
description: "Authorization actors associated with this endpoint (camelCase).\n\nInclude an actor if it can call this endpoint or the endpoint is\nsemantically related to it (e.g., `/auth/users/login` \u2192 `[\"user\"]`). Empty\narray for public endpoints.\n\nEach actor may generate a separate endpoint \u2014 minimize to prevent endpoint\nexplosion."
|
|
363
363
|
},
|
|
364
364
|
authorizationType: {
|
|
365
365
|
oneOf: [
|
|
@@ -388,7 +388,7 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
388
388
|
"const": "management"
|
|
389
389
|
}
|
|
390
390
|
],
|
|
391
|
-
description: "Authorization type of the
|
|
391
|
+
description: "Authorization type of the endpoint.\n\n- `\"login\"`: Credential validation\n- `\"join\"`: Account registration\n- `\"withdraw\"`: Account deactivation\n- `\"refresh\"`: Token renewal\n- `\"session\"`: Session management (logout, etc.)\n- `\"password\"`: Password reset/change\n- `\"management\"`: Other auth-related (2FA, OAuth, verification)\n- `null`: All other endpoints"
|
|
392
392
|
},
|
|
393
393
|
endpoint: {
|
|
394
394
|
$ref: "#/components/schemas/AutoBeOpenApi.IEndpoint",
|
|
@@ -401,22 +401,22 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
401
401
|
"authorizationType",
|
|
402
402
|
"endpoint"
|
|
403
403
|
],
|
|
404
|
-
description: "Endpoint design with description and
|
|
404
|
+
description: "Endpoint design with description, authorization, and endpoint definition."
|
|
405
405
|
},
|
|
406
406
|
AutoBeInterfaceEndpointErase: {
|
|
407
407
|
type: "object",
|
|
408
408
|
properties: {
|
|
409
409
|
reason: {
|
|
410
410
|
type: "string",
|
|
411
|
-
description: "
|
|
411
|
+
description: "Why this endpoint should be removed."
|
|
412
412
|
},
|
|
413
413
|
endpoint: {
|
|
414
414
|
$ref: "#/components/schemas/AutoBeOpenApi.IEndpoint",
|
|
415
|
-
description: "
|
|
415
|
+
description: "Endpoint to remove. MUST match exactly (path + method) from the provided\nreview list."
|
|
416
416
|
},
|
|
417
417
|
type: {
|
|
418
418
|
"const": "erase",
|
|
419
|
-
description: "Type discriminator
|
|
419
|
+
description: "Type discriminator."
|
|
420
420
|
}
|
|
421
421
|
},
|
|
422
422
|
required: [
|
|
@@ -424,22 +424,22 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
424
424
|
"endpoint",
|
|
425
425
|
"type"
|
|
426
426
|
],
|
|
427
|
-
description: "
|
|
427
|
+
description: "Remove an invalid or duplicate endpoint."
|
|
428
428
|
},
|
|
429
429
|
AutoBeInterfaceEndpointKeep: {
|
|
430
430
|
type: "object",
|
|
431
431
|
properties: {
|
|
432
432
|
reason: {
|
|
433
433
|
type: "string",
|
|
434
|
-
description: "
|
|
434
|
+
description: "Why this endpoint is correct and needs no changes."
|
|
435
435
|
},
|
|
436
436
|
endpoint: {
|
|
437
437
|
$ref: "#/components/schemas/AutoBeOpenApi.IEndpoint",
|
|
438
|
-
description: "
|
|
438
|
+
description: "Endpoint to keep. MUST match exactly (path + method) from the provided\nreview list."
|
|
439
439
|
},
|
|
440
440
|
type: {
|
|
441
441
|
"const": "keep",
|
|
442
|
-
description: "Type discriminator
|
|
442
|
+
description: "Type discriminator."
|
|
443
443
|
}
|
|
444
444
|
},
|
|
445
445
|
required: [
|
|
@@ -447,26 +447,26 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
447
447
|
"endpoint",
|
|
448
448
|
"type"
|
|
449
449
|
],
|
|
450
|
-
description: "
|
|
450
|
+
description: "Approve an endpoint as correctly designed.\n\nEvery endpoint in the review list MUST have a revision \u2014 use `keep` for\ncorrect ones rather than omitting them."
|
|
451
451
|
},
|
|
452
452
|
AutoBeInterfaceEndpointUpdate: {
|
|
453
453
|
type: "object",
|
|
454
454
|
properties: {
|
|
455
455
|
reason: {
|
|
456
456
|
type: "string",
|
|
457
|
-
description: "
|
|
457
|
+
description: "Why this fix is needed."
|
|
458
458
|
},
|
|
459
459
|
endpoint: {
|
|
460
460
|
$ref: "#/components/schemas/AutoBeOpenApi.IEndpoint",
|
|
461
|
-
description: "
|
|
461
|
+
description: "Original endpoint to modify. MUST match exactly (path + method) from the\nprovided review list."
|
|
462
462
|
},
|
|
463
463
|
type: {
|
|
464
464
|
"const": "update",
|
|
465
|
-
description: "Type discriminator
|
|
465
|
+
description: "Type discriminator."
|
|
466
466
|
},
|
|
467
467
|
newDesign: {
|
|
468
468
|
$ref: "#/components/schemas/AutoBeInterfaceEndpointDesign",
|
|
469
|
-
description: "
|
|
469
|
+
description: "Corrected endpoint definition."
|
|
470
470
|
}
|
|
471
471
|
},
|
|
472
472
|
required: [
|
|
@@ -475,7 +475,7 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
475
475
|
"type",
|
|
476
476
|
"newDesign"
|
|
477
477
|
],
|
|
478
|
-
description: "
|
|
478
|
+
description: "Fix an incorrectly structured endpoint (path/method corrections)."
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
481
|
},
|
|
@@ -486,14 +486,13 @@ const orchestrateInterfaceEndpointReview = (ctx, props) => __awaiter(void 0, voi
|
|
|
486
486
|
parameters: [
|
|
487
487
|
{
|
|
488
488
|
name: "props",
|
|
489
|
-
description: " Request containing either preliminary data request or endpoint\nreview completion",
|
|
490
489
|
required: true,
|
|
491
490
|
schema: {
|
|
492
491
|
$ref: "#/components/schemas/IAutoBeInterfaceEndpointReviewApplication.IProps"
|
|
493
492
|
}
|
|
494
493
|
}
|
|
495
494
|
],
|
|
496
|
-
description: "Process
|
|
495
|
+
description: "Process task or retrieve preliminary data. Every endpoint MUST receive a\nrevision decision."
|
|
497
496
|
}
|
|
498
497
|
]
|
|
499
498
|
},
|
|
@@ -948,11 +947,11 @@ const createController = (props) => {
|
|
|
948
947
|
type: "object",
|
|
949
948
|
properties: {
|
|
950
949
|
thinking: {
|
|
951
|
-
description: "
|
|
950
|
+
description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion).",
|
|
952
951
|
type: "string"
|
|
953
952
|
},
|
|
954
953
|
request: {
|
|
955
|
-
description: "
|
|
954
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion.",
|
|
956
955
|
anyOf: [
|
|
957
956
|
{
|
|
958
957
|
$ref: "#/$defs/IAutoBePreliminaryGetAnalysisSections"
|
|
@@ -993,18 +992,18 @@ const createController = (props) => {
|
|
|
993
992
|
additionalProperties: false,
|
|
994
993
|
$defs: {
|
|
995
994
|
IAutoBePreliminaryGetAnalysisSections: {
|
|
996
|
-
description: "Request to retrieve individual analysis sections by numeric ID
|
|
995
|
+
description: "Request to retrieve individual analysis sections by numeric ID.",
|
|
997
996
|
type: "object",
|
|
998
997
|
properties: {
|
|
999
998
|
type: {
|
|
1000
|
-
description: "Type discriminator
|
|
999
|
+
description: "Type discriminator.",
|
|
1001
1000
|
type: "string",
|
|
1002
1001
|
"enum": [
|
|
1003
1002
|
"getAnalysisSections"
|
|
1004
1003
|
]
|
|
1005
1004
|
},
|
|
1006
1005
|
sectionIds: {
|
|
1007
|
-
description: "
|
|
1006
|
+
description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls.",
|
|
1008
1007
|
type: "array",
|
|
1009
1008
|
items: {
|
|
1010
1009
|
type: "integer",
|
|
@@ -1020,18 +1019,18 @@ const createController = (props) => {
|
|
|
1020
1019
|
]
|
|
1021
1020
|
},
|
|
1022
1021
|
IAutoBePreliminaryGetDatabaseSchemas: {
|
|
1023
|
-
description: "Request to retrieve database schema definitions for context
|
|
1022
|
+
description: "Request to retrieve database schema definitions for context.",
|
|
1024
1023
|
type: "object",
|
|
1025
1024
|
properties: {
|
|
1026
1025
|
type: {
|
|
1027
|
-
description: "Type discriminator
|
|
1026
|
+
description: "Type discriminator.",
|
|
1028
1027
|
type: "string",
|
|
1029
1028
|
"enum": [
|
|
1030
1029
|
"getDatabaseSchemas"
|
|
1031
1030
|
]
|
|
1032
1031
|
},
|
|
1033
1032
|
schemaNames: {
|
|
1034
|
-
description: "
|
|
1033
|
+
description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls.",
|
|
1035
1034
|
type: "array",
|
|
1036
1035
|
items: {
|
|
1037
1036
|
type: "string"
|
|
@@ -1045,18 +1044,18 @@ const createController = (props) => {
|
|
|
1045
1044
|
]
|
|
1046
1045
|
},
|
|
1047
1046
|
IAutoBePreliminaryGetPreviousAnalysisSections: {
|
|
1048
|
-
description: "Request to retrieve
|
|
1047
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID.",
|
|
1049
1048
|
type: "object",
|
|
1050
1049
|
properties: {
|
|
1051
1050
|
type: {
|
|
1052
|
-
description: "Type discriminator
|
|
1051
|
+
description: "Type discriminator.",
|
|
1053
1052
|
type: "string",
|
|
1054
1053
|
"enum": [
|
|
1055
1054
|
"getPreviousAnalysisSections"
|
|
1056
1055
|
]
|
|
1057
1056
|
},
|
|
1058
1057
|
sectionIds: {
|
|
1059
|
-
description: "
|
|
1058
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls.",
|
|
1060
1059
|
type: "array",
|
|
1061
1060
|
items: {
|
|
1062
1061
|
type: "integer",
|
|
@@ -1071,18 +1070,18 @@ const createController = (props) => {
|
|
|
1071
1070
|
]
|
|
1072
1071
|
},
|
|
1073
1072
|
IAutoBePreliminaryGetPreviousDatabaseSchemas: {
|
|
1074
|
-
description: "Request to retrieve database schemas from
|
|
1073
|
+
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.",
|
|
1075
1074
|
type: "object",
|
|
1076
1075
|
properties: {
|
|
1077
1076
|
type: {
|
|
1078
|
-
description: "Type discriminator
|
|
1077
|
+
description: "Type discriminator.",
|
|
1079
1078
|
type: "string",
|
|
1080
1079
|
"enum": [
|
|
1081
1080
|
"getPreviousDatabaseSchemas"
|
|
1082
1081
|
]
|
|
1083
1082
|
},
|
|
1084
1083
|
schemaNames: {
|
|
1085
|
-
description: "
|
|
1084
|
+
description: "Table names to retrieve from previous iteration. DO NOT request same names\nalready requested in previous calls.",
|
|
1086
1085
|
type: "array",
|
|
1087
1086
|
items: {
|
|
1088
1087
|
type: "string"
|
|
@@ -1096,18 +1095,18 @@ const createController = (props) => {
|
|
|
1096
1095
|
]
|
|
1097
1096
|
},
|
|
1098
1097
|
IAutoBePreliminaryGetPreviousInterfaceOperations: {
|
|
1099
|
-
description: "Request to retrieve interface operations from
|
|
1098
|
+
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.",
|
|
1100
1099
|
type: "object",
|
|
1101
1100
|
properties: {
|
|
1102
1101
|
type: {
|
|
1103
|
-
description: "Type discriminator
|
|
1102
|
+
description: "Type discriminator.",
|
|
1104
1103
|
type: "string",
|
|
1105
1104
|
"enum": [
|
|
1106
1105
|
"getPreviousInterfaceOperations"
|
|
1107
1106
|
]
|
|
1108
1107
|
},
|
|
1109
1108
|
endpoints: {
|
|
1110
|
-
description: "
|
|
1109
|
+
description: "Endpoints to retrieve from previous iteration. DO NOT request same\nendpoints already requested in previous calls.",
|
|
1111
1110
|
type: "array",
|
|
1112
1111
|
items: {
|
|
1113
1112
|
$ref: "#/$defs/AutoBeOpenApi.IEndpoint"
|
|
@@ -1125,12 +1124,12 @@ const createController = (props) => {
|
|
|
1125
1124
|
type: "object",
|
|
1126
1125
|
properties: {
|
|
1127
1126
|
path: {
|
|
1128
|
-
description: "HTTP path of the API operation.\n\
|
|
1127
|
+
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, `/`, `{`, `}`, `-`, `_`, `.`",
|
|
1129
1128
|
type: "string",
|
|
1130
1129
|
pattern: "^\\/[a-zA-Z0-9\\/_{}.-]*$"
|
|
1131
1130
|
},
|
|
1132
1131
|
method: {
|
|
1133
|
-
description: "HTTP method
|
|
1132
|
+
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.",
|
|
1134
1133
|
type: "string",
|
|
1135
1134
|
"enum": [
|
|
1136
1135
|
"get",
|
|
@@ -1147,22 +1146,22 @@ const createController = (props) => {
|
|
|
1147
1146
|
]
|
|
1148
1147
|
},
|
|
1149
1148
|
"IAutoBeInterfaceEndpointReviewApplication.IComplete": {
|
|
1150
|
-
description: "
|
|
1149
|
+
description: "Complete endpoint review with revision decisions (keep/create/update/erase)\nfor ALL endpoints.",
|
|
1151
1150
|
type: "object",
|
|
1152
1151
|
properties: {
|
|
1153
1152
|
type: {
|
|
1154
|
-
description: "Type discriminator for
|
|
1153
|
+
description: "Type discriminator for completion request.",
|
|
1155
1154
|
type: "string",
|
|
1156
1155
|
"enum": [
|
|
1157
1156
|
"complete"
|
|
1158
1157
|
]
|
|
1159
1158
|
},
|
|
1160
1159
|
review: {
|
|
1161
|
-
description: "Summary of issues found and fixes applied
|
|
1160
|
+
description: "Summary of issues found and fixes applied. State \"No issues found.\" if\nall pass.",
|
|
1162
1161
|
type: "string"
|
|
1163
1162
|
},
|
|
1164
1163
|
revises: {
|
|
1165
|
-
description: "Revision decisions for ALL endpoints
|
|
1164
|
+
description: "Revision decisions for ALL endpoints. One revision per endpoint, no\nomissions. The endpoint field in keep/update/erase must exactly match a\nprovided endpoint (path + method).",
|
|
1166
1165
|
type: "array",
|
|
1167
1166
|
items: {
|
|
1168
1167
|
$ref: "#/$defs/AutoBeInterfaceEndpointRevise"
|
|
@@ -1176,7 +1175,7 @@ const createController = (props) => {
|
|
|
1176
1175
|
]
|
|
1177
1176
|
},
|
|
1178
1177
|
AutoBeInterfaceEndpointRevise: {
|
|
1179
|
-
description: "Endpoint revision
|
|
1178
|
+
description: "Endpoint revision: keep | create | update | erase.\n\nEvery endpoint in the review list MUST have a revision \u2014 no omissions.",
|
|
1180
1179
|
anyOf: [
|
|
1181
1180
|
{
|
|
1182
1181
|
$ref: "#/$defs/AutoBeInterfaceEndpointCreate"
|
|
@@ -1202,15 +1201,15 @@ const createController = (props) => {
|
|
|
1202
1201
|
}
|
|
1203
1202
|
},
|
|
1204
1203
|
AutoBeInterfaceEndpointCreate: {
|
|
1205
|
-
description: "
|
|
1204
|
+
description: "Add a missing endpoint.",
|
|
1206
1205
|
type: "object",
|
|
1207
1206
|
properties: {
|
|
1208
1207
|
reason: {
|
|
1209
|
-
description: "
|
|
1208
|
+
description: "Why this endpoint is needed.",
|
|
1210
1209
|
type: "string"
|
|
1211
1210
|
},
|
|
1212
1211
|
type: {
|
|
1213
|
-
description: "Type discriminator
|
|
1212
|
+
description: "Type discriminator.",
|
|
1214
1213
|
type: "string",
|
|
1215
1214
|
"enum": [
|
|
1216
1215
|
"create"
|
|
@@ -1228,15 +1227,15 @@ const createController = (props) => {
|
|
|
1228
1227
|
]
|
|
1229
1228
|
},
|
|
1230
1229
|
AutoBeInterfaceEndpointDesign: {
|
|
1231
|
-
description: "Endpoint design with description and
|
|
1230
|
+
description: "Endpoint design with description, authorization, and endpoint definition.",
|
|
1232
1231
|
type: "object",
|
|
1233
1232
|
properties: {
|
|
1234
1233
|
description: {
|
|
1235
|
-
description: "
|
|
1234
|
+
description: "Functional description of what this endpoint does and why. Keep concise.",
|
|
1236
1235
|
type: "string"
|
|
1237
1236
|
},
|
|
1238
1237
|
authorizationActors: {
|
|
1239
|
-
description: "Authorization actors associated with this
|
|
1238
|
+
description: "Authorization actors associated with this endpoint (camelCase).\n\nInclude an actor if it can call this endpoint or the endpoint is\nsemantically related to it (e.g., `/auth/users/login` \u2192 `[\"user\"]`). Empty\narray for public endpoints.\n\nEach actor may generate a separate endpoint \u2014 minimize to prevent endpoint\nexplosion.",
|
|
1240
1239
|
type: "array",
|
|
1241
1240
|
items: {
|
|
1242
1241
|
type: "string",
|
|
@@ -1245,7 +1244,7 @@ const createController = (props) => {
|
|
|
1245
1244
|
}
|
|
1246
1245
|
},
|
|
1247
1246
|
authorizationType: {
|
|
1248
|
-
description: "Authorization type of the
|
|
1247
|
+
description: "Authorization type of the endpoint.\n\n- `\"login\"`: Credential validation\n- `\"join\"`: Account registration\n- `\"withdraw\"`: Account deactivation\n- `\"refresh\"`: Token renewal\n- `\"session\"`: Session management (logout, etc.)\n- `\"password\"`: Password reset/change\n- `\"management\"`: Other auth-related (2FA, OAuth, verification)\n- `null`: All other endpoints",
|
|
1249
1248
|
anyOf: [
|
|
1250
1249
|
{
|
|
1251
1250
|
type: "string",
|
|
@@ -1277,19 +1276,19 @@ const createController = (props) => {
|
|
|
1277
1276
|
]
|
|
1278
1277
|
},
|
|
1279
1278
|
AutoBeInterfaceEndpointErase: {
|
|
1280
|
-
description: "
|
|
1279
|
+
description: "Remove an invalid or duplicate endpoint.",
|
|
1281
1280
|
type: "object",
|
|
1282
1281
|
properties: {
|
|
1283
1282
|
reason: {
|
|
1284
|
-
description: "
|
|
1283
|
+
description: "Why this endpoint should be removed.",
|
|
1285
1284
|
type: "string"
|
|
1286
1285
|
},
|
|
1287
1286
|
endpoint: {
|
|
1288
|
-
description: "
|
|
1287
|
+
description: "Endpoint to remove. MUST match exactly (path + method) from the provided\nreview list.",
|
|
1289
1288
|
$ref: "#/$defs/AutoBeOpenApi.IEndpoint"
|
|
1290
1289
|
},
|
|
1291
1290
|
type: {
|
|
1292
|
-
description: "Type discriminator
|
|
1291
|
+
description: "Type discriminator.",
|
|
1293
1292
|
type: "string",
|
|
1294
1293
|
"enum": [
|
|
1295
1294
|
"erase"
|
|
@@ -1303,19 +1302,19 @@ const createController = (props) => {
|
|
|
1303
1302
|
]
|
|
1304
1303
|
},
|
|
1305
1304
|
AutoBeInterfaceEndpointKeep: {
|
|
1306
|
-
description: "
|
|
1305
|
+
description: "Approve an endpoint as correctly designed.\n\nEvery endpoint in the review list MUST have a revision \u2014 use `keep` for\ncorrect ones rather than omitting them.",
|
|
1307
1306
|
type: "object",
|
|
1308
1307
|
properties: {
|
|
1309
1308
|
reason: {
|
|
1310
|
-
description: "
|
|
1309
|
+
description: "Why this endpoint is correct and needs no changes.",
|
|
1311
1310
|
type: "string"
|
|
1312
1311
|
},
|
|
1313
1312
|
endpoint: {
|
|
1314
|
-
description: "
|
|
1313
|
+
description: "Endpoint to keep. MUST match exactly (path + method) from the provided\nreview list.",
|
|
1315
1314
|
$ref: "#/$defs/AutoBeOpenApi.IEndpoint"
|
|
1316
1315
|
},
|
|
1317
1316
|
type: {
|
|
1318
|
-
description: "Type discriminator
|
|
1317
|
+
description: "Type discriminator.",
|
|
1319
1318
|
type: "string",
|
|
1320
1319
|
"enum": [
|
|
1321
1320
|
"keep"
|
|
@@ -1329,26 +1328,26 @@ const createController = (props) => {
|
|
|
1329
1328
|
]
|
|
1330
1329
|
},
|
|
1331
1330
|
AutoBeInterfaceEndpointUpdate: {
|
|
1332
|
-
description: "
|
|
1331
|
+
description: "Fix an incorrectly structured endpoint (path/method corrections).",
|
|
1333
1332
|
type: "object",
|
|
1334
1333
|
properties: {
|
|
1335
1334
|
reason: {
|
|
1336
|
-
description: "
|
|
1335
|
+
description: "Why this fix is needed.",
|
|
1337
1336
|
type: "string"
|
|
1338
1337
|
},
|
|
1339
1338
|
endpoint: {
|
|
1340
|
-
description: "
|
|
1339
|
+
description: "Original endpoint to modify. MUST match exactly (path + method) from the\nprovided review list.",
|
|
1341
1340
|
$ref: "#/$defs/AutoBeOpenApi.IEndpoint"
|
|
1342
1341
|
},
|
|
1343
1342
|
type: {
|
|
1344
|
-
description: "Type discriminator
|
|
1343
|
+
description: "Type discriminator.",
|
|
1345
1344
|
type: "string",
|
|
1346
1345
|
"enum": [
|
|
1347
1346
|
"update"
|
|
1348
1347
|
]
|
|
1349
1348
|
},
|
|
1350
1349
|
newDesign: {
|
|
1351
|
-
description: "
|
|
1350
|
+
description: "Corrected endpoint definition.",
|
|
1352
1351
|
$ref: "#/$defs/AutoBeInterfaceEndpointDesign"
|
|
1353
1352
|
}
|
|
1354
1353
|
},
|
|
@@ -1361,7 +1360,7 @@ const createController = (props) => {
|
|
|
1361
1360
|
}
|
|
1362
1361
|
}
|
|
1363
1362
|
},
|
|
1364
|
-
description: "Process
|
|
1363
|
+
description: "Process task or retrieve preliminary data. Every endpoint MUST receive a\nrevision decision.",
|
|
1365
1364
|
validate: (() => { const _io0 = input => "string" === typeof input.thinking && ("object" === typeof input.request && null !== input.request && _iu1(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 => "getPreviousAnalysisSections" === input.type && (Array.isArray(input.sectionIds) && (1 <= input.sectionIds.length && input.sectionIds.every(elem => "number" === typeof elem && __typia_transform__isTypeUint32._isTypeUint32(elem)))); const _io4 = input => "getPreviousDatabaseSchemas" === input.type && (Array.isArray(input.schemaNames) && (1 <= input.schemaNames.length && input.schemaNames.every(elem => "string" === typeof elem))); const _io5 = input => "getPreviousInterfaceOperations" === input.type && (Array.isArray(input.endpoints) && (1 <= input.endpoints.length && input.endpoints.every(elem => "object" === typeof elem && null !== elem && _io6(elem)))); const _io6 = 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 _io7 = input => "complete" === input.type && "string" === typeof input.review && (Array.isArray(input.revises) && input.revises.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io8 = input => "string" === typeof input.reason && "create" === input.type && ("object" === typeof input.design && null !== input.design && _io9(input.design)); const _io9 = input => "string" === typeof input.description && (Array.isArray(input.authorizationActors) && input.authorizationActors.every(elem => "string" === typeof elem && (RegExp("^[a-z][a-zA-Z0-9]*$").test(elem) && 1 <= elem.length))) && (null === input.authorizationType || "login" === input.authorizationType || "join" === input.authorizationType || "refresh" === input.authorizationType || "password" === input.authorizationType || "session" === input.authorizationType || "withdraw" === input.authorizationType || "management" === input.authorizationType) && ("object" === typeof input.endpoint && null !== input.endpoint && _io6(input.endpoint)); const _io10 = input => "string" === typeof input.reason && ("object" === typeof input.endpoint && null !== input.endpoint && _io6(input.endpoint)) && "erase" === input.type; const _io11 = input => "string" === typeof input.reason && ("object" === typeof input.endpoint && null !== input.endpoint && _io6(input.endpoint)) && "keep" === input.type; const _io12 = input => "string" === typeof input.reason && ("object" === typeof input.endpoint && null !== input.endpoint && _io6(input.endpoint)) && "update" === input.type && ("object" === typeof input.newDesign && null !== input.newDesign && _io9(input.newDesign)); const _iu0 = input => (() => {
|
|
1366
1365
|
if ("create" === input.type)
|
|
1367
1366
|
return _io8(input);
|