@autobe/agent 0.16.1 → 0.18.0
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/AutoBeMockAgent.d.ts +5 -5
- package/lib/agent/src/AutoBeAgent.d.ts +52 -0
- package/lib/{AutoBeAgent.js → agent/src/AutoBeAgent.js} +37 -9
- package/lib/agent/src/AutoBeAgent.js.map +1 -0
- package/lib/agent/src/AutoBeAgentBase.d.ts +18 -0
- package/lib/agent/src/AutoBeAgentBase.js.map +1 -0
- package/lib/agent/src/AutoBeMockAgent.d.ts +15 -0
- package/lib/{AutoBeMockAgent.js → agent/src/AutoBeMockAgent.js} +34 -4
- package/lib/agent/src/AutoBeMockAgent.js.map +1 -0
- package/lib/agent/src/constants/AutoBeSystemPromptConstant.d.ts +34 -0
- package/lib/agent/src/constants/AutoBeSystemPromptConstant.js.map +1 -0
- package/lib/agent/src/context/AutoBeContext.d.ts +41 -0
- package/lib/agent/src/context/AutoBeContext.js.map +1 -0
- package/lib/agent/src/context/AutoBeState.d.ts +8 -0
- package/lib/agent/src/context/AutoBeState.js.map +1 -0
- package/lib/agent/src/context/AutoBeTokenUsage.d.ts +173 -0
- package/lib/agent/src/context/AutoBeTokenUsage.js +188 -0
- package/lib/agent/src/context/AutoBeTokenUsage.js.map +1 -0
- package/lib/agent/src/context/AutoBeTokenUsageComponent.d.ts +116 -0
- package/lib/agent/src/context/AutoBeTokenUsageComponent.js +137 -0
- package/lib/agent/src/context/AutoBeTokenUsageComponent.js.map +1 -0
- package/lib/agent/src/context/IAutoBeApplication.d.ts +107 -0
- package/lib/agent/src/context/IAutoBeApplication.js.map +1 -0
- package/lib/agent/src/context/IAutoBeApplicationProps.d.ts +4 -0
- package/lib/agent/src/context/IAutoBeApplicationProps.js.map +1 -0
- package/lib/agent/src/context/IAutoBeApplicationResult.d.ts +4 -0
- package/lib/agent/src/context/IAutoBeApplicationResult.js.map +1 -0
- package/lib/agent/src/context/assertSchemaModel.d.ts +2 -0
- package/lib/agent/src/context/assertSchemaModel.js.map +1 -0
- package/lib/agent/src/factory/createAgenticaHistory.d.ts +7 -0
- package/lib/agent/src/factory/createAgenticaHistory.js.map +1 -0
- package/lib/agent/src/factory/createAutoBeApplication.d.ts +7 -0
- package/lib/{factory → agent/src/factory}/createAutoBeApplication.js +1 -1
- package/lib/agent/src/factory/createAutoBeApplication.js.map +1 -0
- package/lib/agent/src/factory/createAutoBeContext.d.ts +19 -0
- package/lib/agent/src/factory/createAutoBeContext.js +214 -0
- package/lib/agent/src/factory/createAutoBeContext.js.map +1 -0
- package/lib/agent/src/factory/createAutoBeState.d.ts +3 -0
- package/lib/agent/src/factory/createAutoBeState.js.map +1 -0
- package/lib/agent/src/factory/getAutoBeGenerated.d.ts +4 -0
- package/lib/{factory → agent/src/factory}/getAutoBeGenerated.js +17 -14
- package/lib/agent/src/factory/getAutoBeGenerated.js.map +1 -0
- package/lib/agent/src/factory/getAutoBeRealizeGenerated.d.ts +7 -0
- package/lib/agent/src/factory/getAutoBeRealizeGenerated.js +27 -0
- package/lib/agent/src/factory/getAutoBeRealizeGenerated.js.map +1 -0
- package/lib/agent/src/factory/index.d.ts +1 -0
- package/lib/agent/src/factory/index.js.map +1 -0
- package/lib/agent/src/index.d.ts +6 -0
- package/lib/{index.js → agent/src/index.js} +1 -0
- package/lib/agent/src/index.js.map +1 -0
- package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.d.ts +4 -0
- package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.js +46 -0
- package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.d.ts +4 -0
- package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js +30 -0
- package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.d.ts +4 -0
- package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.js +49 -0
- package/lib/agent/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/analyze/orchestrateAnalyze.d.ts +5 -0
- package/lib/agent/src/orchestrate/analyze/orchestrateAnalyze.js +64 -0
- package/lib/agent/src/orchestrate/analyze/orchestrateAnalyze.js.map +1 -0
- package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeReview.d.ts +6 -0
- package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeReview.js +265 -0
- package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeReview.js.map +1 -0
- package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeScenario.d.ts +4 -0
- package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeScenario.js +727 -0
- package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -0
- package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeWrite.d.ts +8 -0
- package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeWrite.js +242 -0
- package/lib/agent/src/orchestrate/analyze/orchestrateAnalyzeWrite.js.map +1 -0
- package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.d.ts +105 -0
- package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.js +3 -0
- package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +78 -0
- package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.js +3 -0
- package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.d.ts +70 -0
- package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.js +3 -0
- package/lib/agent/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/facade/transformFacadeStateMessage.d.ts +2 -0
- package/lib/agent/src/orchestrate/facade/transformFacadeStateMessage.js.map +1 -0
- package/lib/agent/src/orchestrate/index.d.ts +5 -0
- package/lib/agent/src/orchestrate/index.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAssetHistories.d.ts +3 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAssetHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.d.ts +4 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.js +34 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceComplementHistories.d.ts +4 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceComplementHistories.js +62 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceComplementHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.d.ts +5 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.js +49 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceGroupHistories.d.ts +3 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceGroupHistories.js +28 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceGroupHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationHistories.d.ts +4 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationHistories.js +51 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.d.ts +5 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.js +35 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.d.ts +3 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.d.ts +4 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.js +28 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.d.ts +4 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.js +53 -0
- package/lib/agent/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterface.d.ts +5 -0
- package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterface.js +12 -24
- package/lib/agent/src/orchestrate/interface/orchestrateInterface.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceAuthorizations.d.ts +4 -0
- package/lib/{orchestrate/interface/orchestrateInterfaceOperations.js → agent/src/orchestrate/interface/orchestrateInterfaceAuthorizations.js} +227 -562
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceAuthorizations.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceComplement.d.ts +4 -0
- package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterfaceComplement.js +20 -32
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceComplement.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceEndpoints.d.ts +5 -0
- package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterfaceEndpoints.js +40 -41
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceGroups.d.ts +4 -0
- package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterfaceGroups.js +15 -25
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceGroups.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperations.d.ts +4 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperations.js +1768 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperations.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperationsReview.d.ts +5 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperationsReview.js +1317 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceOperationsReview.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemas.d.ts +4 -0
- package/lib/{orchestrate → agent/src/orchestrate}/interface/orchestrateInterfaceSchemas.js +59 -71
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemas.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemasReview.d.ts +7 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemasReview.js +467 -0
- package/lib/agent/src/orchestrate/interface/orchestrateInterfaceSchemasReview.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.d.ts +47 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.js +3 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.d.ts +55 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.d.ts +24 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.d.ts +108 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +126 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.d.ts +96 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.js +3 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.d.ts +75 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.d.ts +91 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.js +3 -0
- package/lib/agent/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/interface/utils/OpenApiEndpointComparator.d.ts +6 -0
- package/lib/agent/src/orchestrate/interface/utils/OpenApiEndpointComparator.js.map +1 -0
- package/lib/agent/src/orchestrate/internal/IProgress.d.ts +4 -0
- package/lib/agent/src/orchestrate/internal/IProgress.js +3 -0
- package/lib/agent/src/orchestrate/internal/IProgress.js.map +1 -0
- package/lib/{orchestrate/prisma → agent/src/orchestrate/prisma/histories}/transformPrismaComponentsHistories.d.ts +1 -1
- package/lib/{orchestrate/prisma → agent/src/orchestrate/prisma/histories}/transformPrismaComponentsHistories.js +1 -1
- package/lib/agent/src/orchestrate/prisma/histories/transformPrismaComponentsHistories.js.map +1 -0
- package/lib/{orchestrate/prisma → agent/src/orchestrate/prisma/histories}/transformPrismaCorrectHistories.js +1 -1
- package/lib/agent/src/orchestrate/prisma/histories/transformPrismaCorrectHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/prisma/histories/transformPrismaReviewHistories.d.ts +8 -0
- package/lib/agent/src/orchestrate/prisma/histories/transformPrismaReviewHistories.js +59 -0
- package/lib/agent/src/orchestrate/prisma/histories/transformPrismaReviewHistories.js.map +1 -0
- package/lib/{orchestrate/prisma → agent/src/orchestrate/prisma/histories}/transformPrismaSchemaHistories.d.ts +1 -1
- package/lib/agent/src/orchestrate/prisma/histories/transformPrismaSchemaHistories.js +48 -0
- package/lib/agent/src/orchestrate/prisma/histories/transformPrismaSchemaHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/prisma/orchestratePrisma.d.ts +5 -0
- package/lib/{orchestrate → agent/src/orchestrate}/prisma/orchestratePrisma.js +37 -40
- package/lib/agent/src/orchestrate/prisma/orchestratePrisma.js.map +1 -0
- package/lib/agent/src/orchestrate/prisma/orchestratePrismaComponent.d.ts +5 -0
- package/lib/{orchestrate → agent/src/orchestrate}/prisma/orchestratePrismaComponent.js +164 -58
- package/lib/agent/src/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -0
- package/lib/agent/src/orchestrate/prisma/orchestratePrismaCorrect.d.ts +4 -0
- package/lib/{orchestrate → agent/src/orchestrate}/prisma/orchestratePrismaCorrect.js +130 -92
- package/lib/agent/src/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -0
- package/lib/agent/src/orchestrate/prisma/orchestratePrismaReview.d.ts +5 -0
- package/lib/{orchestrate/prisma/orchestratePrismaSchemas.js → agent/src/orchestrate/prisma/orchestratePrismaReview.js} +197 -328
- package/lib/agent/src/orchestrate/prisma/orchestratePrismaReview.js.map +1 -0
- package/lib/agent/src/orchestrate/prisma/orchestratePrismaSchemas.d.ts +5 -0
- package/lib/agent/src/orchestrate/prisma/orchestratePrismaSchemas.js +1625 -0
- package/lib/agent/src/orchestrate/prisma/orchestratePrismaSchemas.js.map +1 -0
- package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.d.ts +121 -0
- package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.js +3 -0
- package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.d.ts +142 -0
- package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.js +3 -0
- package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.d.ts +105 -0
- package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.js +3 -0
- package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.d.ts +99 -0
- package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.js +3 -0
- package/lib/agent/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/ProviderCodeComparator.d.ts +5 -0
- package/lib/agent/src/orchestrate/realize/ProviderCodeComparator.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorization.d.ts +5 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorization.js +40 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorization.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.d.ts +5 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.js +80 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeCoderHistories.d.ts +7 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeCoderHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeCorrectHistories.d.ts +13 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeCorrectHistories.js +32 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeCorrectHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteHistories.d.ts +11 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteHistories.js +160 -0
- package/lib/agent/src/orchestrate/realize/histories/transformRealizeWriteHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/internal/compile.d.ts +7 -0
- package/lib/agent/src/orchestrate/realize/internal/compile.js +61 -0
- package/lib/agent/src/orchestrate/realize/internal/compile.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/orchestrateRealize.d.ts +5 -0
- package/lib/agent/src/orchestrate/realize/orchestrateRealize.js +113 -0
- package/lib/agent/src/orchestrate/realize/orchestrateRealize.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorization.d.ts +10 -0
- package/lib/{orchestrate → agent/src/orchestrate}/realize/orchestrateRealizeAuthorization.js +84 -70
- package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorization.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.d.ts +4 -0
- package/lib/{orchestrate → agent/src/orchestrate}/realize/orchestrateRealizeAuthorizationCorrect.js +66 -52
- package/lib/agent/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/orchestrateRealizeCorrect.d.ts +9 -0
- package/lib/agent/src/orchestrate/realize/orchestrateRealizeCorrect.js +351 -0
- package/lib/agent/src/orchestrate/realize/orchestrateRealizeCorrect.js.map +1 -0
- package/lib/{orchestrate/realize/orchestrateRealizePlanner.d.ts → agent/src/orchestrate/realize/orchestrateRealizeScenario.d.ts} +5 -3
- package/lib/{orchestrate/realize/orchestrateRealizePlanner.js → agent/src/orchestrate/realize/orchestrateRealizeScenario.js} +14 -24
- package/lib/agent/src/orchestrate/realize/orchestrateRealizeScenario.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/orchestrateRealizeWrite.d.ts +9 -0
- package/lib/agent/src/orchestrate/realize/orchestrateRealizeWrite.js +340 -0
- package/lib/agent/src/orchestrate/realize/orchestrateRealizeWrite.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.d.ts +92 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.d.ts +27 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.d.ts +345 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCompile.d.ts +56 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeCompile.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeFailedSymbol.d.ts +2 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeFailedSymbol.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.d.ts +79 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.js +3 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.d.ts +38 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.js +3 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.d.ts +276 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.js +3 -0
- package/lib/agent/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/utils/AuthorizationFileSystem.d.ts +5 -0
- package/lib/agent/src/orchestrate/realize/utils/AuthorizationFileSystem.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationFileSystem.d.ts +5 -0
- package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationFileSystem.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationReplaceImport.d.ts +4 -0
- package/lib/agent/src/orchestrate/realize/utils/AutoBeRealizeAuthorizationReplaceImport.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/utils/InternalFileSystem.d.ts +8 -0
- package/lib/agent/src/orchestrate/realize/utils/InternalFileSystem.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/utils/ProviderFileSystem.d.ts +3 -0
- package/lib/agent/src/orchestrate/realize/utils/ProviderFileSystem.js.map +1 -0
- package/lib/agent/src/orchestrate/realize/utils/replaceImportStatements.d.ts +4 -0
- package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/replaceImportStatements.js +1 -0
- package/lib/agent/src/orchestrate/realize/utils/replaceImportStatements.js.map +1 -0
- package/lib/agent/src/orchestrate/test/compile/completeTestCode.d.ts +2 -0
- package/lib/agent/src/orchestrate/test/compile/completeTestCode.js.map +1 -0
- package/lib/agent/src/orchestrate/test/compile/filterTestFileName.d.ts +1 -0
- package/lib/agent/src/orchestrate/test/compile/filterTestFileName.js.map +1 -0
- package/lib/agent/src/orchestrate/test/compile/getTestExternalDeclarations.d.ts +3 -0
- package/lib/agent/src/orchestrate/test/compile/getTestExternalDeclarations.js.map +1 -0
- package/lib/agent/src/orchestrate/test/compile/getTestScenarioArtifacts.d.ts +5 -0
- package/lib/agent/src/orchestrate/test/compile/getTestScenarioArtifacts.js.map +1 -0
- package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestCorrectHistories.d.ts +1 -1
- package/lib/agent/src/orchestrate/test/histories/transformTestCorrectHistories.js.map +1 -0
- package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestHistories.d.ts +1 -1
- package/lib/agent/src/orchestrate/test/histories/transformTestHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/test/histories/transformTestScenarioHistories.d.ts +3 -0
- package/lib/agent/src/orchestrate/test/histories/transformTestScenarioHistories.js +56 -0
- package/lib/agent/src/orchestrate/test/histories/transformTestScenarioHistories.js.map +1 -0
- package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestWriteHistories.d.ts +1 -1
- package/lib/agent/src/orchestrate/test/histories/transformTestWriteHistories.js +179 -0
- package/lib/agent/src/orchestrate/test/histories/transformTestWriteHistories.js.map +1 -0
- package/lib/agent/src/orchestrate/test/orchestrateTest.d.ts +5 -0
- package/lib/{orchestrate → agent/src/orchestrate}/test/orchestrateTest.js +12 -30
- package/lib/agent/src/orchestrate/test/orchestrateTest.js.map +1 -0
- package/lib/agent/src/orchestrate/test/orchestrateTestCorrect.d.ts +5 -0
- package/lib/{orchestrate → agent/src/orchestrate}/test/orchestrateTestCorrect.js +27 -43
- package/lib/agent/src/orchestrate/test/orchestrateTestCorrect.js.map +1 -0
- package/lib/agent/src/orchestrate/test/orchestrateTestScenario.d.ts +4 -0
- package/lib/agent/src/orchestrate/test/orchestrateTestScenario.js +858 -0
- package/lib/agent/src/orchestrate/test/orchestrateTestScenario.js.map +1 -0
- package/lib/agent/src/orchestrate/test/orchestrateTestWrite.d.ts +5 -0
- package/lib/{orchestrate → agent/src/orchestrate}/test/orchestrateTestWrite.js +53 -54
- package/lib/agent/src/orchestrate/test/orchestrateTestWrite.js.map +1 -0
- package/lib/agent/src/orchestrate/test/structures/IAutoBeTestCorrectApplication.d.ts +121 -0
- package/lib/agent/src/orchestrate/test/structures/IAutoBeTestCorrectApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/test/structures/IAutoBeTestFunction.d.ts +8 -0
- package/lib/agent/src/orchestrate/test/structures/IAutoBeTestFunction.js.map +1 -0
- package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.d.ts +134 -0
- package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioArtifacts.d.ts +7 -0
- package/lib/agent/src/orchestrate/test/structures/IAutoBeTestScenarioArtifacts.js.map +1 -0
- package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteApplication.d.ts +113 -0
- package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteApplication.js.map +1 -0
- package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteResult.d.ts +7 -0
- package/lib/agent/src/orchestrate/test/structures/IAutoBeTestWriteResult.js.map +1 -0
- package/lib/agent/src/structures/IAutoBeConfig.d.ts +73 -0
- package/lib/agent/src/structures/IAutoBeConfig.js.map +1 -0
- package/lib/agent/src/structures/IAutoBeProps.d.ts +109 -0
- package/lib/agent/src/structures/IAutoBeProps.js.map +1 -0
- package/lib/agent/src/structures/IAutoBeVendor.d.ts +87 -0
- package/lib/agent/src/structures/IAutoBeVendor.js.map +1 -0
- package/lib/agent/src/utils/arrayToRecord.d.ts +17 -0
- package/lib/agent/src/utils/arrayToRecord.js.map +1 -0
- package/lib/agent/src/utils/backoffRetry.d.ts +22 -0
- package/lib/agent/src/utils/backoffRetry.js.map +1 -0
- package/lib/agent/src/utils/divideArray.d.ts +4 -0
- package/lib/agent/src/utils/divideArray.js.map +1 -0
- package/lib/agent/src/utils/emplaceMap.d.ts +1 -0
- package/lib/agent/src/utils/emplaceMap.js.map +1 -0
- package/lib/{orchestrate/realize/RealizePipe.d.ts → agent/src/utils/pipe.d.ts} +1 -1
- package/lib/agent/src/utils/pipe.js.map +1 -0
- package/lib/constants/AutoBeSystemPromptConstant.d.ts +19 -17
- package/lib/context/AutoBeContext.d.ts +31 -8
- package/lib/context/AutoBeTokenUsage.d.ts +168 -11
- package/lib/context/AutoBeTokenUsageComponent.d.ts +116 -0
- package/lib/factory/createAutoBeContext.d.ts +19 -0
- package/lib/factory/getAutoBeGenerated.d.ts +1 -1
- package/lib/factory/getAutoBeRealizeGenerated.d.ts +7 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.mjs +10629 -5867
- package/lib/index.mjs.map +1 -1
- package/lib/interface/src/histories/contents/AutoBeAnalyzeFile.d.ts +153 -0
- package/lib/interface/src/histories/contents/AutoBeAnalyzeFile.js +3 -0
- package/lib/interface/src/histories/contents/AutoBeAnalyzeFile.js.map +1 -0
- package/lib/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.d.ts +4 -0
- package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.d.ts +4 -0
- package/lib/orchestrate/analyze/histories/transformAnalyzeWriteHistories.d.ts +4 -0
- package/lib/orchestrate/analyze/orchestrateAnalyze.d.ts +0 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeReview.d.ts +6 -0
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.d.ts +4 -0
- package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.d.ts +6 -12
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.d.ts +105 -0
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +78 -0
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.d.ts +70 -0
- package/lib/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.d.ts +4 -0
- package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.d.ts +2 -1
- package/lib/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.d.ts +5 -0
- package/lib/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.d.ts +4 -0
- package/lib/orchestrate/interface/orchestrateInterfaceAuthorizations.d.ts +4 -0
- package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.d.ts +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceGroups.d.ts +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceOperationsReview.d.ts +5 -0
- package/lib/orchestrate/interface/orchestrateInterfaceSchemasReview.d.ts +7 -0
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.d.ts +47 -0
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.d.ts +2 -1
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +6 -2
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.d.ts +96 -0
- package/lib/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.d.ts +91 -0
- package/lib/orchestrate/internal/IProgress.d.ts +4 -0
- package/lib/orchestrate/prisma/histories/transformPrismaComponentsHistories.d.ts +3 -0
- package/lib/orchestrate/prisma/histories/transformPrismaCorrectHistories.d.ts +3 -0
- package/lib/orchestrate/prisma/histories/transformPrismaReviewHistories.d.ts +8 -0
- package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistories.d.ts +3 -0
- package/lib/orchestrate/prisma/orchestratePrisma.d.ts +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaComponent.d.ts +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaReview.d.ts +5 -0
- package/lib/orchestrate/prisma/orchestratePrismaSchemas.d.ts +1 -1
- package/lib/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.d.ts +121 -0
- package/lib/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.d.ts +142 -0
- package/lib/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.d.ts +105 -0
- package/lib/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.d.ts +99 -0
- package/lib/orchestrate/realize/histories/transformRealizeAuthorization.d.ts +5 -0
- package/lib/orchestrate/realize/histories/transformRealizeAuthorizationCorrectHistories.d.ts +5 -0
- package/lib/orchestrate/realize/histories/transformRealizeCoderHistories.d.ts +7 -0
- package/lib/orchestrate/realize/histories/transformRealizeCorrectHistories.d.ts +13 -0
- package/lib/orchestrate/realize/histories/transformRealizeWriteHistories.d.ts +11 -0
- package/lib/orchestrate/realize/internal/compile.d.ts +7 -0
- package/lib/orchestrate/realize/orchestrateRealizeCorrect.d.ts +9 -0
- package/lib/orchestrate/realize/orchestrateRealizeScenario.d.ts +91 -0
- package/lib/orchestrate/realize/orchestrateRealizeWrite.d.ts +9 -0
- package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.d.ts +10 -3
- package/lib/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.d.ts +79 -0
- package/lib/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.d.ts +38 -0
- package/lib/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.d.ts +276 -0
- package/lib/orchestrate/test/histories/transformTestCorrectHistories.d.ts +4 -0
- package/lib/orchestrate/test/histories/transformTestHistories.d.ts +3 -0
- package/lib/orchestrate/test/histories/transformTestScenarioHistories.d.ts +3 -0
- package/lib/orchestrate/test/histories/transformTestWriteHistories.d.ts +8 -0
- package/lib/orchestrate/test/orchestrateTestScenario.d.ts +2 -2
- package/lib/orchestrate/test/structures/IAutoBeTestScenarioApplication.d.ts +25 -24
- package/lib/orchestrate/test/structures/IAutoBeTestWriteApplication.d.ts +2 -1
- package/package.json +10 -10
- package/src/AutoBeAgent.ts +45 -10
- package/src/AutoBeMockAgent.ts +41 -11
- package/src/constants/AutoBeSystemPromptConstant.ts +19 -17
- package/src/context/AutoBeContext.ts +60 -7
- package/src/context/AutoBeTokenUsage.ts +260 -54
- package/src/context/AutoBeTokenUsageComponent.ts +198 -0
- package/src/factory/createAutoBeApplication.ts +4 -12
- package/src/factory/createAutoBeContext.ts +256 -0
- package/src/factory/getAutoBeGenerated.ts +17 -24
- package/src/factory/getAutoBeRealizeGenerated.ts +30 -0
- package/src/index.ts +1 -0
- package/src/orchestrate/analyze/histories/transformAnalyzeReviewerHistories.ts +53 -0
- package/src/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.ts +34 -0
- package/src/orchestrate/analyze/histories/transformAnalyzeWriteHistories.ts +56 -0
- package/src/orchestrate/analyze/orchestrateAnalyze.ts +61 -109
- package/src/orchestrate/analyze/orchestrateAnalyzeReview.ts +89 -0
- package/src/orchestrate/analyze/orchestrateAnalyzeScenario.ts +123 -0
- package/src/orchestrate/analyze/orchestrateAnalyzeWrite.ts +51 -52
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.ts +108 -0
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.ts +85 -0
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.ts +71 -0
- package/src/orchestrate/interface/histories/transformInterfaceAuthorizationsHistories.ts +40 -0
- package/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.ts +27 -0
- package/src/orchestrate/interface/histories/transformInterfaceOperationHistories.ts +45 -22
- package/src/orchestrate/interface/histories/transformInterfaceOperationsReviewHistories.ts +43 -0
- package/src/orchestrate/interface/histories/transformInterfaceSchemasReviewHistories.ts +63 -0
- package/src/orchestrate/interface/orchestrateInterface.ts +14 -23
- package/src/orchestrate/interface/orchestrateInterfaceAuthorizations.ts +106 -0
- package/src/orchestrate/interface/orchestrateInterfaceComplement.ts +27 -44
- package/src/orchestrate/interface/orchestrateInterfaceEndpoints.ts +28 -34
- package/src/orchestrate/interface/orchestrateInterfaceGroups.ts +15 -32
- package/src/orchestrate/interface/orchestrateInterfaceOperations.ts +207 -103
- package/src/orchestrate/interface/orchestrateInterfaceOperationsReview.ts +84 -0
- package/src/orchestrate/interface/orchestrateInterfaceSchemas.ts +72 -82
- package/src/orchestrate/interface/orchestrateInterfaceSchemasReview.ts +143 -0
- package/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationsApplication.ts +49 -0
- package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.ts +2 -1
- package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts +6 -2
- package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationsReviewApplication.ts +102 -0
- package/src/orchestrate/interface/structures/IAutobeInterfaceSchemasReviewApplication.ts +98 -0
- package/src/orchestrate/internal/IProgress.ts +4 -0
- package/src/orchestrate/prisma/{transformPrismaComponentsHistories.ts → histories/transformPrismaComponentsHistories.ts} +2 -2
- package/src/orchestrate/prisma/{transformPrismaCorrectHistories.ts → histories/transformPrismaCorrectHistories.ts} +1 -1
- package/src/orchestrate/prisma/histories/transformPrismaReviewHistories.ts +66 -0
- package/src/orchestrate/prisma/{transformPrismaSchemaHistories.ts → histories/transformPrismaSchemaHistories.ts} +3 -3
- package/src/orchestrate/prisma/orchestratePrisma.ts +73 -67
- package/src/orchestrate/prisma/orchestratePrismaComponent.ts +27 -112
- package/src/orchestrate/prisma/orchestratePrismaCorrect.ts +100 -202
- package/src/orchestrate/prisma/orchestratePrismaReview.ts +118 -0
- package/src/orchestrate/prisma/orchestratePrismaSchemas.ts +137 -210
- package/src/orchestrate/prisma/structures/IAutoBePrismaComponentApplication.ts +125 -0
- package/src/orchestrate/prisma/structures/IAutoBePrismaCorrectApplication.ts +144 -0
- package/src/orchestrate/prisma/structures/IAutoBePrismaReviewApplication.ts +108 -0
- package/src/orchestrate/prisma/structures/IAutoBePrismaSchemaApplication.ts +101 -0
- package/src/orchestrate/realize/{transformRealizeAuthorization.ts → histories/transformRealizeAuthorization.ts} +14 -10
- package/src/orchestrate/realize/{transformRealizeAuthorizationCorrectHistories.ts → histories/transformRealizeAuthorizationCorrectHistories.ts} +9 -7
- package/src/orchestrate/realize/{transformRealizeCoderHistories.ts → histories/transformRealizeCoderHistories.ts} +6 -6
- package/src/orchestrate/realize/histories/transformRealizeCorrectHistories.ts +47 -0
- package/src/orchestrate/realize/histories/transformRealizeWriteHistories.ts +184 -0
- package/src/orchestrate/realize/internal/compile.ts +84 -0
- package/src/orchestrate/realize/orchestrateRealize.ts +118 -40
- package/src/orchestrate/realize/orchestrateRealizeAuthorization.ts +45 -57
- package/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.ts +19 -41
- package/src/orchestrate/realize/orchestrateRealizeCorrect.ts +118 -0
- package/src/orchestrate/realize/{orchestrateRealizePlanner.ts → orchestrateRealizeScenario.ts} +15 -15
- package/src/orchestrate/realize/orchestrateRealizeWrite.ts +120 -0
- package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.ts +11 -3
- package/src/orchestrate/realize/structures/IAutoBeRealizeReviewApplication.ts +81 -0
- package/src/orchestrate/realize/structures/IAutoBeRealizeScenarioApplication.ts +43 -0
- package/src/orchestrate/realize/structures/IAutoBeRealizeWriteApplication.ts +282 -0
- package/src/orchestrate/realize/utils/replaceImportStatements.ts +3 -1
- package/src/orchestrate/test/experimental/orchestrateTestCorrect.ast +5 -9
- package/src/orchestrate/test/experimental/orchestrateTestWrite.ast +23 -22
- package/src/orchestrate/test/{transformTestCorrectHistories.ts → histories/transformTestCorrectHistories.ts} +2 -2
- package/src/orchestrate/test/{transformTestHistories.ts → histories/transformTestHistories.ts} +1 -1
- package/src/orchestrate/test/histories/transformTestScenarioHistories.ts +70 -0
- package/src/orchestrate/test/{transformTestWriteHistories.ts → histories/transformTestWriteHistories.ts} +3 -3
- package/src/orchestrate/test/orchestrateTest.ts +11 -32
- package/src/orchestrate/test/orchestrateTestCorrect.ts +32 -62
- package/src/orchestrate/test/orchestrateTestScenario.ts +95 -158
- package/src/orchestrate/test/orchestrateTestWrite.ts +48 -71
- package/src/orchestrate/test/structures/IAutoBeTestScenarioApplication.ts +25 -24
- package/src/orchestrate/test/structures/IAutoBeTestWriteApplication.ts +3 -1
- package/lib/AutoBeAgent.js.map +0 -1
- package/lib/AutoBeAgentBase.js.map +0 -1
- package/lib/AutoBeMockAgent.js.map +0 -1
- package/lib/constants/AutoBeSystemPromptConstant.js.map +0 -1
- package/lib/context/AutoBeContext.js.map +0 -1
- package/lib/context/AutoBeState.js.map +0 -1
- package/lib/context/AutoBeTokenUsage.js +0 -61
- package/lib/context/AutoBeTokenUsage.js.map +0 -1
- package/lib/context/IAutoBeApplication.js.map +0 -1
- package/lib/context/IAutoBeApplicationProps.js.map +0 -1
- package/lib/context/IAutoBeApplicationResult.js.map +0 -1
- package/lib/context/assertSchemaModel.js.map +0 -1
- package/lib/factory/createAgenticaHistory.js.map +0 -1
- package/lib/factory/createAutoBeApplication.js.map +0 -1
- package/lib/factory/createAutoBeState.js.map +0 -1
- package/lib/factory/getAutoBeGenerated.js.map +0 -1
- package/lib/factory/index.js.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/orchestrate/analyze/AutoBeAnalyzeFileSystem.d.ts +0 -45
- package/lib/orchestrate/analyze/AutoBeAnalyzeFileSystem.js +0 -27
- package/lib/orchestrate/analyze/AutoBeAnalyzeFileSystem.js.map +0 -1
- package/lib/orchestrate/analyze/AutoBeAnalyzePointer.d.ts +0 -9
- package/lib/orchestrate/analyze/AutoBeAnalyzePointer.js +0 -3
- package/lib/orchestrate/analyze/AutoBeAnalyzePointer.js.map +0 -1
- package/lib/orchestrate/analyze/orchestrateAnalyze.js +0 -125
- package/lib/orchestrate/analyze/orchestrateAnalyze.js.map +0 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeComposer.d.ts +0 -5
- package/lib/orchestrate/analyze/orchestrateAnalyzeComposer.js +0 -561
- package/lib/orchestrate/analyze/orchestrateAnalyzeComposer.js.map +0 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeReviewer.d.ts +0 -12
- package/lib/orchestrate/analyze/orchestrateAnalyzeReviewer.js +0 -395
- package/lib/orchestrate/analyze/orchestrateAnalyzeReviewer.js.map +0 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js +0 -347
- package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js.map +0 -1
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeComposerApplication.d.ts +0 -68
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeComposerApplication.js +0 -3
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeComposerApplication.js.map +0 -1
- package/lib/orchestrate/analyze/transformAnalyzeReviewerHistories.d.ts +0 -5
- package/lib/orchestrate/analyze/transformAnalyzeReviewerHistories.js +0 -27
- package/lib/orchestrate/analyze/transformAnalyzeReviewerHistories.js.map +0 -1
- package/lib/orchestrate/analyze/transformAnalyzeWriteHistories.d.ts +0 -12
- package/lib/orchestrate/analyze/transformAnalyzeWriteHistories.js +0 -78
- package/lib/orchestrate/analyze/transformAnalyzeWriteHistories.js.map +0 -1
- package/lib/orchestrate/analyze/writeDocumentUntilReviewPassed.d.ts +0 -16
- package/lib/orchestrate/analyze/writeDocumentUntilReviewPassed.js +0 -79
- package/lib/orchestrate/analyze/writeDocumentUntilReviewPassed.js.map +0 -1
- package/lib/orchestrate/facade/transformFacadeStateMessage.js.map +0 -1
- package/lib/orchestrate/index.js.map +0 -1
- package/lib/orchestrate/interface/histories/transformInterfaceAssetHistories.js.map +0 -1
- package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.js +0 -62
- package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.js.map +0 -1
- package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.js +0 -28
- package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.js.map +0 -1
- package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.js +0 -28
- package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.js.map +0 -1
- package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.js +0 -28
- package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.js.map +0 -1
- package/lib/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.js.map +0 -1
- package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.js +0 -28
- package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.js.map +0 -1
- package/lib/orchestrate/interface/orchestrateInterface.js.map +0 -1
- package/lib/orchestrate/interface/orchestrateInterfaceComplement.js.map +0 -1
- package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +0 -1
- package/lib/orchestrate/interface/orchestrateInterfaceGroups.js.map +0 -1
- package/lib/orchestrate/interface/orchestrateInterfaceOperations.js.map +0 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemas.js.map +0 -1
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.js.map +0 -1
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.js.map +0 -1
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.js.map +0 -1
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.js.map +0 -1
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.js.map +0 -1
- package/lib/orchestrate/interface/utils/OpenApiEndpointComparator.js.map +0 -1
- package/lib/orchestrate/prisma/orchestratePrisma.js.map +0 -1
- package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +0 -1
- package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +0 -1
- package/lib/orchestrate/prisma/orchestratePrismaSchemas.js.map +0 -1
- package/lib/orchestrate/prisma/transformPrismaComponentsHistories.js.map +0 -1
- package/lib/orchestrate/prisma/transformPrismaCorrectHistories.js.map +0 -1
- package/lib/orchestrate/prisma/transformPrismaHistories.d.ts +0 -3
- package/lib/orchestrate/prisma/transformPrismaHistories.js +0 -55
- package/lib/orchestrate/prisma/transformPrismaHistories.js.map +0 -1
- package/lib/orchestrate/prisma/transformPrismaSchemaHistories.js +0 -48
- package/lib/orchestrate/prisma/transformPrismaSchemaHistories.js.map +0 -1
- package/lib/orchestrate/realize/ProviderCodeComparator.js.map +0 -1
- package/lib/orchestrate/realize/RealizePipe.js +0 -14
- package/lib/orchestrate/realize/RealizePipe.js.map +0 -1
- package/lib/orchestrate/realize/orchestrateRealize.js +0 -74
- package/lib/orchestrate/realize/orchestrateRealize.js.map +0 -1
- package/lib/orchestrate/realize/orchestrateRealizeAuthorization.js.map +0 -1
- package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js.map +0 -1
- package/lib/orchestrate/realize/orchestrateRealizeCoder.d.ts +0 -26
- package/lib/orchestrate/realize/orchestrateRealizeCoder.js +0 -420
- package/lib/orchestrate/realize/orchestrateRealizeCoder.js.map +0 -1
- package/lib/orchestrate/realize/orchestrateRealizePlanner.js.map +0 -1
- package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.js.map +0 -1
- package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js.map +0 -1
- package/lib/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.js.map +0 -1
- package/lib/orchestrate/realize/structures/IAutoBeRealizeCompile.js.map +0 -1
- package/lib/orchestrate/realize/structures/IAutoBeRealizeFailedSymbol.js.map +0 -1
- package/lib/orchestrate/realize/transformRealizeAuthorization.d.ts +0 -4
- package/lib/orchestrate/realize/transformRealizeAuthorization.js +0 -39
- package/lib/orchestrate/realize/transformRealizeAuthorization.js.map +0 -1
- package/lib/orchestrate/realize/transformRealizeAuthorizationCorrectHistories.d.ts +0 -5
- package/lib/orchestrate/realize/transformRealizeAuthorizationCorrectHistories.js +0 -80
- package/lib/orchestrate/realize/transformRealizeAuthorizationCorrectHistories.js.map +0 -1
- package/lib/orchestrate/realize/transformRealizeCoderHistories.d.ts +0 -7
- package/lib/orchestrate/realize/transformRealizeCoderHistories.js.map +0 -1
- package/lib/orchestrate/realize/utils/AuthorizationFileSystem.js.map +0 -1
- package/lib/orchestrate/realize/utils/AutoBeRealizeAuthorizationFileSystem.js.map +0 -1
- package/lib/orchestrate/realize/utils/AutoBeRealizeAuthorizationReplaceImport.js.map +0 -1
- package/lib/orchestrate/realize/utils/InternalFileSystem.js.map +0 -1
- package/lib/orchestrate/realize/utils/ProviderFileSystem.js.map +0 -1
- package/lib/orchestrate/realize/utils/replaceImportStatements.js.map +0 -1
- package/lib/orchestrate/realize/writeCodeUntilCompilePassed.d.ts +0 -11
- package/lib/orchestrate/realize/writeCodeUntilCompilePassed.js +0 -221
- package/lib/orchestrate/realize/writeCodeUntilCompilePassed.js.map +0 -1
- package/lib/orchestrate/test/compile/completeTestCode.js.map +0 -1
- package/lib/orchestrate/test/compile/filterTestFileName.js.map +0 -1
- package/lib/orchestrate/test/compile/getTestExternalDeclarations.js.map +0 -1
- package/lib/orchestrate/test/compile/getTestScenarioArtifacts.js.map +0 -1
- package/lib/orchestrate/test/orchestrateTest.js.map +0 -1
- package/lib/orchestrate/test/orchestrateTestCorrect.js.map +0 -1
- package/lib/orchestrate/test/orchestrateTestScenario.js +0 -866
- package/lib/orchestrate/test/orchestrateTestScenario.js.map +0 -1
- package/lib/orchestrate/test/orchestrateTestWrite.js.map +0 -1
- package/lib/orchestrate/test/structures/IAutoBeTestCorrectApplication.js.map +0 -1
- package/lib/orchestrate/test/structures/IAutoBeTestFunction.js.map +0 -1
- package/lib/orchestrate/test/structures/IAutoBeTestScenarioApplication.js.map +0 -1
- package/lib/orchestrate/test/structures/IAutoBeTestScenarioArtifacts.js.map +0 -1
- package/lib/orchestrate/test/structures/IAutoBeTestWriteApplication.js.map +0 -1
- package/lib/orchestrate/test/structures/IAutoBeTestWriteResult.js.map +0 -1
- package/lib/orchestrate/test/transformTestCorrectHistories.js.map +0 -1
- package/lib/orchestrate/test/transformTestHistories.js.map +0 -1
- package/lib/orchestrate/test/transformTestScenarioHistories.d.ts +0 -3
- package/lib/orchestrate/test/transformTestScenarioHistories.js +0 -100
- package/lib/orchestrate/test/transformTestScenarioHistories.js.map +0 -1
- package/lib/orchestrate/test/transformTestWriteHistories.js +0 -178
- package/lib/orchestrate/test/transformTestWriteHistories.js.map +0 -1
- package/lib/structures/IAutoBeConfig.js.map +0 -1
- package/lib/structures/IAutoBeProps.js.map +0 -1
- package/lib/structures/IAutoBeVendor.js.map +0 -1
- package/lib/utils/arrayToRecord.js.map +0 -1
- package/lib/utils/backoffRetry.js.map +0 -1
- package/lib/utils/divideArray.js.map +0 -1
- package/lib/utils/emplaceMap.js.map +0 -1
- package/lib/utils/enforceToolCall.d.ts +0 -3
- package/lib/utils/enforceToolCall.js +0 -13
- package/lib/utils/enforceToolCall.js.map +0 -1
- package/lib/utils/forceRetry.d.ts +0 -1
- package/lib/utils/forceRetry.js +0 -26
- package/lib/utils/forceRetry.js.map +0 -1
- package/lib/utils/pipe.js.map +0 -1
- package/src/orchestrate/analyze/AutoBeAnalyzeFileSystem.ts +0 -58
- package/src/orchestrate/analyze/AutoBeAnalyzePointer.ts +0 -10
- package/src/orchestrate/analyze/orchestrateAnalyzeComposer.ts +0 -112
- package/src/orchestrate/analyze/orchestrateAnalyzeReviewer.ts +0 -131
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeComposerApplication.ts +0 -75
- package/src/orchestrate/analyze/transformAnalyzeReviewerHistories.ts +0 -31
- package/src/orchestrate/analyze/transformAnalyzeWriteHistories.ts +0 -94
- package/src/orchestrate/analyze/writeDocumentUntilReviewPassed.ts +0 -96
- package/src/orchestrate/prisma/transformPrismaHistories.ts +0 -59
- package/src/orchestrate/realize/RealizePipe.ts +0 -39
- package/src/orchestrate/realize/orchestrateRealizeCoder.ts +0 -182
- package/src/orchestrate/realize/writeCodeUntilCompilePassed.ts +0 -308
- package/src/orchestrate/test/transformTestScenarioHistories.ts +0 -105
- package/src/utils/enforceToolCall.ts +0 -13
- package/src/utils/forceRetry.ts +0 -13
- /package/lib/{AutoBeAgentBase.js → agent/src/AutoBeAgentBase.js} +0 -0
- /package/lib/{constants → agent/src/constants}/AutoBeSystemPromptConstant.js +0 -0
- /package/lib/{context → agent/src/context}/AutoBeContext.js +0 -0
- /package/lib/{context → agent/src/context}/AutoBeState.js +0 -0
- /package/lib/{context → agent/src/context}/IAutoBeApplication.js +0 -0
- /package/lib/{context → agent/src/context}/IAutoBeApplicationProps.js +0 -0
- /package/lib/{context → agent/src/context}/IAutoBeApplicationResult.js +0 -0
- /package/lib/{context → agent/src/context}/assertSchemaModel.js +0 -0
- /package/lib/{factory → agent/src/factory}/createAgenticaHistory.js +0 -0
- /package/lib/{factory → agent/src/factory}/createAutoBeState.js +0 -0
- /package/lib/{factory → agent/src/factory}/index.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/facade/transformFacadeStateMessage.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/index.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/interface/histories/transformInterfaceAssetHistories.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/interface/histories/transformInterfacePrerequisiteHistories.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceComplementApplication.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceEndpointApplication.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceGroupApplication.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceOperationApplication.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/interface/structures/IAutoBeInterfaceSchemaApplication.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/interface/utils/OpenApiEndpointComparator.js +0 -0
- /package/lib/{orchestrate/prisma → agent/src/orchestrate/prisma/histories}/transformPrismaCorrectHistories.d.ts +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/realize/ProviderCodeComparator.js +0 -0
- /package/lib/{orchestrate/realize → agent/src/orchestrate/realize/histories}/transformRealizeCoderHistories.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeAuthorizationApplication.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeCoderApplication.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeCompile.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/realize/structures/IAutoBeRealizeFailedSymbol.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/AuthorizationFileSystem.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/AutoBeRealizeAuthorizationFileSystem.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/AutoBeRealizeAuthorizationReplaceImport.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/InternalFileSystem.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/realize/utils/ProviderFileSystem.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/test/compile/completeTestCode.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/test/compile/filterTestFileName.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/test/compile/getTestExternalDeclarations.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/test/compile/getTestScenarioArtifacts.js +0 -0
- /package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestCorrectHistories.js +0 -0
- /package/lib/{orchestrate/test → agent/src/orchestrate/test/histories}/transformTestHistories.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestCorrectApplication.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestFunction.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestScenarioApplication.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestScenarioArtifacts.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestWriteApplication.js +0 -0
- /package/lib/{orchestrate → agent/src/orchestrate}/test/structures/IAutoBeTestWriteResult.js +0 -0
- /package/lib/{structures → agent/src/structures}/IAutoBeConfig.js +0 -0
- /package/lib/{structures → agent/src/structures}/IAutoBeProps.js +0 -0
- /package/lib/{structures → agent/src/structures}/IAutoBeVendor.js +0 -0
- /package/lib/{utils → agent/src/utils}/arrayToRecord.js +0 -0
- /package/lib/{utils → agent/src/utils}/backoffRetry.js +0 -0
- /package/lib/{utils → agent/src/utils}/divideArray.js +0 -0
- /package/lib/{utils → agent/src/utils}/emplaceMap.js +0 -0
- /package/lib/{utils → agent/src/utils}/pipe.js +0 -0
|
@@ -45,144 +45,75 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
45
45
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
46
|
};
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.
|
|
48
|
+
exports.orchestratePrismaReview = orchestratePrismaReview;
|
|
49
49
|
const __typia_transform__isUniqueItems = __importStar(require("typia/lib/internal/_isUniqueItems.js"));
|
|
50
50
|
const __typia_transform__validateReport = __importStar(require("typia/lib/internal/_validateReport.js"));
|
|
51
|
-
const core_1 = require("@agentica/core");
|
|
52
51
|
const typia_1 = __importDefault(require("typia"));
|
|
53
52
|
const assertSchemaModel_1 = require("../../context/assertSchemaModel");
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
const transformPrismaSchemaHistories_1 = require("./transformPrismaSchemaHistories");
|
|
57
|
-
function orchestratePrismaSchemas(ctx, components) {
|
|
53
|
+
const transformPrismaReviewHistories_1 = require("./histories/transformPrismaReviewHistories");
|
|
54
|
+
function orchestratePrismaReview(ctx, application, schemas, componentList) {
|
|
58
55
|
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
return yield Promise.all(components.map((comp) => __awaiter(this, void 0, void 0, function* () {
|
|
65
|
-
var _a, _b;
|
|
66
|
-
const targetComponent = comp;
|
|
67
|
-
const otherComponents = components.filter((y) => comp !== y);
|
|
68
|
-
const result = yield (0, forceRetry_1.forceRetry)(() => process(ctx, targetComponent, otherComponents));
|
|
69
|
-
const event = {
|
|
70
|
-
type: "prismaSchemas",
|
|
71
|
-
created_at: start.toISOString(),
|
|
72
|
-
file: {
|
|
73
|
-
filename: comp.filename,
|
|
74
|
-
namespace: comp.namespace,
|
|
75
|
-
models: result.models,
|
|
76
|
-
},
|
|
77
|
-
completed: (completed += comp.tables.length),
|
|
78
|
-
total,
|
|
79
|
-
step: (_b = (_a = ctx.state().analyze) === null || _a === void 0 ? void 0 : _a.step) !== null && _b !== void 0 ? _b : 0,
|
|
80
|
-
};
|
|
81
|
-
ctx.dispatch(event);
|
|
82
|
-
return event;
|
|
83
|
-
})));
|
|
56
|
+
const progress = {
|
|
57
|
+
completed: 0,
|
|
58
|
+
total: componentList.length,
|
|
59
|
+
};
|
|
60
|
+
return yield Promise.all(componentList.map((component) => step(ctx, application, schemas, component, progress)));
|
|
84
61
|
});
|
|
85
62
|
}
|
|
86
|
-
function
|
|
63
|
+
function step(ctx, application, schemas, component, progress) {
|
|
87
64
|
return __awaiter(this, void 0, void 0, function* () {
|
|
88
|
-
var _a;
|
|
65
|
+
var _a, _b, _c, _d;
|
|
66
|
+
const start = new Date();
|
|
89
67
|
const pointer = {
|
|
90
68
|
value: null,
|
|
91
69
|
};
|
|
92
|
-
const
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
const tokenUsage = agentica.getTokenUsage();
|
|
112
|
-
ctx.usage().record(tokenUsage, ["prisma"]);
|
|
70
|
+
const { tokenUsage } = yield ctx.conversate({
|
|
71
|
+
source: "prismaReview",
|
|
72
|
+
histories: (0, transformPrismaReviewHistories_1.transformPrismaReviewHistories)({
|
|
73
|
+
analysis: (_b = (_a = ctx
|
|
74
|
+
.state()
|
|
75
|
+
.analyze) === null || _a === void 0 ? void 0 : _a.files.map((file) => ({ [file.filename]: file.content })).reduce((acc, cur) => {
|
|
76
|
+
return Object.assign(acc, cur);
|
|
77
|
+
}, {})) !== null && _b !== void 0 ? _b : {},
|
|
78
|
+
application,
|
|
79
|
+
schemas,
|
|
80
|
+
component,
|
|
81
|
+
}),
|
|
82
|
+
controller: createController(ctx, {
|
|
83
|
+
build: (next) => {
|
|
84
|
+
pointer.value = next;
|
|
85
|
+
},
|
|
86
|
+
}),
|
|
87
|
+
enforceFunctionCall: true,
|
|
88
|
+
message: "Please review the Prisma schema file.",
|
|
113
89
|
});
|
|
114
90
|
if (pointer.value === null)
|
|
115
|
-
throw new Error("
|
|
116
|
-
|
|
91
|
+
throw new Error("Failed to review the Prisma schema.");
|
|
92
|
+
const event = {
|
|
93
|
+
type: "prismaReview",
|
|
94
|
+
created_at: start.toISOString(),
|
|
95
|
+
filename: component.filename,
|
|
96
|
+
review: pointer.value.review,
|
|
97
|
+
plan: pointer.value.plan,
|
|
98
|
+
modifications: pointer.value.modifications,
|
|
99
|
+
tokenUsage,
|
|
100
|
+
completed: ++progress.completed,
|
|
101
|
+
total: progress.total,
|
|
102
|
+
step: (_d = (_c = ctx.state().analyze) === null || _c === void 0 ? void 0 : _c.step) !== null && _d !== void 0 ? _d : 0,
|
|
103
|
+
};
|
|
104
|
+
ctx.dispatch(event);
|
|
105
|
+
return event;
|
|
117
106
|
});
|
|
118
107
|
}
|
|
119
|
-
function
|
|
108
|
+
function createController(ctx, props) {
|
|
120
109
|
(0, assertSchemaModel_1.assertSchemaModel)(ctx.model);
|
|
121
110
|
const application = collection[ctx.model];
|
|
122
|
-
// application.functions[0].validate = (
|
|
123
|
-
// input: unknown,
|
|
124
|
-
// ): IValidation<IMakePrismaSchemaFileProps> => {
|
|
125
|
-
// const result: IValidation<IMakePrismaSchemaFileProps> =
|
|
126
|
-
// typia.validate<IMakePrismaSchemaFileProps>(input);
|
|
127
|
-
// if (result.success === false) return result;
|
|
128
|
-
// const everyModels: AutoBePrisma.IModel[] = result.data.models;
|
|
129
|
-
// result.data.models = result.data.models.filter((m) =>
|
|
130
|
-
// props.otherComponents.every((oc) => oc.tables.includes(m.name) === false),
|
|
131
|
-
// );
|
|
132
|
-
// const expected: string[] = props.targetComponent.tables;
|
|
133
|
-
// const actual: string[] = result.data.models.map((m) => m.name);
|
|
134
|
-
// const missed: string[] = expected.filter(
|
|
135
|
-
// (x) => actual.includes(x) === false,
|
|
136
|
-
// );
|
|
137
|
-
// if (missed.length === 0) return result;
|
|
138
|
-
// ctx.dispatch({
|
|
139
|
-
// type: "prismaInsufficient",
|
|
140
|
-
// created_at: new Date().toISOString(),
|
|
141
|
-
// component: props.targetComponent,
|
|
142
|
-
// actual: everyModels,
|
|
143
|
-
// missed,
|
|
144
|
-
// tablesToCreate: result.data.tablesToCreate,
|
|
145
|
-
// validationReview: result.data.validationReview,
|
|
146
|
-
// confirmedTables: result.data.confirmedTables,
|
|
147
|
-
// });
|
|
148
|
-
// return {
|
|
149
|
-
// success: false,
|
|
150
|
-
// data: result.data,
|
|
151
|
-
// errors: [
|
|
152
|
-
// {
|
|
153
|
-
// path: "$input.file.models",
|
|
154
|
-
// value: result.data.models,
|
|
155
|
-
// expected: `Array<AutoBePrisma.IModel>`,
|
|
156
|
-
// description: [
|
|
157
|
-
// "You missed some tables from the current domain's component.",
|
|
158
|
-
// "",
|
|
159
|
-
// "Look at the following details to fix the schemas. Never forget to",
|
|
160
|
-
// "compose the `missed` tables at the next function calling.",
|
|
161
|
-
// "",
|
|
162
|
-
// "- filename: current domain's filename",
|
|
163
|
-
// "- namespace: current domain's namespace",
|
|
164
|
-
// "- expected: expected tables in the current domain",
|
|
165
|
-
// "- actual: actual tables you made",
|
|
166
|
-
// "- missed: tables you have missed, and you have to compose again",
|
|
167
|
-
// "",
|
|
168
|
-
// JSON.stringify({
|
|
169
|
-
// filename: props.targetComponent.filename,
|
|
170
|
-
// namespace: props.targetComponent.namespace,
|
|
171
|
-
// expected,
|
|
172
|
-
// actual,
|
|
173
|
-
// missed,
|
|
174
|
-
// }),
|
|
175
|
-
// ].join("\n"),
|
|
176
|
-
// },
|
|
177
|
-
// ],
|
|
178
|
-
// };
|
|
179
|
-
// };
|
|
180
111
|
return {
|
|
181
112
|
protocol: "class",
|
|
182
|
-
name: "Prisma
|
|
113
|
+
name: "Prisma Schema Review",
|
|
183
114
|
application,
|
|
184
115
|
execute: {
|
|
185
|
-
|
|
116
|
+
reviewSchemaFile: (next) => {
|
|
186
117
|
props.build(next);
|
|
187
118
|
},
|
|
188
119
|
},
|
|
@@ -196,31 +127,21 @@ const claude = {
|
|
|
196
127
|
},
|
|
197
128
|
functions: [
|
|
198
129
|
{
|
|
199
|
-
name: "
|
|
130
|
+
name: "reviewSchemaFile",
|
|
200
131
|
parameters: {
|
|
201
|
-
description: "
|
|
132
|
+
description: "Current Type: {@link IAutoBePrismaReviewApplication.IProps}",
|
|
202
133
|
type: "object",
|
|
203
134
|
properties: {
|
|
204
|
-
|
|
205
|
-
description: "
|
|
206
|
-
type: "array",
|
|
207
|
-
items: {
|
|
208
|
-
type: "string"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
validationReview: {
|
|
212
|
-
description: "STEP 2: Validation review of the first enumeration\n\nCompare `tablesToCreate` against `targetComponent.tables` and\n`otherComponents[].tables`. Write a review statement that validates:\n\n- All tables from `targetComponent.tables` are included\n- No tables from `otherComponents[].tables` are included\n- Additional tables (if any) are for M:N junction relationships or\n domain-specific needs\n- No forbidden tables from other domains are included\n\nExample: \"VALIDATION PASSED: All required tables from\n`targetComponent.tables` included: shopping_goods, shopping_goods_options.\nFORBIDDEN CHECK: No tables from `otherComponents` included\n(shopping_customers, shopping_sellers are correctly excluded). Additional\ntables: none needed for this domain.\"",
|
|
135
|
+
review: {
|
|
136
|
+
description: "Comprehensive review analysis of the proposed schema modifications.\n\nContains the AI agent's detailed evaluation of the schema changes,\nincluding validation of normalization compliance, relationship integrity,\nindex optimization, and business requirement alignment. The review\nidentifies potential issues and confirms adherence to best practices.\n\n**Review Dimensions:**\n\n- **Normalization Validation**: Confirms 3NF compliance and proper data\n structure\n- **Relationship Integrity**: Validates foreign key references and\n cardinality\n- **Performance Optimization**: Reviews indexing strategy and query\n patterns\n- **Business Logic Alignment**: Ensures schema supports all use cases\n- **Naming Conventions**: Verifies consistent naming patterns\n- **Data Type Consistency**: Confirms appropriate field types\n- **Temporal Field Handling**: Validates audit trail implementation\n\n**Example:**\n\n \"After reviewing the schema modifications:\n 1. All tables properly implement UUID primary keys\n 2. Foreign key relationships correctly reference existing models\n 3. Composite indexes optimize for common query patterns\n 4. Snapshot tables include proper temporal fields\n 5. Materialized views (mv_) contain appropriate denormalization\n The schema follows all best practices and is ready for implementation.\"",
|
|
213
137
|
type: "string"
|
|
214
138
|
},
|
|
215
|
-
|
|
216
|
-
description: "
|
|
217
|
-
type: "
|
|
218
|
-
items: {
|
|
219
|
-
type: "string"
|
|
220
|
-
}
|
|
139
|
+
plan: {
|
|
140
|
+
description: "Strategic database design plan that guided the schema creation.\n\nContains the original planning document that outlines the database\narchitecture strategy, including table structures, relationships,\nnormalization approach, and business requirement mapping. This plan\nserves as the blueprint for validating the implemented schema.\n\n**Planning Components:**\n\n- **Business Requirements**: Mapping of business needs to database\n structures\n- **Table Design**: Entity definitions and attribute specifications\n- **Relationship Strategy**: Cardinality and referential integrity planning\n- **Normalization Approach**: Application of 1NF, 2NF, 3NF principles\n- **Performance Considerations**: Index strategy and query optimization\n- **Snapshot Architecture**: Temporal data handling and audit requirements\n- **Materialized Views**: Denormalization strategy for performance\n\n**Example:**\n\n \"Database Design Strategy:\n Component: Sales Domain\n Tables: shopping_sales, shopping_sale_snapshots, shopping_sale_units\n\n Design Approach:\n - Normalize product catalog to 3NF for data integrity\n - Implement snapshot pattern for price history tracking\n - Create composite indexes for product search queries\n - Use materialized views for sales analytics dashboards\"",
|
|
141
|
+
type: "string"
|
|
221
142
|
},
|
|
222
|
-
|
|
223
|
-
description: "
|
|
143
|
+
modifications: {
|
|
144
|
+
description: "Array of Prisma models that have been modified based on review feedback.\n\nContains ONLY the models that required changes, not the entire schema.\nEach model represents a complete table definition with all fields,\nrelationships, indexes, and documentation. These modifications will be\napplied to the models to produce the final implementation.\n\n**Model Requirements:**\n\n- **Complete Models**: Each entry must be a complete model definition\n- **Targeted Changes**: Only includes models that need modifications\n- **AST Compliance**: Follows AutoBePrisma.IModel interface structure\n- **Relationship Integrity**: All foreign keys reference valid models\n- **Index Optimization**: Strategic indexes without redundancy\n- **Documentation**: Comprehensive English descriptions\n\n**Notes:**\n\n- Models not included in this array remain unchanged from the models\n- The final schema merges these modifications with the original models\n- All modifications must resolve issues identified in the review",
|
|
224
145
|
type: "array",
|
|
225
146
|
items: {
|
|
226
147
|
$ref: "#/$defs/AutoBePrisma.IModel"
|
|
@@ -228,10 +149,9 @@ const claude = {
|
|
|
228
149
|
}
|
|
229
150
|
},
|
|
230
151
|
required: [
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"models"
|
|
152
|
+
"review",
|
|
153
|
+
"plan",
|
|
154
|
+
"modifications"
|
|
235
155
|
],
|
|
236
156
|
additionalProperties: false,
|
|
237
157
|
$defs: {
|
|
@@ -240,12 +160,12 @@ const claude = {
|
|
|
240
160
|
type: "object",
|
|
241
161
|
properties: {
|
|
242
162
|
name: {
|
|
243
|
-
description: "Name of the Prisma model (database table name).\n\
|
|
163
|
+
description: "Name of the Prisma model (database table name).\n\nMUST use snake_case naming convention. Examples: \"shopping_customers\",\n\"shopping_sale_snapshots\", \"bbs_articles\" Materialized views use \"mv_\"\nprefix: \"mv_shopping_sale_last_snapshots\"",
|
|
244
164
|
type: "string",
|
|
245
165
|
pattern: "^[a-z][a-z0-9_]*$"
|
|
246
166
|
},
|
|
247
167
|
description: {
|
|
248
|
-
description: "Detailed description explaining the business purpose and usage of the\nmodel.\n\nShould include:\n\n- Business context and purpose\n- Key relationships with other models\n- Important behavioral notes or constraints\n- References to related entities using \"{@\\link ModelName}\" syntax Example
|
|
168
|
+
description: "Detailed description explaining the business purpose and usage of the\nmodel.\n\nShould include:\n\n- Business context and purpose\n- Key relationships with other models\n- Important behavioral notes or constraints\n- References to related entities using \"{@\\link ModelName}\" syntax\n\n**IMPORTANT**: Description must be written in English. Example: \"Customer\ninformation, but not a person but a **connection** basis...\"",
|
|
249
169
|
type: "string"
|
|
250
170
|
},
|
|
251
171
|
material: {
|
|
@@ -309,7 +229,7 @@ const claude = {
|
|
|
309
229
|
type: "object",
|
|
310
230
|
properties: {
|
|
311
231
|
name: {
|
|
312
|
-
description: "Name of the primary key field.\n\
|
|
232
|
+
description: "Name of the primary key field.\n\nMUST use snake_case naming convention. Consistently named \"id\" across all\nmodels in the uploaded schemas. Represents the unique identifier for each\nrecord in the table.",
|
|
313
233
|
type: "string",
|
|
314
234
|
pattern: "^[a-z][a-z0-9_]*$"
|
|
315
235
|
},
|
|
@@ -318,7 +238,7 @@ const claude = {
|
|
|
318
238
|
"const": "uuid"
|
|
319
239
|
},
|
|
320
240
|
description: {
|
|
321
|
-
description: "Description of the primary key field's purpose.\n\nStandard description is \"Primary Key.\" across all models. Serves as the\nunique identifier for the model instance.",
|
|
241
|
+
description: "Description of the primary key field's purpose.\n\nStandard description is \"Primary Key.\" across all models. Serves as the\nunique identifier for the model instance.\n\n**IMPORTANT**: Description must be written in English.",
|
|
322
242
|
type: "string"
|
|
323
243
|
}
|
|
324
244
|
},
|
|
@@ -333,7 +253,7 @@ const claude = {
|
|
|
333
253
|
type: "object",
|
|
334
254
|
properties: {
|
|
335
255
|
name: {
|
|
336
|
-
description: "Name of the foreign key field.\n\
|
|
256
|
+
description: "Name of the foreign key field.\n\nMUST use snake_case naming convention. Follows convention:\n\"{target_model_name_without_prefix}_id\" Examples: \"shopping_customer_id\",\n\"bbs_article_id\", \"attachment_file_id\" For self-references: \"parent_id\"\n(e.g., in hierarchical structures)",
|
|
337
257
|
type: "string",
|
|
338
258
|
pattern: "^[a-z][a-z0-9_]*$"
|
|
339
259
|
},
|
|
@@ -342,7 +262,7 @@ const claude = {
|
|
|
342
262
|
"const": "uuid"
|
|
343
263
|
},
|
|
344
264
|
description: {
|
|
345
|
-
description: "Description explaining the purpose and target of this foreign key\nrelationship.\n\nShould reference the target model using format: \"Target model's {@\\link\nModelName.id}\" Examples: \"Belonged customer's {@\\link\nshopping_customers.id}\" May include additional context about the\nrelationship's business meaning.",
|
|
265
|
+
description: "Description explaining the purpose and target of this foreign key\nrelationship.\n\nShould reference the target model using format: \"Target model's {@\\link\nModelName.id}\" Examples: \"Belonged customer's {@\\link\nshopping_customers.id}\" May include additional context about the\nrelationship's business meaning.\n\n**IMPORTANT**: Description must be written in English.",
|
|
346
266
|
type: "string"
|
|
347
267
|
},
|
|
348
268
|
relation: {
|
|
@@ -374,7 +294,7 @@ const claude = {
|
|
|
374
294
|
name: {
|
|
375
295
|
description: "Name of the relation property in the Prisma model.\n\nThis becomes the property name used to access the related model instance\nthrough the Prisma client. Should be descriptive and reflect the business\nrelationship being modeled.\n\nExamples:\n\n- \"customer\" for shopping_customer_id field\n- \"channel\" for shopping_channel_id field\n- \"parent\" for parent_id field in hierarchical structures\n- \"snapshot\" for versioning relationships\n- \"article\" for bbs_article_id field\n\nNaming convention: camelCase, descriptive of the relationship's business\nmeaning",
|
|
376
296
|
type: "string",
|
|
377
|
-
pattern: "^[a-
|
|
297
|
+
pattern: "^[a-z][a-zA-Z0-9]*$"
|
|
378
298
|
},
|
|
379
299
|
targetModel: {
|
|
380
300
|
description: "Name of the target model being referenced by this relation.\n\nMust exactly match an existing model name in the schema. This is used by\nPrisma to establish the foreign key constraint and generate the\nappropriate relation mapping.\n\nExamples:\n\n- \"shopping_customers\" for customer relationships\n- \"shopping_channels\" for channel relationships\n- \"bbs_articles\" for article relationships\n- \"attachment_files\" for file attachments\n\nThe target model should exist in the same schema or be accessible through\nthe Prisma schema configuration.",
|
|
@@ -391,7 +311,7 @@ const claude = {
|
|
|
391
311
|
type: "object",
|
|
392
312
|
properties: {
|
|
393
313
|
name: {
|
|
394
|
-
description: "Name of the field in the database table.\n\
|
|
314
|
+
description: "Name of the field in the database table.\n\nMUST use snake_case naming convention. Common patterns from uploaded\nschemas:\n\n- Timestamps: created_at, updated_at, deleted_at, opened_at, closed_at\n- Identifiers: code, name, nickname, title\n- Business data: value, quantity, price, volume, balance\n- Flags: primary, required, exclusive, secret, multiplicative",
|
|
395
315
|
type: "string",
|
|
396
316
|
pattern: "^[a-z][a-z0-9_]*$"
|
|
397
317
|
},
|
|
@@ -422,7 +342,7 @@ const claude = {
|
|
|
422
342
|
]
|
|
423
343
|
},
|
|
424
344
|
description: {
|
|
425
|
-
description: "Description explaining the business purpose and usage of this field.\n\nShould clearly explain:\n\n- What business concept this field represents\n- Valid values or constraints if applicable\n- How it relates to business processes\n- Any special behavioral notes Example: \"Amount
|
|
345
|
+
description: "Description explaining the business purpose and usage of this field.\n\nShould clearly explain:\n\n- What business concept this field represents\n- Valid values or constraints if applicable\n- How it relates to business processes\n- Any special behavioral notes\n\n**IMPORTANT**: Description must be written in English. Example: \"Amount\nof cash payment.\" or \"Whether the unit is required or not.\"",
|
|
426
346
|
type: "string"
|
|
427
347
|
},
|
|
428
348
|
nullable: {
|
|
@@ -493,58 +413,38 @@ const claude = {
|
|
|
493
413
|
}
|
|
494
414
|
}
|
|
495
415
|
},
|
|
496
|
-
description: "
|
|
497
|
-
validate: (() => { const _io0 = input =>
|
|
498
|
-
path: _path + ".
|
|
499
|
-
expected: "Array<string>",
|
|
500
|
-
value: input.tablesToCreate
|
|
501
|
-
})) && input.tablesToCreate.map((elem, _index11) => "string" === typeof elem || _report(_exceptionable, {
|
|
502
|
-
path: _path + ".tablesToCreate[" + _index11 + "]",
|
|
503
|
-
expected: "string",
|
|
504
|
-
value: elem
|
|
505
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
506
|
-
path: _path + ".tablesToCreate",
|
|
507
|
-
expected: "Array<string>",
|
|
508
|
-
value: input.tablesToCreate
|
|
509
|
-
}), "string" === typeof input.validationReview || _report(_exceptionable, {
|
|
510
|
-
path: _path + ".validationReview",
|
|
416
|
+
description: "Reviews and validates Prisma schema modifications to ensure compliance with\ndatabase design best practices and business requirements.\n\nPerforms comprehensive validation of proposed schema changes including\nnormalization compliance, relationship integrity, performance optimization,\nand business logic alignment. The review process ensures all modifications\nmaintain data consistency and follow enterprise-level database standards.",
|
|
417
|
+
validate: (() => { const _io0 = input => "string" === typeof input.review && "string" === typeof input.plan && (Array.isArray(input.modifications) && input.modifications.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "string" === typeof input.name && RegExp("^[a-z][a-z0-9_]*$").test(input.name) && "string" === typeof input.description && "boolean" === typeof input.material && ("object" === typeof input.primaryField && null !== input.primaryField && _io2(input.primaryField)) && (Array.isArray(input.foreignFields) && input.foreignFields.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (Array.isArray(input.plainFields) && input.plainFields.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (Array.isArray(input.uniqueIndexes) && input.uniqueIndexes.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (Array.isArray(input.plainIndexes) && input.plainIndexes.every(elem => "object" === typeof elem && null !== elem && _io7(elem))) && (Array.isArray(input.ginIndexes) && input.ginIndexes.every(elem => "object" === typeof elem && null !== elem && _io8(elem))); const _io2 = input => "string" === typeof input.name && RegExp("^[a-z][a-z0-9_]*$").test(input.name) && "uuid" === input.type && "string" === typeof input.description; const _io3 = input => "string" === typeof input.name && RegExp("^[a-z][a-z0-9_]*$").test(input.name) && "uuid" === input.type && "string" === typeof input.description && ("object" === typeof input.relation && null !== input.relation && _io4(input.relation)) && "boolean" === typeof input.unique && "boolean" === typeof input.nullable; const _io4 = input => "string" === typeof input.name && RegExp("^[a-z][a-zA-Z0-9]*$").test(input.name) && "string" === typeof input.targetModel; const _io5 = input => "string" === typeof input.name && RegExp("^[a-z][a-z0-9_]*$").test(input.name) && ("string" === input.type || "boolean" === input.type || "uuid" === input.type || "uri" === input.type || "int" === input.type || "double" === input.type || "datetime" === input.type) && "string" === typeof input.description && "boolean" === typeof input.nullable; const _io6 = input => Array.isArray(input.fieldNames) && (1 <= input.fieldNames.length && __typia_transform__isUniqueItems._isUniqueItems(input.fieldNames) && input.fieldNames.every(elem => "string" === typeof elem)) && true === input.unique; const _io7 = input => Array.isArray(input.fieldNames) && (1 <= input.fieldNames.length && __typia_transform__isUniqueItems._isUniqueItems(input.fieldNames) && input.fieldNames.every(elem => "string" === typeof elem)); const _io8 = input => "string" === typeof input.fieldName; const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.review || _report(_exceptionable, {
|
|
418
|
+
path: _path + ".review",
|
|
511
419
|
expected: "string",
|
|
512
|
-
value: input.
|
|
513
|
-
}),
|
|
514
|
-
path: _path + ".
|
|
515
|
-
expected: "Array<string>",
|
|
516
|
-
value: input.confirmedTables
|
|
517
|
-
})) && input.confirmedTables.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
|
|
518
|
-
path: _path + ".confirmedTables[" + _index12 + "]",
|
|
420
|
+
value: input.review
|
|
421
|
+
}), "string" === typeof input.plan || _report(_exceptionable, {
|
|
422
|
+
path: _path + ".plan",
|
|
519
423
|
expected: "string",
|
|
520
|
-
value:
|
|
521
|
-
})
|
|
522
|
-
path: _path + ".
|
|
523
|
-
expected: "Array<string>",
|
|
524
|
-
value: input.confirmedTables
|
|
525
|
-
}), (Array.isArray(input.models) || _report(_exceptionable, {
|
|
526
|
-
path: _path + ".models",
|
|
424
|
+
value: input.plan
|
|
425
|
+
}), (Array.isArray(input.modifications) || _report(_exceptionable, {
|
|
426
|
+
path: _path + ".modifications",
|
|
527
427
|
expected: "Array<AutoBePrisma.IModel>",
|
|
528
|
-
value: input.
|
|
529
|
-
})) && input.
|
|
530
|
-
path: _path + ".
|
|
428
|
+
value: input.modifications
|
|
429
|
+
})) && input.modifications.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
430
|
+
path: _path + ".modifications[" + _index9 + "]",
|
|
531
431
|
expected: "AutoBePrisma.IModel",
|
|
532
432
|
value: elem
|
|
533
|
-
})) && _vo1(elem, _path + ".
|
|
534
|
-
path: _path + ".
|
|
433
|
+
})) && _vo1(elem, _path + ".modifications[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
434
|
+
path: _path + ".modifications[" + _index9 + "]",
|
|
535
435
|
expected: "AutoBePrisma.IModel",
|
|
536
436
|
value: elem
|
|
537
437
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
538
|
-
path: _path + ".
|
|
438
|
+
path: _path + ".modifications",
|
|
539
439
|
expected: "Array<AutoBePrisma.IModel>",
|
|
540
|
-
value: input.
|
|
440
|
+
value: input.modifications
|
|
541
441
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (RegExp("^[a-z][a-z0-9_]*$").test(input.name) || _report(_exceptionable, {
|
|
542
442
|
path: _path + ".name",
|
|
543
|
-
expected: "string &
|
|
443
|
+
expected: "string & SnakePattern",
|
|
544
444
|
value: input.name
|
|
545
445
|
})) || _report(_exceptionable, {
|
|
546
446
|
path: _path + ".name",
|
|
547
|
-
expected: "(string &
|
|
447
|
+
expected: "(string & SnakePattern)",
|
|
548
448
|
value: input.name
|
|
549
449
|
}), "string" === typeof input.description || _report(_exceptionable, {
|
|
550
450
|
path: _path + ".description",
|
|
@@ -566,12 +466,12 @@ const claude = {
|
|
|
566
466
|
path: _path + ".foreignFields",
|
|
567
467
|
expected: "Array<AutoBePrisma.IForeignField>",
|
|
568
468
|
value: input.foreignFields
|
|
569
|
-
})) && input.foreignFields.map((elem,
|
|
570
|
-
path: _path + ".foreignFields[" +
|
|
469
|
+
})) && input.foreignFields.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
470
|
+
path: _path + ".foreignFields[" + _index10 + "]",
|
|
571
471
|
expected: "AutoBePrisma.IForeignField",
|
|
572
472
|
value: elem
|
|
573
|
-
})) && _vo3(elem, _path + ".foreignFields[" +
|
|
574
|
-
path: _path + ".foreignFields[" +
|
|
473
|
+
})) && _vo3(elem, _path + ".foreignFields[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
474
|
+
path: _path + ".foreignFields[" + _index10 + "]",
|
|
575
475
|
expected: "AutoBePrisma.IForeignField",
|
|
576
476
|
value: elem
|
|
577
477
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -582,12 +482,12 @@ const claude = {
|
|
|
582
482
|
path: _path + ".plainFields",
|
|
583
483
|
expected: "Array<AutoBePrisma.IPlainField>",
|
|
584
484
|
value: input.plainFields
|
|
585
|
-
})) && input.plainFields.map((elem,
|
|
586
|
-
path: _path + ".plainFields[" +
|
|
485
|
+
})) && input.plainFields.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
486
|
+
path: _path + ".plainFields[" + _index11 + "]",
|
|
587
487
|
expected: "AutoBePrisma.IPlainField",
|
|
588
488
|
value: elem
|
|
589
|
-
})) && _vo5(elem, _path + ".plainFields[" +
|
|
590
|
-
path: _path + ".plainFields[" +
|
|
489
|
+
})) && _vo5(elem, _path + ".plainFields[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
490
|
+
path: _path + ".plainFields[" + _index11 + "]",
|
|
591
491
|
expected: "AutoBePrisma.IPlainField",
|
|
592
492
|
value: elem
|
|
593
493
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -598,12 +498,12 @@ const claude = {
|
|
|
598
498
|
path: _path + ".uniqueIndexes",
|
|
599
499
|
expected: "Array<AutoBePrisma.IUniqueIndex>",
|
|
600
500
|
value: input.uniqueIndexes
|
|
601
|
-
})) && input.uniqueIndexes.map((elem,
|
|
602
|
-
path: _path + ".uniqueIndexes[" +
|
|
501
|
+
})) && input.uniqueIndexes.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
502
|
+
path: _path + ".uniqueIndexes[" + _index12 + "]",
|
|
603
503
|
expected: "AutoBePrisma.IUniqueIndex",
|
|
604
504
|
value: elem
|
|
605
|
-
})) && _vo6(elem, _path + ".uniqueIndexes[" +
|
|
606
|
-
path: _path + ".uniqueIndexes[" +
|
|
505
|
+
})) && _vo6(elem, _path + ".uniqueIndexes[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
506
|
+
path: _path + ".uniqueIndexes[" + _index12 + "]",
|
|
607
507
|
expected: "AutoBePrisma.IUniqueIndex",
|
|
608
508
|
value: elem
|
|
609
509
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -614,12 +514,12 @@ const claude = {
|
|
|
614
514
|
path: _path + ".plainIndexes",
|
|
615
515
|
expected: "Array<AutoBePrisma.IPlainIndex>",
|
|
616
516
|
value: input.plainIndexes
|
|
617
|
-
})) && input.plainIndexes.map((elem,
|
|
618
|
-
path: _path + ".plainIndexes[" +
|
|
517
|
+
})) && input.plainIndexes.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
518
|
+
path: _path + ".plainIndexes[" + _index13 + "]",
|
|
619
519
|
expected: "AutoBePrisma.IPlainIndex",
|
|
620
520
|
value: elem
|
|
621
|
-
})) && _vo7(elem, _path + ".plainIndexes[" +
|
|
622
|
-
path: _path + ".plainIndexes[" +
|
|
521
|
+
})) && _vo7(elem, _path + ".plainIndexes[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
522
|
+
path: _path + ".plainIndexes[" + _index13 + "]",
|
|
623
523
|
expected: "AutoBePrisma.IPlainIndex",
|
|
624
524
|
value: elem
|
|
625
525
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -630,12 +530,12 @@ const claude = {
|
|
|
630
530
|
path: _path + ".ginIndexes",
|
|
631
531
|
expected: "Array<AutoBePrisma.IGinIndex>",
|
|
632
532
|
value: input.ginIndexes
|
|
633
|
-
})) && input.ginIndexes.map((elem,
|
|
634
|
-
path: _path + ".ginIndexes[" +
|
|
533
|
+
})) && input.ginIndexes.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
534
|
+
path: _path + ".ginIndexes[" + _index14 + "]",
|
|
635
535
|
expected: "AutoBePrisma.IGinIndex",
|
|
636
536
|
value: elem
|
|
637
|
-
})) && _vo8(elem, _path + ".ginIndexes[" +
|
|
638
|
-
path: _path + ".ginIndexes[" +
|
|
537
|
+
})) && _vo8(elem, _path + ".ginIndexes[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
538
|
+
path: _path + ".ginIndexes[" + _index14 + "]",
|
|
639
539
|
expected: "AutoBePrisma.IGinIndex",
|
|
640
540
|
value: elem
|
|
641
541
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -644,11 +544,11 @@ const claude = {
|
|
|
644
544
|
value: input.ginIndexes
|
|
645
545
|
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (RegExp("^[a-z][a-z0-9_]*$").test(input.name) || _report(_exceptionable, {
|
|
646
546
|
path: _path + ".name",
|
|
647
|
-
expected: "string &
|
|
547
|
+
expected: "string & SnakePattern",
|
|
648
548
|
value: input.name
|
|
649
549
|
})) || _report(_exceptionable, {
|
|
650
550
|
path: _path + ".name",
|
|
651
|
-
expected: "(string &
|
|
551
|
+
expected: "(string & SnakePattern)",
|
|
652
552
|
value: input.name
|
|
653
553
|
}), "uuid" === input.type || _report(_exceptionable, {
|
|
654
554
|
path: _path + ".type",
|
|
@@ -660,11 +560,11 @@ const claude = {
|
|
|
660
560
|
value: input.description
|
|
661
561
|
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (RegExp("^[a-z][a-z0-9_]*$").test(input.name) || _report(_exceptionable, {
|
|
662
562
|
path: _path + ".name",
|
|
663
|
-
expected: "string &
|
|
563
|
+
expected: "string & SnakePattern",
|
|
664
564
|
value: input.name
|
|
665
565
|
})) || _report(_exceptionable, {
|
|
666
566
|
path: _path + ".name",
|
|
667
|
-
expected: "(string &
|
|
567
|
+
expected: "(string & SnakePattern)",
|
|
668
568
|
value: input.name
|
|
669
569
|
}), "uuid" === input.type || _report(_exceptionable, {
|
|
670
570
|
path: _path + ".type",
|
|
@@ -690,13 +590,13 @@ const claude = {
|
|
|
690
590
|
path: _path + ".nullable",
|
|
691
591
|
expected: "boolean",
|
|
692
592
|
value: input.nullable
|
|
693
|
-
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (RegExp("^[a-
|
|
593
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (RegExp("^[a-z][a-zA-Z0-9]*$").test(input.name) || _report(_exceptionable, {
|
|
694
594
|
path: _path + ".name",
|
|
695
|
-
expected: "string &
|
|
595
|
+
expected: "string & CamelPattern",
|
|
696
596
|
value: input.name
|
|
697
597
|
})) || _report(_exceptionable, {
|
|
698
598
|
path: _path + ".name",
|
|
699
|
-
expected: "(string &
|
|
599
|
+
expected: "(string & CamelPattern)",
|
|
700
600
|
value: input.name
|
|
701
601
|
}), "string" === typeof input.targetModel || _report(_exceptionable, {
|
|
702
602
|
path: _path + ".targetModel",
|
|
@@ -704,11 +604,11 @@ const claude = {
|
|
|
704
604
|
value: input.targetModel
|
|
705
605
|
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (RegExp("^[a-z][a-z0-9_]*$").test(input.name) || _report(_exceptionable, {
|
|
706
606
|
path: _path + ".name",
|
|
707
|
-
expected: "string &
|
|
607
|
+
expected: "string & SnakePattern",
|
|
708
608
|
value: input.name
|
|
709
609
|
})) || _report(_exceptionable, {
|
|
710
610
|
path: _path + ".name",
|
|
711
|
-
expected: "(string &
|
|
611
|
+
expected: "(string & SnakePattern)",
|
|
712
612
|
value: input.name
|
|
713
613
|
}), "string" === input.type || "boolean" === input.type || "uuid" === input.type || "uri" === input.type || "int" === input.type || "double" === input.type || "datetime" === input.type || _report(_exceptionable, {
|
|
714
614
|
path: _path + ".type",
|
|
@@ -734,8 +634,8 @@ const claude = {
|
|
|
734
634
|
path: _path + ".fieldNames",
|
|
735
635
|
expected: "Array<> & UniqueItems<true>",
|
|
736
636
|
value: input.fieldNames
|
|
737
|
-
})) && input.fieldNames.map((elem,
|
|
738
|
-
path: _path + ".fieldNames[" +
|
|
637
|
+
})) && input.fieldNames.map((elem, _index15) => "string" === typeof elem || _report(_exceptionable, {
|
|
638
|
+
path: _path + ".fieldNames[" + _index15 + "]",
|
|
739
639
|
expected: "string",
|
|
740
640
|
value: elem
|
|
741
641
|
})).every(flag => flag)) || _report(_exceptionable, {
|
|
@@ -758,8 +658,8 @@ const claude = {
|
|
|
758
658
|
path: _path + ".fieldNames",
|
|
759
659
|
expected: "Array<> & UniqueItems<true>",
|
|
760
660
|
value: input.fieldNames
|
|
761
|
-
})) && input.fieldNames.map((elem,
|
|
762
|
-
path: _path + ".fieldNames[" +
|
|
661
|
+
})) && input.fieldNames.map((elem, _index16) => "string" === typeof elem || _report(_exceptionable, {
|
|
662
|
+
path: _path + ".fieldNames[" + _index16 + "]",
|
|
763
663
|
expected: "string",
|
|
764
664
|
value: elem
|
|
765
665
|
})).every(flag => flag)) || _report(_exceptionable, {
|
|
@@ -776,11 +676,11 @@ const claude = {
|
|
|
776
676
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
777
677
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
778
678
|
path: _path + "",
|
|
779
|
-
expected: "
|
|
679
|
+
expected: "IAutoBePrismaReviewApplication.IProps",
|
|
780
680
|
value: input
|
|
781
681
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
782
682
|
path: _path + "",
|
|
783
|
-
expected: "
|
|
683
|
+
expected: "IAutoBePrismaReviewApplication.IProps",
|
|
784
684
|
value: input
|
|
785
685
|
}))(input, "$input", true);
|
|
786
686
|
const success = 0 === errors.length;
|
|
@@ -811,31 +711,21 @@ const collection = {
|
|
|
811
711
|
},
|
|
812
712
|
functions: [
|
|
813
713
|
{
|
|
814
|
-
name: "
|
|
714
|
+
name: "reviewSchemaFile",
|
|
815
715
|
parameters: {
|
|
816
|
-
description: "
|
|
716
|
+
description: "Current Type: {@link IAutoBePrismaReviewApplication.IProps}",
|
|
817
717
|
type: "object",
|
|
818
718
|
properties: {
|
|
819
|
-
|
|
820
|
-
description: "
|
|
821
|
-
type: "array",
|
|
822
|
-
items: {
|
|
823
|
-
type: "string"
|
|
824
|
-
}
|
|
825
|
-
},
|
|
826
|
-
validationReview: {
|
|
827
|
-
description: "STEP 2: Validation review of the first enumeration\n\nCompare `tablesToCreate` against `targetComponent.tables` and\n`otherComponents[].tables`. Write a review statement that validates:\n\n- All tables from `targetComponent.tables` are included\n- No tables from `otherComponents[].tables` are included\n- Additional tables (if any) are for M:N junction relationships or\n domain-specific needs\n- No forbidden tables from other domains are included\n\nExample: \"VALIDATION PASSED: All required tables from\n`targetComponent.tables` included: shopping_goods, shopping_goods_options.\nFORBIDDEN CHECK: No tables from `otherComponents` included\n(shopping_customers, shopping_sellers are correctly excluded). Additional\ntables: none needed for this domain.\"",
|
|
719
|
+
review: {
|
|
720
|
+
description: "Comprehensive review analysis of the proposed schema modifications.\n\nContains the AI agent's detailed evaluation of the schema changes,\nincluding validation of normalization compliance, relationship integrity,\nindex optimization, and business requirement alignment. The review\nidentifies potential issues and confirms adherence to best practices.\n\n**Review Dimensions:**\n\n- **Normalization Validation**: Confirms 3NF compliance and proper data\n structure\n- **Relationship Integrity**: Validates foreign key references and\n cardinality\n- **Performance Optimization**: Reviews indexing strategy and query\n patterns\n- **Business Logic Alignment**: Ensures schema supports all use cases\n- **Naming Conventions**: Verifies consistent naming patterns\n- **Data Type Consistency**: Confirms appropriate field types\n- **Temporal Field Handling**: Validates audit trail implementation\n\n**Example:**\n\n \"After reviewing the schema modifications:\n 1. All tables properly implement UUID primary keys\n 2. Foreign key relationships correctly reference existing models\n 3. Composite indexes optimize for common query patterns\n 4. Snapshot tables include proper temporal fields\n 5. Materialized views (mv_) contain appropriate denormalization\n The schema follows all best practices and is ready for implementation.\"",
|
|
828
721
|
type: "string"
|
|
829
722
|
},
|
|
830
|
-
|
|
831
|
-
description: "
|
|
832
|
-
type: "
|
|
833
|
-
items: {
|
|
834
|
-
type: "string"
|
|
835
|
-
}
|
|
723
|
+
plan: {
|
|
724
|
+
description: "Strategic database design plan that guided the schema creation.\n\nContains the original planning document that outlines the database\narchitecture strategy, including table structures, relationships,\nnormalization approach, and business requirement mapping. This plan\nserves as the blueprint for validating the implemented schema.\n\n**Planning Components:**\n\n- **Business Requirements**: Mapping of business needs to database\n structures\n- **Table Design**: Entity definitions and attribute specifications\n- **Relationship Strategy**: Cardinality and referential integrity planning\n- **Normalization Approach**: Application of 1NF, 2NF, 3NF principles\n- **Performance Considerations**: Index strategy and query optimization\n- **Snapshot Architecture**: Temporal data handling and audit requirements\n- **Materialized Views**: Denormalization strategy for performance\n\n**Example:**\n\n \"Database Design Strategy:\n Component: Sales Domain\n Tables: shopping_sales, shopping_sale_snapshots, shopping_sale_units\n\n Design Approach:\n - Normalize product catalog to 3NF for data integrity\n - Implement snapshot pattern for price history tracking\n - Create composite indexes for product search queries\n - Use materialized views for sales analytics dashboards\"",
|
|
725
|
+
type: "string"
|
|
836
726
|
},
|
|
837
|
-
|
|
838
|
-
description: "
|
|
727
|
+
modifications: {
|
|
728
|
+
description: "Array of Prisma models that have been modified based on review feedback.\n\nContains ONLY the models that required changes, not the entire schema.\nEach model represents a complete table definition with all fields,\nrelationships, indexes, and documentation. These modifications will be\napplied to the models to produce the final implementation.\n\n**Model Requirements:**\n\n- **Complete Models**: Each entry must be a complete model definition\n- **Targeted Changes**: Only includes models that need modifications\n- **AST Compliance**: Follows AutoBePrisma.IModel interface structure\n- **Relationship Integrity**: All foreign keys reference valid models\n- **Index Optimization**: Strategic indexes without redundancy\n- **Documentation**: Comprehensive English descriptions\n\n**Notes:**\n\n- Models not included in this array remain unchanged from the models\n- The final schema merges these modifications with the original models\n- All modifications must resolve issues identified in the review",
|
|
839
729
|
type: "array",
|
|
840
730
|
items: {
|
|
841
731
|
$ref: "#/$defs/AutoBePrisma.IModel"
|
|
@@ -843,10 +733,9 @@ const collection = {
|
|
|
843
733
|
}
|
|
844
734
|
},
|
|
845
735
|
required: [
|
|
846
|
-
"
|
|
847
|
-
"
|
|
848
|
-
"
|
|
849
|
-
"models"
|
|
736
|
+
"review",
|
|
737
|
+
"plan",
|
|
738
|
+
"modifications"
|
|
850
739
|
],
|
|
851
740
|
additionalProperties: false,
|
|
852
741
|
$defs: {
|
|
@@ -855,11 +744,11 @@ const collection = {
|
|
|
855
744
|
type: "object",
|
|
856
745
|
properties: {
|
|
857
746
|
name: {
|
|
858
|
-
description: "Name of the Prisma model (database table name).\n\
|
|
747
|
+
description: "Name of the Prisma model (database table name).\n\nMUST use snake_case naming convention. Examples: \"shopping_customers\",\n\"shopping_sale_snapshots\", \"bbs_articles\" Materialized views use \"mv_\"\nprefix: \"mv_shopping_sale_last_snapshots\"\n\n\n@pattern ^[a-z][a-z0-9_]*$",
|
|
859
748
|
type: "string"
|
|
860
749
|
},
|
|
861
750
|
description: {
|
|
862
|
-
description: "Detailed description explaining the business purpose and usage of the\nmodel.\n\nShould include:\n\n- Business context and purpose\n- Key relationships with other models\n- Important behavioral notes or constraints\n- References to related entities using \"{@\\link ModelName}\" syntax Example
|
|
751
|
+
description: "Detailed description explaining the business purpose and usage of the\nmodel.\n\nShould include:\n\n- Business context and purpose\n- Key relationships with other models\n- Important behavioral notes or constraints\n- References to related entities using \"{@\\link ModelName}\" syntax\n\n**IMPORTANT**: Description must be written in English. Example: \"Customer\ninformation, but not a person but a **connection** basis...\"",
|
|
863
752
|
type: "string"
|
|
864
753
|
},
|
|
865
754
|
material: {
|
|
@@ -922,7 +811,7 @@ const collection = {
|
|
|
922
811
|
type: "object",
|
|
923
812
|
properties: {
|
|
924
813
|
name: {
|
|
925
|
-
description: "Name of the primary key field.\n\
|
|
814
|
+
description: "Name of the primary key field.\n\nMUST use snake_case naming convention. Consistently named \"id\" across all\nmodels in the uploaded schemas. Represents the unique identifier for each\nrecord in the table.\n\n\n@pattern ^[a-z][a-z0-9_]*$",
|
|
926
815
|
type: "string"
|
|
927
816
|
},
|
|
928
817
|
type: {
|
|
@@ -933,7 +822,7 @@ const collection = {
|
|
|
933
822
|
]
|
|
934
823
|
},
|
|
935
824
|
description: {
|
|
936
|
-
description: "Description of the primary key field's purpose.\n\nStandard description is \"Primary Key.\" across all models. Serves as the\nunique identifier for the model instance.",
|
|
825
|
+
description: "Description of the primary key field's purpose.\n\nStandard description is \"Primary Key.\" across all models. Serves as the\nunique identifier for the model instance.\n\n**IMPORTANT**: Description must be written in English.",
|
|
937
826
|
type: "string"
|
|
938
827
|
}
|
|
939
828
|
},
|
|
@@ -948,7 +837,7 @@ const collection = {
|
|
|
948
837
|
type: "object",
|
|
949
838
|
properties: {
|
|
950
839
|
name: {
|
|
951
|
-
description: "Name of the foreign key field.\n\
|
|
840
|
+
description: "Name of the foreign key field.\n\nMUST use snake_case naming convention. Follows convention:\n\"{target_model_name_without_prefix}_id\" Examples: \"shopping_customer_id\",\n\"bbs_article_id\", \"attachment_file_id\" For self-references: \"parent_id\"\n(e.g., in hierarchical structures)\n\n\n@pattern ^[a-z][a-z0-9_]*$",
|
|
952
841
|
type: "string"
|
|
953
842
|
},
|
|
954
843
|
type: {
|
|
@@ -959,7 +848,7 @@ const collection = {
|
|
|
959
848
|
]
|
|
960
849
|
},
|
|
961
850
|
description: {
|
|
962
|
-
description: "Description explaining the purpose and target of this foreign key\nrelationship.\n\nShould reference the target model using format: \"Target model's {@\\link\nModelName.id}\" Examples: \"Belonged customer's {@\\link\nshopping_customers.id}\" May include additional context about the\nrelationship's business meaning.",
|
|
851
|
+
description: "Description explaining the purpose and target of this foreign key\nrelationship.\n\nShould reference the target model using format: \"Target model's {@\\link\nModelName.id}\" Examples: \"Belonged customer's {@\\link\nshopping_customers.id}\" May include additional context about the\nrelationship's business meaning.\n\n**IMPORTANT**: Description must be written in English.",
|
|
963
852
|
type: "string"
|
|
964
853
|
},
|
|
965
854
|
relation: {
|
|
@@ -988,7 +877,7 @@ const collection = {
|
|
|
988
877
|
type: "object",
|
|
989
878
|
properties: {
|
|
990
879
|
name: {
|
|
991
|
-
description: "Name of the relation property in the Prisma model.\n\nThis becomes the property name used to access the related model instance\nthrough the Prisma client. Should be descriptive and reflect the business\nrelationship being modeled.\n\nExamples:\n\n- \"customer\" for shopping_customer_id field\n- \"channel\" for shopping_channel_id field\n- \"parent\" for parent_id field in hierarchical structures\n- \"snapshot\" for versioning relationships\n- \"article\" for bbs_article_id field\n\nNaming convention: camelCase, descriptive of the relationship's business\nmeaning\n\n\n@pattern ^[a-
|
|
880
|
+
description: "Name of the relation property in the Prisma model.\n\nThis becomes the property name used to access the related model instance\nthrough the Prisma client. Should be descriptive and reflect the business\nrelationship being modeled.\n\nExamples:\n\n- \"customer\" for shopping_customer_id field\n- \"channel\" for shopping_channel_id field\n- \"parent\" for parent_id field in hierarchical structures\n- \"snapshot\" for versioning relationships\n- \"article\" for bbs_article_id field\n\nNaming convention: camelCase, descriptive of the relationship's business\nmeaning\n\n\n@pattern ^[a-z][a-zA-Z0-9]*$",
|
|
992
881
|
type: "string"
|
|
993
882
|
},
|
|
994
883
|
targetModel: {
|
|
@@ -1006,7 +895,7 @@ const collection = {
|
|
|
1006
895
|
type: "object",
|
|
1007
896
|
properties: {
|
|
1008
897
|
name: {
|
|
1009
|
-
description: "Name of the field in the database table.\n\
|
|
898
|
+
description: "Name of the field in the database table.\n\nMUST use snake_case naming convention. Common patterns from uploaded\nschemas:\n\n- Timestamps: created_at, updated_at, deleted_at, opened_at, closed_at\n- Identifiers: code, name, nickname, title\n- Business data: value, quantity, price, volume, balance\n- Flags: primary, required, exclusive, secret, multiplicative\n\n\n@pattern ^[a-z][a-z0-9_]*$",
|
|
1010
899
|
type: "string"
|
|
1011
900
|
},
|
|
1012
901
|
type: {
|
|
@@ -1023,7 +912,7 @@ const collection = {
|
|
|
1023
912
|
]
|
|
1024
913
|
},
|
|
1025
914
|
description: {
|
|
1026
|
-
description: "Description explaining the business purpose and usage of this field.\n\nShould clearly explain:\n\n- What business concept this field represents\n- Valid values or constraints if applicable\n- How it relates to business processes\n- Any special behavioral notes Example: \"Amount
|
|
915
|
+
description: "Description explaining the business purpose and usage of this field.\n\nShould clearly explain:\n\n- What business concept this field represents\n- Valid values or constraints if applicable\n- How it relates to business processes\n- Any special behavioral notes\n\n**IMPORTANT**: Description must be written in English. Example: \"Amount\nof cash payment.\" or \"Whether the unit is required or not.\"",
|
|
1027
916
|
type: "string"
|
|
1028
917
|
},
|
|
1029
918
|
nullable: {
|
|
@@ -1093,58 +982,38 @@ const collection = {
|
|
|
1093
982
|
}
|
|
1094
983
|
}
|
|
1095
984
|
},
|
|
1096
|
-
description: "
|
|
1097
|
-
validate: (() => { const _io0 = input =>
|
|
1098
|
-
path: _path + ".
|
|
1099
|
-
expected: "Array<string>",
|
|
1100
|
-
value: input.tablesToCreate
|
|
1101
|
-
})) && input.tablesToCreate.map((elem, _index11) => "string" === typeof elem || _report(_exceptionable, {
|
|
1102
|
-
path: _path + ".tablesToCreate[" + _index11 + "]",
|
|
985
|
+
description: "Reviews and validates Prisma schema modifications to ensure compliance with\ndatabase design best practices and business requirements.\n\nPerforms comprehensive validation of proposed schema changes including\nnormalization compliance, relationship integrity, performance optimization,\nand business logic alignment. The review process ensures all modifications\nmaintain data consistency and follow enterprise-level database standards.",
|
|
986
|
+
validate: (() => { const _io0 = input => "string" === typeof input.review && "string" === typeof input.plan && (Array.isArray(input.modifications) && input.modifications.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "string" === typeof input.name && RegExp("^[a-z][a-z0-9_]*$").test(input.name) && "string" === typeof input.description && "boolean" === typeof input.material && ("object" === typeof input.primaryField && null !== input.primaryField && _io2(input.primaryField)) && (Array.isArray(input.foreignFields) && input.foreignFields.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (Array.isArray(input.plainFields) && input.plainFields.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (Array.isArray(input.uniqueIndexes) && input.uniqueIndexes.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (Array.isArray(input.plainIndexes) && input.plainIndexes.every(elem => "object" === typeof elem && null !== elem && _io7(elem))) && (Array.isArray(input.ginIndexes) && input.ginIndexes.every(elem => "object" === typeof elem && null !== elem && _io8(elem))); const _io2 = input => "string" === typeof input.name && RegExp("^[a-z][a-z0-9_]*$").test(input.name) && "uuid" === input.type && "string" === typeof input.description; const _io3 = input => "string" === typeof input.name && RegExp("^[a-z][a-z0-9_]*$").test(input.name) && "uuid" === input.type && "string" === typeof input.description && ("object" === typeof input.relation && null !== input.relation && _io4(input.relation)) && "boolean" === typeof input.unique && "boolean" === typeof input.nullable; const _io4 = input => "string" === typeof input.name && RegExp("^[a-z][a-zA-Z0-9]*$").test(input.name) && "string" === typeof input.targetModel; const _io5 = input => "string" === typeof input.name && RegExp("^[a-z][a-z0-9_]*$").test(input.name) && ("string" === input.type || "boolean" === input.type || "uuid" === input.type || "uri" === input.type || "int" === input.type || "double" === input.type || "datetime" === input.type) && "string" === typeof input.description && "boolean" === typeof input.nullable; const _io6 = input => Array.isArray(input.fieldNames) && (1 <= input.fieldNames.length && __typia_transform__isUniqueItems._isUniqueItems(input.fieldNames) && input.fieldNames.every(elem => "string" === typeof elem)) && true === input.unique; const _io7 = input => Array.isArray(input.fieldNames) && (1 <= input.fieldNames.length && __typia_transform__isUniqueItems._isUniqueItems(input.fieldNames) && input.fieldNames.every(elem => "string" === typeof elem)); const _io8 = input => "string" === typeof input.fieldName; const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.review || _report(_exceptionable, {
|
|
987
|
+
path: _path + ".review",
|
|
1103
988
|
expected: "string",
|
|
1104
|
-
value:
|
|
1105
|
-
})
|
|
1106
|
-
path: _path + ".
|
|
1107
|
-
expected: "Array<string>",
|
|
1108
|
-
value: input.tablesToCreate
|
|
1109
|
-
}), "string" === typeof input.validationReview || _report(_exceptionable, {
|
|
1110
|
-
path: _path + ".validationReview",
|
|
1111
|
-
expected: "string",
|
|
1112
|
-
value: input.validationReview
|
|
1113
|
-
}), (Array.isArray(input.confirmedTables) || _report(_exceptionable, {
|
|
1114
|
-
path: _path + ".confirmedTables",
|
|
1115
|
-
expected: "Array<string>",
|
|
1116
|
-
value: input.confirmedTables
|
|
1117
|
-
})) && input.confirmedTables.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
|
|
1118
|
-
path: _path + ".confirmedTables[" + _index12 + "]",
|
|
989
|
+
value: input.review
|
|
990
|
+
}), "string" === typeof input.plan || _report(_exceptionable, {
|
|
991
|
+
path: _path + ".plan",
|
|
1119
992
|
expected: "string",
|
|
1120
|
-
value:
|
|
1121
|
-
})
|
|
1122
|
-
path: _path + ".
|
|
1123
|
-
expected: "Array<string>",
|
|
1124
|
-
value: input.confirmedTables
|
|
1125
|
-
}), (Array.isArray(input.models) || _report(_exceptionable, {
|
|
1126
|
-
path: _path + ".models",
|
|
993
|
+
value: input.plan
|
|
994
|
+
}), (Array.isArray(input.modifications) || _report(_exceptionable, {
|
|
995
|
+
path: _path + ".modifications",
|
|
1127
996
|
expected: "Array<AutoBePrisma.IModel>",
|
|
1128
|
-
value: input.
|
|
1129
|
-
})) && input.
|
|
1130
|
-
path: _path + ".
|
|
997
|
+
value: input.modifications
|
|
998
|
+
})) && input.modifications.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
999
|
+
path: _path + ".modifications[" + _index9 + "]",
|
|
1131
1000
|
expected: "AutoBePrisma.IModel",
|
|
1132
1001
|
value: elem
|
|
1133
|
-
})) && _vo1(elem, _path + ".
|
|
1134
|
-
path: _path + ".
|
|
1002
|
+
})) && _vo1(elem, _path + ".modifications[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1003
|
+
path: _path + ".modifications[" + _index9 + "]",
|
|
1135
1004
|
expected: "AutoBePrisma.IModel",
|
|
1136
1005
|
value: elem
|
|
1137
1006
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
1138
|
-
path: _path + ".
|
|
1007
|
+
path: _path + ".modifications",
|
|
1139
1008
|
expected: "Array<AutoBePrisma.IModel>",
|
|
1140
|
-
value: input.
|
|
1009
|
+
value: input.modifications
|
|
1141
1010
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (RegExp("^[a-z][a-z0-9_]*$").test(input.name) || _report(_exceptionable, {
|
|
1142
1011
|
path: _path + ".name",
|
|
1143
|
-
expected: "string &
|
|
1012
|
+
expected: "string & SnakePattern",
|
|
1144
1013
|
value: input.name
|
|
1145
1014
|
})) || _report(_exceptionable, {
|
|
1146
1015
|
path: _path + ".name",
|
|
1147
|
-
expected: "(string &
|
|
1016
|
+
expected: "(string & SnakePattern)",
|
|
1148
1017
|
value: input.name
|
|
1149
1018
|
}), "string" === typeof input.description || _report(_exceptionable, {
|
|
1150
1019
|
path: _path + ".description",
|
|
@@ -1166,12 +1035,12 @@ const collection = {
|
|
|
1166
1035
|
path: _path + ".foreignFields",
|
|
1167
1036
|
expected: "Array<AutoBePrisma.IForeignField>",
|
|
1168
1037
|
value: input.foreignFields
|
|
1169
|
-
})) && input.foreignFields.map((elem,
|
|
1170
|
-
path: _path + ".foreignFields[" +
|
|
1038
|
+
})) && input.foreignFields.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1039
|
+
path: _path + ".foreignFields[" + _index10 + "]",
|
|
1171
1040
|
expected: "AutoBePrisma.IForeignField",
|
|
1172
1041
|
value: elem
|
|
1173
|
-
})) && _vo3(elem, _path + ".foreignFields[" +
|
|
1174
|
-
path: _path + ".foreignFields[" +
|
|
1042
|
+
})) && _vo3(elem, _path + ".foreignFields[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1043
|
+
path: _path + ".foreignFields[" + _index10 + "]",
|
|
1175
1044
|
expected: "AutoBePrisma.IForeignField",
|
|
1176
1045
|
value: elem
|
|
1177
1046
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1182,12 +1051,12 @@ const collection = {
|
|
|
1182
1051
|
path: _path + ".plainFields",
|
|
1183
1052
|
expected: "Array<AutoBePrisma.IPlainField>",
|
|
1184
1053
|
value: input.plainFields
|
|
1185
|
-
})) && input.plainFields.map((elem,
|
|
1186
|
-
path: _path + ".plainFields[" +
|
|
1054
|
+
})) && input.plainFields.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1055
|
+
path: _path + ".plainFields[" + _index11 + "]",
|
|
1187
1056
|
expected: "AutoBePrisma.IPlainField",
|
|
1188
1057
|
value: elem
|
|
1189
|
-
})) && _vo5(elem, _path + ".plainFields[" +
|
|
1190
|
-
path: _path + ".plainFields[" +
|
|
1058
|
+
})) && _vo5(elem, _path + ".plainFields[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1059
|
+
path: _path + ".plainFields[" + _index11 + "]",
|
|
1191
1060
|
expected: "AutoBePrisma.IPlainField",
|
|
1192
1061
|
value: elem
|
|
1193
1062
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1198,12 +1067,12 @@ const collection = {
|
|
|
1198
1067
|
path: _path + ".uniqueIndexes",
|
|
1199
1068
|
expected: "Array<AutoBePrisma.IUniqueIndex>",
|
|
1200
1069
|
value: input.uniqueIndexes
|
|
1201
|
-
})) && input.uniqueIndexes.map((elem,
|
|
1202
|
-
path: _path + ".uniqueIndexes[" +
|
|
1070
|
+
})) && input.uniqueIndexes.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1071
|
+
path: _path + ".uniqueIndexes[" + _index12 + "]",
|
|
1203
1072
|
expected: "AutoBePrisma.IUniqueIndex",
|
|
1204
1073
|
value: elem
|
|
1205
|
-
})) && _vo6(elem, _path + ".uniqueIndexes[" +
|
|
1206
|
-
path: _path + ".uniqueIndexes[" +
|
|
1074
|
+
})) && _vo6(elem, _path + ".uniqueIndexes[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1075
|
+
path: _path + ".uniqueIndexes[" + _index12 + "]",
|
|
1207
1076
|
expected: "AutoBePrisma.IUniqueIndex",
|
|
1208
1077
|
value: elem
|
|
1209
1078
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1214,12 +1083,12 @@ const collection = {
|
|
|
1214
1083
|
path: _path + ".plainIndexes",
|
|
1215
1084
|
expected: "Array<AutoBePrisma.IPlainIndex>",
|
|
1216
1085
|
value: input.plainIndexes
|
|
1217
|
-
})) && input.plainIndexes.map((elem,
|
|
1218
|
-
path: _path + ".plainIndexes[" +
|
|
1086
|
+
})) && input.plainIndexes.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1087
|
+
path: _path + ".plainIndexes[" + _index13 + "]",
|
|
1219
1088
|
expected: "AutoBePrisma.IPlainIndex",
|
|
1220
1089
|
value: elem
|
|
1221
|
-
})) && _vo7(elem, _path + ".plainIndexes[" +
|
|
1222
|
-
path: _path + ".plainIndexes[" +
|
|
1090
|
+
})) && _vo7(elem, _path + ".plainIndexes[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1091
|
+
path: _path + ".plainIndexes[" + _index13 + "]",
|
|
1223
1092
|
expected: "AutoBePrisma.IPlainIndex",
|
|
1224
1093
|
value: elem
|
|
1225
1094
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1230,12 +1099,12 @@ const collection = {
|
|
|
1230
1099
|
path: _path + ".ginIndexes",
|
|
1231
1100
|
expected: "Array<AutoBePrisma.IGinIndex>",
|
|
1232
1101
|
value: input.ginIndexes
|
|
1233
|
-
})) && input.ginIndexes.map((elem,
|
|
1234
|
-
path: _path + ".ginIndexes[" +
|
|
1102
|
+
})) && input.ginIndexes.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1103
|
+
path: _path + ".ginIndexes[" + _index14 + "]",
|
|
1235
1104
|
expected: "AutoBePrisma.IGinIndex",
|
|
1236
1105
|
value: elem
|
|
1237
|
-
})) && _vo8(elem, _path + ".ginIndexes[" +
|
|
1238
|
-
path: _path + ".ginIndexes[" +
|
|
1106
|
+
})) && _vo8(elem, _path + ".ginIndexes[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1107
|
+
path: _path + ".ginIndexes[" + _index14 + "]",
|
|
1239
1108
|
expected: "AutoBePrisma.IGinIndex",
|
|
1240
1109
|
value: elem
|
|
1241
1110
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1244,11 +1113,11 @@ const collection = {
|
|
|
1244
1113
|
value: input.ginIndexes
|
|
1245
1114
|
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (RegExp("^[a-z][a-z0-9_]*$").test(input.name) || _report(_exceptionable, {
|
|
1246
1115
|
path: _path + ".name",
|
|
1247
|
-
expected: "string &
|
|
1116
|
+
expected: "string & SnakePattern",
|
|
1248
1117
|
value: input.name
|
|
1249
1118
|
})) || _report(_exceptionable, {
|
|
1250
1119
|
path: _path + ".name",
|
|
1251
|
-
expected: "(string &
|
|
1120
|
+
expected: "(string & SnakePattern)",
|
|
1252
1121
|
value: input.name
|
|
1253
1122
|
}), "uuid" === input.type || _report(_exceptionable, {
|
|
1254
1123
|
path: _path + ".type",
|
|
@@ -1260,11 +1129,11 @@ const collection = {
|
|
|
1260
1129
|
value: input.description
|
|
1261
1130
|
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (RegExp("^[a-z][a-z0-9_]*$").test(input.name) || _report(_exceptionable, {
|
|
1262
1131
|
path: _path + ".name",
|
|
1263
|
-
expected: "string &
|
|
1132
|
+
expected: "string & SnakePattern",
|
|
1264
1133
|
value: input.name
|
|
1265
1134
|
})) || _report(_exceptionable, {
|
|
1266
1135
|
path: _path + ".name",
|
|
1267
|
-
expected: "(string &
|
|
1136
|
+
expected: "(string & SnakePattern)",
|
|
1268
1137
|
value: input.name
|
|
1269
1138
|
}), "uuid" === input.type || _report(_exceptionable, {
|
|
1270
1139
|
path: _path + ".type",
|
|
@@ -1290,13 +1159,13 @@ const collection = {
|
|
|
1290
1159
|
path: _path + ".nullable",
|
|
1291
1160
|
expected: "boolean",
|
|
1292
1161
|
value: input.nullable
|
|
1293
|
-
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (RegExp("^[a-
|
|
1162
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (RegExp("^[a-z][a-zA-Z0-9]*$").test(input.name) || _report(_exceptionable, {
|
|
1294
1163
|
path: _path + ".name",
|
|
1295
|
-
expected: "string &
|
|
1164
|
+
expected: "string & CamelPattern",
|
|
1296
1165
|
value: input.name
|
|
1297
1166
|
})) || _report(_exceptionable, {
|
|
1298
1167
|
path: _path + ".name",
|
|
1299
|
-
expected: "(string &
|
|
1168
|
+
expected: "(string & CamelPattern)",
|
|
1300
1169
|
value: input.name
|
|
1301
1170
|
}), "string" === typeof input.targetModel || _report(_exceptionable, {
|
|
1302
1171
|
path: _path + ".targetModel",
|
|
@@ -1304,11 +1173,11 @@ const collection = {
|
|
|
1304
1173
|
value: input.targetModel
|
|
1305
1174
|
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (RegExp("^[a-z][a-z0-9_]*$").test(input.name) || _report(_exceptionable, {
|
|
1306
1175
|
path: _path + ".name",
|
|
1307
|
-
expected: "string &
|
|
1176
|
+
expected: "string & SnakePattern",
|
|
1308
1177
|
value: input.name
|
|
1309
1178
|
})) || _report(_exceptionable, {
|
|
1310
1179
|
path: _path + ".name",
|
|
1311
|
-
expected: "(string &
|
|
1180
|
+
expected: "(string & SnakePattern)",
|
|
1312
1181
|
value: input.name
|
|
1313
1182
|
}), "string" === input.type || "boolean" === input.type || "uuid" === input.type || "uri" === input.type || "int" === input.type || "double" === input.type || "datetime" === input.type || _report(_exceptionable, {
|
|
1314
1183
|
path: _path + ".type",
|
|
@@ -1334,8 +1203,8 @@ const collection = {
|
|
|
1334
1203
|
path: _path + ".fieldNames",
|
|
1335
1204
|
expected: "Array<> & UniqueItems<true>",
|
|
1336
1205
|
value: input.fieldNames
|
|
1337
|
-
})) && input.fieldNames.map((elem,
|
|
1338
|
-
path: _path + ".fieldNames[" +
|
|
1206
|
+
})) && input.fieldNames.map((elem, _index15) => "string" === typeof elem || _report(_exceptionable, {
|
|
1207
|
+
path: _path + ".fieldNames[" + _index15 + "]",
|
|
1339
1208
|
expected: "string",
|
|
1340
1209
|
value: elem
|
|
1341
1210
|
})).every(flag => flag)) || _report(_exceptionable, {
|
|
@@ -1358,8 +1227,8 @@ const collection = {
|
|
|
1358
1227
|
path: _path + ".fieldNames",
|
|
1359
1228
|
expected: "Array<> & UniqueItems<true>",
|
|
1360
1229
|
value: input.fieldNames
|
|
1361
|
-
})) && input.fieldNames.map((elem,
|
|
1362
|
-
path: _path + ".fieldNames[" +
|
|
1230
|
+
})) && input.fieldNames.map((elem, _index16) => "string" === typeof elem || _report(_exceptionable, {
|
|
1231
|
+
path: _path + ".fieldNames[" + _index16 + "]",
|
|
1363
1232
|
expected: "string",
|
|
1364
1233
|
value: elem
|
|
1365
1234
|
})).every(flag => flag)) || _report(_exceptionable, {
|
|
@@ -1376,11 +1245,11 @@ const collection = {
|
|
|
1376
1245
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
1377
1246
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
1378
1247
|
path: _path + "",
|
|
1379
|
-
expected: "
|
|
1248
|
+
expected: "IAutoBePrismaReviewApplication.IProps",
|
|
1380
1249
|
value: input
|
|
1381
1250
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
1382
1251
|
path: _path + "",
|
|
1383
|
-
expected: "
|
|
1252
|
+
expected: "IAutoBePrismaReviewApplication.IProps",
|
|
1384
1253
|
value: input
|
|
1385
1254
|
}))(input, "$input", true);
|
|
1386
1255
|
const success = 0 === errors.length;
|
|
@@ -1406,4 +1275,4 @@ const collection = {
|
|
|
1406
1275
|
deepseek: claude,
|
|
1407
1276
|
"3.1": claude,
|
|
1408
1277
|
};
|
|
1409
|
-
//# sourceMappingURL=
|
|
1278
|
+
//# sourceMappingURL=orchestratePrismaReview.js.map
|