@decaf-ts/integrations 0.8.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 +2 -2
- 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 +55 -5
- package/lib/cjs/sftp/aws/AwsSftpService.cjs.map +1 -1
- 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 +10 -0
- package/lib/cjs/sftp/core/SftpSource.cjs.map +1 -1
- package/lib/cjs/sftp/core/index.cjs +1 -0
- package/lib/cjs/sftp/core/index.cjs.map +1 -1
- package/lib/cjs/sftp/index.cjs +3 -0
- package/lib/cjs/sftp/index.cjs.map +1 -1
- 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 +46 -5
- package/lib/cjs/sftp/ssh2/Ssh2SftpService.cjs.map +1 -1
- 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 +2 -2
- 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 +52 -6
- package/lib/esm/sftp/aws/AwsSftpService.js.map +1 -1
- 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 +12 -2
- package/lib/esm/sftp/core/SftpSource.js.map +1 -1
- package/lib/esm/sftp/core/index.js +1 -0
- package/lib/esm/sftp/core/index.js.map +1 -1
- package/lib/esm/sftp/index.js +3 -0
- package/lib/esm/sftp/index.js.map +1 -1
- 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 +43 -6
- package/lib/esm/sftp/ssh2/Ssh2SftpService.js.map +1 -1
- 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 +1 -0
- package/lib/types/sftp/aws/AwsSftpService.d.mts +1 -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 +7 -0
- package/lib/types/sftp/core/SftpSource.d.mts +7 -0
- package/lib/types/sftp/core/index.d.cts +1 -0
- package/lib/types/sftp/core/index.d.mts +1 -0
- package/lib/types/sftp/index.d.cts +3 -0
- package/lib/types/sftp/index.d.mts +3 -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 +1 -0
- package/lib/types/sftp/ssh2/Ssh2SftpService.d.mts +1 -0
- package/lib/types/shared/environmentValue.d.cts +16 -0
- package/lib/types/shared/environmentValue.d.mts +16 -0
- package/package.json +6 -16
- 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,120 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module integrations/graph/shared/constants
|
|
3
|
-
* @summary Frontend-safe graph constants and enums.
|
|
4
|
-
* @description Constants and enumerations that are safe to import from a
|
|
5
|
-
* frontend bundle (no engine runtime dependency). Alongside the existing
|
|
6
|
-
* execution-status and event-type enums (rendered as status badges and event
|
|
7
|
-
* timelines), this module carries the DECAF-48 visual-state contract: the
|
|
8
|
-
* frontend-safe {@link GraphVisualState} enum, the `graph.run.log` /
|
|
9
|
-
* `graph.run.state` SSE topic constants, the run-log attribute keys
|
|
10
|
-
* ({@link GraphLogAttribute}), and the `NODE_STATE_CHANGED` /
|
|
11
|
-
* `EDGE_STATE_CHANGED` / `GRAPH_RUN_LOG` event types. The frontend must not
|
|
12
|
-
* pull in the execution engine.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Execution status for a workflow or individual node.
|
|
16
|
-
*/
|
|
17
|
-
export declare enum GraphExecutionStatus {
|
|
18
|
-
PENDING = "pending",
|
|
19
|
-
PLANNING = "planning",
|
|
20
|
-
RUNNING = "running",
|
|
21
|
-
SUCCEEDED = "succeeded",
|
|
22
|
-
FAILED = "failed",
|
|
23
|
-
SKIPPED = "skipped",
|
|
24
|
-
CANCELLED = "cancelled",
|
|
25
|
-
CACHED = "cached"
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Visual execution state for a node or edge on the workflow canvas.
|
|
29
|
-
*
|
|
30
|
-
* Frontend-safe (DECAF-48 §4.4): a superset of {@link GraphExecutionStatus}
|
|
31
|
-
* normalised for rendering. `BLOCKED` is derived from the plan and execution
|
|
32
|
-
* events (waiting on upstream dependencies), not emitted as an engine status.
|
|
33
|
-
* `SKIPPED` is the post-failure "unexecuted/disabled" visual state.
|
|
34
|
-
*/
|
|
35
|
-
export declare enum GraphVisualState {
|
|
36
|
-
IDLE = "idle",
|
|
37
|
-
RUNNING = "running",
|
|
38
|
-
BLOCKED = "blocked",
|
|
39
|
-
SUCCEEDED = "succeeded",
|
|
40
|
-
FAILED = "failed",
|
|
41
|
-
SKIPPED = "skipped"
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Namespace root for graph run SSE topics (DECAF-48 §4.2). A subscription
|
|
45
|
-
* filters on these granular topics before `observer.next(...)`.
|
|
46
|
-
*/
|
|
47
|
-
export declare const GRAPH_RUN_TOPIC = "graph.run";
|
|
48
|
-
/**
|
|
49
|
-
* SSE sub-topic streaming per-node log lines during a run.
|
|
50
|
-
*/
|
|
51
|
-
export declare const GRAPH_RUN_LOG_TOPIC = "graph.run.log";
|
|
52
|
-
/**
|
|
53
|
-
* SSE sub-topic streaming node/edge execution-state updates during a run.
|
|
54
|
-
*/
|
|
55
|
-
export declare const GRAPH_RUN_STATE_TOPIC = "graph.run.state";
|
|
56
|
-
/**
|
|
57
|
-
* Logger custom-attribute keys attached to every run log line via
|
|
58
|
-
* DECAF-9 `logger.for({...})` (DECAF-48 §4.3). Rendered as discrete columns
|
|
59
|
-
* (not buried in the message string).
|
|
60
|
-
*/
|
|
61
|
-
export declare enum GraphLogAttribute {
|
|
62
|
-
NODE_ID = "nodeId",
|
|
63
|
-
WORKFLOW_ID = "workflowId",
|
|
64
|
-
RUN_ID = "runId",
|
|
65
|
-
USER = "user"
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Namespace topic helper for a graph execution event.
|
|
69
|
-
*
|
|
70
|
-
* Log-carrier events resolve to `graph.run.log`; node/edge execution-state
|
|
71
|
-
* events resolve to `graph.run.state`; everything else stays under the shared
|
|
72
|
-
* `graph.run` topic and is only delivered to subscribers that match it.
|
|
73
|
-
*
|
|
74
|
-
* @param eventType - The graph execution event type to scope to a topic.
|
|
75
|
-
* @returns The SSE topic constant for the given event type.
|
|
76
|
-
*/
|
|
77
|
-
export declare function graphRunTopicOf(eventType: GraphExecutionEventType): string;
|
|
78
|
-
/**
|
|
79
|
-
* Event types emitted through the graph execution observer pipeline.
|
|
80
|
-
*
|
|
81
|
-
* DECAF-48 extends this set with the visual-state and run-log event types the
|
|
82
|
-
* engine emits on the existing Observable: {@link GraphExecutionEventType.NODE_STATE_CHANGED},
|
|
83
|
-
* {@link GraphExecutionEventType.EDGE_STATE_CHANGED} and
|
|
84
|
-
* {@link GraphExecutionEventType.GRAPH_RUN_LOG}.
|
|
85
|
-
*/
|
|
86
|
-
export declare enum GraphExecutionEventType {
|
|
87
|
-
WORKFLOW_STARTED = "workflow.started",
|
|
88
|
-
WORKFLOW_PLANNED = "workflow.planned",
|
|
89
|
-
WORKFLOW_COMPLETED = "workflow.completed",
|
|
90
|
-
WORKFLOW_FAILED = "workflow.failed",
|
|
91
|
-
WORKFLOW_CANCELLED = "workflow.cancelled",
|
|
92
|
-
NODE_QUEUED = "node.queued",
|
|
93
|
-
NODE_STARTED = "node.started",
|
|
94
|
-
NODE_OUTPUT = "node.output",
|
|
95
|
-
NODE_COMPLETED = "node.completed",
|
|
96
|
-
NODE_FAILED = "node.failed",
|
|
97
|
-
NODE_SKIPPED = "node.skipped",
|
|
98
|
-
NODE_CACHE_HIT = "node.cacheHit",
|
|
99
|
-
NODE_PINNED = "node.pinned",
|
|
100
|
-
NODE_UNPINNED = "node.unpinned",
|
|
101
|
-
/** Node execution-state transition carrying a `GraphNodeStateChangedPayload` (DECAF-48 §4.4). */
|
|
102
|
-
NODE_STATE_CHANGED = "node.stateChanged",
|
|
103
|
-
EDGE_VALUE_ROUTED = "edge.valueRouted",
|
|
104
|
-
/** Edge execution-state transition carrying a `GraphEdgeStateChangedPayload` (DECAF-48 §4.4). */
|
|
105
|
-
EDGE_STATE_CHANGED = "edge.stateChanged",
|
|
106
|
-
/** Structured run log line carrying a `GraphRunLogEntry` (DECAF-48 §4.3). */
|
|
107
|
-
GRAPH_RUN_LOG = "graph.run.log",
|
|
108
|
-
LOOP_STARTED = "loop.started",
|
|
109
|
-
LOOP_ITERATION_STARTED = "loop.iteration.started",
|
|
110
|
-
LOOP_ITERATION_COMPLETED = "loop.iteration.completed",
|
|
111
|
-
LOOP_CONDITION_EVALUATED = "loop.condition.evaluated",
|
|
112
|
-
LOOP_COMPLETED = "loop.completed",
|
|
113
|
-
LOOP_LIMIT_REACHED = "loop.limitReached",
|
|
114
|
-
VALIDATION_STARTED = "validation.started",
|
|
115
|
-
VALIDATION_FAILED = "validation.failed",
|
|
116
|
-
VALIDATION_COMPLETED = "validation.completed",
|
|
117
|
-
STORE_READ = "store.read",
|
|
118
|
-
STORE_WRITE = "store.write",
|
|
119
|
-
STORE_DELETE = "store.delete"
|
|
120
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module integrations/graph/shared
|
|
3
|
-
* @summary Frontend-safe graph declarations.
|
|
4
|
-
* @description Subpath export for frontend bundles. Re-exports the node kind
|
|
5
|
-
* declarations, shared types, and shared constants — no engine runtime
|
|
6
|
-
* dependency. Also re-exports `Metadata` from `@decaf-ts/ui-decorators` so
|
|
7
|
-
* consumers get the `Metadata.nodes()` / `Metadata.workflows()` accessors
|
|
8
|
-
* (attached via the graph overrides side-effect import).
|
|
9
|
-
*
|
|
10
|
-
* Importing anything from this module triggers the `ui-decorators/graph`
|
|
11
|
-
* overrides side-effect, which attaches `nodes()` / `workflows()` to the
|
|
12
|
-
* `Metadata` class.
|
|
13
|
-
*/
|
|
14
|
-
import "@decaf-ts/ui-decorators/graph";
|
|
15
|
-
export { Metadata } from "@decaf-ts/decoration";
|
|
16
|
-
export * from "./constants.d.cts";
|
|
17
|
-
export * from "./types.d.cts";
|
|
18
|
-
export * from "./GraphExecutionStateMapper.d.cts";
|
|
19
|
-
export * from "./nodes/index.d.cts";
|
|
20
|
-
export { GRAPH_VISUAL_STATE_STYLES, graphVisualStyleOf, } from "@decaf-ts/ui-decorators/graph";
|
|
21
|
-
export type { GraphNodeIoMetadata, GraphNodeIoViewMode, GraphVisualStyle, } from "@decaf-ts/ui-decorators/graph";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module integrations/graph/shared
|
|
3
|
-
* @summary Frontend-safe graph declarations.
|
|
4
|
-
* @description Subpath export for frontend bundles. Re-exports the node kind
|
|
5
|
-
* declarations, shared types, and shared constants — no engine runtime
|
|
6
|
-
* dependency. Also re-exports `Metadata` from `@decaf-ts/ui-decorators` so
|
|
7
|
-
* consumers get the `Metadata.nodes()` / `Metadata.workflows()` accessors
|
|
8
|
-
* (attached via the graph overrides side-effect import).
|
|
9
|
-
*
|
|
10
|
-
* Importing anything from this module triggers the `ui-decorators/graph`
|
|
11
|
-
* overrides side-effect, which attaches `nodes()` / `workflows()` to the
|
|
12
|
-
* `Metadata` class.
|
|
13
|
-
*/
|
|
14
|
-
import "@decaf-ts/ui-decorators/graph";
|
|
15
|
-
export { Metadata } from "@decaf-ts/decoration";
|
|
16
|
-
export * from "./constants.d.mts";
|
|
17
|
-
export * from "./types.d.mts";
|
|
18
|
-
export * from "./GraphExecutionStateMapper.d.mts";
|
|
19
|
-
export * from "./nodes/index.d.mts";
|
|
20
|
-
export { GRAPH_VISUAL_STATE_STYLES, graphVisualStyleOf, } from "@decaf-ts/ui-decorators/graph";
|
|
21
|
-
export type { GraphNodeIoMetadata, GraphNodeIoViewMode, GraphVisualStyle, } from "@decaf-ts/ui-decorators/graph";
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module integrations/graph/nodes/agent
|
|
3
|
-
* @summary Production Agent node declaration.
|
|
4
|
-
* @description The Agent node is the primary AI agent entrypoint. It is a
|
|
5
|
-
* rectangular node with `@connection()` ports for its structural dependencies:
|
|
6
|
-
* `model` (the LLM), `memory` (the memory store), and `workspace` (the
|
|
7
|
-
* workspace/context). Connections are rendered on the bottom side of the node
|
|
8
|
-
* (DECAF-32 §21.3). Each connection category has a distinct color defined in
|
|
9
|
-
* the category style registry.
|
|
10
|
-
*
|
|
11
|
-
* The single `prompt` input accepts placeholder expressions (§22.4) such as
|
|
12
|
-
* `{{ $input.brief }}` or `{{ $node["Research"].output.summary }}` that are
|
|
13
|
-
* resolved at execution time by the placeholder compiler.
|
|
14
|
-
*/
|
|
15
|
-
import { Model } from "@decaf-ts/decorator-validation";
|
|
16
|
-
import "./category-styles";
|
|
17
|
-
/**
|
|
18
|
-
* Agent node — an AI agent that orchestrates a model, memory, and workspace.
|
|
19
|
-
*
|
|
20
|
-
* The agent has:
|
|
21
|
-
* - `@input` port on the **left**: `prompt` (the task prompt; supports
|
|
22
|
-
* placeholder expressions like `{{ $input.something }}` per §22.4).
|
|
23
|
-
* - `@output` ports on the **right**: `response` (the agent's output), `actions`
|
|
24
|
-
* (any actions the agent decided to take).
|
|
25
|
-
* - `@connection` ports on the **bottom**: `model` (LLM), `memory` (memory
|
|
26
|
-
* store), `workspace` (workspace/context). Each connection has a distinct
|
|
27
|
-
* category color.
|
|
28
|
-
*
|
|
29
|
-
* The node is rectangular (not rounded) to visually distinguish it from
|
|
30
|
-
* regular processing nodes. The `color` and `icon` are omitted from `@node()`
|
|
31
|
-
* so they are resolved from the `"Agent"` category style.
|
|
32
|
-
*/
|
|
33
|
-
export declare class AgentNode extends Model {
|
|
34
|
-
prompt: string;
|
|
35
|
-
response: string;
|
|
36
|
-
actions: unknown[];
|
|
37
|
-
model: unknown;
|
|
38
|
-
memory: unknown;
|
|
39
|
-
workspace: unknown;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* All built-in agent node constructors.
|
|
43
|
-
*/
|
|
44
|
-
export declare const GRAPH_AGENT_NODES: readonly [typeof AgentNode];
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module integrations/graph/nodes/agent
|
|
3
|
-
* @summary Production Agent node declaration.
|
|
4
|
-
* @description The Agent node is the primary AI agent entrypoint. It is a
|
|
5
|
-
* rectangular node with `@connection()` ports for its structural dependencies:
|
|
6
|
-
* `model` (the LLM), `memory` (the memory store), and `workspace` (the
|
|
7
|
-
* workspace/context). Connections are rendered on the bottom side of the node
|
|
8
|
-
* (DECAF-32 §21.3). Each connection category has a distinct color defined in
|
|
9
|
-
* the category style registry.
|
|
10
|
-
*
|
|
11
|
-
* The single `prompt` input accepts placeholder expressions (§22.4) such as
|
|
12
|
-
* `{{ $input.brief }}` or `{{ $node["Research"].output.summary }}` that are
|
|
13
|
-
* resolved at execution time by the placeholder compiler.
|
|
14
|
-
*/
|
|
15
|
-
import { Model } from "@decaf-ts/decorator-validation";
|
|
16
|
-
import "./category-styles";
|
|
17
|
-
/**
|
|
18
|
-
* Agent node — an AI agent that orchestrates a model, memory, and workspace.
|
|
19
|
-
*
|
|
20
|
-
* The agent has:
|
|
21
|
-
* - `@input` port on the **left**: `prompt` (the task prompt; supports
|
|
22
|
-
* placeholder expressions like `{{ $input.something }}` per §22.4).
|
|
23
|
-
* - `@output` ports on the **right**: `response` (the agent's output), `actions`
|
|
24
|
-
* (any actions the agent decided to take).
|
|
25
|
-
* - `@connection` ports on the **bottom**: `model` (LLM), `memory` (memory
|
|
26
|
-
* store), `workspace` (workspace/context). Each connection has a distinct
|
|
27
|
-
* category color.
|
|
28
|
-
*
|
|
29
|
-
* The node is rectangular (not rounded) to visually distinguish it from
|
|
30
|
-
* regular processing nodes. The `color` and `icon` are omitted from `@node()`
|
|
31
|
-
* so they are resolved from the `"Agent"` category style.
|
|
32
|
-
*/
|
|
33
|
-
export declare class AgentNode extends Model {
|
|
34
|
-
prompt: string;
|
|
35
|
-
response: string;
|
|
36
|
-
actions: unknown[];
|
|
37
|
-
model: unknown;
|
|
38
|
-
memory: unknown;
|
|
39
|
-
workspace: unknown;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* All built-in agent node constructors.
|
|
43
|
-
*/
|
|
44
|
-
export declare const GRAPH_AGENT_NODES: readonly [typeof AgentNode];
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module integrations/graph/nodes/base
|
|
3
|
-
* @summary Base class for graph node declarations.
|
|
4
|
-
* @description `GraphNode` extends {@link Model} with an overridable
|
|
5
|
-
* `applyMetadata` static method. Concrete node kinds that support dynamic
|
|
6
|
-
* metadata changes (e.g. `SwitchFlowNode` adding case output ports) override
|
|
7
|
-
* this method to compute their own ports, size, and data patches — the node
|
|
8
|
-
* is exclusively responsible for itself in every way.
|
|
9
|
-
*/
|
|
10
|
-
import { Model } from "@decaf-ts/decorator-validation";
|
|
11
|
-
import type { NodeMetadataChange } from "../types.d.cts";
|
|
12
|
-
export declare class GraphNode extends Model {
|
|
13
|
-
/**
|
|
14
|
-
* Applies a metadata patch to this node class, returning the resulting
|
|
15
|
-
* ports, size, and data patches.
|
|
16
|
-
*
|
|
17
|
-
* The default implementation returns `null` (no changes). Concrete node
|
|
18
|
-
* kinds that support dynamic metadata override this to compute their own
|
|
19
|
-
* ports and size from the metadata — the caller (renderer) simply relays
|
|
20
|
-
* the result to the diagram model.
|
|
21
|
-
*
|
|
22
|
-
* @param _meta - The metadata patch (node-kind-specific, e.g.
|
|
23
|
-
* `SwitchNodeMetadata`).
|
|
24
|
-
* @returns The computed change, or `null` when the node kind does not
|
|
25
|
-
* support dynamic metadata.
|
|
26
|
-
*/
|
|
27
|
-
static applyMetadata(_meta: unknown): NodeMetadataChange | null;
|
|
28
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module integrations/graph/nodes/base
|
|
3
|
-
* @summary Base class for graph node declarations.
|
|
4
|
-
* @description `GraphNode` extends {@link Model} with an overridable
|
|
5
|
-
* `applyMetadata` static method. Concrete node kinds that support dynamic
|
|
6
|
-
* metadata changes (e.g. `SwitchFlowNode` adding case output ports) override
|
|
7
|
-
* this method to compute their own ports, size, and data patches — the node
|
|
8
|
-
* is exclusively responsible for itself in every way.
|
|
9
|
-
*/
|
|
10
|
-
import { Model } from "@decaf-ts/decorator-validation";
|
|
11
|
-
import type { NodeMetadataChange } from "../types.d.mts";
|
|
12
|
-
export declare class GraphNode extends Model {
|
|
13
|
-
/**
|
|
14
|
-
* Applies a metadata patch to this node class, returning the resulting
|
|
15
|
-
* ports, size, and data patches.
|
|
16
|
-
*
|
|
17
|
-
* The default implementation returns `null` (no changes). Concrete node
|
|
18
|
-
* kinds that support dynamic metadata override this to compute their own
|
|
19
|
-
* ports and size from the metadata — the caller (renderer) simply relays
|
|
20
|
-
* the result to the diagram model.
|
|
21
|
-
*
|
|
22
|
-
* @param _meta - The metadata patch (node-kind-specific, e.g.
|
|
23
|
-
* `SwitchNodeMetadata`).
|
|
24
|
-
* @returns The computed change, or `null` when the node kind does not
|
|
25
|
-
* support dynamic metadata.
|
|
26
|
-
*/
|
|
27
|
-
static applyMetadata(_meta: unknown): NodeMetadataChange | null;
|
|
28
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Registers all built-in category styles. Called once at module init.
|
|
3
|
-
*
|
|
4
|
-
* Categories define the default visual style for nodes and connection ports.
|
|
5
|
-
* A node's explicit `color` / `icon` (on `@node()`) overrides the category
|
|
6
|
-
* style; when omitted, the category style is used.
|
|
7
|
-
*/
|
|
8
|
-
export declare function registerBuiltinCategoryStyles(): void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Registers all built-in category styles. Called once at module init.
|
|
3
|
-
*
|
|
4
|
-
* Categories define the default visual style for nodes and connection ports.
|
|
5
|
-
* A node's explicit `color` / `icon` (on `@node()`) overrides the category
|
|
6
|
-
* style; when omitted, the category style is used.
|
|
7
|
-
*/
|
|
8
|
-
export declare function registerBuiltinCategoryStyles(): void;
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module integrations/graph/nodes/flow-control
|
|
3
|
-
* @summary Production flow-control node kind declarations (DECAF-32 §22.2.2).
|
|
4
|
-
* @description Canonical `@node`-decorated classes for the ALFRED-5
|
|
5
|
-
* flow-control kinds, plus the DECAF-48 `core.utility.log` Log node. These
|
|
6
|
-
* are graph-level macros: the engine's planner recognises them as ordinary
|
|
7
|
-
* executable nodes (§5.7) but they have no built-in executors — downstream
|
|
8
|
-
* projects (e.g. ALFRED) register custom executors or compile them into
|
|
9
|
-
* Mastra composition APIs (§22.2.2). The `core.utility.log` node is the one
|
|
10
|
-
* exception: its {@link LogGraphNodeExecutor} is built in and logs the input
|
|
11
|
-
* through the run's `ctx.logger` (DECAF-48 §4.3).
|
|
12
|
-
*
|
|
13
|
-
* The three loop kinds (`core.loop.foreach/while/until`) already have built-in
|
|
14
|
-
* executors (§5.9) and are NOT redeclared here.
|
|
15
|
-
*/
|
|
16
|
-
import { Model } from "@decaf-ts/decorator-validation";
|
|
17
|
-
import type { LogNodeLevel, NodeMetadataChange, SwitchNodeMetadata } from "../types.d.cts";
|
|
18
|
-
import { GraphNode } from "./base.d.cts";
|
|
19
|
-
/**
|
|
20
|
-
* If — conditional branch. Evaluates a `ConditionExpression` (§22.3) and
|
|
21
|
-
* routes the input to the `then` or `else` output.
|
|
22
|
-
*/
|
|
23
|
-
export declare class IfFlowNode extends Model {
|
|
24
|
-
value: unknown;
|
|
25
|
-
then: unknown;
|
|
26
|
-
else: unknown;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Switch — multi-branch. Routes the input to one of the case output ports
|
|
30
|
-
* or `default` based on matching conditions. Each case defines a
|
|
31
|
-
* {@link SwitchCaseCondition} (graphical or code mode) and a dedicated
|
|
32
|
-
* output port. Cases are stored in `metadata.switch.cases` and the
|
|
33
|
-
* renderer creates dynamic output ports from them (DECAF-32 §22.2.2).
|
|
34
|
-
*
|
|
35
|
-
* The node grows in height as cases are added. Each case gets its own
|
|
36
|
-
* output port on the right side, labeled with the case label.
|
|
37
|
-
*/
|
|
38
|
-
export declare class SwitchFlowNode extends GraphNode {
|
|
39
|
-
value: unknown;
|
|
40
|
-
default: unknown;
|
|
41
|
-
/**
|
|
42
|
-
* Computes the node's ports, size, and data patch from the given switch
|
|
43
|
-
* metadata. Each case gets its own output port on the right side; the
|
|
44
|
-
* `default` port always renders **last** (DECAF-32 §21 port-ordering rule,
|
|
45
|
-
* DECAF-34 §6.2). When `hasDefault` is `false`, the `default` output port
|
|
46
|
-
* is omitted entirely. The node grows in height as cases are added.
|
|
47
|
-
*/
|
|
48
|
-
static applyMetadata(meta: SwitchNodeMetadata): NodeMetadataChange;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Parallel — splits execution into concurrent branches.
|
|
52
|
-
*/
|
|
53
|
-
export declare class ParallelFlowNode extends Model {
|
|
54
|
-
value: unknown;
|
|
55
|
-
branches: unknown[];
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Merge — normalises branch/parallel outputs into a single output.
|
|
59
|
-
*/
|
|
60
|
-
export declare class MergeFlowNode extends Model {
|
|
61
|
-
values: unknown[];
|
|
62
|
-
merged: unknown;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Map — transforms the current input into a new output object.
|
|
66
|
-
*/
|
|
67
|
-
export declare class MapFlowNode extends Model {
|
|
68
|
-
value: unknown;
|
|
69
|
-
result: unknown;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Delay — pauses execution for a configured duration.
|
|
73
|
-
*/
|
|
74
|
-
export declare class DelayFlowNode extends Model {
|
|
75
|
-
value: unknown;
|
|
76
|
-
valueOut: unknown;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Error boundary — try/catch/finally workflow behaviour.
|
|
80
|
-
*/
|
|
81
|
-
export declare class ErrorBoundaryFlowNode extends Model {
|
|
82
|
-
value: unknown;
|
|
83
|
-
result: unknown;
|
|
84
|
-
error: unknown;
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Human approval — suspends execution until a human approves or rejects.
|
|
88
|
-
*/
|
|
89
|
-
export declare class HumanApprovalFlowNode extends Model {
|
|
90
|
-
value: unknown;
|
|
91
|
-
approved: unknown;
|
|
92
|
-
rejected: unknown;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Return — defines and normalises the final workflow output.
|
|
96
|
-
*/
|
|
97
|
-
export declare class ReturnFlowNode extends Model {
|
|
98
|
-
value: unknown;
|
|
99
|
-
result: unknown;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Code — sandboxed JS/TS code execution (ALFRED-5 §7, DECAF-32 §22.4).
|
|
103
|
-
*
|
|
104
|
-
* The engine's {@link CodeGraphNodeExecutor} delegates to the pluggable
|
|
105
|
-
* {@link CodeSandboxEvaluator}. The default
|
|
106
|
-
* `IsolatedVmCodeSandboxEvaluator` (backed by `isolated-vm`) enforces the
|
|
107
|
-
* Code Node restrictions: no imports, no requires, pure functions only. The
|
|
108
|
-
* sandbox context exposes `$input`, `$vars`, `$item`, `$index`, `$node`, and
|
|
109
|
-
* `$output` as data variables. TypeScript is supported via transpilation.
|
|
110
|
-
*/
|
|
111
|
-
/**
|
|
112
|
-
* Input schema for the Code node. The `@input` on `CodeFlowNode.input` is a
|
|
113
|
-
* schema group — the nested model's `@input` ports are spliced into the
|
|
114
|
-
* parent unprefixed. `code` has `@input` + `@uielement("code-editor")`, so it
|
|
115
|
-
* appears as a port AND in the CRUD modal (the only visible field). `data`
|
|
116
|
-
* has `@input` + `@hidden()` but no `@uielement`, so it is a canvas-only port
|
|
117
|
-
* (for edge connections from workflow input badges) but never appears in the
|
|
118
|
-
* CRUD modal. `language` has no `@input` and no `@uielement`, so it is
|
|
119
|
-
* neither a port nor rendered — it defaults to `"javascript"`.
|
|
120
|
-
*/
|
|
121
|
-
export declare class CodeInputSchema extends Model {
|
|
122
|
-
language: string;
|
|
123
|
-
code: string;
|
|
124
|
-
data?: unknown;
|
|
125
|
-
}
|
|
126
|
-
export declare class CodeFlowNode extends Model {
|
|
127
|
-
input: CodeInputSchema;
|
|
128
|
-
result: unknown;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Log — logs the input value and forwards it unchanged on the `logged`
|
|
132
|
-
* output port. Useful for debugging, audit trails, and discard/side-effect
|
|
133
|
-
* branches in a workflow.
|
|
134
|
-
*/
|
|
135
|
-
export declare class LogFlowNode extends Model {
|
|
136
|
-
value: unknown;
|
|
137
|
-
logged: unknown;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Utility Log — logs the input value through the run's `ctx.logger` at a
|
|
141
|
-
* configurable level and forwards it unchanged on the `logged` output port
|
|
142
|
-
* (DECAF-48 §4.3).
|
|
143
|
-
*/
|
|
144
|
-
export declare class UtilityLogNode extends Model {
|
|
145
|
-
value: unknown;
|
|
146
|
-
level: LogNodeLevel;
|
|
147
|
-
logged: unknown;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Break — breaks out of the enclosing loop (foreach/while/until). When
|
|
151
|
-
* executed inside a loop body, the loop terminates early and the loop's
|
|
152
|
-
* `completed`/`state` output carries the results collected so far. The
|
|
153
|
-
* Break node executor throws a {@link GraphBreakSignal} that the enclosing
|
|
154
|
-
* loop executor catches.
|
|
155
|
-
*/
|
|
156
|
-
export declare class BreakFlowNode extends Model {
|
|
157
|
-
value: unknown;
|
|
158
|
-
broken: unknown;
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* All built-in flow-control node constructors.
|
|
162
|
-
*/
|
|
163
|
-
export declare const GRAPH_FLOW_CONTROL_NODES: readonly [typeof IfFlowNode, typeof SwitchFlowNode, typeof ParallelFlowNode, typeof MergeFlowNode, typeof MapFlowNode, typeof DelayFlowNode, typeof ErrorBoundaryFlowNode, typeof HumanApprovalFlowNode, typeof ReturnFlowNode, typeof CodeFlowNode, typeof LogFlowNode, typeof UtilityLogNode, typeof BreakFlowNode];
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module integrations/graph/nodes/flow-control
|
|
3
|
-
* @summary Production flow-control node kind declarations (DECAF-32 §22.2.2).
|
|
4
|
-
* @description Canonical `@node`-decorated classes for the ALFRED-5
|
|
5
|
-
* flow-control kinds, plus the DECAF-48 `core.utility.log` Log node. These
|
|
6
|
-
* are graph-level macros: the engine's planner recognises them as ordinary
|
|
7
|
-
* executable nodes (§5.7) but they have no built-in executors — downstream
|
|
8
|
-
* projects (e.g. ALFRED) register custom executors or compile them into
|
|
9
|
-
* Mastra composition APIs (§22.2.2). The `core.utility.log` node is the one
|
|
10
|
-
* exception: its {@link LogGraphNodeExecutor} is built in and logs the input
|
|
11
|
-
* through the run's `ctx.logger` (DECAF-48 §4.3).
|
|
12
|
-
*
|
|
13
|
-
* The three loop kinds (`core.loop.foreach/while/until`) already have built-in
|
|
14
|
-
* executors (§5.9) and are NOT redeclared here.
|
|
15
|
-
*/
|
|
16
|
-
import { Model } from "@decaf-ts/decorator-validation";
|
|
17
|
-
import type { LogNodeLevel, NodeMetadataChange, SwitchNodeMetadata } from "../types.d.mts";
|
|
18
|
-
import { GraphNode } from "./base.d.mts";
|
|
19
|
-
/**
|
|
20
|
-
* If — conditional branch. Evaluates a `ConditionExpression` (§22.3) and
|
|
21
|
-
* routes the input to the `then` or `else` output.
|
|
22
|
-
*/
|
|
23
|
-
export declare class IfFlowNode extends Model {
|
|
24
|
-
value: unknown;
|
|
25
|
-
then: unknown;
|
|
26
|
-
else: unknown;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Switch — multi-branch. Routes the input to one of the case output ports
|
|
30
|
-
* or `default` based on matching conditions. Each case defines a
|
|
31
|
-
* {@link SwitchCaseCondition} (graphical or code mode) and a dedicated
|
|
32
|
-
* output port. Cases are stored in `metadata.switch.cases` and the
|
|
33
|
-
* renderer creates dynamic output ports from them (DECAF-32 §22.2.2).
|
|
34
|
-
*
|
|
35
|
-
* The node grows in height as cases are added. Each case gets its own
|
|
36
|
-
* output port on the right side, labeled with the case label.
|
|
37
|
-
*/
|
|
38
|
-
export declare class SwitchFlowNode extends GraphNode {
|
|
39
|
-
value: unknown;
|
|
40
|
-
default: unknown;
|
|
41
|
-
/**
|
|
42
|
-
* Computes the node's ports, size, and data patch from the given switch
|
|
43
|
-
* metadata. Each case gets its own output port on the right side; the
|
|
44
|
-
* `default` port always renders **last** (DECAF-32 §21 port-ordering rule,
|
|
45
|
-
* DECAF-34 §6.2). When `hasDefault` is `false`, the `default` output port
|
|
46
|
-
* is omitted entirely. The node grows in height as cases are added.
|
|
47
|
-
*/
|
|
48
|
-
static applyMetadata(meta: SwitchNodeMetadata): NodeMetadataChange;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Parallel — splits execution into concurrent branches.
|
|
52
|
-
*/
|
|
53
|
-
export declare class ParallelFlowNode extends Model {
|
|
54
|
-
value: unknown;
|
|
55
|
-
branches: unknown[];
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Merge — normalises branch/parallel outputs into a single output.
|
|
59
|
-
*/
|
|
60
|
-
export declare class MergeFlowNode extends Model {
|
|
61
|
-
values: unknown[];
|
|
62
|
-
merged: unknown;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Map — transforms the current input into a new output object.
|
|
66
|
-
*/
|
|
67
|
-
export declare class MapFlowNode extends Model {
|
|
68
|
-
value: unknown;
|
|
69
|
-
result: unknown;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Delay — pauses execution for a configured duration.
|
|
73
|
-
*/
|
|
74
|
-
export declare class DelayFlowNode extends Model {
|
|
75
|
-
value: unknown;
|
|
76
|
-
valueOut: unknown;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Error boundary — try/catch/finally workflow behaviour.
|
|
80
|
-
*/
|
|
81
|
-
export declare class ErrorBoundaryFlowNode extends Model {
|
|
82
|
-
value: unknown;
|
|
83
|
-
result: unknown;
|
|
84
|
-
error: unknown;
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Human approval — suspends execution until a human approves or rejects.
|
|
88
|
-
*/
|
|
89
|
-
export declare class HumanApprovalFlowNode extends Model {
|
|
90
|
-
value: unknown;
|
|
91
|
-
approved: unknown;
|
|
92
|
-
rejected: unknown;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Return — defines and normalises the final workflow output.
|
|
96
|
-
*/
|
|
97
|
-
export declare class ReturnFlowNode extends Model {
|
|
98
|
-
value: unknown;
|
|
99
|
-
result: unknown;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Code — sandboxed JS/TS code execution (ALFRED-5 §7, DECAF-32 §22.4).
|
|
103
|
-
*
|
|
104
|
-
* The engine's {@link CodeGraphNodeExecutor} delegates to the pluggable
|
|
105
|
-
* {@link CodeSandboxEvaluator}. The default
|
|
106
|
-
* `IsolatedVmCodeSandboxEvaluator` (backed by `isolated-vm`) enforces the
|
|
107
|
-
* Code Node restrictions: no imports, no requires, pure functions only. The
|
|
108
|
-
* sandbox context exposes `$input`, `$vars`, `$item`, `$index`, `$node`, and
|
|
109
|
-
* `$output` as data variables. TypeScript is supported via transpilation.
|
|
110
|
-
*/
|
|
111
|
-
/**
|
|
112
|
-
* Input schema for the Code node. The `@input` on `CodeFlowNode.input` is a
|
|
113
|
-
* schema group — the nested model's `@input` ports are spliced into the
|
|
114
|
-
* parent unprefixed. `code` has `@input` + `@uielement("code-editor")`, so it
|
|
115
|
-
* appears as a port AND in the CRUD modal (the only visible field). `data`
|
|
116
|
-
* has `@input` + `@hidden()` but no `@uielement`, so it is a canvas-only port
|
|
117
|
-
* (for edge connections from workflow input badges) but never appears in the
|
|
118
|
-
* CRUD modal. `language` has no `@input` and no `@uielement`, so it is
|
|
119
|
-
* neither a port nor rendered — it defaults to `"javascript"`.
|
|
120
|
-
*/
|
|
121
|
-
export declare class CodeInputSchema extends Model {
|
|
122
|
-
language: string;
|
|
123
|
-
code: string;
|
|
124
|
-
data?: unknown;
|
|
125
|
-
}
|
|
126
|
-
export declare class CodeFlowNode extends Model {
|
|
127
|
-
input: CodeInputSchema;
|
|
128
|
-
result: unknown;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Log — logs the input value and forwards it unchanged on the `logged`
|
|
132
|
-
* output port. Useful for debugging, audit trails, and discard/side-effect
|
|
133
|
-
* branches in a workflow.
|
|
134
|
-
*/
|
|
135
|
-
export declare class LogFlowNode extends Model {
|
|
136
|
-
value: unknown;
|
|
137
|
-
logged: unknown;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Utility Log — logs the input value through the run's `ctx.logger` at a
|
|
141
|
-
* configurable level and forwards it unchanged on the `logged` output port
|
|
142
|
-
* (DECAF-48 §4.3).
|
|
143
|
-
*/
|
|
144
|
-
export declare class UtilityLogNode extends Model {
|
|
145
|
-
value: unknown;
|
|
146
|
-
level: LogNodeLevel;
|
|
147
|
-
logged: unknown;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Break — breaks out of the enclosing loop (foreach/while/until). When
|
|
151
|
-
* executed inside a loop body, the loop terminates early and the loop's
|
|
152
|
-
* `completed`/`state` output carries the results collected so far. The
|
|
153
|
-
* Break node executor throws a {@link GraphBreakSignal} that the enclosing
|
|
154
|
-
* loop executor catches.
|
|
155
|
-
*/
|
|
156
|
-
export declare class BreakFlowNode extends Model {
|
|
157
|
-
value: unknown;
|
|
158
|
-
broken: unknown;
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* All built-in flow-control node constructors.
|
|
162
|
-
*/
|
|
163
|
-
export declare const GRAPH_FLOW_CONTROL_NODES: readonly [typeof IfFlowNode, typeof SwitchFlowNode, typeof ParallelFlowNode, typeof MergeFlowNode, typeof MapFlowNode, typeof DelayFlowNode, typeof ErrorBoundaryFlowNode, typeof HumanApprovalFlowNode, typeof ReturnFlowNode, typeof CodeFlowNode, typeof LogFlowNode, typeof UtilityLogNode, typeof BreakFlowNode];
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module integrations/graph/nodes
|
|
3
|
-
* @summary Production node kind declarations (DECAF-32 §22.2).
|
|
4
|
-
* @description Canonical `@node`-decorated classes for the ALFRED-5 node kind
|
|
5
|
-
* taxonomy. These are the framework's built-in node definitions — triggers
|
|
6
|
-
* (§22.2.1), flow-control/utility nodes (§22.2.2–22.2.3), and the Agent node
|
|
7
|
-
* (§21.3). The three loop kinds (`core.loop.foreach/while/until`) already have
|
|
8
|
-
* built-in executors (§5.9) and are not redeclared here.
|
|
9
|
-
*
|
|
10
|
-
* Consumers (for-angular, ALFRED, etc.) import these declarations to populate
|
|
11
|
-
* node palettes, registries, and reference snapshots.
|
|
12
|
-
*/
|
|
13
|
-
export * from "./base.d.cts";
|
|
14
|
-
export * from "./category-styles.d.cts";
|
|
15
|
-
export * from "./triggers.d.cts";
|
|
16
|
-
export * from "./flow-control.d.cts";
|
|
17
|
-
export * from "./agent.d.cts";
|