@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
|
@@ -93,7 +93,7 @@ function process(ctx, props) {
|
|
|
93
93
|
properties: {
|
|
94
94
|
thinking: {
|
|
95
95
|
type: "string",
|
|
96
|
-
description: "
|
|
96
|
+
description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion)."
|
|
97
97
|
},
|
|
98
98
|
request: {
|
|
99
99
|
oneOf: [
|
|
@@ -123,7 +123,7 @@ function process(ctx, props) {
|
|
|
123
123
|
complete: "#/components/schemas/IAutoBeInterfaceAuthorizationApplication.IComplete"
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
|
-
description: "
|
|
126
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion."
|
|
127
127
|
}
|
|
128
128
|
},
|
|
129
129
|
required: [
|
|
@@ -136,7 +136,7 @@ function process(ctx, props) {
|
|
|
136
136
|
properties: {
|
|
137
137
|
type: {
|
|
138
138
|
"const": "getAnalysisSections",
|
|
139
|
-
description: "Type discriminator
|
|
139
|
+
description: "Type discriminator."
|
|
140
140
|
},
|
|
141
141
|
sectionIds: {
|
|
142
142
|
type: "array",
|
|
@@ -146,21 +146,21 @@ function process(ctx, props) {
|
|
|
146
146
|
},
|
|
147
147
|
minItems: 1,
|
|
148
148
|
maxItems: 100,
|
|
149
|
-
description: "
|
|
149
|
+
description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls."
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
required: [
|
|
153
153
|
"type",
|
|
154
154
|
"sectionIds"
|
|
155
155
|
],
|
|
156
|
-
description: "Request to retrieve individual analysis sections by numeric ID
|
|
156
|
+
description: "Request to retrieve individual analysis sections by numeric ID."
|
|
157
157
|
},
|
|
158
158
|
IAutoBePreliminaryGetDatabaseSchemas: {
|
|
159
159
|
type: "object",
|
|
160
160
|
properties: {
|
|
161
161
|
type: {
|
|
162
162
|
"const": "getDatabaseSchemas",
|
|
163
|
-
description: "Type discriminator
|
|
163
|
+
description: "Type discriminator."
|
|
164
164
|
},
|
|
165
165
|
schemaNames: {
|
|
166
166
|
type: "array",
|
|
@@ -168,21 +168,21 @@ function process(ctx, props) {
|
|
|
168
168
|
type: "string"
|
|
169
169
|
},
|
|
170
170
|
minItems: 1,
|
|
171
|
-
description: "
|
|
171
|
+
description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls."
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
174
|
required: [
|
|
175
175
|
"type",
|
|
176
176
|
"schemaNames"
|
|
177
177
|
],
|
|
178
|
-
description: "Request to retrieve database schema definitions for context
|
|
178
|
+
description: "Request to retrieve database schema definitions for context."
|
|
179
179
|
},
|
|
180
180
|
IAutoBePreliminaryGetPreviousAnalysisSections: {
|
|
181
181
|
type: "object",
|
|
182
182
|
properties: {
|
|
183
183
|
type: {
|
|
184
184
|
"const": "getPreviousAnalysisSections",
|
|
185
|
-
description: "Type discriminator
|
|
185
|
+
description: "Type discriminator."
|
|
186
186
|
},
|
|
187
187
|
sectionIds: {
|
|
188
188
|
type: "array",
|
|
@@ -191,21 +191,21 @@ function process(ctx, props) {
|
|
|
191
191
|
minimum: 0
|
|
192
192
|
},
|
|
193
193
|
minItems: 1,
|
|
194
|
-
description: "
|
|
194
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls."
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
required: [
|
|
198
198
|
"type",
|
|
199
199
|
"sectionIds"
|
|
200
200
|
],
|
|
201
|
-
description: "Request to retrieve
|
|
201
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID."
|
|
202
202
|
},
|
|
203
203
|
IAutoBePreliminaryGetPreviousDatabaseSchemas: {
|
|
204
204
|
type: "object",
|
|
205
205
|
properties: {
|
|
206
206
|
type: {
|
|
207
207
|
"const": "getPreviousDatabaseSchemas",
|
|
208
|
-
description: "Type discriminator
|
|
208
|
+
description: "Type discriminator."
|
|
209
209
|
},
|
|
210
210
|
schemaNames: {
|
|
211
211
|
type: "array",
|
|
@@ -213,29 +213,29 @@ function process(ctx, props) {
|
|
|
213
213
|
type: "string"
|
|
214
214
|
},
|
|
215
215
|
minItems: 1,
|
|
216
|
-
description: "
|
|
216
|
+
description: "Table names to retrieve from previous iteration. DO NOT request same names\nalready requested in previous calls."
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
required: [
|
|
220
220
|
"type",
|
|
221
221
|
"schemaNames"
|
|
222
222
|
],
|
|
223
|
-
description: "Request to retrieve database schemas from
|
|
223
|
+
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."
|
|
224
224
|
},
|
|
225
225
|
"IAutoBeInterfaceAuthorizationApplication.IComplete": {
|
|
226
226
|
type: "object",
|
|
227
227
|
properties: {
|
|
228
228
|
type: {
|
|
229
229
|
"const": "complete",
|
|
230
|
-
description: "Type discriminator for
|
|
230
|
+
description: "Type discriminator for completion request."
|
|
231
231
|
},
|
|
232
232
|
analysis: {
|
|
233
233
|
type: "string",
|
|
234
|
-
description: "Analysis of the actor's authentication requirements and schema context
|
|
234
|
+
description: "Analysis of the actor's authentication requirements and schema context."
|
|
235
235
|
},
|
|
236
236
|
rationale: {
|
|
237
237
|
type: "string",
|
|
238
|
-
description: "Rationale for
|
|
238
|
+
description: "Rationale for authorization operation design decisions."
|
|
239
239
|
},
|
|
240
240
|
operations: {
|
|
241
241
|
type: "array",
|
|
@@ -243,7 +243,7 @@ function process(ctx, props) {
|
|
|
243
243
|
$ref: "#/components/schemas/AutoBeOpenApi.IOperation"
|
|
244
244
|
},
|
|
245
245
|
minItems: 1,
|
|
246
|
-
description: "Array of API operations to generate
|
|
246
|
+
description: "Array of API operations to generate for authorization."
|
|
247
247
|
}
|
|
248
248
|
},
|
|
249
249
|
required: [
|
|
@@ -252,18 +252,18 @@ function process(ctx, props) {
|
|
|
252
252
|
"rationale",
|
|
253
253
|
"operations"
|
|
254
254
|
],
|
|
255
|
-
description: "Request to generate authorization operations
|
|
255
|
+
description: "Request to generate authorization operations."
|
|
256
256
|
},
|
|
257
257
|
"AutoBeOpenApi.IOperation": {
|
|
258
258
|
type: "object",
|
|
259
259
|
properties: {
|
|
260
260
|
specification: {
|
|
261
261
|
type: "string",
|
|
262
|
-
description: "
|
|
262
|
+
description: "Internal implementation guidance for downstream agents (Realize, Test).\n\nDescribe HOW this operation should be implemented: service logic, DB\nqueries, business rules, edge cases, and error handling.\n\n> MUST be written in English. Never use other languages."
|
|
263
263
|
},
|
|
264
264
|
description: {
|
|
265
265
|
type: "string",
|
|
266
|
-
description: "
|
|
266
|
+
description: "Multi-paragraph description of the API operation for consumers.\n\nReference and incorporate DB schema table/column description comments.\nOrganize into multiple paragraphs covering purpose, business logic,\nrelationships, and error handling.\n\nDo NOT use \"soft delete\" / \"soft-delete\" unless the operation actually\nimplements soft deletion (triggers validation expecting\nsoft_delete_column).\n\n> MUST be written in English. Never use other languages."
|
|
267
267
|
},
|
|
268
268
|
authorizationType: {
|
|
269
269
|
oneOf: [
|
|
@@ -280,14 +280,14 @@ function process(ctx, props) {
|
|
|
280
280
|
"const": "refresh"
|
|
281
281
|
}
|
|
282
282
|
],
|
|
283
|
-
description: "Authorization type of the API operation.\n\n- `\"login\"`:
|
|
283
|
+
description: "Authorization type of the API operation.\n\n- `\"login\"`: Credential validation operations\n- `\"join\"`: Account registration operations\n- `\"refresh\"`: Token renewal operations\n- `null`: All other operations"
|
|
284
284
|
},
|
|
285
285
|
parameters: {
|
|
286
286
|
type: "array",
|
|
287
287
|
items: {
|
|
288
288
|
$ref: "#/components/schemas/AutoBeOpenApi.IParameter"
|
|
289
289
|
},
|
|
290
|
-
description: "List of path parameters.\n\
|
|
290
|
+
description: "List of path parameters.\n\nEach parameter name must correspond to a `{paramName}` in the\n{@link path}."
|
|
291
291
|
},
|
|
292
292
|
requestBody: {
|
|
293
293
|
oneOf: [
|
|
@@ -298,7 +298,7 @@ function process(ctx, props) {
|
|
|
298
298
|
$ref: "#/components/schemas/AutoBeOpenApi.IRequestBody"
|
|
299
299
|
}
|
|
300
300
|
],
|
|
301
|
-
description: "Request body of the API operation
|
|
301
|
+
description: "Request body of the API operation, or `null` if none."
|
|
302
302
|
},
|
|
303
303
|
responseBody: {
|
|
304
304
|
oneOf: [
|
|
@@ -309,7 +309,7 @@ function process(ctx, props) {
|
|
|
309
309
|
$ref: "#/components/schemas/AutoBeOpenApi.IResponseBody"
|
|
310
310
|
}
|
|
311
311
|
],
|
|
312
|
-
description: "Response body of the API operation
|
|
312
|
+
description: "Response body of the API operation, or `null` if none."
|
|
313
313
|
},
|
|
314
314
|
authorizationActor: {
|
|
315
315
|
oneOf: [
|
|
@@ -322,24 +322,24 @@ function process(ctx, props) {
|
|
|
322
322
|
minLength: 1
|
|
323
323
|
}
|
|
324
324
|
],
|
|
325
|
-
description: "Authorization actor required to access this API operation.\n\
|
|
325
|
+
description: "Authorization actor required to access this API operation.\n\nMUST use camelCase. The actor name MUST match exactly with a user\ntype/table defined in the database schema.\n\nSet to `null` for public endpoints requiring no authentication."
|
|
326
326
|
},
|
|
327
327
|
name: {
|
|
328
328
|
type: "string",
|
|
329
329
|
pattern: "^[a-z][a-zA-Z0-9]*$",
|
|
330
|
-
description: "Functional name of the API endpoint
|
|
330
|
+
description: "Functional name of the API endpoint. MUST use camelCase.\n\nMUST NOT be a JS/TS reserved word (`delete`, `for`, `if`, `class`,\n`return`, `new`, `this`, `void`, `const`, `let`, `var`, `async`, `await`,\n`export`, `import`, `switch`, `case`, `throw`, `try`). Use `erase`\ninstead of `delete`, `iterate` instead of `for`.\n\nStandard names:\n\n- `index`: list/search (PATCH), `at`: get by ID (GET)\n- `create`: POST, `update`: PUT, `erase`: DELETE\n\nAccessor uniqueness: the accessor is formed by joining non-parameter path\nsegments with dots, then appending the name. E.g., path\n`/shopping/sale/{saleId}/review/{reviewId}` + name `at` = accessor\n`shopping.sale.review.at`. Must be globally unique."
|
|
331
331
|
},
|
|
332
332
|
prerequisites: {
|
|
333
333
|
type: "array",
|
|
334
334
|
items: {
|
|
335
335
|
$ref: "#/components/schemas/AutoBeOpenApi.IPrerequisite"
|
|
336
336
|
},
|
|
337
|
-
description: "Prerequisites
|
|
337
|
+
description: "Prerequisites: API operations that must succeed before this one.\n\nONLY for business logic dependencies (resource existence, state checks,\ndata availability). NEVER for authentication -- use `authorizationActor`\ninstead.\n\nPrerequisites are executed in array order; all must return 2xx before the\nmain operation proceeds."
|
|
338
338
|
},
|
|
339
339
|
path: {
|
|
340
340
|
type: "string",
|
|
341
341
|
pattern: "^\\/[a-zA-Z0-9\\/_{}.-]*$",
|
|
342
|
-
description: "HTTP path of the API operation.\n\
|
|
342
|
+
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, `/`, `{`, `}`, `-`, `_`, `.`"
|
|
343
343
|
},
|
|
344
344
|
method: {
|
|
345
345
|
oneOf: [
|
|
@@ -359,7 +359,7 @@ function process(ctx, props) {
|
|
|
359
359
|
"const": "patch"
|
|
360
360
|
}
|
|
361
361
|
],
|
|
362
|
-
description: "HTTP method
|
|
362
|
+
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."
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
365
|
required: [
|
|
@@ -375,19 +375,19 @@ function process(ctx, props) {
|
|
|
375
375
|
"path",
|
|
376
376
|
"method"
|
|
377
377
|
],
|
|
378
|
-
description: "
|
|
378
|
+
description: "Single API endpoint with method, path, parameters, and request/response.\n\nAll request/response bodies must be object types referencing named\ncomponents. Content-type is always `application/json`. For file\nupload/download, use `string & tags.Format<\"uri\">` instead of binary."
|
|
379
379
|
},
|
|
380
380
|
"AutoBeOpenApi.IParameter": {
|
|
381
381
|
type: "object",
|
|
382
382
|
properties: {
|
|
383
383
|
description: {
|
|
384
384
|
type: "string",
|
|
385
|
-
description: "Description
|
|
385
|
+
description: "Description of the path parameter.\n\n> MUST be written in English. Never use other languages."
|
|
386
386
|
},
|
|
387
387
|
name: {
|
|
388
388
|
type: "string",
|
|
389
389
|
pattern: "^[a-z][a-zA-Z0-9]*$",
|
|
390
|
-
description: "Identifier name
|
|
390
|
+
description: "Identifier name in camelCase. Must match the `{paramName}` in the\n{@link AutoBeOpenApi.IOperation.path}."
|
|
391
391
|
},
|
|
392
392
|
schema: {
|
|
393
393
|
oneOf: [
|
|
@@ -409,7 +409,7 @@ function process(ctx, props) {
|
|
|
409
409
|
string: "#/components/schemas/AutoBeOpenApi.IJsonSchema.IString"
|
|
410
410
|
}
|
|
411
411
|
},
|
|
412
|
-
description: "Type schema of the path parameter
|
|
412
|
+
description: "Type schema of the path parameter (primitive types only)."
|
|
413
413
|
}
|
|
414
414
|
},
|
|
415
415
|
required: [
|
|
@@ -417,35 +417,30 @@ function process(ctx, props) {
|
|
|
417
417
|
"name",
|
|
418
418
|
"schema"
|
|
419
419
|
],
|
|
420
|
-
description: "Path parameter
|
|
420
|
+
description: "Path parameter definition for an API route."
|
|
421
421
|
},
|
|
422
422
|
"AutoBeOpenApi.IJsonSchema.INumber": {
|
|
423
423
|
type: "object",
|
|
424
424
|
properties: {
|
|
425
425
|
minimum: {
|
|
426
|
-
type: "number"
|
|
427
|
-
description: "Minimum value restriction."
|
|
426
|
+
type: "number"
|
|
428
427
|
},
|
|
429
428
|
maximum: {
|
|
430
|
-
type: "number"
|
|
431
|
-
description: "Maximum value restriction."
|
|
429
|
+
type: "number"
|
|
432
430
|
},
|
|
433
431
|
exclusiveMinimum: {
|
|
434
|
-
type: "number"
|
|
435
|
-
description: "Exclusive minimum value restriction."
|
|
432
|
+
type: "number"
|
|
436
433
|
},
|
|
437
434
|
exclusiveMaximum: {
|
|
438
|
-
type: "number"
|
|
439
|
-
description: "Exclusive maximum value restriction."
|
|
435
|
+
type: "number"
|
|
440
436
|
},
|
|
441
437
|
multipleOf: {
|
|
442
438
|
type: "number",
|
|
443
|
-
exclusiveMinimum: 0
|
|
444
|
-
description: "Multiple of value restriction."
|
|
439
|
+
exclusiveMinimum: 0
|
|
445
440
|
},
|
|
446
441
|
type: {
|
|
447
442
|
"const": "number",
|
|
448
|
-
description: "Discriminator value
|
|
443
|
+
description: "Discriminator value. MUST be a single string, NEVER an array.\n\nFor nullable types, use `IOneOf` instead: `{ oneOf: [{ type: \"string\"\n}, { type: \"null\" }] }`"
|
|
449
444
|
}
|
|
450
445
|
},
|
|
451
446
|
required: [
|
|
@@ -457,29 +452,24 @@ function process(ctx, props) {
|
|
|
457
452
|
type: "object",
|
|
458
453
|
properties: {
|
|
459
454
|
minimum: {
|
|
460
|
-
type: "integer"
|
|
461
|
-
description: "Minimum value restriction."
|
|
455
|
+
type: "integer"
|
|
462
456
|
},
|
|
463
457
|
maximum: {
|
|
464
|
-
type: "integer"
|
|
465
|
-
description: "Maximum value restriction."
|
|
458
|
+
type: "integer"
|
|
466
459
|
},
|
|
467
460
|
exclusiveMinimum: {
|
|
468
|
-
type: "integer"
|
|
469
|
-
description: "Exclusive minimum value restriction."
|
|
461
|
+
type: "integer"
|
|
470
462
|
},
|
|
471
463
|
exclusiveMaximum: {
|
|
472
|
-
type: "integer"
|
|
473
|
-
description: "Exclusive maximum value restriction."
|
|
464
|
+
type: "integer"
|
|
474
465
|
},
|
|
475
466
|
multipleOf: {
|
|
476
467
|
type: "integer",
|
|
477
|
-
exclusiveMinimum: 0
|
|
478
|
-
description: "Multiple of value restriction."
|
|
468
|
+
exclusiveMinimum: 0
|
|
479
469
|
},
|
|
480
470
|
type: {
|
|
481
471
|
"const": "integer",
|
|
482
|
-
description: "Discriminator value
|
|
472
|
+
description: "Discriminator value. MUST be a single string, NEVER an array.\n\nFor nullable types, use `IOneOf` instead: `{ oneOf: [{ type: \"string\"\n}, { type: \"null\" }] }`"
|
|
483
473
|
}
|
|
484
474
|
},
|
|
485
475
|
required: [
|
|
@@ -564,21 +554,19 @@ function process(ctx, props) {
|
|
|
564
554
|
},
|
|
565
555
|
contentMediaType: {
|
|
566
556
|
type: "string",
|
|
567
|
-
description: "Content media type restriction.\n\
|
|
557
|
+
description: "Content media type restriction.\n\nFor multiple media types, use `oneOf` with separate string schemas per\n`contentMediaType` value. Never use an array here."
|
|
568
558
|
},
|
|
569
559
|
minLength: {
|
|
570
560
|
type: "integer",
|
|
571
|
-
minimum: 0
|
|
572
|
-
description: "Minimum length restriction."
|
|
561
|
+
minimum: 0
|
|
573
562
|
},
|
|
574
563
|
maxLength: {
|
|
575
564
|
type: "integer",
|
|
576
|
-
minimum: 0
|
|
577
|
-
description: "Maximum length restriction."
|
|
565
|
+
minimum: 0
|
|
578
566
|
},
|
|
579
567
|
type: {
|
|
580
568
|
"const": "string",
|
|
581
|
-
description: "Discriminator value
|
|
569
|
+
description: "Discriminator value. MUST be a single string, NEVER an array.\n\nFor nullable types, use `IOneOf` instead: `{ oneOf: [{ type: \"string\"\n}, { type: \"null\" }] }`"
|
|
582
570
|
}
|
|
583
571
|
},
|
|
584
572
|
required: [
|
|
@@ -591,54 +579,54 @@ function process(ctx, props) {
|
|
|
591
579
|
properties: {
|
|
592
580
|
description: {
|
|
593
581
|
type: "string",
|
|
594
|
-
description: "Description
|
|
582
|
+
description: "Description of the request body.\n\n> MUST be written in English. Never use other languages."
|
|
595
583
|
},
|
|
596
584
|
typeName: {
|
|
597
585
|
type: "string",
|
|
598
|
-
description: "
|
|
586
|
+
description: "Type name referencing a component schema.\n\nNaming convention: `IEntityName.ICreate` (POST), `IEntityName.IUpdate`\n(PUT), `IEntityName.IRequest` (list/search)."
|
|
599
587
|
}
|
|
600
588
|
},
|
|
601
589
|
required: [
|
|
602
590
|
"description",
|
|
603
591
|
"typeName"
|
|
604
592
|
],
|
|
605
|
-
description: "Request body
|
|
593
|
+
description: "Request body for an API operation.\n\nContent-type is always `application/json`. For file uploads, use a URI\nstring property instead of `multipart/form-data`."
|
|
606
594
|
},
|
|
607
595
|
"AutoBeOpenApi.IResponseBody": {
|
|
608
596
|
type: "object",
|
|
609
597
|
properties: {
|
|
610
598
|
description: {
|
|
611
599
|
type: "string",
|
|
612
|
-
description: "Description
|
|
600
|
+
description: "Description of the response body.\n\n> MUST be written in English. Never use other languages."
|
|
613
601
|
},
|
|
614
602
|
typeName: {
|
|
615
603
|
type: "string",
|
|
616
|
-
description: "
|
|
604
|
+
description: "Type name referencing a component schema.\n\nNaming convention: `IEntityName` (full), `IEntityName.ISummary`,\n`IEntityName.IInvert`, `IPageIEntityName` (paginated)."
|
|
617
605
|
}
|
|
618
606
|
},
|
|
619
607
|
required: [
|
|
620
608
|
"description",
|
|
621
609
|
"typeName"
|
|
622
610
|
],
|
|
623
|
-
description: "Response body
|
|
611
|
+
description: "Response body for an API operation.\n\nContent-type is always `application/json`. For file downloads, use a URI\nstring property instead of `application/octet-stream`."
|
|
624
612
|
},
|
|
625
613
|
"AutoBeOpenApi.IPrerequisite": {
|
|
626
614
|
type: "object",
|
|
627
615
|
properties: {
|
|
628
616
|
endpoint: {
|
|
629
617
|
$ref: "#/components/schemas/AutoBeOpenApi.IEndpoint",
|
|
630
|
-
description: "The API endpoint that must be called
|
|
618
|
+
description: "The API endpoint that must be called first."
|
|
631
619
|
},
|
|
632
620
|
description: {
|
|
633
621
|
type: "string",
|
|
634
|
-
description: "
|
|
622
|
+
description: "Why this prerequisite is required (specific condition or state).\n\n> MUST be written in English. Never use other languages."
|
|
635
623
|
}
|
|
636
624
|
},
|
|
637
625
|
required: [
|
|
638
626
|
"endpoint",
|
|
639
627
|
"description"
|
|
640
628
|
],
|
|
641
|
-
description: "Prerequisite API operation
|
|
629
|
+
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."
|
|
642
630
|
},
|
|
643
631
|
"AutoBeOpenApi.IEndpoint": {
|
|
644
632
|
type: "object",
|
|
@@ -646,7 +634,7 @@ function process(ctx, props) {
|
|
|
646
634
|
path: {
|
|
647
635
|
type: "string",
|
|
648
636
|
pattern: "^\\/[a-zA-Z0-9\\/_{}.-]*$",
|
|
649
|
-
description: "HTTP path of the API operation.\n\
|
|
637
|
+
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, `/`, `{`, `}`, `-`, `_`, `.`"
|
|
650
638
|
},
|
|
651
639
|
method: {
|
|
652
640
|
oneOf: [
|
|
@@ -666,7 +654,7 @@ function process(ctx, props) {
|
|
|
666
654
|
"const": "patch"
|
|
667
655
|
}
|
|
668
656
|
],
|
|
669
|
-
description: "HTTP method
|
|
657
|
+
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."
|
|
670
658
|
}
|
|
671
659
|
},
|
|
672
660
|
required: [
|
|
@@ -684,14 +672,13 @@ function process(ctx, props) {
|
|
|
684
672
|
parameters: [
|
|
685
673
|
{
|
|
686
674
|
name: "props",
|
|
687
|
-
description: " Request containing either preliminary data request or complete\ntask",
|
|
688
675
|
required: true,
|
|
689
676
|
schema: {
|
|
690
677
|
$ref: "#/components/schemas/IAutoBeInterfaceAuthorizationApplication.IProps"
|
|
691
678
|
}
|
|
692
679
|
}
|
|
693
680
|
],
|
|
694
|
-
description: "Process
|
|
681
|
+
description: "Process task or retrieve preliminary data."
|
|
695
682
|
}
|
|
696
683
|
]
|
|
697
684
|
},
|
|
@@ -1263,11 +1250,11 @@ function createController(props) {
|
|
|
1263
1250
|
type: "object",
|
|
1264
1251
|
properties: {
|
|
1265
1252
|
thinking: {
|
|
1266
|
-
description: "
|
|
1253
|
+
description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion).",
|
|
1267
1254
|
type: "string"
|
|
1268
1255
|
},
|
|
1269
1256
|
request: {
|
|
1270
|
-
description: "
|
|
1257
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion.",
|
|
1271
1258
|
anyOf: [
|
|
1272
1259
|
{
|
|
1273
1260
|
$ref: "#/$defs/IAutoBePreliminaryGetAnalysisSections"
|
|
@@ -1304,18 +1291,18 @@ function createController(props) {
|
|
|
1304
1291
|
additionalProperties: false,
|
|
1305
1292
|
$defs: {
|
|
1306
1293
|
IAutoBePreliminaryGetAnalysisSections: {
|
|
1307
|
-
description: "Request to retrieve individual analysis sections by numeric ID
|
|
1294
|
+
description: "Request to retrieve individual analysis sections by numeric ID.",
|
|
1308
1295
|
type: "object",
|
|
1309
1296
|
properties: {
|
|
1310
1297
|
type: {
|
|
1311
|
-
description: "Type discriminator
|
|
1298
|
+
description: "Type discriminator.",
|
|
1312
1299
|
type: "string",
|
|
1313
1300
|
"enum": [
|
|
1314
1301
|
"getAnalysisSections"
|
|
1315
1302
|
]
|
|
1316
1303
|
},
|
|
1317
1304
|
sectionIds: {
|
|
1318
|
-
description: "
|
|
1305
|
+
description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls.",
|
|
1319
1306
|
type: "array",
|
|
1320
1307
|
items: {
|
|
1321
1308
|
type: "integer",
|
|
@@ -1331,18 +1318,18 @@ function createController(props) {
|
|
|
1331
1318
|
]
|
|
1332
1319
|
},
|
|
1333
1320
|
IAutoBePreliminaryGetDatabaseSchemas: {
|
|
1334
|
-
description: "Request to retrieve database schema definitions for context
|
|
1321
|
+
description: "Request to retrieve database schema definitions for context.",
|
|
1335
1322
|
type: "object",
|
|
1336
1323
|
properties: {
|
|
1337
1324
|
type: {
|
|
1338
|
-
description: "Type discriminator
|
|
1325
|
+
description: "Type discriminator.",
|
|
1339
1326
|
type: "string",
|
|
1340
1327
|
"enum": [
|
|
1341
1328
|
"getDatabaseSchemas"
|
|
1342
1329
|
]
|
|
1343
1330
|
},
|
|
1344
1331
|
schemaNames: {
|
|
1345
|
-
description: "
|
|
1332
|
+
description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls.",
|
|
1346
1333
|
type: "array",
|
|
1347
1334
|
items: {
|
|
1348
1335
|
type: "string"
|
|
@@ -1356,18 +1343,18 @@ function createController(props) {
|
|
|
1356
1343
|
]
|
|
1357
1344
|
},
|
|
1358
1345
|
IAutoBePreliminaryGetPreviousAnalysisSections: {
|
|
1359
|
-
description: "Request to retrieve
|
|
1346
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID.",
|
|
1360
1347
|
type: "object",
|
|
1361
1348
|
properties: {
|
|
1362
1349
|
type: {
|
|
1363
|
-
description: "Type discriminator
|
|
1350
|
+
description: "Type discriminator.",
|
|
1364
1351
|
type: "string",
|
|
1365
1352
|
"enum": [
|
|
1366
1353
|
"getPreviousAnalysisSections"
|
|
1367
1354
|
]
|
|
1368
1355
|
},
|
|
1369
1356
|
sectionIds: {
|
|
1370
|
-
description: "
|
|
1357
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls.",
|
|
1371
1358
|
type: "array",
|
|
1372
1359
|
items: {
|
|
1373
1360
|
type: "integer",
|
|
@@ -1382,18 +1369,18 @@ function createController(props) {
|
|
|
1382
1369
|
]
|
|
1383
1370
|
},
|
|
1384
1371
|
IAutoBePreliminaryGetPreviousDatabaseSchemas: {
|
|
1385
|
-
description: "Request to retrieve database schemas from
|
|
1372
|
+
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.",
|
|
1386
1373
|
type: "object",
|
|
1387
1374
|
properties: {
|
|
1388
1375
|
type: {
|
|
1389
|
-
description: "Type discriminator
|
|
1376
|
+
description: "Type discriminator.",
|
|
1390
1377
|
type: "string",
|
|
1391
1378
|
"enum": [
|
|
1392
1379
|
"getPreviousDatabaseSchemas"
|
|
1393
1380
|
]
|
|
1394
1381
|
},
|
|
1395
1382
|
schemaNames: {
|
|
1396
|
-
description: "
|
|
1383
|
+
description: "Table names to retrieve from previous iteration. DO NOT request same names\nalready requested in previous calls.",
|
|
1397
1384
|
type: "array",
|
|
1398
1385
|
items: {
|
|
1399
1386
|
type: "string"
|
|
@@ -1407,26 +1394,26 @@ function createController(props) {
|
|
|
1407
1394
|
]
|
|
1408
1395
|
},
|
|
1409
1396
|
"IAutoBeInterfaceAuthorizationApplication.IComplete": {
|
|
1410
|
-
description: "Request to generate authorization operations
|
|
1397
|
+
description: "Request to generate authorization operations.",
|
|
1411
1398
|
type: "object",
|
|
1412
1399
|
properties: {
|
|
1413
1400
|
type: {
|
|
1414
|
-
description: "Type discriminator for
|
|
1401
|
+
description: "Type discriminator for completion request.",
|
|
1415
1402
|
type: "string",
|
|
1416
1403
|
"enum": [
|
|
1417
1404
|
"complete"
|
|
1418
1405
|
]
|
|
1419
1406
|
},
|
|
1420
1407
|
analysis: {
|
|
1421
|
-
description: "Analysis of the actor's authentication requirements and schema context
|
|
1408
|
+
description: "Analysis of the actor's authentication requirements and schema context.",
|
|
1422
1409
|
type: "string"
|
|
1423
1410
|
},
|
|
1424
1411
|
rationale: {
|
|
1425
|
-
description: "Rationale for
|
|
1412
|
+
description: "Rationale for authorization operation design decisions.",
|
|
1426
1413
|
type: "string"
|
|
1427
1414
|
},
|
|
1428
1415
|
operations: {
|
|
1429
|
-
description: "Array of API operations to generate
|
|
1416
|
+
description: "Array of API operations to generate for authorization.",
|
|
1430
1417
|
type: "array",
|
|
1431
1418
|
items: {
|
|
1432
1419
|
$ref: "#/$defs/AutoBeOpenApi.IOperation"
|
|
@@ -1442,19 +1429,19 @@ function createController(props) {
|
|
|
1442
1429
|
]
|
|
1443
1430
|
},
|
|
1444
1431
|
"AutoBeOpenApi.IOperation": {
|
|
1445
|
-
description: "
|
|
1432
|
+
description: "Single API endpoint with method, path, parameters, and request/response.\n\nAll request/response bodies must be object types referencing named\ncomponents. Content-type is always `application/json`. For file\nupload/download, use `string & tags.Format<\"uri\">` instead of binary.",
|
|
1446
1433
|
type: "object",
|
|
1447
1434
|
properties: {
|
|
1448
1435
|
specification: {
|
|
1449
|
-
description: "
|
|
1436
|
+
description: "Internal implementation guidance for downstream agents (Realize, Test).\n\nDescribe HOW this operation should be implemented: service logic, DB\nqueries, business rules, edge cases, and error handling.\n\n> MUST be written in English. Never use other languages.",
|
|
1450
1437
|
type: "string"
|
|
1451
1438
|
},
|
|
1452
1439
|
description: {
|
|
1453
|
-
description: "
|
|
1440
|
+
description: "Multi-paragraph description of the API operation for consumers.\n\nReference and incorporate DB schema table/column description comments.\nOrganize into multiple paragraphs covering purpose, business logic,\nrelationships, and error handling.\n\nDo NOT use \"soft delete\" / \"soft-delete\" unless the operation actually\nimplements soft deletion (triggers validation expecting\nsoft_delete_column).\n\n> MUST be written in English. Never use other languages.",
|
|
1454
1441
|
type: "string"
|
|
1455
1442
|
},
|
|
1456
1443
|
authorizationType: {
|
|
1457
|
-
description: "Authorization type of the API operation.\n\n- `\"login\"`:
|
|
1444
|
+
description: "Authorization type of the API operation.\n\n- `\"login\"`: Credential validation operations\n- `\"join\"`: Account registration operations\n- `\"refresh\"`: Token renewal operations\n- `null`: All other operations",
|
|
1458
1445
|
anyOf: [
|
|
1459
1446
|
{
|
|
1460
1447
|
type: "string",
|
|
@@ -1470,14 +1457,14 @@ function createController(props) {
|
|
|
1470
1457
|
]
|
|
1471
1458
|
},
|
|
1472
1459
|
parameters: {
|
|
1473
|
-
description: "List of path parameters.\n\
|
|
1460
|
+
description: "List of path parameters.\n\nEach parameter name must correspond to a `{paramName}` in the\n{@link path}.",
|
|
1474
1461
|
type: "array",
|
|
1475
1462
|
items: {
|
|
1476
1463
|
$ref: "#/$defs/AutoBeOpenApi.IParameter"
|
|
1477
1464
|
}
|
|
1478
1465
|
},
|
|
1479
1466
|
requestBody: {
|
|
1480
|
-
description: "Request body of the API operation
|
|
1467
|
+
description: "Request body of the API operation, or `null` if none.",
|
|
1481
1468
|
anyOf: [
|
|
1482
1469
|
{
|
|
1483
1470
|
type: "null"
|
|
@@ -1488,7 +1475,7 @@ function createController(props) {
|
|
|
1488
1475
|
]
|
|
1489
1476
|
},
|
|
1490
1477
|
responseBody: {
|
|
1491
|
-
description: "Response body of the API operation
|
|
1478
|
+
description: "Response body of the API operation, or `null` if none.",
|
|
1492
1479
|
anyOf: [
|
|
1493
1480
|
{
|
|
1494
1481
|
type: "null"
|
|
@@ -1499,7 +1486,7 @@ function createController(props) {
|
|
|
1499
1486
|
]
|
|
1500
1487
|
},
|
|
1501
1488
|
authorizationActor: {
|
|
1502
|
-
description: "Authorization actor required to access this API operation.\n\
|
|
1489
|
+
description: "Authorization actor required to access this API operation.\n\nMUST use camelCase. The actor name MUST match exactly with a user\ntype/table defined in the database schema.\n\nSet to `null` for public endpoints requiring no authentication.",
|
|
1503
1490
|
anyOf: [
|
|
1504
1491
|
{
|
|
1505
1492
|
type: "null"
|
|
@@ -1512,24 +1499,24 @@ function createController(props) {
|
|
|
1512
1499
|
]
|
|
1513
1500
|
},
|
|
1514
1501
|
name: {
|
|
1515
|
-
description: "Functional name of the API endpoint
|
|
1502
|
+
description: "Functional name of the API endpoint. MUST use camelCase.\n\nMUST NOT be a JS/TS reserved word (`delete`, `for`, `if`, `class`,\n`return`, `new`, `this`, `void`, `const`, `let`, `var`, `async`, `await`,\n`export`, `import`, `switch`, `case`, `throw`, `try`). Use `erase`\ninstead of `delete`, `iterate` instead of `for`.\n\nStandard names:\n\n- `index`: list/search (PATCH), `at`: get by ID (GET)\n- `create`: POST, `update`: PUT, `erase`: DELETE\n\nAccessor uniqueness: the accessor is formed by joining non-parameter path\nsegments with dots, then appending the name. E.g., path\n`/shopping/sale/{saleId}/review/{reviewId}` + name `at` = accessor\n`shopping.sale.review.at`. Must be globally unique.",
|
|
1516
1503
|
type: "string",
|
|
1517
1504
|
pattern: "^[a-z][a-zA-Z0-9]*$"
|
|
1518
1505
|
},
|
|
1519
1506
|
prerequisites: {
|
|
1520
|
-
description: "Prerequisites
|
|
1507
|
+
description: "Prerequisites: API operations that must succeed before this one.\n\nONLY for business logic dependencies (resource existence, state checks,\ndata availability). NEVER for authentication -- use `authorizationActor`\ninstead.\n\nPrerequisites are executed in array order; all must return 2xx before the\nmain operation proceeds.",
|
|
1521
1508
|
type: "array",
|
|
1522
1509
|
items: {
|
|
1523
1510
|
$ref: "#/$defs/AutoBeOpenApi.IPrerequisite"
|
|
1524
1511
|
}
|
|
1525
1512
|
},
|
|
1526
1513
|
path: {
|
|
1527
|
-
description: "HTTP path of the API operation.\n\
|
|
1514
|
+
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, `/`, `{`, `}`, `-`, `_`, `.`",
|
|
1528
1515
|
type: "string",
|
|
1529
1516
|
pattern: "^\\/[a-zA-Z0-9\\/_{}.-]*$"
|
|
1530
1517
|
},
|
|
1531
1518
|
method: {
|
|
1532
|
-
description: "HTTP method
|
|
1519
|
+
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.",
|
|
1533
1520
|
type: "string",
|
|
1534
1521
|
"enum": [
|
|
1535
1522
|
"get",
|
|
@@ -1555,20 +1542,20 @@ function createController(props) {
|
|
|
1555
1542
|
]
|
|
1556
1543
|
},
|
|
1557
1544
|
"AutoBeOpenApi.IParameter": {
|
|
1558
|
-
description: "Path parameter
|
|
1545
|
+
description: "Path parameter definition for an API route.",
|
|
1559
1546
|
type: "object",
|
|
1560
1547
|
properties: {
|
|
1561
1548
|
description: {
|
|
1562
|
-
description: "Description
|
|
1549
|
+
description: "Description of the path parameter.\n\n> MUST be written in English. Never use other languages.",
|
|
1563
1550
|
type: "string"
|
|
1564
1551
|
},
|
|
1565
1552
|
name: {
|
|
1566
|
-
description: "Identifier name
|
|
1553
|
+
description: "Identifier name in camelCase. Must match the `{paramName}` in the\n{@link AutoBeOpenApi.IOperation.path}.",
|
|
1567
1554
|
type: "string",
|
|
1568
1555
|
pattern: "^[a-z][a-zA-Z0-9]*$"
|
|
1569
1556
|
},
|
|
1570
1557
|
schema: {
|
|
1571
|
-
description: "Type schema of the path parameter
|
|
1558
|
+
description: "Type schema of the path parameter (primitive types only).",
|
|
1572
1559
|
anyOf: [
|
|
1573
1560
|
{
|
|
1574
1561
|
$ref: "#/$defs/AutoBeOpenApi.IJsonSchema.INumber"
|
|
@@ -1601,28 +1588,23 @@ function createController(props) {
|
|
|
1601
1588
|
type: "object",
|
|
1602
1589
|
properties: {
|
|
1603
1590
|
minimum: {
|
|
1604
|
-
description: "Minimum value restriction.",
|
|
1605
1591
|
type: "number"
|
|
1606
1592
|
},
|
|
1607
1593
|
maximum: {
|
|
1608
|
-
description: "Maximum value restriction.",
|
|
1609
1594
|
type: "number"
|
|
1610
1595
|
},
|
|
1611
1596
|
exclusiveMinimum: {
|
|
1612
|
-
description: "Exclusive minimum value restriction.",
|
|
1613
1597
|
type: "number"
|
|
1614
1598
|
},
|
|
1615
1599
|
exclusiveMaximum: {
|
|
1616
|
-
description: "Exclusive maximum value restriction.",
|
|
1617
1600
|
type: "number"
|
|
1618
1601
|
},
|
|
1619
1602
|
multipleOf: {
|
|
1620
|
-
description: "Multiple of value restriction.",
|
|
1621
1603
|
type: "number",
|
|
1622
1604
|
exclusiveMinimum: 0
|
|
1623
1605
|
},
|
|
1624
1606
|
type: {
|
|
1625
|
-
description: "Discriminator value
|
|
1607
|
+
description: "Discriminator value. MUST be a single string, NEVER an array.\n\nFor nullable types, use `IOneOf` instead: `{ oneOf: [{ type: \"string\"\n}, { type: \"null\" }] }`",
|
|
1626
1608
|
type: "string",
|
|
1627
1609
|
"enum": [
|
|
1628
1610
|
"number"
|
|
@@ -1638,28 +1620,23 @@ function createController(props) {
|
|
|
1638
1620
|
type: "object",
|
|
1639
1621
|
properties: {
|
|
1640
1622
|
minimum: {
|
|
1641
|
-
description: "Minimum value restriction.",
|
|
1642
1623
|
type: "integer"
|
|
1643
1624
|
},
|
|
1644
1625
|
maximum: {
|
|
1645
|
-
description: "Maximum value restriction.",
|
|
1646
1626
|
type: "integer"
|
|
1647
1627
|
},
|
|
1648
1628
|
exclusiveMinimum: {
|
|
1649
|
-
description: "Exclusive minimum value restriction.",
|
|
1650
1629
|
type: "integer"
|
|
1651
1630
|
},
|
|
1652
1631
|
exclusiveMaximum: {
|
|
1653
|
-
description: "Exclusive maximum value restriction.",
|
|
1654
1632
|
type: "integer"
|
|
1655
1633
|
},
|
|
1656
1634
|
multipleOf: {
|
|
1657
|
-
description: "Multiple of value restriction.",
|
|
1658
1635
|
type: "integer",
|
|
1659
1636
|
exclusiveMinimum: 0
|
|
1660
1637
|
},
|
|
1661
1638
|
type: {
|
|
1662
|
-
description: "Discriminator value
|
|
1639
|
+
description: "Discriminator value. MUST be a single string, NEVER an array.\n\nFor nullable types, use `IOneOf` instead: `{ oneOf: [{ type: \"string\"\n}, { type: \"null\" }] }`",
|
|
1663
1640
|
type: "string",
|
|
1664
1641
|
"enum": [
|
|
1665
1642
|
"integer"
|
|
@@ -1706,21 +1683,19 @@ function createController(props) {
|
|
|
1706
1683
|
type: "string"
|
|
1707
1684
|
},
|
|
1708
1685
|
contentMediaType: {
|
|
1709
|
-
description: "Content media type restriction.\n\
|
|
1686
|
+
description: "Content media type restriction.\n\nFor multiple media types, use `oneOf` with separate string schemas per\n`contentMediaType` value. Never use an array here.",
|
|
1710
1687
|
type: "string"
|
|
1711
1688
|
},
|
|
1712
1689
|
minLength: {
|
|
1713
|
-
description: "Minimum length restriction.",
|
|
1714
1690
|
type: "integer",
|
|
1715
1691
|
minimum: 0
|
|
1716
1692
|
},
|
|
1717
1693
|
maxLength: {
|
|
1718
|
-
description: "Maximum length restriction.",
|
|
1719
1694
|
type: "integer",
|
|
1720
1695
|
minimum: 0
|
|
1721
1696
|
},
|
|
1722
1697
|
type: {
|
|
1723
|
-
description: "Discriminator value
|
|
1698
|
+
description: "Discriminator value. MUST be a single string, NEVER an array.\n\nFor nullable types, use `IOneOf` instead: `{ oneOf: [{ type: \"string\"\n}, { type: \"null\" }] }`",
|
|
1724
1699
|
type: "string",
|
|
1725
1700
|
"enum": [
|
|
1726
1701
|
"string"
|
|
@@ -1732,15 +1707,15 @@ function createController(props) {
|
|
|
1732
1707
|
]
|
|
1733
1708
|
},
|
|
1734
1709
|
"AutoBeOpenApi.IRequestBody": {
|
|
1735
|
-
description: "Request body
|
|
1710
|
+
description: "Request body for an API operation.\n\nContent-type is always `application/json`. For file uploads, use a URI\nstring property instead of `multipart/form-data`.",
|
|
1736
1711
|
type: "object",
|
|
1737
1712
|
properties: {
|
|
1738
1713
|
description: {
|
|
1739
|
-
description: "Description
|
|
1714
|
+
description: "Description of the request body.\n\n> MUST be written in English. Never use other languages.",
|
|
1740
1715
|
type: "string"
|
|
1741
1716
|
},
|
|
1742
1717
|
typeName: {
|
|
1743
|
-
description: "
|
|
1718
|
+
description: "Type name referencing a component schema.\n\nNaming convention: `IEntityName.ICreate` (POST), `IEntityName.IUpdate`\n(PUT), `IEntityName.IRequest` (list/search).",
|
|
1744
1719
|
type: "string"
|
|
1745
1720
|
}
|
|
1746
1721
|
},
|
|
@@ -1750,15 +1725,15 @@ function createController(props) {
|
|
|
1750
1725
|
]
|
|
1751
1726
|
},
|
|
1752
1727
|
"AutoBeOpenApi.IResponseBody": {
|
|
1753
|
-
description: "Response body
|
|
1728
|
+
description: "Response body for an API operation.\n\nContent-type is always `application/json`. For file downloads, use a URI\nstring property instead of `application/octet-stream`.",
|
|
1754
1729
|
type: "object",
|
|
1755
1730
|
properties: {
|
|
1756
1731
|
description: {
|
|
1757
|
-
description: "Description
|
|
1732
|
+
description: "Description of the response body.\n\n> MUST be written in English. Never use other languages.",
|
|
1758
1733
|
type: "string"
|
|
1759
1734
|
},
|
|
1760
1735
|
typeName: {
|
|
1761
|
-
description: "
|
|
1736
|
+
description: "Type name referencing a component schema.\n\nNaming convention: `IEntityName` (full), `IEntityName.ISummary`,\n`IEntityName.IInvert`, `IPageIEntityName` (paginated).",
|
|
1762
1737
|
type: "string"
|
|
1763
1738
|
}
|
|
1764
1739
|
},
|
|
@@ -1768,15 +1743,15 @@ function createController(props) {
|
|
|
1768
1743
|
]
|
|
1769
1744
|
},
|
|
1770
1745
|
"AutoBeOpenApi.IPrerequisite": {
|
|
1771
|
-
description: "Prerequisite API operation
|
|
1746
|
+
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.",
|
|
1772
1747
|
type: "object",
|
|
1773
1748
|
properties: {
|
|
1774
1749
|
endpoint: {
|
|
1775
|
-
description: "The API endpoint that must be called
|
|
1750
|
+
description: "The API endpoint that must be called first.",
|
|
1776
1751
|
$ref: "#/$defs/AutoBeOpenApi.IEndpoint"
|
|
1777
1752
|
},
|
|
1778
1753
|
description: {
|
|
1779
|
-
description: "
|
|
1754
|
+
description: "Why this prerequisite is required (specific condition or state).\n\n> MUST be written in English. Never use other languages.",
|
|
1780
1755
|
type: "string"
|
|
1781
1756
|
}
|
|
1782
1757
|
},
|
|
@@ -1790,12 +1765,12 @@ function createController(props) {
|
|
|
1790
1765
|
type: "object",
|
|
1791
1766
|
properties: {
|
|
1792
1767
|
path: {
|
|
1793
|
-
description: "HTTP path of the API operation.\n\
|
|
1768
|
+
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, `/`, `{`, `}`, `-`, `_`, `.`",
|
|
1794
1769
|
type: "string",
|
|
1795
1770
|
pattern: "^\\/[a-zA-Z0-9\\/_{}.-]*$"
|
|
1796
1771
|
},
|
|
1797
1772
|
method: {
|
|
1798
|
-
description: "HTTP method
|
|
1773
|
+
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.",
|
|
1799
1774
|
type: "string",
|
|
1800
1775
|
"enum": [
|
|
1801
1776
|
"get",
|
|
@@ -1813,7 +1788,7 @@ function createController(props) {
|
|
|
1813
1788
|
}
|
|
1814
1789
|
}
|
|
1815
1790
|
},
|
|
1816
|
-
description: "Process
|
|
1791
|
+
description: "Process task or retrieve preliminary data.",
|
|
1817
1792
|
validate: (() => { const _iv8 = new Set(["password", "regex", "uuid", "email", "hostname", "idn-email", "idn-hostname", "iri", "iri-reference", "ipv4", "ipv6", "uri", "uri-reference", "uri-template", "url", "date-time", "date", "time", "duration", "json-pointer", "relative-json-pointer"]); const _vv16 = new Set(["password", "regex", "uuid", "email", "hostname", "idn-email", "idn-hostname", "iri", "iri-reference", "ipv4", "ipv6", "uri", "uri-reference", "uri-template", "url", "date-time", "date", "time", "duration", "json-pointer", "relative-json-pointer"]); 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 => "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 => "complete" === input.type && "string" === typeof input.analysis && "string" === typeof input.rationale && (Array.isArray(input.operations) && (1 <= input.operations.length && input.operations.every(elem => "object" === typeof elem && null !== elem && _io6(elem)))); const _io6 = input => "string" === typeof input.specification && "string" === typeof input.description && (null === input.authorizationType || "login" === input.authorizationType || "join" === input.authorizationType || "refresh" === input.authorizationType) && (Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _io7(elem))) && (null === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && _io11(input.requestBody)) && (null === input.responseBody || "object" === typeof input.responseBody && null !== input.responseBody && _io12(input.responseBody)) && (null === input.authorizationActor || "string" === typeof input.authorizationActor && (RegExp("^[a-z][a-zA-Z0-9]*$").test(input.authorizationActor) && 1 <= input.authorizationActor.length)) && ("string" === typeof input.name && RegExp("^[a-z][a-zA-Z0-9]*$").test(input.name)) && (Array.isArray(input.prerequisites) && input.prerequisites.every(elem => "object" === typeof elem && null !== elem && _io13(elem))) && ("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 => "string" === typeof input.description && ("string" === typeof input.name && RegExp("^[a-z][a-zA-Z0-9]*$").test(input.name)) && ("object" === typeof input.schema && null !== input.schema && _iu1(input.schema)); const _io8 = input => (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000)) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type; const _io9 = input => (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type; const _io10 = input => (undefined === input.format || true === _iv8.has(input.format)) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type; const _io11 = input => "string" === typeof input.description && "string" === typeof input.typeName; const _io12 = input => "string" === typeof input.description && "string" === typeof input.typeName; const _io13 = input => "object" === typeof input.endpoint && null !== input.endpoint && _io14(input.endpoint) && "string" === typeof input.description; const _io14 = 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 _iu0 = input => (() => {
|
|
1818
1793
|
if ("getAnalysisSections" === input.type)
|
|
1819
1794
|
return _io1(input);
|