@decaf-ts/ui-decorators 0.20.9 → 0.21.1
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/ui-decorators.cjs +1 -1
- package/dist/ui-decorators.cjs.map +1 -1
- package/dist/ui-decorators.js +1 -1
- package/dist/ui-decorators.js.map +1 -1
- package/lib/cjs/index.cjs +3 -3
- package/lib/esm/index.js +3 -3
- package/lib/types/index.d.cts +3 -3
- package/lib/types/index.d.mts +3 -3
- package/package.json +2 -18
- package/lib/cjs/graph/GraphExecutionStateMapper.cjs +0 -97
- package/lib/cjs/graph/GraphExecutionStateMapper.cjs.map +0 -1
- package/lib/cjs/graph/GraphResolution.cjs +0 -17
- package/lib/cjs/graph/GraphResolution.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphConnectionPolicy.cjs +0 -20
- package/lib/cjs/graph/catalog/GraphConnectionPolicy.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphCredentialReference.cjs +0 -15
- package/lib/cjs/graph/catalog/GraphCredentialReference.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphCredentialRequirement.cjs +0 -16
- package/lib/cjs/graph/catalog/GraphCredentialRequirement.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphDynamicPortRule.cjs +0 -31
- package/lib/cjs/graph/catalog/GraphDynamicPortRule.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphIconReference.cjs +0 -22
- package/lib/cjs/graph/catalog/GraphIconReference.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphManifestCompiler.cjs +0 -307
- package/lib/cjs/graph/catalog/GraphManifestCompiler.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphNodeCapability.cjs +0 -23
- package/lib/cjs/graph/catalog/GraphNodeCapability.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphNodeDisplayManifest.cjs +0 -11
- package/lib/cjs/graph/catalog/GraphNodeDisplayManifest.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphNodeManifest.cjs +0 -23
- package/lib/cjs/graph/catalog/GraphNodeManifest.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphNodeManifestSerialization.cjs +0 -50
- package/lib/cjs/graph/catalog/GraphNodeManifestSerialization.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphNodeMethodManifest.cjs +0 -29
- package/lib/cjs/graph/catalog/GraphNodeMethodManifest.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphNodePolicyManifest.cjs +0 -18
- package/lib/cjs/graph/catalog/GraphNodePolicyManifest.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphParameterBase.cjs +0 -4
- package/lib/cjs/graph/catalog/GraphParameterBase.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphParameterDefinition.cjs +0 -29
- package/lib/cjs/graph/catalog/GraphParameterDefinition.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphParameterOption.cjs +0 -18
- package/lib/cjs/graph/catalog/GraphParameterOption.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphParameterValidation.cjs +0 -57
- package/lib/cjs/graph/catalog/GraphParameterValidation.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphPortManifest.cjs +0 -19
- package/lib/cjs/graph/catalog/GraphPortManifest.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphResourceLocatorMode.cjs +0 -19
- package/lib/cjs/graph/catalog/GraphResourceLocatorMode.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphValueSchema.cjs +0 -25
- package/lib/cjs/graph/catalog/GraphValueSchema.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphValueSchemaDerivation.cjs +0 -164
- package/lib/cjs/graph/catalog/GraphValueSchemaDerivation.cjs.map +0 -1
- package/lib/cjs/graph/catalog/GraphVisibilityExpression.cjs +0 -63
- package/lib/cjs/graph/catalog/GraphVisibilityExpression.cjs.map +0 -1
- package/lib/cjs/graph/catalog/index.cjs +0 -39
- package/lib/cjs/graph/catalog/index.cjs.map +0 -1
- package/lib/cjs/graph/constants.cjs +0 -320
- package/lib/cjs/graph/constants.cjs.map +0 -1
- package/lib/cjs/graph/decorators.cjs +0 -151
- package/lib/cjs/graph/decorators.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphDecoratedWorkflowCompiler.cjs +0 -353
- package/lib/cjs/graph/document/GraphDecoratedWorkflowCompiler.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphEdgeInstance.cjs +0 -4
- package/lib/cjs/graph/document/GraphEdgeInstance.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphEndpoint.cjs +0 -27
- package/lib/cjs/graph/document/GraphEndpoint.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphJsonValue.cjs +0 -82
- package/lib/cjs/graph/document/GraphJsonValue.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphLoopConfiguration.cjs +0 -4
- package/lib/cjs/graph/document/GraphLoopConfiguration.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphNodeBinding.cjs +0 -27
- package/lib/cjs/graph/document/GraphNodeBinding.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphNodeInstance.cjs +0 -4
- package/lib/cjs/graph/document/GraphNodeInstance.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphWorkflowDocument.cjs +0 -16
- package/lib/cjs/graph/document/GraphWorkflowDocument.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphWorkflowDocumentBuilder.cjs +0 -309
- package/lib/cjs/graph/document/GraphWorkflowDocumentBuilder.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphWorkflowDocumentReader.cjs +0 -78
- package/lib/cjs/graph/document/GraphWorkflowDocumentReader.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphWorkflowDocumentSerializer.cjs +0 -70
- package/lib/cjs/graph/document/GraphWorkflowDocumentSerializer.cjs.map +0 -1
- package/lib/cjs/graph/document/GraphWorkflowUiState.cjs +0 -4
- package/lib/cjs/graph/document/GraphWorkflowUiState.cjs.map +0 -1
- package/lib/cjs/graph/document/index.cjs +0 -30
- package/lib/cjs/graph/document/index.cjs.map +0 -1
- package/lib/cjs/graph/index.cjs +0 -33
- package/lib/cjs/graph/index.cjs.map +0 -1
- package/lib/cjs/graph/nodes/agents/agent.cjs +0 -110
- package/lib/cjs/graph/nodes/agents/agent.cjs.map +0 -1
- package/lib/cjs/graph/nodes/base.cjs +0 -36
- package/lib/cjs/graph/nodes/base.cjs.map +0 -1
- package/lib/cjs/graph/nodes/boundary/input-value.cjs +0 -57
- package/lib/cjs/graph/nodes/boundary/input-value.cjs.map +0 -1
- package/lib/cjs/graph/nodes/category-styles.cjs +0 -38
- package/lib/cjs/graph/nodes/category-styles.cjs.map +0 -1
- package/lib/cjs/graph/nodes/flow-control/break.cjs +0 -63
- package/lib/cjs/graph/nodes/flow-control/break.cjs.map +0 -1
- package/lib/cjs/graph/nodes/flow-control/error-boundary.cjs +0 -67
- package/lib/cjs/graph/nodes/flow-control/error-boundary.cjs.map +0 -1
- package/lib/cjs/graph/nodes/flow-control/human-approval.cjs +0 -69
- package/lib/cjs/graph/nodes/flow-control/human-approval.cjs.map +0 -1
- package/lib/cjs/graph/nodes/flow-control/if.cjs +0 -71
- package/lib/cjs/graph/nodes/flow-control/if.cjs.map +0 -1
- package/lib/cjs/graph/nodes/flow-control/parallel.cjs +0 -61
- package/lib/cjs/graph/nodes/flow-control/parallel.cjs.map +0 -1
- package/lib/cjs/graph/nodes/flow-control/switch.cjs +0 -126
- package/lib/cjs/graph/nodes/flow-control/switch.cjs.map +0 -1
- package/lib/cjs/graph/nodes/index.cjs +0 -123
- package/lib/cjs/graph/nodes/index.cjs.map +0 -1
- package/lib/cjs/graph/nodes/loops/foreach.cjs +0 -86
- package/lib/cjs/graph/nodes/loops/foreach.cjs.map +0 -1
- package/lib/cjs/graph/nodes/loops/until.cjs +0 -74
- package/lib/cjs/graph/nodes/loops/until.cjs.map +0 -1
- package/lib/cjs/graph/nodes/loops/while.cjs +0 -74
- package/lib/cjs/graph/nodes/loops/while.cjs.map +0 -1
- package/lib/cjs/graph/nodes/manifests.cjs +0 -342
- package/lib/cjs/graph/nodes/manifests.cjs.map +0 -1
- package/lib/cjs/graph/nodes/triggers/chat.cjs +0 -70
- package/lib/cjs/graph/nodes/triggers/chat.cjs.map +0 -1
- package/lib/cjs/graph/nodes/triggers/event.cjs +0 -58
- package/lib/cjs/graph/nodes/triggers/event.cjs.map +0 -1
- package/lib/cjs/graph/nodes/triggers/form.cjs +0 -59
- package/lib/cjs/graph/nodes/triggers/form.cjs.map +0 -1
- package/lib/cjs/graph/nodes/triggers/manual.cjs +0 -60
- package/lib/cjs/graph/nodes/triggers/manual.cjs.map +0 -1
- package/lib/cjs/graph/nodes/triggers/schedule.cjs +0 -60
- package/lib/cjs/graph/nodes/triggers/schedule.cjs.map +0 -1
- package/lib/cjs/graph/nodes/triggers/webhook.cjs +0 -62
- package/lib/cjs/graph/nodes/triggers/webhook.cjs.map +0 -1
- package/lib/cjs/graph/nodes/utility/code.cjs +0 -99
- package/lib/cjs/graph/nodes/utility/code.cjs.map +0 -1
- package/lib/cjs/graph/nodes/utility/delay.cjs +0 -61
- package/lib/cjs/graph/nodes/utility/delay.cjs.map +0 -1
- package/lib/cjs/graph/nodes/utility/log.cjs +0 -62
- package/lib/cjs/graph/nodes/utility/log.cjs.map +0 -1
- package/lib/cjs/graph/nodes/utility/map.cjs +0 -61
- package/lib/cjs/graph/nodes/utility/map.cjs.map +0 -1
- package/lib/cjs/graph/nodes/utility/merge.cjs +0 -62
- package/lib/cjs/graph/nodes/utility/merge.cjs.map +0 -1
- package/lib/cjs/graph/nodes/utility/return.cjs +0 -61
- package/lib/cjs/graph/nodes/utility/return.cjs.map +0 -1
- package/lib/cjs/graph/nodes/utility/utility-log.cjs +0 -66
- package/lib/cjs/graph/nodes/utility/utility-log.cjs.map +0 -1
- package/lib/cjs/graph/overrides/Metadata.cjs +0 -23
- package/lib/cjs/graph/overrides/Metadata.cjs.map +0 -1
- package/lib/cjs/graph/overrides/Rendering.cjs +0 -4
- package/lib/cjs/graph/overrides/Rendering.cjs.map +0 -1
- package/lib/cjs/graph/overrides/index.cjs +0 -21
- package/lib/cjs/graph/overrides/index.cjs.map +0 -1
- package/lib/cjs/graph/overrides/overrides.cjs +0 -20
- package/lib/cjs/graph/overrides/overrides.cjs.map +0 -1
- package/lib/cjs/graph/reader.cjs +0 -301
- package/lib/cjs/graph/reader.cjs.map +0 -1
- package/lib/cjs/graph/registry.cjs +0 -67
- package/lib/cjs/graph/registry.cjs.map +0 -1
- package/lib/cjs/graph/snapshot.cjs +0 -695
- package/lib/cjs/graph/snapshot.cjs.map +0 -1
- package/lib/cjs/graph/types.cjs +0 -7
- package/lib/cjs/graph/types.cjs.map +0 -1
- package/lib/esm/graph/GraphExecutionStateMapper.js +0 -91
- package/lib/esm/graph/GraphExecutionStateMapper.js.map +0 -1
- package/lib/esm/graph/GraphResolution.js +0 -13
- package/lib/esm/graph/GraphResolution.js.map +0 -1
- package/lib/esm/graph/catalog/GraphConnectionPolicy.js +0 -16
- package/lib/esm/graph/catalog/GraphConnectionPolicy.js.map +0 -1
- package/lib/esm/graph/catalog/GraphCredentialReference.js +0 -9
- package/lib/esm/graph/catalog/GraphCredentialReference.js.map +0 -1
- package/lib/esm/graph/catalog/GraphCredentialRequirement.js +0 -12
- package/lib/esm/graph/catalog/GraphCredentialRequirement.js.map +0 -1
- package/lib/esm/graph/catalog/GraphDynamicPortRule.js +0 -25
- package/lib/esm/graph/catalog/GraphDynamicPortRule.js.map +0 -1
- package/lib/esm/graph/catalog/GraphIconReference.js +0 -18
- package/lib/esm/graph/catalog/GraphIconReference.js.map +0 -1
- package/lib/esm/graph/catalog/GraphManifestCompiler.js +0 -303
- package/lib/esm/graph/catalog/GraphManifestCompiler.js.map +0 -1
- package/lib/esm/graph/catalog/GraphNodeCapability.js +0 -17
- package/lib/esm/graph/catalog/GraphNodeCapability.js.map +0 -1
- package/lib/esm/graph/catalog/GraphNodeDisplayManifest.js +0 -7
- package/lib/esm/graph/catalog/GraphNodeDisplayManifest.js.map +0 -1
- package/lib/esm/graph/catalog/GraphNodeManifest.js +0 -17
- package/lib/esm/graph/catalog/GraphNodeManifest.js.map +0 -1
- package/lib/esm/graph/catalog/GraphNodeManifestSerialization.js +0 -42
- package/lib/esm/graph/catalog/GraphNodeManifestSerialization.js.map +0 -1
- package/lib/esm/graph/catalog/GraphNodeMethodManifest.js +0 -23
- package/lib/esm/graph/catalog/GraphNodeMethodManifest.js.map +0 -1
- package/lib/esm/graph/catalog/GraphNodePolicyManifest.js +0 -14
- package/lib/esm/graph/catalog/GraphNodePolicyManifest.js.map +0 -1
- package/lib/esm/graph/catalog/GraphParameterBase.js +0 -2
- package/lib/esm/graph/catalog/GraphParameterBase.js.map +0 -1
- package/lib/esm/graph/catalog/GraphParameterDefinition.js +0 -23
- package/lib/esm/graph/catalog/GraphParameterDefinition.js.map +0 -1
- package/lib/esm/graph/catalog/GraphParameterOption.js +0 -13
- package/lib/esm/graph/catalog/GraphParameterOption.js.map +0 -1
- package/lib/esm/graph/catalog/GraphParameterValidation.js +0 -50
- package/lib/esm/graph/catalog/GraphParameterValidation.js.map +0 -1
- package/lib/esm/graph/catalog/GraphPortManifest.js +0 -13
- package/lib/esm/graph/catalog/GraphPortManifest.js.map +0 -1
- package/lib/esm/graph/catalog/GraphResourceLocatorMode.js +0 -13
- package/lib/esm/graph/catalog/GraphResourceLocatorMode.js.map +0 -1
- package/lib/esm/graph/catalog/GraphValueSchema.js +0 -19
- package/lib/esm/graph/catalog/GraphValueSchema.js.map +0 -1
- package/lib/esm/graph/catalog/GraphValueSchemaDerivation.js +0 -156
- package/lib/esm/graph/catalog/GraphValueSchemaDerivation.js.map +0 -1
- package/lib/esm/graph/catalog/GraphVisibilityExpression.js +0 -58
- package/lib/esm/graph/catalog/GraphVisibilityExpression.js.map +0 -1
- package/lib/esm/graph/catalog/index.js +0 -22
- package/lib/esm/graph/catalog/index.js.map +0 -1
- package/lib/esm/graph/constants.js +0 -335
- package/lib/esm/graph/constants.js.map +0 -1
- package/lib/esm/graph/decorators.js +0 -141
- package/lib/esm/graph/decorators.js.map +0 -1
- package/lib/esm/graph/document/GraphDecoratedWorkflowCompiler.js +0 -347
- package/lib/esm/graph/document/GraphDecoratedWorkflowCompiler.js.map +0 -1
- package/lib/esm/graph/document/GraphEdgeInstance.js +0 -2
- package/lib/esm/graph/document/GraphEdgeInstance.js.map +0 -1
- package/lib/esm/graph/document/GraphEndpoint.js +0 -21
- package/lib/esm/graph/document/GraphEndpoint.js.map +0 -1
- package/lib/esm/graph/document/GraphJsonValue.js +0 -73
- package/lib/esm/graph/document/GraphJsonValue.js.map +0 -1
- package/lib/esm/graph/document/GraphLoopConfiguration.js +0 -2
- package/lib/esm/graph/document/GraphLoopConfiguration.js.map +0 -1
- package/lib/esm/graph/document/GraphNodeBinding.js +0 -22
- package/lib/esm/graph/document/GraphNodeBinding.js.map +0 -1
- package/lib/esm/graph/document/GraphNodeInstance.js +0 -2
- package/lib/esm/graph/document/GraphNodeInstance.js.map +0 -1
- package/lib/esm/graph/document/GraphWorkflowDocument.js +0 -12
- package/lib/esm/graph/document/GraphWorkflowDocument.js.map +0 -1
- package/lib/esm/graph/document/GraphWorkflowDocumentBuilder.js +0 -303
- package/lib/esm/graph/document/GraphWorkflowDocumentBuilder.js.map +0 -1
- package/lib/esm/graph/document/GraphWorkflowDocumentReader.js +0 -62
- package/lib/esm/graph/document/GraphWorkflowDocumentReader.js.map +0 -1
- package/lib/esm/graph/document/GraphWorkflowDocumentSerializer.js +0 -63
- package/lib/esm/graph/document/GraphWorkflowDocumentSerializer.js.map +0 -1
- package/lib/esm/graph/document/GraphWorkflowUiState.js +0 -2
- package/lib/esm/graph/document/GraphWorkflowUiState.js.map +0 -1
- package/lib/esm/graph/document/index.js +0 -13
- package/lib/esm/graph/document/index.js.map +0 -1
- package/lib/esm/graph/index.js +0 -16
- package/lib/esm/graph/index.js.map +0 -1
- package/lib/esm/graph/nodes/agents/agent.js +0 -101
- package/lib/esm/graph/nodes/agents/agent.js.map +0 -1
- package/lib/esm/graph/nodes/base.js +0 -31
- package/lib/esm/graph/nodes/base.js.map +0 -1
- package/lib/esm/graph/nodes/boundary/input-value.js +0 -48
- package/lib/esm/graph/nodes/boundary/input-value.js.map +0 -1
- package/lib/esm/graph/nodes/category-styles.js +0 -34
- package/lib/esm/graph/nodes/category-styles.js.map +0 -1
- package/lib/esm/graph/nodes/flow-control/break.js +0 -54
- package/lib/esm/graph/nodes/flow-control/break.js.map +0 -1
- package/lib/esm/graph/nodes/flow-control/error-boundary.js +0 -58
- package/lib/esm/graph/nodes/flow-control/error-boundary.js.map +0 -1
- package/lib/esm/graph/nodes/flow-control/human-approval.js +0 -60
- package/lib/esm/graph/nodes/flow-control/human-approval.js.map +0 -1
- package/lib/esm/graph/nodes/flow-control/if.js +0 -62
- package/lib/esm/graph/nodes/flow-control/if.js.map +0 -1
- package/lib/esm/graph/nodes/flow-control/parallel.js +0 -52
- package/lib/esm/graph/nodes/flow-control/parallel.js.map +0 -1
- package/lib/esm/graph/nodes/flow-control/switch.js +0 -117
- package/lib/esm/graph/nodes/flow-control/switch.js.map +0 -1
- package/lib/esm/graph/nodes/index.js +0 -105
- package/lib/esm/graph/nodes/index.js.map +0 -1
- package/lib/esm/graph/nodes/loops/foreach.js +0 -77
- package/lib/esm/graph/nodes/loops/foreach.js.map +0 -1
- package/lib/esm/graph/nodes/loops/until.js +0 -65
- package/lib/esm/graph/nodes/loops/until.js.map +0 -1
- package/lib/esm/graph/nodes/loops/while.js +0 -65
- package/lib/esm/graph/nodes/loops/while.js.map +0 -1
- package/lib/esm/graph/nodes/manifests.js +0 -338
- package/lib/esm/graph/nodes/manifests.js.map +0 -1
- package/lib/esm/graph/nodes/triggers/chat.js +0 -61
- package/lib/esm/graph/nodes/triggers/chat.js.map +0 -1
- package/lib/esm/graph/nodes/triggers/event.js +0 -49
- package/lib/esm/graph/nodes/triggers/event.js.map +0 -1
- package/lib/esm/graph/nodes/triggers/form.js +0 -50
- package/lib/esm/graph/nodes/triggers/form.js.map +0 -1
- package/lib/esm/graph/nodes/triggers/manual.js +0 -51
- package/lib/esm/graph/nodes/triggers/manual.js.map +0 -1
- package/lib/esm/graph/nodes/triggers/schedule.js +0 -51
- package/lib/esm/graph/nodes/triggers/schedule.js.map +0 -1
- package/lib/esm/graph/nodes/triggers/webhook.js +0 -53
- package/lib/esm/graph/nodes/triggers/webhook.js.map +0 -1
- package/lib/esm/graph/nodes/utility/code.js +0 -90
- package/lib/esm/graph/nodes/utility/code.js.map +0 -1
- package/lib/esm/graph/nodes/utility/delay.js +0 -52
- package/lib/esm/graph/nodes/utility/delay.js.map +0 -1
- package/lib/esm/graph/nodes/utility/log.js +0 -53
- package/lib/esm/graph/nodes/utility/log.js.map +0 -1
- package/lib/esm/graph/nodes/utility/map.js +0 -52
- package/lib/esm/graph/nodes/utility/map.js.map +0 -1
- package/lib/esm/graph/nodes/utility/merge.js +0 -53
- package/lib/esm/graph/nodes/utility/merge.js.map +0 -1
- package/lib/esm/graph/nodes/utility/return.js +0 -52
- package/lib/esm/graph/nodes/utility/return.js.map +0 -1
- package/lib/esm/graph/nodes/utility/utility-log.js +0 -57
- package/lib/esm/graph/nodes/utility/utility-log.js.map +0 -1
- package/lib/esm/graph/overrides/Metadata.js +0 -20
- package/lib/esm/graph/overrides/Metadata.js.map +0 -1
- package/lib/esm/graph/overrides/Rendering.js +0 -2
- package/lib/esm/graph/overrides/Rendering.js.map +0 -1
- package/lib/esm/graph/overrides/index.js +0 -4
- package/lib/esm/graph/overrides/index.js.map +0 -1
- package/lib/esm/graph/overrides/overrides.js +0 -17
- package/lib/esm/graph/overrides/overrides.js.map +0 -1
- package/lib/esm/graph/reader.js +0 -288
- package/lib/esm/graph/reader.js.map +0 -1
- package/lib/esm/graph/registry.js +0 -59
- package/lib/esm/graph/registry.js.map +0 -1
- package/lib/esm/graph/snapshot.js +0 -680
- package/lib/esm/graph/snapshot.js.map +0 -1
- package/lib/esm/graph/types.js +0 -2
- package/lib/esm/graph/types.js.map +0 -1
- package/lib/types/graph/GraphExecutionStateMapper.d.cts +0 -66
- package/lib/types/graph/GraphExecutionStateMapper.d.mts +0 -66
- package/lib/types/graph/GraphResolution.d.cts +0 -53
- package/lib/types/graph/GraphResolution.d.mts +0 -53
- package/lib/types/graph/catalog/GraphConnectionPolicy.d.cts +0 -9
- package/lib/types/graph/catalog/GraphConnectionPolicy.d.mts +0 -9
- package/lib/types/graph/catalog/GraphCredentialReference.d.cts +0 -6
- package/lib/types/graph/catalog/GraphCredentialReference.d.mts +0 -6
- package/lib/types/graph/catalog/GraphCredentialRequirement.d.cts +0 -7
- package/lib/types/graph/catalog/GraphCredentialRequirement.d.mts +0 -7
- package/lib/types/graph/catalog/GraphDynamicPortRule.d.cts +0 -22
- package/lib/types/graph/catalog/GraphDynamicPortRule.d.mts +0 -22
- package/lib/types/graph/catalog/GraphIconReference.d.cts +0 -12
- package/lib/types/graph/catalog/GraphIconReference.d.mts +0 -12
- package/lib/types/graph/catalog/GraphManifestCompiler.d.cts +0 -14
- package/lib/types/graph/catalog/GraphManifestCompiler.d.mts +0 -14
- package/lib/types/graph/catalog/GraphNodeCapability.d.cts +0 -4
- package/lib/types/graph/catalog/GraphNodeCapability.d.mts +0 -4
- package/lib/types/graph/catalog/GraphNodeDisplayManifest.d.cts +0 -33
- package/lib/types/graph/catalog/GraphNodeDisplayManifest.d.mts +0 -33
- package/lib/types/graph/catalog/GraphNodeManifest.d.cts +0 -26
- package/lib/types/graph/catalog/GraphNodeManifest.d.mts +0 -26
- package/lib/types/graph/catalog/GraphNodeManifestSerialization.d.cts +0 -7
- package/lib/types/graph/catalog/GraphNodeManifestSerialization.d.mts +0 -7
- package/lib/types/graph/catalog/GraphNodeMethodManifest.d.cts +0 -10
- package/lib/types/graph/catalog/GraphNodeMethodManifest.d.mts +0 -10
- package/lib/types/graph/catalog/GraphNodePolicyManifest.d.cts +0 -46
- package/lib/types/graph/catalog/GraphNodePolicyManifest.d.mts +0 -46
- package/lib/types/graph/catalog/GraphParameterBase.d.cts +0 -14
- package/lib/types/graph/catalog/GraphParameterBase.d.mts +0 -14
- package/lib/types/graph/catalog/GraphParameterDefinition.d.cts +0 -66
- package/lib/types/graph/catalog/GraphParameterDefinition.d.mts +0 -66
- package/lib/types/graph/catalog/GraphParameterOption.d.cts +0 -8
- package/lib/types/graph/catalog/GraphParameterOption.d.mts +0 -8
- package/lib/types/graph/catalog/GraphParameterValidation.d.cts +0 -25
- package/lib/types/graph/catalog/GraphParameterValidation.d.mts +0 -25
- package/lib/types/graph/catalog/GraphPortManifest.d.cts +0 -21
- package/lib/types/graph/catalog/GraphPortManifest.d.mts +0 -21
- package/lib/types/graph/catalog/GraphResourceLocatorMode.d.cts +0 -10
- package/lib/types/graph/catalog/GraphResourceLocatorMode.d.mts +0 -10
- package/lib/types/graph/catalog/GraphValueSchema.d.cts +0 -44
- package/lib/types/graph/catalog/GraphValueSchema.d.mts +0 -44
- package/lib/types/graph/catalog/GraphValueSchemaDerivation.d.cts +0 -9
- package/lib/types/graph/catalog/GraphValueSchemaDerivation.d.mts +0 -9
- package/lib/types/graph/catalog/GraphVisibilityExpression.d.cts +0 -22
- package/lib/types/graph/catalog/GraphVisibilityExpression.d.mts +0 -22
- package/lib/types/graph/catalog/index.d.cts +0 -21
- package/lib/types/graph/catalog/index.d.mts +0 -21
- package/lib/types/graph/constants.d.cts +0 -544
- package/lib/types/graph/constants.d.mts +0 -544
- package/lib/types/graph/decorators.d.cts +0 -69
- package/lib/types/graph/decorators.d.mts +0 -69
- package/lib/types/graph/document/GraphDecoratedWorkflowCompiler.d.cts +0 -47
- package/lib/types/graph/document/GraphDecoratedWorkflowCompiler.d.mts +0 -47
- package/lib/types/graph/document/GraphEdgeInstance.d.cts +0 -12
- package/lib/types/graph/document/GraphEdgeInstance.d.mts +0 -12
- package/lib/types/graph/document/GraphEndpoint.d.cts +0 -13
- package/lib/types/graph/document/GraphEndpoint.d.mts +0 -13
- package/lib/types/graph/document/GraphJsonValue.d.cts +0 -11
- package/lib/types/graph/document/GraphJsonValue.d.mts +0 -11
- package/lib/types/graph/document/GraphLoopConfiguration.d.cts +0 -24
- package/lib/types/graph/document/GraphLoopConfiguration.d.mts +0 -24
- package/lib/types/graph/document/GraphNodeBinding.d.cts +0 -21
- package/lib/types/graph/document/GraphNodeBinding.d.mts +0 -21
- package/lib/types/graph/document/GraphNodeInstance.d.cts +0 -36
- package/lib/types/graph/document/GraphNodeInstance.d.mts +0 -36
- package/lib/types/graph/document/GraphWorkflowDocument.d.cts +0 -33
- package/lib/types/graph/document/GraphWorkflowDocument.d.mts +0 -33
- package/lib/types/graph/document/GraphWorkflowDocumentBuilder.d.cts +0 -72
- package/lib/types/graph/document/GraphWorkflowDocumentBuilder.d.mts +0 -72
- package/lib/types/graph/document/GraphWorkflowDocumentReader.d.cts +0 -21
- package/lib/types/graph/document/GraphWorkflowDocumentReader.d.mts +0 -21
- package/lib/types/graph/document/GraphWorkflowDocumentSerializer.d.cts +0 -5
- package/lib/types/graph/document/GraphWorkflowDocumentSerializer.d.mts +0 -5
- package/lib/types/graph/document/GraphWorkflowUiState.d.cts +0 -37
- package/lib/types/graph/document/GraphWorkflowUiState.d.mts +0 -37
- package/lib/types/graph/document/index.d.cts +0 -12
- package/lib/types/graph/document/index.d.mts +0 -12
- package/lib/types/graph/index.d.cts +0 -15
- package/lib/types/graph/index.d.mts +0 -15
- package/lib/types/graph/nodes/agents/agent.d.cts +0 -44
- package/lib/types/graph/nodes/agents/agent.d.mts +0 -44
- package/lib/types/graph/nodes/base.d.cts +0 -28
- package/lib/types/graph/nodes/base.d.mts +0 -28
- package/lib/types/graph/nodes/boundary/input-value.d.cts +0 -13
- package/lib/types/graph/nodes/boundary/input-value.d.mts +0 -13
- package/lib/types/graph/nodes/category-styles.d.cts +0 -8
- package/lib/types/graph/nodes/category-styles.d.mts +0 -8
- package/lib/types/graph/nodes/flow-control/break.d.cts +0 -15
- package/lib/types/graph/nodes/flow-control/break.d.mts +0 -15
- package/lib/types/graph/nodes/flow-control/error-boundary.d.cts +0 -12
- package/lib/types/graph/nodes/flow-control/error-boundary.d.mts +0 -12
- package/lib/types/graph/nodes/flow-control/human-approval.d.cts +0 -13
- package/lib/types/graph/nodes/flow-control/human-approval.d.mts +0 -13
- package/lib/types/graph/nodes/flow-control/if.d.cts +0 -16
- package/lib/types/graph/nodes/flow-control/if.d.mts +0 -16
- package/lib/types/graph/nodes/flow-control/parallel.d.cts +0 -11
- package/lib/types/graph/nodes/flow-control/parallel.d.mts +0 -11
- package/lib/types/graph/nodes/flow-control/switch.d.cts +0 -21
- package/lib/types/graph/nodes/flow-control/switch.d.mts +0 -21
- package/lib/types/graph/nodes/index.d.cts +0 -79
- package/lib/types/graph/nodes/index.d.mts +0 -79
- package/lib/types/graph/nodes/loops/foreach.d.cts +0 -19
- package/lib/types/graph/nodes/loops/foreach.d.mts +0 -19
- package/lib/types/graph/nodes/loops/until.d.cts +0 -16
- package/lib/types/graph/nodes/loops/until.d.mts +0 -16
- package/lib/types/graph/nodes/loops/while.d.cts +0 -16
- package/lib/types/graph/nodes/loops/while.d.mts +0 -16
- package/lib/types/graph/nodes/manifests.d.cts +0 -62
- package/lib/types/graph/nodes/manifests.d.mts +0 -62
- package/lib/types/graph/nodes/triggers/chat.d.cts +0 -13
- package/lib/types/graph/nodes/triggers/chat.d.mts +0 -13
- package/lib/types/graph/nodes/triggers/event.d.cts +0 -10
- package/lib/types/graph/nodes/triggers/event.d.mts +0 -10
- package/lib/types/graph/nodes/triggers/form.d.cts +0 -11
- package/lib/types/graph/nodes/triggers/form.d.mts +0 -11
- package/lib/types/graph/nodes/triggers/manual.d.cts +0 -12
- package/lib/types/graph/nodes/triggers/manual.d.mts +0 -12
- package/lib/types/graph/nodes/triggers/schedule.d.cts +0 -11
- package/lib/types/graph/nodes/triggers/schedule.d.mts +0 -11
- package/lib/types/graph/nodes/triggers/webhook.d.cts +0 -11
- package/lib/types/graph/nodes/triggers/webhook.d.mts +0 -11
- package/lib/types/graph/nodes/utility/code.d.cts +0 -31
- package/lib/types/graph/nodes/utility/code.d.mts +0 -31
- package/lib/types/graph/nodes/utility/delay.d.cts +0 -11
- package/lib/types/graph/nodes/utility/delay.d.mts +0 -11
- package/lib/types/graph/nodes/utility/log.d.cts +0 -13
- package/lib/types/graph/nodes/utility/log.d.mts +0 -13
- package/lib/types/graph/nodes/utility/map.d.cts +0 -11
- package/lib/types/graph/nodes/utility/map.d.mts +0 -11
- package/lib/types/graph/nodes/utility/merge.d.cts +0 -12
- package/lib/types/graph/nodes/utility/merge.d.mts +0 -12
- package/lib/types/graph/nodes/utility/return.d.cts +0 -11
- package/lib/types/graph/nodes/utility/return.d.mts +0 -11
- package/lib/types/graph/nodes/utility/utility-log.d.cts +0 -15
- package/lib/types/graph/nodes/utility/utility-log.d.mts +0 -15
- package/lib/types/graph/overrides/Metadata.d.cts +0 -43
- package/lib/types/graph/overrides/Metadata.d.mts +0 -43
- package/lib/types/graph/overrides/Rendering.d.cts +0 -5
- package/lib/types/graph/overrides/Rendering.d.mts +0 -5
- package/lib/types/graph/overrides/index.d.cts +0 -3
- package/lib/types/graph/overrides/index.d.mts +0 -3
- package/lib/types/graph/overrides/overrides.d.cts +0 -1
- package/lib/types/graph/overrides/overrides.d.mts +0 -1
- package/lib/types/graph/reader.d.cts +0 -16
- package/lib/types/graph/reader.d.mts +0 -16
- package/lib/types/graph/registry.d.cts +0 -40
- package/lib/types/graph/registry.d.mts +0 -40
- package/lib/types/graph/snapshot.d.cts +0 -176
- package/lib/types/graph/snapshot.d.mts +0 -176
- package/lib/types/graph/types.d.cts +0 -289
- package/lib/types/graph/types.d.mts +0 -289
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GRAPH_VISIBILITY_OPS = void 0;
|
|
4
|
-
exports.isGraphVisibilityExpression = isGraphVisibilityExpression;
|
|
5
|
-
const GraphJsonValue_js_1 = require("./../document/GraphJsonValue.cjs");
|
|
6
|
-
exports.GRAPH_VISIBILITY_OPS = [
|
|
7
|
-
"eq",
|
|
8
|
-
"neq",
|
|
9
|
-
"gt",
|
|
10
|
-
"gte",
|
|
11
|
-
"lt",
|
|
12
|
-
"lte",
|
|
13
|
-
"in",
|
|
14
|
-
"notIn",
|
|
15
|
-
"exists",
|
|
16
|
-
"and",
|
|
17
|
-
"or",
|
|
18
|
-
"not",
|
|
19
|
-
];
|
|
20
|
-
const GRAPH_COMPARISON_OPS = ["eq", "neq", "gt", "gte", "lt", "lte"];
|
|
21
|
-
const GRAPH_ARRAY_OPS = ["in", "notIn"];
|
|
22
|
-
const GRAPH_COMPOSITION_OPS = ["and", "or"];
|
|
23
|
-
function isGraphVisibilityExpression(value) {
|
|
24
|
-
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
25
|
-
return false;
|
|
26
|
-
const record = value;
|
|
27
|
-
const op = record["op"];
|
|
28
|
-
if (typeof op !== "string")
|
|
29
|
-
return false;
|
|
30
|
-
if (GRAPH_COMPARISON_OPS.includes(op)) {
|
|
31
|
-
return (typeof record["parameter"] === "string" &&
|
|
32
|
-
typeof record["value"] !== "undefined" &&
|
|
33
|
-
objectKeysOf(record).length === 3);
|
|
34
|
-
}
|
|
35
|
-
if (GRAPH_ARRAY_OPS.includes(op)) {
|
|
36
|
-
return (typeof record["parameter"] === "string" &&
|
|
37
|
-
Array.isArray(record["values"]) &&
|
|
38
|
-
record["values"].every(isPrimitiveOf) &&
|
|
39
|
-
objectKeysOf(record).length === 3);
|
|
40
|
-
}
|
|
41
|
-
if (op === "exists") {
|
|
42
|
-
return (typeof record["parameter"] === "string" &&
|
|
43
|
-
objectKeysOf(record).length === 2);
|
|
44
|
-
}
|
|
45
|
-
if (GRAPH_COMPOSITION_OPS.includes(op)) {
|
|
46
|
-
return (Array.isArray(record["expressions"]) &&
|
|
47
|
-
record["expressions"].every(isGraphVisibilityExpression) &&
|
|
48
|
-
objectKeysOf(record).length === 2);
|
|
49
|
-
}
|
|
50
|
-
if (op === "not") {
|
|
51
|
-
return (isGraphVisibilityExpression(record["expression"]) &&
|
|
52
|
-
objectKeysOf(record).length === 2);
|
|
53
|
-
}
|
|
54
|
-
return false;
|
|
55
|
-
}
|
|
56
|
-
function isPrimitiveOf(value) {
|
|
57
|
-
return (0, GraphJsonValue_js_1.isGraphJsonPrimitive)(value);
|
|
58
|
-
}
|
|
59
|
-
function objectKeysOf(record) {
|
|
60
|
-
return Object.keys(record);
|
|
61
|
-
}
|
|
62
|
-
//# sourceMappingURL=GraphVisibilityExpression.js.map
|
|
63
|
-
//# sourceMappingURL=GraphVisibilityExpression.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graph/catalog/GraphVisibilityExpression.cjs","sourceRoot":"","sources":["graph/catalog/GraphVisibilityExpression.js"],"names":[],"mappings":";;;AAkBA,kEAgCC;AAlDD,uEAAuE;AAC1D,QAAA,oBAAoB,GAAG;IAChC,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,OAAO;IACP,QAAQ;IACR,KAAK;IACL,IAAI;IACJ,KAAK;CACR,CAAC;AACF,MAAM,oBAAoB,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;AACrE,MAAM,eAAe,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AACxC,MAAM,qBAAqB,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AAC5C,SAAgB,2BAA2B,CAAC,KAAK;IAC7C,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAC3D,OAAO,KAAK,CAAC;IACjB,MAAM,MAAM,GAAG,KAAK,CAAC;IACrB,MAAM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AAY,CAAC,CAAC;YACrD,YAAY,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;IAC3C,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AACD,SAAS,aAAa,CAAC,KAAK;IACxB,OAAO,IAAA,wCAAoB,EAAC,KAAK,CAAC,CAAC;AACvC,CAAC;AACD,SAAS,YAAY,CAAC,MAAM;IACxB,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC/B,CAAC;AACD,qDAAqD"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./GraphConnectionPolicy.cjs"), exports);
|
|
18
|
-
__exportStar(require("./GraphCredentialReference.cjs"), exports);
|
|
19
|
-
__exportStar(require("./GraphCredentialRequirement.cjs"), exports);
|
|
20
|
-
__exportStar(require("./GraphDynamicPortRule.cjs"), exports);
|
|
21
|
-
__exportStar(require("./GraphIconReference.cjs"), exports);
|
|
22
|
-
__exportStar(require("./GraphNodeCapability.cjs"), exports);
|
|
23
|
-
__exportStar(require("./GraphNodeDisplayManifest.cjs"), exports);
|
|
24
|
-
__exportStar(require("./GraphNodeManifest.cjs"), exports);
|
|
25
|
-
__exportStar(require("./GraphNodeManifestSerialization.cjs"), exports);
|
|
26
|
-
__exportStar(require("./GraphNodeMethodManifest.cjs"), exports);
|
|
27
|
-
__exportStar(require("./GraphNodePolicyManifest.cjs"), exports);
|
|
28
|
-
__exportStar(require("./GraphParameterBase.cjs"), exports);
|
|
29
|
-
__exportStar(require("./GraphParameterDefinition.cjs"), exports);
|
|
30
|
-
__exportStar(require("./GraphParameterOption.cjs"), exports);
|
|
31
|
-
__exportStar(require("./GraphParameterValidation.cjs"), exports);
|
|
32
|
-
__exportStar(require("./GraphPortManifest.cjs"), exports);
|
|
33
|
-
__exportStar(require("./GraphResourceLocatorMode.cjs"), exports);
|
|
34
|
-
__exportStar(require("./GraphValueSchema.cjs"), exports);
|
|
35
|
-
__exportStar(require("./GraphValueSchemaDerivation.cjs"), exports);
|
|
36
|
-
__exportStar(require("./GraphVisibilityExpression.cjs"), exports);
|
|
37
|
-
__exportStar(require("./GraphManifestCompiler.cjs"), exports);
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
39
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graph/catalog/index.cjs","sourceRoot":"","sources":["graph/catalog/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,gEAA8C;AAC9C,kEAAgD;AAChD,4DAA0C;AAC1C,0DAAwC;AACxC,2DAAyC;AACzC,gEAA8C;AAC9C,yDAAuC;AACvC,sEAAoD;AACpD,+DAA6C;AAC7C,+DAA6C;AAC7C,0DAAwC;AACxC,gEAA8C;AAC9C,4DAA0C;AAC1C,gEAA8C;AAC9C,yDAAuC;AACvC,gEAA8C;AAC9C,wDAAsC;AACtC,kEAAgD;AAChD,iEAA+C;AAC/C,6DAA2C;AAC3C,iCAAiC"}
|
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GRAPH_RUN_TERMINAL_EVENT_TYPES = exports.DEFAULT_GRAPH_RUN_LIMITS = exports.GraphExecutionEventType = exports.GraphLogAttribute = exports.GRAPH_RUN_STATE_TOPIC = exports.GRAPH_RUN_LOG_TOPIC = exports.GRAPH_RUN_TOPIC = exports.GraphVisualState = exports.GraphExecutionStatus = exports.GRAPH_DEFAULT_DISABLED_NODE_BEHAVIOR = exports.GRAPH_DISABLED_NODE_BEHAVIORS = exports.GRAPH_DEFAULT_NODE_CORNER_RADIUS = exports.GRAPH_DEFAULT_NODE_SIZE = exports.GRAPH_DEFAULT_CATEGORY_STYLE = exports.GRAPH_VISUAL_STATE_STYLES = exports.PortDirection = exports.GraphKeys = void 0;
|
|
4
|
-
exports.graphVisualStyleOf = graphVisualStyleOf;
|
|
5
|
-
exports.graphNodeSizeOf = graphNodeSizeOf;
|
|
6
|
-
exports.registerGraphCategoryStyle = registerGraphCategoryStyle;
|
|
7
|
-
exports.graphCategoryStyleOf = graphCategoryStyleOf;
|
|
8
|
-
exports.resolveEffectiveColor = resolveEffectiveColor;
|
|
9
|
-
exports.resolveEffectiveIcon = resolveEffectiveIcon;
|
|
10
|
-
exports.isGraphDisabledNodeBehavior = isGraphDisabledNodeBehavior;
|
|
11
|
-
exports.graphRunTopicOf = graphRunTopicOf;
|
|
12
|
-
exports.isGraphRunTerminalEventType = isGraphRunTerminalEventType;
|
|
13
|
-
exports.isGraphRunTerminalStatus = isGraphRunTerminalStatus;
|
|
14
|
-
exports.isGraphRunStatus = isGraphRunStatus;
|
|
15
|
-
(function (GraphKeys) {
|
|
16
|
-
GraphKeys["GRAPH"] = "graph";
|
|
17
|
-
GraphKeys["NODE"] = "graph.node";
|
|
18
|
-
GraphKeys["EDGE"] = "graph.edge";
|
|
19
|
-
GraphKeys["PORT"] = "graph.port";
|
|
20
|
-
})(exports.GraphKeys || (exports.GraphKeys = {}));
|
|
21
|
-
(function (PortDirection) {
|
|
22
|
-
PortDirection["INPUT"] = "input";
|
|
23
|
-
PortDirection["OUTPUT"] = "output";
|
|
24
|
-
PortDirection["CONNECTION"] = "connection";
|
|
25
|
-
})(exports.PortDirection || (exports.PortDirection = {}));
|
|
26
|
-
/**
|
|
27
|
-
* The default visual-state → overlay mapping contract (DECAF-48 §4.4):
|
|
28
|
-
* running=faded green, blocked=yellow, errored=red; succeeded keeps the
|
|
29
|
-
* node's own accent; unexecuted-after-failure fades/disabled. This is the
|
|
30
|
-
* shared, framework-neutral source of truth that supersedes the DECAF-32
|
|
31
|
-
* §21.9 running colour for the live run-feedback overlay (§4.5).
|
|
32
|
-
*/
|
|
33
|
-
exports.GRAPH_VISUAL_STATE_STYLES = {
|
|
34
|
-
idle: { opacity: 1 },
|
|
35
|
-
running: { glow: "#22c55e", opacity: 0.85 },
|
|
36
|
-
blocked: { glow: "#eab308", opacity: 0.85 },
|
|
37
|
-
succeeded: { opacity: 1 },
|
|
38
|
-
failed: { glow: "#ef4444", opacity: 1 },
|
|
39
|
-
skipped: { opacity: 0.35 },
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Resolves the visual style overlay for a node/edge execution state, falling
|
|
43
|
-
* back to a neutral default when the state is unknown or unregistered.
|
|
44
|
-
*
|
|
45
|
-
* @param state - The visual state string (as defined by the shared
|
|
46
|
-
* `GraphVisualState` values, e.g. `"running"`, `"blocked"`).
|
|
47
|
-
* @returns The style overlay for the given state.
|
|
48
|
-
*/
|
|
49
|
-
function graphVisualStyleOf(state) {
|
|
50
|
-
return exports.GRAPH_VISUAL_STATE_STYLES[state] ?? exports.GRAPH_VISUAL_STATE_STYLES.idle;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Registry mapping category names to their default style (color + icon).
|
|
54
|
-
* Consumers register categories via {@link registerGraphCategoryStyle}.
|
|
55
|
-
*
|
|
56
|
-
* The engine and renderer resolve the "effective" color/icon for a node by
|
|
57
|
-
* checking the node's explicit `color` / `icon` first, then falling back to
|
|
58
|
-
* the category's style, then a default.
|
|
59
|
-
*/
|
|
60
|
-
const GRAPH_CATEGORY_STYLE_REGISTRY = {};
|
|
61
|
-
/**
|
|
62
|
-
* Default fallback style when no category is registered and no explicit
|
|
63
|
-
* color/icon is set on the node.
|
|
64
|
-
*/
|
|
65
|
-
exports.GRAPH_DEFAULT_CATEGORY_STYLE = {
|
|
66
|
-
color: "#64748b",
|
|
67
|
-
icon: "ti-pointer",
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* Fallback node size in pixels when a manifest declares no `width`/`height`
|
|
71
|
-
* (D1, DECAF-50 §4.5). The manifest display remains the authority; this value
|
|
72
|
-
* only fills an absent manifest dimension, never overriding a declared one.
|
|
73
|
-
*/
|
|
74
|
-
exports.GRAPH_DEFAULT_NODE_SIZE = 96;
|
|
75
|
-
/**
|
|
76
|
-
* Default node corner radius in pixels (D1, DECAF-50 §4.5) applied only when the
|
|
77
|
-
* manifest declares no `cornerRadius`. Folded into the manifest display fields by
|
|
78
|
-
* the D1 revision; no template CSS pins the radius.
|
|
79
|
-
*/
|
|
80
|
-
exports.GRAPH_DEFAULT_NODE_CORNER_RADIUS = 18;
|
|
81
|
-
/**
|
|
82
|
-
* Evaluates a node definition's manifest-declared, value-driven display rules
|
|
83
|
-
* (D1, DECAF-50 §4.5) against per-parameter item counts. Content growth is
|
|
84
|
-
* driven by the manifest, never by hardcoded per-node formulas: each matching
|
|
85
|
-
* `parameterCount` rule adds `perItem * count` to its dimension. Falls back to the
|
|
86
|
-
* manifest `width`/`height` when no rule applies.
|
|
87
|
-
*
|
|
88
|
-
* @param definition - The manifest definition carrying `width`/`height`/`sizeRules`.
|
|
89
|
-
* @param parameterCounts - Item counts keyed by parameter id (e.g. `cases`).
|
|
90
|
-
* @returns The resolved `{ width, height }` in pixels.
|
|
91
|
-
*/
|
|
92
|
-
function graphNodeSizeOf(definition, parameterCounts = {}) {
|
|
93
|
-
let width = definition.width ?? exports.GRAPH_DEFAULT_NODE_SIZE;
|
|
94
|
-
let height = definition.height ?? exports.GRAPH_DEFAULT_NODE_SIZE;
|
|
95
|
-
for (const rule of definition.sizeRules ?? []) {
|
|
96
|
-
if (rule.type !== "parameterCount")
|
|
97
|
-
continue;
|
|
98
|
-
const count = parameterCounts[rule.parameter] ?? 0;
|
|
99
|
-
if (count <= 0)
|
|
100
|
-
continue;
|
|
101
|
-
if (rule.dimension === "width")
|
|
102
|
-
width += count * rule.perItem;
|
|
103
|
-
else
|
|
104
|
-
height += count * rule.perItem;
|
|
105
|
-
}
|
|
106
|
-
return { width, height };
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Registers a category style (color + optional icon) in the global registry.
|
|
110
|
-
* Call this at module init time (e.g. in the engine's node declarations) to
|
|
111
|
-
* define the visual style for a category of nodes or connections.
|
|
112
|
-
*/
|
|
113
|
-
function registerGraphCategoryStyle(category, style) {
|
|
114
|
-
GRAPH_CATEGORY_STYLE_REGISTRY[category] = style;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Returns the style registered for `category`, or the default fallback style.
|
|
118
|
-
*/
|
|
119
|
-
function graphCategoryStyleOf(category) {
|
|
120
|
-
if (category && GRAPH_CATEGORY_STYLE_REGISTRY[category]) {
|
|
121
|
-
return GRAPH_CATEGORY_STYLE_REGISTRY[category];
|
|
122
|
-
}
|
|
123
|
-
return exports.GRAPH_DEFAULT_CATEGORY_STYLE;
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Resolves the effective color for a node (D7/G3-22, DECAF-50 §4.5).
|
|
127
|
-
*
|
|
128
|
-
* The **category base colour is authoritative**: every node of a registered
|
|
129
|
-
* category renders that one base colour, so same-category nodes never diverge.
|
|
130
|
-
* An explicit per-node `color` is an override applied at this single precedence
|
|
131
|
-
* point — it only wins when the category has no registered base style.
|
|
132
|
-
*
|
|
133
|
-
* @param explicitColor - The node's explicit per-node colour override, when any.
|
|
134
|
-
* @param category - The node's display category.
|
|
135
|
-
* @param override - A user-applied per-node colour override; wins over everything.
|
|
136
|
-
* @returns The resolved colour.
|
|
137
|
-
*/
|
|
138
|
-
function resolveEffectiveColor(explicitColor, category, override) {
|
|
139
|
-
if (override)
|
|
140
|
-
return override;
|
|
141
|
-
const base = category ? GRAPH_CATEGORY_STYLE_REGISTRY[category] : undefined;
|
|
142
|
-
if (base?.color)
|
|
143
|
-
return base.color;
|
|
144
|
-
if (explicitColor)
|
|
145
|
-
return explicitColor;
|
|
146
|
-
return exports.GRAPH_DEFAULT_CATEGORY_STYLE.color;
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* Resolves the effective icon for a node (D7/G3-22, DECAF-50 §4.5). The
|
|
150
|
-
* **category base icon is authoritative**; an explicit per-node `icon` is an
|
|
151
|
-
* override applied at this single precedence point.
|
|
152
|
-
*
|
|
153
|
-
* @param explicitIcon - The node's explicit per-node icon override, when any.
|
|
154
|
-
* @param category - The node's display category.
|
|
155
|
-
* @param override - A user-applied per-node icon override; wins over everything.
|
|
156
|
-
* @returns The resolved icon name.
|
|
157
|
-
*/
|
|
158
|
-
function resolveEffectiveIcon(explicitIcon, category, override) {
|
|
159
|
-
if (override)
|
|
160
|
-
return override;
|
|
161
|
-
const base = category ? GRAPH_CATEGORY_STYLE_REGISTRY[category] : undefined;
|
|
162
|
-
if (base?.icon)
|
|
163
|
-
return base.icon;
|
|
164
|
-
if (explicitIcon)
|
|
165
|
-
return explicitIcon;
|
|
166
|
-
return exports.GRAPH_DEFAULT_CATEGORY_STYLE.icon;
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* Disabled-node execution semantics (DECAF-50 §4.9).
|
|
170
|
-
*
|
|
171
|
-
* - `skip` — the node does not execute and produces no outputs.
|
|
172
|
-
* - `passThroughFirstInput` — the first incoming edge value is forwarded on
|
|
173
|
-
* the node's first declared output port.
|
|
174
|
-
* - `emitDefaults` — every declared output port is emitted with its default
|
|
175
|
-
* (absent a declared default, `undefined`).
|
|
176
|
-
*/
|
|
177
|
-
exports.GRAPH_DISABLED_NODE_BEHAVIORS = [
|
|
178
|
-
"skip",
|
|
179
|
-
"passThroughFirstInput",
|
|
180
|
-
"emitDefaults",
|
|
181
|
-
];
|
|
182
|
-
/** The disabled-node behavior applied when a node declares none. */
|
|
183
|
-
exports.GRAPH_DEFAULT_DISABLED_NODE_BEHAVIOR = "skip";
|
|
184
|
-
/** Type guard for {@link GraphDisabledNodeBehavior}. */
|
|
185
|
-
function isGraphDisabledNodeBehavior(value) {
|
|
186
|
-
return exports.GRAPH_DISABLED_NODE_BEHAVIORS.includes(value);
|
|
187
|
-
}
|
|
188
|
-
(function (GraphExecutionStatus) {
|
|
189
|
-
GraphExecutionStatus["PENDING"] = "pending";
|
|
190
|
-
GraphExecutionStatus["PLANNING"] = "planning";
|
|
191
|
-
GraphExecutionStatus["RUNNING"] = "running";
|
|
192
|
-
GraphExecutionStatus["SUCCEEDED"] = "succeeded";
|
|
193
|
-
GraphExecutionStatus["FAILED"] = "failed";
|
|
194
|
-
GraphExecutionStatus["SKIPPED"] = "skipped";
|
|
195
|
-
GraphExecutionStatus["CANCELLED"] = "cancelled";
|
|
196
|
-
GraphExecutionStatus["CACHED"] = "cached";
|
|
197
|
-
})(exports.GraphExecutionStatus || (exports.GraphExecutionStatus = {}));
|
|
198
|
-
(function (GraphVisualState) {
|
|
199
|
-
GraphVisualState["IDLE"] = "idle";
|
|
200
|
-
GraphVisualState["RUNNING"] = "running";
|
|
201
|
-
GraphVisualState["BLOCKED"] = "blocked";
|
|
202
|
-
GraphVisualState["SUCCEEDED"] = "succeeded";
|
|
203
|
-
GraphVisualState["FAILED"] = "failed";
|
|
204
|
-
GraphVisualState["SKIPPED"] = "skipped";
|
|
205
|
-
})(exports.GraphVisualState || (exports.GraphVisualState = {}));
|
|
206
|
-
/**
|
|
207
|
-
* Namespace root for graph run SSE topics (DECAF-48 §4.2). A subscription
|
|
208
|
-
* filters on these granular topics before `observer.next(...)`.
|
|
209
|
-
*/
|
|
210
|
-
exports.GRAPH_RUN_TOPIC = "graph.run";
|
|
211
|
-
/**
|
|
212
|
-
* SSE sub-topic streaming per-node log lines during a run.
|
|
213
|
-
*/
|
|
214
|
-
exports.GRAPH_RUN_LOG_TOPIC = `${exports.GRAPH_RUN_TOPIC}.log`;
|
|
215
|
-
/**
|
|
216
|
-
* SSE sub-topic streaming node/edge execution-state updates during a run.
|
|
217
|
-
*/
|
|
218
|
-
exports.GRAPH_RUN_STATE_TOPIC = `${exports.GRAPH_RUN_TOPIC}.state`;
|
|
219
|
-
(function (GraphLogAttribute) {
|
|
220
|
-
GraphLogAttribute["NODE_ID"] = "nodeId";
|
|
221
|
-
GraphLogAttribute["WORKFLOW_ID"] = "workflowId";
|
|
222
|
-
GraphLogAttribute["RUN_ID"] = "runId";
|
|
223
|
-
GraphLogAttribute["USER"] = "user";
|
|
224
|
-
})(exports.GraphLogAttribute || (exports.GraphLogAttribute = {}));
|
|
225
|
-
/**
|
|
226
|
-
* Namespace topic helper for a graph execution event.
|
|
227
|
-
*
|
|
228
|
-
* Log-carrier events resolve to `graph.run.log`; node/edge execution-state
|
|
229
|
-
* events resolve to `graph.run.state`; everything else stays under the shared
|
|
230
|
-
* `graph.run` topic and is only delivered to subscribers that match it.
|
|
231
|
-
*
|
|
232
|
-
* @param eventType - The graph execution event type to scope to a topic.
|
|
233
|
-
* @returns The SSE topic constant for the given event type.
|
|
234
|
-
*/
|
|
235
|
-
function graphRunTopicOf(eventType) {
|
|
236
|
-
switch (eventType) {
|
|
237
|
-
case exports.GraphExecutionEventType.GRAPH_RUN_LOG:
|
|
238
|
-
return exports.GRAPH_RUN_LOG_TOPIC;
|
|
239
|
-
case exports.GraphExecutionEventType.NODE_STATE_CHANGED:
|
|
240
|
-
case exports.GraphExecutionEventType.EDGE_STATE_CHANGED:
|
|
241
|
-
return exports.GRAPH_RUN_STATE_TOPIC;
|
|
242
|
-
default:
|
|
243
|
-
return exports.GRAPH_RUN_TOPIC;
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
(function (GraphExecutionEventType) {
|
|
247
|
-
GraphExecutionEventType["WORKFLOW_STARTED"] = "workflow.started";
|
|
248
|
-
GraphExecutionEventType["WORKFLOW_PLANNED"] = "workflow.planned";
|
|
249
|
-
GraphExecutionEventType["WORKFLOW_COMPLETED"] = "workflow.completed";
|
|
250
|
-
GraphExecutionEventType["WORKFLOW_FAILED"] = "workflow.failed";
|
|
251
|
-
GraphExecutionEventType["WORKFLOW_CANCELLED"] = "workflow.cancelled";
|
|
252
|
-
GraphExecutionEventType["NODE_QUEUED"] = "node.queued";
|
|
253
|
-
GraphExecutionEventType["NODE_STARTED"] = "node.started";
|
|
254
|
-
GraphExecutionEventType["NODE_OUTPUT"] = "node.output";
|
|
255
|
-
GraphExecutionEventType["NODE_COMPLETED"] = "node.completed";
|
|
256
|
-
GraphExecutionEventType["NODE_FAILED"] = "node.failed";
|
|
257
|
-
GraphExecutionEventType["NODE_SKIPPED"] = "node.skipped";
|
|
258
|
-
GraphExecutionEventType["NODE_CACHE_HIT"] = "node.cacheHit";
|
|
259
|
-
GraphExecutionEventType["NODE_PINNED"] = "node.pinned";
|
|
260
|
-
GraphExecutionEventType["NODE_UNPINNED"] = "node.unpinned";
|
|
261
|
-
/** Node execution-state transition carrying a `GraphNodeStateChangedPayload` (DECAF-48 §4.4). */
|
|
262
|
-
GraphExecutionEventType["NODE_STATE_CHANGED"] = "node.stateChanged";
|
|
263
|
-
GraphExecutionEventType["EDGE_VALUE_ROUTED"] = "edge.valueRouted";
|
|
264
|
-
/** Edge execution-state transition carrying a `GraphEdgeStateChangedPayload` (DECAF-48 §4.4). */
|
|
265
|
-
GraphExecutionEventType["EDGE_STATE_CHANGED"] = "edge.stateChanged";
|
|
266
|
-
/** Structured run log line carrying a `GraphRunLogEntry` (DECAF-48 §4.3). */
|
|
267
|
-
GraphExecutionEventType["GRAPH_RUN_LOG"] = "graph.run.log";
|
|
268
|
-
GraphExecutionEventType["LOOP_STARTED"] = "loop.started";
|
|
269
|
-
GraphExecutionEventType["LOOP_ITERATION_STARTED"] = "loop.iteration.started";
|
|
270
|
-
GraphExecutionEventType["LOOP_ITERATION_COMPLETED"] = "loop.iteration.completed";
|
|
271
|
-
GraphExecutionEventType["LOOP_CONDITION_EVALUATED"] = "loop.condition.evaluated";
|
|
272
|
-
GraphExecutionEventType["LOOP_COMPLETED"] = "loop.completed";
|
|
273
|
-
GraphExecutionEventType["LOOP_LIMIT_REACHED"] = "loop.limitReached";
|
|
274
|
-
GraphExecutionEventType["VALIDATION_STARTED"] = "validation.started";
|
|
275
|
-
GraphExecutionEventType["VALIDATION_FAILED"] = "validation.failed";
|
|
276
|
-
GraphExecutionEventType["VALIDATION_COMPLETED"] = "validation.completed";
|
|
277
|
-
GraphExecutionEventType["STORE_READ"] = "store.read";
|
|
278
|
-
GraphExecutionEventType["STORE_WRITE"] = "store.write";
|
|
279
|
-
GraphExecutionEventType["STORE_DELETE"] = "store.delete";
|
|
280
|
-
})(exports.GraphExecutionEventType || (exports.GraphExecutionEventType = {}));
|
|
281
|
-
/** Default run limits: request size, per-caller concurrency, event retention/payload size, execution timeout, and post-terminal event replay window. */
|
|
282
|
-
exports.DEFAULT_GRAPH_RUN_LIMITS = {
|
|
283
|
-
maxRequestBytes: 4_000_000,
|
|
284
|
-
maxConcurrentRuns: 32,
|
|
285
|
-
maxEventsPerRun: 10_000,
|
|
286
|
-
maxEventPayloadBytes: 256_000,
|
|
287
|
-
executionTimeoutMs: 600_000,
|
|
288
|
-
eventReplayWindowMs: 300_000,
|
|
289
|
-
};
|
|
290
|
-
/**
|
|
291
|
-
* Terminal graph event types closing a run's SSE stream
|
|
292
|
-
* (DECAF-50 §4.15). The run SSE endpoint never emits anything after these.
|
|
293
|
-
*/
|
|
294
|
-
exports.GRAPH_RUN_TERMINAL_EVENT_TYPES = [
|
|
295
|
-
exports.GraphExecutionEventType.WORKFLOW_COMPLETED,
|
|
296
|
-
exports.GraphExecutionEventType.WORKFLOW_FAILED,
|
|
297
|
-
exports.GraphExecutionEventType.WORKFLOW_CANCELLED,
|
|
298
|
-
];
|
|
299
|
-
/** Whether the event type is a run-stream terminal type (see {@link GRAPH_RUN_TERMINAL_EVENT_TYPES}). */
|
|
300
|
-
function isGraphRunTerminalEventType(type) {
|
|
301
|
-
return exports.GRAPH_RUN_TERMINAL_EVENT_TYPES.includes(type);
|
|
302
|
-
}
|
|
303
|
-
/** Whether the run status is terminal (`succeeded`, `failed`, or `cancelled`). */
|
|
304
|
-
function isGraphRunTerminalStatus(status) {
|
|
305
|
-
return status === "succeeded" || status === "failed" || status === "cancelled";
|
|
306
|
-
}
|
|
307
|
-
/** Type guard for {@link GraphRunStatus}. */
|
|
308
|
-
function isGraphRunStatus(value) {
|
|
309
|
-
return (typeof value === "string" &&
|
|
310
|
-
[
|
|
311
|
-
"queued",
|
|
312
|
-
"validating",
|
|
313
|
-
"running",
|
|
314
|
-
"succeeded",
|
|
315
|
-
"failed",
|
|
316
|
-
"cancelled",
|
|
317
|
-
].includes(value));
|
|
318
|
-
}
|
|
319
|
-
//# sourceMappingURL=constants.js.map
|
|
320
|
-
//# sourceMappingURL=constants.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graph/constants.cjs","sourceRoot":"","sources":["graph/constants.js"],"names":[],"mappings":";;;AAoCA,gDAEC;AAyCD,0CAeC;AAMD,gEAEC;AAID,oDAKC;AAcD,sDASC;AAWD,oDASC;AAkBD,kEAEC;AAmED,0CAUC;AAgED,kEAEC;AAED,4DAEC;AAED,4CAUC;AA5UD,CAAC,UAAU,SAAS;IAChB,SAAS,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IAC7B,SAAS,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC;IACjC,SAAS,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC;IACjC,SAAS,CAAC,MAAM,CAAC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AK;IAClC,OAAO,CAAC,OAAO,KAAK,KAAK,QAAQ;QAC7B;YACI,QAAQ;YACR,YAAY;YACZ,SAAS;YACT,WAAW;YACX,QAAQ;YACR,WAAW;SACd,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3B,CAAC;AACD,qCAAqC"}
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.node = node;
|
|
4
|
-
exports.graph = graph;
|
|
5
|
-
exports.port = port;
|
|
6
|
-
exports.input = input;
|
|
7
|
-
exports.output = output;
|
|
8
|
-
exports.connection = connection;
|
|
9
|
-
exports.pinnable = pinnable;
|
|
10
|
-
const decoration_1 = require("@decaf-ts/decoration");
|
|
11
|
-
const decorators_js_1 = require("./../model/decorators.cjs");
|
|
12
|
-
const constants_js_1 = require("./constants.cjs");
|
|
13
|
-
const reader_js_1 = require("./reader.cjs");
|
|
14
|
-
const registry_js_1 = require("./registry.cjs");
|
|
15
|
-
function node(tag, graph, props) {
|
|
16
|
-
function node(tag, graph, props) {
|
|
17
|
-
const meta = {
|
|
18
|
-
kind: graph?.kind || tag,
|
|
19
|
-
...graph,
|
|
20
|
-
};
|
|
21
|
-
return function innerNode(target) {
|
|
22
|
-
const result = (0, decoration_1.apply)((0, decorators_js_1.uimodel)(tag, props), (0, decoration_1.metadata)(constants_js_1.GraphKeys.NODE, meta))(target);
|
|
23
|
-
(0, registry_js_1.registerNode)(target);
|
|
24
|
-
return result;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
return decoration_1.Decoration.for(constants_js_1.GraphKeys.NODE)
|
|
28
|
-
.define({
|
|
29
|
-
decorator: node,
|
|
30
|
-
args: [tag, graph, props],
|
|
31
|
-
})
|
|
32
|
-
.apply();
|
|
33
|
-
}
|
|
34
|
-
function graph(tag, graph, props) {
|
|
35
|
-
function graphDecorator(tag, graph, props) {
|
|
36
|
-
return function innerGraph(target) {
|
|
37
|
-
const ports = (0, reader_js_1.graphPortsOf)(target);
|
|
38
|
-
const meta = {
|
|
39
|
-
...(graph || {}),
|
|
40
|
-
kind: graph?.kind || tag,
|
|
41
|
-
inputs: graph?.inputs ||
|
|
42
|
-
ports.filter((port) => port.direction === constants_js_1.PortDirection.INPUT),
|
|
43
|
-
outputs: graph?.outputs ||
|
|
44
|
-
ports.filter((port) => port.direction === constants_js_1.PortDirection.OUTPUT),
|
|
45
|
-
connections: graph?.connections ||
|
|
46
|
-
ports.filter((port) => port.direction === constants_js_1.PortDirection.CONNECTION),
|
|
47
|
-
};
|
|
48
|
-
const result = (0, decoration_1.apply)((0, decorators_js_1.uimodel)(tag, props), (0, decoration_1.metadata)(constants_js_1.GraphKeys.GRAPH, meta))(target);
|
|
49
|
-
(0, registry_js_1.registerWorkflow)(target);
|
|
50
|
-
return result;
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
return decoration_1.Decoration.for(constants_js_1.GraphKeys.GRAPH)
|
|
54
|
-
.define({
|
|
55
|
-
decorator: graphDecorator,
|
|
56
|
-
args: [tag, graph, props],
|
|
57
|
-
})
|
|
58
|
-
.apply();
|
|
59
|
-
}
|
|
60
|
-
function port(direction, graph) {
|
|
61
|
-
function port(direction, graph) {
|
|
62
|
-
return function innerPort(target, propertyKey) {
|
|
63
|
-
const meta = {
|
|
64
|
-
direction,
|
|
65
|
-
...graph,
|
|
66
|
-
};
|
|
67
|
-
return (0, decoration_1.apply)((0, decoration_1.propMetadata)(decoration_1.Metadata.key(constants_js_1.GraphKeys.PORT, propertyKey), meta))(target, propertyKey);
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
return decoration_1.Decoration.for(constants_js_1.GraphKeys.PORT)
|
|
71
|
-
.define({
|
|
72
|
-
decorator: port,
|
|
73
|
-
args: [direction, graph],
|
|
74
|
-
})
|
|
75
|
-
.apply();
|
|
76
|
-
}
|
|
77
|
-
function input(graph) {
|
|
78
|
-
return port(constants_js_1.PortDirection.INPUT, { ...graph, schema: true });
|
|
79
|
-
}
|
|
80
|
-
function output(graph) {
|
|
81
|
-
return port(constants_js_1.PortDirection.OUTPUT, { ...graph, schema: true });
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Declares a "connection" port on a node — a third port kind alongside
|
|
85
|
-
* `@input()` and `@output()`. Connection ports are rendered on the **bottom**
|
|
86
|
-
* side of the node (inputs are on the left, outputs on the right).
|
|
87
|
-
*
|
|
88
|
-
* Connections are typed by `category` (e.g. `"model"`, `"memory"`,
|
|
89
|
-
* `"workspace"`). The category determines the port's color via the
|
|
90
|
-
* {@link registerGraphCategoryStyle} registry.
|
|
91
|
-
*
|
|
92
|
-
* Unlike `@input` / `@output`, connection ports do NOT carry workflow data
|
|
93
|
-
* values — they represent structural dependencies (e.g. an Agent node
|
|
94
|
-
* connecting to a Model resource, a Memory store, or a Workspace). Nodes may
|
|
95
|
-
* have zero or more `@connection()` ports.
|
|
96
|
-
*
|
|
97
|
-
* Usage:
|
|
98
|
-
* ```ts
|
|
99
|
-
* @node("ai.agent", { kind: "ai.agent", category: "Agent" })
|
|
100
|
-
* @model()
|
|
101
|
-
* export class AgentNode extends Model {
|
|
102
|
-
* @connection({ category: "model", handle: "model" })
|
|
103
|
-
* model!: unknown;
|
|
104
|
-
*
|
|
105
|
-
* @connection({ category: "memory", handle: "memory" })
|
|
106
|
-
* memory!: unknown;
|
|
107
|
-
* }
|
|
108
|
-
* ```
|
|
109
|
-
*/
|
|
110
|
-
function connection(graph) {
|
|
111
|
-
return port(constants_js_1.PortDirection.CONNECTION, graph);
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Class decorator that marks a graph node as pinnable.
|
|
115
|
-
*
|
|
116
|
-
* The metadata is stored in the node's `graph.metadata.pinnable` field so the
|
|
117
|
-
* Angular renderer and the core pinning policy can read it.
|
|
118
|
-
*
|
|
119
|
-
* Usage:
|
|
120
|
-
* ```ts
|
|
121
|
-
* @node("ai.expensiveCompletion", { kind: "ai.expensiveCompletion" })
|
|
122
|
-
* @pinnable({ strategy: "manual", includeDependencies: true })
|
|
123
|
-
* export class ExpensiveCompletionNode extends Model { ... }
|
|
124
|
-
* ```
|
|
125
|
-
*/
|
|
126
|
-
function pinnable(options = {}) {
|
|
127
|
-
function pinnable(target) {
|
|
128
|
-
const existingMeta = decoration_1.Metadata.get(target, constants_js_1.GraphKeys.NODE);
|
|
129
|
-
const meta = existingMeta ?? {};
|
|
130
|
-
meta.metadata = {
|
|
131
|
-
...(meta.metadata ?? {}),
|
|
132
|
-
pinnable: {
|
|
133
|
-
enabled: options.enabled ?? true,
|
|
134
|
-
ttlMs: options.ttlMs,
|
|
135
|
-
strategy: options.strategy ?? "manual",
|
|
136
|
-
includeDependencies: options.includeDependencies ?? true,
|
|
137
|
-
metadata: options.metadata,
|
|
138
|
-
},
|
|
139
|
-
};
|
|
140
|
-
decoration_1.Metadata.set(target, constants_js_1.GraphKeys.NODE, meta);
|
|
141
|
-
return target;
|
|
142
|
-
}
|
|
143
|
-
return decoration_1.Decoration.for("graph.pinnable")
|
|
144
|
-
.define({
|
|
145
|
-
decorator: pinnable,
|
|
146
|
-
args: [options],
|
|
147
|
-
})
|
|
148
|
-
.apply();
|
|
149
|
-
}
|
|
150
|
-
//# sourceMappingURL=decorators.js.map
|
|
151
|
-
//# sourceMappingURL=decorators.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graph/decorators.cjs","sourceRoot":"","sources":["graph/decorators.js"],"names":[],"mappings":";;AAKA,oBAkBC;AACD,sBAyBC;AACD,oBAgBC;AACD,sBAEC;AACD,wBAEC;AA4BD,gCAEC;AAcD,4BAuBC;AA3ID,qDAA4F;AAC5F,4DAAmD;AACnD,iDAA0D;AAC1D,2CAA2C;AAC3C,+CAA+D;AAC/D,SAAgB,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,KAAK;IAClC,SAAS,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,K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