@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
|
@@ -108,7 +108,7 @@ function process(ctx, props) {
|
|
|
108
108
|
properties: {
|
|
109
109
|
thinking: {
|
|
110
110
|
type: "string",
|
|
111
|
-
description: "Think before you act.\n\
|
|
111
|
+
description: "Think before you act.\n\nFor preliminary requests: what critical information is missing and why?\n\nFor completion: what key assets did you acquire, what did you accomplish,\nwhy is it sufficient? Summarize \u2014 don't enumerate every single item."
|
|
112
112
|
},
|
|
113
113
|
request: {
|
|
114
114
|
oneOf: [
|
|
@@ -138,7 +138,7 @@ function process(ctx, props) {
|
|
|
138
138
|
complete: "#/components/schemas/IAutoBeRealizeOperationWriteApplication.IComplete"
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
|
-
description: "
|
|
141
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion, physically preventing repeated calls."
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
144
|
required: [
|
|
@@ -151,7 +151,7 @@ function process(ctx, props) {
|
|
|
151
151
|
properties: {
|
|
152
152
|
type: {
|
|
153
153
|
"const": "getAnalysisSections",
|
|
154
|
-
description: "Type discriminator
|
|
154
|
+
description: "Type discriminator."
|
|
155
155
|
},
|
|
156
156
|
sectionIds: {
|
|
157
157
|
type: "array",
|
|
@@ -161,21 +161,21 @@ function process(ctx, props) {
|
|
|
161
161
|
},
|
|
162
162
|
minItems: 1,
|
|
163
163
|
maxItems: 100,
|
|
164
|
-
description: "
|
|
164
|
+
description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls."
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
167
|
required: [
|
|
168
168
|
"type",
|
|
169
169
|
"sectionIds"
|
|
170
170
|
],
|
|
171
|
-
description: "Request to retrieve individual analysis sections by numeric ID
|
|
171
|
+
description: "Request to retrieve individual analysis sections by numeric ID."
|
|
172
172
|
},
|
|
173
173
|
IAutoBePreliminaryGetDatabaseSchemas: {
|
|
174
174
|
type: "object",
|
|
175
175
|
properties: {
|
|
176
176
|
type: {
|
|
177
177
|
"const": "getDatabaseSchemas",
|
|
178
|
-
description: "Type discriminator
|
|
178
|
+
description: "Type discriminator."
|
|
179
179
|
},
|
|
180
180
|
schemaNames: {
|
|
181
181
|
type: "array",
|
|
@@ -183,21 +183,21 @@ function process(ctx, props) {
|
|
|
183
183
|
type: "string"
|
|
184
184
|
},
|
|
185
185
|
minItems: 1,
|
|
186
|
-
description: "
|
|
186
|
+
description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls."
|
|
187
187
|
}
|
|
188
188
|
},
|
|
189
189
|
required: [
|
|
190
190
|
"type",
|
|
191
191
|
"schemaNames"
|
|
192
192
|
],
|
|
193
|
-
description: "Request to retrieve database schema definitions for context
|
|
193
|
+
description: "Request to retrieve database schema definitions for context."
|
|
194
194
|
},
|
|
195
195
|
IAutoBePreliminaryGetRealizeTransformers: {
|
|
196
196
|
type: "object",
|
|
197
197
|
properties: {
|
|
198
198
|
type: {
|
|
199
199
|
"const": "getRealizeTransformers",
|
|
200
|
-
description: "Type discriminator
|
|
200
|
+
description: "Type discriminator."
|
|
201
201
|
},
|
|
202
202
|
dtoTypeNames: {
|
|
203
203
|
type: "array",
|
|
@@ -205,21 +205,21 @@ function process(ctx, props) {
|
|
|
205
205
|
type: "string"
|
|
206
206
|
},
|
|
207
207
|
minItems: 1,
|
|
208
|
-
description: "
|
|
208
|
+
description: "Transformer DTO type names to retrieve. DO NOT request same names already\nrequested in previous calls."
|
|
209
209
|
}
|
|
210
210
|
},
|
|
211
211
|
required: [
|
|
212
212
|
"type",
|
|
213
213
|
"dtoTypeNames"
|
|
214
214
|
],
|
|
215
|
-
description: "Request to retrieve Realize Transformer function definitions for context
|
|
215
|
+
description: "Request to retrieve Realize Transformer function definitions for context."
|
|
216
216
|
},
|
|
217
217
|
IAutoBePreliminaryGetRealizeCollectors: {
|
|
218
218
|
type: "object",
|
|
219
219
|
properties: {
|
|
220
220
|
type: {
|
|
221
221
|
"const": "getRealizeCollectors",
|
|
222
|
-
description: "Type discriminator
|
|
222
|
+
description: "Type discriminator."
|
|
223
223
|
},
|
|
224
224
|
dtoTypeNames: {
|
|
225
225
|
type: "array",
|
|
@@ -227,14 +227,14 @@ function process(ctx, props) {
|
|
|
227
227
|
type: "string"
|
|
228
228
|
},
|
|
229
229
|
minItems: 1,
|
|
230
|
-
description: "
|
|
230
|
+
description: "Collector DTO type names to retrieve. DO NOT request same names already\nrequested in previous calls."
|
|
231
231
|
}
|
|
232
232
|
},
|
|
233
233
|
required: [
|
|
234
234
|
"type",
|
|
235
235
|
"dtoTypeNames"
|
|
236
236
|
],
|
|
237
|
-
description: "Request to retrieve Realize Collector function definitions for context
|
|
237
|
+
description: "Request to retrieve Realize Collector function definitions for context."
|
|
238
238
|
},
|
|
239
239
|
"IAutoBeRealizeOperationWriteApplication.IComplete": {
|
|
240
240
|
type: "object",
|
|
@@ -245,15 +245,15 @@ function process(ctx, props) {
|
|
|
245
245
|
},
|
|
246
246
|
plan: {
|
|
247
247
|
type: "string",
|
|
248
|
-
description: "Operation implementation plan
|
|
248
|
+
description: "Operation implementation plan. Analyze requirements, identify related\ndatabase schemas, and outline implementation approach including schema\nvalidation and API contract verification."
|
|
249
249
|
},
|
|
250
250
|
draft: {
|
|
251
251
|
type: "string",
|
|
252
|
-
description: "
|
|
252
|
+
description: "First complete implementation attempt based on the plan."
|
|
253
253
|
},
|
|
254
254
|
revise: {
|
|
255
255
|
$ref: "#/components/schemas/IAutoBeRealizeOperationWriteApplication.IReviseProps",
|
|
256
|
-
description: "
|
|
256
|
+
description: "Reviews draft and produces final code."
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
259
|
required: [
|
|
@@ -262,14 +262,14 @@ function process(ctx, props) {
|
|
|
262
262
|
"draft",
|
|
263
263
|
"revise"
|
|
264
264
|
],
|
|
265
|
-
description: "
|
|
265
|
+
description: "Generate operation implementation via plan/draft/revise."
|
|
266
266
|
},
|
|
267
267
|
"IAutoBeRealizeOperationWriteApplication.IReviseProps": {
|
|
268
268
|
type: "object",
|
|
269
269
|
properties: {
|
|
270
270
|
review: {
|
|
271
271
|
type: "string",
|
|
272
|
-
description: "
|
|
272
|
+
description: "Identify improvements:\n\n- Type safety enhancements\n- Database query optimizations\n- Null/undefined handling corrections\n- Authentication/authorization improvements\n- Error handling refinements"
|
|
273
273
|
},
|
|
274
274
|
final: {
|
|
275
275
|
oneOf: [
|
|
@@ -280,7 +280,7 @@ function process(ctx, props) {
|
|
|
280
280
|
type: "string"
|
|
281
281
|
}
|
|
282
282
|
],
|
|
283
|
-
description: "Final operation function code
|
|
283
|
+
description: "Final operation function code with all review improvements applied, or\nnull if draft needs no changes."
|
|
284
284
|
}
|
|
285
285
|
},
|
|
286
286
|
required: [
|
|
@@ -304,7 +304,7 @@ function process(ctx, props) {
|
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
306
|
],
|
|
307
|
-
description: "Process operation function
|
|
307
|
+
description: "Process operation function generation task or preliminary data requests."
|
|
308
308
|
}
|
|
309
309
|
]
|
|
310
310
|
},
|
|
@@ -601,11 +601,11 @@ function createController(props) {
|
|
|
601
601
|
type: "object",
|
|
602
602
|
properties: {
|
|
603
603
|
thinking: {
|
|
604
|
-
description: "Think before you act.\n\
|
|
604
|
+
description: "Think before you act.\n\nFor preliminary requests: what critical information is missing and why?\n\nFor completion: what key assets did you acquire, what did you accomplish,\nwhy is it sufficient? Summarize \u2014 don't enumerate every single item.",
|
|
605
605
|
type: "string"
|
|
606
606
|
},
|
|
607
607
|
request: {
|
|
608
|
-
description: "
|
|
608
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion, physically preventing repeated calls.",
|
|
609
609
|
anyOf: [
|
|
610
610
|
{
|
|
611
611
|
$ref: "#/$defs/IAutoBePreliminaryGetAnalysisSections"
|
|
@@ -642,18 +642,18 @@ function createController(props) {
|
|
|
642
642
|
additionalProperties: false,
|
|
643
643
|
$defs: {
|
|
644
644
|
IAutoBePreliminaryGetAnalysisSections: {
|
|
645
|
-
description: "Request to retrieve individual analysis sections by numeric ID
|
|
645
|
+
description: "Request to retrieve individual analysis sections by numeric ID.",
|
|
646
646
|
type: "object",
|
|
647
647
|
properties: {
|
|
648
648
|
type: {
|
|
649
|
-
description: "Type discriminator
|
|
649
|
+
description: "Type discriminator.",
|
|
650
650
|
type: "string",
|
|
651
651
|
"enum": [
|
|
652
652
|
"getAnalysisSections"
|
|
653
653
|
]
|
|
654
654
|
},
|
|
655
655
|
sectionIds: {
|
|
656
|
-
description: "
|
|
656
|
+
description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls.",
|
|
657
657
|
type: "array",
|
|
658
658
|
items: {
|
|
659
659
|
type: "integer",
|
|
@@ -669,18 +669,18 @@ function createController(props) {
|
|
|
669
669
|
]
|
|
670
670
|
},
|
|
671
671
|
IAutoBePreliminaryGetDatabaseSchemas: {
|
|
672
|
-
description: "Request to retrieve database schema definitions for context
|
|
672
|
+
description: "Request to retrieve database schema definitions for context.",
|
|
673
673
|
type: "object",
|
|
674
674
|
properties: {
|
|
675
675
|
type: {
|
|
676
|
-
description: "Type discriminator
|
|
676
|
+
description: "Type discriminator.",
|
|
677
677
|
type: "string",
|
|
678
678
|
"enum": [
|
|
679
679
|
"getDatabaseSchemas"
|
|
680
680
|
]
|
|
681
681
|
},
|
|
682
682
|
schemaNames: {
|
|
683
|
-
description: "
|
|
683
|
+
description: "Database table names to retrieve. DO NOT request same names already\nrequested in previous calls.",
|
|
684
684
|
type: "array",
|
|
685
685
|
items: {
|
|
686
686
|
type: "string"
|
|
@@ -694,18 +694,18 @@ function createController(props) {
|
|
|
694
694
|
]
|
|
695
695
|
},
|
|
696
696
|
IAutoBePreliminaryGetRealizeTransformers: {
|
|
697
|
-
description: "Request to retrieve Realize Transformer function definitions for context
|
|
697
|
+
description: "Request to retrieve Realize Transformer function definitions for context.",
|
|
698
698
|
type: "object",
|
|
699
699
|
properties: {
|
|
700
700
|
type: {
|
|
701
|
-
description: "Type discriminator
|
|
701
|
+
description: "Type discriminator.",
|
|
702
702
|
type: "string",
|
|
703
703
|
"enum": [
|
|
704
704
|
"getRealizeTransformers"
|
|
705
705
|
]
|
|
706
706
|
},
|
|
707
707
|
dtoTypeNames: {
|
|
708
|
-
description: "
|
|
708
|
+
description: "Transformer DTO type names to retrieve. DO NOT request same names already\nrequested in previous calls.",
|
|
709
709
|
type: "array",
|
|
710
710
|
items: {
|
|
711
711
|
type: "string"
|
|
@@ -719,18 +719,18 @@ function createController(props) {
|
|
|
719
719
|
]
|
|
720
720
|
},
|
|
721
721
|
IAutoBePreliminaryGetRealizeCollectors: {
|
|
722
|
-
description: "Request to retrieve Realize Collector function definitions for context
|
|
722
|
+
description: "Request to retrieve Realize Collector function definitions for context.",
|
|
723
723
|
type: "object",
|
|
724
724
|
properties: {
|
|
725
725
|
type: {
|
|
726
|
-
description: "Type discriminator
|
|
726
|
+
description: "Type discriminator.",
|
|
727
727
|
type: "string",
|
|
728
728
|
"enum": [
|
|
729
729
|
"getRealizeCollectors"
|
|
730
730
|
]
|
|
731
731
|
},
|
|
732
732
|
dtoTypeNames: {
|
|
733
|
-
description: "
|
|
733
|
+
description: "Collector DTO type names to retrieve. DO NOT request same names already\nrequested in previous calls.",
|
|
734
734
|
type: "array",
|
|
735
735
|
items: {
|
|
736
736
|
type: "string"
|
|
@@ -744,7 +744,7 @@ function createController(props) {
|
|
|
744
744
|
]
|
|
745
745
|
},
|
|
746
746
|
"IAutoBeRealizeOperationWriteApplication.IComplete": {
|
|
747
|
-
description: "
|
|
747
|
+
description: "Generate operation implementation via plan/draft/revise.",
|
|
748
748
|
type: "object",
|
|
749
749
|
properties: {
|
|
750
750
|
type: {
|
|
@@ -755,15 +755,15 @@ function createController(props) {
|
|
|
755
755
|
]
|
|
756
756
|
},
|
|
757
757
|
plan: {
|
|
758
|
-
description: "Operation implementation plan
|
|
758
|
+
description: "Operation implementation plan. Analyze requirements, identify related\ndatabase schemas, and outline implementation approach including schema\nvalidation and API contract verification.",
|
|
759
759
|
type: "string"
|
|
760
760
|
},
|
|
761
761
|
draft: {
|
|
762
|
-
description: "
|
|
762
|
+
description: "First complete implementation attempt based on the plan.",
|
|
763
763
|
type: "string"
|
|
764
764
|
},
|
|
765
765
|
revise: {
|
|
766
|
-
description: "
|
|
766
|
+
description: "Reviews draft and produces final code.",
|
|
767
767
|
$ref: "#/$defs/IAutoBeRealizeOperationWriteApplication.IReviseProps"
|
|
768
768
|
}
|
|
769
769
|
},
|
|
@@ -778,11 +778,11 @@ function createController(props) {
|
|
|
778
778
|
type: "object",
|
|
779
779
|
properties: {
|
|
780
780
|
review: {
|
|
781
|
-
description: "
|
|
781
|
+
description: "Identify improvements:\n\n- Type safety enhancements\n- Database query optimizations\n- Null/undefined handling corrections\n- Authentication/authorization improvements\n- Error handling refinements",
|
|
782
782
|
type: "string"
|
|
783
783
|
},
|
|
784
784
|
final: {
|
|
785
|
-
description: "Final operation function code
|
|
785
|
+
description: "Final operation function code with all review improvements applied, or\nnull if draft needs no changes.",
|
|
786
786
|
anyOf: [
|
|
787
787
|
{
|
|
788
788
|
type: "null"
|
|
@@ -800,7 +800,7 @@ function createController(props) {
|
|
|
800
800
|
}
|
|
801
801
|
}
|
|
802
802
|
},
|
|
803
|
-
description: "Process operation function
|
|
803
|
+
description: "Process operation function generation task or preliminary data requests.",
|
|
804
804
|
validate: (() => { const _io0 = input => "string" === typeof input.thinking && ("object" === typeof input.request && null !== input.request && _iu0(input.request)); const _io1 = input => "getAnalysisSections" === input.type && (Array.isArray(input.sectionIds) && (1 <= input.sectionIds.length && input.sectionIds.length <= 100 && input.sectionIds.every(elem => "number" === typeof elem && __typia_transform__isTypeUint32._isTypeUint32(elem)))); const _io2 = input => "getDatabaseSchemas" === input.type && (Array.isArray(input.schemaNames) && (1 <= input.schemaNames.length && input.schemaNames.every(elem => "string" === typeof elem))); const _io3 = input => "getRealizeCollectors" === input.type && (Array.isArray(input.dtoTypeNames) && (1 <= input.dtoTypeNames.length && input.dtoTypeNames.every(elem => "string" === typeof elem))); const _io4 = input => "getRealizeTransformers" === input.type && (Array.isArray(input.dtoTypeNames) && (1 <= input.dtoTypeNames.length && input.dtoTypeNames.every(elem => "string" === typeof elem))); const _io5 = input => "complete" === input.type && "string" === typeof input.plan && "string" === typeof input.draft && ("object" === typeof input.revise && null !== input.revise && _io6(input.revise)); const _io6 = input => "string" === typeof input.review && (null === input.final || "string" === typeof input.final); const _iu0 = input => (() => {
|
|
805
805
|
if ("getAnalysisSections" === input.type)
|
|
806
806
|
return _io1(input);
|
|
@@ -8,6 +8,7 @@ const orchestrateRealizeTransformerCorrectCasting = (ctx, props) => (0, orchestr
|
|
|
8
8
|
template: (func) => AutoBeRealizeTransformerProgrammer_1.AutoBeRealizeTransformerProgrammer.writeTemplate({
|
|
9
9
|
plan: func.plan,
|
|
10
10
|
schema: ctx.state().interface.document.components.schemas[func.plan.dtoTypeName],
|
|
11
|
+
schemas: ctx.state().interface.document.components.schemas,
|
|
11
12
|
}),
|
|
12
13
|
replaceImportStatements: (next) => AutoBeRealizeTransformerProgrammer_1.AutoBeRealizeTransformerProgrammer.replaceImportStatements(ctx, {
|
|
13
14
|
dtoTypeName: next.function.plan.dtoTypeName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrateRealizeTransformerCorrectCasting.js","sourceRoot":"","sources":["../../../src/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.ts"],"names":[],"mappings":";;;AAOA,kGAA+F;AAC/F,yGAAsG;AAE/F,MAAM,2CAA2C,GAAG,CACzD,GAAkB,EAClB,KAGC,EAC4C,EAAE,CAC/C,IAAA,mEAAgC,EAAC,GAAG,EAAE;IACpC,UAAU,EAAE;QACV,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CACjB,uEAAkC,CAAC,aAAa,CAAC;YAC/C,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC,SAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,OAAO,CACxD,IAAI,CAAC,IAAI,CAAC,WAAW,CAC0B;
|
|
1
|
+
{"version":3,"file":"orchestrateRealizeTransformerCorrectCasting.js","sourceRoot":"","sources":["../../../src/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.ts"],"names":[],"mappings":";;;AAOA,kGAA+F;AAC/F,yGAAsG;AAE/F,MAAM,2CAA2C,GAAG,CACzD,GAAkB,EAClB,KAGC,EAC4C,EAAE,CAC/C,IAAA,mEAAgC,EAAC,GAAG,EAAE;IACpC,UAAU,EAAE;QACV,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CACjB,uEAAkC,CAAC,aAAa,CAAC;YAC/C,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC,SAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,OAAO,CACxD,IAAI,CAAC,IAAI,CAAC,WAAW,CAC0B;YACjD,OAAO,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC,SAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,OAAO;SAC5D,CAAC;QACJ,uBAAuB,EAAE,CAAC,IAAI,EAAE,EAAE,CAChC,uEAAkC,CAAC,uBAAuB,CAAC,GAAG,EAAE;YAC9D,WAAW,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW;YAC3C,OAAO,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC,SAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,OAAO;YAC3D,IAAI,EAAE,IAAI,CAAC,IAAI;SAChB,CAAC;QACJ,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;QACtB,QAAQ,EAAE,kBAAkB;KAC7B;IACD,SAAS,EAAE,KAAK,CAAC,SAAS;IAC1B,QAAQ,EAAE,KAAK,CAAC,QAAQ;CACzB,CAAC,CAAC;AA5BQ,QAAA,2CAA2C,+CA4BnD"}
|