@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
|
@@ -91,7 +91,7 @@ function createController(props) {
|
|
|
91
91
|
type: "object",
|
|
92
92
|
properties: {
|
|
93
93
|
thinking: {
|
|
94
|
-
description: "
|
|
94
|
+
description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion).",
|
|
95
95
|
anyOf: [
|
|
96
96
|
{
|
|
97
97
|
type: "null"
|
|
@@ -102,7 +102,7 @@ function createController(props) {
|
|
|
102
102
|
]
|
|
103
103
|
},
|
|
104
104
|
request: {
|
|
105
|
-
description: "
|
|
105
|
+
description: "Action to perform: submit extracted decisions.",
|
|
106
106
|
$ref: "#/$defs/IAutoBeAnalyzeExtractDecisionsApplicationComplete"
|
|
107
107
|
}
|
|
108
108
|
},
|
|
@@ -116,14 +116,14 @@ function createController(props) {
|
|
|
116
116
|
type: "object",
|
|
117
117
|
properties: {
|
|
118
118
|
type: {
|
|
119
|
-
description: "Type discriminator for
|
|
119
|
+
description: "Type discriminator for completion request.",
|
|
120
120
|
type: "string",
|
|
121
121
|
"enum": [
|
|
122
122
|
"complete"
|
|
123
123
|
]
|
|
124
124
|
},
|
|
125
125
|
decisions: {
|
|
126
|
-
description: "All binary/discrete decisions extracted from this file
|
|
126
|
+
description: "All binary/discrete decisions extracted from this file. Use normalized\nnames. Return an empty array if the file has no extractable decisions.",
|
|
127
127
|
type: "array",
|
|
128
128
|
items: {
|
|
129
129
|
$ref: "#/$defs/IAutoBeAnalyzeExtractedDecision"
|
|
@@ -140,15 +140,15 @@ function createController(props) {
|
|
|
140
140
|
type: "object",
|
|
141
141
|
properties: {
|
|
142
142
|
topic: {
|
|
143
|
-
description: "Normalized topic grouping
|
|
143
|
+
description: "Normalized topic grouping (lowercase, underscore-separated).",
|
|
144
144
|
type: "string"
|
|
145
145
|
},
|
|
146
146
|
decision: {
|
|
147
|
-
description: "Specific decision within the topic
|
|
147
|
+
description: "Specific decision within the topic (lowercase, underscore-separated).",
|
|
148
148
|
type: "string"
|
|
149
149
|
},
|
|
150
150
|
value: {
|
|
151
|
-
description: "
|
|
151
|
+
description: "Binary: \"yes\"/\"no\". Discrete: short descriptive string.",
|
|
152
152
|
type: "string"
|
|
153
153
|
},
|
|
154
154
|
evidence: {
|
|
@@ -165,7 +165,7 @@ function createController(props) {
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
|
-
description: "
|
|
168
|
+
description: "Extract all binary/discrete decisions from a single file's sections.",
|
|
169
169
|
validate: (() => { const _io0 = input => (null === input.thinking || undefined === input.thinking || "string" === typeof input.thinking) && ("object" === typeof input.request && null !== input.request && _io1(input.request)); const _io1 = input => "complete" === input.type && (Array.isArray(input.decisions) && input.decisions.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io2 = input => "string" === typeof input.topic && "string" === typeof input.decision && "string" === typeof input.value && "string" === typeof input.evidence; const _vo0 = (input, _path, _exceptionable = true) => [null === input.thinking || undefined === input.thinking || "string" === typeof input.thinking || _report(_exceptionable, {
|
|
170
170
|
path: _path + ".thinking",
|
|
171
171
|
expected: "(null | string | undefined)",
|
|
@@ -85,7 +85,7 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
|
|
|
85
85
|
type: "string"
|
|
86
86
|
}
|
|
87
87
|
],
|
|
88
|
-
description: "Think before you act.\n\
|
|
88
|
+
description: "Think before you act.\n\nFor preliminary requests: what previous analysis sections are missing?\n\nFor completion: is the DTO transformable or non-transformable? What\nactors, entities, and prefix were chosen based on requirements?"
|
|
89
89
|
},
|
|
90
90
|
request: {
|
|
91
91
|
oneOf: [
|
|
@@ -103,7 +103,7 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
|
|
|
103
103
|
complete: "#/components/schemas/IAutoBeAnalyzeScenarioApplication.IComplete"
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
|
-
description: "
|
|
106
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion."
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
required: [
|
|
@@ -115,7 +115,7 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
|
|
|
115
115
|
properties: {
|
|
116
116
|
type: {
|
|
117
117
|
"const": "getPreviousAnalysisSections",
|
|
118
|
-
description: "Type discriminator
|
|
118
|
+
description: "Type discriminator."
|
|
119
119
|
},
|
|
120
120
|
sectionIds: {
|
|
121
121
|
type: "array",
|
|
@@ -124,37 +124,37 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
|
|
|
124
124
|
minimum: 0
|
|
125
125
|
},
|
|
126
126
|
minItems: 1,
|
|
127
|
-
description: "
|
|
127
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls."
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
required: [
|
|
131
131
|
"type",
|
|
132
132
|
"sectionIds"
|
|
133
133
|
],
|
|
134
|
-
description: "Request to retrieve
|
|
134
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID."
|
|
135
135
|
},
|
|
136
136
|
"IAutoBeAnalyzeScenarioApplication.IComplete": {
|
|
137
137
|
type: "object",
|
|
138
138
|
properties: {
|
|
139
139
|
type: {
|
|
140
140
|
"const": "complete",
|
|
141
|
-
description: "Type discriminator for
|
|
141
|
+
description: "Type discriminator for completion request."
|
|
142
142
|
},
|
|
143
143
|
reason: {
|
|
144
144
|
type: "string",
|
|
145
|
-
description: "
|
|
145
|
+
description: "Why these actors, entities, and prefix were chosen based on requirements."
|
|
146
146
|
},
|
|
147
147
|
prefix: {
|
|
148
148
|
type: "string",
|
|
149
149
|
pattern: "^[a-z][a-zA-Z0-9]*$",
|
|
150
|
-
description: "Prefix for file
|
|
150
|
+
description: "Prefix for file/variable names (camelCase)."
|
|
151
151
|
},
|
|
152
152
|
actors: {
|
|
153
153
|
type: "array",
|
|
154
154
|
items: {
|
|
155
155
|
$ref: "#/components/schemas/AutoBeAnalyze.IActor"
|
|
156
156
|
},
|
|
157
|
-
description: "Actors
|
|
157
|
+
description: "Actors for the project (name, kind, description)."
|
|
158
158
|
},
|
|
159
159
|
language: {
|
|
160
160
|
oneOf: [
|
|
@@ -165,21 +165,21 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
|
|
|
165
165
|
type: "string"
|
|
166
166
|
}
|
|
167
167
|
],
|
|
168
|
-
description: "Language for document content.
|
|
168
|
+
description: "Language for document content. Overrides locale if set; null if not\nspecified."
|
|
169
169
|
},
|
|
170
170
|
entities: {
|
|
171
171
|
type: "array",
|
|
172
172
|
items: {
|
|
173
173
|
$ref: "#/components/schemas/AutoBeAnalyzeScenarioEntity"
|
|
174
174
|
},
|
|
175
|
-
description: "
|
|
175
|
+
description: "AUTHORITATIVE entity list \u2014 all downstream writers MUST reference only\nthese entities. Include ALL domain entities; do NOT include meta-entities\ndescribing the requirements process."
|
|
176
176
|
},
|
|
177
177
|
features: {
|
|
178
178
|
type: "array",
|
|
179
179
|
items: {
|
|
180
180
|
$ref: "#/components/schemas/FixedAnalyzeTemplateFeature"
|
|
181
181
|
},
|
|
182
|
-
description: "
|
|
182
|
+
description: "Features activating conditional modules. DEFAULT IS EMPTY ARRAY [].\n\nWARNING: Wrong activation causes cascading hallucination across ALL SRS\nfiles. Include ONLY if user used exact trigger keywords:\n\n- \"file-storage\": \"file upload\", \"attachment\", \"image upload\"\n- \"real-time\": \"real-time\", \"WebSocket\", \"live updates\", \"chat\"\n- \"external-integration\": \"payment\", \"Stripe\", \"OAuth\", \"email service\"\n\nStandard CRUD with auth = []. Do NOT activate based on inference."
|
|
183
183
|
}
|
|
184
184
|
},
|
|
185
185
|
required: [
|
|
@@ -191,7 +191,7 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
|
|
|
191
191
|
"entities",
|
|
192
192
|
"features"
|
|
193
193
|
],
|
|
194
|
-
description: "
|
|
194
|
+
description: "Compose project structure with actors and entities (6-file SRS template)."
|
|
195
195
|
},
|
|
196
196
|
"AutoBeAnalyze.IActor": {
|
|
197
197
|
type: "object",
|
|
@@ -200,7 +200,7 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
|
|
|
200
200
|
type: "string",
|
|
201
201
|
pattern: "^[a-z][a-zA-Z0-9]*$",
|
|
202
202
|
minLength: 1,
|
|
203
|
-
description: "
|
|
203
|
+
description: "MUST use camelCase. Referenced in schema models and auth decorators."
|
|
204
204
|
},
|
|
205
205
|
kind: {
|
|
206
206
|
oneOf: [
|
|
@@ -214,11 +214,11 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
|
|
|
214
214
|
"const": "admin"
|
|
215
215
|
}
|
|
216
216
|
],
|
|
217
|
-
description: "
|
|
217
|
+
description: "Permission level:\n\n- \"guest\": Unauthenticated, limited to public resources.\n- \"member\": Authenticated with standard access.\n- \"admin\": Elevated permissions, can manage users and system settings."
|
|
218
218
|
},
|
|
219
219
|
description: {
|
|
220
220
|
type: "string",
|
|
221
|
-
description: "
|
|
221
|
+
description: "Description of this actor's permissions and capabilities."
|
|
222
222
|
}
|
|
223
223
|
},
|
|
224
224
|
required: [
|
|
@@ -226,7 +226,7 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
|
|
|
226
226
|
"kind",
|
|
227
227
|
"description"
|
|
228
228
|
],
|
|
229
|
-
description: "
|
|
229
|
+
description: "An authenticated user type used for authorization throughout the app."
|
|
230
230
|
},
|
|
231
231
|
AutoBeAnalyzeScenarioEntity: {
|
|
232
232
|
type: "object",
|
|
@@ -293,14 +293,13 @@ const orchestrateAnalyzeScenario = (ctx, props) => __awaiter(void 0, void 0, voi
|
|
|
293
293
|
parameters: [
|
|
294
294
|
{
|
|
295
295
|
name: "props",
|
|
296
|
-
description: " Request containing either preliminary data request or complete\ntask",
|
|
297
296
|
required: true,
|
|
298
297
|
schema: {
|
|
299
298
|
$ref: "#/components/schemas/IAutoBeAnalyzeScenarioApplication.IProps"
|
|
300
299
|
}
|
|
301
300
|
}
|
|
302
301
|
],
|
|
303
|
-
description: "
|
|
302
|
+
description: "Compose project structure (actors, entities, prefix, language) or request\npreliminary data."
|
|
304
303
|
}
|
|
305
304
|
]
|
|
306
305
|
},
|
|
@@ -577,7 +576,7 @@ function createController(props) {
|
|
|
577
576
|
type: "object",
|
|
578
577
|
properties: {
|
|
579
578
|
thinking: {
|
|
580
|
-
description: "Think before you act.\n\
|
|
579
|
+
description: "Think before you act.\n\nFor preliminary requests: what previous analysis sections are missing?\n\nFor completion: is the DTO transformable or non-transformable? What\nactors, entities, and prefix were chosen based on requirements?",
|
|
581
580
|
anyOf: [
|
|
582
581
|
{
|
|
583
582
|
type: "null"
|
|
@@ -588,7 +587,7 @@ function createController(props) {
|
|
|
588
587
|
]
|
|
589
588
|
},
|
|
590
589
|
request: {
|
|
591
|
-
description: "
|
|
590
|
+
description: "Action to perform. Exhausted preliminary types are removed from the\nunion.",
|
|
592
591
|
anyOf: [
|
|
593
592
|
{
|
|
594
593
|
$ref: "#/$defs/IAutoBePreliminaryGetPreviousAnalysisSections"
|
|
@@ -612,18 +611,18 @@ function createController(props) {
|
|
|
612
611
|
additionalProperties: false,
|
|
613
612
|
$defs: {
|
|
614
613
|
IAutoBePreliminaryGetPreviousAnalysisSections: {
|
|
615
|
-
description: "Request to retrieve
|
|
614
|
+
description: "Request to retrieve analysis sections from the previous iteration by numeric\nID.",
|
|
616
615
|
type: "object",
|
|
617
616
|
properties: {
|
|
618
617
|
type: {
|
|
619
|
-
description: "Type discriminator
|
|
618
|
+
description: "Type discriminator.",
|
|
620
619
|
type: "string",
|
|
621
620
|
"enum": [
|
|
622
621
|
"getPreviousAnalysisSections"
|
|
623
622
|
]
|
|
624
623
|
},
|
|
625
624
|
sectionIds: {
|
|
626
|
-
description: "
|
|
625
|
+
description: "Section IDs to retrieve from previous iteration. DO NOT request same IDs\nalready requested in previous calls.",
|
|
627
626
|
type: "array",
|
|
628
627
|
items: {
|
|
629
628
|
type: "integer",
|
|
@@ -638,34 +637,34 @@ function createController(props) {
|
|
|
638
637
|
]
|
|
639
638
|
},
|
|
640
639
|
"IAutoBeAnalyzeScenarioApplication.IComplete": {
|
|
641
|
-
description: "
|
|
640
|
+
description: "Compose project structure with actors and entities (6-file SRS template).",
|
|
642
641
|
type: "object",
|
|
643
642
|
properties: {
|
|
644
643
|
type: {
|
|
645
|
-
description: "Type discriminator for
|
|
644
|
+
description: "Type discriminator for completion request.",
|
|
646
645
|
type: "string",
|
|
647
646
|
"enum": [
|
|
648
647
|
"complete"
|
|
649
648
|
]
|
|
650
649
|
},
|
|
651
650
|
reason: {
|
|
652
|
-
description: "
|
|
651
|
+
description: "Why these actors, entities, and prefix were chosen based on requirements.",
|
|
653
652
|
type: "string"
|
|
654
653
|
},
|
|
655
654
|
prefix: {
|
|
656
|
-
description: "Prefix for file
|
|
655
|
+
description: "Prefix for file/variable names (camelCase).",
|
|
657
656
|
type: "string",
|
|
658
657
|
pattern: "^[a-z][a-zA-Z0-9]*$"
|
|
659
658
|
},
|
|
660
659
|
actors: {
|
|
661
|
-
description: "Actors
|
|
660
|
+
description: "Actors for the project (name, kind, description).",
|
|
662
661
|
type: "array",
|
|
663
662
|
items: {
|
|
664
663
|
$ref: "#/$defs/AutoBeAnalyze.IActor"
|
|
665
664
|
}
|
|
666
665
|
},
|
|
667
666
|
language: {
|
|
668
|
-
description: "Language for document content.
|
|
667
|
+
description: "Language for document content. Overrides locale if set; null if not\nspecified.",
|
|
669
668
|
anyOf: [
|
|
670
669
|
{
|
|
671
670
|
type: "null"
|
|
@@ -676,14 +675,14 @@ function createController(props) {
|
|
|
676
675
|
]
|
|
677
676
|
},
|
|
678
677
|
entities: {
|
|
679
|
-
description: "
|
|
678
|
+
description: "AUTHORITATIVE entity list \u2014 all downstream writers MUST reference only\nthese entities. Include ALL domain entities; do NOT include meta-entities\ndescribing the requirements process.",
|
|
680
679
|
type: "array",
|
|
681
680
|
items: {
|
|
682
681
|
$ref: "#/$defs/AutoBeAnalyzeScenarioEntity"
|
|
683
682
|
}
|
|
684
683
|
},
|
|
685
684
|
features: {
|
|
686
|
-
description: "
|
|
685
|
+
description: "Features activating conditional modules. DEFAULT IS EMPTY ARRAY [].\n\nWARNING: Wrong activation causes cascading hallucination across ALL SRS\nfiles. Include ONLY if user used exact trigger keywords:\n\n- \"file-storage\": \"file upload\", \"attachment\", \"image upload\"\n- \"real-time\": \"real-time\", \"WebSocket\", \"live updates\", \"chat\"\n- \"external-integration\": \"payment\", \"Stripe\", \"OAuth\", \"email service\"\n\nStandard CRUD with auth = []. Do NOT activate based on inference.",
|
|
687
686
|
type: "array",
|
|
688
687
|
items: {
|
|
689
688
|
$ref: "#/$defs/FixedAnalyzeTemplateFeature"
|
|
@@ -701,17 +700,17 @@ function createController(props) {
|
|
|
701
700
|
]
|
|
702
701
|
},
|
|
703
702
|
"AutoBeAnalyze.IActor": {
|
|
704
|
-
description: "
|
|
703
|
+
description: "An authenticated user type used for authorization throughout the app.",
|
|
705
704
|
type: "object",
|
|
706
705
|
properties: {
|
|
707
706
|
name: {
|
|
708
|
-
description: "
|
|
707
|
+
description: "MUST use camelCase. Referenced in schema models and auth decorators.",
|
|
709
708
|
type: "string",
|
|
710
709
|
pattern: "^[a-z][a-zA-Z0-9]*$",
|
|
711
710
|
minLength: 1
|
|
712
711
|
},
|
|
713
712
|
kind: {
|
|
714
|
-
description: "
|
|
713
|
+
description: "Permission level:\n\n- \"guest\": Unauthenticated, limited to public resources.\n- \"member\": Authenticated with standard access.\n- \"admin\": Elevated permissions, can manage users and system settings.",
|
|
715
714
|
type: "string",
|
|
716
715
|
"enum": [
|
|
717
716
|
"guest",
|
|
@@ -720,7 +719,7 @@ function createController(props) {
|
|
|
720
719
|
]
|
|
721
720
|
},
|
|
722
721
|
description: {
|
|
723
|
-
description: "
|
|
722
|
+
description: "Description of this actor's permissions and capabilities.",
|
|
724
723
|
type: "string"
|
|
725
724
|
}
|
|
726
725
|
},
|
|
@@ -783,7 +782,7 @@ function createController(props) {
|
|
|
783
782
|
}
|
|
784
783
|
}
|
|
785
784
|
},
|
|
786
|
-
description: "
|
|
785
|
+
description: "Compose project structure (actors, entities, prefix, language) or request\npreliminary data.",
|
|
787
786
|
validate: (() => { const _io0 = input => (null === input.thinking || undefined === input.thinking || "string" === typeof input.thinking) && ("object" === typeof input.request && null !== input.request && _iu0(input.request)); const _io1 = 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 _io2 = input => "complete" === input.type && "string" === typeof input.reason && ("string" === typeof input.prefix && RegExp("^[a-z][a-zA-Z0-9]*$").test(input.prefix)) && (Array.isArray(input.actors) && input.actors.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (null === input.language || "string" === typeof input.language) && (Array.isArray(input.entities) && input.entities.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (Array.isArray(input.features) && input.features.every(elem => "object" === typeof elem && null !== elem && _io5(elem))); const _io3 = input => "string" === typeof input.name && (RegExp("^[a-z][a-zA-Z0-9]*$").test(input.name) && 1 <= input.name.length) && ("guest" === input.kind || "member" === input.kind || "admin" === input.kind) && "string" === typeof input.description; const _io4 = input => "string" === typeof input.name && (Array.isArray(input.attributes) && input.attributes.every(elem => "string" === typeof elem)) && (undefined === input.relationships || Array.isArray(input.relationships) && input.relationships.every(elem => "string" === typeof elem)); const _io5 = input => ("real-time" === input.id || "external-integration" === input.id || "file-storage" === input.id) && (undefined === input.providers || Array.isArray(input.providers) && input.providers.every(elem => "string" === typeof elem)); const _iu0 = input => (() => {
|
|
788
787
|
if ("getPreviousAnalysisSections" === input.type)
|
|
789
788
|
return _io1(input);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrateAnalyzeScenario.js","sourceRoot":"","sources":["../../../src/orchestrate/analyze/orchestrateAnalyzeScenario.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,kDAA4D;AAC5D,+BAA0B;AAG1B,uFAAoF;AACpF,iGAA8F;AAC9F,4EAAmF;AAEnF,qDAA6D;AAEtD,MAAM,0BAA0B,GAAG,CACxC,GAAkB,EAClB,KAA6B,EACwC,EAAE;IACvE,MAAM,KAAK,GAAS,IAAI,IAAI,EAAE,CAAC;IAC/B,MAAM,WAAW,GACf,IAAI,yDAA2B,CAAC;QAC9B,WAAW
|
|
1
|
+
{"version":3,"file":"orchestrateAnalyzeScenario.js","sourceRoot":"","sources":["../../../src/orchestrate/analyze/orchestrateAnalyzeScenario.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,kDAA4D;AAC5D,+BAA0B;AAG1B,uFAAoF;AACpF,iGAA8F;AAC9F,4EAAmF;AAEnF,qDAA6D;AAEtD,MAAM,0BAA0B,GAAG,CACxC,GAAkB,EAClB,KAA6B,EACwC,EAAE;IACvE,MAAM,KAAK,GAAS,IAAI,IAAI,EAAE,CAAC;IAC/B,MAAM,WAAW,GACf,IAAI,yDAA2B,CAAC;QAC9B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAA6D;QACxE,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,CAAC,0BAA0B,CAAC;QACnC,KAAK,EAAE,GAA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EnB,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAAC,WAAM,CAAC;QACP,sDAAsD;QACtD,MAAM,UAAU,GAAG,IAAI;aACpB,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC;aAClB,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC;aAC5B,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC;aAC5B,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QAClC,IAAI,CAAC;YACH,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAChC,CAAC;QAAC,WAAM,CAAC;YACP,OAAO,SAAS,CAAC;QACnB,CAAC;IACH,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,QAAQ,GAAG,CAAC,KAAc,EAAoC,EAAE,CACpE,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC"}
|
|
@@ -115,7 +115,7 @@ function createController(props) {
|
|
|
115
115
|
type: "object",
|
|
116
116
|
properties: {
|
|
117
117
|
thinking: {
|
|
118
|
-
description: "
|
|
118
|
+
description: "Reasoning about your current state: what's missing (preliminary) or what\nyou accomplished (completion).",
|
|
119
119
|
anyOf: [
|
|
120
120
|
{
|
|
121
121
|
type: "null"
|
|
@@ -126,7 +126,7 @@ function createController(props) {
|
|
|
126
126
|
]
|
|
127
127
|
},
|
|
128
128
|
request: {
|
|
129
|
-
description: "
|
|
129
|
+
description: "Action to perform: submit review verdict.",
|
|
130
130
|
$ref: "#/$defs/IAutoBeAnalyzeScenarioReviewApplicationComplete"
|
|
131
131
|
}
|
|
132
132
|
},
|
|
@@ -140,22 +140,22 @@ function createController(props) {
|
|
|
140
140
|
type: "object",
|
|
141
141
|
properties: {
|
|
142
142
|
type: {
|
|
143
|
-
description: "Type discriminator for
|
|
143
|
+
description: "Type discriminator for completion request.",
|
|
144
144
|
type: "string",
|
|
145
145
|
"enum": [
|
|
146
146
|
"complete"
|
|
147
147
|
]
|
|
148
148
|
},
|
|
149
149
|
approved: {
|
|
150
|
-
description: "Whether the scenario passed review
|
|
150
|
+
description: "Whether the scenario passed review.",
|
|
151
151
|
type: "boolean"
|
|
152
152
|
},
|
|
153
153
|
feedback: {
|
|
154
|
-
description: "Detailed review feedback
|
|
154
|
+
description: "Detailed review feedback. When rejecting, describe issues clearly for the\nnext attempt.",
|
|
155
155
|
type: "string"
|
|
156
156
|
},
|
|
157
157
|
issues: {
|
|
158
|
-
description: "Structured issues for targeted scenario regeneration
|
|
158
|
+
description: "Structured issues for targeted scenario regeneration.",
|
|
159
159
|
type: "array",
|
|
160
160
|
items: {
|
|
161
161
|
$ref: "#/$defs/IAutoBeAnalyzeScenarioReviewApplicationScenarioReviewIssue"
|
|
@@ -201,7 +201,7 @@ function createController(props) {
|
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
},
|
|
204
|
-
description: "
|
|
204
|
+
description: "Review scenario and provide approved/rejected verdict with structured\nfeedback.",
|
|
205
205
|
validate: (() => { const _io0 = input => (null === input.thinking || undefined === input.thinking || "string" === typeof input.thinking) && ("object" === typeof input.request && null !== input.request && _io1(input.request)); const _io1 = input => "complete" === input.type && "boolean" === typeof input.approved && "string" === typeof input.feedback && (Array.isArray(input.issues) && input.issues.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io2 = input => ("missing_entity" === input.category || "hallucinated_entity" === input.category || "actor_misclassification" === input.category || "incomplete_relationship" === input.category || "missing_feature" === input.category || "hallucinated_feature" === input.category) && "string" === typeof input.description && "string" === typeof input.suggestion; const _vo0 = (input, _path, _exceptionable = true) => [null === input.thinking || undefined === input.thinking || "string" === typeof input.thinking || _report(_exceptionable, {
|
|
206
206
|
path: _path + ".thinking",
|
|
207
207
|
expected: "(null | string | undefined)",
|