@decaf-ts/integrations 0.7.0 → 0.9.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/README.md +4 -0
- package/dist/integrations.cjs +1 -1
- package/jest.config.cjs +1 -11
- package/lib/cjs/blob/azure/AzureBlobEnvironment.cjs +25 -0
- package/lib/cjs/blob/azure/AzureBlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/azure/AzureBlobStoreService.cjs +52 -10
- package/lib/cjs/blob/azure/AzureBlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/azure/index.cjs +1 -0
- package/lib/cjs/blob/azure/index.cjs.map +1 -1
- package/lib/cjs/blob/core/BlobEnvironment.cjs +19 -0
- package/lib/cjs/blob/core/BlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/core/BlobStoreService.cjs +6 -3
- package/lib/cjs/blob/core/BlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/core/index.cjs +1 -0
- package/lib/cjs/blob/core/index.cjs.map +1 -1
- package/lib/cjs/blob/gcp/GcsBlobEnvironment.cjs +26 -0
- package/lib/cjs/blob/gcp/GcsBlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs +31 -2
- package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/gcp/index.cjs +1 -0
- package/lib/cjs/blob/gcp/index.cjs.map +1 -1
- package/lib/cjs/blob/ipfs/IpfsBlobEnvironment.cjs +30 -0
- package/lib/cjs/blob/ipfs/IpfsBlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs +37 -2
- package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/ipfs/index.cjs +1 -0
- package/lib/cjs/blob/ipfs/index.cjs.map +1 -1
- package/lib/cjs/blob/local/LocalBlobEnvironment.cjs +22 -0
- package/lib/cjs/blob/local/LocalBlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/local/LocalBlobStoreService.cjs +29 -2
- package/lib/cjs/blob/local/LocalBlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/local/index.cjs +1 -0
- package/lib/cjs/blob/local/index.cjs.map +1 -1
- package/lib/cjs/blob/memory/MemoryBlobEnvironment.cjs +21 -0
- package/lib/cjs/blob/memory/MemoryBlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs +28 -2
- package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/memory/index.cjs +1 -0
- package/lib/cjs/blob/memory/index.cjs.map +1 -1
- package/lib/cjs/blob/s3/MinioBlobEnvironment.cjs +32 -0
- package/lib/cjs/blob/s3/MinioBlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/s3/MinioBlobStoreService.cjs +45 -4
- package/lib/cjs/blob/s3/MinioBlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/s3/R2BlobEnvironment.cjs +32 -0
- package/lib/cjs/blob/s3/R2BlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/s3/R2BlobStoreService.cjs +45 -4
- package/lib/cjs/blob/s3/R2BlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/s3/S3BlobEnvironment.cjs +32 -0
- package/lib/cjs/blob/s3/S3BlobEnvironment.cjs.map +1 -0
- package/lib/cjs/blob/s3/S3BlobStoreService.cjs +43 -310
- package/lib/cjs/blob/s3/S3BlobStoreService.cjs.map +1 -1
- package/lib/cjs/blob/s3/S3CompatibleBlobStoreService.cjs +327 -0
- package/lib/cjs/blob/s3/S3CompatibleBlobStoreService.cjs.map +1 -0
- package/lib/cjs/blob/s3/index.cjs +4 -0
- package/lib/cjs/blob/s3/index.cjs.map +1 -1
- package/lib/cjs/graph/engine/catalog/GraphBuiltInRegistrations.cjs +100 -0
- package/lib/cjs/graph/engine/catalog/GraphBuiltInRegistrations.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/GraphCatalogueErrors.cjs +29 -0
- package/lib/cjs/graph/engine/catalog/GraphCatalogueErrors.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeCatalogue.cjs +270 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeCatalogue.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeManifestResolver.cjs +169 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeManifestResolver.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeMethodRegistry.cjs +64 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeMethodRegistry.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeRegistration.cjs +17 -0
- package/lib/cjs/graph/engine/catalog/GraphNodeRegistration.cjs.map +1 -0
- package/lib/cjs/graph/engine/catalog/index.cjs +24 -0
- package/lib/cjs/graph/engine/catalog/index.cjs.map +1 -0
- package/lib/cjs/graph/engine/constants.cjs +2 -2
- package/lib/cjs/graph/engine/errors/GraphExecutionError.cjs +1 -0
- package/lib/cjs/graph/engine/errors/GraphExecutionError.cjs.map +1 -1
- package/lib/cjs/graph/engine/errors/GraphRunCancelledError.cjs +18 -0
- package/lib/cjs/graph/engine/errors/GraphRunCancelledError.cjs.map +1 -0
- package/lib/cjs/graph/engine/errors/index.cjs +1 -0
- package/lib/cjs/graph/engine/errors/index.cjs.map +1 -1
- package/lib/cjs/graph/engine/events/index.cjs +0 -1
- package/lib/cjs/graph/engine/events/index.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/BreakGraphNodeExecutor.cjs +2 -2
- package/lib/cjs/graph/engine/execution/BreakGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/CodeGraphNodeExecutor.cjs +10 -6
- package/lib/cjs/graph/engine/execution/CodeGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs +30 -18
- package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs +354 -73
- package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/GraphExecutionResult.cjs +3 -3
- package/lib/cjs/graph/engine/execution/GraphExecutionResult.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/LogGraphNodeExecutor.cjs +9 -6
- package/lib/cjs/graph/engine/execution/LogGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/execution/SwitchGraphNodeExecutor.cjs +11 -10
- package/lib/cjs/graph/engine/execution/SwitchGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/index.cjs +8 -11
- package/lib/cjs/graph/engine/index.cjs.map +1 -1
- package/lib/cjs/graph/engine/loops/ForeachGraphNodeExecutor.cjs +37 -12
- package/lib/cjs/graph/engine/loops/ForeachGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/loops/UntilGraphNodeExecutor.cjs +38 -13
- package/lib/cjs/graph/engine/loops/UntilGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/loops/WhileGraphNodeExecutor.cjs +38 -13
- package/lib/cjs/graph/engine/loops/WhileGraphNodeExecutor.cjs.map +1 -1
- package/lib/cjs/graph/engine/pinning/GraphPinningPolicy.cjs +2 -2
- package/lib/cjs/graph/engine/pinning/GraphPinningPolicy.cjs.map +1 -1
- package/lib/cjs/graph/engine/pinning/GraphPinningService.cjs +43 -14
- package/lib/cjs/graph/engine/pinning/GraphPinningService.cjs.map +1 -1
- package/lib/cjs/graph/engine/planning/GraphExecutionPlanEdge.cjs.map +1 -1
- package/lib/cjs/graph/engine/planning/GraphExecutionPlanner.cjs +79 -88
- package/lib/cjs/graph/engine/planning/GraphExecutionPlanner.cjs.map +1 -1
- package/lib/cjs/graph/engine/planning/index.cjs +0 -1
- package/lib/cjs/graph/engine/planning/index.cjs.map +1 -1
- package/lib/cjs/graph/engine/registry/GraphNodeExecutorRegistry.cjs +28 -15
- package/lib/cjs/graph/engine/registry/GraphNodeExecutorRegistry.cjs.map +1 -1
- package/lib/cjs/graph/engine/runs/GraphRunEventPublisher.cjs +69 -0
- package/lib/cjs/graph/engine/runs/GraphRunEventPublisher.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/GraphRunExecutor.cjs +291 -0
- package/lib/cjs/graph/engine/runs/GraphRunExecutor.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/GraphRunFingerprint.cjs +29 -0
- package/lib/cjs/graph/engine/runs/GraphRunFingerprint.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/GraphRunService.cjs +259 -0
- package/lib/cjs/graph/engine/runs/GraphRunService.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/InMemoryGraphRunEventStore.cjs +69 -0
- package/lib/cjs/graph/engine/runs/InMemoryGraphRunEventStore.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/InMemoryGraphRunStore.cjs +26 -0
- package/lib/cjs/graph/engine/runs/InMemoryGraphRunStore.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/index.cjs +26 -0
- package/lib/cjs/graph/engine/runs/index.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/ownership.cjs +34 -0
- package/lib/cjs/graph/engine/runs/ownership.cjs.map +1 -0
- package/lib/cjs/graph/engine/runs/types.cjs.map +1 -0
- package/lib/cjs/graph/engine/snapshots/GraphExecutionSnapshotMapper.cjs +2 -2
- package/lib/cjs/graph/engine/snapshots/GraphExecutionSnapshotMapper.cjs.map +1 -1
- package/lib/cjs/graph/engine/validation/GraphConnectionPolicyValidator.cjs +142 -0
- package/lib/cjs/graph/engine/validation/GraphConnectionPolicyValidator.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphCredentialReferenceValidator.cjs +160 -0
- package/lib/cjs/graph/engine/validation/GraphCredentialReferenceValidator.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphDefinitionValidator.cjs +6 -10
- package/lib/cjs/graph/engine/validation/GraphDefinitionValidator.cjs.map +1 -1
- package/lib/cjs/graph/engine/validation/GraphEdgeInstanceValidator.cjs +166 -0
- package/lib/cjs/graph/engine/validation/GraphEdgeInstanceValidator.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphNodeInstanceValidator.cjs +86 -0
- package/lib/cjs/graph/engine/validation/GraphNodeInstanceValidator.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphParameterValidator.cjs +423 -0
- package/lib/cjs/graph/engine/validation/GraphParameterValidator.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphResolvedWorkflow.cjs +4 -0
- package/lib/cjs/graph/engine/validation/GraphResolvedWorkflow.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphValidationErrors.cjs +50 -0
- package/lib/cjs/graph/engine/validation/GraphValidationErrors.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphValidationIssue.cjs +4 -0
- package/lib/cjs/graph/engine/validation/GraphValidationIssue.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/GraphWorkflowDocumentValidator.cjs +478 -0
- package/lib/cjs/graph/engine/validation/GraphWorkflowDocumentValidator.cjs.map +1 -0
- package/lib/cjs/graph/engine/validation/index.cjs +12 -1
- package/lib/cjs/graph/engine/validation/index.cjs.map +1 -1
- package/lib/cjs/graph/index.cjs +4 -4
- package/lib/cjs/graph/log/GraphRunLogger.cjs +10 -6
- package/lib/cjs/graph/log/GraphRunLogger.cjs.map +1 -1
- package/lib/cjs/graph/log/LogParameters.cjs +13 -13
- package/lib/cjs/graph/log/LogParameters.cjs.map +1 -1
- package/lib/cjs/index.cjs +3 -3
- package/lib/cjs/nest/graph/GraphExecutionController.cjs +140 -16
- package/lib/cjs/nest/graph/GraphExecutionController.cjs.map +1 -1
- package/lib/cjs/nest/graph/GraphExecutionModule.cjs +94 -7
- package/lib/cjs/nest/graph/GraphExecutionModule.cjs.map +1 -1
- package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs +11 -0
- package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs.map +1 -1
- package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs +63 -61
- package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs.map +1 -1
- package/lib/cjs/nest/graph/GraphNodeCatalogueController.cjs +270 -0
- package/lib/cjs/nest/graph/GraphNodeCatalogueController.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphResultService.cjs +16 -1
- package/lib/cjs/nest/graph/GraphResultService.cjs.map +1 -1
- package/lib/cjs/nest/graph/GraphRunController.cjs +279 -0
- package/lib/cjs/nest/graph/GraphRunController.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphRunModel.cjs +83 -0
- package/lib/cjs/nest/graph/GraphRunModel.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphRunModelService.cjs +121 -0
- package/lib/cjs/nest/graph/GraphRunModelService.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphWorkflowBoundaryValidation.cjs +169 -0
- package/lib/cjs/nest/graph/GraphWorkflowBoundaryValidation.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphWorkflowController.cjs +162 -0
- package/lib/cjs/nest/graph/GraphWorkflowController.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphWorkflowDocumentLimits.cjs +12 -0
- package/lib/cjs/nest/graph/GraphWorkflowDocumentLimits.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphWorkflowErrors.cjs +23 -0
- package/lib/cjs/nest/graph/GraphWorkflowErrors.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphWorkflowModel.cjs +27 -1
- package/lib/cjs/nest/graph/GraphWorkflowModel.cjs.map +1 -1
- package/lib/cjs/nest/graph/GraphWorkflowService.cjs +211 -8
- package/lib/cjs/nest/graph/GraphWorkflowService.cjs.map +1 -1
- package/lib/cjs/nest/graph/index.cjs +8 -0
- package/lib/cjs/nest/graph/index.cjs.map +1 -1
- package/lib/cjs/nest/graph/main.cjs +22 -5
- package/lib/cjs/nest/graph/main.cjs.map +1 -1
- package/lib/cjs/nest/keycloakModule.cjs +3 -1
- package/lib/cjs/nest/keycloakModule.cjs.map +1 -1
- package/lib/cjs/secrets/aws/AwsSecretEnvironment.cjs +27 -0
- package/lib/cjs/secrets/aws/AwsSecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/aws/AwsSecretService.cjs +53 -19
- package/lib/cjs/secrets/aws/AwsSecretService.cjs.map +1 -1
- package/lib/cjs/secrets/aws/index.cjs +1 -0
- package/lib/cjs/secrets/aws/index.cjs.map +1 -1
- package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs +45 -16
- package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs.map +1 -1
- package/lib/cjs/secrets/azure/AzureSecretEnvironment.cjs +23 -0
- package/lib/cjs/secrets/azure/AzureSecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/azure/index.cjs +1 -0
- package/lib/cjs/secrets/azure/index.cjs.map +1 -1
- package/lib/cjs/secrets/core/ClientBasedSecretService.cjs +29 -0
- package/lib/cjs/secrets/core/ClientBasedSecretService.cjs.map +1 -0
- package/lib/cjs/secrets/core/SecretEnvironment.cjs +19 -0
- package/lib/cjs/secrets/core/SecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/core/index.cjs +2 -0
- package/lib/cjs/secrets/core/index.cjs.map +1 -1
- package/lib/cjs/secrets/gcp/GcpSecretEnvironment.cjs +25 -0
- package/lib/cjs/secrets/gcp/GcpSecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs +45 -17
- package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs.map +1 -1
- package/lib/cjs/secrets/gcp/index.cjs +1 -0
- package/lib/cjs/secrets/gcp/index.cjs.map +1 -1
- package/lib/cjs/secrets/model/ModelSecretEnvironment.cjs +21 -0
- package/lib/cjs/secrets/model/ModelSecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/model/ModelSecretService.cjs +29 -3
- package/lib/cjs/secrets/model/ModelSecretService.cjs.map +1 -1
- package/lib/cjs/secrets/model/index.cjs +1 -0
- package/lib/cjs/secrets/model/index.cjs.map +1 -1
- package/lib/cjs/secrets/onepassword/OnePasswordSecretEnvironment.cjs +24 -0
- package/lib/cjs/secrets/onepassword/OnePasswordSecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs +34 -3
- package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs.map +1 -1
- package/lib/cjs/secrets/onepassword/index.cjs +1 -0
- package/lib/cjs/secrets/onepassword/index.cjs.map +1 -1
- package/lib/cjs/secrets/vault/VaultSecretEnvironment.cjs +24 -0
- package/lib/cjs/secrets/vault/VaultSecretEnvironment.cjs.map +1 -0
- package/lib/cjs/secrets/vault/VaultSecretService.cjs +47 -16
- package/lib/cjs/secrets/vault/VaultSecretService.cjs.map +1 -1
- package/lib/cjs/secrets/vault/index.cjs +1 -0
- package/lib/cjs/secrets/vault/index.cjs.map +1 -1
- package/lib/cjs/sftp/aws/AwsSftpEnvironment.cjs +31 -0
- package/lib/cjs/sftp/aws/AwsSftpEnvironment.cjs.map +1 -0
- package/lib/cjs/sftp/aws/AwsSftpService.cjs +170 -0
- package/lib/cjs/sftp/aws/AwsSftpService.cjs.map +1 -0
- package/lib/cjs/sftp/core/SftpEnvironment.cjs +19 -0
- package/lib/cjs/sftp/core/SftpEnvironment.cjs.map +1 -0
- package/lib/cjs/sftp/core/SftpSource.cjs +39 -0
- package/lib/cjs/sftp/core/SftpSource.cjs.map +1 -0
- package/lib/cjs/sftp/core/index.cjs +20 -0
- package/lib/cjs/sftp/core/index.cjs.map +1 -0
- package/lib/cjs/sftp/index.cjs +24 -0
- package/lib/cjs/sftp/index.cjs.map +1 -0
- package/lib/cjs/sftp/ssh2/Ssh2SftpEnvironment.cjs +28 -0
- package/lib/cjs/sftp/ssh2/Ssh2SftpEnvironment.cjs.map +1 -0
- package/lib/cjs/sftp/ssh2/Ssh2SftpService.cjs +213 -0
- package/lib/cjs/sftp/ssh2/Ssh2SftpService.cjs.map +1 -0
- package/lib/cjs/shared/environmentValue.cjs +31 -0
- package/lib/cjs/shared/environmentValue.cjs.map +1 -0
- package/lib/esm/blob/azure/AzureBlobEnvironment.js +21 -0
- package/lib/esm/blob/azure/AzureBlobEnvironment.js.map +1 -0
- package/lib/esm/blob/azure/AzureBlobStoreService.js +51 -12
- package/lib/esm/blob/azure/AzureBlobStoreService.js.map +1 -1
- package/lib/esm/blob/azure/index.js +1 -0
- package/lib/esm/blob/azure/index.js.map +1 -1
- package/lib/esm/blob/core/BlobEnvironment.js +15 -0
- package/lib/esm/blob/core/BlobEnvironment.js.map +1 -0
- package/lib/esm/blob/core/BlobStoreService.js +6 -3
- package/lib/esm/blob/core/BlobStoreService.js.map +1 -1
- package/lib/esm/blob/core/index.js +1 -0
- package/lib/esm/blob/core/index.js.map +1 -1
- package/lib/esm/blob/gcp/GcsBlobEnvironment.js +22 -0
- package/lib/esm/blob/gcp/GcsBlobEnvironment.js.map +1 -0
- package/lib/esm/blob/gcp/GcsBlobStoreService.js +29 -3
- package/lib/esm/blob/gcp/GcsBlobStoreService.js.map +1 -1
- package/lib/esm/blob/gcp/index.js +1 -0
- package/lib/esm/blob/gcp/index.js.map +1 -1
- package/lib/esm/blob/ipfs/IpfsBlobEnvironment.js +26 -0
- package/lib/esm/blob/ipfs/IpfsBlobEnvironment.js.map +1 -0
- package/lib/esm/blob/ipfs/IpfsBlobStoreService.js +35 -3
- package/lib/esm/blob/ipfs/IpfsBlobStoreService.js.map +1 -1
- package/lib/esm/blob/ipfs/index.js +1 -0
- package/lib/esm/blob/ipfs/index.js.map +1 -1
- package/lib/esm/blob/local/LocalBlobEnvironment.js +18 -0
- package/lib/esm/blob/local/LocalBlobEnvironment.js.map +1 -0
- package/lib/esm/blob/local/LocalBlobStoreService.js +27 -3
- package/lib/esm/blob/local/LocalBlobStoreService.js.map +1 -1
- package/lib/esm/blob/local/index.js +1 -0
- package/lib/esm/blob/local/index.js.map +1 -1
- package/lib/esm/blob/memory/MemoryBlobEnvironment.js +17 -0
- package/lib/esm/blob/memory/MemoryBlobEnvironment.js.map +1 -0
- package/lib/esm/blob/memory/MemoryBlobStoreService.js +26 -3
- package/lib/esm/blob/memory/MemoryBlobStoreService.js.map +1 -1
- package/lib/esm/blob/memory/index.js +1 -0
- package/lib/esm/blob/memory/index.js.map +1 -1
- package/lib/esm/blob/s3/MinioBlobEnvironment.js +28 -0
- package/lib/esm/blob/s3/MinioBlobEnvironment.js.map +1 -0
- package/lib/esm/blob/s3/MinioBlobStoreService.js +42 -4
- package/lib/esm/blob/s3/MinioBlobStoreService.js.map +1 -1
- package/lib/esm/blob/s3/R2BlobEnvironment.js +28 -0
- package/lib/esm/blob/s3/R2BlobEnvironment.js.map +1 -0
- package/lib/esm/blob/s3/R2BlobStoreService.js +42 -4
- package/lib/esm/blob/s3/R2BlobStoreService.js.map +1 -1
- package/lib/esm/blob/s3/S3BlobEnvironment.js +28 -0
- package/lib/esm/blob/s3/S3BlobEnvironment.js.map +1 -0
- package/lib/esm/blob/s3/S3BlobStoreService.js +41 -311
- package/lib/esm/blob/s3/S3BlobStoreService.js.map +1 -1
- package/lib/esm/blob/s3/S3CompatibleBlobStoreService.js +322 -0
- package/lib/esm/blob/s3/S3CompatibleBlobStoreService.js.map +1 -0
- package/lib/esm/blob/s3/index.js +4 -0
- package/lib/esm/blob/s3/index.js.map +1 -1
- package/lib/esm/graph/engine/catalog/GraphBuiltInRegistrations.js +95 -0
- package/lib/esm/graph/engine/catalog/GraphBuiltInRegistrations.js.map +1 -0
- package/lib/esm/graph/engine/catalog/GraphCatalogueErrors.js +22 -0
- package/lib/esm/graph/engine/catalog/GraphCatalogueErrors.js.map +1 -0
- package/lib/esm/graph/engine/catalog/GraphNodeCatalogue.js +265 -0
- package/lib/esm/graph/engine/catalog/GraphNodeCatalogue.js.map +1 -0
- package/lib/esm/graph/engine/catalog/GraphNodeManifestResolver.js +162 -0
- package/lib/esm/graph/engine/catalog/GraphNodeManifestResolver.js.map +1 -0
- package/lib/esm/graph/engine/catalog/GraphNodeMethodRegistry.js +59 -0
- package/lib/esm/graph/engine/catalog/GraphNodeMethodRegistry.js.map +1 -0
- package/lib/esm/graph/engine/catalog/GraphNodeRegistration.js +12 -0
- package/lib/esm/graph/engine/catalog/GraphNodeRegistration.js.map +1 -0
- package/lib/esm/graph/engine/catalog/index.js +7 -0
- package/lib/esm/graph/engine/catalog/index.js.map +1 -0
- package/lib/esm/graph/engine/constants.js +2 -2
- package/lib/esm/graph/engine/errors/GraphExecutionError.js +1 -0
- package/lib/esm/graph/engine/errors/GraphExecutionError.js.map +1 -1
- package/lib/esm/graph/engine/errors/GraphRunCancelledError.js +13 -0
- package/lib/esm/graph/engine/errors/GraphRunCancelledError.js.map +1 -0
- package/lib/esm/graph/engine/errors/index.js +1 -0
- package/lib/esm/graph/engine/errors/index.js.map +1 -1
- package/lib/esm/graph/engine/events/GraphExecutionEventEmitter.js.map +1 -1
- package/lib/esm/graph/engine/events/GraphExecutionEventFactory.js.map +1 -1
- package/lib/esm/graph/engine/events/index.js +0 -1
- package/lib/esm/graph/engine/events/index.js.map +1 -1
- package/lib/esm/graph/engine/execution/BreakGraphNodeExecutor.js +2 -2
- package/lib/esm/graph/engine/execution/BreakGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/execution/CodeGraphNodeExecutor.js +10 -6
- package/lib/esm/graph/engine/execution/CodeGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/execution/GraphExecutionContext.js +28 -16
- package/lib/esm/graph/engine/execution/GraphExecutionContext.js.map +1 -1
- package/lib/esm/graph/engine/execution/GraphExecutionEngine.js +322 -41
- package/lib/esm/graph/engine/execution/GraphExecutionEngine.js.map +1 -1
- package/lib/esm/graph/engine/execution/GraphExecutionFrame.js.map +1 -1
- package/lib/esm/graph/engine/execution/GraphExecutionResult.js +3 -3
- package/lib/esm/graph/engine/execution/GraphExecutionResult.js.map +1 -1
- package/lib/esm/graph/engine/execution/LogGraphNodeExecutor.js +9 -6
- package/lib/esm/graph/engine/execution/LogGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/execution/SwitchGraphNodeExecutor.js +11 -10
- package/lib/esm/graph/engine/execution/SwitchGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/index.js +8 -11
- package/lib/esm/graph/engine/index.js.map +1 -1
- package/lib/esm/graph/engine/loops/ForeachGraphNodeExecutor.js +32 -7
- package/lib/esm/graph/engine/loops/ForeachGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/loops/UntilGraphNodeExecutor.js +32 -7
- package/lib/esm/graph/engine/loops/UntilGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/loops/WhileGraphNodeExecutor.js +32 -7
- package/lib/esm/graph/engine/loops/WhileGraphNodeExecutor.js.map +1 -1
- package/lib/esm/graph/engine/pinning/GraphPinningPolicy.js +2 -2
- package/lib/esm/graph/engine/pinning/GraphPinningPolicy.js.map +1 -1
- package/lib/esm/graph/engine/pinning/GraphPinningService.js +43 -14
- package/lib/esm/graph/engine/pinning/GraphPinningService.js.map +1 -1
- package/lib/esm/graph/engine/planning/GraphExecutionPlanEdge.js +3 -1
- package/lib/esm/graph/engine/planning/GraphExecutionPlanEdge.js.map +1 -1
- package/lib/esm/graph/engine/planning/GraphExecutionPlanner.js +79 -88
- package/lib/esm/graph/engine/planning/GraphExecutionPlanner.js.map +1 -1
- package/lib/esm/graph/engine/planning/index.js +0 -1
- package/lib/esm/graph/engine/planning/index.js.map +1 -1
- package/lib/esm/graph/engine/registry/GraphNodeExecutorRegistry.js +28 -15
- package/lib/esm/graph/engine/registry/GraphNodeExecutorRegistry.js.map +1 -1
- package/lib/esm/graph/engine/runs/GraphRunEventPublisher.js +64 -0
- package/lib/esm/graph/engine/runs/GraphRunEventPublisher.js.map +1 -0
- package/lib/esm/graph/engine/runs/GraphRunExecutor.js +286 -0
- package/lib/esm/graph/engine/runs/GraphRunExecutor.js.map +1 -0
- package/lib/esm/graph/engine/runs/GraphRunFingerprint.js +25 -0
- package/lib/esm/graph/engine/runs/GraphRunFingerprint.js.map +1 -0
- package/lib/esm/graph/engine/runs/GraphRunService.js +254 -0
- package/lib/esm/graph/engine/runs/GraphRunService.js.map +1 -0
- package/lib/esm/graph/engine/runs/InMemoryGraphRunEventStore.js +64 -0
- package/lib/esm/graph/engine/runs/InMemoryGraphRunEventStore.js.map +1 -0
- package/lib/esm/graph/engine/runs/InMemoryGraphRunStore.js +21 -0
- package/lib/esm/graph/engine/runs/InMemoryGraphRunStore.js.map +1 -0
- package/lib/esm/graph/engine/runs/index.js +9 -0
- package/lib/esm/graph/engine/runs/index.js.map +1 -0
- package/lib/esm/graph/engine/runs/ownership.js +30 -0
- package/lib/esm/graph/engine/runs/ownership.js.map +1 -0
- package/lib/esm/graph/engine/runs/types.js.map +1 -0
- package/lib/esm/graph/engine/snapshots/GraphExecutionSnapshotMapper.js +1 -1
- package/lib/esm/graph/engine/snapshots/GraphExecutionSnapshotMapper.js.map +1 -1
- package/lib/esm/graph/engine/validation/GraphConnectionPolicyValidator.js +137 -0
- package/lib/esm/graph/engine/validation/GraphConnectionPolicyValidator.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphCredentialReferenceValidator.js +155 -0
- package/lib/esm/graph/engine/validation/GraphCredentialReferenceValidator.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphDefinitionValidator.js +6 -10
- package/lib/esm/graph/engine/validation/GraphDefinitionValidator.js.map +1 -1
- package/lib/esm/graph/engine/validation/GraphEdgeInstanceValidator.js +161 -0
- package/lib/esm/graph/engine/validation/GraphEdgeInstanceValidator.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphNodeInstanceValidator.js +81 -0
- package/lib/esm/graph/engine/validation/GraphNodeInstanceValidator.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphParameterValidator.js +416 -0
- package/lib/esm/graph/engine/validation/GraphParameterValidator.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphResolvedWorkflow.js +2 -0
- package/lib/esm/graph/engine/validation/GraphResolvedWorkflow.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphValidationErrors.js +43 -0
- package/lib/esm/graph/engine/validation/GraphValidationErrors.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphValidationIssue.js +2 -0
- package/lib/esm/graph/engine/validation/GraphValidationIssue.js.map +1 -0
- package/lib/esm/graph/engine/validation/GraphWorkflowDocumentValidator.js +472 -0
- package/lib/esm/graph/engine/validation/GraphWorkflowDocumentValidator.js.map +1 -0
- package/lib/esm/graph/engine/validation/index.js +12 -1
- package/lib/esm/graph/engine/validation/index.js.map +1 -1
- package/lib/esm/graph/index.js +4 -4
- package/lib/esm/graph/log/GraphRunLogger.js +5 -1
- package/lib/esm/graph/log/GraphRunLogger.js.map +1 -1
- package/lib/esm/graph/log/LogParameters.js +1 -1
- package/lib/esm/graph/log/LogParameters.js.map +1 -1
- package/lib/esm/index.js +3 -3
- package/lib/esm/nest/graph/GraphExecutionController.js +143 -19
- package/lib/esm/nest/graph/GraphExecutionController.js.map +1 -1
- package/lib/esm/nest/graph/GraphExecutionModule.js +97 -10
- package/lib/esm/nest/graph/GraphExecutionModule.js.map +1 -1
- package/lib/esm/nest/graph/GraphExecutionResultModel.js +11 -0
- package/lib/esm/nest/graph/GraphExecutionResultModel.js.map +1 -1
- package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js +62 -62
- package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js.map +1 -1
- package/lib/esm/nest/graph/GraphNodeCatalogueController.js +261 -0
- package/lib/esm/nest/graph/GraphNodeCatalogueController.js.map +1 -0
- package/lib/esm/nest/graph/GraphResultService.js +16 -1
- package/lib/esm/nest/graph/GraphResultService.js.map +1 -1
- package/lib/esm/nest/graph/GraphRunController.js +270 -0
- package/lib/esm/nest/graph/GraphRunController.js.map +1 -0
- package/lib/esm/nest/graph/GraphRunModel.js +74 -0
- package/lib/esm/nest/graph/GraphRunModel.js.map +1 -0
- package/lib/esm/nest/graph/GraphRunModelService.js +112 -0
- package/lib/esm/nest/graph/GraphRunModelService.js.map +1 -0
- package/lib/esm/nest/graph/GraphWorkflowBoundaryValidation.js +164 -0
- package/lib/esm/nest/graph/GraphWorkflowBoundaryValidation.js.map +1 -0
- package/lib/esm/nest/graph/GraphWorkflowController.js +153 -0
- package/lib/esm/nest/graph/GraphWorkflowController.js.map +1 -0
- package/lib/esm/nest/graph/GraphWorkflowDocumentLimits.js +8 -0
- package/lib/esm/nest/graph/GraphWorkflowDocumentLimits.js.map +1 -0
- package/lib/esm/nest/graph/GraphWorkflowErrors.js +18 -0
- package/lib/esm/nest/graph/GraphWorkflowErrors.js.map +1 -0
- package/lib/esm/nest/graph/GraphWorkflowModel.js +27 -1
- package/lib/esm/nest/graph/GraphWorkflowModel.js.map +1 -1
- package/lib/esm/nest/graph/GraphWorkflowService.js +210 -8
- package/lib/esm/nest/graph/GraphWorkflowService.js.map +1 -1
- package/lib/esm/nest/graph/index.js +8 -0
- package/lib/esm/nest/graph/index.js.map +1 -1
- package/lib/esm/nest/graph/main.js +22 -5
- package/lib/esm/nest/graph/main.js.map +1 -1
- package/lib/esm/nest/keycloakModule.js +3 -1
- package/lib/esm/nest/keycloakModule.js.map +1 -1
- package/lib/esm/secrets/aws/AwsSecretEnvironment.js +23 -0
- package/lib/esm/secrets/aws/AwsSecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/aws/AwsSecretService.js +39 -8
- package/lib/esm/secrets/aws/AwsSecretService.js.map +1 -1
- package/lib/esm/secrets/aws/index.js +1 -0
- package/lib/esm/secrets/aws/index.js.map +1 -1
- package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js +30 -4
- package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js.map +1 -1
- package/lib/esm/secrets/azure/AzureSecretEnvironment.js +19 -0
- package/lib/esm/secrets/azure/AzureSecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/azure/index.js +1 -0
- package/lib/esm/secrets/azure/index.js.map +1 -1
- package/lib/esm/secrets/core/ClientBasedSecretService.js +24 -0
- package/lib/esm/secrets/core/ClientBasedSecretService.js.map +1 -0
- package/lib/esm/secrets/core/SecretEnvironment.js +15 -0
- package/lib/esm/secrets/core/SecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/core/index.js +2 -0
- package/lib/esm/secrets/core/index.js.map +1 -1
- package/lib/esm/secrets/gcp/GcpSecretEnvironment.js +21 -0
- package/lib/esm/secrets/gcp/GcpSecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/gcp/GcpSecretManagerService.js +30 -5
- package/lib/esm/secrets/gcp/GcpSecretManagerService.js.map +1 -1
- package/lib/esm/secrets/gcp/index.js +1 -0
- package/lib/esm/secrets/gcp/index.js.map +1 -1
- package/lib/esm/secrets/model/ModelSecretEnvironment.js +17 -0
- package/lib/esm/secrets/model/ModelSecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/model/ModelSecretService.js +28 -5
- package/lib/esm/secrets/model/ModelSecretService.js.map +1 -1
- package/lib/esm/secrets/model/index.js +1 -0
- package/lib/esm/secrets/model/index.js.map +1 -1
- package/lib/esm/secrets/onepassword/OnePasswordSecretEnvironment.js +20 -0
- package/lib/esm/secrets/onepassword/OnePasswordSecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/onepassword/OnePasswordSecretService.js +33 -5
- package/lib/esm/secrets/onepassword/OnePasswordSecretService.js.map +1 -1
- package/lib/esm/secrets/onepassword/index.js +1 -0
- package/lib/esm/secrets/onepassword/index.js.map +1 -1
- package/lib/esm/secrets/vault/VaultSecretEnvironment.js +20 -0
- package/lib/esm/secrets/vault/VaultSecretEnvironment.js.map +1 -0
- package/lib/esm/secrets/vault/VaultSecretService.js +33 -5
- package/lib/esm/secrets/vault/VaultSecretService.js.map +1 -1
- package/lib/esm/secrets/vault/index.js +1 -0
- package/lib/esm/secrets/vault/index.js.map +1 -1
- package/lib/esm/sftp/aws/AwsSftpEnvironment.js +27 -0
- package/lib/esm/sftp/aws/AwsSftpEnvironment.js.map +1 -0
- package/lib/esm/sftp/aws/AwsSftpService.js +128 -0
- package/lib/esm/sftp/aws/AwsSftpService.js.map +1 -0
- package/lib/esm/sftp/core/SftpEnvironment.js +15 -0
- package/lib/esm/sftp/core/SftpEnvironment.js.map +1 -0
- package/lib/esm/sftp/core/SftpSource.js +33 -0
- package/lib/esm/sftp/core/SftpSource.js.map +1 -0
- package/lib/esm/sftp/core/index.js +3 -0
- package/lib/esm/sftp/core/index.js.map +1 -0
- package/lib/esm/sftp/index.js +7 -0
- package/lib/esm/sftp/index.js.map +1 -0
- package/lib/esm/sftp/ssh2/Ssh2SftpEnvironment.js +24 -0
- package/lib/esm/sftp/ssh2/Ssh2SftpEnvironment.js.map +1 -0
- package/lib/esm/sftp/ssh2/Ssh2SftpService.js +172 -0
- package/lib/esm/sftp/ssh2/Ssh2SftpService.js.map +1 -0
- package/lib/esm/shared/environmentValue.js +25 -0
- package/lib/esm/shared/environmentValue.js.map +1 -0
- package/lib/types/blob/azure/AzureBlobEnvironment.d.cts +25 -0
- package/lib/types/blob/azure/AzureBlobEnvironment.d.mts +25 -0
- package/lib/types/blob/azure/AzureBlobStoreService.d.cts +1 -0
- package/lib/types/blob/azure/AzureBlobStoreService.d.mts +1 -0
- package/lib/types/blob/azure/index.d.cts +1 -0
- package/lib/types/blob/azure/index.d.mts +1 -0
- package/lib/types/blob/core/BlobEnvironment.d.cts +11 -0
- package/lib/types/blob/core/BlobEnvironment.d.mts +11 -0
- package/lib/types/blob/core/BlobStoreService.d.cts +6 -0
- package/lib/types/blob/core/BlobStoreService.d.mts +6 -0
- package/lib/types/blob/core/index.d.cts +1 -0
- package/lib/types/blob/core/index.d.mts +1 -0
- package/lib/types/blob/gcp/GcsBlobEnvironment.d.cts +17 -0
- package/lib/types/blob/gcp/GcsBlobEnvironment.d.mts +17 -0
- package/lib/types/blob/gcp/GcsBlobStoreService.d.cts +1 -0
- package/lib/types/blob/gcp/GcsBlobStoreService.d.mts +1 -0
- package/lib/types/blob/gcp/index.d.cts +1 -0
- package/lib/types/blob/gcp/index.d.mts +1 -0
- package/lib/types/blob/ipfs/IpfsBlobEnvironment.d.cts +24 -0
- package/lib/types/blob/ipfs/IpfsBlobEnvironment.d.mts +24 -0
- package/lib/types/blob/ipfs/IpfsBlobStoreService.d.cts +1 -0
- package/lib/types/blob/ipfs/IpfsBlobStoreService.d.mts +1 -0
- package/lib/types/blob/ipfs/index.d.cts +1 -0
- package/lib/types/blob/ipfs/index.d.mts +1 -0
- package/lib/types/blob/local/LocalBlobEnvironment.d.cts +15 -0
- package/lib/types/blob/local/LocalBlobEnvironment.d.mts +15 -0
- package/lib/types/blob/local/LocalBlobStoreService.d.cts +1 -0
- package/lib/types/blob/local/LocalBlobStoreService.d.mts +1 -0
- package/lib/types/blob/local/index.d.cts +1 -0
- package/lib/types/blob/local/index.d.mts +1 -0
- package/lib/types/blob/memory/MemoryBlobEnvironment.d.cts +14 -0
- package/lib/types/blob/memory/MemoryBlobEnvironment.d.mts +14 -0
- package/lib/types/blob/memory/MemoryBlobStoreService.d.cts +1 -0
- package/lib/types/blob/memory/MemoryBlobStoreService.d.mts +1 -0
- package/lib/types/blob/memory/index.d.cts +1 -0
- package/lib/types/blob/memory/index.d.mts +1 -0
- package/lib/types/blob/s3/MinioBlobEnvironment.d.cts +11 -0
- package/lib/types/blob/s3/MinioBlobEnvironment.d.mts +11 -0
- package/lib/types/blob/s3/MinioBlobStoreService.d.cts +4 -7
- package/lib/types/blob/s3/MinioBlobStoreService.d.mts +4 -7
- package/lib/types/blob/s3/R2BlobEnvironment.d.cts +11 -0
- package/lib/types/blob/s3/R2BlobEnvironment.d.mts +11 -0
- package/lib/types/blob/s3/R2BlobStoreService.d.cts +4 -7
- package/lib/types/blob/s3/R2BlobStoreService.d.mts +4 -7
- package/lib/types/blob/s3/S3BlobEnvironment.d.cts +26 -0
- package/lib/types/blob/s3/S3BlobEnvironment.d.mts +26 -0
- package/lib/types/blob/s3/S3BlobStoreService.d.cts +4 -24
- package/lib/types/blob/s3/S3BlobStoreService.d.mts +4 -24
- package/lib/types/blob/s3/S3CompatibleBlobStoreService.d.cts +30 -0
- package/lib/types/blob/s3/S3CompatibleBlobStoreService.d.mts +30 -0
- package/lib/types/blob/s3/index.d.cts +4 -0
- package/lib/types/blob/s3/index.d.mts +4 -0
- package/lib/types/graph/engine/catalog/GraphBuiltInRegistrations.d.cts +17 -0
- package/lib/types/graph/engine/catalog/GraphBuiltInRegistrations.d.mts +17 -0
- package/lib/types/graph/engine/catalog/GraphCatalogueErrors.d.cts +13 -0
- package/lib/types/graph/engine/catalog/GraphCatalogueErrors.d.mts +13 -0
- package/lib/types/graph/engine/catalog/GraphNodeCatalogue.d.cts +71 -0
- package/lib/types/graph/engine/catalog/GraphNodeCatalogue.d.mts +71 -0
- package/lib/types/graph/engine/catalog/GraphNodeManifestResolver.d.cts +42 -0
- package/lib/types/graph/engine/catalog/GraphNodeManifestResolver.d.mts +42 -0
- package/lib/types/graph/engine/catalog/GraphNodeMethodRegistry.d.cts +22 -0
- package/lib/types/graph/engine/catalog/GraphNodeMethodRegistry.d.mts +22 -0
- package/lib/types/graph/engine/catalog/GraphNodeRegistration.d.cts +68 -0
- package/lib/types/graph/engine/catalog/GraphNodeRegistration.d.mts +68 -0
- package/lib/types/graph/engine/catalog/index.d.cts +6 -0
- package/lib/types/graph/engine/catalog/index.d.mts +6 -0
- package/lib/types/graph/engine/constants.d.cts +2 -2
- package/lib/types/graph/engine/constants.d.mts +2 -2
- package/lib/types/graph/engine/errors/GraphRunCancelledError.d.cts +9 -0
- package/lib/types/graph/engine/errors/GraphRunCancelledError.d.mts +9 -0
- package/lib/types/graph/engine/errors/index.d.cts +1 -0
- package/lib/types/graph/engine/errors/index.d.mts +1 -0
- package/lib/types/graph/engine/events/GraphExecutionEventEmitter.d.cts +1 -1
- package/lib/types/graph/engine/events/GraphExecutionEventEmitter.d.mts +1 -1
- package/lib/types/graph/engine/events/GraphExecutionEventFactory.d.cts +1 -1
- package/lib/types/graph/engine/events/GraphExecutionEventFactory.d.mts +1 -1
- package/lib/types/graph/engine/events/GraphExecutionObserver.d.cts +1 -1
- package/lib/types/graph/engine/events/GraphExecutionObserver.d.mts +1 -1
- package/lib/types/graph/engine/events/index.d.cts +0 -1
- package/lib/types/graph/engine/events/index.d.mts +0 -1
- package/lib/types/graph/engine/execution/BreakGraphNodeExecutor.d.cts +2 -2
- package/lib/types/graph/engine/execution/BreakGraphNodeExecutor.d.mts +2 -2
- package/lib/types/graph/engine/execution/CodeGraphNodeExecutor.d.cts +2 -2
- package/lib/types/graph/engine/execution/CodeGraphNodeExecutor.d.mts +2 -2
- package/lib/types/graph/engine/execution/GraphExecutionContext.d.cts +28 -14
- package/lib/types/graph/engine/execution/GraphExecutionContext.d.mts +28 -14
- package/lib/types/graph/engine/execution/GraphExecutionEngine.d.cts +106 -23
- package/lib/types/graph/engine/execution/GraphExecutionEngine.d.mts +106 -23
- package/lib/types/graph/engine/execution/GraphExecutionFrame.d.cts +2 -1
- package/lib/types/graph/engine/execution/GraphExecutionFrame.d.mts +2 -1
- package/lib/types/graph/engine/execution/GraphExecutionResult.d.cts +3 -3
- package/lib/types/graph/engine/execution/GraphExecutionResult.d.mts +3 -3
- package/lib/types/graph/engine/execution/GraphNodeExecutor.d.cts +17 -9
- package/lib/types/graph/engine/execution/GraphNodeExecutor.d.mts +17 -9
- package/lib/types/graph/engine/execution/LogGraphNodeExecutor.d.cts +3 -3
- package/lib/types/graph/engine/execution/LogGraphNodeExecutor.d.mts +3 -3
- package/lib/types/graph/engine/execution/SwitchGraphNodeExecutor.d.cts +2 -2
- package/lib/types/graph/engine/execution/SwitchGraphNodeExecutor.d.mts +2 -2
- package/lib/types/graph/engine/index.d.cts +6 -9
- package/lib/types/graph/engine/index.d.mts +6 -9
- package/lib/types/graph/engine/loops/ConditionExpressionEvaluator.d.cts +1 -1
- package/lib/types/graph/engine/loops/ConditionExpressionEvaluator.d.mts +1 -1
- package/lib/types/graph/engine/loops/ForeachGraphNodeExecutor.d.cts +2 -2
- package/lib/types/graph/engine/loops/ForeachGraphNodeExecutor.d.mts +2 -2
- package/lib/types/graph/engine/loops/GraphConditionEvaluator.d.cts +1 -1
- package/lib/types/graph/engine/loops/GraphConditionEvaluator.d.mts +1 -1
- package/lib/types/graph/engine/loops/UntilGraphNodeExecutor.d.cts +2 -2
- package/lib/types/graph/engine/loops/UntilGraphNodeExecutor.d.mts +2 -2
- package/lib/types/graph/engine/loops/WhileGraphNodeExecutor.d.cts +2 -2
- package/lib/types/graph/engine/loops/WhileGraphNodeExecutor.d.mts +2 -2
- package/lib/types/graph/engine/pinning/GraphPinningService.d.cts +16 -5
- package/lib/types/graph/engine/pinning/GraphPinningService.d.mts +16 -5
- package/lib/types/graph/engine/planning/GraphExecutionPlan.d.cts +8 -4
- package/lib/types/graph/engine/planning/GraphExecutionPlan.d.mts +8 -4
- package/lib/types/graph/engine/planning/GraphExecutionPlanEdge.d.cts +9 -4
- package/lib/types/graph/engine/planning/GraphExecutionPlanEdge.d.mts +9 -4
- package/lib/types/graph/engine/planning/GraphExecutionPlanNode.d.cts +17 -9
- package/lib/types/graph/engine/planning/GraphExecutionPlanNode.d.mts +17 -9
- package/lib/types/graph/engine/planning/GraphExecutionPlanner.d.cts +21 -33
- package/lib/types/graph/engine/planning/GraphExecutionPlanner.d.mts +21 -33
- package/lib/types/graph/engine/planning/index.d.cts +0 -1
- package/lib/types/graph/engine/planning/index.d.mts +0 -1
- package/lib/types/graph/engine/registry/GraphNodeExecutorRegistry.d.cts +22 -8
- package/lib/types/graph/engine/registry/GraphNodeExecutorRegistry.d.mts +22 -8
- package/lib/types/graph/engine/runs/GraphRunEventPublisher.d.cts +26 -0
- package/lib/types/graph/engine/runs/GraphRunEventPublisher.d.mts +26 -0
- package/lib/types/graph/engine/runs/GraphRunExecutor.d.cts +75 -0
- package/lib/types/graph/engine/runs/GraphRunExecutor.d.mts +75 -0
- package/lib/types/graph/engine/runs/GraphRunFingerprint.d.cts +8 -0
- package/lib/types/graph/engine/runs/GraphRunFingerprint.d.mts +8 -0
- package/lib/types/graph/engine/runs/GraphRunService.d.cts +93 -0
- package/lib/types/graph/engine/runs/GraphRunService.d.mts +93 -0
- package/lib/types/graph/engine/runs/InMemoryGraphRunEventStore.d.cts +28 -0
- package/lib/types/graph/engine/runs/InMemoryGraphRunEventStore.d.mts +28 -0
- package/lib/types/graph/engine/runs/InMemoryGraphRunStore.d.cts +12 -0
- package/lib/types/graph/engine/runs/InMemoryGraphRunStore.d.mts +12 -0
- package/lib/types/graph/engine/runs/index.d.cts +8 -0
- package/lib/types/graph/engine/runs/index.d.mts +8 -0
- package/lib/types/graph/engine/runs/ownership.d.cts +25 -0
- package/lib/types/graph/engine/runs/ownership.d.mts +25 -0
- package/lib/types/graph/engine/runs/types.d.cts +83 -0
- package/lib/types/graph/engine/runs/types.d.mts +83 -0
- package/lib/types/graph/engine/types.d.cts +37 -12
- package/lib/types/graph/engine/types.d.mts +37 -12
- package/lib/types/graph/engine/validation/GraphConnectionPolicyValidator.d.cts +32 -0
- package/lib/types/graph/engine/validation/GraphConnectionPolicyValidator.d.mts +32 -0
- package/lib/types/graph/engine/validation/GraphCredentialReferenceValidator.d.cts +62 -0
- package/lib/types/graph/engine/validation/GraphCredentialReferenceValidator.d.mts +62 -0
- package/lib/types/graph/engine/validation/GraphDefinitionValidator.d.cts +11 -9
- package/lib/types/graph/engine/validation/GraphDefinitionValidator.d.mts +11 -9
- package/lib/types/graph/engine/validation/GraphEdgeInstanceValidator.d.cts +32 -0
- package/lib/types/graph/engine/validation/GraphEdgeInstanceValidator.d.mts +32 -0
- package/lib/types/graph/engine/validation/GraphNodeInstanceValidator.d.cts +37 -0
- package/lib/types/graph/engine/validation/GraphNodeInstanceValidator.d.mts +37 -0
- package/lib/types/graph/engine/validation/GraphParameterValidator.d.cts +92 -0
- package/lib/types/graph/engine/validation/GraphParameterValidator.d.mts +92 -0
- package/lib/types/graph/engine/validation/GraphResolvedWorkflow.d.cts +66 -0
- package/lib/types/graph/engine/validation/GraphResolvedWorkflow.d.mts +66 -0
- package/lib/types/graph/engine/validation/GraphValidationErrors.d.cts +34 -0
- package/lib/types/graph/engine/validation/GraphValidationErrors.d.mts +34 -0
- package/lib/types/graph/engine/validation/GraphValidationIssue.d.cts +39 -0
- package/lib/types/graph/engine/validation/GraphValidationIssue.d.mts +39 -0
- package/lib/types/graph/engine/validation/GraphWorkflowDocumentValidator.d.cts +162 -0
- package/lib/types/graph/engine/validation/GraphWorkflowDocumentValidator.d.mts +162 -0
- package/lib/types/graph/engine/validation/index.d.cts +12 -1
- package/lib/types/graph/engine/validation/index.d.mts +12 -1
- package/lib/types/graph/index.d.cts +4 -4
- package/lib/types/graph/index.d.mts +4 -4
- package/lib/types/graph/log/GraphRunLogger.d.cts +3 -1
- package/lib/types/graph/log/GraphRunLogger.d.mts +3 -1
- package/lib/types/index.d.cts +2 -2
- package/lib/types/index.d.mts +2 -2
- package/lib/types/nest/graph/GraphExecutionController.d.cts +83 -4
- package/lib/types/nest/graph/GraphExecutionController.d.mts +83 -4
- package/lib/types/nest/graph/GraphExecutionModule.d.cts +64 -0
- package/lib/types/nest/graph/GraphExecutionModule.d.mts +64 -0
- package/lib/types/nest/graph/GraphExecutionResultModel.d.cts +12 -0
- package/lib/types/nest/graph/GraphExecutionResultModel.d.mts +12 -0
- package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.cts +42 -28
- package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.mts +42 -28
- package/lib/types/nest/graph/GraphNodeCatalogueController.d.cts +70 -0
- package/lib/types/nest/graph/GraphNodeCatalogueController.d.mts +70 -0
- package/lib/types/nest/graph/GraphResultService.d.cts +12 -0
- package/lib/types/nest/graph/GraphResultService.d.mts +12 -0
- package/lib/types/nest/graph/GraphRunController.d.cts +87 -0
- package/lib/types/nest/graph/GraphRunController.d.mts +87 -0
- package/lib/types/nest/graph/GraphRunModel.d.cts +22 -0
- package/lib/types/nest/graph/GraphRunModel.d.mts +22 -0
- package/lib/types/nest/graph/GraphRunModelService.d.cts +21 -0
- package/lib/types/nest/graph/GraphRunModelService.d.mts +21 -0
- package/lib/types/nest/graph/GraphWorkflowBoundaryValidation.d.cts +28 -0
- package/lib/types/nest/graph/GraphWorkflowBoundaryValidation.d.mts +28 -0
- package/lib/types/nest/graph/GraphWorkflowController.d.cts +62 -0
- package/lib/types/nest/graph/GraphWorkflowController.d.mts +62 -0
- package/lib/types/nest/graph/GraphWorkflowDocumentLimits.d.cts +33 -0
- package/lib/types/nest/graph/GraphWorkflowDocumentLimits.d.mts +33 -0
- package/lib/types/nest/graph/GraphWorkflowErrors.d.cts +13 -0
- package/lib/types/nest/graph/GraphWorkflowErrors.d.mts +13 -0
- package/lib/types/nest/graph/GraphWorkflowModel.d.cts +19 -1
- package/lib/types/nest/graph/GraphWorkflowModel.d.mts +19 -1
- package/lib/types/nest/graph/GraphWorkflowService.d.cts +48 -1
- package/lib/types/nest/graph/GraphWorkflowService.d.mts +48 -1
- package/lib/types/nest/graph/index.d.cts +8 -0
- package/lib/types/nest/graph/index.d.mts +8 -0
- package/lib/types/nest/keycloakModule.d.cts +9 -1
- package/lib/types/nest/keycloakModule.d.mts +9 -1
- package/lib/types/secrets/aws/AwsSecretEnvironment.d.cts +21 -0
- package/lib/types/secrets/aws/AwsSecretEnvironment.d.mts +21 -0
- package/lib/types/secrets/aws/AwsSecretService.d.cts +4 -3
- package/lib/types/secrets/aws/AwsSecretService.d.mts +4 -3
- package/lib/types/secrets/aws/index.d.cts +1 -0
- package/lib/types/secrets/aws/index.d.mts +1 -0
- package/lib/types/secrets/azure/AzureKeyVaultSecretService.d.cts +4 -3
- package/lib/types/secrets/azure/AzureKeyVaultSecretService.d.mts +4 -3
- package/lib/types/secrets/azure/AzureSecretEnvironment.d.cts +14 -0
- package/lib/types/secrets/azure/AzureSecretEnvironment.d.mts +14 -0
- package/lib/types/secrets/azure/index.d.cts +1 -0
- package/lib/types/secrets/azure/index.d.mts +1 -0
- package/lib/types/secrets/core/ClientBasedSecretService.d.cts +20 -0
- package/lib/types/secrets/core/ClientBasedSecretService.d.mts +20 -0
- package/lib/types/secrets/core/SecretEnvironment.d.cts +11 -0
- package/lib/types/secrets/core/SecretEnvironment.d.mts +11 -0
- package/lib/types/secrets/core/index.d.cts +2 -0
- package/lib/types/secrets/core/index.d.mts +2 -0
- package/lib/types/secrets/gcp/GcpSecretEnvironment.d.cts +16 -0
- package/lib/types/secrets/gcp/GcpSecretEnvironment.d.mts +16 -0
- package/lib/types/secrets/gcp/GcpSecretManagerService.d.cts +4 -3
- package/lib/types/secrets/gcp/GcpSecretManagerService.d.mts +4 -3
- package/lib/types/secrets/gcp/index.d.cts +1 -0
- package/lib/types/secrets/gcp/index.d.mts +1 -0
- package/lib/types/secrets/model/ModelSecretEnvironment.d.cts +14 -0
- package/lib/types/secrets/model/ModelSecretEnvironment.d.mts +14 -0
- package/lib/types/secrets/model/ModelSecretService.d.cts +4 -3
- package/lib/types/secrets/model/ModelSecretService.d.mts +4 -3
- package/lib/types/secrets/model/ModelSecretServiceConfig.d.cts +2 -1
- package/lib/types/secrets/model/ModelSecretServiceConfig.d.mts +2 -1
- package/lib/types/secrets/model/index.d.cts +1 -0
- package/lib/types/secrets/model/index.d.mts +1 -0
- package/lib/types/secrets/onepassword/OnePasswordSecretEnvironment.d.cts +17 -0
- package/lib/types/secrets/onepassword/OnePasswordSecretEnvironment.d.mts +17 -0
- package/lib/types/secrets/onepassword/OnePasswordSecretService.d.cts +4 -3
- package/lib/types/secrets/onepassword/OnePasswordSecretService.d.mts +4 -3
- package/lib/types/secrets/onepassword/index.d.cts +1 -0
- package/lib/types/secrets/onepassword/index.d.mts +1 -0
- package/lib/types/secrets/vault/VaultSecretEnvironment.d.cts +17 -0
- package/lib/types/secrets/vault/VaultSecretEnvironment.d.mts +17 -0
- package/lib/types/secrets/vault/VaultSecretService.d.cts +4 -3
- package/lib/types/secrets/vault/VaultSecretService.d.mts +4 -3
- package/lib/types/secrets/vault/index.d.cts +1 -0
- package/lib/types/secrets/vault/index.d.mts +1 -0
- package/lib/types/sftp/aws/AwsSftpEnvironment.d.cts +24 -0
- package/lib/types/sftp/aws/AwsSftpEnvironment.d.mts +24 -0
- package/lib/types/sftp/aws/AwsSftpService.d.cts +38 -0
- package/lib/types/sftp/aws/AwsSftpService.d.mts +38 -0
- package/lib/types/sftp/core/SftpEnvironment.d.cts +11 -0
- package/lib/types/sftp/core/SftpEnvironment.d.mts +11 -0
- package/lib/types/sftp/core/SftpSource.d.cts +47 -0
- package/lib/types/sftp/core/SftpSource.d.mts +47 -0
- package/lib/types/sftp/core/index.d.cts +2 -0
- package/lib/types/sftp/core/index.d.mts +2 -0
- package/lib/types/sftp/index.d.cts +6 -0
- package/lib/types/sftp/index.d.mts +6 -0
- package/lib/types/sftp/ssh2/Ssh2SftpEnvironment.d.cts +21 -0
- package/lib/types/sftp/ssh2/Ssh2SftpEnvironment.d.mts +21 -0
- package/lib/types/sftp/ssh2/Ssh2SftpService.d.cts +48 -0
- package/lib/types/sftp/ssh2/Ssh2SftpService.d.mts +48 -0
- package/lib/types/shared/environmentValue.d.cts +16 -0
- package/lib/types/shared/environmentValue.d.mts +16 -0
- package/package.json +13 -11
- package/lib/cjs/graph/engine/events/GraphExecutionEvent.cjs +0 -4
- package/lib/cjs/graph/engine/events/GraphExecutionEvent.cjs.map +0 -1
- package/lib/cjs/graph/engine/planning/GraphRelationResolver.cjs +0 -172
- package/lib/cjs/graph/engine/planning/GraphRelationResolver.cjs.map +0 -1
- package/lib/cjs/graph/shared/GraphExecutionStateMapper.cjs +0 -97
- package/lib/cjs/graph/shared/GraphExecutionStateMapper.cjs.map +0 -1
- package/lib/cjs/graph/shared/constants.cjs +0 -99
- package/lib/cjs/graph/shared/constants.cjs.map +0 -1
- package/lib/cjs/graph/shared/index.cjs +0 -46
- package/lib/cjs/graph/shared/index.cjs.map +0 -1
- package/lib/cjs/graph/shared/nodes/agent.cjs +0 -110
- package/lib/cjs/graph/shared/nodes/agent.cjs.map +0 -1
- package/lib/cjs/graph/shared/nodes/base.cjs +0 -36
- package/lib/cjs/graph/shared/nodes/base.cjs.map +0 -1
- package/lib/cjs/graph/shared/nodes/category-styles.cjs +0 -38
- package/lib/cjs/graph/shared/nodes/category-styles.cjs.map +0 -1
- package/lib/cjs/graph/shared/nodes/flow-control.cjs +0 -630
- package/lib/cjs/graph/shared/nodes/flow-control.cjs.map +0 -1
- package/lib/cjs/graph/shared/nodes/index.cjs +0 -35
- package/lib/cjs/graph/shared/nodes/index.cjs.map +0 -1
- package/lib/cjs/graph/shared/nodes/triggers.cjs +0 -250
- package/lib/cjs/graph/shared/nodes/triggers.cjs.map +0 -1
- package/lib/cjs/graph/shared/types.cjs.map +0 -1
- package/lib/esm/graph/engine/events/GraphExecutionEvent.js +0 -2
- package/lib/esm/graph/engine/events/GraphExecutionEvent.js.map +0 -1
- package/lib/esm/graph/engine/planning/GraphRelationResolver.js +0 -167
- package/lib/esm/graph/engine/planning/GraphRelationResolver.js.map +0 -1
- package/lib/esm/graph/shared/GraphExecutionStateMapper.js +0 -91
- package/lib/esm/graph/shared/GraphExecutionStateMapper.js.map +0 -1
- package/lib/esm/graph/shared/constants.js +0 -135
- package/lib/esm/graph/shared/constants.js.map +0 -1
- package/lib/esm/graph/shared/index.js +0 -25
- package/lib/esm/graph/shared/index.js.map +0 -1
- package/lib/esm/graph/shared/nodes/agent.js +0 -101
- package/lib/esm/graph/shared/nodes/agent.js.map +0 -1
- package/lib/esm/graph/shared/nodes/base.js +0 -31
- package/lib/esm/graph/shared/nodes/base.js.map +0 -1
- package/lib/esm/graph/shared/nodes/category-styles.js +0 -34
- package/lib/esm/graph/shared/nodes/category-styles.js.map +0 -1
- package/lib/esm/graph/shared/nodes/flow-control.js +0 -621
- package/lib/esm/graph/shared/nodes/flow-control.js.map +0 -1
- package/lib/esm/graph/shared/nodes/index.js +0 -18
- package/lib/esm/graph/shared/nodes/index.js.map +0 -1
- package/lib/esm/graph/shared/nodes/triggers.js +0 -241
- package/lib/esm/graph/shared/nodes/triggers.js.map +0 -1
- package/lib/esm/graph/shared/types.js.map +0 -1
- package/lib/types/graph/engine/events/GraphExecutionEvent.d.cts +0 -6
- package/lib/types/graph/engine/events/GraphExecutionEvent.d.mts +0 -6
- package/lib/types/graph/engine/planning/GraphRelationResolver.d.cts +0 -62
- package/lib/types/graph/engine/planning/GraphRelationResolver.d.mts +0 -62
- package/lib/types/graph/shared/GraphExecutionStateMapper.d.cts +0 -66
- package/lib/types/graph/shared/GraphExecutionStateMapper.d.mts +0 -66
- package/lib/types/graph/shared/constants.d.cts +0 -120
- package/lib/types/graph/shared/constants.d.mts +0 -120
- package/lib/types/graph/shared/index.d.cts +0 -21
- package/lib/types/graph/shared/index.d.mts +0 -21
- package/lib/types/graph/shared/nodes/agent.d.cts +0 -44
- package/lib/types/graph/shared/nodes/agent.d.mts +0 -44
- package/lib/types/graph/shared/nodes/base.d.cts +0 -28
- package/lib/types/graph/shared/nodes/base.d.mts +0 -28
- package/lib/types/graph/shared/nodes/category-styles.d.cts +0 -8
- package/lib/types/graph/shared/nodes/category-styles.d.mts +0 -8
- package/lib/types/graph/shared/nodes/flow-control.d.cts +0 -163
- package/lib/types/graph/shared/nodes/flow-control.d.mts +0 -163
- package/lib/types/graph/shared/nodes/index.d.cts +0 -17
- package/lib/types/graph/shared/nodes/index.d.mts +0 -17
- package/lib/types/graph/shared/nodes/triggers.d.cts +0 -53
- package/lib/types/graph/shared/nodes/triggers.d.mts +0 -53
- package/lib/types/graph/shared/types.d.cts +0 -257
- package/lib/types/graph/shared/types.d.mts +0 -257
- /package/lib/cjs/graph/{shared → engine/runs}/types.cjs +0 -0
- /package/lib/esm/graph/{shared → engine/runs}/types.js +0 -0
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GraphWorkflowDocumentValidator = exports.GRAPH_DOCUMENT_FORBIDDEN_FIELD_KEYS = exports.DEFAULT_GRAPH_WORKFLOW_VALIDATION_LIMITS = void 0;
|
|
4
|
+
exports.isGraphResolvedWorkflow = isGraphResolvedWorkflow;
|
|
5
|
+
const graph_1 = require("@decaf-ts/ui-decorators/graph");
|
|
6
|
+
const constants_js_1 = require("./../constants.cjs");
|
|
7
|
+
const GraphNodeInstanceValidator_js_1 = require("./GraphNodeInstanceValidator.cjs");
|
|
8
|
+
const GraphParameterValidator_js_1 = require("./GraphParameterValidator.cjs");
|
|
9
|
+
const GraphEdgeInstanceValidator_js_1 = require("./GraphEdgeInstanceValidator.cjs");
|
|
10
|
+
const GraphConnectionPolicyValidator_js_1 = require("./GraphConnectionPolicyValidator.cjs");
|
|
11
|
+
const GraphCredentialReferenceValidator_js_1 = require("./GraphCredentialReferenceValidator.cjs");
|
|
12
|
+
const GraphValidationErrors_js_1 = require("./GraphValidationErrors.cjs");
|
|
13
|
+
/**
|
|
14
|
+
* Default resource limits (technical governance delegates the numbers to
|
|
15
|
+
* implementation; these match the persistence boundary defaults).
|
|
16
|
+
*/
|
|
17
|
+
exports.DEFAULT_GRAPH_WORKFLOW_VALIDATION_LIMITS = {
|
|
18
|
+
maxDocumentBytes: 2_000_000,
|
|
19
|
+
maxNestingDepth: 10,
|
|
20
|
+
maxNodes: 500,
|
|
21
|
+
maxEdges: 1_000,
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Field keys that must never appear on a workflow document or any of its
|
|
25
|
+
* structural records: client input resembling node definitions, executors,
|
|
26
|
+
* authoritative ports, or frontend component definitions is rejected before
|
|
27
|
+
* kind resolution (the planner must never see raw definitions).
|
|
28
|
+
*/
|
|
29
|
+
exports.GRAPH_DOCUMENT_FORBIDDEN_FIELD_KEYS = [
|
|
30
|
+
"node",
|
|
31
|
+
"definition",
|
|
32
|
+
"executor",
|
|
33
|
+
"execute",
|
|
34
|
+
"ports",
|
|
35
|
+
"component",
|
|
36
|
+
];
|
|
37
|
+
/**
|
|
38
|
+
* Returns `true` when the value structurally looks like a resolved workflow
|
|
39
|
+
* (resolved node instances + resolved edges + lookup maps over a canonical
|
|
40
|
+
* document). Used as the planner's runtime input guard.
|
|
41
|
+
*/
|
|
42
|
+
function isGraphResolvedWorkflow(value) {
|
|
43
|
+
if (!value || typeof value !== "object")
|
|
44
|
+
return false;
|
|
45
|
+
const record = value;
|
|
46
|
+
return ((0, graph_1.isGraphWorkflowDocumentShape)(record["document"]) &&
|
|
47
|
+
Array.isArray(record["nodes"]) &&
|
|
48
|
+
Array.isArray(record["edges"]) &&
|
|
49
|
+
record["nodeById"] instanceof Map &&
|
|
50
|
+
record["incomingByNode"] instanceof Map &&
|
|
51
|
+
record["outgoingByNode"] instanceof Map &&
|
|
52
|
+
record["nodes"].every((node) => node !== null &&
|
|
53
|
+
typeof node === "object" &&
|
|
54
|
+
typeof node["instance"] === "object" &&
|
|
55
|
+
typeof node["manifest"] === "object" &&
|
|
56
|
+
typeof node["executor"] === "object"));
|
|
57
|
+
}
|
|
58
|
+
function forbiddenFieldIssues(record, path) {
|
|
59
|
+
const issues = [];
|
|
60
|
+
for (const key of Object.keys(record)) {
|
|
61
|
+
if (exports.GRAPH_DOCUMENT_FORBIDDEN_FIELD_KEYS.includes(key)) {
|
|
62
|
+
issues.push({
|
|
63
|
+
code: "document.forbidden-field",
|
|
64
|
+
path: `${path}.${key}`,
|
|
65
|
+
message: `Field '${key}' is not accepted in a canonical workflow document: node, definition, executor, execute, ports and component fields are rejected`,
|
|
66
|
+
details: { field: key },
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return issues;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* The nine-stage backend validation gate (DECAF-50 §4.8).
|
|
74
|
+
*
|
|
75
|
+
* Usage: `const result = await validator.validate(document);` — inspect
|
|
76
|
+
* `result.issues` (structured, in stage order) and `result.resolved` (present
|
|
77
|
+
* only when valid). Use {@link GraphWorkflowDocumentValidator.validateOrThrow}
|
|
78
|
+
* for the fail-fast engine path.
|
|
79
|
+
*/
|
|
80
|
+
class GraphWorkflowDocumentValidator {
|
|
81
|
+
constructor(options) {
|
|
82
|
+
this.options = options;
|
|
83
|
+
this.parameterValidator = new GraphParameterValidator_js_1.GraphParameterValidator();
|
|
84
|
+
this.edgeValidator = new GraphEdgeInstanceValidator_js_1.GraphEdgeInstanceValidator();
|
|
85
|
+
this.connectionPolicyValidator = new GraphConnectionPolicyValidator_js_1.GraphConnectionPolicyValidator();
|
|
86
|
+
this.nodeValidator = new GraphNodeInstanceValidator_js_1.GraphNodeInstanceValidator(options.catalogue);
|
|
87
|
+
this.credentialValidator = new GraphCredentialReferenceValidator_js_1.GraphCredentialReferenceValidator(options.credentialAuthorizer);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Fail-fast variant of {@link validate}: resolves the document or throws
|
|
91
|
+
* {@link GraphDocumentValidationError} carrying every structured issue.
|
|
92
|
+
*/
|
|
93
|
+
async validateOrThrow(document) {
|
|
94
|
+
const result = await this.validate(document);
|
|
95
|
+
if (!result.valid || !result.resolved) {
|
|
96
|
+
throw new GraphValidationErrors_js_1.GraphDocumentValidationError(`Graph workflow document '${document.id}' failed validation with ${result.issues.length} issue(s)`, result.issues);
|
|
97
|
+
}
|
|
98
|
+
return result.resolved;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Runs the nine validation stages in the exact normative order 1→9 and,
|
|
102
|
+
* when the document is fully valid, resolves it against the backend
|
|
103
|
+
* catalogue.
|
|
104
|
+
*
|
|
105
|
+
* @param document - The canonical workflow document to validate.
|
|
106
|
+
* @param depth - Current nesting depth (root is 0); enforced against
|
|
107
|
+
* `limits.maxNestingDepth` and used to guard recursive loop-body
|
|
108
|
+
* validation.
|
|
109
|
+
* @returns The validation result with accumulated issues and, when valid,
|
|
110
|
+
* the resolved workflow.
|
|
111
|
+
*/
|
|
112
|
+
async validate(document, depth = 0) {
|
|
113
|
+
const issues = [];
|
|
114
|
+
const limits = {
|
|
115
|
+
...exports.DEFAULT_GRAPH_WORKFLOW_VALIDATION_LIMITS,
|
|
116
|
+
...this.options.limits,
|
|
117
|
+
};
|
|
118
|
+
// ------------------------------------------------------------------
|
|
119
|
+
// Stage 1 — workflow structure.
|
|
120
|
+
// ------------------------------------------------------------------
|
|
121
|
+
if (!(await this.validateStructure(document, limits, depth, issues))) {
|
|
122
|
+
return { valid: false, issues };
|
|
123
|
+
}
|
|
124
|
+
// ------------------------------------------------------------------
|
|
125
|
+
// Stage 2 — kind resolution (trusted backend catalogue).
|
|
126
|
+
// ------------------------------------------------------------------
|
|
127
|
+
const nodeById = await this.nodeValidator.resolveNodes(document.nodes, issues, this.options.resolutionContext);
|
|
128
|
+
const resolvedNodes = document.nodes
|
|
129
|
+
.filter((node) => nodeById.has(node.id))
|
|
130
|
+
.map((node) => nodeById.get(node.id));
|
|
131
|
+
// ------------------------------------------------------------------
|
|
132
|
+
// Stage 3 — parameters (declared-ness, required presence, typing,
|
|
133
|
+
// metadata keys, disabled behavior, binding shapes).
|
|
134
|
+
// ------------------------------------------------------------------
|
|
135
|
+
for (const node of resolvedNodes) {
|
|
136
|
+
this.parameterValidator.validate(node.instance, node.manifest, issues, `nodes[${node.instance.id}]`);
|
|
137
|
+
}
|
|
138
|
+
// ------------------------------------------------------------------
|
|
139
|
+
// Stage 4 — dynamic ports (binding ids refer to effective ports).
|
|
140
|
+
// ------------------------------------------------------------------
|
|
141
|
+
for (const node of resolvedNodes) {
|
|
142
|
+
this.nodeValidator.validateEffectivePorts(node.instance, node.manifest, issues, `nodes[${node.instance.id}]`);
|
|
143
|
+
}
|
|
144
|
+
// ------------------------------------------------------------------
|
|
145
|
+
// Stage 5 — edge endpoints (existence, direction, type compatibility,
|
|
146
|
+
// boundary routing). Produces the flattened resolved edges.
|
|
147
|
+
// ------------------------------------------------------------------
|
|
148
|
+
const edges = this.edgeValidator.resolveEdges(document, nodeById, issues);
|
|
149
|
+
const incomingByNode = new Map();
|
|
150
|
+
const outgoingByNode = new Map();
|
|
151
|
+
for (const edge of edges) {
|
|
152
|
+
if (edge.targetNodeId !== constants_js_1.GRAPH_WORKFLOW_BOUNDARY) {
|
|
153
|
+
const incoming = incomingByNode.get(edge.targetNodeId) ?? [];
|
|
154
|
+
incoming.push(edge);
|
|
155
|
+
incomingByNode.set(edge.targetNodeId, incoming);
|
|
156
|
+
}
|
|
157
|
+
if (edge.sourceNodeId !== constants_js_1.GRAPH_WORKFLOW_BOUNDARY) {
|
|
158
|
+
const outgoing = outgoingByNode.get(edge.sourceNodeId) ?? [];
|
|
159
|
+
outgoing.push(edge);
|
|
160
|
+
outgoingByNode.set(edge.sourceNodeId, outgoing);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
// ------------------------------------------------------------------
|
|
164
|
+
// Stage 6 — connection policies and counts.
|
|
165
|
+
// ------------------------------------------------------------------
|
|
166
|
+
this.connectionPolicyValidator.validate({ edges, nodeById }, issues);
|
|
167
|
+
// ------------------------------------------------------------------
|
|
168
|
+
// Stage 7 — topology (acyclicity, binding satisfaction, required-value
|
|
169
|
+
// satisfiability). Loop-body graphs are validated recursively at stage 1
|
|
170
|
+
// and are therefore independently acyclic.
|
|
171
|
+
// ------------------------------------------------------------------
|
|
172
|
+
this.validateAcyclicity(resolvedNodes, edges, document, issues);
|
|
173
|
+
for (const node of resolvedNodes) {
|
|
174
|
+
this.parameterValidator.validateBindingSatisfaction(node.instance, node.manifest, incomingByNode.get(node.instance.id) ?? [], issues, `nodes[${node.instance.id}]`, { allowLiteralAndEdgeBindings: this.options.allowLiteralAndEdgeBindings });
|
|
175
|
+
}
|
|
176
|
+
this.validateRequiredWorkflowOutputs(document, outgoingByNode, issues);
|
|
177
|
+
// ------------------------------------------------------------------
|
|
178
|
+
// Stage 8 — credential-reference authorization.
|
|
179
|
+
// ------------------------------------------------------------------
|
|
180
|
+
for (const node of resolvedNodes) {
|
|
181
|
+
await this.credentialValidator.validate(node.instance, node.manifest, issues, `nodes[${node.instance.id}]`);
|
|
182
|
+
}
|
|
183
|
+
// ------------------------------------------------------------------
|
|
184
|
+
// Stage 9 — capability validation.
|
|
185
|
+
// ------------------------------------------------------------------
|
|
186
|
+
this.validateCapabilities(resolvedNodes, issues);
|
|
187
|
+
if (issues.length > 0) {
|
|
188
|
+
return { valid: false, issues };
|
|
189
|
+
}
|
|
190
|
+
const resolved = {
|
|
191
|
+
document,
|
|
192
|
+
nodes: resolvedNodes,
|
|
193
|
+
edges,
|
|
194
|
+
nodeById,
|
|
195
|
+
incomingByNode,
|
|
196
|
+
outgoingByNode,
|
|
197
|
+
};
|
|
198
|
+
return { valid: true, issues, resolved };
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Stage 1 — document structure. Returns `true` when the document is
|
|
202
|
+
* structurally sound enough to continue (shape and JSON safety are
|
|
203
|
+
* hard preconditions); all other findings accumulate as issues.
|
|
204
|
+
*/
|
|
205
|
+
async validateStructure(document, limits, depth, issues) {
|
|
206
|
+
if (!(0, graph_1.isGraphWorkflowDocumentShape)(document)) {
|
|
207
|
+
issues.push({
|
|
208
|
+
code: "document.shape",
|
|
209
|
+
path: "$",
|
|
210
|
+
message: "Payload is not a canonical GraphWorkflowDocument: id and name must be strings and inputs, outputs, nodes and edges must be arrays",
|
|
211
|
+
});
|
|
212
|
+
return false;
|
|
213
|
+
}
|
|
214
|
+
if (!document.id || !document.id.trim()) {
|
|
215
|
+
issues.push({
|
|
216
|
+
code: "document.empty-id",
|
|
217
|
+
path: "$.id",
|
|
218
|
+
message: "Workflow document id must be a non-empty string",
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
if (!(0, graph_1.isGraphJsonSafeValue)(document)) {
|
|
222
|
+
issues.push({
|
|
223
|
+
code: "document.json-unsafe",
|
|
224
|
+
path: "$",
|
|
225
|
+
message: "Document contains JSON-unsafe values: functions, class instances, undefined, NaN/Infinity, symbol keys and unsafe prototype keys are rejected",
|
|
226
|
+
});
|
|
227
|
+
return false;
|
|
228
|
+
}
|
|
229
|
+
// Forbidden fields (raw definitions/executors must never enter planning).
|
|
230
|
+
issues.push(...forbiddenFieldIssues(document, "$"));
|
|
231
|
+
for (const port of [...document.inputs, ...document.outputs]) {
|
|
232
|
+
issues.push(...forbiddenFieldIssues(port, "ports"));
|
|
233
|
+
}
|
|
234
|
+
for (const node of document.nodes) {
|
|
235
|
+
issues.push(...forbiddenFieldIssues(node, `nodes[${node.id}]`));
|
|
236
|
+
}
|
|
237
|
+
for (const edge of document.edges) {
|
|
238
|
+
issues.push(...forbiddenFieldIssues(edge, `edges[${edge.id}]`));
|
|
239
|
+
}
|
|
240
|
+
this.validateUniqueIds(document, issues);
|
|
241
|
+
this.validateLimits(document, limits, depth, issues);
|
|
242
|
+
try {
|
|
243
|
+
(0, graph_1.assertGraphWorkflowDocumentValid)(document);
|
|
244
|
+
}
|
|
245
|
+
catch (e) {
|
|
246
|
+
issues.push({
|
|
247
|
+
code: "document.structure",
|
|
248
|
+
path: "$",
|
|
249
|
+
message: e instanceof Error ? e.message : String(e),
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
// Recursive nested-workflow validation: every loop body is itself a
|
|
253
|
+
// canonical document and runs through the same nine stages.
|
|
254
|
+
await this.validateNestedBodies(document, depth, issues);
|
|
255
|
+
return true;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Stage 1 — unique node, edge, workflow-input and workflow-output ids.
|
|
259
|
+
*/
|
|
260
|
+
validateUniqueIds(document, issues) {
|
|
261
|
+
const inputIds = new Set();
|
|
262
|
+
const outputIds = new Set();
|
|
263
|
+
for (const [scope, ports] of [
|
|
264
|
+
["input", document.inputs],
|
|
265
|
+
["output", document.outputs],
|
|
266
|
+
]) {
|
|
267
|
+
const seen = scope === "input" ? inputIds : outputIds;
|
|
268
|
+
for (const port of ports) {
|
|
269
|
+
if (seen.has(port.id)) {
|
|
270
|
+
issues.push({
|
|
271
|
+
code: "document.duplicate-port-id",
|
|
272
|
+
path: `${scope === "input" ? "inputs" : "outputs"}[${port.id}]`,
|
|
273
|
+
message: `Workflow ${scope} port '${port.id}' is declared more than once; workflow port ids must be unique`,
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
else {
|
|
277
|
+
seen.add(port.id);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
const nodeIds = new Set();
|
|
282
|
+
for (const node of document.nodes) {
|
|
283
|
+
if (nodeIds.has(node.id)) {
|
|
284
|
+
issues.push({
|
|
285
|
+
code: "document.duplicate-node-id",
|
|
286
|
+
path: `nodes[${node.id}]`,
|
|
287
|
+
message: `Node '${node.id}' is declared more than once; node ids must be unique`,
|
|
288
|
+
nodeId: node.id,
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
else {
|
|
292
|
+
nodeIds.add(node.id);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
const edgeIds = new Set();
|
|
296
|
+
for (const edge of document.edges) {
|
|
297
|
+
if (edgeIds.has(edge.id)) {
|
|
298
|
+
issues.push({
|
|
299
|
+
code: "document.duplicate-edge-id",
|
|
300
|
+
path: `edges[${edge.id}]`,
|
|
301
|
+
message: `Edge '${edge.id}' is declared more than once; edge ids must be unique`,
|
|
302
|
+
edgeId: edge.id,
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
else {
|
|
306
|
+
edgeIds.add(edge.id);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Stage 1 — backend-enforced configurable limits: document size, nesting
|
|
312
|
+
* depth, node count, edge count.
|
|
313
|
+
*/
|
|
314
|
+
validateLimits(document, limits, depth, issues) {
|
|
315
|
+
if (document.nodes.length > limits.maxNodes) {
|
|
316
|
+
issues.push({
|
|
317
|
+
code: "document.limit.nodes",
|
|
318
|
+
path: "$.nodes",
|
|
319
|
+
message: `Document declares ${document.nodes.length} nodes; at most ${limits.maxNodes} are allowed`,
|
|
320
|
+
details: { count: document.nodes.length, limit: limits.maxNodes },
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
if (document.edges.length > limits.maxEdges) {
|
|
324
|
+
issues.push({
|
|
325
|
+
code: "document.limit.edges",
|
|
326
|
+
path: "$.edges",
|
|
327
|
+
message: `Document declares ${document.edges.length} edges; at most ${limits.maxEdges} are allowed`,
|
|
328
|
+
details: { count: document.edges.length, limit: limits.maxEdges },
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
if (depth > limits.maxNestingDepth) {
|
|
332
|
+
issues.push({
|
|
333
|
+
code: "document.limit.depth",
|
|
334
|
+
path: "$",
|
|
335
|
+
message: `Document nests loop bodies ${depth} levels deep; at most ${limits.maxNestingDepth} levels are allowed`,
|
|
336
|
+
details: { depth, limit: limits.maxNestingDepth },
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
const bytes = Buffer.byteLength(JSON.stringify(document), "utf8");
|
|
340
|
+
if (bytes > limits.maxDocumentBytes) {
|
|
341
|
+
issues.push({
|
|
342
|
+
code: "document.limit.size",
|
|
343
|
+
path: "$",
|
|
344
|
+
message: `Document serializes to ${bytes} bytes; at most ${limits.maxDocumentBytes} bytes are allowed`,
|
|
345
|
+
details: { bytes, limit: limits.maxDocumentBytes },
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Stage 1 — recursive nested-workflow validation. Every loop body runs
|
|
351
|
+
* through the full nine-stage gate; nested issues are merged with a path
|
|
352
|
+
* prefix identifying the owning loop node.
|
|
353
|
+
*/
|
|
354
|
+
async validateNestedBodies(document, depth, issues) {
|
|
355
|
+
for (const node of document.nodes) {
|
|
356
|
+
const body = node.loop?.body;
|
|
357
|
+
if (!body)
|
|
358
|
+
continue;
|
|
359
|
+
const nested = await this.validate(body, depth + 1);
|
|
360
|
+
for (const issue of nested.issues) {
|
|
361
|
+
issues.push({
|
|
362
|
+
...issue,
|
|
363
|
+
path: `nodes[${node.id}].loop.body.${issue.path}`,
|
|
364
|
+
nodeId: issue.nodeId ?? node.id,
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* Stage 7 — acyclicity (DECAF-32 preserved). Kahn's algorithm over the
|
|
371
|
+
* resolved executable nodes; connection and data edges both count as
|
|
372
|
+
* dependencies. Loop constructs are excepted because their bodies are
|
|
373
|
+
* separate nested documents, validated recursively.
|
|
374
|
+
*/
|
|
375
|
+
validateAcyclicity(nodes, edges, document, issues) {
|
|
376
|
+
const nodeIds = new Set(nodes.map((node) => node.instance.id));
|
|
377
|
+
const indegree = new Map(nodes.map((node) => [node.instance.id, 0]));
|
|
378
|
+
for (const edge of edges) {
|
|
379
|
+
if (nodeIds.has(edge.sourceNodeId) &&
|
|
380
|
+
indegree.has(edge.targetNodeId)) {
|
|
381
|
+
indegree.set(edge.targetNodeId, (indegree.get(edge.targetNodeId) ?? 0) + 1);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
const queue = [...indegree.entries()]
|
|
385
|
+
.filter(([, degree]) => degree === 0)
|
|
386
|
+
.map(([id]) => id);
|
|
387
|
+
const ordered = [];
|
|
388
|
+
while (queue.length > 0) {
|
|
389
|
+
const current = queue.shift();
|
|
390
|
+
ordered.push(current);
|
|
391
|
+
for (const edge of edges) {
|
|
392
|
+
if (edge.sourceNodeId !== current)
|
|
393
|
+
continue;
|
|
394
|
+
if (!indegree.has(edge.targetNodeId))
|
|
395
|
+
continue;
|
|
396
|
+
const degree = (indegree.get(edge.targetNodeId) ?? 1) - 1;
|
|
397
|
+
indegree.set(edge.targetNodeId, degree);
|
|
398
|
+
if (degree === 0)
|
|
399
|
+
queue.push(edge.targetNodeId);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
if (ordered.length !== indegree.size) {
|
|
403
|
+
const cyclic = [...indegree.keys()].filter((id) => !ordered.includes(id));
|
|
404
|
+
issues.push({
|
|
405
|
+
code: "topology.cycle",
|
|
406
|
+
path: "$.edges",
|
|
407
|
+
message: `Workflow '${document.id}' contains an unsupported cycle involving node(s): ${cyclic.join(", ")}`,
|
|
408
|
+
details: { cyclicNodes: cyclic },
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* Stage 7 — required values must be satisfiable: every required workflow
|
|
414
|
+
* output port must be routable from at least one node output.
|
|
415
|
+
*/
|
|
416
|
+
validateRequiredWorkflowOutputs(document, outgoingByNode, issues) {
|
|
417
|
+
const routedOutputs = new Set();
|
|
418
|
+
for (const edges of outgoingByNode.values()) {
|
|
419
|
+
for (const edge of edges) {
|
|
420
|
+
if (edge.targetNodeId === constants_js_1.GRAPH_WORKFLOW_BOUNDARY) {
|
|
421
|
+
routedOutputs.add(edge.targetPort);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
for (const port of document.outputs) {
|
|
426
|
+
if (port.required !== true)
|
|
427
|
+
continue;
|
|
428
|
+
if (port.defaultValue !== undefined)
|
|
429
|
+
continue;
|
|
430
|
+
if (!routedOutputs.has(port.id)) {
|
|
431
|
+
issues.push({
|
|
432
|
+
code: "topology.required-output-unsatisfiable",
|
|
433
|
+
path: `outputs[${port.id}]`,
|
|
434
|
+
message: `Required workflow output '${port.id}' has no incoming edge from any node`,
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* Stage 9 — capability validation. Declared manifest capabilities must be
|
|
441
|
+
* known values, and document features that require a capability may only be
|
|
442
|
+
* used on kinds declaring it (loop configuration requires the `loop`
|
|
443
|
+
* capability). Lenient transition manifests (legacy executor-only
|
|
444
|
+
* registrations) are exempt until cutover (§4.18).
|
|
445
|
+
*/
|
|
446
|
+
validateCapabilities(nodes, issues) {
|
|
447
|
+
for (const node of nodes) {
|
|
448
|
+
const manifest = node.manifest;
|
|
449
|
+
for (const capability of manifest.capabilities ?? []) {
|
|
450
|
+
if (!(0, graph_1.isGraphNodeCapability)(capability)) {
|
|
451
|
+
issues.push({
|
|
452
|
+
code: "capability.invalid",
|
|
453
|
+
path: `nodes[${node.instance.id}]`,
|
|
454
|
+
message: `Kind '${manifest.kind}' declares unknown capability '${String(capability)}'`,
|
|
455
|
+
nodeId: node.instance.id,
|
|
456
|
+
details: { capability: String(capability) },
|
|
457
|
+
});
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
if (manifest.policies?.allowUndeclaredParameters === true)
|
|
461
|
+
continue;
|
|
462
|
+
if (node.instance.loop) {
|
|
463
|
+
const hasLoopCapability = (manifest.capabilities ?? []).includes("loop");
|
|
464
|
+
if (!hasLoopCapability) {
|
|
465
|
+
issues.push({
|
|
466
|
+
code: "capability.loop-not-supported",
|
|
467
|
+
path: `nodes[${node.instance.id}].loop`,
|
|
468
|
+
message: `Node '${node.instance.id}' carries loop configuration but kind '${manifest.kind}' does not declare the 'loop' capability`,
|
|
469
|
+
nodeId: node.instance.id,
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
exports.GraphWorkflowDocumentValidator = GraphWorkflowDocumentValidator;
|
|
477
|
+
//# sourceMappingURL=GraphWorkflowDocumentValidator.js.map
|
|
478
|
+
//# sourceMappingURL=GraphWorkflowDocumentValidator.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph/engine/validation/GraphWorkflowDocumentValidator.cjs","sourceRoot":"","sources":["graph/engine/validation/GraphWorkflowDocumentValidator.js"],"names":[],"mappings":";;;AAqCA,0DAeC;AApDD,yDAA6J;AAC7J,oDAA4D;AAC5D,mFAA6E;AAC7E,6EAAuE;AACvE,mFAA6E;AAC7E,2FAAqF;AACrF,i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AAU,CAAC,GAAG;wBACtF,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE;wBACxB,OAAO,EAAE,EAAE,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC,EAAE;qBAC9C,CAAC,CAAC;gBACP,CAAC;YACL,CAAC;YACD,IAAI,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,KAAK,IAAI;gBACrD,SAAS;YACb,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;gBACrB,MAAM,iBAAiB,GAAG,CAAC,QAAQ,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;gBACzE,IAAI,CAAC,iBAAiB,EAAE,CAAC;oBACrB,MAAM,CAAC,IAAI,CAAC;wBACR,IAAI,EAAE,+BAA+B;wBACrC,IAAI,EAAE,SAAS,IAAI,CAAC,QAAQ,CAAC,EAAE,QAAQ;wBACvC,OAAO,EAAE,SAAS,IAAI,CAAC,QAAQ,CAAC,EAAE,0CAA0C,QAAQ,CAAC,IAAI,0CAA0C;wBACnI,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE;qBAC3B,CAAC,CAAC;gBACP,CAAC;YACL,CAAC;QACL,CAAC;IACL,CAAC;CACJ;AA3YD,wEA2YC;AACD,0DAA0D"}
|
|
@@ -17,10 +17,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/**
|
|
18
18
|
* @module integrations/graph/validation
|
|
19
19
|
* @summary Graph validation utilities.
|
|
20
|
-
* @description Re-exports the definition
|
|
20
|
+
* @description Re-exports the legacy definition/port/value validators plus
|
|
21
|
+
* the DECAF-50 §4.8 nine-stage document validation gate, structured issues,
|
|
22
|
+
* resolved-workflow types, and the normative validation error hierarchy.
|
|
21
23
|
*/
|
|
22
24
|
__exportStar(require("./GraphDefinitionValidator.cjs"), exports);
|
|
23
25
|
__exportStar(require("./GraphPortSchemaResolver.cjs"), exports);
|
|
24
26
|
__exportStar(require("./GraphValueValidator.cjs"), exports);
|
|
27
|
+
__exportStar(require("./GraphValidationIssue.cjs"), exports);
|
|
28
|
+
__exportStar(require("./GraphValidationErrors.cjs"), exports);
|
|
29
|
+
__exportStar(require("./GraphResolvedWorkflow.cjs"), exports);
|
|
30
|
+
__exportStar(require("./GraphNodeInstanceValidator.cjs"), exports);
|
|
31
|
+
__exportStar(require("./GraphParameterValidator.cjs"), exports);
|
|
32
|
+
__exportStar(require("./GraphEdgeInstanceValidator.cjs"), exports);
|
|
33
|
+
__exportStar(require("./GraphConnectionPolicyValidator.cjs"), exports);
|
|
34
|
+
__exportStar(require("./GraphCredentialReferenceValidator.cjs"), exports);
|
|
35
|
+
__exportStar(require("./GraphWorkflowDocumentValidator.cjs"), exports);
|
|
25
36
|
//# sourceMappingURL=index.js.map
|
|
26
37
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph/engine/validation/index.cjs","sourceRoot":"","sources":["graph/engine/validation/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"graph/engine/validation/index.cjs","sourceRoot":"","sources":["graph/engine/validation/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;GAMG;AACH,gEAA8C;AAC9C,+DAA6C;AAC7C,2DAAyC;AACzC,4DAA0C;AAC1C,6DAA2C;AAC3C,6DAA2C;AAC3C,kEAAgD;AAChD,+DAA6C;AAC7C,kEAAgD;AAChD,sEAAoD;AACpD,yEAAuD;AACvD,sEAAoD;AACpD,iCAAiC"}
|
package/lib/cjs/graph/index.cjs
CHANGED
|
@@ -17,12 +17,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/**
|
|
18
18
|
* @module integrations/graph
|
|
19
19
|
* @summary Decaf Graph Execution Engine (backend convenience export).
|
|
20
|
-
* @description Re-exports `./engine
|
|
21
|
-
* (frontend-safe declarations) plus all engine modules. Backend consumers
|
|
20
|
+
* @description Re-exports `./engine` (all engine modules). Backend consumers
|
|
22
21
|
* import from `@decaf-ts/integrations/graph` and get a single unified surface.
|
|
23
22
|
*
|
|
24
|
-
* Frontend
|
|
25
|
-
*
|
|
23
|
+
* Frontend-safe shared declarations (node kinds, types, constants) live in
|
|
24
|
+
* `@decaf-ts/ui-decorators/graph` — frontend bundles MUST import from there
|
|
25
|
+
* to avoid pulling in the execution engine.
|
|
26
26
|
*/
|
|
27
27
|
require("./log/LogParameters.cjs");
|
|
28
28
|
__exportStar(require("./engine/index.cjs"), exports);
|
|
@@ -12,7 +12,7 @@ exports.GraphRunLogger = void 0;
|
|
|
12
12
|
* `/graph/events` pipeline (no second out-of-band channel).
|
|
13
13
|
*/
|
|
14
14
|
const logging_1 = require("@decaf-ts/logging");
|
|
15
|
-
const
|
|
15
|
+
const graph_1 = require("@decaf-ts/ui-decorators/graph");
|
|
16
16
|
/**
|
|
17
17
|
* Logger used by graph node executors (`ctx.logger`).
|
|
18
18
|
*
|
|
@@ -33,10 +33,10 @@ class GraphRunLogger {
|
|
|
33
33
|
*/
|
|
34
34
|
attributeConfig(options) {
|
|
35
35
|
return {
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
36
|
+
[graph_1.GraphLogAttribute.NODE_ID]: options.nodeId,
|
|
37
|
+
[graph_1.GraphLogAttribute.WORKFLOW_ID]: options.workflowId,
|
|
38
|
+
[graph_1.GraphLogAttribute.RUN_ID]: options.runId,
|
|
39
|
+
[graph_1.GraphLogAttribute.USER]: options.user ?? null,
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
/** Emits a structured log entry synchronously (forward is fire-and-forget). */
|
|
@@ -57,7 +57,7 @@ class GraphRunLogger {
|
|
|
57
57
|
payload: meta,
|
|
58
58
|
};
|
|
59
59
|
this.baseOptions.forward({
|
|
60
|
-
type:
|
|
60
|
+
type: graph_1.GraphExecutionEventType.GRAPH_RUN_LOG,
|
|
61
61
|
payload: entry,
|
|
62
62
|
}).catch(() => {
|
|
63
63
|
// Log forwarding must never crash node execution.
|
|
@@ -117,6 +117,10 @@ class GraphRunLogger {
|
|
|
117
117
|
this.emit("debug", msg, meta);
|
|
118
118
|
}
|
|
119
119
|
/** @inheritdoc */
|
|
120
|
+
action(action, message, code, ...rest) {
|
|
121
|
+
this.inner.action(action, message, code, ...rest);
|
|
122
|
+
}
|
|
123
|
+
/** @inheritdoc */
|
|
120
124
|
setConfig() {
|
|
121
125
|
// Configuration is owned by the wrapped MiniLogger; nothing to apply.
|
|
122
126
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph/log/GraphRunLogger.cjs","sourceRoot":"","sources":["graph/log/GraphRunLogger.js"],"names":[],"mappings":";;;AAAA;;;;;;;;;GASG;AACH,+CAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"graph/log/GraphRunLogger.cjs","sourceRoot":"","sources":["graph/log/GraphRunLogger.js"],"names":[],"mappings":";;;AAAA;;;;;;;;;GASG;AACH,+CAA4C;AAC5C,yDAA4F;AAC5F;;;;;;;;GAQG;AACH,MAAa,cAAc;IACvB,YAAY,OAAO;QACf,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC;QAC3B,IAAI,CAAC,KAAK,GAAG,iBAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC;IAC5E,CAAC;IACD;;;OAGG;IACH,eAAe,CAAC,OAAO;QACnB,OAAO;YACH,CAAC,yBAAiB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,MAAM;YAC3C,CAAC,yBAAiB,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,UAAU;YACnD,CAAC,yBAAiB,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK;YACzC,CAAC,yBAAiB,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,IAAI,IAAI,IAAI;SACjD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