Byron Wang
18908ec0f5
Sync refactor/api-76-10-10 and reconcile upstream changes
2026-11-19 17:02:44 +08:00
Byron Wang
ebf634c469
Sync refactor/api-76-10-6 and reconcile upstream changes
2026-11-19 16:34:13 +08:00
林玮 (Jade Lin)
733454eae3
feat(api): enforce moderation for Cloud AI-credit model calls ( #45987 )
2026-11-18 02:48:29 +00: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
bda5aaf1a7
Merge refactor/api-76-10-6 into refactor/api-76-10-7
...
Preserve typed hit-testing response coverage, injected retrieval and migrated HTTP errors.
2026-11-05 23:26:01 +08:00
-LAN-
43d8c3715a
refactor(tracing): one trace pipeline behind a minimal provider interface ( #44673 )
2026-11-02 12:16:49 +08:00
64a99c5556
chore: bump restx. now deco has type ( #37391 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com >
2026-11-02 03:24:33 +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
d60036af2e
Merge updated refactor/api-76-10-6 into refactor/api-76-10-7
...
# Conflicts:
# api/tests/unit_tests/services/test_hit_testing_service.py
# packages/contracts/generated/api/console/apps/errors.gen.ts
# packages/contracts/generated/api/console/errors.gen.ts
2026-10-31 21:38:29 +08:00
Peter Pan and WH-2099
5907db83b0
fix(oauth): serialize and persist provider credential refreshes ( #32195 )
...
Co-authored-by: WH-2099 <wh2099@pm.me >
2026-10-31 12:04:00 +00:00
zyssyz123
efe37c59ae
fix(agent): omit prompt history from LLM gateway streams ( #45137 )
2026-10-30 07:52:45 +00:00
Jyong
c0fa7b26c4
fix(knowledge-fs): serialize TiDB vector initialization ( #44845 )
2026-10-27 06:07:19 +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
0df9986d77
Merge updated refactor/api-76-10-6 into refactor/api-76-10-7
2026-10-26 21:08:45 +08:00
ee98bdd5b5
refactor(models): migrate app and conversation models to TypeBase ( #40814 )
...
Co-authored-by: Codex <codex@openai.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-23 07:26:26 +00: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
盐粒 Yanli
9dc53da3eb
feat(agent): edit config prompts through the sandbox CLI ( #44561 )
2026-10-23 02:51:24 +00:00
林玮 (Jade Lin)
01b54496b2
fix(api): enforce cloud app quotas on DSL imports ( #44525 )
2026-10-22 05:31:15 +00:00
zyssyz123 and yyh
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
Byron Wang
dcf5c88e7d
Merge updated refactor/api-76-10-7 parent with Graphon 0.8 compatibility
2026-10-20 10:39:31 +08:00
-LAN- and autofix-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
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
6cf1f1fdfb
Merge updated refactor/api-76-10-6 into refactor/api-76-10-7
...
# Conflicts:
# api/extensions/application_services/knowledge.py
# api/tests/unit_tests/core/callback_handler/test_index_tool_callback_handler.py
2026-10-19 14:12:53 +08: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
734a9ea74d
feat(api): add inner API for enterprise admin app list and detail ( #44044 )
...
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-16 08:26:42 +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
Yunlu Wen and Devin
d23a8b2941
chore: generate inner api spec ( #44047 )
...
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-14 10:18:00 +00:00
wangxiaolei and yunlu.wen
7a02240701
feat: support clean workspace related resource ( #43803 )
...
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai >
2026-10-14 04:44:38 +00:00
Byron.wang and Stream
b71c5f8671
refactor(api): consolidate app queries and clarify session ownership ( #43288 )
...
Co-authored-by: Stream <Stream_2@qq.com >
2026-10-12 07:29:44 +00:00
50f66b43c8
chore(api): bump minimum supported Python to 3.13 ( #43022 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-10-09 10:47:03 +00:00
Byron Wang
3e864eca04
refactor(api): switch application services and execution entry points
2026-10-08 18:35:47 +08:00
Byron Wang
8fafc8d129
refactor(api): inject retrieval dependencies into APIs and annotation tasks
2026-10-08 18:34:56 +08:00
Byron.wang and autofix-ci[bot]
95373bc4fd
refactor(api): consolidate account modules and shared errors ( #42570 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-30 07:26:44 +00:00
Byron.wang and autofix-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.wang
ce2eaab9f7
refactor(api): move app-scoped end users behind application services ( #41398 )
2026-09-22 11:20:45 +00:00
zyssyz123
af4f19840c
feat(agent): record E2B sandbox runtime usage ( #42554 )
2026-09-21 07:11:12 +00:00
Eddy ZHANG
56a31bab8d
refactor(inner_api): dep-inject workspace payloads with @model_validate ( #41540 )
2026-09-07 05:13:09 +00:00
550196e3b8
feat: app deployment v2 ( #41444 )
...
Co-authored-by: zhangx1n <zhangxin@dify.ai >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-04 02:01:35 +00:00
Eddy ZHANG
4d9bda7422
refactor(inner_api): dep-inject request payloads with @model_validate ( #41575 )
2026-09-02 03:40:46 +00:00
Byron.wang and autofix-ci[bot]
c4ea406586
refactor(api): decouple system features and web adapters ( #40772 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-01 11:50:52 +00:00
wangxiaolei
d84088ef74
feat: new user add automatic add to app / dataset whitelist ( #41363 )
2026-08-27 08:51:05 +00:00
+21
0024a845f7
feat: support agent skill ( #39675 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: 起岚 <155608604+xiaoyaoqilan@users.noreply.github.com >
Co-authored-by: Parman Mohammadalizadeh <prmma23@gmail.com >
Co-authored-by: Escape0707 <tothesong@gmail.com >
Co-authored-by: Xin Zhang <zhangxin@dify.ai >
Co-authored-by: iridescentWen <66297467+iridescentWen@users.noreply.github.com >
Co-authored-by: Bond Zhu <37842169+MRZHUH@users.noreply.github.com >
Co-authored-by: KVOJJJin <jzongcode@gmail.com >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: 非法操作 <hjlarry@163.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: Chester <superdiao6@gmail.com >
Co-authored-by: WH-2099 <wh2099@pm.me >
Co-authored-by: Jony <619963502@qq.com >
Co-authored-by: Jony <13896935+zyz619963502zyz@users.noreply.github.com >
Co-authored-by: Harsh Kashyap <harsh.kashyap2001@gmail.com >
Co-authored-by: Harsh Kashyap <Harsh23Kashyap@users.noreply.github.com >
Co-authored-by: kenwoodjw <blackxin55+@gmail.com >
Co-authored-by: csurong <csurong1@gmail.com >
Co-authored-by: caosurong <surong.cao@thinkingdata.cn >
Co-authored-by: Taranum Wasu <81034301+Taranum01@users.noreply.github.com >
Co-authored-by: Taranum01 <50813317+Taranum01@users.noreply.github.com >
Co-authored-by: Pranav Agarwal <agarwalpranav0711@gmail.com >
Co-authored-by: Stephen Zhou <hi@hyoban.cc >
Co-authored-by: zl86790 <marshal_li_b@163.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2026-08-24 05:29:14 +00:00
盐粒 Yanli and autofix-ci[bot]
8874f3c80b
refactor(agent): remove Agent Drive ( #40887 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-19 06:34:36 +00:00
盐粒 Yanli
2aaac4dadb
feat(dify-agent): enforce signed upload size limits ( #40883 )
2026-08-17 11:59:42 +00:00
Harsh Kashyap and Harsh Kashyap
8238684334
fix(api): chain original exception in 13 except blocks per PEP 3134 ( #40738 )
...
Co-authored-by: Harsh Kashyap <Harsh23Kashyap@users.noreply.github.com >
2026-08-13 17:50:05 +00:00
zyssyz123 and yyh
c9c7fb9962
fix(agent): meter internal LLM calls through API ( #40613 )
...
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2026-08-13 12:15:44 +00:00
7aba539e82
feat: app deployment v2 ( #39829 )
...
Co-authored-by: zhangx1n <zhangxin@dify.ai >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-12 01:55:36 +00:00
盐粒 Yanli and autofix-ci[bot]
916d7e1c96
refactor(dify-agent): download Binding files through Agent Stub ( #40143 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-07 14:56:52 +00:00
盐粒 Yanli
adb89a8926
refactor(dify-agent): make config pulls direct and remove gRPC ( #40044 )
2026-08-07 06:54:07 +00:00
盐粒 Yanli and autofix-ci[bot]
b462cb041d
feat(agent): separate CLI file URL audiences ( #39952 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-04 13:14:02 +00:00