@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
|
@@ -1,15 +1,32 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module integrations/graph/execution/GraphExecutionEngine
|
|
3
|
-
* @summary Reference graph execution engine.
|
|
4
|
-
* @description Executes
|
|
3
|
+
* @summary Reference graph execution engine (DECAF-50 §4.9).
|
|
4
|
+
* @description Executes canonical {@link GraphWorkflowDocument}s. The public
|
|
5
|
+
* `execute(document, inputs, options)` entrypoint performs resolution
|
|
6
|
+
* internally: the document runs through the nine-stage §4.8 validation gate
|
|
7
|
+
* (structured issue accumulation), is resolved against the trusted backend
|
|
8
|
+
* catalogue into a {@link GraphResolvedWorkflow}, planned by the
|
|
9
|
+
* {@link GraphExecutionPlanner} (resolved workflows only — never raw
|
|
10
|
+
* definitions), and executed layer by layer. Node inputs are built from
|
|
11
|
+
* routed edges, literal bindings, allowed expressions, manifest defaults,
|
|
12
|
+
* and node parameters; configuration and input data are separated in the
|
|
13
|
+
* {@link GraphNodeExecutionRequest}. Executor outputs are validated against
|
|
14
|
+
* the effective output manifest. Disabled nodes follow the explicit
|
|
15
|
+
* {@link GraphDisabledNodeBehavior} semantics. Events are emitted through
|
|
16
|
+
* Decaf's Observable pipeline, including the DECAF-48 §4.4 visual-state
|
|
17
|
+
* events and the `graph.run.log` run-log channel.
|
|
5
18
|
*/
|
|
6
19
|
import type { Observable } from "@decaf-ts/core";
|
|
7
|
-
import type {
|
|
8
|
-
import type { GraphExecutionEvent
|
|
20
|
+
import type { GraphWorkflowDocument } from "@decaf-ts/ui-decorators/graph";
|
|
21
|
+
import type { GraphExecutionEvent } from "@decaf-ts/ui-decorators/graph";
|
|
22
|
+
import type { GraphExecutionOptions, GraphExecutionResult, GraphExecutionValues, GraphPinNodeOptions, GraphUnpinNodeOptions } from "../types.d.mts";
|
|
9
23
|
import type { GraphExecutionObserver } from "../events/GraphExecutionObserver.d.mts";
|
|
10
24
|
import { GraphExecutionEventEmitter } from "../events/GraphExecutionEventEmitter.d.mts";
|
|
11
25
|
import type { GraphNodeExecutorRegistry } from "../registry/GraphNodeExecutorRegistry.d.mts";
|
|
26
|
+
import type { GraphNodeCatalogue } from "../catalog/GraphNodeCatalogue.d.mts";
|
|
12
27
|
import { GraphExecutionPlanner } from "../planning/GraphExecutionPlanner.d.mts";
|
|
28
|
+
import { GraphWorkflowDocumentValidator, type GraphWorkflowDocumentValidationLimits } from "../validation/GraphWorkflowDocumentValidator.d.mts";
|
|
29
|
+
import type { GraphCredentialAuthorizer } from "../validation/GraphCredentialReferenceValidator.d.mts";
|
|
13
30
|
import type { GraphValueStoreAdapter } from "../store/GraphValueStoreAdapter.d.mts";
|
|
14
31
|
import type { CodeSandboxEvaluator } from "./CodeSandboxEvaluator.d.mts";
|
|
15
32
|
/**
|
|
@@ -17,15 +34,27 @@ import type { CodeSandboxEvaluator } from "./CodeSandboxEvaluator.d.mts";
|
|
|
17
34
|
*/
|
|
18
35
|
export interface GraphExecutionEngineConfig {
|
|
19
36
|
registry: GraphNodeExecutorRegistry;
|
|
37
|
+
/**
|
|
38
|
+
* Trusted backend kind catalogue. Defaults to the registry facade's
|
|
39
|
+
* catalogue; required for the nine-stage document validation gate.
|
|
40
|
+
*/
|
|
41
|
+
catalogue?: GraphNodeCatalogue;
|
|
42
|
+
/** Optional pre-configured document validator (overrides catalogue/limits). */
|
|
43
|
+
documentValidator?: GraphWorkflowDocumentValidator;
|
|
44
|
+
/** Backend-enforced document resource limits (§4.8 stage 1). */
|
|
45
|
+
documentLimits?: GraphWorkflowDocumentValidationLimits;
|
|
46
|
+
/** Pluggable credential existence/authorization hook (§4.8 stage 8). */
|
|
47
|
+
credentialAuthorizer?: GraphCredentialAuthorizer;
|
|
20
48
|
planner?: GraphExecutionPlanner;
|
|
21
49
|
valueStoreAdapter?: GraphValueStoreAdapter;
|
|
22
50
|
eventEmitter?: GraphExecutionEventEmitter;
|
|
23
51
|
defaultOptions?: Partial<GraphExecutionOptions>;
|
|
24
52
|
/**
|
|
25
|
-
* Optional pluggable code sandbox evaluator for code-based conditions
|
|
26
|
-
* (DECAF-32 §22.4). When absent, code conditions
|
|
27
|
-
* `GRAPH_CODE_SANDBOX_NOT_CONFIGURED`.
|
|
28
|
-
* supply the actual VM sandbox
|
|
53
|
+
* Optional pluggable code sandbox evaluator for code-based conditions and
|
|
54
|
+
* expression bindings (DECAF-32 §22.4). When absent, code conditions and
|
|
55
|
+
* expression bindings throw `GRAPH_CODE_SANDBOX_NOT_CONFIGURED`.
|
|
56
|
+
* Downstream projects (e.g. ALFRED) supply the actual VM sandbox
|
|
57
|
+
* implementation.
|
|
29
58
|
*/
|
|
30
59
|
codeSandboxEvaluator?: CodeSandboxEvaluator;
|
|
31
60
|
/**
|
|
@@ -39,19 +68,27 @@ export interface GraphExecutionEngineConfig {
|
|
|
39
68
|
/**
|
|
40
69
|
* Reference graph execution engine.
|
|
41
70
|
*
|
|
42
|
-
* Executes a {@link
|
|
43
|
-
* 1.
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
71
|
+
* Executes a canonical {@link GraphWorkflowDocument} by:
|
|
72
|
+
* 1. Validating it through the nine-stage gate and resolving it against the
|
|
73
|
+
* backend catalogue (§4.8).
|
|
74
|
+
* 2. Planning the resolved workflow into topological layers (§4.9).
|
|
75
|
+
* 3. Seeding workflow inputs into the value store.
|
|
76
|
+
* 4. Executing nodes layer-by-layer with configurable concurrency, honouring
|
|
77
|
+
* disabled-node semantics.
|
|
78
|
+
* 5. Building node inputs from routed edges, literal bindings, allowed
|
|
79
|
+
* expressions, and manifest defaults; keeping configuration (parameters,
|
|
80
|
+
* credentials) separate from input data.
|
|
81
|
+
* 6. Validating executor outputs against the effective output manifest.
|
|
82
|
+
* 7. Routing values along data edges.
|
|
83
|
+
* 8. Emitting structured events through Decaf's Observable pipeline.
|
|
84
|
+
* 9. Returning a complete {@link GraphExecutionResult}.
|
|
49
85
|
*/
|
|
50
86
|
export declare class GraphExecutionEngine implements Observable<[GraphExecutionObserver], [GraphExecutionEvent]> {
|
|
51
87
|
private readonly emitter;
|
|
52
88
|
private readonly planner;
|
|
53
89
|
private readonly valueStoreAdapter;
|
|
54
90
|
private readonly defaultOptions;
|
|
91
|
+
private readonly documentValidator;
|
|
55
92
|
/** Pluggable code sandbox evaluator (§22.4); may be undefined. */
|
|
56
93
|
readonly codeSandboxEvaluator?: CodeSandboxEvaluator;
|
|
57
94
|
constructor(config: GraphExecutionEngineConfig);
|
|
@@ -76,15 +113,22 @@ export declare class GraphExecutionEngine implements Observable<[GraphExecutionO
|
|
|
76
113
|
*/
|
|
77
114
|
updateObservers(event: GraphExecutionEvent): Promise<void>;
|
|
78
115
|
/**
|
|
79
|
-
* Executes a workflow with the given inputs and options.
|
|
116
|
+
* Executes a canonical workflow document with the given inputs and options.
|
|
80
117
|
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
118
|
+
* Resolution happens internally (DECAF-50 §4.9): the document is validated
|
|
119
|
+
* through the nine-stage gate and resolved against the backend catalogue
|
|
120
|
+
* before planning. Decorated `GraphWorkflowDefinition` objects are NOT
|
|
121
|
+
* accepted — compile them with the §4.18 transition compiler first.
|
|
122
|
+
*
|
|
123
|
+
* @param document - The canonical workflow document to execute.
|
|
124
|
+
* @param inputs - Workflow input values keyed by input port id.
|
|
83
125
|
* @param options - Optional execution overrides (merged over the defaults).
|
|
84
126
|
* @returns The complete execution result, including a `runId`, per-node
|
|
85
|
-
*
|
|
127
|
+
* results, and workflow outputs (or the failure payload).
|
|
128
|
+
* @throws {GraphDocumentValidationError} when the document fails the
|
|
129
|
+
* nine-stage validation gate (carries every structured issue).
|
|
86
130
|
*/
|
|
87
|
-
execute(
|
|
131
|
+
execute(document: GraphWorkflowDocument, inputs?: GraphExecutionValues, options?: GraphExecutionOptions): Promise<GraphExecutionResult>;
|
|
88
132
|
/**
|
|
89
133
|
* Pins a node and its upstream dependencies after a completed run.
|
|
90
134
|
*
|
|
@@ -105,16 +149,46 @@ export declare class GraphExecutionEngine implements Observable<[GraphExecutionO
|
|
|
105
149
|
* Emits a pinning-related event to all observers.
|
|
106
150
|
*/
|
|
107
151
|
private emitPinningEvent;
|
|
152
|
+
/**
|
|
153
|
+
* Fills unprovided workflow inputs with their declared port defaults.
|
|
154
|
+
*/
|
|
155
|
+
private withWorkflowInputDefaults;
|
|
108
156
|
/**
|
|
109
157
|
* Executes a layer of nodes with the configured concurrency.
|
|
110
158
|
*/
|
|
111
159
|
private executeLayer;
|
|
112
160
|
/**
|
|
113
|
-
* Executes a single node.
|
|
161
|
+
* Executes a single node, honouring disabled-node semantics (§4.9).
|
|
114
162
|
*/
|
|
115
163
|
private executeNode;
|
|
116
164
|
/**
|
|
117
|
-
*
|
|
165
|
+
* Applies the explicit disabled-node semantics (§4.9):
|
|
166
|
+
* `skip`, `passThroughFirstInput`, or `emitDefaults`, resolved from the
|
|
167
|
+
* instance metadata, document settings, and the default.
|
|
168
|
+
*/
|
|
169
|
+
private executeDisabledNode;
|
|
170
|
+
/**
|
|
171
|
+
* Invokes the node's catalogue-resolved executor (§4.9 request contract,
|
|
172
|
+
* post-cutover: every executor receives the full request with
|
|
173
|
+
* configuration and input data separated).
|
|
174
|
+
*/
|
|
175
|
+
private invokeExecutor;
|
|
176
|
+
/**
|
|
177
|
+
* Validates executor outputs against the effective output manifest
|
|
178
|
+
* (§4.9): unknown outputs are rejected by default; missing required
|
|
179
|
+
* outputs fail the node. Lenient transition manifests (legacy
|
|
180
|
+
* executor-only registrations) are exempt until cutover.
|
|
181
|
+
*/
|
|
182
|
+
private validateNodeOutputs;
|
|
183
|
+
/**
|
|
184
|
+
* Collects the resolved credential references for a node: credential-type
|
|
185
|
+
* parameter values plus the `credentials` record in instance metadata.
|
|
186
|
+
* Documents carry references only — secret material never enters requests.
|
|
187
|
+
*/
|
|
188
|
+
private collectCredentials;
|
|
189
|
+
/**
|
|
190
|
+
* Resolves a node's input values from routed data edges, literal bindings,
|
|
191
|
+
* allowed expression bindings, and manifest port defaults (§4.9).
|
|
118
192
|
*
|
|
119
193
|
* When multiple edges target the same port, their values are spread into the
|
|
120
194
|
* top-level inputs keyed by each edge's `sourcePort`. This allows multiple
|
|
@@ -123,6 +197,13 @@ export declare class GraphExecutionEngine implements Observable<[GraphExecutionO
|
|
|
123
197
|
* `$input.{sourcePort}` (e.g. `$input.count`, `$input.text`).
|
|
124
198
|
*/
|
|
125
199
|
private resolveNodeInputs;
|
|
200
|
+
/**
|
|
201
|
+
* Evaluates an expression binding with the EXISTING allowed-expression
|
|
202
|
+
* machinery only (the pluggable {@link CodeSandboxEvaluator}, DECAF-32
|
|
203
|
+
* §22.4) — no new evaluator. The expression sees the already-routed input
|
|
204
|
+
* values as `$input` and the run metadata as context.
|
|
205
|
+
*/
|
|
206
|
+
private evaluateExpressionBinding;
|
|
126
207
|
/**
|
|
127
208
|
* Attempts to read a pinned value for the node. Returns the cached outputs
|
|
128
209
|
* when a valid pinned value exists, or `undefined` to proceed with normal
|
|
@@ -135,7 +216,8 @@ export declare class GraphExecutionEngine implements Observable<[GraphExecutionO
|
|
|
135
216
|
*/
|
|
136
217
|
private computeDependencyFingerprints;
|
|
137
218
|
/**
|
|
138
|
-
* Routes a node's outputs to downstream inputs and workflow outputs
|
|
219
|
+
* Routes a node's outputs to downstream inputs and workflow outputs along
|
|
220
|
+
* data edges (connection edges are structural and never route values).
|
|
139
221
|
*/
|
|
140
222
|
private routeOutgoingEdges;
|
|
141
223
|
/**
|
|
@@ -157,6 +239,7 @@ export declare class GraphExecutionEngine implements Observable<[GraphExecutionO
|
|
|
157
239
|
* Merges default options with the given options.
|
|
158
240
|
*/
|
|
159
241
|
private mergeOptions;
|
|
242
|
+
private assertNotAborted;
|
|
160
243
|
/**
|
|
161
244
|
* Generates a unique run id.
|
|
162
245
|
*/
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
import type { GraphExecutionPlan } from "../planning/GraphExecutionPlan.d.cts";
|
|
7
7
|
import type { GraphValueStore } from "../store/GraphValueStore.d.cts";
|
|
8
8
|
import type { GraphExecutionEventFactory } from "../events/GraphExecutionEventFactory.d.cts";
|
|
9
|
-
import type { GraphExecutionEvent
|
|
9
|
+
import type { GraphExecutionEvent } from "@decaf-ts/ui-decorators/graph";
|
|
10
|
+
import type { GraphNodeExecutionResult, GraphRunId } from "../types.d.cts";
|
|
10
11
|
/**
|
|
11
12
|
* Mutable state for a single graph execution run.
|
|
12
13
|
*/
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
import type { GraphExecutionPlan } from "../planning/GraphExecutionPlan.d.mts";
|
|
7
7
|
import type { GraphValueStore } from "../store/GraphValueStore.d.mts";
|
|
8
8
|
import type { GraphExecutionEventFactory } from "../events/GraphExecutionEventFactory.d.mts";
|
|
9
|
-
import type { GraphExecutionEvent
|
|
9
|
+
import type { GraphExecutionEvent } from "@decaf-ts/ui-decorators/graph";
|
|
10
|
+
import type { GraphNodeExecutionResult, GraphRunId } from "../types.d.mts";
|
|
10
11
|
/**
|
|
11
12
|
* Mutable state for a single graph execution run.
|
|
12
13
|
*/
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* @summary Helper for building GraphExecutionResult objects.
|
|
4
4
|
* @description Provides a builder function that assembles a result from a frame.
|
|
5
5
|
*/
|
|
6
|
+
import type { GraphWorkflowDocument } from "@decaf-ts/ui-decorators/graph";
|
|
6
7
|
import type { GraphExecutionFrame } from "./GraphExecutionFrame.d.cts";
|
|
7
8
|
import type { GraphExecutionResult, GraphExecutionValues } from "../types.d.cts";
|
|
8
|
-
import type { GraphExecutionStatus } from "
|
|
9
|
-
import type { GraphWorkflowDefinition } from "@decaf-ts/ui-decorators/graph";
|
|
9
|
+
import type { GraphExecutionStatus } from "@decaf-ts/ui-decorators/graph";
|
|
10
10
|
/**
|
|
11
11
|
* Builds a {@link GraphExecutionResult} from a completed frame.
|
|
12
12
|
*/
|
|
13
|
-
export declare function buildGraphExecutionResult(frame: GraphExecutionFrame,
|
|
13
|
+
export declare function buildGraphExecutionResult(frame: GraphExecutionFrame, document: GraphWorkflowDocument, inputs: GraphExecutionValues, status: GraphExecutionStatus, metadata?: Record<string, unknown>): GraphExecutionResult;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* @summary Helper for building GraphExecutionResult objects.
|
|
4
4
|
* @description Provides a builder function that assembles a result from a frame.
|
|
5
5
|
*/
|
|
6
|
+
import type { GraphWorkflowDocument } from "@decaf-ts/ui-decorators/graph";
|
|
6
7
|
import type { GraphExecutionFrame } from "./GraphExecutionFrame.d.mts";
|
|
7
8
|
import type { GraphExecutionResult, GraphExecutionValues } from "../types.d.mts";
|
|
8
|
-
import type { GraphExecutionStatus } from "
|
|
9
|
-
import type { GraphWorkflowDefinition } from "@decaf-ts/ui-decorators/graph";
|
|
9
|
+
import type { GraphExecutionStatus } from "@decaf-ts/ui-decorators/graph";
|
|
10
10
|
/**
|
|
11
11
|
* Builds a {@link GraphExecutionResult} from a completed frame.
|
|
12
12
|
*/
|
|
13
|
-
export declare function buildGraphExecutionResult(frame: GraphExecutionFrame,
|
|
13
|
+
export declare function buildGraphExecutionResult(frame: GraphExecutionFrame, document: GraphWorkflowDocument, inputs: GraphExecutionValues, status: GraphExecutionStatus, metadata?: Record<string, unknown>): GraphExecutionResult;
|
|
@@ -1,23 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module integrations/graph/execution/GraphNodeExecutor
|
|
3
|
-
* @summary
|
|
4
|
-
* @description
|
|
3
|
+
* @summary Node executor contract (DECAF-50 §4.9, post-cutover).
|
|
4
|
+
* @description The single executor contract: executors receive a
|
|
5
|
+
* {@link GraphNodeExecutionRequest} that separates configuration
|
|
6
|
+
* (`parameters`, `credentials`, `metadata`) from input data (`inputs`).
|
|
7
|
+
* The §4.18 transition artifacts (legacy input-only contract, the
|
|
8
|
+
* compatibility adapter, and the request-executor marker) were removed at
|
|
9
|
+
* the P7 cutover.
|
|
5
10
|
*/
|
|
6
11
|
import type { GraphExecutionContext } from "./GraphExecutionContext.d.cts";
|
|
7
|
-
import type { GraphExecutionValues } from "../types.d.cts";
|
|
12
|
+
import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../types.d.cts";
|
|
8
13
|
/**
|
|
9
|
-
* Executor for a specific graph node kind.
|
|
14
|
+
* Executor for a specific graph node kind (DECAF-50 §4.9 request contract).
|
|
10
15
|
*
|
|
11
16
|
* Implementations are registered in the {@link GraphNodeExecutorRegistry}
|
|
12
|
-
*
|
|
17
|
+
* (a facade over the backend catalogue) and always receive the full
|
|
18
|
+
* {@link GraphNodeExecutionRequest}; configuration and input data are
|
|
19
|
+
* separated.
|
|
13
20
|
*/
|
|
14
|
-
export interface GraphNodeExecutor<
|
|
21
|
+
export interface GraphNodeExecutor<Output extends GraphExecutionValues = GraphExecutionValues> {
|
|
15
22
|
/**
|
|
16
|
-
* Executes the node logic.
|
|
23
|
+
* Executes the node logic with configuration and input data separated.
|
|
17
24
|
*
|
|
18
|
-
* @param
|
|
25
|
+
* @param request - The node execution request (inputs, parameters,
|
|
26
|
+
* credentials, metadata).
|
|
19
27
|
* @param context - Decaf context for emitting progress and events.
|
|
20
28
|
* @returns The node's output values keyed by port name.
|
|
21
29
|
*/
|
|
22
|
-
execute(
|
|
30
|
+
execute(request: GraphNodeExecutionRequest, context: GraphExecutionContext): Promise<Output> | Output;
|
|
23
31
|
}
|
|
@@ -1,23 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module integrations/graph/execution/GraphNodeExecutor
|
|
3
|
-
* @summary
|
|
4
|
-
* @description
|
|
3
|
+
* @summary Node executor contract (DECAF-50 §4.9, post-cutover).
|
|
4
|
+
* @description The single executor contract: executors receive a
|
|
5
|
+
* {@link GraphNodeExecutionRequest} that separates configuration
|
|
6
|
+
* (`parameters`, `credentials`, `metadata`) from input data (`inputs`).
|
|
7
|
+
* The §4.18 transition artifacts (legacy input-only contract, the
|
|
8
|
+
* compatibility adapter, and the request-executor marker) were removed at
|
|
9
|
+
* the P7 cutover.
|
|
5
10
|
*/
|
|
6
11
|
import type { GraphExecutionContext } from "./GraphExecutionContext.d.mts";
|
|
7
|
-
import type { GraphExecutionValues } from "../types.d.mts";
|
|
12
|
+
import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../types.d.mts";
|
|
8
13
|
/**
|
|
9
|
-
* Executor for a specific graph node kind.
|
|
14
|
+
* Executor for a specific graph node kind (DECAF-50 §4.9 request contract).
|
|
10
15
|
*
|
|
11
16
|
* Implementations are registered in the {@link GraphNodeExecutorRegistry}
|
|
12
|
-
*
|
|
17
|
+
* (a facade over the backend catalogue) and always receive the full
|
|
18
|
+
* {@link GraphNodeExecutionRequest}; configuration and input data are
|
|
19
|
+
* separated.
|
|
13
20
|
*/
|
|
14
|
-
export interface GraphNodeExecutor<
|
|
21
|
+
export interface GraphNodeExecutor<Output extends GraphExecutionValues = GraphExecutionValues> {
|
|
15
22
|
/**
|
|
16
|
-
* Executes the node logic.
|
|
23
|
+
* Executes the node logic with configuration and input data separated.
|
|
17
24
|
*
|
|
18
|
-
* @param
|
|
25
|
+
* @param request - The node execution request (inputs, parameters,
|
|
26
|
+
* credentials, metadata).
|
|
19
27
|
* @param context - Decaf context for emitting progress and events.
|
|
20
28
|
* @returns The node's output values keyed by port name.
|
|
21
29
|
*/
|
|
22
|
-
execute(
|
|
30
|
+
execute(request: GraphNodeExecutionRequest, context: GraphExecutionContext): Promise<Output> | Output;
|
|
23
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GraphNodeExecutor } from "./GraphNodeExecutor.d.cts";
|
|
2
2
|
import type { GraphExecutionContext } from "./GraphExecutionContext.d.cts";
|
|
3
|
-
import type { GraphExecutionValues } from "../types.d.cts";
|
|
3
|
+
import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../types.d.cts";
|
|
4
4
|
/**
|
|
5
5
|
* Executor for `core.utility.log` / `core.flow.log` nodes.
|
|
6
6
|
*
|
|
@@ -17,9 +17,9 @@ export declare class LogGraphNodeExecutor implements GraphNodeExecutor {
|
|
|
17
17
|
* the DECAF-48 run attributes and streams over `graph.run.log` through the
|
|
18
18
|
* shared `ctx.logger` path (DECAF-48 Req-1).
|
|
19
19
|
*
|
|
20
|
-
* @param
|
|
20
|
+
* @param request - The node execution request (expects the `value` input).
|
|
21
21
|
* @param context - The run-scoped execution context exposing `ctx.logger`.
|
|
22
22
|
* @returns The node's output values keyed by port name (the `logged` port).
|
|
23
23
|
*/
|
|
24
|
-
execute(
|
|
24
|
+
execute(request: GraphNodeExecutionRequest, context: GraphExecutionContext): Promise<GraphExecutionValues>;
|
|
25
25
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GraphNodeExecutor } from "./GraphNodeExecutor.d.mts";
|
|
2
2
|
import type { GraphExecutionContext } from "./GraphExecutionContext.d.mts";
|
|
3
|
-
import type { GraphExecutionValues } from "../types.d.mts";
|
|
3
|
+
import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../types.d.mts";
|
|
4
4
|
/**
|
|
5
5
|
* Executor for `core.utility.log` / `core.flow.log` nodes.
|
|
6
6
|
*
|
|
@@ -17,9 +17,9 @@ export declare class LogGraphNodeExecutor implements GraphNodeExecutor {
|
|
|
17
17
|
* the DECAF-48 run attributes and streams over `graph.run.log` through the
|
|
18
18
|
* shared `ctx.logger` path (DECAF-48 Req-1).
|
|
19
19
|
*
|
|
20
|
-
* @param
|
|
20
|
+
* @param request - The node execution request (expects the `value` input).
|
|
21
21
|
* @param context - The run-scoped execution context exposing `ctx.logger`.
|
|
22
22
|
* @returns The node's output values keyed by port name (the `logged` port).
|
|
23
23
|
*/
|
|
24
|
-
execute(
|
|
24
|
+
execute(request: GraphNodeExecutionRequest, context: GraphExecutionContext): Promise<GraphExecutionValues>;
|
|
25
25
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import type { GraphNodeExecutor } from "./GraphNodeExecutor.d.cts";
|
|
11
11
|
import type { GraphExecutionContext } from "./GraphExecutionContext.d.cts";
|
|
12
|
-
import type { GraphExecutionValues } from "../types.d.cts";
|
|
12
|
+
import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../types.d.cts";
|
|
13
13
|
import type { CodeSandboxEvaluator } from "./CodeSandboxEvaluator.d.cts";
|
|
14
14
|
/**
|
|
15
15
|
* Executor for `core.flow.switch` nodes.
|
|
@@ -31,7 +31,7 @@ export declare class SwitchGraphNodeExecutor implements GraphNodeExecutor {
|
|
|
31
31
|
constructor(engine?: {
|
|
32
32
|
codeSandboxEvaluator?: CodeSandboxEvaluator;
|
|
33
33
|
} | undefined);
|
|
34
|
-
execute(
|
|
34
|
+
execute(request: GraphNodeExecutionRequest, context: GraphExecutionContext): Promise<GraphExecutionValues>;
|
|
35
35
|
/**
|
|
36
36
|
* Evaluates a single switch case condition.
|
|
37
37
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import type { GraphNodeExecutor } from "./GraphNodeExecutor.d.mts";
|
|
11
11
|
import type { GraphExecutionContext } from "./GraphExecutionContext.d.mts";
|
|
12
|
-
import type { GraphExecutionValues } from "../types.d.mts";
|
|
12
|
+
import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../types.d.mts";
|
|
13
13
|
import type { CodeSandboxEvaluator } from "./CodeSandboxEvaluator.d.mts";
|
|
14
14
|
/**
|
|
15
15
|
* Executor for `core.flow.switch` nodes.
|
|
@@ -31,7 +31,7 @@ export declare class SwitchGraphNodeExecutor implements GraphNodeExecutor {
|
|
|
31
31
|
constructor(engine?: {
|
|
32
32
|
codeSandboxEvaluator?: CodeSandboxEvaluator;
|
|
33
33
|
} | undefined);
|
|
34
|
-
execute(
|
|
34
|
+
execute(request: GraphNodeExecutionRequest, context: GraphExecutionContext): Promise<GraphExecutionValues>;
|
|
35
35
|
/**
|
|
36
36
|
* Evaluates a single switch case condition.
|
|
37
37
|
*/
|
|
@@ -4,11 +4,9 @@
|
|
|
4
4
|
* @description Reference interpreter for Decaf graph workflows. Executes
|
|
5
5
|
* workflows declared with `@decaf-ts/ui-decorators/graph`, emits events
|
|
6
6
|
* through Decaf's Observable pipeline, supports structured loops, configurable
|
|
7
|
-
* value stores, and pinnable/cacheable nodes.
|
|
8
|
-
*
|
|
9
|
-
* Re-exports `../shared` so backend consumers have a single import surface.
|
|
7
|
+
* value stores, and pinnable/cacheable nodes. Frontend-safe shared
|
|
8
|
+
* declarations live in `@decaf-ts/ui-decorators/graph`.
|
|
10
9
|
*/
|
|
11
|
-
export * from "../shared/index.d.cts";
|
|
12
10
|
export * from "./constants.d.cts";
|
|
13
11
|
export * from "./types.d.cts";
|
|
14
12
|
export * from "./decorators.d.cts";
|
|
@@ -21,7 +19,7 @@ export * from "./errors/GraphPortError.d.cts";
|
|
|
21
19
|
export * from "./errors/GraphStoreError.d.cts";
|
|
22
20
|
export * from "./errors/GraphTopologyError.d.cts";
|
|
23
21
|
export * from "./errors/GraphBreakSignal.d.cts";
|
|
24
|
-
export * from "./
|
|
22
|
+
export * from "./errors/GraphRunCancelledError.d.cts";
|
|
25
23
|
export * from "./events/GraphExecutionObserver.d.cts";
|
|
26
24
|
export * from "./events/GraphExecutionEventEmitter.d.cts";
|
|
27
25
|
export * from "./events/GraphExecutionEventFactory.d.cts";
|
|
@@ -38,6 +36,7 @@ export * from "./execution/BreakGraphNodeExecutor.d.cts";
|
|
|
38
36
|
export * from "./execution/IsolatedVmCodeSandboxEvaluator.d.cts";
|
|
39
37
|
export * from "./registry/GraphNodeExecutorRegistry.d.cts";
|
|
40
38
|
export * from "./registry/GraphNodeExecutorResolver.d.cts";
|
|
39
|
+
export * from "./catalog/index.d.cts";
|
|
41
40
|
export * from "./store/GraphValueKey.d.cts";
|
|
42
41
|
export * from "./store/GraphCachedValue.d.cts";
|
|
43
42
|
export * from "./store/GraphValueStoreAdapter.d.cts";
|
|
@@ -47,12 +46,9 @@ export * from "./planning/GraphExecutionPlanNode.d.cts";
|
|
|
47
46
|
export * from "./planning/GraphExecutionPlanEdge.d.cts";
|
|
48
47
|
export * from "./planning/GraphExecutionPlanLayer.d.cts";
|
|
49
48
|
export * from "./planning/GraphExecutionPlan.d.cts";
|
|
50
|
-
export * from "./planning/GraphRelationResolver.d.cts";
|
|
51
49
|
export * from "./planning/GraphExecutionPlanner.d.cts";
|
|
52
50
|
export * from "./planning/GraphTopology.d.cts";
|
|
53
|
-
export * from "./validation/
|
|
54
|
-
export * from "./validation/GraphPortSchemaResolver.d.cts";
|
|
55
|
-
export * from "./validation/GraphValueValidator.d.cts";
|
|
51
|
+
export * from "./validation/index.d.cts";
|
|
56
52
|
export * from "./loops/GraphConditionEvaluator.d.cts";
|
|
57
53
|
export * from "./loops/ConditionExpressionEvaluator.d.cts";
|
|
58
54
|
export * from "./loops/GraphLoopExecutionContext.d.cts";
|
|
@@ -63,4 +59,5 @@ export * from "./pinning/GraphPinningMetadata.d.cts";
|
|
|
63
59
|
export * from "./pinning/GraphPinningPolicy.d.cts";
|
|
64
60
|
export * from "./pinning/GraphPinningDependencyResolver.d.cts";
|
|
65
61
|
export * from "./pinning/GraphPinningService.d.cts";
|
|
62
|
+
export * from "./runs/index.d.cts";
|
|
66
63
|
export * from "./snapshots/GraphExecutionSnapshotMapper.d.cts";
|
|
@@ -4,11 +4,9 @@
|
|
|
4
4
|
* @description Reference interpreter for Decaf graph workflows. Executes
|
|
5
5
|
* workflows declared with `@decaf-ts/ui-decorators/graph`, emits events
|
|
6
6
|
* through Decaf's Observable pipeline, supports structured loops, configurable
|
|
7
|
-
* value stores, and pinnable/cacheable nodes.
|
|
8
|
-
*
|
|
9
|
-
* Re-exports `../shared` so backend consumers have a single import surface.
|
|
7
|
+
* value stores, and pinnable/cacheable nodes. Frontend-safe shared
|
|
8
|
+
* declarations live in `@decaf-ts/ui-decorators/graph`.
|
|
10
9
|
*/
|
|
11
|
-
export * from "../shared/index.d.mts";
|
|
12
10
|
export * from "./constants.d.mts";
|
|
13
11
|
export * from "./types.d.mts";
|
|
14
12
|
export * from "./decorators.d.mts";
|
|
@@ -21,7 +19,7 @@ export * from "./errors/GraphPortError.d.mts";
|
|
|
21
19
|
export * from "./errors/GraphStoreError.d.mts";
|
|
22
20
|
export * from "./errors/GraphTopologyError.d.mts";
|
|
23
21
|
export * from "./errors/GraphBreakSignal.d.mts";
|
|
24
|
-
export * from "./
|
|
22
|
+
export * from "./errors/GraphRunCancelledError.d.mts";
|
|
25
23
|
export * from "./events/GraphExecutionObserver.d.mts";
|
|
26
24
|
export * from "./events/GraphExecutionEventEmitter.d.mts";
|
|
27
25
|
export * from "./events/GraphExecutionEventFactory.d.mts";
|
|
@@ -38,6 +36,7 @@ export * from "./execution/BreakGraphNodeExecutor.d.mts";
|
|
|
38
36
|
export * from "./execution/IsolatedVmCodeSandboxEvaluator.d.mts";
|
|
39
37
|
export * from "./registry/GraphNodeExecutorRegistry.d.mts";
|
|
40
38
|
export * from "./registry/GraphNodeExecutorResolver.d.mts";
|
|
39
|
+
export * from "./catalog/index.d.mts";
|
|
41
40
|
export * from "./store/GraphValueKey.d.mts";
|
|
42
41
|
export * from "./store/GraphCachedValue.d.mts";
|
|
43
42
|
export * from "./store/GraphValueStoreAdapter.d.mts";
|
|
@@ -47,12 +46,9 @@ export * from "./planning/GraphExecutionPlanNode.d.mts";
|
|
|
47
46
|
export * from "./planning/GraphExecutionPlanEdge.d.mts";
|
|
48
47
|
export * from "./planning/GraphExecutionPlanLayer.d.mts";
|
|
49
48
|
export * from "./planning/GraphExecutionPlan.d.mts";
|
|
50
|
-
export * from "./planning/GraphRelationResolver.d.mts";
|
|
51
49
|
export * from "./planning/GraphExecutionPlanner.d.mts";
|
|
52
50
|
export * from "./planning/GraphTopology.d.mts";
|
|
53
|
-
export * from "./validation/
|
|
54
|
-
export * from "./validation/GraphPortSchemaResolver.d.mts";
|
|
55
|
-
export * from "./validation/GraphValueValidator.d.mts";
|
|
51
|
+
export * from "./validation/index.d.mts";
|
|
56
52
|
export * from "./loops/GraphConditionEvaluator.d.mts";
|
|
57
53
|
export * from "./loops/ConditionExpressionEvaluator.d.mts";
|
|
58
54
|
export * from "./loops/GraphLoopExecutionContext.d.mts";
|
|
@@ -63,4 +59,5 @@ export * from "./pinning/GraphPinningMetadata.d.mts";
|
|
|
63
59
|
export * from "./pinning/GraphPinningPolicy.d.mts";
|
|
64
60
|
export * from "./pinning/GraphPinningDependencyResolver.d.mts";
|
|
65
61
|
export * from "./pinning/GraphPinningService.d.mts";
|
|
62
|
+
export * from "./runs/index.d.mts";
|
|
66
63
|
export * from "./snapshots/GraphExecutionSnapshotMapper.d.mts";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* `eq`/`neq`/`gt`/`gte`/`lt`/`lte`/`and`/`or`/`not`/`exists` operators and
|
|
6
6
|
* `ExprValue` references (`{const}`, `{path}`, `{step, path}`).
|
|
7
7
|
*/
|
|
8
|
-
import type { ConditionExpression } from "
|
|
8
|
+
import type { ConditionExpression } from "@decaf-ts/ui-decorators/graph";
|
|
9
9
|
/**
|
|
10
10
|
* Evaluates a {@link ConditionExpression} against the given state.
|
|
11
11
|
*
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* `eq`/`neq`/`gt`/`gte`/`lt`/`lte`/`and`/`or`/`not`/`exists` operators and
|
|
6
6
|
* `ExprValue` references (`{const}`, `{path}`, `{step, path}`).
|
|
7
7
|
*/
|
|
8
|
-
import type { ConditionExpression } from "
|
|
8
|
+
import type { ConditionExpression } from "@decaf-ts/ui-decorators/graph";
|
|
9
9
|
/**
|
|
10
10
|
* Evaluates a {@link ConditionExpression} against the given state.
|
|
11
11
|
*
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import type { GraphNodeExecutor } from "../execution/GraphNodeExecutor.d.cts";
|
|
10
10
|
import type { GraphExecutionContext } from "../execution/GraphExecutionContext.d.cts";
|
|
11
11
|
import type { GraphExecutionEngine } from "../execution/GraphExecutionEngine.d.cts";
|
|
12
|
-
import type { GraphExecutionValues } from "../types.d.cts";
|
|
12
|
+
import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../types.d.cts";
|
|
13
13
|
/**
|
|
14
14
|
* Executor for `core.loop.foreach` nodes.
|
|
15
15
|
*
|
|
@@ -30,6 +30,6 @@ import type { GraphExecutionValues } from "../types.d.cts";
|
|
|
30
30
|
export declare class ForeachGraphNodeExecutor implements GraphNodeExecutor {
|
|
31
31
|
private readonly engine;
|
|
32
32
|
constructor(engine: GraphExecutionEngine);
|
|
33
|
-
execute(
|
|
33
|
+
execute(request: GraphNodeExecutionRequest, context: GraphExecutionContext): Promise<GraphExecutionValues>;
|
|
34
34
|
private extractMetadata;
|
|
35
35
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import type { GraphNodeExecutor } from "../execution/GraphNodeExecutor.d.mts";
|
|
10
10
|
import type { GraphExecutionContext } from "../execution/GraphExecutionContext.d.mts";
|
|
11
11
|
import type { GraphExecutionEngine } from "../execution/GraphExecutionEngine.d.mts";
|
|
12
|
-
import type { GraphExecutionValues } from "../types.d.mts";
|
|
12
|
+
import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../types.d.mts";
|
|
13
13
|
/**
|
|
14
14
|
* Executor for `core.loop.foreach` nodes.
|
|
15
15
|
*
|
|
@@ -30,6 +30,6 @@ import type { GraphExecutionValues } from "../types.d.mts";
|
|
|
30
30
|
export declare class ForeachGraphNodeExecutor implements GraphNodeExecutor {
|
|
31
31
|
private readonly engine;
|
|
32
32
|
constructor(engine: GraphExecutionEngine);
|
|
33
|
-
execute(
|
|
33
|
+
execute(request: GraphNodeExecutionRequest, context: GraphExecutionContext): Promise<GraphExecutionValues>;
|
|
34
34
|
private extractMetadata;
|
|
35
35
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* {@link ConditionExpressionEvaluator} instead of the built-in `type`-based switch.
|
|
7
7
|
*/
|
|
8
8
|
import type { GraphConditionDefinition } from "../types.d.cts";
|
|
9
|
-
import type { ConditionExpression } from "
|
|
9
|
+
import type { ConditionExpression } from "@decaf-ts/ui-decorators/graph";
|
|
10
10
|
/**
|
|
11
11
|
* Evaluates loop conditions using built-in comparison types or the
|
|
12
12
|
* `ConditionExpression` DSL.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* {@link ConditionExpressionEvaluator} instead of the built-in `type`-based switch.
|
|
7
7
|
*/
|
|
8
8
|
import type { GraphConditionDefinition } from "../types.d.mts";
|
|
9
|
-
import type { ConditionExpression } from "
|
|
9
|
+
import type { ConditionExpression } from "@decaf-ts/ui-decorators/graph";
|
|
10
10
|
/**
|
|
11
11
|
* Evaluates loop conditions using built-in comparison types or the
|
|
12
12
|
* `ConditionExpression` DSL.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { GraphNodeExecutor } from "../execution/GraphNodeExecutor.d.cts";
|
|
7
7
|
import type { GraphExecutionContext } from "../execution/GraphExecutionContext.d.cts";
|
|
8
8
|
import type { GraphExecutionEngine } from "../execution/GraphExecutionEngine.d.cts";
|
|
9
|
-
import type { GraphExecutionValues } from "../types.d.cts";
|
|
9
|
+
import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../types.d.cts";
|
|
10
10
|
/**
|
|
11
11
|
* Executor for `core.loop.until` nodes.
|
|
12
12
|
*
|
|
@@ -17,6 +17,6 @@ export declare class UntilGraphNodeExecutor implements GraphNodeExecutor {
|
|
|
17
17
|
private readonly engine;
|
|
18
18
|
private readonly evaluator;
|
|
19
19
|
constructor(engine: GraphExecutionEngine);
|
|
20
|
-
execute(
|
|
20
|
+
execute(request: GraphNodeExecutionRequest, context: GraphExecutionContext): Promise<GraphExecutionValues>;
|
|
21
21
|
private extractMetadata;
|
|
22
22
|
}
|