Commit Graph

1856 Commits

Author SHA1 Message Date
yyh
5c10f00a29 Merge branch 'main' into feat/agent-v2 2026-07-08 18:15:49 +08:00
d3d946be45 refactor(agent-v2): collapse terminal output deltas into agent messag… (#38561) 2026-07-08 18:11:35 +08:00
yyh
f200f0f1eb Merge branch 'main' into feat/agent-v2 2026-07-08 18:03:09 +08:00
9465dc2477 refactor(api): remove remaining legacy field remnants (#37967) 2026-07-08 09:59:10 +00:00
74f177efe6 refactor(api): migrate workspace tool endpoints to BaseModel (#37959) 2026-07-08 09:56:04 +00:00
3471f06f2f fix(agent): stabilize tool call thought correlation (#38556) 2026-07-08 17:18:21 +08:00
f14f237fd4 Merge branch 'linw/dify-2767-chat-message-missing-agent-messages' into feat/agent-v2 2026-07-08 17:10:27 +08:00
96538a75b2 refactor(agent-v2): separate terminal output deltas from agent message deltas 2026-07-08 17:08:23 +08:00
2b6dbeb6f8 fix: strip knowledge weight type from agent runtime 2026-07-08 16:50:34 +08:00
8f71b4c136 refactor(agent-v2): decouple agent message deltas from raw stream events
And save agent message into database
2026-07-08 16:37:13 +08:00
1461663ae9 Clarify build mode prompt guidance 2026-07-08 16:30:32 +08:00
5a167e59d1 fix: address agent v2 backend CI failures 2026-07-08 16:27:41 +08:00
a278d21741 test: more caplog (#38452)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-08 08:24:31 +00:00
5d61318860 feat(api): use billing quota for credit pool (#38028)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-08 07:10:18 +00:00
c453eea40b fix: resolve agent v2 CI failures 2026-07-08 15:06:57 +08:00
98f67e9c82 fix(ci): make no-new-getattr guard stable in shallow PR checkouts (#38480)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-08 06:22:59 +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
yyh
e38099cc6d Merge remote-tracking branch 'origin/main' into feat/agent-v2 2026-07-08 10:50:05 +08:00
yyh
ce566724aa Merge remote-tracking branch 'origin/main' into feat/agent-v2 2026-07-08 10:24:08 +08:00
915655683c refactor(openapi): resource-oriented paths for /openapi/v1 + difyctl version gate (#38367)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-08 02:22:59 +00:00
c58d854a09 Clarify build mode system prompts 2026-07-08 01:05:48 +08:00
2e4b11b9db feat(agent): include download url in file upload output 2026-07-07 23:41:40 +08:00
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
09c5c5e5ed refactor(test): replace SimpleNamespace with typed mocks in schedule service tests (#38393) 2026-07-07 14:36:17 +00:00
64aa142681 chore(api): cache the setup status to cut down DB access (#36966)
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: Byron.wang <byron@dify.ai>
2026-07-07 14:30:28 +00:00
8e524d1a19 [autofix.ci] apply automated fixes 2026-07-07 14:17:28 +00:00
48bad761a7 feat: add agent runtime lifecycle cleanup 2026-07-07 22:10:03 +08:00
5840fbf401 Remove mapping option from file download CLI 2026-07-07 21:44:57 +08:00
6edce14e88 fix: can't debug model plugins (#38500) 2026-07-07 13:03:32 +00:00
4aeb4c105c Normalize agent prompt file locators 2026-07-07 20:52:06 +08:00
6c3ec35ba1 Label agent app prompt files 2026-07-07 19:42:25 +08:00
7786db2023 [autofix.ci] apply automated fixes 2026-07-07 10:49:13 +00:00
86de2fbbb4 fix: resolve 36288 mypy errors (#37850)
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-07-07 17:50:45 +08:00
bd8ec533de chore: add sqlite3 to conftest (#38475) 2026-07-07 17:50:45 +08:00
51b9c31f9b fix: delete agent finalization sessions on exit 2026-07-07 17:28:57 +08:00
d52aa2113a Wrap agent build draft system prompt 2026-07-07 16:43:55 +08:00
fe88e94e6d fix: close thinking segments on tool events to avoid cross-tool replay (#38506) 2026-07-07 15:53:58 +08:00
dd0c4a2296 fix: resolve 36288 mypy errors (#37850)
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-07-07 06:37:20 +00:00
f3ba28463b chore: add sqlite3 to conftest (#38475) 2026-07-07 05:04:44 +00:00
800c9f4fca test(e2e): stabilize Agent v2 external runtime checks (#38493)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-07 04:48:12 +00:00
5a342f9258 feat(mcp): support MCP protocol 2025-06-18 for workflow-as-MCP server (version negotiation + structured output) (#37892)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai>
2026-07-07 03:26:50 +00:00
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
fc01d112a0 refactor(api): Stop masking refresh-token service errors as 401 (#38463)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-06 18:14:54 +00:00
yyh
d0ea5a5e0d chore(agent-v2): sync changes (#38442)
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: zyssyz123 <916125788@qq.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 林玮 (Jade Lin) <linw1995@icloud.com>
Co-authored-by: 盐粒 Yanli <mail@yanli.one>
2026-07-06 13:51:33 +00:00
64d72c6fb9 feat(api): pass app_id to model plugins for provider-side cost attribution (#35859)
Co-authored-by: WH-2099 <wh2099@pm.me>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-06 08:54:16 +00:00
78ca1a8a76 fix(api): resolve plugin external user ids in backwards invocation (#38098)
Co-authored-by: Harsh Kashyap <Harsh23Kashyap@users.noreply.github.com>
Co-authored-by: Harsh Kashyap <harshkashyap@Harshs-MacBook-Pro.local>
2026-07-06 08:25:26 +00:00
5aae5c15b3 refactor(api): migrate web auth endpoints to BaseModel (#37961)
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-07-06 07:53:21 +00:00
b1724073fc test: example use sqlite3 as unittest backend (#38159) 2026-07-06 07:31:51 +00:00
904fadde20 refactor(api): remove member field compatibility (#37966)
Co-authored-by: WH-2099 <wh2099@pm.me>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-07-06 07:00:43 +00:00
77ae583b44 refactor(api): migrate dataset rag pipeline endpoints to BaseModel (#37958)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-07-06 07:00:04 +00:00