Commit Graph
298 Commits
Author SHA1 Message Date
Byron Wang 37dc3acc0d Sync refactor/api-76-11 and preserve configurable workflow cleanup 2026-11-19 17:28:25 +08:00
Byron Wang 1aba350c9d Sync refactor/api-76-10-12 and reconcile upstream changes 2026-11-19 17:17:48 +08:00
Byron Wang 18908ec0f5 Sync refactor/api-76-10-10 and reconcile upstream changes 2026-11-19 17:02:44 +08:00
Byron Wang 561684bc08 Sync refactor/api-76-10-8 and reconcile upstream changes 2026-11-19 16:38:38 +08:00
Byron Wang 5ceef0bdd9 Merge main into refactor/api-76-1 and adapt the workspace contact lookup 2026-11-19 15:35:49 +08:00
林玮 (Jade Lin) 733454eae3 feat(api): enforce moderation for Cloud AI-credit model calls (#45987) 2026-11-18 02:48:29 +00:00
7b19f9d65b fix(hitl): restore form API compatibility and harden IM workflows (#46548)
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-17 13:44:16 +00:00
QuantumGhost 3d364804fc fix(workflow): allow temporary Backstage access through Web App forms (#46271) 2026-11-13 10:30:20 +00:00
4833948da6 fix(workflow): map WEB_APP invocations to a HITL surface with web form tokens (#45753) (#45827)
Co-authored-by: severus0044 <288351380+severus0044@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-13 06:44:37 +00:00
Byron Wang 2529a03c01 Merge updated refactor/api-76-11 into refactor/api-76-12
# Conflicts:
#	api/tests/unit_tests/core/repositories/test_human_input_repository.py
2026-10-31 22:33:42 +08:00
Byron Wang 35479973f9 Merge updated refactor/api-76-10-12 into refactor/api-76-10-13
# Conflicts:
#	api/.importlinter
#	api/core/app/apps/base_app_generator.py
#	api/core/app/apps/common/workflow_response_converter.py
#	api/core/tools/tool_manager.py
#	api/extensions/ext_application_services.py
#	api/services/agent/composer_service.py
#	api/services/agent_tool_inner_service.py
#	api/services/annotation_service.py
#	api/services/workflow_event_snapshot_service.py
2026-10-31 22:26:04 +08:00
Byron Wang a811a4e948 Merge updated refactor/api-76-10-10 into refactor/api-76-10
# Conflicts:
#	api/.importlinter
#	api/controllers/console/app/workflow.py
#	api/controllers/console/explore/trial.py
#	api/controllers/openapi/app_workflow.py
#	api/extensions/application_services/installed_app.py
#	api/extensions/ext_application_services.py
#	api/repositories/sqlalchemy_execution_extra_content_repository.py
#	api/services/agent/composer_service.py
#	api/services/annotation_service.py
#	api/services/app/console_gateway.py
#	api/services/app_dsl_service.py
#	api/services/app_generate_service.py
#	api/services/app_package_service.py
#	api/services/snippet_generate_service.py
#	api/services/snippet_service.py
#	api/services/workflow_run_service.py
#	api/services/workflow_service.py
#	api/services/workflow_tool_source_service.py
#	api/tasks/app_generate/workflow_execute_task.py
#	api/tasks/async_workflow_tasks.py
#	api/tasks/human_input_timeout_tasks.py
#	api/tests/e2e_tests/containers/core/workflow/test_human_input_resume_node_execution.py
#	api/tests/e2e_tests/containers/services/test_annotation_service.py
#	api/tests/unit_tests/controllers/console/app/test_workflow.py
#	api/tests/unit_tests/controllers/console/datasets/rag_pipeline/test_rag_pipeline_workflow.py
#	api/tests/unit_tests/controllers/inner_api/agent/test_tools.py
#	api/tests/unit_tests/controllers/openapi/auth/test_resource_access.py
#	api/tests/unit_tests/controllers/service_api/app/test_completion.py
#	api/tests/unit_tests/controllers/service_api/app/test_workflow.py
#	api/tests/unit_tests/controllers/service_api/app/test_workflow_events.py
#	api/tests/unit_tests/controllers/service_api/dataset/rag_pipeline/test_rag_pipeline_workflow.py
#	api/tests/unit_tests/core/tools/__base/test_tool.py
#	api/tests/unit_tests/dev/test_check_knowledge_fs_coverage.py
#	api/tests/unit_tests/pyrefly.toml
#	api/tests/unit_tests/services/agent/test_home_snapshot_service.py
#	api/tests/unit_tests/services/app/test_console_service.py
#	api/tests/unit_tests/services/rag_pipeline/test_rag_pipeline.py
#	api/tests/unit_tests/services/test_agent_service.py
#	api/tests/unit_tests/services/test_annotation_service.py
#	api/tests/unit_tests/services/test_app_definition_query_service.py
#	api/tests/unit_tests/services/test_app_dsl_service.py
#	api/tests/unit_tests/services/test_app_generate_service.py
#	api/tests/unit_tests/services/test_app_package_service.py
#	api/tests/unit_tests/services/test_snippet_service.py
#	api/tests/unit_tests/services/test_workflow_run_service.py
#	api/tests/unit_tests/services/test_workflow_service.py
#	api/tests/unit_tests/services/trigger/test_webhook_service.py
#	api/tests/unit_tests/tasks/app_generate/test_workflow_execute_task.py
#	packages/contracts/generated/api/console/apps/errors.gen.ts
#	packages/contracts/generated/api/console/apps/orpc.gen.ts
#	packages/contracts/generated/api/console/errors.gen.ts
2026-10-31 22:06:30 +08:00
Byron Wang 8aa3dc5b22 Merge current lower-stack fixes into Human Input event adapters
# Conflicts:
#	api/controllers/service_api/app/human_input_form.py
#	api/services/agent/composer_service.py
#	api/services/workflow_event_snapshot_service.py
#	api/tests/unit_tests/controllers/openapi/test_workflow_events.py
#	api/tests/unit_tests/controllers/service_api/app/test_workflow_events.py
#	api/tests/unit_tests/controllers/web/test_human_input_form.py
#	api/tests/unit_tests/core/repositories/test_human_input_repository.py
#	api/tests/unit_tests/repositories/credentials/test_query_repository.py
#	packages/contracts/generated/api/console/apps/errors.gen.ts
#	packages/contracts/generated/api/console/errors.gen.ts
2026-10-31 21:52:25 +08:00
Byron Wang 850dc0f82a Merge updated main into refactor/api-76-1
# Conflicts:
#	api/controllers/service_api/app/human_input_form.py
#	api/controllers/web/human_input_form.py
#	api/core/repositories/human_input_repository.py
#	api/core/workflow/human_input_adapter.py
#	api/core/workflow/node_factory.py
#	api/enums/human_input.py
#	api/models/human_input.py
#	api/models/human_input_entities.py
#	api/repositories/sqlalchemy_execution_extra_content_repository.py
#	api/tasks/mail_human_input_delivery_task.py
#	api/tests/e2e_tests/containers/services/workflow/test_workflow_event_snapshot_service.py
#	api/tests/unit_tests/controllers/service_api/app/test_workflow_events.py
#	api/tests/unit_tests/controllers/web/test_human_input_form.py
#	api/tests/unit_tests/core/repositories/test_human_input_repository.py
#	api/tests/unit_tests/core/workflow/test_human_input_adapter.py
#	api/tests/unit_tests/services/test_workflow_event_snapshot_service.py
#	api/tests/unit_tests/services/test_workflow_run_agg.py
2026-10-31 21:07:12 +08:00
Winoren b1d2e2983b fix(web-api): reject internal approval tokens on public HITL endpoints (#44644) 2026-10-30 04:37:17 +00:00
8cbb6c0130 feat: HITL IM integration (#44864)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-30 02:43:31 +00:00
非法操作 1f500e52cc refactor(api): share conversation list queries (#43996) 2026-10-28 03:26:06 +00:00
非法操作 55b5265424 refactor(api): share conversation deletion and pin commands (#43992) 2026-10-27 07:38:42 +00:00
非法操作 55501cf62b refactor(api): share conversation rename service and repository (#43991) 2026-10-27 06:59:24 +00:00
Byron Wang fbdb3ac4be Sync validated refactor/api-76-11 fixes 2026-10-27 12:14:32 +08:00
Byron Wang 67917270a1 Sync validated refactor/api-76-10-12 fixes 2026-10-27 12:14:29 +08:00
Byron Wang 770f7743a7 Preserve active test owners with unified message queries and strict typing 2026-10-27 12:14:20 +08:00
Byron Wang f2796c48f7 Sync validated refactor/api-76-10-8 fixes 2026-10-27 12:04:33 +08:00
Byron Wang 4360dd9656 Merge current main message queries and preserve test ownership 2026-10-27 12:04:23 +08:00
非法操作 69b58b68aa refactor(api): unify message list and detail queries (#43754) 2026-10-27 02:04:44 +00:00
Byron Wang 498b82234c Merge updated stack and preserve current controller and cleanup contracts 2026-10-27 00:05:39 +08:00
Byron Wang 4b3914dabb Merge updated refactor/api-76-10-12 into refactor/api-76-10-13 2026-10-26 23:30:21 +08:00
Byron Wang a352fdd229 Merge updated refactor/api-76-10-10 into refactor/api-76-10 2026-10-26 22:07:39 +08:00
Byron Wang 3a000854db Merge updated refactor/api-76-10-8 into refactor/api-76-10-9 2026-10-26 21:26:27 +08:00
Byron Wang 3493b1e622 Merge main into refactor/api-76-1 and migrate relocated Human Input tests 2026-10-26 18:59:08 +08:00
非法操作 51e643fff1 refactor(api): unify message feedback across app entrypoints (#43748) 2026-10-26 09:46:11 +00:00
非法操作 173d52d46a refactor(api): unify more-like-this generation across Web and Explore (#43715) 2026-10-26 09:09:42 +00:00
非法操作 a0c3901d39 refactor(api): unify message suggested questions across API surfaces (#43440) 2026-10-26 08:12:51 +00:00
2a6764edc5 feat: add reusable network access group APIs (#41025)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-10-20 05:52:18 +00:00
Byron Wang 9e32b25fca Merge updated parent into refactor/api-76-12 with Graphon 0.8 compatibility 2026-10-20 11:29:22 +08:00
Byron Wang e2c0515ef3 Merge updated refactor/api-76-10 parent with Graphon 0.8 compatibility 2026-10-20 11:06:06 +08:00
Byron Wang 8d0f92a917 Merge updated refactor/api-76-10-9 parent with Graphon 0.8 compatibility 2026-10-20 10:48:04 +08:00
Byron Wang a7d213dd8f Merge updated refactor/api-76-1 parent with Graphon 0.8 compatibility 2026-10-20 09:52:51 +08:00
-LAN-andautofix-ci[bot] 823f40e71f refactor(workflow): adopt Graphon 0.8 execution orchestration (#40277)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-19 13:03:56 +00:00
6f434baf93 ci: enable Ruff B904 (#44121)
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: hjlarry <hjlarry@163.com>
2026-10-19 12:47:53 +00:00
Byron Wang cfa12b987f Merge updated refactor/api-76-11 into refactor/api-76-12 2026-10-19 15:29:17 +08:00
Byron Wang 3aa73451a7 Merge updated refactor/api-76-10-10 into refactor/api-76-10
# Conflicts:
#	api/controllers/console/app/error.py
#	api/controllers/console/app/workflow.py
#	api/controllers/console/datasets/rag_pipeline/rag_pipeline_workflow.py
#	api/controllers/console/explore/trial.py
#	api/controllers/console/snippets/snippet_workflow.py
#	api/controllers/console/workspace/snippets.py
#	api/controllers/mcp/mcp.py
#	api/controllers/openapi/app_run.py
#	api/controllers/service_api/dataset/rag_pipeline/rag_pipeline_workflow.py
#	api/controllers/trigger/webhook.py
#	api/core/workflow/nodes/agent/message_transformer.py
#	api/events/event_handlers/sync_plugin_trigger_when_app_created.py
#	api/extensions/application_services/app.py
#	api/extensions/application_services/knowledge.py
#	api/extensions/ext_application_services.py
#	api/models/workflow.py
#	api/openapi/markdown/console-openapi.md
#	api/openapi/markdown/service-openapi.md
#	api/services/agent/home_snapshot_service.py
#	api/services/app/console_gateway.py
#	api/services/app_dsl_service.py
#	api/services/app_generate_service.py
#	api/services/installed_app_generation_adapters.py
#	api/services/knowledge/dataset_service.py
#	api/services/rag_pipeline/rag_pipeline.py
#	api/services/snippet_generate_service.py
#	api/services/workflow_service.py
#	api/tasks/app_generate/resume_agent_app_task.py
#	api/tests/test_containers_integration_tests/services/test_agent_service.py
#	api/tests/test_containers_integration_tests/services/test_workflow_draft_variable_service.py
#	api/tests/test_containers_integration_tests/services/test_workflow_service.py
#	api/tests/test_containers_integration_tests/services/tools/test_workflow_tools_manage_service.py
#	api/tests/test_containers_integration_tests/services/workflow/test_workflow_converter.py
#	api/tests/unit_tests/conftest.py
#	api/tests/unit_tests/controllers/conftest.py
#	api/tests/unit_tests/controllers/console/app/test_workflow.py
#	api/tests/unit_tests/controllers/console/app/test_workflow_human_input_debug_api.py
#	api/tests/unit_tests/controllers/console/app/test_wraps.py
#	api/tests/unit_tests/controllers/console/datasets/rag_pipeline/test_rag_pipeline_workflow_apis.py
#	api/tests/unit_tests/controllers/console/snippets/test_snippet_workflow.py
#	api/tests/unit_tests/controllers/openapi/test_app_run_streaming.py
#	api/tests/unit_tests/controllers/trigger/test_webhook.py
#	api/tests/unit_tests/core/app/apps/agent_chat/test_agent_chat_app_generator.py
#	api/tests/unit_tests/core/tools/test_tool_engine.py
#	api/tests/unit_tests/core/tools/utils/test_misc_utils_extra.py
#	api/tests/unit_tests/core/workflow/nodes/agent_v2/test_agent_node.py
#	api/tests/unit_tests/core/workflow/nodes/agent_v2/test_binding_resolver.py
#	api/tests/unit_tests/events/event_handlers/test_sync_plugin_trigger_when_app_created.py
#	api/tests/unit_tests/pyrefly.toml
#	api/tests/unit_tests/repositories/test_sqlalchemy_execution_extra_content_repository.py
#	api/tests/unit_tests/services/rag_pipeline/test_pipeline_generate_service.py
#	api/tests/unit_tests/services/test_agent_tool_inner_service.py
#	api/tests/unit_tests/services/test_app_dsl_service.py
#	api/tests/unit_tests/services/test_app_generate_service.py
#	api/tests/unit_tests/services/test_dataset_service_dataset.py
#	api/tests/unit_tests/services/test_installed_app_generation_adapters.py
#	api/tests/unit_tests/services/test_snippet_dsl_service.py
#	api/tests/unit_tests/services/test_snippet_generate_service.py
#	api/tests/unit_tests/services/test_workflow_service.py
#	api/tests/unit_tests/tasks/test_resume_agent_app_task.py
#	api/tests/unit_tests/tasks/test_workflow_execute_task.py
#	packages/contracts/generated/api/console/apps/orpc.gen.ts
#	packages/contracts/generated/api/console/rag/types.gen.ts
#	packages/contracts/generated/api/console/rag/zod.gen.ts
2026-10-19 14:54:37 +08:00
Byron Wang 7041b8e4b2 Merge updated refactor/api-76-10-8 into refactor/api-76-10-9
# Conflicts:
#	api/controllers/console/human_input_form.py
#	api/controllers/openapi/workflow_events.py
#	api/openapi/markdown/web-openapi.md
#	api/services/workflow_event_snapshot_service.py
#	api/tests/unit_tests/controllers/service_api/app/test_hitl_service_api.py
2026-10-19 14:14:24 +08:00
Byron Wang f508b51ab4 Merge main into refactor/api-76-1 and resolve contract conflicts 2026-10-19 11:25:22 +08:00
96202aa544 ci: enable Ruff F841 (#44115)
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-19 01:47:17 +00:00
672a627fa5 ci: enable Ruff E402 (#44123)
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-19 01:16:16 +00:00
7cafd65d54 refactor(web): migrate handwritten console API calls to the generated oRPC contract (#44169)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-16 03:47:31 +00:00
Byron Wang ca5de085bf Merge main into refactor/api-76-1 and resolve Human Input contracts 2026-10-15 16:59:10 +08:00
Asuka MinatoandCodex 76f911c64f ci: enable Ruff TID252 (#44108)
Co-authored-by: Codex <codex@openai.com>
2026-10-15 04:59:00 +00:00
33b1c57f9d feat: document API errors per code and narrow them with oRPC defined errors (#44001)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-14 08:25:50 +00:00