@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
|
@@ -87,7 +87,7 @@ function process(ctx, props) {
|
|
|
87
87
|
properties: {
|
|
88
88
|
thinking: {
|
|
89
89
|
type: "string",
|
|
90
|
-
description: "Think before you act.\n\
|
|
90
|
+
description: "Think before you act.\n\nFor preliminary requests: what critical information is missing and why?\nBe brief \u2014 state the gap, don't list everything you have.\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."
|
|
91
91
|
},
|
|
92
92
|
request: {
|
|
93
93
|
oneOf: [
|
|
@@ -113,7 +113,7 @@ function process(ctx, props) {
|
|
|
113
113
|
complete: "#/components/schemas/IAutoBeDatabaseAuthorizationApplication.IComplete"
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
|
-
description: "
|
|
116
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion, physically preventing repeated calls."
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
required: [
|
|
@@ -126,7 +126,7 @@ function process(ctx, props) {
|
|
|
126
126
|
properties: {
|
|
127
127
|
type: {
|
|
128
128
|
"const": "getPreviousAnalysisSections",
|
|
129
|
-
description: "Type discriminator
|
|
129
|
+
description: "Type discriminator."
|
|
130
130
|
},
|
|
131
131
|
sectionIds: {
|
|
132
132
|
type: "array",
|
|
@@ -135,21 +135,21 @@ function process(ctx, props) {
|
|
|
135
135
|
minimum: 0
|
|
136
136
|
},
|
|
137
137
|
minItems: 1,
|
|
138
|
-
description: "
|
|
138
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls."
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
required: [
|
|
142
142
|
"type",
|
|
143
143
|
"sectionIds"
|
|
144
144
|
],
|
|
145
|
-
description: "Request to retrieve
|
|
145
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID."
|
|
146
146
|
},
|
|
147
147
|
IAutoBePreliminaryGetAnalysisSections: {
|
|
148
148
|
type: "object",
|
|
149
149
|
properties: {
|
|
150
150
|
type: {
|
|
151
151
|
"const": "getAnalysisSections",
|
|
152
|
-
description: "Type discriminator
|
|
152
|
+
description: "Type discriminator."
|
|
153
153
|
},
|
|
154
154
|
sectionIds: {
|
|
155
155
|
type: "array",
|
|
@@ -159,21 +159,21 @@ function process(ctx, props) {
|
|
|
159
159
|
},
|
|
160
160
|
minItems: 1,
|
|
161
161
|
maxItems: 100,
|
|
162
|
-
description: "
|
|
162
|
+
description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls."
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
required: [
|
|
166
166
|
"type",
|
|
167
167
|
"sectionIds"
|
|
168
168
|
],
|
|
169
|
-
description: "Request to retrieve individual analysis sections by numeric ID
|
|
169
|
+
description: "Request to retrieve individual analysis sections by numeric ID."
|
|
170
170
|
},
|
|
171
171
|
IAutoBePreliminaryGetPreviousDatabaseSchemas: {
|
|
172
172
|
type: "object",
|
|
173
173
|
properties: {
|
|
174
174
|
type: {
|
|
175
175
|
"const": "getPreviousDatabaseSchemas",
|
|
176
|
-
description: "Type discriminator
|
|
176
|
+
description: "Type discriminator."
|
|
177
177
|
},
|
|
178
178
|
schemaNames: {
|
|
179
179
|
type: "array",
|
|
@@ -181,29 +181,29 @@ function process(ctx, props) {
|
|
|
181
181
|
type: "string"
|
|
182
182
|
},
|
|
183
183
|
minItems: 1,
|
|
184
|
-
description: "
|
|
184
|
+
description: "Table names to retrieve from previous iteration. DO NOT request same names\nalready requested in previous calls."
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
required: [
|
|
188
188
|
"type",
|
|
189
189
|
"schemaNames"
|
|
190
190
|
],
|
|
191
|
-
description: "Request to retrieve database schemas from
|
|
191
|
+
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."
|
|
192
192
|
},
|
|
193
193
|
"IAutoBeDatabaseAuthorizationApplication.IComplete": {
|
|
194
194
|
type: "object",
|
|
195
195
|
properties: {
|
|
196
196
|
type: {
|
|
197
197
|
"const": "complete",
|
|
198
|
-
description: "Type discriminator for
|
|
198
|
+
description: "Type discriminator for completion request."
|
|
199
199
|
},
|
|
200
200
|
analysis: {
|
|
201
201
|
type: "string",
|
|
202
|
-
description: "Analysis of all actors' authentication requirements
|
|
202
|
+
description: "Analysis of all actors' authentication requirements and patterns."
|
|
203
203
|
},
|
|
204
204
|
rationale: {
|
|
205
205
|
type: "string",
|
|
206
|
-
description: "Rationale for the authorization table design decisions
|
|
206
|
+
description: "Rationale for the authorization table design decisions."
|
|
207
207
|
},
|
|
208
208
|
tables: {
|
|
209
209
|
type: "array",
|
|
@@ -211,7 +211,7 @@ function process(ctx, props) {
|
|
|
211
211
|
$ref: "#/components/schemas/AutoBeDatabaseComponentTableDesign"
|
|
212
212
|
},
|
|
213
213
|
minItems: 1,
|
|
214
|
-
description: "
|
|
214
|
+
description: "Table designs for all actors' authentication domains (snake_case, plural\nnames).\n\nMUST include for each actor: main actor table + session table. MAY\ninclude: password reset, email verification, OAuth, 2FA tables."
|
|
215
215
|
}
|
|
216
216
|
},
|
|
217
217
|
required: [
|
|
@@ -220,26 +220,26 @@ function process(ctx, props) {
|
|
|
220
220
|
"rationale",
|
|
221
221
|
"tables"
|
|
222
222
|
],
|
|
223
|
-
description: "
|
|
223
|
+
description: "Complete authorization table design for all actors. Each actor must have a\nmain actor table and a session table."
|
|
224
224
|
},
|
|
225
225
|
AutoBeDatabaseComponentTableDesign: {
|
|
226
226
|
type: "object",
|
|
227
227
|
properties: {
|
|
228
228
|
description: {
|
|
229
229
|
type: "string",
|
|
230
|
-
description: "
|
|
230
|
+
description: "Business purpose of this table. One or two sentences maximum. MUST be\nwritten in English."
|
|
231
231
|
},
|
|
232
232
|
name: {
|
|
233
233
|
type: "string",
|
|
234
234
|
pattern: "^[a-z][a-z0-9_]*$",
|
|
235
|
-
description: "
|
|
235
|
+
description: "Table name in snake_case with domain prefix (e.g., \"shopping_customers\")."
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
238
|
required: [
|
|
239
239
|
"description",
|
|
240
240
|
"name"
|
|
241
241
|
],
|
|
242
|
-
description: "Table design with name and description
|
|
242
|
+
description: "Table design with name and description."
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
},
|
|
@@ -250,14 +250,14 @@ function process(ctx, props) {
|
|
|
250
250
|
parameters: [
|
|
251
251
|
{
|
|
252
252
|
name: "props",
|
|
253
|
-
description: " Request containing either preliminary data request or complete\
|
|
253
|
+
description: " Request containing either preliminary data request or complete\ntask",
|
|
254
254
|
required: true,
|
|
255
255
|
schema: {
|
|
256
256
|
$ref: "#/components/schemas/IAutoBeDatabaseAuthorizationApplication.IProps"
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
],
|
|
260
|
-
description: "Process authorization table design task
|
|
260
|
+
description: "Process authorization table design task or preliminary data requests."
|
|
261
261
|
}
|
|
262
262
|
]
|
|
263
263
|
},
|
|
@@ -524,11 +524,11 @@ function createController(props) {
|
|
|
524
524
|
type: "object",
|
|
525
525
|
properties: {
|
|
526
526
|
thinking: {
|
|
527
|
-
description: "Think before you act.\n\
|
|
527
|
+
description: "Think before you act.\n\nFor preliminary requests: what critical information is missing and why?\nBe brief \u2014 state the gap, don't list everything you have.\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.",
|
|
528
528
|
type: "string"
|
|
529
529
|
},
|
|
530
530
|
request: {
|
|
531
|
-
description: "
|
|
531
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion, physically preventing repeated calls.",
|
|
532
532
|
anyOf: [
|
|
533
533
|
{
|
|
534
534
|
$ref: "#/$defs/IAutoBePreliminaryGetPreviousAnalysisSections"
|
|
@@ -561,18 +561,18 @@ function createController(props) {
|
|
|
561
561
|
additionalProperties: false,
|
|
562
562
|
$defs: {
|
|
563
563
|
IAutoBePreliminaryGetPreviousAnalysisSections: {
|
|
564
|
-
description: "Request to retrieve
|
|
564
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID.",
|
|
565
565
|
type: "object",
|
|
566
566
|
properties: {
|
|
567
567
|
type: {
|
|
568
|
-
description: "Type discriminator
|
|
568
|
+
description: "Type discriminator.",
|
|
569
569
|
type: "string",
|
|
570
570
|
"enum": [
|
|
571
571
|
"getPreviousAnalysisSections"
|
|
572
572
|
]
|
|
573
573
|
},
|
|
574
574
|
sectionIds: {
|
|
575
|
-
description: "
|
|
575
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls.",
|
|
576
576
|
type: "array",
|
|
577
577
|
items: {
|
|
578
578
|
type: "integer",
|
|
@@ -587,18 +587,18 @@ function createController(props) {
|
|
|
587
587
|
]
|
|
588
588
|
},
|
|
589
589
|
IAutoBePreliminaryGetAnalysisSections: {
|
|
590
|
-
description: "Request to retrieve individual analysis sections by numeric ID
|
|
590
|
+
description: "Request to retrieve individual analysis sections by numeric ID.",
|
|
591
591
|
type: "object",
|
|
592
592
|
properties: {
|
|
593
593
|
type: {
|
|
594
|
-
description: "Type discriminator
|
|
594
|
+
description: "Type discriminator.",
|
|
595
595
|
type: "string",
|
|
596
596
|
"enum": [
|
|
597
597
|
"getAnalysisSections"
|
|
598
598
|
]
|
|
599
599
|
},
|
|
600
600
|
sectionIds: {
|
|
601
|
-
description: "
|
|
601
|
+
description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls.",
|
|
602
602
|
type: "array",
|
|
603
603
|
items: {
|
|
604
604
|
type: "integer",
|
|
@@ -614,18 +614,18 @@ function createController(props) {
|
|
|
614
614
|
]
|
|
615
615
|
},
|
|
616
616
|
IAutoBePreliminaryGetPreviousDatabaseSchemas: {
|
|
617
|
-
description: "Request to retrieve database schemas from
|
|
617
|
+
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.",
|
|
618
618
|
type: "object",
|
|
619
619
|
properties: {
|
|
620
620
|
type: {
|
|
621
|
-
description: "Type discriminator
|
|
621
|
+
description: "Type discriminator.",
|
|
622
622
|
type: "string",
|
|
623
623
|
"enum": [
|
|
624
624
|
"getPreviousDatabaseSchemas"
|
|
625
625
|
]
|
|
626
626
|
},
|
|
627
627
|
schemaNames: {
|
|
628
|
-
description: "
|
|
628
|
+
description: "Table names to retrieve from previous iteration. DO NOT request same names\nalready requested in previous calls.",
|
|
629
629
|
type: "array",
|
|
630
630
|
items: {
|
|
631
631
|
type: "string"
|
|
@@ -639,26 +639,26 @@ function createController(props) {
|
|
|
639
639
|
]
|
|
640
640
|
},
|
|
641
641
|
"IAutoBeDatabaseAuthorizationApplication.IComplete": {
|
|
642
|
-
description: "
|
|
642
|
+
description: "Complete authorization table design for all actors. Each actor must have a\nmain actor table and a session table.",
|
|
643
643
|
type: "object",
|
|
644
644
|
properties: {
|
|
645
645
|
type: {
|
|
646
|
-
description: "Type discriminator for
|
|
646
|
+
description: "Type discriminator for completion request.",
|
|
647
647
|
type: "string",
|
|
648
648
|
"enum": [
|
|
649
649
|
"complete"
|
|
650
650
|
]
|
|
651
651
|
},
|
|
652
652
|
analysis: {
|
|
653
|
-
description: "Analysis of all actors' authentication requirements
|
|
653
|
+
description: "Analysis of all actors' authentication requirements and patterns.",
|
|
654
654
|
type: "string"
|
|
655
655
|
},
|
|
656
656
|
rationale: {
|
|
657
|
-
description: "Rationale for the authorization table design decisions
|
|
657
|
+
description: "Rationale for the authorization table design decisions.",
|
|
658
658
|
type: "string"
|
|
659
659
|
},
|
|
660
660
|
tables: {
|
|
661
|
-
description: "
|
|
661
|
+
description: "Table designs for all actors' authentication domains (snake_case, plural\nnames).\n\nMUST include for each actor: main actor table + session table. MAY\ninclude: password reset, email verification, OAuth, 2FA tables.",
|
|
662
662
|
type: "array",
|
|
663
663
|
items: {
|
|
664
664
|
$ref: "#/$defs/AutoBeDatabaseComponentTableDesign"
|
|
@@ -674,15 +674,15 @@ function createController(props) {
|
|
|
674
674
|
]
|
|
675
675
|
},
|
|
676
676
|
AutoBeDatabaseComponentTableDesign: {
|
|
677
|
-
description: "Table design with name and description
|
|
677
|
+
description: "Table design with name and description.",
|
|
678
678
|
type: "object",
|
|
679
679
|
properties: {
|
|
680
680
|
description: {
|
|
681
|
-
description: "
|
|
681
|
+
description: "Business purpose of this table. One or two sentences maximum. MUST be\nwritten in English.",
|
|
682
682
|
type: "string"
|
|
683
683
|
},
|
|
684
684
|
name: {
|
|
685
|
-
description: "
|
|
685
|
+
description: "Table name in snake_case with domain prefix (e.g., \"shopping_customers\").",
|
|
686
686
|
type: "string",
|
|
687
687
|
pattern: "^[a-z][a-z0-9_]*$"
|
|
688
688
|
}
|
|
@@ -694,7 +694,7 @@ function createController(props) {
|
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
696
|
},
|
|
697
|
-
description: "Process authorization table design task
|
|
697
|
+
description: "Process authorization table design task or preliminary data requests.",
|
|
698
698
|
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 => "getPreviousAnalysisSections" === input.type && (Array.isArray(input.sectionIds) && (1 <= input.sectionIds.length && input.sectionIds.every(elem => "number" === typeof elem && __typia_transform__isTypeUint32._isTypeUint32(elem)))); const _io3 = input => "getPreviousDatabaseSchemas" === input.type && (Array.isArray(input.schemaNames) && (1 <= input.schemaNames.length && input.schemaNames.every(elem => "string" === typeof elem))); const _io4 = input => "complete" === input.type && "string" === typeof input.analysis && "string" === typeof input.rationale && (Array.isArray(input.tables) && (1 <= input.tables.length && input.tables.every(elem => "object" === typeof elem && null !== elem && _io5(elem)))); const _io5 = input => "string" === typeof input.description && ("string" === typeof input.name && RegExp("^[a-z][a-z0-9_]*$").test(input.name)); const _iu0 = input => (() => {
|
|
699
699
|
if ("getPreviousAnalysisSections" === input.type)
|
|
700
700
|
return _io2(input);
|