Commit Graph
230 Commits
Author SHA1 Message Date
Byron Wang 18908ec0f5 Sync refactor/api-76-10-10 and reconcile upstream changes 2026-11-19 17:02:44 +08:00
Byron Wang 0b679b032e Sync refactor/api-76-10-7 and reconcile upstream changes 2026-11-19 16:36:18 +08:00
Byron Wang c9aa6f4cd5 Sync refactor/api-76-10-2 and reconcile upstream changes 2026-11-19 16:18:23 +08:00
Byron Wang 3e1fa6bf3f Merge updated tools base and reconcile draft variable session handling 2026-11-19 16:05:01 +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
yyh baabe8e131 fix(apps): allow unset model selections in list and detail responses (#46593) 2026-11-17 14:04:56 +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
68609e1b09 feat(evaluation): add Evaluation workspaces and execution (#46141)
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jyong <jyong@dify.ai>
2026-11-16 02:43:34 +00:00
Keith 4e1c01bd2b refactor(models): pass session into WorkflowDraftVariable value decoding (#43112) 2026-11-12 03:49:22 +00: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 566bac6f47 Merge updated refactor/api-76-10-7 into refactor/api-76-10-8
# Conflicts:
#	api/services/agent/composer_service.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:49:09 +08:00
Byron Wang c215bd6cc4 Merge updated refactor/api-76-10-2 into refactor/api-76-10-3
# Conflicts:
#	api/controllers/common/errors.py
#	api/controllers/console/__init__.py
#	api/extensions/ext_application_services.py
#	api/tests/unit_tests/controllers/common/test_errors.py
#	api/tests/unit_tests/controllers/console/app/test_app.py
#	packages/contracts/generated/api/console/apps/errors.gen.ts
#	packages/contracts/generated/api/console/errors.gen.ts
2026-10-31 21:27:22 +08:00
Byron Wang 44fd3f8abb Merge updated refactor/api-76-5 into refactor/api-76-6 2026-10-31 21:12:53 +08: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
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 543ba66e82 Merge updated refactor/api-76-10-7 into refactor/api-76-10-8 2026-10-26 21:18:45 +08:00
Byron Wang 8fcc522d0e Merge updated refactor/api-76-10-2 into refactor/api-76-10-3 2026-10-26 20:18:55 +08:00
Byron Wang 7866560596 Merge updated refactor/api-76-5 into refactor/api-76-6 2026-10-26 19:33:00 +08:00
fd2db63184 feat: KnowledgeFS and New Knowledge (#44165)
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: zhaohao1004 <zhaohao1004@gmail.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: FFXN <lizy@dify.ai>
2026-10-23 03:34:59 +00:00
zyssyz123andyyh 0a620ddd95 feat(tracing): export Agent app and Workflow Agent execution trees (#44144)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-10-22 02:11:12 +00:00
-LAN-andautofix-ci[bot] 809f5df3a3 feat(workflow): expose authorized nested tool traces (#42821)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-21 02:11:44 +00:00
Byron Wang 931c3e1e39 Merge updated parent into refactor/api-76-10-8 with Graphon 0.8 compatibility 2026-10-20 10:44:36 +08:00
Byron Wang 366b2abc5e Merge updated refactor/api-76-10-2 into refactor/api-76-10-3 2026-10-20 10:19:19 +08:00
Byron Wang 13e5883c9e Merge updated refactor/api-76-8 parent with Graphon 0.8 compatibility 2026-10-20 10:08:55 +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 0dae437f9d Merge updated refactor/api-76-10-7 into refactor/api-76-10-8 2026-10-19 14:12:55 +08:00
Byron Wang 5bbf2a66e5 Merge updated refactor/api-76-10-2 into refactor/api-76-10-3
# Conflicts:
#	api/controllers/common/errors.py
#	api/controllers/console/__init__.py
#	api/controllers/console/app/workflow_draft_variable.py
#	api/controllers/console/datasets/rag_pipeline/rag_pipeline_draft_variable.py
#	api/controllers/console/snippets/snippet_workflow_draft_variable.py
#	api/controllers/service_api/__init__.py
#	packages/contracts/generated/api/console/rag/zod.gen.ts
2026-10-19 12:44:37 +08:00
Byron Wang afb3068487 Merge updated refactor/api-76-5 into refactor/api-76-6
# Conflicts:
#	api/tests/unit_tests/extensions/test_celery_ssl.py
2026-10-19 12:24:34 +08: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 c2140a4d17 Merge updated stack base into refactor/api-76-10-3 2026-10-09 12:33:55 +08:00
Byron Wang 9aae99f9f3 Merge updated stack base into refactor/api-76-6 2026-10-09 11:57:05 +08:00
Byron Wang 06a59961ca Merge updated stack base and resolve conflicts in refactor/api-76-10 2026-10-08 19:31:19 +08:00
Byron Wang 4d05c63f04 Merge updated stack base into refactor/api-76-10-8 2026-10-08 19:17:49 +08:00
Byron Wang dbca91ba7d Merge updated stack base into refactor/api-76-10-3 2026-10-08 18:59:02 +08:00
Byron Wang cfd5af65c4 Merge updated stack base into refactor/api-76-6 2026-10-08 18:57:26 +08:00
Byron Wang 3e864eca04 refactor(api): switch application services and execution entry points 2026-10-08 18:35:47 +08:00
Byron Wang 3e4ed61709 refactor(api): add Workflow API gateways and credential readers 2026-10-08 18:34:58 +08:00
Byron Wang 301742c082 refactor(api): route draft variable APIs through application services 2026-10-08 18:32:44 +08:00
Byron Wang 7e22df6fb1 refactor(api): isolate workflow variable persistence and file access 2026-10-08 17:25:39 +08:00
tim-gregory-ptandClaude Sonnet 5 90b8dacd12 fix(messages): stop dropping doc_metadata and friends from GET /messages citations (#41861)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-08 02:34:33 +00:00
Byron.wangandJyong a67cd87eb0 refactor(api): establish dataset application boundaries (#41729)
Co-authored-by: Jyong <jyong@dify.ai>
2026-09-29 08:42:31 +00:00
005f019a80 feat: support New Agent templates and trials (#42837)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-09-28 09:21:50 +00:00
yyh ef33df5e22 refactor(api): tighten app detail response schema (#42876) 2026-09-24 08:53:49 +00:00
Byron.wangandautofix-ci[bot] 635143cb88 refactor(api): thin console app controllers and separate application boundaries (#42671)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-24 06:17:38 +00:00
Byron.wangandautofix-ci[bot] 8b7f903cff refactor(api): centralize API key management (#42489)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-23 08:38:48 +00:00
Byron.wang ce2eaab9f7 refactor(api): move app-scoped end users behind application services (#41398) 2026-09-22 11:20:45 +00:00
Keith 21d5e4e020 refactor(models): pass session into WorkflowRun accessors and drop dead ones (#42034) 2026-09-18 04:12:28 +00:00
Mesrop Harutyunyan cb4d8ab5ea perf(api): batch dataset list detail fields (#42279) 2026-09-15 02:33:42 +00:00
4724779fe2 refactor(api): migrate remaining RESTX models to Pydantic (#40399)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Byron Wang <byron@dify.ai>
2026-09-09 09:50:44 +00:00