- 新增通知系统 (notifications 表、服务、API) - 新增飞书定时任务结果推送 (webhook + 应用消息) - 新增飞书应用消息发送服务 (feishu_app_service) - 新增飞书 WebSocket 长连接事件监听 (苹果应用) - 新增飞书账号绑定/解绑 API - 新增橙子飞书机器人 (独立 WS 连接,固定路由到橙子助手 Agent) - 执行记录添加 schedule_id,用户添加飞书绑定字段 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
1.5 KiB
Python
22 lines
1.5 KiB
Python
# Models package
|
|
from app.models.user import User
|
|
from app.models.workflow import Workflow
|
|
from app.models.workflow_version import WorkflowVersion
|
|
from app.models.agent import Agent
|
|
from app.models.execution import Execution
|
|
from app.models.execution_log import ExecutionLog
|
|
from app.models.model_config import ModelConfig
|
|
from app.models.data_source import DataSource
|
|
from app.models.workflow_template import WorkflowTemplate, TemplateRating, TemplateFavorite
|
|
from app.models.node_template import NodeTemplate
|
|
from app.models.permission import Role, Permission, WorkflowPermission, AgentPermission
|
|
from app.models.alert_rule import AlertRule, AlertLog
|
|
from app.models.persistent_user_memory import PersistentUserMemory
|
|
from app.models.agent_llm_log import AgentLLMLog
|
|
from app.models.agent_vector_memory import AgentVectorMemory
|
|
from app.models.agent_learning_pattern import AgentLearningPattern
|
|
from app.models.agent_schedule import AgentSchedule
|
|
from app.models.knowledge_base import KnowledgeBase, Document, DocumentChunk
|
|
from app.models.notification import Notification
|
|
|
|
__all__ = ["User", "Workflow", "WorkflowVersion", "Agent", "Execution", "ExecutionLog", "ModelConfig", "DataSource", "WorkflowTemplate", "TemplateRating", "TemplateFavorite", "NodeTemplate", "Role", "Permission", "WorkflowPermission", "AgentPermission", "AlertRule", "AlertLog", "PersistentUserMemory", "AgentLLMLog", "AgentVectorMemory", "AgentLearningPattern", "AgentSchedule", "KnowledgeBase", "Document", "DocumentChunk", "Notification"] |