dify/api/services
Harry 1562d00037 feat(trigger): implement trigger debugging functionality
- Added DraftWorkflowTriggerNodeApi and DraftWorkflowTriggerRunApi for debugging trigger nodes and workflows.
- Enhanced TriggerDebugService to manage trigger debugging sessions and event listening.
- Introduced structured event responses for trigger debugging, including listening started, received, node finished, and workflow started events.
- Updated Queue and Stream entities to support new trigger debug events.
- Refactored trigger input handling to streamline the process of creating inputs from trigger data.

This implementation improves the debugging capabilities for trigger nodes and workflows, providing clearer event handling and structured responses.
2025-09-11 16:55:58 +08:00
..
auth orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
enterprise Feat: Education (#24208) 2025-08-20 15:38:14 +08:00
entities feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
errors feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
plugin feat(trigger): enhance plugin and trigger integration with updated naming conventions 2025-09-08 23:14:50 +08:00
recommend_app make logging not use f-str, change others to f-str (#22882) 2025-07-25 10:32:48 +08:00
tools chore: (trigger) refactor webhook service (#25229) 2025-09-05 14:00:20 +08:00
trigger feat(trigger): implement trigger debugging functionality 2025-09-11 16:55:58 +08:00
workflow fix: limits 2025-09-09 23:32:51 +08:00
__init__.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
account_service.py [CHORE]: remove redundant-cast (#24807) 2025-09-01 14:05:32 +08:00
advanced_prompt_template_service.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
agent_service.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
annotation_service.py [CHORE]: remove redundant-cast (#24807) 2025-09-01 14:05:32 +08:00
api_based_extension_service.py make logging not use f-str, change others to f-str (#22882) 2025-07-25 10:32:48 +08:00
app_dsl_service.py fix: clear schedule config when exporting data 2025-09-10 13:50:37 +08:00
app_generate_service.py Chore: remove dead func AppModelConfig.copy() with wrong logic (#24747) 2025-08-29 11:38:24 +08:00
app_model_config_service.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
app_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
async_workflow_service.py refactor: optimize TenantDailyRateLimiter to use UTC internally with timezone-aware error messages (#24632) 2025-08-27 17:35:04 +08:00
audio_service.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
billing_service.py Feat: Education (#24208) 2025-08-20 15:38:14 +08:00
clear_free_plan_tenant_expired_logs.py Update ast-grep pattern for session.query (#24828) 2025-08-31 17:03:51 +08:00
code_based_extension_service.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
conversation_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
dataset_service.py fix:hard-coded top-k fallback issue. (#24879) 2025-09-01 15:46:37 +08:00
external_knowledge_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
feature_service.py Feat/change user email (#22213) 2025-07-17 10:55:59 +08:00
file_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
hit_testing_service.py fix:hard-coded top-k fallback issue. (#24879) 2025-09-01 15:46:37 +08:00
knowledge_service.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
message_service.py fix wrong filter handle for saved messages (#24891) 2025-09-01 16:32:08 +08:00
metadata_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
model_load_balancing_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
model_provider_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
oauth_server.py feat: oauth provider (#24206) 2025-08-29 14:10:51 +08:00
operation_service.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
ops_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
recommended_app_service.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
saved_message_service.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
schedule_service.py feat: add workflow schedule trigger support (#24428) 2025-09-10 13:24:23 +08:00
tag_service.py Fix Empty Collection WHERE Filter Issue (#23086) 2025-07-29 11:17:50 +08:00
trigger_debug_service.py feat(trigger): implement trigger debugging functionality 2025-09-11 16:55:58 +08:00
trigger_service.py feat(trigger): implement trigger debugging functionality 2025-09-11 16:55:58 +08:00
vector_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
web_conversation_service.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
webapp_auth_service.py example for rm extra cast (#24646) 2025-08-28 09:37:39 +08:00
webhook_service.py chore: add comments on generate_webhook_id 2025-09-10 17:23:29 +08:00
website_service.py refactor: Fix some type error (#22594) 2025-07-18 09:26:29 +08:00
workflow_app_service.py Add Filter of Get Workflow Logs (#21172) 2025-06-19 10:10:16 +08:00
workflow_draft_variable_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
workflow_plugin_trigger_service.py feat(trigger): update plugin trigger API and model to use trigger_name 2025-09-05 15:56:13 +08:00
workflow_run_service.py feat(api/repo): Allow to config repository implementation (#21458) 2025-07-14 14:54:38 +08:00
workflow_service.py Refactor: replace count() > 0 check with exists() (#24583) 2025-08-27 17:46:52 +08:00
workspace_service.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00