mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-09 12:40:59 +00:00
后端没修完版
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
"""Workflow package for LangBot
|
||||
|
||||
This package provides a visual workflow system for LangBot, including:
|
||||
- Workflow definition models
|
||||
- Execution engine
|
||||
- Node types (trigger, process, control, action, integration)
|
||||
- Trigger system for automation
|
||||
"""
|
||||
|
||||
from .entities import (
|
||||
WorkflowDefinition,
|
||||
NodeDefinition,
|
||||
EdgeDefinition,
|
||||
Position,
|
||||
PortDefinition,
|
||||
TriggerDefinition,
|
||||
WorkflowSettings,
|
||||
ExecutionContext,
|
||||
NodeState,
|
||||
ExecutionStatus,
|
||||
NodeStatus,
|
||||
)
|
||||
|
||||
from .node import WorkflowNode, NodePort, NodeConfig, workflow_node
|
||||
from .registry import NodeTypeRegistry
|
||||
from .executor import WorkflowExecutor
|
||||
|
||||
# Import nodes module to trigger node registration
|
||||
from . import nodes as nodes
|
||||
|
||||
__all__ = [
|
||||
# Entities
|
||||
'WorkflowDefinition',
|
||||
'NodeDefinition',
|
||||
'EdgeDefinition',
|
||||
'Position',
|
||||
'PortDefinition',
|
||||
'TriggerDefinition',
|
||||
'WorkflowSettings',
|
||||
'ExecutionContext',
|
||||
'NodeState',
|
||||
'ExecutionStatus',
|
||||
'NodeStatus',
|
||||
# Node
|
||||
'WorkflowNode',
|
||||
'NodePort',
|
||||
'NodeConfig',
|
||||
'workflow_node',
|
||||
# Registry
|
||||
'NodeTypeRegistry',
|
||||
# Executor
|
||||
'WorkflowExecutor',
|
||||
]
|
||||
Reference in New Issue
Block a user