Commit Graph
128 Commits
Author SHA1 Message Date
Byron Wang 1aba350c9d Sync refactor/api-76-10-12 and reconcile upstream changes 2026-11-19 17:17:48 +08:00
Byron Wang b638bbb584 Sync refactor/api-76-10 and reconcile upstream changes 2026-11-19 17:08:55 +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 828ccfde82 Sync refactor/api-76-10-9 and reconcile upstream changes 2026-11-19 16:40:11 +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 3966b8c6c3 Merge updated workflow application base into the tools stack 2026-11-19 15:59:59 +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 b6585b1859 feat: unify workspace invitations and show invited people in members (#46679) 2026-11-19 07:02:31 +00:00
Yunlu WenandDevin f183e0364b fix(api): let resource-scoped PATs discover their workspaces (#46610)
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-18 07:11:03 +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
Byron Wang 50bc6407a6 Merge refactor/api-76-10-12 into refactor/api-76-10-13
# Conflicts:
#	api/core/app/apps/base_app_generator.py
2026-11-11 13:29:03 +08:00
Byron Wang 048f7c8284 Merge refactor/api-76-10 into refactor/api-76-10-12
# Conflicts:
#	api/core/app/apps/advanced_chat/app_generator.py
#	api/core/app/apps/workflow/app_generator.py
#	api/tests/unit_tests/core/app/apps/advanced_chat/test_app_generator.py
2026-11-11 13:28:45 +08:00
Byron Wang e00e2e718c Merge refactor/api-76-10-10 into refactor/api-76-10
# Conflicts:
#	api/controllers/console/app/workflow.py
#	api/controllers/openapi/app_run.py
#	api/events/event_handlers/sync_plugin_trigger_when_app_created.py
#	api/events/event_handlers/sync_webhook_when_app_created.py
#	api/events/event_handlers/sync_workflow_schedule_when_app_published.py
#	api/extensions/ext_application_services.py
#	api/services/app/generation/input_adapter.py
#	api/services/trigger/schedule_service.py
#	api/tasks/app_generate/workflow_execute_task.py
#	api/tasks/async_workflow_tasks.py
#	api/tests/e2e_tests/containers/services/test_schedule_service.py
#	api/tests/e2e_tests/containers/trigger/test_trigger_e2e.py
#	api/tests/unit_tests/controllers/console/datasets/rag_pipeline/test_rag_pipeline_workflow.py
#	api/tests/unit_tests/libs/test_schedule_utils.py
#	api/tests/unit_tests/services/test_workflow_run_agg.py
#	api/tests/unit_tests/services/trigger/test_schedule_service.py
2026-11-11 13:28:23 +08:00
Byron Wang e87a8c13ee Merge refactor/api-76-10-9 into refactor/api-76-10-10 2026-11-11 13:22:22 +08:00
Byron Wang 488949c661 Merge refactor/api-76-10-8 into refactor/api-76-10-9
# Conflicts:
#	api/controllers/openapi/workflow_events.py
2026-11-11 13:22:22 +08:00
Byron Wang 7c2b196e61 Merge refactor/api-76-4 into refactor/api-76-5 2026-11-11 13:13:41 +08:00
583615e412 feat: support personal access token (#45540)
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: Eldar Dadashov <52511672+eldardada@users.noreply.github.com>
Co-authored-by: Byron.wang <byron@dify.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai>
2026-11-11 03:00:24 +00:00
Byron Wang 65c75d6a84 Merge refactor/api-76-10-12 into refactor/api-76-10-13 2026-11-09 21:37:27 -08:00
Byron Wang b87a93fa32 Merge refactor/api-76-10 into refactor/api-76-10-12 2026-11-09 21:36:35 -08:00
Byron Wang f5977136d5 Merge refactor/api-76-10-10 into refactor/api-76-10 2026-11-09 21:36:05 -08:00
Byron Wang 1ff76a2260 Merge refactor/api-76-10-9 into refactor/api-76-10-10 2026-11-09 21:28:52 -08:00
Byron Wang 8a74786029 fix(workflow): correct version paging and snippet snapshot reads 2026-11-06 15:30:55 +08:00
Byron Wang 4d47f7540c fix(api): preserve workflow reconnect invalid-param error code 2026-11-06 15:07:46 +08:00
Stream 979d90c7fe Merge refactor/api-76-10-12 into refactor/api-76-10-13
Retire legacy App and Agent runners while preserving tracing and the KnowledgeFS feature gate in the injected implementation.
2026-11-06 00:22:48 +08:00
Stream ec8b865ef3 Merge refactor/api-76-10 into refactor/api-76-10-12
Keep migrated workflow adapters and real repository regressions when retiring legacy execution modules. Exercise injected history without Flask context.
2026-11-06 00:18:46 +08:00
Stream 1e5164ca25 Merge refactor/api-76-10-10 into refactor/api-76-10
Preserve main tracing, stop ownership and stream completion while routing execution through injected services. Adapt regression coverage to the migrated boundaries.
2026-11-06 00:10:14 +08:00
Stream 647ca88e87 Merge refactor/api-76-10-9 into refactor/api-76-10-10
Preserve tool service injection, gate both registries with KnowledgeFS settings, and retain API credential mapping coverage.
2026-11-05 23:41:24 +08:00
Stream 266d845bf4 Merge refactor/api-76-10-8 into refactor/api-76-10-9 2026-11-05 23:32:44 +08:00
Stream 7445425c0e Merge branch 'refactor/api-76-4' into refactor/api-76-5
Resolve composition-root and test conflicts while preserving the tool-manager migration and lower-branch updates.

Validation: 170 targeted tests passed; Ruff and formatting passed. Scoped Pyrefly diagnostics match the unchanged lower branch.
2026-11-05 17:38:22 +08:00
Stream cf0b4c2b20 Merge origin/refactor/api-76-10-12 into refactor/api-76-10-13 2026-11-04 05:11:34 +08:00
Stream 5bac226b8f Merge branch 'refactor/api-76-10' into refactor/api-76-10-12 2026-11-04 04:51:54 +08:00
Stream 40cea1473e fix(ast): resolve initial batch of cast violations 2026-11-04 03:55:06 +08:00
-LAN-andautofix-ci[bot] 0257f20b48 fix(openapi): exclude directories from skill import file counts (#45393)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-03 05:48:00 +00:00
Xiyuan Chen 61d2c7402f fix(openapi): mark import.skill as destructive (#45314) 2026-11-02 09:44:17 +00: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 4ddc06cc8e Merge updated refactor/api-76-10 into refactor/api-76-10-12
# Conflicts:
#	api/.importlinter
#	api/core/app/apps/advanced_chat/app_generator.py
#	api/core/app/apps/pipeline/pipeline_generator.py
#	api/core/app/apps/workflow/app_generator.py
#	api/core/app/apps/workflow/app_runner.py
#	api/core/app/apps/workflow_app_runner.py
#	api/core/plugin/backwards_invocation/app.py
#	api/core/tools/workflow_as_tool/tool.py
#	api/core/workflow/node_factory.py
#	api/core/workflow/node_runtime.py
#	api/core/workflow/nodes/human_input/boundary.py
#	api/core/workflow/nodes/human_input/callback.py
#	api/core/workflow/workflow_tool_container_handler.py
#	api/tests/unit_tests/services/agent/test_workflow_publish_service.py
#	api/tests/unit_tests/services/test_workflow_run_agg.py
2026-10-31 22:19:08 +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 9bcf7ab270 Merge updated refactor/api-76-10-9 into refactor/api-76-10-10
# Conflicts:
#	api/extensions/ext_application_services.py
#	api/tests/unit_tests/core/tools/test_tool_manager.py
#	packages/contracts/generated/api/console/apps/errors.gen.ts
#	packages/contracts/generated/api/console/errors.gen.ts
2026-10-31 21:55:01 +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 a13bdb89d2 Merge updated refactor/api-76-4 into refactor/api-76-5
# Conflicts:
#	api/core/tools/tool_manager.py
#	api/extensions/application_services/tools.py
2026-10-31 21:12:46 +08:00
Xiyuan Chen b92228f6c2 feat(openapi): workspace skill list, export, import and publish ops (#44941) 2026-10-30 08:24:55 +00:00
2c3cbd5045 fix(api): reject conflicting multipart file shapes (#44903)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-10-30 04:48:45 +00:00
Xiyuan Chenandautofix-ci[bot] 42a2184f4c feat(api): add a generic archive writer and a per-route request body cap (#44757)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-30 00:30:06 +00:00
Xiyuan Chen c01cb5d119 fix(openapi): stop runs by run id and publish each op's effect (#44587) 2026-10-28 02:46:42 +00: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 b7f87e6f68 Merge updated refactor/api-76-10 into refactor/api-76-10-12 2026-10-26 22:39:03 +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 4c8bde0f3d Merge updated refactor/api-76-10-9 into refactor/api-76-10-10 2026-10-26 21:36:38 +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