@decaf-ts/integrations 0.3.4 → 0.3.6
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/dist/integrations.cjs +2 -48
- package/dist/integrations.cjs.map +1 -0
- package/dist/integrations.js +2 -49
- package/dist/integrations.js.map +1 -0
- package/lib/cjs/blob/azure/AzureBlobStoreService.cjs +2 -2
- package/lib/cjs/blob/azure/AzureBlobStoreService.cjs.map +1 -0
- package/lib/cjs/blob/azure/index.cjs +2 -2
- package/lib/cjs/blob/azure/index.cjs.map +1 -0
- package/lib/cjs/blob/core/BlobErrors.cjs +2 -2
- package/lib/cjs/blob/core/BlobErrors.cjs.map +1 -0
- package/lib/cjs/blob/core/BlobKey.cjs +2 -2
- package/lib/cjs/blob/core/BlobKey.cjs.map +1 -0
- package/lib/cjs/blob/core/BlobStoreFactory.cjs +2 -2
- package/lib/cjs/blob/core/BlobStoreFactory.cjs.map +1 -0
- package/lib/cjs/blob/core/BlobStoreService.cjs +2 -2
- package/lib/cjs/blob/core/BlobStoreService.cjs.map +1 -0
- package/lib/cjs/blob/core/BlobTypes.cjs +2 -2
- package/lib/cjs/blob/core/BlobTypes.cjs.map +1 -0
- package/lib/cjs/blob/core/BlobValue.cjs +2 -2
- package/lib/cjs/blob/core/BlobValue.cjs.map +1 -0
- package/lib/cjs/blob/core/index.cjs +2 -2
- package/lib/cjs/blob/core/index.cjs.map +1 -0
- package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs +2 -2
- package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs.map +1 -0
- package/lib/cjs/blob/gcp/index.cjs +2 -2
- package/lib/cjs/blob/gcp/index.cjs.map +1 -0
- package/lib/cjs/blob/index.cjs +2 -2
- package/lib/cjs/blob/index.cjs.map +1 -0
- package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs +2 -2
- package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs.map +1 -0
- package/lib/cjs/blob/ipfs/IpfsKeyIndex.cjs +2 -2
- package/lib/cjs/blob/ipfs/IpfsKeyIndex.cjs.map +1 -0
- package/lib/cjs/blob/ipfs/LocalJsonIpfsKeyIndex.cjs +2 -2
- package/lib/cjs/blob/ipfs/LocalJsonIpfsKeyIndex.cjs.map +1 -0
- package/lib/cjs/blob/ipfs/MemoryIpfsKeyIndex.cjs +2 -2
- package/lib/cjs/blob/ipfs/MemoryIpfsKeyIndex.cjs.map +1 -0
- package/lib/cjs/blob/ipfs/PostgresIpfsKeyIndex.cjs +2 -2
- package/lib/cjs/blob/ipfs/PostgresIpfsKeyIndex.cjs.map +1 -0
- package/lib/cjs/blob/ipfs/index.cjs +2 -2
- package/lib/cjs/blob/ipfs/index.cjs.map +1 -0
- package/lib/cjs/blob/local/LocalBlobStoreService.cjs +2 -2
- package/lib/cjs/blob/local/LocalBlobStoreService.cjs.map +1 -0
- package/lib/cjs/blob/local/index.cjs +2 -2
- package/lib/cjs/blob/local/index.cjs.map +1 -0
- package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs +2 -2
- package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs.map +1 -0
- package/lib/cjs/blob/memory/index.cjs +2 -2
- package/lib/cjs/blob/memory/index.cjs.map +1 -0
- package/lib/cjs/blob/s3/MinioBlobStoreService.cjs +2 -2
- package/lib/cjs/blob/s3/MinioBlobStoreService.cjs.map +1 -0
- package/lib/cjs/blob/s3/R2BlobStoreService.cjs +2 -2
- package/lib/cjs/blob/s3/R2BlobStoreService.cjs.map +1 -0
- package/lib/cjs/blob/s3/S3BlobStoreService.cjs +2 -2
- package/lib/cjs/blob/s3/S3BlobStoreService.cjs.map +1 -0
- package/lib/cjs/blob/s3/index.cjs +2 -2
- package/lib/cjs/blob/s3/index.cjs.map +1 -0
- package/lib/cjs/docker/DockerComposeService.cjs +2 -2
- package/lib/cjs/docker/DockerComposeService.cjs.map +1 -0
- package/lib/cjs/docker/index.cjs +2 -2
- package/lib/cjs/docker/index.cjs.map +1 -0
- package/lib/cjs/graph/constants.cjs +2 -2
- package/lib/cjs/graph/constants.cjs.map +1 -0
- package/lib/cjs/graph/decorators.cjs +2 -2
- package/lib/cjs/graph/decorators.cjs.map +1 -0
- package/lib/cjs/graph/errors/GraphCycleError.cjs +2 -2
- package/lib/cjs/graph/errors/GraphCycleError.cjs.map +1 -0
- package/lib/cjs/graph/errors/GraphExecutionError.cjs +2 -2
- package/lib/cjs/graph/errors/GraphExecutionError.cjs.map +1 -0
- package/lib/cjs/graph/errors/GraphInputError.cjs +2 -2
- package/lib/cjs/graph/errors/GraphInputError.cjs.map +1 -0
- package/lib/cjs/graph/errors/GraphLoopLimitError.cjs +2 -2
- package/lib/cjs/graph/errors/GraphLoopLimitError.cjs.map +1 -0
- package/lib/cjs/graph/errors/GraphPinningError.cjs +2 -2
- package/lib/cjs/graph/errors/GraphPinningError.cjs.map +1 -0
- package/lib/cjs/graph/errors/GraphPortError.cjs +2 -2
- package/lib/cjs/graph/errors/GraphPortError.cjs.map +1 -0
- package/lib/cjs/graph/errors/GraphStoreError.cjs +2 -2
- package/lib/cjs/graph/errors/GraphStoreError.cjs.map +1 -0
- package/lib/cjs/graph/errors/GraphTopologyError.cjs +2 -2
- package/lib/cjs/graph/errors/GraphTopologyError.cjs.map +1 -0
- package/lib/cjs/graph/errors/index.cjs +2 -2
- package/lib/cjs/graph/errors/index.cjs.map +1 -0
- package/lib/cjs/graph/events/GraphExecutionEvent.cjs +2 -2
- package/lib/cjs/graph/events/GraphExecutionEvent.cjs.map +1 -0
- package/lib/cjs/graph/events/GraphExecutionEventEmitter.cjs +2 -2
- package/lib/cjs/graph/events/GraphExecutionEventEmitter.cjs.map +1 -0
- package/lib/cjs/graph/events/GraphExecutionEventFactory.cjs +2 -2
- package/lib/cjs/graph/events/GraphExecutionEventFactory.cjs.map +1 -0
- package/lib/cjs/graph/events/GraphExecutionObserver.cjs +2 -2
- package/lib/cjs/graph/events/GraphExecutionObserver.cjs.map +1 -0
- package/lib/cjs/graph/events/index.cjs +2 -2
- package/lib/cjs/graph/events/index.cjs.map +1 -0
- package/lib/cjs/graph/execution/CodeSandboxEvaluator.cjs +4 -0
- package/lib/cjs/graph/execution/CodeSandboxEvaluator.cjs.map +1 -0
- package/lib/cjs/graph/execution/GraphExecutionContext.cjs +2 -2
- package/lib/cjs/graph/execution/GraphExecutionContext.cjs.map +1 -0
- package/lib/cjs/graph/execution/GraphExecutionEngine.cjs +3 -2
- package/lib/cjs/graph/execution/GraphExecutionEngine.cjs.map +1 -0
- package/lib/cjs/graph/execution/GraphExecutionFrame.cjs +2 -2
- package/lib/cjs/graph/execution/GraphExecutionFrame.cjs.map +1 -0
- package/lib/cjs/graph/execution/GraphExecutionResult.cjs +2 -2
- package/lib/cjs/graph/execution/GraphExecutionResult.cjs.map +1 -0
- package/lib/cjs/graph/execution/GraphNodeExecutor.cjs +2 -2
- package/lib/cjs/graph/execution/GraphNodeExecutor.cjs.map +1 -0
- package/lib/cjs/graph/execution/SwitchGraphNodeExecutor.cjs +103 -0
- package/lib/cjs/graph/execution/SwitchGraphNodeExecutor.cjs.map +1 -0
- package/lib/cjs/graph/execution/index.cjs +4 -2
- package/lib/cjs/graph/execution/index.cjs.map +1 -0
- package/lib/cjs/graph/index.cjs +7 -2
- package/lib/cjs/graph/index.cjs.map +1 -0
- package/lib/cjs/graph/loops/ConditionExpressionEvaluator.cjs +87 -0
- package/lib/cjs/graph/loops/ConditionExpressionEvaluator.cjs.map +1 -0
- package/lib/cjs/graph/loops/ForeachGraphNodeExecutor.cjs +2 -2
- package/lib/cjs/graph/loops/ForeachGraphNodeExecutor.cjs.map +1 -0
- package/lib/cjs/graph/loops/GraphConditionEvaluator.cjs +25 -3
- package/lib/cjs/graph/loops/GraphConditionEvaluator.cjs.map +1 -0
- package/lib/cjs/graph/loops/GraphLoopExecutionContext.cjs +2 -2
- package/lib/cjs/graph/loops/GraphLoopExecutionContext.cjs.map +1 -0
- package/lib/cjs/graph/loops/UntilGraphNodeExecutor.cjs +2 -2
- package/lib/cjs/graph/loops/UntilGraphNodeExecutor.cjs.map +1 -0
- package/lib/cjs/graph/loops/WhileGraphNodeExecutor.cjs +2 -2
- package/lib/cjs/graph/loops/WhileGraphNodeExecutor.cjs.map +1 -0
- package/lib/cjs/graph/loops/index.cjs +3 -2
- package/lib/cjs/graph/loops/index.cjs.map +1 -0
- package/lib/cjs/graph/nodes/agent.cjs +110 -0
- package/lib/cjs/graph/nodes/agent.cjs.map +1 -0
- package/lib/cjs/graph/nodes/category-styles.cjs +38 -0
- package/lib/cjs/graph/nodes/category-styles.cjs.map +1 -0
- package/lib/cjs/graph/nodes/flow-control.cjs +436 -0
- package/lib/cjs/graph/nodes/flow-control.cjs.map +1 -0
- package/lib/cjs/graph/nodes/index.cjs +34 -0
- package/lib/cjs/graph/nodes/index.cjs.map +1 -0
- package/lib/cjs/graph/nodes/triggers.cjs +250 -0
- package/lib/cjs/graph/nodes/triggers.cjs.map +1 -0
- package/lib/cjs/graph/pinning/GraphPinningDependencyResolver.cjs +2 -2
- package/lib/cjs/graph/pinning/GraphPinningDependencyResolver.cjs.map +1 -0
- package/lib/cjs/graph/pinning/GraphPinningMetadata.cjs +2 -2
- package/lib/cjs/graph/pinning/GraphPinningMetadata.cjs.map +1 -0
- package/lib/cjs/graph/pinning/GraphPinningPolicy.cjs +2 -2
- package/lib/cjs/graph/pinning/GraphPinningPolicy.cjs.map +1 -0
- package/lib/cjs/graph/pinning/GraphPinningService.cjs +2 -2
- package/lib/cjs/graph/pinning/GraphPinningService.cjs.map +1 -0
- package/lib/cjs/graph/pinning/index.cjs +2 -2
- package/lib/cjs/graph/pinning/index.cjs.map +1 -0
- package/lib/cjs/graph/planning/GraphExecutionPlan.cjs +2 -2
- package/lib/cjs/graph/planning/GraphExecutionPlan.cjs.map +1 -0
- package/lib/cjs/graph/planning/GraphExecutionPlanEdge.cjs +2 -2
- package/lib/cjs/graph/planning/GraphExecutionPlanEdge.cjs.map +1 -0
- package/lib/cjs/graph/planning/GraphExecutionPlanLayer.cjs +2 -2
- package/lib/cjs/graph/planning/GraphExecutionPlanLayer.cjs.map +1 -0
- package/lib/cjs/graph/planning/GraphExecutionPlanNode.cjs +2 -2
- package/lib/cjs/graph/planning/GraphExecutionPlanNode.cjs.map +1 -0
- package/lib/cjs/graph/planning/GraphExecutionPlanner.cjs +2 -2
- package/lib/cjs/graph/planning/GraphExecutionPlanner.cjs.map +1 -0
- package/lib/cjs/graph/planning/GraphRelationResolver.cjs +2 -2
- package/lib/cjs/graph/planning/GraphRelationResolver.cjs.map +1 -0
- package/lib/cjs/graph/planning/GraphTopology.cjs +2 -2
- package/lib/cjs/graph/planning/GraphTopology.cjs.map +1 -0
- package/lib/cjs/graph/planning/index.cjs +2 -2
- package/lib/cjs/graph/planning/index.cjs.map +1 -0
- package/lib/cjs/graph/registry/GraphNodeExecutorRegistry.cjs +2 -2
- package/lib/cjs/graph/registry/GraphNodeExecutorRegistry.cjs.map +1 -0
- package/lib/cjs/graph/registry/GraphNodeExecutorResolver.cjs +2 -2
- package/lib/cjs/graph/registry/GraphNodeExecutorResolver.cjs.map +1 -0
- package/lib/cjs/graph/registry/index.cjs +2 -2
- package/lib/cjs/graph/registry/index.cjs.map +1 -0
- package/lib/cjs/graph/snapshots/GraphExecutionSnapshotMapper.cjs +2 -2
- package/lib/cjs/graph/snapshots/GraphExecutionSnapshotMapper.cjs.map +1 -0
- package/lib/cjs/graph/snapshots/index.cjs +2 -2
- package/lib/cjs/graph/snapshots/index.cjs.map +1 -0
- package/lib/cjs/graph/store/GraphCachedValue.cjs +2 -2
- package/lib/cjs/graph/store/GraphCachedValue.cjs.map +1 -0
- package/lib/cjs/graph/store/GraphValueKey.cjs +2 -2
- package/lib/cjs/graph/store/GraphValueKey.cjs.map +1 -0
- package/lib/cjs/graph/store/GraphValueStore.cjs +2 -2
- package/lib/cjs/graph/store/GraphValueStore.cjs.map +1 -0
- package/lib/cjs/graph/store/GraphValueStoreAdapter.cjs +2 -2
- package/lib/cjs/graph/store/GraphValueStoreAdapter.cjs.map +1 -0
- package/lib/cjs/graph/store/InMemoryGraphValueStoreAdapter.cjs +2 -2
- package/lib/cjs/graph/store/InMemoryGraphValueStoreAdapter.cjs.map +1 -0
- package/lib/cjs/graph/store/index.cjs +2 -2
- package/lib/cjs/graph/store/index.cjs.map +1 -0
- package/lib/cjs/graph/types.cjs +2 -2
- package/lib/cjs/graph/types.cjs.map +1 -0
- package/lib/cjs/graph/validation/GraphDefinitionValidator.cjs +2 -2
- package/lib/cjs/graph/validation/GraphDefinitionValidator.cjs.map +1 -0
- package/lib/cjs/graph/validation/GraphPortSchemaResolver.cjs +2 -2
- package/lib/cjs/graph/validation/GraphPortSchemaResolver.cjs.map +1 -0
- package/lib/cjs/graph/validation/GraphValueValidator.cjs +2 -2
- package/lib/cjs/graph/validation/GraphValueValidator.cjs.map +1 -0
- package/lib/cjs/graph/validation/index.cjs +2 -2
- package/lib/cjs/graph/validation/index.cjs.map +1 -0
- package/lib/cjs/index.cjs +5 -5
- package/lib/cjs/index.cjs.map +1 -0
- package/lib/cjs/keycloak/index.cjs +2 -2
- package/lib/cjs/keycloak/index.cjs.map +1 -0
- package/lib/cjs/keycloak/services/KeycloakAuthService.cjs +5 -4
- package/lib/cjs/keycloak/services/KeycloakAuthService.cjs.map +1 -0
- package/lib/cjs/keycloak/services/KeycloakClientService.cjs +5 -4
- package/lib/cjs/keycloak/services/KeycloakClientService.cjs.map +1 -0
- package/lib/cjs/keycloak/services/KeycloakIdentityProviderService.cjs +5 -4
- package/lib/cjs/keycloak/services/KeycloakIdentityProviderService.cjs.map +1 -0
- package/lib/cjs/keycloak/services/KeycloakRealmService.cjs +8 -7
- package/lib/cjs/keycloak/services/KeycloakRealmService.cjs.map +1 -0
- package/lib/cjs/keycloak/services/KeycloakRoleService.cjs +5 -4
- package/lib/cjs/keycloak/services/KeycloakRoleService.cjs.map +1 -0
- package/lib/cjs/keycloak/services/KeycloakService.cjs +5 -3
- package/lib/cjs/keycloak/services/KeycloakService.cjs.map +1 -0
- package/lib/cjs/keycloak/services/KeycloakUserService.cjs +5 -4
- package/lib/cjs/keycloak/services/KeycloakUserService.cjs.map +1 -0
- package/lib/cjs/keycloak/services/index.cjs +2 -2
- package/lib/cjs/keycloak/services/index.cjs.map +1 -0
- package/lib/cjs/keycloak/services/runtime.cjs +20 -0
- package/lib/cjs/keycloak/services/runtime.cjs.map +1 -0
- package/lib/cjs/keycloak/types.cjs +2 -2
- package/lib/cjs/keycloak/types.cjs.map +1 -0
- package/lib/cjs/kibana/helpers.cjs +2 -2
- package/lib/cjs/kibana/helpers.cjs.map +1 -0
- package/lib/cjs/kibana/index.cjs +2 -2
- package/lib/cjs/kibana/index.cjs.map +1 -0
- package/lib/cjs/kibana/services/KibanaAuthService.cjs +6 -5
- package/lib/cjs/kibana/services/KibanaAuthService.cjs.map +1 -0
- package/lib/cjs/kibana/services/KibanaDashboardService.cjs +9 -8
- package/lib/cjs/kibana/services/KibanaDashboardService.cjs.map +1 -0
- package/lib/cjs/kibana/services/KibanaDataViewService.cjs +7 -6
- package/lib/cjs/kibana/services/KibanaDataViewService.cjs.map +1 -0
- package/lib/cjs/kibana/services/KibanaRoleService.cjs +5 -4
- package/lib/cjs/kibana/services/KibanaRoleService.cjs.map +1 -0
- package/lib/cjs/kibana/services/KibanaService.cjs +4 -2
- package/lib/cjs/kibana/services/KibanaService.cjs.map +1 -0
- package/lib/cjs/kibana/services/KibanaSpaceService.cjs +5 -4
- package/lib/cjs/kibana/services/KibanaSpaceService.cjs.map +1 -0
- package/lib/cjs/kibana/services/KibanaUserService.cjs +5 -4
- package/lib/cjs/kibana/services/KibanaUserService.cjs.map +1 -0
- package/lib/cjs/kibana/services/index.cjs +2 -2
- package/lib/cjs/kibana/services/index.cjs.map +1 -0
- package/lib/cjs/kibana/services/runtime.cjs +20 -0
- package/lib/cjs/kibana/services/runtime.cjs.map +1 -0
- package/lib/cjs/kibana/types.cjs +2 -2
- package/lib/cjs/kibana/types.cjs.map +1 -0
- package/lib/cjs/nest/authService.cjs +5 -2
- package/lib/cjs/nest/authService.cjs.map +1 -0
- package/lib/cjs/nest/index.cjs +2 -2
- package/lib/cjs/nest/index.cjs.map +1 -0
- package/lib/cjs/nest/keycloakAuthHandler.cjs +2 -2
- package/lib/cjs/nest/keycloakAuthHandler.cjs.map +1 -0
- package/lib/cjs/nest/keycloakModule.cjs +2 -2
- package/lib/cjs/nest/keycloakModule.cjs.map +1 -0
- package/lib/cjs/nest/logging.cjs +2 -2
- package/lib/cjs/nest/logging.cjs.map +1 -0
- package/lib/cjs/nest/types.cjs +2 -2
- package/lib/cjs/nest/types.cjs.map +1 -0
- package/lib/cjs/nest/utils.cjs +2 -2
- package/lib/cjs/nest/utils.cjs.map +1 -0
- package/lib/cjs/secrets/aws/AwsSecretService.cjs +2 -2
- package/lib/cjs/secrets/aws/AwsSecretService.cjs.map +1 -0
- package/lib/cjs/secrets/aws/AwsSecretServiceConfig.cjs +2 -2
- package/lib/cjs/secrets/aws/AwsSecretServiceConfig.cjs.map +1 -0
- package/lib/cjs/secrets/aws/index.cjs +2 -2
- package/lib/cjs/secrets/aws/index.cjs.map +1 -0
- package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs +2 -2
- package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs.map +1 -0
- package/lib/cjs/secrets/azure/AzureKeyVaultSecretServiceConfig.cjs +2 -2
- package/lib/cjs/secrets/azure/AzureKeyVaultSecretServiceConfig.cjs.map +1 -0
- package/lib/cjs/secrets/azure/index.cjs +2 -2
- package/lib/cjs/secrets/azure/index.cjs.map +1 -0
- package/lib/cjs/secrets/core/SecretErrors.cjs +2 -2
- package/lib/cjs/secrets/core/SecretErrors.cjs.map +1 -0
- package/lib/cjs/secrets/core/SecretName.cjs +2 -2
- package/lib/cjs/secrets/core/SecretName.cjs.map +1 -0
- package/lib/cjs/secrets/core/SecretReference.cjs +2 -2
- package/lib/cjs/secrets/core/SecretReference.cjs.map +1 -0
- package/lib/cjs/secrets/core/SecretSerialization.cjs +2 -2
- package/lib/cjs/secrets/core/SecretSerialization.cjs.map +1 -0
- package/lib/cjs/secrets/core/SecretService.cjs +2 -2
- package/lib/cjs/secrets/core/SecretService.cjs.map +1 -0
- package/lib/cjs/secrets/core/SecretTypes.cjs +2 -2
- package/lib/cjs/secrets/core/SecretTypes.cjs.map +1 -0
- package/lib/cjs/secrets/core/index.cjs +2 -2
- package/lib/cjs/secrets/core/index.cjs.map +1 -0
- package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs +2 -2
- package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs.map +1 -0
- package/lib/cjs/secrets/gcp/GcpSecretManagerServiceConfig.cjs +2 -2
- package/lib/cjs/secrets/gcp/GcpSecretManagerServiceConfig.cjs.map +1 -0
- package/lib/cjs/secrets/gcp/index.cjs +2 -2
- package/lib/cjs/secrets/gcp/index.cjs.map +1 -0
- package/lib/cjs/secrets/index.cjs +2 -2
- package/lib/cjs/secrets/index.cjs.map +1 -0
- package/lib/cjs/secrets/model/ModelSecretCrypto.cjs +2 -2
- package/lib/cjs/secrets/model/ModelSecretCrypto.cjs.map +1 -0
- package/lib/cjs/secrets/model/ModelSecretService.cjs +2 -2
- package/lib/cjs/secrets/model/ModelSecretService.cjs.map +1 -0
- package/lib/cjs/secrets/model/ModelSecretServiceConfig.cjs +2 -2
- package/lib/cjs/secrets/model/ModelSecretServiceConfig.cjs.map +1 -0
- package/lib/cjs/secrets/model/Secret.cjs +2 -2
- package/lib/cjs/secrets/model/Secret.cjs.map +1 -0
- package/lib/cjs/secrets/model/index.cjs +2 -2
- package/lib/cjs/secrets/model/index.cjs.map +1 -0
- package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs +2 -2
- package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs.map +1 -0
- package/lib/cjs/secrets/onepassword/OnePasswordSecretServiceConfig.cjs +2 -2
- package/lib/cjs/secrets/onepassword/OnePasswordSecretServiceConfig.cjs.map +1 -0
- package/lib/cjs/secrets/onepassword/index.cjs +2 -2
- package/lib/cjs/secrets/onepassword/index.cjs.map +1 -0
- package/lib/cjs/secrets/vault/VaultSecretService.cjs +2 -2
- package/lib/cjs/secrets/vault/VaultSecretService.cjs.map +1 -0
- package/lib/cjs/secrets/vault/VaultSecretServiceConfig.cjs +2 -2
- package/lib/cjs/secrets/vault/VaultSecretServiceConfig.cjs.map +1 -0
- package/lib/cjs/secrets/vault/index.cjs +2 -2
- package/lib/cjs/secrets/vault/index.cjs.map +1 -0
- package/lib/cjs/shared/runtime.cjs +2 -2
- package/lib/cjs/shared/runtime.cjs.map +1 -0
- package/lib/cjs/utils.cjs +2 -2
- package/lib/cjs/utils.cjs.map +1 -0
- package/lib/esm/blob/azure/AzureBlobStoreService.js +1 -1
- package/lib/esm/blob/azure/AzureBlobStoreService.js.map +1 -0
- package/lib/esm/blob/azure/index.js +1 -1
- package/lib/esm/blob/azure/index.js.map +1 -0
- package/lib/esm/blob/core/BlobErrors.js +1 -1
- package/lib/esm/blob/core/BlobErrors.js.map +1 -0
- package/lib/esm/blob/core/BlobKey.js +1 -1
- package/lib/esm/blob/core/BlobKey.js.map +1 -0
- package/lib/esm/blob/core/BlobStoreFactory.js +1 -1
- package/lib/esm/blob/core/BlobStoreFactory.js.map +1 -0
- package/lib/esm/blob/core/BlobStoreService.js +1 -1
- package/lib/esm/blob/core/BlobStoreService.js.map +1 -0
- package/lib/esm/blob/core/BlobTypes.js +1 -1
- package/lib/esm/blob/core/BlobTypes.js.map +1 -0
- package/lib/esm/blob/core/BlobValue.js +1 -1
- package/lib/esm/blob/core/BlobValue.js.map +1 -0
- package/lib/esm/blob/core/index.js +1 -1
- package/lib/esm/blob/core/index.js.map +1 -0
- package/lib/esm/blob/gcp/GcsBlobStoreService.js +1 -1
- package/lib/esm/blob/gcp/GcsBlobStoreService.js.map +1 -0
- package/lib/esm/blob/gcp/index.js +1 -1
- package/lib/esm/blob/gcp/index.js.map +1 -0
- package/lib/esm/blob/index.js +1 -1
- package/lib/esm/blob/index.js.map +1 -0
- package/lib/esm/blob/ipfs/IpfsBlobStoreService.js +1 -1
- package/lib/esm/blob/ipfs/IpfsBlobStoreService.js.map +1 -0
- package/lib/esm/blob/ipfs/IpfsKeyIndex.js +1 -1
- package/lib/esm/blob/ipfs/IpfsKeyIndex.js.map +1 -0
- package/lib/esm/blob/ipfs/LocalJsonIpfsKeyIndex.js +1 -1
- package/lib/esm/blob/ipfs/LocalJsonIpfsKeyIndex.js.map +1 -0
- package/lib/esm/blob/ipfs/MemoryIpfsKeyIndex.js +1 -1
- package/lib/esm/blob/ipfs/MemoryIpfsKeyIndex.js.map +1 -0
- package/lib/esm/blob/ipfs/PostgresIpfsKeyIndex.js +1 -1
- package/lib/esm/blob/ipfs/PostgresIpfsKeyIndex.js.map +1 -0
- package/lib/esm/blob/ipfs/index.js +1 -1
- package/lib/esm/blob/ipfs/index.js.map +1 -0
- package/lib/esm/blob/local/LocalBlobStoreService.js +1 -1
- package/lib/esm/blob/local/LocalBlobStoreService.js.map +1 -0
- package/lib/esm/blob/local/index.js +1 -1
- package/lib/esm/blob/local/index.js.map +1 -0
- package/lib/esm/blob/memory/MemoryBlobStoreService.js +1 -1
- package/lib/esm/blob/memory/MemoryBlobStoreService.js.map +1 -0
- package/lib/esm/blob/memory/index.js +1 -1
- package/lib/esm/blob/memory/index.js.map +1 -0
- package/lib/esm/blob/s3/MinioBlobStoreService.js +1 -1
- package/lib/esm/blob/s3/MinioBlobStoreService.js.map +1 -0
- package/lib/esm/blob/s3/R2BlobStoreService.js +1 -1
- package/lib/esm/blob/s3/R2BlobStoreService.js.map +1 -0
- package/lib/esm/blob/s3/S3BlobStoreService.js +1 -1
- package/lib/esm/blob/s3/S3BlobStoreService.js.map +1 -0
- package/lib/esm/blob/s3/index.js +1 -1
- package/lib/esm/blob/s3/index.js.map +1 -0
- package/lib/esm/docker/DockerComposeService.js +1 -1
- package/lib/esm/docker/DockerComposeService.js.map +1 -0
- package/lib/esm/docker/index.js +1 -1
- package/lib/esm/docker/index.js.map +1 -0
- package/lib/esm/graph/constants.js +1 -1
- package/lib/esm/graph/constants.js.map +1 -0
- package/lib/esm/graph/decorators.js +1 -1
- package/lib/esm/graph/decorators.js.map +1 -0
- package/lib/esm/graph/errors/GraphCycleError.js +1 -1
- package/lib/esm/graph/errors/GraphCycleError.js.map +1 -0
- package/lib/esm/graph/errors/GraphExecutionError.js +1 -1
- package/lib/esm/graph/errors/GraphExecutionError.js.map +1 -0
- package/lib/esm/graph/errors/GraphInputError.js +1 -1
- package/lib/esm/graph/errors/GraphInputError.js.map +1 -0
- package/lib/esm/graph/errors/GraphLoopLimitError.js +1 -1
- package/lib/esm/graph/errors/GraphLoopLimitError.js.map +1 -0
- package/lib/esm/graph/errors/GraphPinningError.js +1 -1
- package/lib/esm/graph/errors/GraphPinningError.js.map +1 -0
- package/lib/esm/graph/errors/GraphPortError.js +1 -1
- package/lib/esm/graph/errors/GraphPortError.js.map +1 -0
- package/lib/esm/graph/errors/GraphStoreError.js +1 -1
- package/lib/esm/graph/errors/GraphStoreError.js.map +1 -0
- package/lib/esm/graph/errors/GraphTopologyError.js +1 -1
- package/lib/esm/graph/errors/GraphTopologyError.js.map +1 -0
- package/lib/esm/graph/errors/index.js +1 -1
- package/lib/esm/graph/errors/index.js.map +1 -0
- package/lib/esm/graph/events/GraphExecutionEvent.js +1 -1
- package/lib/esm/graph/events/GraphExecutionEvent.js.map +1 -0
- package/lib/esm/graph/events/GraphExecutionEventEmitter.js +1 -1
- package/lib/esm/graph/events/GraphExecutionEventEmitter.js.map +1 -0
- package/lib/esm/graph/events/GraphExecutionEventFactory.js +1 -1
- package/lib/esm/graph/events/GraphExecutionEventFactory.js.map +1 -0
- package/lib/esm/graph/events/GraphExecutionObserver.js +1 -1
- package/lib/esm/graph/events/GraphExecutionObserver.js.map +1 -0
- package/lib/esm/graph/events/index.js +1 -1
- package/lib/esm/graph/events/index.js.map +1 -0
- package/lib/esm/graph/execution/CodeSandboxEvaluator.js +18 -0
- package/lib/esm/graph/execution/CodeSandboxEvaluator.js.map +1 -0
- package/lib/esm/graph/execution/GraphExecutionContext.js +1 -1
- package/lib/esm/graph/execution/GraphExecutionContext.js.map +1 -0
- package/lib/esm/graph/execution/GraphExecutionEngine.js +2 -1
- package/lib/esm/graph/execution/GraphExecutionEngine.js.map +1 -0
- package/lib/esm/graph/execution/GraphExecutionFrame.js +1 -1
- package/lib/esm/graph/execution/GraphExecutionFrame.js.map +1 -0
- package/lib/esm/graph/execution/GraphExecutionResult.js +1 -1
- package/lib/esm/graph/execution/GraphExecutionResult.js.map +1 -0
- package/lib/esm/graph/execution/GraphNodeExecutor.js +1 -1
- package/lib/esm/graph/execution/GraphNodeExecutor.js.map +1 -0
- package/lib/esm/graph/execution/SwitchGraphNodeExecutor.js +98 -0
- package/lib/esm/graph/execution/SwitchGraphNodeExecutor.js.map +1 -0
- package/lib/esm/graph/execution/index.js +3 -1
- package/lib/esm/graph/execution/index.js.map +1 -0
- package/lib/esm/graph/index.js +6 -1
- package/lib/esm/graph/index.js.map +1 -0
- package/lib/esm/graph/loops/ConditionExpressionEvaluator.js +82 -0
- package/lib/esm/graph/loops/ConditionExpressionEvaluator.js.map +1 -0
- package/lib/esm/graph/loops/ForeachGraphNodeExecutor.js +1 -1
- package/lib/esm/graph/loops/ForeachGraphNodeExecutor.js.map +1 -0
- package/lib/esm/graph/loops/GraphConditionEvaluator.js +24 -2
- package/lib/esm/graph/loops/GraphConditionEvaluator.js.map +1 -0
- package/lib/esm/graph/loops/GraphLoopExecutionContext.js +1 -1
- package/lib/esm/graph/loops/GraphLoopExecutionContext.js.map +1 -0
- package/lib/esm/graph/loops/UntilGraphNodeExecutor.js +1 -1
- package/lib/esm/graph/loops/UntilGraphNodeExecutor.js.map +1 -0
- package/lib/esm/graph/loops/WhileGraphNodeExecutor.js +1 -1
- package/lib/esm/graph/loops/WhileGraphNodeExecutor.js.map +1 -0
- package/lib/esm/graph/loops/index.js +2 -1
- package/lib/esm/graph/loops/index.js.map +1 -0
- package/lib/esm/graph/nodes/agent.js +101 -0
- package/lib/esm/graph/nodes/agent.js.map +1 -0
- package/lib/esm/graph/nodes/category-styles.js +34 -0
- package/lib/esm/graph/nodes/category-styles.js.map +1 -0
- package/lib/esm/graph/nodes/flow-control.js +427 -0
- package/lib/esm/graph/nodes/flow-control.js.map +1 -0
- package/lib/esm/graph/nodes/index.js +17 -0
- package/lib/esm/graph/nodes/index.js.map +1 -0
- package/lib/esm/graph/nodes/triggers.js +241 -0
- package/lib/esm/graph/nodes/triggers.js.map +1 -0
- package/lib/esm/graph/pinning/GraphPinningDependencyResolver.js +1 -1
- package/lib/esm/graph/pinning/GraphPinningDependencyResolver.js.map +1 -0
- package/lib/esm/graph/pinning/GraphPinningMetadata.js +1 -1
- package/lib/esm/graph/pinning/GraphPinningMetadata.js.map +1 -0
- package/lib/esm/graph/pinning/GraphPinningPolicy.js +1 -1
- package/lib/esm/graph/pinning/GraphPinningPolicy.js.map +1 -0
- package/lib/esm/graph/pinning/GraphPinningService.js +1 -1
- package/lib/esm/graph/pinning/GraphPinningService.js.map +1 -0
- package/lib/esm/graph/pinning/index.js +1 -1
- package/lib/esm/graph/pinning/index.js.map +1 -0
- package/lib/esm/graph/planning/GraphExecutionPlan.js +1 -1
- package/lib/esm/graph/planning/GraphExecutionPlan.js.map +1 -0
- package/lib/esm/graph/planning/GraphExecutionPlanEdge.js +1 -1
- package/lib/esm/graph/planning/GraphExecutionPlanEdge.js.map +1 -0
- package/lib/esm/graph/planning/GraphExecutionPlanLayer.js +1 -1
- package/lib/esm/graph/planning/GraphExecutionPlanLayer.js.map +1 -0
- package/lib/esm/graph/planning/GraphExecutionPlanNode.js +1 -1
- package/lib/esm/graph/planning/GraphExecutionPlanNode.js.map +1 -0
- package/lib/esm/graph/planning/GraphExecutionPlanner.js +1 -1
- package/lib/esm/graph/planning/GraphExecutionPlanner.js.map +1 -0
- package/lib/esm/graph/planning/GraphRelationResolver.js +1 -1
- package/lib/esm/graph/planning/GraphRelationResolver.js.map +1 -0
- package/lib/esm/graph/planning/GraphTopology.js +1 -1
- package/lib/esm/graph/planning/GraphTopology.js.map +1 -0
- package/lib/esm/graph/planning/index.js +1 -1
- package/lib/esm/graph/planning/index.js.map +1 -0
- package/lib/esm/graph/registry/GraphNodeExecutorRegistry.js +1 -1
- package/lib/esm/graph/registry/GraphNodeExecutorRegistry.js.map +1 -0
- package/lib/esm/graph/registry/GraphNodeExecutorResolver.js +1 -1
- package/lib/esm/graph/registry/GraphNodeExecutorResolver.js.map +1 -0
- package/lib/esm/graph/registry/index.js +1 -1
- package/lib/esm/graph/registry/index.js.map +1 -0
- package/lib/esm/graph/snapshots/GraphExecutionSnapshotMapper.js +1 -1
- package/lib/esm/graph/snapshots/GraphExecutionSnapshotMapper.js.map +1 -0
- package/lib/esm/graph/snapshots/index.js +1 -1
- package/lib/esm/graph/snapshots/index.js.map +1 -0
- package/lib/esm/graph/store/GraphCachedValue.js +1 -1
- package/lib/esm/graph/store/GraphCachedValue.js.map +1 -0
- package/lib/esm/graph/store/GraphValueKey.js +1 -1
- package/lib/esm/graph/store/GraphValueKey.js.map +1 -0
- package/lib/esm/graph/store/GraphValueStore.js +1 -1
- package/lib/esm/graph/store/GraphValueStore.js.map +1 -0
- package/lib/esm/graph/store/GraphValueStoreAdapter.js +1 -1
- package/lib/esm/graph/store/GraphValueStoreAdapter.js.map +1 -0
- package/lib/esm/graph/store/InMemoryGraphValueStoreAdapter.js +1 -1
- package/lib/esm/graph/store/InMemoryGraphValueStoreAdapter.js.map +1 -0
- package/lib/esm/graph/store/index.js +1 -1
- package/lib/esm/graph/store/index.js.map +1 -0
- package/lib/esm/graph/types.js +1 -1
- package/lib/esm/graph/types.js.map +1 -0
- package/lib/esm/graph/validation/GraphDefinitionValidator.js +1 -1
- package/lib/esm/graph/validation/GraphDefinitionValidator.js.map +1 -0
- package/lib/esm/graph/validation/GraphPortSchemaResolver.js +1 -1
- package/lib/esm/graph/validation/GraphPortSchemaResolver.js.map +1 -0
- package/lib/esm/graph/validation/GraphValueValidator.js +1 -1
- package/lib/esm/graph/validation/GraphValueValidator.js.map +1 -0
- package/lib/esm/graph/validation/index.js +1 -1
- package/lib/esm/graph/validation/index.js.map +1 -0
- package/lib/esm/index.js +4 -4
- package/lib/esm/index.js.map +1 -0
- package/lib/esm/keycloak/index.js +1 -1
- package/lib/esm/keycloak/index.js.map +1 -0
- package/lib/esm/keycloak/services/KeycloakAuthService.js +4 -3
- package/lib/esm/keycloak/services/KeycloakAuthService.js.map +1 -0
- package/lib/esm/keycloak/services/KeycloakClientService.js +4 -3
- package/lib/esm/keycloak/services/KeycloakClientService.js.map +1 -0
- package/lib/esm/keycloak/services/KeycloakIdentityProviderService.js +4 -3
- package/lib/esm/keycloak/services/KeycloakIdentityProviderService.js.map +1 -0
- package/lib/esm/keycloak/services/KeycloakRealmService.js +4 -3
- package/lib/esm/keycloak/services/KeycloakRealmService.js.map +1 -0
- package/lib/esm/keycloak/services/KeycloakRoleService.js +4 -3
- package/lib/esm/keycloak/services/KeycloakRoleService.js.map +1 -0
- package/lib/esm/keycloak/services/KeycloakService.js +4 -2
- package/lib/esm/keycloak/services/KeycloakService.js.map +1 -0
- package/lib/esm/keycloak/services/KeycloakUserService.js +4 -3
- package/lib/esm/keycloak/services/KeycloakUserService.js.map +1 -0
- package/lib/esm/keycloak/services/index.js +1 -1
- package/lib/esm/keycloak/services/index.js.map +1 -0
- package/lib/esm/keycloak/services/runtime.js +15 -0
- package/lib/esm/keycloak/services/runtime.js.map +1 -0
- package/lib/esm/keycloak/types.js +1 -1
- package/lib/esm/keycloak/types.js.map +1 -0
- package/lib/esm/kibana/helpers.js +1 -1
- package/lib/esm/kibana/helpers.js.map +1 -0
- package/lib/esm/kibana/index.js +1 -1
- package/lib/esm/kibana/index.js.map +1 -0
- package/lib/esm/kibana/services/KibanaAuthService.js +5 -4
- package/lib/esm/kibana/services/KibanaAuthService.js.map +1 -0
- package/lib/esm/kibana/services/KibanaDashboardService.js +5 -4
- package/lib/esm/kibana/services/KibanaDashboardService.js.map +1 -0
- package/lib/esm/kibana/services/KibanaDataViewService.js +4 -3
- package/lib/esm/kibana/services/KibanaDataViewService.js.map +1 -0
- package/lib/esm/kibana/services/KibanaRoleService.js +4 -3
- package/lib/esm/kibana/services/KibanaRoleService.js.map +1 -0
- package/lib/esm/kibana/services/KibanaService.js +3 -1
- package/lib/esm/kibana/services/KibanaService.js.map +1 -0
- package/lib/esm/kibana/services/KibanaSpaceService.js +4 -3
- package/lib/esm/kibana/services/KibanaSpaceService.js.map +1 -0
- package/lib/esm/kibana/services/KibanaUserService.js +4 -3
- package/lib/esm/kibana/services/KibanaUserService.js.map +1 -0
- package/lib/esm/kibana/services/index.js +1 -1
- package/lib/esm/kibana/services/index.js.map +1 -0
- package/lib/esm/kibana/services/runtime.js +15 -0
- package/lib/esm/kibana/services/runtime.js.map +1 -0
- package/lib/esm/kibana/types.js +1 -1
- package/lib/esm/kibana/types.js.map +1 -0
- package/lib/esm/nest/authService.js +4 -1
- package/lib/esm/nest/authService.js.map +1 -0
- package/lib/esm/nest/index.js +1 -1
- package/lib/esm/nest/index.js.map +1 -0
- package/lib/esm/nest/keycloakAuthHandler.js +1 -1
- package/lib/esm/nest/keycloakAuthHandler.js.map +1 -0
- package/lib/esm/nest/keycloakModule.js +1 -1
- package/lib/esm/nest/keycloakModule.js.map +1 -0
- package/lib/esm/nest/logging.js +1 -1
- package/lib/esm/nest/logging.js.map +1 -0
- package/lib/esm/nest/types.js +1 -1
- package/lib/esm/nest/types.js.map +1 -0
- package/lib/esm/nest/utils.js +1 -1
- package/lib/esm/nest/utils.js.map +1 -0
- package/lib/esm/secrets/aws/AwsSecretService.js +1 -1
- package/lib/esm/secrets/aws/AwsSecretService.js.map +1 -0
- package/lib/esm/secrets/aws/AwsSecretServiceConfig.js +1 -1
- package/lib/esm/secrets/aws/AwsSecretServiceConfig.js.map +1 -0
- package/lib/esm/secrets/aws/index.js +1 -1
- package/lib/esm/secrets/aws/index.js.map +1 -0
- package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js +1 -1
- package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js.map +1 -0
- package/lib/esm/secrets/azure/AzureKeyVaultSecretServiceConfig.js +1 -1
- package/lib/esm/secrets/azure/AzureKeyVaultSecretServiceConfig.js.map +1 -0
- package/lib/esm/secrets/azure/index.js +1 -1
- package/lib/esm/secrets/azure/index.js.map +1 -0
- package/lib/esm/secrets/core/SecretErrors.js +1 -1
- package/lib/esm/secrets/core/SecretErrors.js.map +1 -0
- package/lib/esm/secrets/core/SecretName.js +1 -1
- package/lib/esm/secrets/core/SecretName.js.map +1 -0
- package/lib/esm/secrets/core/SecretReference.js +1 -1
- package/lib/esm/secrets/core/SecretReference.js.map +1 -0
- package/lib/esm/secrets/core/SecretSerialization.js +1 -1
- package/lib/esm/secrets/core/SecretSerialization.js.map +1 -0
- package/lib/esm/secrets/core/SecretService.js +1 -1
- package/lib/esm/secrets/core/SecretService.js.map +1 -0
- package/lib/esm/secrets/core/SecretTypes.js +1 -1
- package/lib/esm/secrets/core/SecretTypes.js.map +1 -0
- package/lib/esm/secrets/core/index.js +1 -1
- package/lib/esm/secrets/core/index.js.map +1 -0
- package/lib/esm/secrets/gcp/GcpSecretManagerService.js +1 -1
- package/lib/esm/secrets/gcp/GcpSecretManagerService.js.map +1 -0
- package/lib/esm/secrets/gcp/GcpSecretManagerServiceConfig.js +1 -1
- package/lib/esm/secrets/gcp/GcpSecretManagerServiceConfig.js.map +1 -0
- package/lib/esm/secrets/gcp/index.js +1 -1
- package/lib/esm/secrets/gcp/index.js.map +1 -0
- package/lib/esm/secrets/index.js +1 -1
- package/lib/esm/secrets/index.js.map +1 -0
- package/lib/esm/secrets/model/ModelSecretCrypto.js +1 -1
- package/lib/esm/secrets/model/ModelSecretCrypto.js.map +1 -0
- package/lib/esm/secrets/model/ModelSecretService.js +1 -1
- package/lib/esm/secrets/model/ModelSecretService.js.map +1 -0
- package/lib/esm/secrets/model/ModelSecretServiceConfig.js +1 -1
- package/lib/esm/secrets/model/ModelSecretServiceConfig.js.map +1 -0
- package/lib/esm/secrets/model/Secret.js +1 -1
- package/lib/esm/secrets/model/Secret.js.map +1 -0
- package/lib/esm/secrets/model/index.js +1 -1
- package/lib/esm/secrets/model/index.js.map +1 -0
- package/lib/esm/secrets/onepassword/OnePasswordSecretService.js +1 -1
- package/lib/esm/secrets/onepassword/OnePasswordSecretService.js.map +1 -0
- package/lib/esm/secrets/onepassword/OnePasswordSecretServiceConfig.js +1 -1
- package/lib/esm/secrets/onepassword/OnePasswordSecretServiceConfig.js.map +1 -0
- package/lib/esm/secrets/onepassword/index.js +1 -1
- package/lib/esm/secrets/onepassword/index.js.map +1 -0
- package/lib/esm/secrets/vault/VaultSecretService.js +1 -1
- package/lib/esm/secrets/vault/VaultSecretService.js.map +1 -0
- package/lib/esm/secrets/vault/VaultSecretServiceConfig.js +1 -1
- package/lib/esm/secrets/vault/VaultSecretServiceConfig.js.map +1 -0
- package/lib/esm/secrets/vault/index.js +1 -1
- package/lib/esm/secrets/vault/index.js.map +1 -0
- package/lib/esm/shared/runtime.js +1 -1
- package/lib/esm/shared/runtime.js.map +1 -0
- package/lib/esm/utils.js +1 -1
- package/lib/esm/utils.js.map +1 -0
- package/lib/types/graph/execution/CodeSandboxEvaluator.d.cts +53 -0
- package/lib/types/graph/execution/CodeSandboxEvaluator.d.mts +53 -0
- package/lib/types/graph/execution/GraphExecutionEngine.d.cts +10 -0
- package/lib/types/graph/execution/GraphExecutionEngine.d.mts +10 -0
- package/lib/types/graph/execution/SwitchGraphNodeExecutor.d.cts +42 -0
- package/lib/types/graph/execution/SwitchGraphNodeExecutor.d.mts +42 -0
- package/lib/types/graph/execution/index.d.cts +2 -0
- package/lib/types/graph/execution/index.d.mts +2 -0
- package/lib/types/graph/index.d.cts +4 -0
- package/lib/types/graph/index.d.mts +4 -0
- package/lib/types/graph/loops/ConditionExpressionEvaluator.d.cts +36 -0
- package/lib/types/graph/loops/ConditionExpressionEvaluator.d.mts +36 -0
- package/lib/types/graph/loops/GraphConditionEvaluator.d.cts +20 -4
- package/lib/types/graph/loops/GraphConditionEvaluator.d.mts +20 -4
- package/lib/types/graph/loops/index.d.cts +1 -0
- package/lib/types/graph/loops/index.d.mts +1 -0
- package/lib/types/graph/nodes/agent.d.cts +44 -0
- package/lib/types/graph/nodes/agent.d.mts +44 -0
- package/lib/types/graph/nodes/category-styles.d.cts +8 -0
- package/lib/types/graph/nodes/category-styles.d.mts +8 -0
- package/lib/types/graph/nodes/flow-control.d.cts +104 -0
- package/lib/types/graph/nodes/flow-control.d.mts +104 -0
- package/lib/types/graph/nodes/index.d.cts +16 -0
- package/lib/types/graph/nodes/index.d.mts +16 -0
- package/lib/types/graph/nodes/triggers.d.cts +53 -0
- package/lib/types/graph/nodes/triggers.d.mts +53 -0
- package/lib/types/graph/types.d.cts +102 -0
- package/lib/types/graph/types.d.mts +102 -0
- package/lib/types/index.d.cts +2 -2
- package/lib/types/index.d.mts +2 -2
- package/lib/types/keycloak/services/runtime.d.cts +6 -0
- package/lib/types/keycloak/services/runtime.d.mts +6 -0
- package/lib/types/kibana/services/runtime.d.cts +6 -0
- package/lib/types/kibana/services/runtime.d.mts +6 -0
- package/lib/types/nest/authService.d.cts +1 -0
- package/lib/types/nest/authService.d.mts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module integrations/graph/execution/SwitchGraphNodeExecutor
|
|
3
|
+
* @summary Executor for the Switch flow-control node (DECAF-32 §22.2.2).
|
|
4
|
+
* @description Evaluates each case's condition against the node's input and
|
|
5
|
+
* routes the input to the first matching case's output port. Falls back to
|
|
6
|
+
* the `default` output when no case matches. Supports both
|
|
7
|
+
* {@link ConditionExpression} (graphical mode) and {@link CodeCondition}
|
|
8
|
+
* (code mode via the pluggable {@link CodeSandboxEvaluator}).
|
|
9
|
+
*/
|
|
10
|
+
import type { GraphNodeExecutor } from "./GraphNodeExecutor.d.mts";
|
|
11
|
+
import type { GraphExecutionContext } from "./GraphExecutionContext.d.mts";
|
|
12
|
+
import type { GraphExecutionValues } from "../types.d.mts";
|
|
13
|
+
import type { CodeSandboxEvaluator } from "./CodeSandboxEvaluator.d.mts";
|
|
14
|
+
/**
|
|
15
|
+
* Executor for `core.flow.switch` nodes.
|
|
16
|
+
*
|
|
17
|
+
* Evaluates each case's condition in order and routes the input to the
|
|
18
|
+
* first matching case's output port. When no case matches, routes to the
|
|
19
|
+
* `default` output port.
|
|
20
|
+
*
|
|
21
|
+
* Condition evaluation:
|
|
22
|
+
* - `ConditionExpression` — evaluated via {@link ConditionExpressionEvaluator}.
|
|
23
|
+
* - `CodeCondition` — evaluated via the pluggable {@link CodeSandboxEvaluator}
|
|
24
|
+
* from the engine's config. Throws `GRAPH_CODE_SANDBOX_NOT_CONFIGURED`
|
|
25
|
+
* when no evaluator is registered.
|
|
26
|
+
*/
|
|
27
|
+
export declare class SwitchGraphNodeExecutor implements GraphNodeExecutor {
|
|
28
|
+
private readonly engine?;
|
|
29
|
+
private readonly expressionEvaluator;
|
|
30
|
+
constructor(engine?: {
|
|
31
|
+
codeSandboxEvaluator?: CodeSandboxEvaluator;
|
|
32
|
+
} | undefined);
|
|
33
|
+
execute(input: GraphExecutionValues, context: GraphExecutionContext): Promise<GraphExecutionValues>;
|
|
34
|
+
/**
|
|
35
|
+
* Evaluates a single switch case condition.
|
|
36
|
+
*/
|
|
37
|
+
private evaluateCondition;
|
|
38
|
+
/**
|
|
39
|
+
* Evaluates a code condition via the pluggable sandbox evaluator.
|
|
40
|
+
*/
|
|
41
|
+
private evaluateCodeCondition;
|
|
42
|
+
}
|
|
@@ -8,3 +8,5 @@ export * from "./GraphNodeExecutor.d.cts";
|
|
|
8
8
|
export * from "./GraphExecutionResult.d.cts";
|
|
9
9
|
export * from "./GraphExecutionFrame.d.cts";
|
|
10
10
|
export * from "./GraphExecutionEngine.d.cts";
|
|
11
|
+
export * from "./CodeSandboxEvaluator.d.cts";
|
|
12
|
+
export * from "./SwitchGraphNodeExecutor.d.cts";
|
|
@@ -8,3 +8,5 @@ export * from "./GraphNodeExecutor.d.mts";
|
|
|
8
8
|
export * from "./GraphExecutionResult.d.mts";
|
|
9
9
|
export * from "./GraphExecutionFrame.d.mts";
|
|
10
10
|
export * from "./GraphExecutionEngine.d.mts";
|
|
11
|
+
export * from "./CodeSandboxEvaluator.d.mts";
|
|
12
|
+
export * from "./SwitchGraphNodeExecutor.d.mts";
|
|
@@ -23,6 +23,8 @@ export * from "./execution/GraphNodeExecutor.d.cts";
|
|
|
23
23
|
export * from "./execution/GraphExecutionFrame.d.cts";
|
|
24
24
|
export * from "./execution/GraphExecutionResult.d.cts";
|
|
25
25
|
export * from "./execution/GraphExecutionEngine.d.cts";
|
|
26
|
+
export * from "./execution/CodeSandboxEvaluator.d.cts";
|
|
27
|
+
export * from "./execution/SwitchGraphNodeExecutor.d.cts";
|
|
26
28
|
export * from "./registry/GraphNodeExecutorRegistry.d.cts";
|
|
27
29
|
export * from "./registry/GraphNodeExecutorResolver.d.cts";
|
|
28
30
|
export * from "./store/GraphValueKey.d.cts";
|
|
@@ -41,6 +43,7 @@ export * from "./validation/GraphDefinitionValidator.d.cts";
|
|
|
41
43
|
export * from "./validation/GraphPortSchemaResolver.d.cts";
|
|
42
44
|
export * from "./validation/GraphValueValidator.d.cts";
|
|
43
45
|
export * from "./loops/GraphConditionEvaluator.d.cts";
|
|
46
|
+
export * from "./loops/ConditionExpressionEvaluator.d.cts";
|
|
44
47
|
export * from "./loops/GraphLoopExecutionContext.d.cts";
|
|
45
48
|
export * from "./loops/ForeachGraphNodeExecutor.d.cts";
|
|
46
49
|
export * from "./loops/WhileGraphNodeExecutor.d.cts";
|
|
@@ -50,3 +53,4 @@ export * from "./pinning/GraphPinningPolicy.d.cts";
|
|
|
50
53
|
export * from "./pinning/GraphPinningDependencyResolver.d.cts";
|
|
51
54
|
export * from "./pinning/GraphPinningService.d.cts";
|
|
52
55
|
export * from "./snapshots/GraphExecutionSnapshotMapper.d.cts";
|
|
56
|
+
export * from "./nodes/index.d.cts";
|
|
@@ -23,6 +23,8 @@ export * from "./execution/GraphNodeExecutor.d.mts";
|
|
|
23
23
|
export * from "./execution/GraphExecutionFrame.d.mts";
|
|
24
24
|
export * from "./execution/GraphExecutionResult.d.mts";
|
|
25
25
|
export * from "./execution/GraphExecutionEngine.d.mts";
|
|
26
|
+
export * from "./execution/CodeSandboxEvaluator.d.mts";
|
|
27
|
+
export * from "./execution/SwitchGraphNodeExecutor.d.mts";
|
|
26
28
|
export * from "./registry/GraphNodeExecutorRegistry.d.mts";
|
|
27
29
|
export * from "./registry/GraphNodeExecutorResolver.d.mts";
|
|
28
30
|
export * from "./store/GraphValueKey.d.mts";
|
|
@@ -41,6 +43,7 @@ export * from "./validation/GraphDefinitionValidator.d.mts";
|
|
|
41
43
|
export * from "./validation/GraphPortSchemaResolver.d.mts";
|
|
42
44
|
export * from "./validation/GraphValueValidator.d.mts";
|
|
43
45
|
export * from "./loops/GraphConditionEvaluator.d.mts";
|
|
46
|
+
export * from "./loops/ConditionExpressionEvaluator.d.mts";
|
|
44
47
|
export * from "./loops/GraphLoopExecutionContext.d.mts";
|
|
45
48
|
export * from "./loops/ForeachGraphNodeExecutor.d.mts";
|
|
46
49
|
export * from "./loops/WhileGraphNodeExecutor.d.mts";
|
|
@@ -50,3 +53,4 @@ export * from "./pinning/GraphPinningPolicy.d.mts";
|
|
|
50
53
|
export * from "./pinning/GraphPinningDependencyResolver.d.mts";
|
|
51
54
|
export * from "./pinning/GraphPinningService.d.mts";
|
|
52
55
|
export * from "./snapshots/GraphExecutionSnapshotMapper.d.mts";
|
|
56
|
+
export * from "./nodes/index.d.mts";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module integrations/graph/loops/ConditionExpressionEvaluator
|
|
3
|
+
* @summary Evaluator for the ALFRED-5 `ConditionExpression` DSL (DECAF-32 §22.3).
|
|
4
|
+
* @description Evaluates declarative, serializable condition expressions with
|
|
5
|
+
* `eq`/`neq`/`gt`/`gte`/`lt`/`lte`/`and`/`or`/`not`/`exists` operators and
|
|
6
|
+
* `ExprValue` references (`{const}`, `{path}`, `{step, path}`).
|
|
7
|
+
*/
|
|
8
|
+
import type { ConditionExpression } from "../types.d.cts";
|
|
9
|
+
/**
|
|
10
|
+
* Evaluates a {@link ConditionExpression} against the given state.
|
|
11
|
+
*
|
|
12
|
+
* `ExprValue` resolution:
|
|
13
|
+
* - `{ const: x }` → the literal value `x`.
|
|
14
|
+
* - `{ path: "a.b" }` → dotted-path lookup into `state`.
|
|
15
|
+
* - `{ step: "nodeId", path: "out" }` → cross-node reference; in v1 the state
|
|
16
|
+
* is expected to contain a `nodes` map keyed by node id (reserved for future
|
|
17
|
+
* multi-step evaluation; falls back to `state` lookup when absent).
|
|
18
|
+
*/
|
|
19
|
+
export declare class ConditionExpressionEvaluator {
|
|
20
|
+
/**
|
|
21
|
+
* Evaluates a condition expression to a boolean.
|
|
22
|
+
*
|
|
23
|
+
* @param expr - The condition expression.
|
|
24
|
+
* @param state - The current evaluation state (loop state or execution values).
|
|
25
|
+
* @returns `true` when the expression evaluates to a truthy/positive result.
|
|
26
|
+
*/
|
|
27
|
+
evaluate(expr: ConditionExpression, state: unknown): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Resolves an {@link ExprValue} against the current state.
|
|
30
|
+
*/
|
|
31
|
+
private resolveValue;
|
|
32
|
+
/**
|
|
33
|
+
* Resolves a dotted path into a target object.
|
|
34
|
+
*/
|
|
35
|
+
private resolvePath;
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module integrations/graph/loops/ConditionExpressionEvaluator
|
|
3
|
+
* @summary Evaluator for the ALFRED-5 `ConditionExpression` DSL (DECAF-32 §22.3).
|
|
4
|
+
* @description Evaluates declarative, serializable condition expressions with
|
|
5
|
+
* `eq`/`neq`/`gt`/`gte`/`lt`/`lte`/`and`/`or`/`not`/`exists` operators and
|
|
6
|
+
* `ExprValue` references (`{const}`, `{path}`, `{step, path}`).
|
|
7
|
+
*/
|
|
8
|
+
import type { ConditionExpression } from "../types.d.mts";
|
|
9
|
+
/**
|
|
10
|
+
* Evaluates a {@link ConditionExpression} against the given state.
|
|
11
|
+
*
|
|
12
|
+
* `ExprValue` resolution:
|
|
13
|
+
* - `{ const: x }` → the literal value `x`.
|
|
14
|
+
* - `{ path: "a.b" }` → dotted-path lookup into `state`.
|
|
15
|
+
* - `{ step: "nodeId", path: "out" }` → cross-node reference; in v1 the state
|
|
16
|
+
* is expected to contain a `nodes` map keyed by node id (reserved for future
|
|
17
|
+
* multi-step evaluation; falls back to `state` lookup when absent).
|
|
18
|
+
*/
|
|
19
|
+
export declare class ConditionExpressionEvaluator {
|
|
20
|
+
/**
|
|
21
|
+
* Evaluates a condition expression to a boolean.
|
|
22
|
+
*
|
|
23
|
+
* @param expr - The condition expression.
|
|
24
|
+
* @param state - The current evaluation state (loop state or execution values).
|
|
25
|
+
* @returns `true` when the expression evaluates to a truthy/positive result.
|
|
26
|
+
*/
|
|
27
|
+
evaluate(expr: ConditionExpression, state: unknown): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Resolves an {@link ExprValue} against the current state.
|
|
30
|
+
*/
|
|
31
|
+
private resolveValue;
|
|
32
|
+
/**
|
|
33
|
+
* Resolves a dotted path into a target object.
|
|
34
|
+
*/
|
|
35
|
+
private resolvePath;
|
|
36
|
+
}
|
|
@@ -1,23 +1,39 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module integrations/graph/loops/GraphConditionEvaluator
|
|
3
|
-
* @summary Evaluator for built-in loop condition types.
|
|
3
|
+
* @summary Evaluator for built-in loop condition types and the `ConditionExpression` DSL.
|
|
4
4
|
* @description Supports safe, built-in condition types only. Does NOT evaluate arbitrary JavaScript expressions.
|
|
5
|
+
* When the condition object carries an `op` field (ALFRED-5 §8 / DECAF-32 §22.3), dispatches to the
|
|
6
|
+
* {@link ConditionExpressionEvaluator} instead of the built-in `type`-based switch.
|
|
5
7
|
*/
|
|
6
|
-
import type { GraphConditionDefinition } from "../types.d.cts";
|
|
8
|
+
import type { ConditionExpression, GraphConditionDefinition } from "../types.d.cts";
|
|
7
9
|
/**
|
|
8
|
-
* Evaluates loop conditions using built-in comparison types
|
|
10
|
+
* Evaluates loop conditions using built-in comparison types or the
|
|
11
|
+
* `ConditionExpression` DSL.
|
|
9
12
|
*/
|
|
10
13
|
export declare class GraphConditionEvaluator {
|
|
14
|
+
private readonly expressionEvaluator;
|
|
11
15
|
/**
|
|
12
16
|
* Evaluates a condition against the given state.
|
|
13
17
|
*
|
|
18
|
+
* When the condition object carries an `op` field, it is treated as a
|
|
19
|
+
* `ConditionExpression` (§22.3) and dispatched to the
|
|
20
|
+
* {@link ConditionExpressionEvaluator}. Otherwise the built-in `type`-based
|
|
21
|
+
* switch is used.
|
|
22
|
+
*
|
|
14
23
|
* @param condition - The condition definition.
|
|
15
24
|
* @param state - The current loop state.
|
|
16
25
|
* @returns `true` when the condition passes.
|
|
17
26
|
*/
|
|
18
|
-
evaluate(condition: GraphConditionDefinition, state: unknown): boolean;
|
|
27
|
+
evaluate(condition: GraphConditionDefinition | ConditionExpression, state: unknown): boolean;
|
|
19
28
|
/**
|
|
20
29
|
* Resolves a value that may be a dotted path into the state object.
|
|
21
30
|
*/
|
|
22
31
|
private resolveValue;
|
|
32
|
+
/**
|
|
33
|
+
* Detects whether a condition object is a `ConditionExpression` (§22.3) by
|
|
34
|
+
* checking for the presence of an `op` field. When true, the object is
|
|
35
|
+
* treated as a `ConditionExpression` and dispatched to the
|
|
36
|
+
* {@link ConditionExpressionEvaluator}.
|
|
37
|
+
*/
|
|
38
|
+
private isConditionExpression;
|
|
23
39
|
}
|
|
@@ -1,23 +1,39 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module integrations/graph/loops/GraphConditionEvaluator
|
|
3
|
-
* @summary Evaluator for built-in loop condition types.
|
|
3
|
+
* @summary Evaluator for built-in loop condition types and the `ConditionExpression` DSL.
|
|
4
4
|
* @description Supports safe, built-in condition types only. Does NOT evaluate arbitrary JavaScript expressions.
|
|
5
|
+
* When the condition object carries an `op` field (ALFRED-5 §8 / DECAF-32 §22.3), dispatches to the
|
|
6
|
+
* {@link ConditionExpressionEvaluator} instead of the built-in `type`-based switch.
|
|
5
7
|
*/
|
|
6
|
-
import type { GraphConditionDefinition } from "../types.d.mts";
|
|
8
|
+
import type { ConditionExpression, GraphConditionDefinition } from "../types.d.mts";
|
|
7
9
|
/**
|
|
8
|
-
* Evaluates loop conditions using built-in comparison types
|
|
10
|
+
* Evaluates loop conditions using built-in comparison types or the
|
|
11
|
+
* `ConditionExpression` DSL.
|
|
9
12
|
*/
|
|
10
13
|
export declare class GraphConditionEvaluator {
|
|
14
|
+
private readonly expressionEvaluator;
|
|
11
15
|
/**
|
|
12
16
|
* Evaluates a condition against the given state.
|
|
13
17
|
*
|
|
18
|
+
* When the condition object carries an `op` field, it is treated as a
|
|
19
|
+
* `ConditionExpression` (§22.3) and dispatched to the
|
|
20
|
+
* {@link ConditionExpressionEvaluator}. Otherwise the built-in `type`-based
|
|
21
|
+
* switch is used.
|
|
22
|
+
*
|
|
14
23
|
* @param condition - The condition definition.
|
|
15
24
|
* @param state - The current loop state.
|
|
16
25
|
* @returns `true` when the condition passes.
|
|
17
26
|
*/
|
|
18
|
-
evaluate(condition: GraphConditionDefinition, state: unknown): boolean;
|
|
27
|
+
evaluate(condition: GraphConditionDefinition | ConditionExpression, state: unknown): boolean;
|
|
19
28
|
/**
|
|
20
29
|
* Resolves a value that may be a dotted path into the state object.
|
|
21
30
|
*/
|
|
22
31
|
private resolveValue;
|
|
32
|
+
/**
|
|
33
|
+
* Detects whether a condition object is a `ConditionExpression` (§22.3) by
|
|
34
|
+
* checking for the presence of an `op` field. When true, the object is
|
|
35
|
+
* treated as a `ConditionExpression` and dispatched to the
|
|
36
|
+
* {@link ConditionExpressionEvaluator}.
|
|
37
|
+
*/
|
|
38
|
+
private isConditionExpression;
|
|
23
39
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* @description Re-exports the condition evaluator, loop execution context, and foreach/while/until executors.
|
|
5
5
|
*/
|
|
6
6
|
export * from "./GraphConditionEvaluator.d.cts";
|
|
7
|
+
export * from "./ConditionExpressionEvaluator.d.cts";
|
|
7
8
|
export * from "./GraphLoopExecutionContext.d.cts";
|
|
8
9
|
export * from "./ForeachGraphNodeExecutor.d.cts";
|
|
9
10
|
export * from "./WhileGraphNodeExecutor.d.cts";
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* @description Re-exports the condition evaluator, loop execution context, and foreach/while/until executors.
|
|
5
5
|
*/
|
|
6
6
|
export * from "./GraphConditionEvaluator.d.mts";
|
|
7
|
+
export * from "./ConditionExpressionEvaluator.d.mts";
|
|
7
8
|
export * from "./GraphLoopExecutionContext.d.mts";
|
|
8
9
|
export * from "./ForeachGraphNodeExecutor.d.mts";
|
|
9
10
|
export * from "./WhileGraphNodeExecutor.d.mts";
|
|
@@ -0,0 +1,44 @@
|
|
|
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];
|
|
@@ -0,0 +1,44 @@
|
|
|
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];
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -0,0 +1,104 @@
|
|
|
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 ten ALFRED-5
|
|
5
|
+
* flow-control kinds. These are graph-level macros: the engine's planner
|
|
6
|
+
* recognises them as ordinary executable nodes (§5.7) but they have no
|
|
7
|
+
* built-in executors — downstream projects (e.g. ALFRED) register custom
|
|
8
|
+
* executors or compile them into Mastra composition APIs (§22.2.2).
|
|
9
|
+
*
|
|
10
|
+
* The three loop kinds (`core.loop.foreach/while/until`) already have built-in
|
|
11
|
+
* executors (§5.9) and are NOT redeclared here.
|
|
12
|
+
*/
|
|
13
|
+
import { Model } from "@decaf-ts/decorator-validation";
|
|
14
|
+
/**
|
|
15
|
+
* If — conditional branch. Evaluates a `ConditionExpression` (§22.3) and
|
|
16
|
+
* routes the input to the `then` or `else` output.
|
|
17
|
+
*/
|
|
18
|
+
export declare class IfFlowNode extends Model {
|
|
19
|
+
value: unknown;
|
|
20
|
+
then: unknown;
|
|
21
|
+
else: unknown;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Switch — multi-branch. Routes the input to one of the case output ports
|
|
25
|
+
* or `default` based on matching conditions. Each case defines a
|
|
26
|
+
* {@link SwitchCaseCondition} (graphical or code mode) and a dedicated
|
|
27
|
+
* output port. Cases are stored in `metadata.switch.cases` and the
|
|
28
|
+
* renderer creates dynamic output ports from them (DECAF-32 §22.2.2).
|
|
29
|
+
*
|
|
30
|
+
* The node grows in height as cases are added. Each case gets its own
|
|
31
|
+
* output port on the right side, labeled with the case label.
|
|
32
|
+
*/
|
|
33
|
+
export declare class SwitchFlowNode extends Model {
|
|
34
|
+
value: unknown;
|
|
35
|
+
default: unknown;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Parallel — splits execution into concurrent branches.
|
|
39
|
+
*/
|
|
40
|
+
export declare class ParallelFlowNode extends Model {
|
|
41
|
+
value: unknown;
|
|
42
|
+
branches: unknown[];
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Merge — normalises branch/parallel outputs into a single output.
|
|
46
|
+
*/
|
|
47
|
+
export declare class MergeFlowNode extends Model {
|
|
48
|
+
values: unknown[];
|
|
49
|
+
merged: unknown;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Map — transforms the current input into a new output object.
|
|
53
|
+
*/
|
|
54
|
+
export declare class MapFlowNode extends Model {
|
|
55
|
+
value: unknown;
|
|
56
|
+
result: unknown;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Delay — pauses execution for a configured duration.
|
|
60
|
+
*/
|
|
61
|
+
export declare class DelayFlowNode extends Model {
|
|
62
|
+
value: unknown;
|
|
63
|
+
valueOut: unknown;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Error boundary — try/catch/finally workflow behaviour.
|
|
67
|
+
*/
|
|
68
|
+
export declare class ErrorBoundaryFlowNode extends Model {
|
|
69
|
+
value: unknown;
|
|
70
|
+
result: unknown;
|
|
71
|
+
error: unknown;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Human approval — suspends execution until a human approves or rejects.
|
|
75
|
+
*/
|
|
76
|
+
export declare class HumanApprovalFlowNode extends Model {
|
|
77
|
+
value: unknown;
|
|
78
|
+
approved: unknown;
|
|
79
|
+
rejected: unknown;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Return — defines and normalises the final workflow output.
|
|
83
|
+
*/
|
|
84
|
+
export declare class ReturnFlowNode extends Model {
|
|
85
|
+
value: unknown;
|
|
86
|
+
result: unknown;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Code — sandboxed JS/TS code execution (ALFRED-5 §7).
|
|
90
|
+
*
|
|
91
|
+
* The engine does not implement the sandbox directly (§22.4). A future
|
|
92
|
+
* executor may wrap the `CodeSandbox` contract (ALFRED-5 §7.17) as a
|
|
93
|
+
* pluggable executor. The placeholder syntax (`{{ $input }}`, `{{ $item }}`,
|
|
94
|
+
* `{{ $index }}`, `{{ $vars }}`, `{{ $node["Name"].output }}`) is Mastra-
|
|
95
|
+
* agnostic and lives in the downstream project's `modules/core` (ALFRED-6).
|
|
96
|
+
*/
|
|
97
|
+
export declare class CodeFlowNode extends Model {
|
|
98
|
+
input: unknown;
|
|
99
|
+
result: unknown;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* All built-in flow-control node constructors.
|
|
103
|
+
*/
|
|
104
|
+
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];
|
|
@@ -0,0 +1,104 @@
|
|
|
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 ten ALFRED-5
|
|
5
|
+
* flow-control kinds. These are graph-level macros: the engine's planner
|
|
6
|
+
* recognises them as ordinary executable nodes (§5.7) but they have no
|
|
7
|
+
* built-in executors — downstream projects (e.g. ALFRED) register custom
|
|
8
|
+
* executors or compile them into Mastra composition APIs (§22.2.2).
|
|
9
|
+
*
|
|
10
|
+
* The three loop kinds (`core.loop.foreach/while/until`) already have built-in
|
|
11
|
+
* executors (§5.9) and are NOT redeclared here.
|
|
12
|
+
*/
|
|
13
|
+
import { Model } from "@decaf-ts/decorator-validation";
|
|
14
|
+
/**
|
|
15
|
+
* If — conditional branch. Evaluates a `ConditionExpression` (§22.3) and
|
|
16
|
+
* routes the input to the `then` or `else` output.
|
|
17
|
+
*/
|
|
18
|
+
export declare class IfFlowNode extends Model {
|
|
19
|
+
value: unknown;
|
|
20
|
+
then: unknown;
|
|
21
|
+
else: unknown;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Switch — multi-branch. Routes the input to one of the case output ports
|
|
25
|
+
* or `default` based on matching conditions. Each case defines a
|
|
26
|
+
* {@link SwitchCaseCondition} (graphical or code mode) and a dedicated
|
|
27
|
+
* output port. Cases are stored in `metadata.switch.cases` and the
|
|
28
|
+
* renderer creates dynamic output ports from them (DECAF-32 §22.2.2).
|
|
29
|
+
*
|
|
30
|
+
* The node grows in height as cases are added. Each case gets its own
|
|
31
|
+
* output port on the right side, labeled with the case label.
|
|
32
|
+
*/
|
|
33
|
+
export declare class SwitchFlowNode extends Model {
|
|
34
|
+
value: unknown;
|
|
35
|
+
default: unknown;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Parallel — splits execution into concurrent branches.
|
|
39
|
+
*/
|
|
40
|
+
export declare class ParallelFlowNode extends Model {
|
|
41
|
+
value: unknown;
|
|
42
|
+
branches: unknown[];
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Merge — normalises branch/parallel outputs into a single output.
|
|
46
|
+
*/
|
|
47
|
+
export declare class MergeFlowNode extends Model {
|
|
48
|
+
values: unknown[];
|
|
49
|
+
merged: unknown;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Map — transforms the current input into a new output object.
|
|
53
|
+
*/
|
|
54
|
+
export declare class MapFlowNode extends Model {
|
|
55
|
+
value: unknown;
|
|
56
|
+
result: unknown;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Delay — pauses execution for a configured duration.
|
|
60
|
+
*/
|
|
61
|
+
export declare class DelayFlowNode extends Model {
|
|
62
|
+
value: unknown;
|
|
63
|
+
valueOut: unknown;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Error boundary — try/catch/finally workflow behaviour.
|
|
67
|
+
*/
|
|
68
|
+
export declare class ErrorBoundaryFlowNode extends Model {
|
|
69
|
+
value: unknown;
|
|
70
|
+
result: unknown;
|
|
71
|
+
error: unknown;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Human approval — suspends execution until a human approves or rejects.
|
|
75
|
+
*/
|
|
76
|
+
export declare class HumanApprovalFlowNode extends Model {
|
|
77
|
+
value: unknown;
|
|
78
|
+
approved: unknown;
|
|
79
|
+
rejected: unknown;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Return — defines and normalises the final workflow output.
|
|
83
|
+
*/
|
|
84
|
+
export declare class ReturnFlowNode extends Model {
|
|
85
|
+
value: unknown;
|
|
86
|
+
result: unknown;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Code — sandboxed JS/TS code execution (ALFRED-5 §7).
|
|
90
|
+
*
|
|
91
|
+
* The engine does not implement the sandbox directly (§22.4). A future
|
|
92
|
+
* executor may wrap the `CodeSandbox` contract (ALFRED-5 §7.17) as a
|
|
93
|
+
* pluggable executor. The placeholder syntax (`{{ $input }}`, `{{ $item }}`,
|
|
94
|
+
* `{{ $index }}`, `{{ $vars }}`, `{{ $node["Name"].output }}`) is Mastra-
|
|
95
|
+
* agnostic and lives in the downstream project's `modules/core` (ALFRED-6).
|
|
96
|
+
*/
|
|
97
|
+
export declare class CodeFlowNode extends Model {
|
|
98
|
+
input: unknown;
|
|
99
|
+
result: unknown;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* All built-in flow-control node constructors.
|
|
103
|
+
*/
|
|
104
|
+
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];
|
|
@@ -0,0 +1,16 @@
|
|
|
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 "./category-styles.d.cts";
|
|
14
|
+
export * from "./triggers.d.cts";
|
|
15
|
+
export * from "./flow-control.d.cts";
|
|
16
|
+
export * from "./agent.d.cts";
|
|
@@ -0,0 +1,16 @@
|
|
|
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 "./category-styles.d.mts";
|
|
14
|
+
export * from "./triggers.d.mts";
|
|
15
|
+
export * from "./flow-control.d.mts";
|
|
16
|
+
export * from "./agent.d.mts";
|