Commit Graph
510 Commits
Author SHA1 Message Date
Byron Wang dadc4d87a3 Merge refreshed workflow and agent runtime contracts into the generation adapter refactor 2026-11-28 15:52:08 -08:00
Byron Wang 4a2d10bed5 Merge the refreshed orchestration base into the workflow execution refactor 2026-11-28 15:47:49 -08:00
Byron Wang 27bd2d99c1 Merge updated refactor stack into refactor/api-76-10-9 2026-11-28 15:45:49 -08:00
Byron Wang 63812d96fd Merge updated refactor stack into refactor/api-76-10-3 2026-11-28 15:15:54 -08:00
Byron Wang 1b889d355a Merge main into the shared execution contracts and align enum types 2026-11-28 14:37:05 -08:00
yyh 5b5344e5b5 refactor(api): read workspace plans through one entry (#46823) 2026-11-20 06:27:41 +00: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 c9aa6f4cd5 Sync refactor/api-76-10-2 and reconcile upstream changes 2026-11-19 16:18:23 +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
Zixuan ChengandClaude Fable 5.2 81fd704129 fix(api): release the request session before Service API handlers run (#46244)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 07:05:29 +00: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
cf069c1018 feat(api): make knowledge base description limit configurable (#45075)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Byron Wang <byron@dify.ai>
2026-11-17 02:57:44 +00:00
Stephen Zhou 13ff05db59 fix(api): harden file previews and signed URL renewal (#46505) 2026-11-16 09:35:10 +00:00
JyongandClaude Fable 5.2 3cefb1a0ef fix(api): return 400 for invalid knowledge pipeline run input and cap document names (#46029)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 13:59:21 +00: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 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 266d845bf4 Merge refactor/api-76-10-8 into refactor/api-76-10-9 2026-11-05 23:32:44 +08:00
Stream e607a8a48f Merge refactor/api-76-10-2 into refactor/api-76-10-3
Preserve draft variable and permission regressions, and narrow Flask-RESTX handler registration under strict typing.
2026-11-05 23:00:37 +08:00
Stream 8e52278d3a Merge main into refactor/api-76-1 2026-11-05 21:51:34 +08:00
Tianyu Cai ce7ccc3754 fix(api): use the dataset doc_form when document requests omit it (#45581) 2026-11-05 06:55:00 +00:00
Evan 0fe1b06d1e fix: reject malformed pagination params with 400 instead of silent fallback (#36855) 2026-11-04 07:52:27 +00:00
Stream 6ac4a55906 Merge remote-tracking branch 'origin/main' into refactor/api-76-1 2026-11-03 18:36:01 +08:00
Eddy ZHANG 074e9e0b92 refactor(api): annotate KnowledgeFS Service API return types (#45295) 2026-11-03 06:05:40 +00:00
Guishi Wang b5722ed557 fix(api): enforce dataset service API token scope (#44840) 2026-11-02 21:30:01 +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 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 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 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
yyhandhjlarry d945bea129 refactor(api): read billing subscription and usage through the generated client (#45131)
Co-authored-by: hjlarry <hjlarry@163.com>
2026-10-30 09:40:06 +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
非法操作 ac0bdd24db refactor(api): share conversation variable queries and updates (#43997) 2026-10-29 02:00:06 +00:00
FFXNandautofix-ci[bot] 4bd3120690 feat(api): expose logical document deletion through Service API (#44970)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-28 15:27:56 +00:00
FFXN e40200dcd2 fix(api): restore Service API file document writes (#44972) 2026-10-28 15:07:17 +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
非法操作andautofix-ci[bot] 092526a504 refactor(api): migrate Service API annotation management (#43809)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-27 06:20:08 +00: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 8cd78a20b7 Sync validated refactor/api-76-10-2 fixes 2026-10-27 12:04:29 +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 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