Commit Graph
102 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 828ccfde82 Sync refactor/api-76-10-9 and reconcile upstream changes 2026-11-19 16:40:11 +08:00
林玮 (Jade Lin) 733454eae3 feat(api): enforce moderation for Cloud AI-credit model calls (#45987) 2026-11-18 02:48:29 +00:00
非法操作 d7e47538d8 fix: consume OAuth proxy contexts atomically (#46001) 2026-11-12 08:49:10 +00:00
非法操作andautofix-ci[bot] 163062847b refactor(api): relocate trigger plugin runtime (#45966)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-11 09:43:32 +00:00
Byron Wang a01c5adc92 Merge refactor/api-76-10-10 into refactor/api-76-10 2026-11-09 21:49:14 -08:00
Byron Wang 385d946d2a fix: validate upstream changes after stack synchronization 2026-11-09 21:48:41 -08:00
Byron Wang f5977136d5 Merge refactor/api-76-10-10 into refactor/api-76-10 2026-11-09 21:36:05 -08:00
非法操作 a83ce881a1 refactor(api): inject plugin dynamic option queries (#44576) 2026-11-06 08:08:45 +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 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
非法操作 107bbf85ca refactor(api): inject trigger subscription builder lifecycle (#44532) 2026-11-05 08:18:01 +00:00
Stream caa5dba6f1 fix(types): resolve pyrefly type check errors and warnings 2026-11-04 04:39:29 +08:00
Stream 40cea1473e fix(ast): resolve initial batch of cast violations 2026-11-04 03:55:06 +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 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
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
林玮 (Jade Lin) 4e5424ed43 fix(plugin): pin daemon dispatches to package identifiers (#44396) 2026-10-21 02:58:44 +00: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 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 fca3baa351 Merge updated refactor/api-76-10-9 into refactor/api-76-10-10
# Conflicts:
#	api/controllers/console/workspace/plugin.py
#	api/controllers/console/workspace/tool_providers.py
#	api/extensions/ext_application_services.py
#	api/tests/unit_tests/core/tools/test_tool_label_manager.py
2026-10-19 14:15:16 +08:00
Asuka MinatoandCodex 1f3fdbc0d3 ci: enable Ruff SIM105 (#44112)
Co-authored-by: Codex <codex@openai.com>
2026-10-15 11:14:20 +00:00
Byron Wang 5c33efbb9a fix(workflow): address review findings in #43680 2026-10-15 16:33:22 +08:00
Asuka MinatoandCodex f2033a4fc9 ci: enable Ruff B006 (#44099)
Co-authored-by: Codex <codex@openai.com>
2026-10-14 15:21:32 +00:00
Byron Wang eaed5ed719 fix: preserve explicit tool sessions and validate application service activation 2026-10-09 14:02:31 +08:00
Byron Wang 3e864eca04 refactor(api): switch application services and execution entry points 2026-10-08 18:35:47 +08:00
Byron Wang bd27f38bd1 refactor(api): wire tool provider management through application services 2026-10-08 18:35:00 +08:00
林玮 (Jade Lin) 11883543d1 fix(api): include node plugins in DSL dependencies (#42816) 2026-09-23 08:53:02 +00:00
yyh 6d358eb680 refactor(plugins): migrate endpoint queries to generated contracts (#42685) 2026-09-22 05:54:58 +00:00
WH-2099 c9e6db5ef2 fix(api): scope temporary capabilities to owners (#39863) 2026-08-07 09:21:13 +00:00
Byron.wangandWH-2099 ab3e4daa95 refactor: explicit DB session propagation across backend paths (#38559)
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-07-15 06:48:28 +00:00
68d8328b9c chore: clean Db session from service (#38227)
Co-authored-by: chariri <w@chariri.moe>
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-07-08 03:07:27 +00:00
NianandWH-2099 abd720146d test(services): cover DSL import and plugin migration regressions (#36072)
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-07-07 15:31:04 +00:00
WH-2099andautofix-ci[bot] 0a3426ea38 refactor(api): clarify DSL import and plugin migration boundaries (#38483)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-07 02:06:49 +00:00
chariri c3b1508712 refactor(api): migrate workspace account endpoints to BaseModel (#37954) 2026-07-06 06:57:40 +00:00
2e1ab194b7 refactor: replace db.paginate with plain SQLAlchemy pagination (#38280)
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-04 04:50:01 +00:00
+4 9b74df21d0 feat(web): refine onboarding UI (#37433)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: fatelei <fatelei@gmail.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Xiyuan Chen <52963600+GareArc@users.noreply.github.com>
Co-authored-by: gigglewang <gigglewang@dify.ai>
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai>
Co-authored-by: chariri <w@chariri.moe>
Co-authored-by: Evan <2869018789@qq.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-06-15 08:47:15 +00:00
chaririandautofix-ci[bot] 157ba6f5a0 chore(api): Fix several typing errors (#37119)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-06 01:44:32 +00:00
-LAN-andWH-2099 8d99326fb3 feat(plugin): cache plugin model providers by tenant (#36449)
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-05-23 09:12:09 +00:00
Xiyuan Chenandautofix-ci[bot] 2d5186fb28 fix(offline): guard marketplace I/O paths for ENG-421 (#36335)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-18 13:53:42 +00:00
zyssyz123 44a91e344c fix(plugin): persist tenant plugin auto-upgrade strategy changes (#35464) 2026-04-21 09:28:44 +00:00
wdeveloper16 2f682780fa refactor: replace bare dict with dict[str, Any] in rag_pipeline and datasource_provider services (#35107) 2026-04-14 03:02:41 +00:00
wdeveloper16 e8dd3461e8 refactor: replace bare dict with dict[str, Any] in plugin endpoint_service (#35065) 2026-04-13 13:00:27 +00:00
wdeveloper16andautofix-ci[bot] 0841b4c663 refactor(api): migrate tools, account, workflow and plugin services to SQLAlchemy 2.0 (#34966)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-12 01:45:27 +00:00
呆萌闷油瓶 cd3ee5bd5d fix: sqlalchemy.orm.exc.DetachedInstanceError (#34910) 2026-04-10 07:44:22 +00:00
wangxiaolei 41eeb1f2e7 fix: fix sqlalchemy.orm.exc.DetachedInstanceError (#34845) 2026-04-09 10:55:48 +00:00
aliworksx08andautofix-ci[bot] ee789db443 refactor: migrate session.query to select API in plugin services (#34817)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-09 05:49:59 +00:00
carlos4s 1d971d3240 refactor(api): use sessionmaker in plugin & trigger services (#34764) 2026-04-08 23:18:26 +00:00
Renzo 68bd29eda2 refactor: migrate session.query to select API in sync task and services (#34619) 2026-04-07 04:23:14 +00:00