@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
|
@@ -67,7 +67,7 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
67
67
|
properties: {
|
|
68
68
|
thinking: {
|
|
69
69
|
type: "string",
|
|
70
|
-
description: "
|
|
70
|
+
description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion)."
|
|
71
71
|
},
|
|
72
72
|
request: {
|
|
73
73
|
oneOf: [
|
|
@@ -93,7 +93,7 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
93
93
|
complete: "#/components/schemas/IAutoBeDatabaseGroupReviewApplication.IComplete"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
|
-
description: "
|
|
96
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion."
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
required: [
|
|
@@ -106,7 +106,7 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
106
106
|
properties: {
|
|
107
107
|
type: {
|
|
108
108
|
"const": "getPreviousAnalysisSections",
|
|
109
|
-
description: "Type discriminator
|
|
109
|
+
description: "Type discriminator."
|
|
110
110
|
},
|
|
111
111
|
sectionIds: {
|
|
112
112
|
type: "array",
|
|
@@ -115,21 +115,21 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
115
115
|
minimum: 0
|
|
116
116
|
},
|
|
117
117
|
minItems: 1,
|
|
118
|
-
description: "
|
|
118
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls."
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
required: [
|
|
122
122
|
"type",
|
|
123
123
|
"sectionIds"
|
|
124
124
|
],
|
|
125
|
-
description: "Request to retrieve
|
|
125
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID."
|
|
126
126
|
},
|
|
127
127
|
IAutoBePreliminaryGetAnalysisSections: {
|
|
128
128
|
type: "object",
|
|
129
129
|
properties: {
|
|
130
130
|
type: {
|
|
131
131
|
"const": "getAnalysisSections",
|
|
132
|
-
description: "Type discriminator
|
|
132
|
+
description: "Type discriminator."
|
|
133
133
|
},
|
|
134
134
|
sectionIds: {
|
|
135
135
|
type: "array",
|
|
@@ -139,21 +139,21 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
139
139
|
},
|
|
140
140
|
minItems: 1,
|
|
141
141
|
maxItems: 100,
|
|
142
|
-
description: "
|
|
142
|
+
description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls."
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
145
|
required: [
|
|
146
146
|
"type",
|
|
147
147
|
"sectionIds"
|
|
148
148
|
],
|
|
149
|
-
description: "Request to retrieve individual analysis sections by numeric ID
|
|
149
|
+
description: "Request to retrieve individual analysis sections by numeric ID."
|
|
150
150
|
},
|
|
151
151
|
IAutoBePreliminaryGetPreviousDatabaseSchemas: {
|
|
152
152
|
type: "object",
|
|
153
153
|
properties: {
|
|
154
154
|
type: {
|
|
155
155
|
"const": "getPreviousDatabaseSchemas",
|
|
156
|
-
description: "Type discriminator
|
|
156
|
+
description: "Type discriminator."
|
|
157
157
|
},
|
|
158
158
|
schemaNames: {
|
|
159
159
|
type: "array",
|
|
@@ -161,14 +161,14 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
161
161
|
type: "string"
|
|
162
162
|
},
|
|
163
163
|
minItems: 1,
|
|
164
|
-
description: "
|
|
164
|
+
description: "Table names to retrieve from previous iteration. DO NOT request same names\nalready requested in previous calls."
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
167
|
required: [
|
|
168
168
|
"type",
|
|
169
169
|
"schemaNames"
|
|
170
170
|
],
|
|
171
|
-
description: "Request to retrieve database schemas from
|
|
171
|
+
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."
|
|
172
172
|
},
|
|
173
173
|
"IAutoBeDatabaseGroupReviewApplication.IComplete": {
|
|
174
174
|
type: "object",
|
|
@@ -179,14 +179,14 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
179
179
|
},
|
|
180
180
|
review: {
|
|
181
181
|
type: "string",
|
|
182
|
-
description: "
|
|
182
|
+
description: "How business requirements map to proposed group modifications,\nidentifying coverage gaps."
|
|
183
183
|
},
|
|
184
184
|
revises: {
|
|
185
185
|
type: "array",
|
|
186
186
|
items: {
|
|
187
187
|
$ref: "#/components/schemas/AutoBeDatabaseGroupRevise"
|
|
188
188
|
},
|
|
189
|
-
description: "
|
|
189
|
+
description: "Group revision operations (create/update/erase). Each must include a\nreason.\n\nConstraints:\n\n- After revisions: exactly 1 authorization group, at least 1 domain group\n- Empty array is valid if no modifications are needed\n\nNaming: namespace PascalCase, filename `schema-{number}-{domain}.prisma`,\nkind \"authorization\" or \"domain\"."
|
|
190
190
|
}
|
|
191
191
|
},
|
|
192
192
|
required: [
|
|
@@ -216,22 +216,22 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
216
216
|
update: "#/components/schemas/AutoBeDatabaseGroupReviseUpdate"
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
|
-
description: "Group revision
|
|
219
|
+
description: "Group revision: create | update | erase."
|
|
220
220
|
},
|
|
221
221
|
AutoBeDatabaseGroupReviseCreate: {
|
|
222
222
|
type: "object",
|
|
223
223
|
properties: {
|
|
224
224
|
type: {
|
|
225
225
|
"const": "create",
|
|
226
|
-
description: "Type discriminator
|
|
226
|
+
description: "Type discriminator."
|
|
227
227
|
},
|
|
228
228
|
reason: {
|
|
229
229
|
type: "string",
|
|
230
|
-
description: "
|
|
230
|
+
description: "Why this group is needed. Keep concise."
|
|
231
231
|
},
|
|
232
232
|
group: {
|
|
233
233
|
$ref: "#/components/schemas/AutoBeDatabaseGroup",
|
|
234
|
-
description: "The new group to add
|
|
234
|
+
description: "The new group to add (complete AutoBeDatabaseGroup)."
|
|
235
235
|
}
|
|
236
236
|
},
|
|
237
237
|
required: [
|
|
@@ -239,31 +239,31 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
239
239
|
"reason",
|
|
240
240
|
"group"
|
|
241
241
|
],
|
|
242
|
-
description: "
|
|
242
|
+
description: "Add a missing group to the component skeleton list."
|
|
243
243
|
},
|
|
244
244
|
AutoBeDatabaseGroup: {
|
|
245
245
|
type: "object",
|
|
246
246
|
properties: {
|
|
247
247
|
thinking: {
|
|
248
248
|
type: "string",
|
|
249
|
-
description: "Initial thoughts on why these tables belong together
|
|
249
|
+
description: "Initial thoughts on why these tables belong together."
|
|
250
250
|
},
|
|
251
251
|
review: {
|
|
252
252
|
type: "string",
|
|
253
|
-
description: "Review considerations
|
|
253
|
+
description: "Review considerations: relationships with other domains, grouping\nvalidation."
|
|
254
254
|
},
|
|
255
255
|
rationale: {
|
|
256
256
|
type: "string",
|
|
257
|
-
description: "Final rationale
|
|
257
|
+
description: "Final rationale cementing the component's structure."
|
|
258
258
|
},
|
|
259
259
|
namespace: {
|
|
260
260
|
type: "string",
|
|
261
|
-
description: "Business domain namespace
|
|
261
|
+
description: "Business domain namespace for Prisma"
|
|
262
262
|
},
|
|
263
263
|
filename: {
|
|
264
264
|
type: "string",
|
|
265
265
|
pattern: "^[a-zA-Z0-9._-]+\\.prisma$",
|
|
266
|
-
description: "
|
|
266
|
+
description: "Prisma schema filename. Convention: `schema-{number}-{domain}.prisma` where\nnumber indicates dependency order."
|
|
267
267
|
},
|
|
268
268
|
kind: {
|
|
269
269
|
oneOf: [
|
|
@@ -274,7 +274,7 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
274
274
|
"const": "domain"
|
|
275
275
|
}
|
|
276
276
|
],
|
|
277
|
-
description: "
|
|
277
|
+
description: "Component group kind.\n\n- `\"authorization\"`: Auth tables (users, sessions, password resets).\n Processed by Authorization Agent.\n- `\"domain\"`: Business tables (products, orders). Processed by Component\n Agent."
|
|
278
278
|
}
|
|
279
279
|
},
|
|
280
280
|
required: [
|
|
@@ -285,22 +285,22 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
285
285
|
"filename",
|
|
286
286
|
"kind"
|
|
287
287
|
],
|
|
288
|
-
description: "Database component skeleton generated during the DATABASE_GROUP phase.\n\
|
|
288
|
+
description: "Database component skeleton generated during the DATABASE_GROUP phase.\n\nField order is deliberate: reasoning fields (thinking \u2192 review \u2192 rationale)\ncome BEFORE technical fields (namespace \u2192 filename \u2192 kind) to ensure the AI\nreasons through purpose before committing to technical details."
|
|
289
289
|
},
|
|
290
290
|
AutoBeDatabaseGroupReviseErase: {
|
|
291
291
|
type: "object",
|
|
292
292
|
properties: {
|
|
293
293
|
type: {
|
|
294
294
|
"const": "erase",
|
|
295
|
-
description: "Type discriminator
|
|
295
|
+
description: "Type discriminator."
|
|
296
296
|
},
|
|
297
297
|
reason: {
|
|
298
298
|
type: "string",
|
|
299
|
-
description: "
|
|
299
|
+
description: "Why this group should be removed. Keep concise."
|
|
300
300
|
},
|
|
301
301
|
namespace: {
|
|
302
302
|
type: "string",
|
|
303
|
-
description: "
|
|
303
|
+
description: "Namespace of the group to remove. Must match exactly."
|
|
304
304
|
}
|
|
305
305
|
},
|
|
306
306
|
required: [
|
|
@@ -308,26 +308,26 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
308
308
|
"reason",
|
|
309
309
|
"namespace"
|
|
310
310
|
],
|
|
311
|
-
description: "
|
|
311
|
+
description: "Remove a group from the component skeleton list."
|
|
312
312
|
},
|
|
313
313
|
AutoBeDatabaseGroupReviseUpdate: {
|
|
314
314
|
type: "object",
|
|
315
315
|
properties: {
|
|
316
316
|
type: {
|
|
317
317
|
"const": "update",
|
|
318
|
-
description: "Type discriminator
|
|
318
|
+
description: "Type discriminator."
|
|
319
319
|
},
|
|
320
320
|
reason: {
|
|
321
321
|
type: "string",
|
|
322
|
-
description: "
|
|
322
|
+
description: "Why this fix is needed. Keep concise."
|
|
323
323
|
},
|
|
324
324
|
originalNamespace: {
|
|
325
325
|
type: "string",
|
|
326
|
-
description: "
|
|
326
|
+
description: "Namespace of the original group. Must match exactly."
|
|
327
327
|
},
|
|
328
328
|
group: {
|
|
329
329
|
$ref: "#/components/schemas/AutoBeDatabaseGroup",
|
|
330
|
-
description: "
|
|
330
|
+
description: "Updated group definition (complete AutoBeDatabaseGroup)."
|
|
331
331
|
}
|
|
332
332
|
},
|
|
333
333
|
required: [
|
|
@@ -336,7 +336,7 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
336
336
|
"originalNamespace",
|
|
337
337
|
"group"
|
|
338
338
|
],
|
|
339
|
-
description: "
|
|
339
|
+
description: "Fix an existing group's properties (namespace, filename, kind, reasoning)."
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
},
|
|
@@ -347,14 +347,13 @@ function orchestratePrismaGroupReview(ctx, props) {
|
|
|
347
347
|
parameters: [
|
|
348
348
|
{
|
|
349
349
|
name: "props",
|
|
350
|
-
description: " Request containing either preliminary data request or complete\ntask with group revisions",
|
|
351
350
|
required: true,
|
|
352
351
|
schema: {
|
|
353
352
|
$ref: "#/components/schemas/IAutoBeDatabaseGroupReviewApplication.IProps"
|
|
354
353
|
}
|
|
355
354
|
}
|
|
356
355
|
],
|
|
357
|
-
description: "
|
|
356
|
+
description: "Process group review task or retrieve preliminary data."
|
|
358
357
|
}
|
|
359
358
|
]
|
|
360
359
|
},
|
|
@@ -697,11 +696,11 @@ function createController(props) {
|
|
|
697
696
|
type: "object",
|
|
698
697
|
properties: {
|
|
699
698
|
thinking: {
|
|
700
|
-
description: "
|
|
699
|
+
description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion).",
|
|
701
700
|
type: "string"
|
|
702
701
|
},
|
|
703
702
|
request: {
|
|
704
|
-
description: "
|
|
703
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion.",
|
|
705
704
|
anyOf: [
|
|
706
705
|
{
|
|
707
706
|
$ref: "#/$defs/IAutoBePreliminaryGetPreviousAnalysisSections"
|
|
@@ -734,18 +733,18 @@ function createController(props) {
|
|
|
734
733
|
additionalProperties: false,
|
|
735
734
|
$defs: {
|
|
736
735
|
IAutoBePreliminaryGetPreviousAnalysisSections: {
|
|
737
|
-
description: "Request to retrieve
|
|
736
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID.",
|
|
738
737
|
type: "object",
|
|
739
738
|
properties: {
|
|
740
739
|
type: {
|
|
741
|
-
description: "Type discriminator
|
|
740
|
+
description: "Type discriminator.",
|
|
742
741
|
type: "string",
|
|
743
742
|
"enum": [
|
|
744
743
|
"getPreviousAnalysisSections"
|
|
745
744
|
]
|
|
746
745
|
},
|
|
747
746
|
sectionIds: {
|
|
748
|
-
description: "
|
|
747
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls.",
|
|
749
748
|
type: "array",
|
|
750
749
|
items: {
|
|
751
750
|
type: "integer",
|
|
@@ -760,18 +759,18 @@ function createController(props) {
|
|
|
760
759
|
]
|
|
761
760
|
},
|
|
762
761
|
IAutoBePreliminaryGetAnalysisSections: {
|
|
763
|
-
description: "Request to retrieve individual analysis sections by numeric ID
|
|
762
|
+
description: "Request to retrieve individual analysis sections by numeric ID.",
|
|
764
763
|
type: "object",
|
|
765
764
|
properties: {
|
|
766
765
|
type: {
|
|
767
|
-
description: "Type discriminator
|
|
766
|
+
description: "Type discriminator.",
|
|
768
767
|
type: "string",
|
|
769
768
|
"enum": [
|
|
770
769
|
"getAnalysisSections"
|
|
771
770
|
]
|
|
772
771
|
},
|
|
773
772
|
sectionIds: {
|
|
774
|
-
description: "
|
|
773
|
+
description: "Section IDs to retrieve. DO NOT request same IDs already requested in\nprevious calls.",
|
|
775
774
|
type: "array",
|
|
776
775
|
items: {
|
|
777
776
|
type: "integer",
|
|
@@ -787,18 +786,18 @@ function createController(props) {
|
|
|
787
786
|
]
|
|
788
787
|
},
|
|
789
788
|
IAutoBePreliminaryGetPreviousDatabaseSchemas: {
|
|
790
|
-
description: "Request to retrieve database schemas from
|
|
789
|
+
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.",
|
|
791
790
|
type: "object",
|
|
792
791
|
properties: {
|
|
793
792
|
type: {
|
|
794
|
-
description: "Type discriminator
|
|
793
|
+
description: "Type discriminator.",
|
|
795
794
|
type: "string",
|
|
796
795
|
"enum": [
|
|
797
796
|
"getPreviousDatabaseSchemas"
|
|
798
797
|
]
|
|
799
798
|
},
|
|
800
799
|
schemaNames: {
|
|
801
|
-
description: "
|
|
800
|
+
description: "Table names to retrieve from previous iteration. DO NOT request same names\nalready requested in previous calls.",
|
|
802
801
|
type: "array",
|
|
803
802
|
items: {
|
|
804
803
|
type: "string"
|
|
@@ -823,11 +822,11 @@ function createController(props) {
|
|
|
823
822
|
]
|
|
824
823
|
},
|
|
825
824
|
review: {
|
|
826
|
-
description: "
|
|
825
|
+
description: "How business requirements map to proposed group modifications,\nidentifying coverage gaps.",
|
|
827
826
|
type: "string"
|
|
828
827
|
},
|
|
829
828
|
revises: {
|
|
830
|
-
description: "
|
|
829
|
+
description: "Group revision operations (create/update/erase). Each must include a\nreason.\n\nConstraints:\n\n- After revisions: exactly 1 authorization group, at least 1 domain group\n- Empty array is valid if no modifications are needed\n\nNaming: namespace PascalCase, filename `schema-{number}-{domain}.prisma`,\nkind \"authorization\" or \"domain\".",
|
|
831
830
|
type: "array",
|
|
832
831
|
items: {
|
|
833
832
|
$ref: "#/$defs/AutoBeDatabaseGroupRevise"
|
|
@@ -841,7 +840,7 @@ function createController(props) {
|
|
|
841
840
|
]
|
|
842
841
|
},
|
|
843
842
|
AutoBeDatabaseGroupRevise: {
|
|
844
|
-
description: "Group revision
|
|
843
|
+
description: "Group revision: create | update | erase.",
|
|
845
844
|
anyOf: [
|
|
846
845
|
{
|
|
847
846
|
$ref: "#/$defs/AutoBeDatabaseGroupReviseCreate"
|
|
@@ -863,22 +862,22 @@ function createController(props) {
|
|
|
863
862
|
}
|
|
864
863
|
},
|
|
865
864
|
AutoBeDatabaseGroupReviseCreate: {
|
|
866
|
-
description: "
|
|
865
|
+
description: "Add a missing group to the component skeleton list.",
|
|
867
866
|
type: "object",
|
|
868
867
|
properties: {
|
|
869
868
|
type: {
|
|
870
|
-
description: "Type discriminator
|
|
869
|
+
description: "Type discriminator.",
|
|
871
870
|
type: "string",
|
|
872
871
|
"enum": [
|
|
873
872
|
"create"
|
|
874
873
|
]
|
|
875
874
|
},
|
|
876
875
|
reason: {
|
|
877
|
-
description: "
|
|
876
|
+
description: "Why this group is needed. Keep concise.",
|
|
878
877
|
type: "string"
|
|
879
878
|
},
|
|
880
879
|
group: {
|
|
881
|
-
description: "The new group to add
|
|
880
|
+
description: "The new group to add (complete AutoBeDatabaseGroup).",
|
|
882
881
|
$ref: "#/$defs/AutoBeDatabaseGroup"
|
|
883
882
|
}
|
|
884
883
|
},
|
|
@@ -889,32 +888,32 @@ function createController(props) {
|
|
|
889
888
|
]
|
|
890
889
|
},
|
|
891
890
|
AutoBeDatabaseGroup: {
|
|
892
|
-
description: "Database component skeleton generated during the DATABASE_GROUP phase.\n\
|
|
891
|
+
description: "Database component skeleton generated during the DATABASE_GROUP phase.\n\nField order is deliberate: reasoning fields (thinking \u2192 review \u2192 rationale)\ncome BEFORE technical fields (namespace \u2192 filename \u2192 kind) to ensure the AI\nreasons through purpose before committing to technical details.",
|
|
893
892
|
type: "object",
|
|
894
893
|
properties: {
|
|
895
894
|
thinking: {
|
|
896
|
-
description: "Initial thoughts on why these tables belong together
|
|
895
|
+
description: "Initial thoughts on why these tables belong together.",
|
|
897
896
|
type: "string"
|
|
898
897
|
},
|
|
899
898
|
review: {
|
|
900
|
-
description: "Review considerations
|
|
899
|
+
description: "Review considerations: relationships with other domains, grouping\nvalidation.",
|
|
901
900
|
type: "string"
|
|
902
901
|
},
|
|
903
902
|
rationale: {
|
|
904
|
-
description: "Final rationale
|
|
903
|
+
description: "Final rationale cementing the component's structure.",
|
|
905
904
|
type: "string"
|
|
906
905
|
},
|
|
907
906
|
namespace: {
|
|
908
|
-
description: "Business domain namespace
|
|
907
|
+
description: "Business domain namespace for Prisma",
|
|
909
908
|
type: "string"
|
|
910
909
|
},
|
|
911
910
|
filename: {
|
|
912
|
-
description: "
|
|
911
|
+
description: "Prisma schema filename. Convention: `schema-{number}-{domain}.prisma` where\nnumber indicates dependency order.",
|
|
913
912
|
type: "string",
|
|
914
913
|
pattern: "^[a-zA-Z0-9._-]+\\.prisma$"
|
|
915
914
|
},
|
|
916
915
|
kind: {
|
|
917
|
-
description: "
|
|
916
|
+
description: "Component group kind.\n\n- `\"authorization\"`: Auth tables (users, sessions, password resets).\n Processed by Authorization Agent.\n- `\"domain\"`: Business tables (products, orders). Processed by Component\n Agent.",
|
|
918
917
|
type: "string",
|
|
919
918
|
"enum": [
|
|
920
919
|
"authorization",
|
|
@@ -932,22 +931,22 @@ function createController(props) {
|
|
|
932
931
|
]
|
|
933
932
|
},
|
|
934
933
|
AutoBeDatabaseGroupReviseErase: {
|
|
935
|
-
description: "
|
|
934
|
+
description: "Remove a group from the component skeleton list.",
|
|
936
935
|
type: "object",
|
|
937
936
|
properties: {
|
|
938
937
|
type: {
|
|
939
|
-
description: "Type discriminator
|
|
938
|
+
description: "Type discriminator.",
|
|
940
939
|
type: "string",
|
|
941
940
|
"enum": [
|
|
942
941
|
"erase"
|
|
943
942
|
]
|
|
944
943
|
},
|
|
945
944
|
reason: {
|
|
946
|
-
description: "
|
|
945
|
+
description: "Why this group should be removed. Keep concise.",
|
|
947
946
|
type: "string"
|
|
948
947
|
},
|
|
949
948
|
namespace: {
|
|
950
|
-
description: "
|
|
949
|
+
description: "Namespace of the group to remove. Must match exactly.",
|
|
951
950
|
type: "string"
|
|
952
951
|
}
|
|
953
952
|
},
|
|
@@ -958,26 +957,26 @@ function createController(props) {
|
|
|
958
957
|
]
|
|
959
958
|
},
|
|
960
959
|
AutoBeDatabaseGroupReviseUpdate: {
|
|
961
|
-
description: "
|
|
960
|
+
description: "Fix an existing group's properties (namespace, filename, kind, reasoning).",
|
|
962
961
|
type: "object",
|
|
963
962
|
properties: {
|
|
964
963
|
type: {
|
|
965
|
-
description: "Type discriminator
|
|
964
|
+
description: "Type discriminator.",
|
|
966
965
|
type: "string",
|
|
967
966
|
"enum": [
|
|
968
967
|
"update"
|
|
969
968
|
]
|
|
970
969
|
},
|
|
971
970
|
reason: {
|
|
972
|
-
description: "
|
|
971
|
+
description: "Why this fix is needed. Keep concise.",
|
|
973
972
|
type: "string"
|
|
974
973
|
},
|
|
975
974
|
originalNamespace: {
|
|
976
|
-
description: "
|
|
975
|
+
description: "Namespace of the original group. Must match exactly.",
|
|
977
976
|
type: "string"
|
|
978
977
|
},
|
|
979
978
|
group: {
|
|
980
|
-
description: "
|
|
979
|
+
description: "Updated group definition (complete AutoBeDatabaseGroup).",
|
|
981
980
|
$ref: "#/$defs/AutoBeDatabaseGroup"
|
|
982
981
|
}
|
|
983
982
|
},
|
|
@@ -990,7 +989,7 @@ function createController(props) {
|
|
|
990
989
|
}
|
|
991
990
|
}
|
|
992
991
|
},
|
|
993
|
-
description: "
|
|
992
|
+
description: "Process group review task or retrieve preliminary data.",
|
|
994
993
|
validate: (() => { const _io0 = input => "string" === typeof input.thinking && ("object" === typeof input.request && null !== input.request && _iu1(input.request)); const _io1 = input => "getAnalysisSections" === input.type && (Array.isArray(input.sectionIds) && (1 <= input.sectionIds.length && input.sectionIds.length <= 100 && input.sectionIds.every(elem => "number" === typeof elem && __typia_transform__isTypeUint32._isTypeUint32(elem)))); const _io2 = input => "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.review && (Array.isArray(input.revises) && input.revises.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io5 = input => "create" === input.type && "string" === typeof input.reason && ("object" === typeof input.group && null !== input.group && _io6(input.group)); const _io6 = input => "string" === typeof input.thinking && "string" === typeof input.review && "string" === typeof input.rationale && "string" === typeof input.namespace && ("string" === typeof input.filename && RegExp("^[a-zA-Z0-9._-]+\\.prisma$").test(input.filename)) && ("authorization" === input.kind || "domain" === input.kind); const _io7 = input => "erase" === input.type && "string" === typeof input.reason && "string" === typeof input.namespace; const _io8 = input => "update" === input.type && "string" === typeof input.reason && "string" === typeof input.originalNamespace && ("object" === typeof input.group && null !== input.group && _io6(input.group)); const _iu0 = input => (() => {
|
|
995
994
|
if ("create" === input.type)
|
|
996
995
|
return _io5(input);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestratePrismaGroupReview.js","sourceRoot":"","sources":["../../../src/orchestrate/prisma/orchestratePrismaGroupReview.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,oEAgEC;;;;AAzED,kDAA4D;AAC5D,+BAA0B;AAG1B,uFAAoF;AACpF,qGAAkG;AAClG,2GAAwG;AAGxG,SAAsB,4BAA4B,CAChD,GAAkB,EAClB,KAGC;;QAED,MAAM,KAAK,GAAS,IAAI,IAAI,EAAE,CAAC;QAC/B,MAAM,WAAW,GAEb,IAAI,yDAA2B,CAAC;YAClC,WAAW
|
|
1
|
+
{"version":3,"file":"orchestratePrismaGroupReview.js","sourceRoot":"","sources":["../../../src/orchestrate/prisma/orchestratePrismaGroupReview.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,oEAgEC;;;;AAzED,kDAA4D;AAC5D,+BAA0B;AAG1B,uFAAoF;AACpF,qGAAkG;AAClG,2GAAwG;AAGxG,SAAsB,4BAA4B,CAChD,GAAkB,EAClB,KAGC;;QAED,MAAM,KAA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