dify/api/controllers/console/app
Harry 5a15419baf feat(trigger): implement debug session capabilities for trigger nodes
- Added `DraftWorkflowTriggerNodeApi` to handle debugging of trigger nodes, allowing for real-time event listening and session management.
- Introduced `TriggerDebugService` for managing debug sessions and event dispatching using Redis Pub/Sub.
- Updated `TriggerService` to support dispatching events to debug sessions and refactored related methods for improved clarity and functionality.
- Enhanced data structures in `request.py` and `entities.py` to accommodate new debug event data requirements.

These changes significantly improve the debugging capabilities for trigger nodes in draft workflows, facilitating better development and troubleshooting processes.
2025-09-09 21:27:31 +08:00
..
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
advanced_prompt_template.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
agent.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
annotation.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
app.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
app_import.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
audio.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
completion.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
conversation.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
conversation_variables.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
error.py Restructure the File errors in controller (#23801) 2025-08-13 17:06:07 +08:00
generator.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
mcp_server.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
message.py Update ast-grep pattern for session.query (#24828) 2025-08-31 17:03:51 +08:00
model_config.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
ops_trace.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
site.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
statistic.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
workflow.py feat(trigger): implement debug session capabilities for trigger nodes 2025-09-09 21:27:31 +08:00
workflow_app_log.py feat(workflow-log): enhance workflow logs UI with sorting and status filters (#24978) 2025-09-02 16:43:11 +08:00
workflow_draft_variable.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
workflow_run.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
workflow_statistic.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
workflow_trigger.py fix: add stable sorting for trigger list to prevent position changes (#25328) 2025-09-07 21:52:41 +08:00
wraps.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00