zyssyz123
e970cbde0f
feat: add agent roster observability APIs ( #37566 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-17 05:22:52 +00:00
Prajeeth Channa
f992ede836
test: replace logger patch with caplog in remaining test files ( #37562 )
2026-06-17 03:37:09 +00:00
yunlu.wen
547340ecca
allow enduser access for app list/desc
2026-06-17 11:23:10 +08:00
Ingram Z
6ab5cf109b
refactor: optimize free plan workflow run cleanup batching ( #37227 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-17 03:19:26 +00:00
autofix-ci[bot]
0ca14cd8ad
[autofix.ci] apply automated fixes
2026-06-17 03:18:50 +00:00
yunlu.wen
3c8d03d24f
handle enduser in decorator
2026-06-17 11:15:34 +08:00
autofix-ci[bot]
39bf04e7fe
[autofix.ci] apply automated fixes
2026-06-17 02:30:55 +00:00
yunlu.wen
c38cba1f8c
reorder decorators
2026-06-17 10:27:32 +08:00
Evan
8ca8b3d59a
refactor: replace mock.patch logger with pytest caplog in tests ( #37560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-17 02:22:39 +00:00
yunlu.wen
a811522d5f
Merge remote-tracking branch 'upstream/main' into feat/openapi-rbac
2026-06-17 09:53:32 +08:00
Prajeeth Channa
3f81ec1212
test: replace logger patch with caplog in version and rag pipeline tests ( #37554 )
2026-06-17 01:50:50 +00:00
zyssyz123
bacc48d16e
fix(agent): align config detail and output contracts ( #37535 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-17 01:17:20 +00:00
GareArc
f533e992d4
fix(hitl): scope OpenAPI/Service-API resume to author-configured webapp forms
...
Pause-time token emission now draws only from the recipient set each API
surface is allowed to act on (emit ⊆ validate), so the CLI/OpenAPI caller is
never handed a token the resume endpoint would reject as 404 (WTA-867).
A form's recipients are partitioned once, per surface, into a single
FormDisposition: the surface-actionable recipient yields `form_token`, while
the rest are reported as `approval_channels` (e.g. ["email", "console"]) so the
caller is told where approval actually happens. Token and channels are two
projections of one decision (disposition_for_surface) loaded by one recipient
query (load_form_dispositions_by_form_id); the live pause path and the
reconnect snapshot path consume the same FormDisposition so they cannot drift.
RecipientType carries its user-facing approval-channel label as an enum tuple
value, set in __new__, so a new recipient type cannot be declared without one.
Tests: consolidate recipient/disposition/enrich tests into parametrized
matrices, add CONSOLE-surface and empty-token coverage, extract a shared fake
session for the pause-event tests.
2026-06-16 16:11:29 -07:00
zyssyz123
7cb4a30040
fix(agent): persist Agent App prompt message ( #37534 )
2026-06-16 16:44:06 +00:00
frank
56dce93524
test: replace logger patch with caplog in test_telemetry_log ( #37533 )
2026-06-16 14:35:15 +00:00
zyssyz123
813a1677b2
fix: support Agent v2 plugin tool runtime params ( #37526 )
2026-06-16 11:03:55 +00:00
zyssyz123
dcc0b95e11
fix: issue ( #37508 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-16 08:53:53 +00:00
lmlm
f7c90d4873
test: use caplog for mail task logging ( #37493 )
2026-06-16 08:18:22 +00:00
落尘
28cc739a93
fix(jina): handle non-json auth errors ( #37502 )
2026-06-16 08:16:34 +00:00
落尘
4350617694
fix(watercrawl): handle non-json auth errors ( #37498 )
2026-06-16 08:16:30 +00:00
落尘
431d6bb983
fix(watercrawl): accept content type parameters ( #37500 )
2026-06-16 08:16:24 +00:00
落尘
fe64c5d4a8
fix(watercrawl): bound result download timeout ( #37495 )
2026-06-16 08:16:16 +00:00
zyssyz123
f9ed81c3f4
fix(api): Agent v2 chat ask_human — resume on timeout + skip input guards on resume ( #37492 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 08:11:28 +00:00
Manan Bansal
9ccbfbaf9d
fix(api): add bounded timeouts to Nacos remote settings HTTP requests ( #37444 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-06-16 07:42:51 +00:00
zyssyz123
b6b9165d2b
fix(agent): include app display fields in published references ( #37485 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-16 07:00:37 +00:00
zyssyz123
b4e3a9095b
fix(agent): support agent-id chat and inline draft bindings ( #37483 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-16 06:04:30 +00:00
Evan
6f31e9ef8d
fix: replace patch logger with caplog in test_remove_app_and_related_data_task ( #37468 ) ( #37480 )
2026-06-16 05:34:21 +00:00
Evan
167ca992a2
refactor: remove unnecessary # type: ignore for yaml imports ( #24494 ) ( #37481 )
2026-06-16 04:41:59 +00:00
Evan
a605e7f11e
refactor: replace isinstance chains with match-case ( #24487 ) ( #37482 )
2026-06-16 04:41:31 +00:00
Asuka Minato
1b2d397fc9
test: example of make db.session pass from parameter. #37403 ( #37471 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-16 04:07:01 +00:00
zyssyz123
8d05185e39
feat(api): Agent ask_human HITL (phase-1) — workflow node + Agent v2 chat — ENG-635 ( #37437 )
...
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-16 03:43:40 +00:00
citizen204
f06278951a
fix(api): add bounded timeouts to Marketplace POST requests ( #37424 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-16 03:04:48 +00:00
lmlm
d4a4e88346
test: use caplog for workspace permission logging ( #37473 )
2026-06-16 02:51:24 +00:00
Asuka Minato
2be8a5f633
chore: example use caplog in test ( #37470 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-16 01:10:09 +00:00
Asuka Minato
de2ec990d8
chore: example to color the session ( #37402 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-15 18:06:24 +00:00
zyssyz123
2b7f5ab982
fix: project agent node outputs into draft graph ( #37467 )
2026-06-15 13:27:57 +00:00
zyssyz123
1e8329f02c
feat: Unify Agent v2 console routes ( #37465 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-15 11:09:15 +00:00
Jingyi
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
Yunlu Wen
4b15b0e6a6
fix: preserve inline image for chatflow messages ( #37455 )
2026-06-15 07:37:24 +00:00
wangxiaolei
3eaa534e99
fix: fix human input form logo replace ( #37452 )
2026-06-15 07:27:25 +00:00
QuantumGhost
3fc9f525b7
fix(api): fix incorrect docker build context ( #37438 )
2026-06-15 06:29:58 +00:00
wangxiaolei
fd6c7a40f3
fix: fix store chinese as unicode, let search failed ( #37446 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-15 06:11:26 +00:00
yunlu.wen
d82b6fe48e
guard openapi with rbac decorator
2026-06-15 13:51:30 +08:00
yyh
a5499bb7dc
fix(agent-v2): sync node job prompt from draft graph ( #37441 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yansong Zhang <916125788@qq.com>
2026-06-15 05:50:25 +00:00
zyssyz123
d21bf291bb
fix: align agent app backing roster API ( #37442 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-15 05:21:38 +00:00
Yunlu Wen
12159d6313
feat: rbac scaffold ( #37443 )
2026-06-15 05:16:41 +00:00
cn7shi
e0773c4d8f
refactor: TagService to accept db.session explicitly ( #37416 )
2026-06-15 02:04:28 +00:00
Shahil kadia
c6b3e525d1
refactor: accept db.session explicitly in RecommendedAppService ( #37417 )
...
Co-authored-by: Shahil Kadia <shahil@users.noreply.github.com>
2026-06-15 01:19:16 +00:00
Manan Bansal
fbfbbda245
refactor(api): remove unnecessary type: ignore in summary_index_service ( #24494 ) ( #37423 )
2026-06-15 00:51:44 +00:00
y
06d9b01a8d
refactor: type remaining bare dict annotations ( #37422 )
2026-06-14 13:29:02 +00:00
jashwanth_reddy_gummula
0ca39c96db
refactor: replace if isinstance with match case ( #37412 )
2026-06-14 13:00:01 +00:00
zyssyz123
8cac86d5c5
feat(agent): Skills & Files effective chain — drive runtime exposure, inspector, lifecycle, infer-tools ( #37370 )
...
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-13 02:30:55 +00:00
Escape0707
a1769b0c17
test: migrate recommended app service tests ( #37398 )
2026-06-13 00:28:14 +00:00
Stephen Zhou
5d77c0af08
refactor: fix OpenAPI contract generation schemas ( #37387 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 14:25:53 +00:00
chariri
7cf75c3cc5
chore(api): Fix several typing errors ( #37248 )
2026-06-12 14:02:09 +00:00
Stephen Zhou
e0c6ca9930
fix: GET query parameter OpenAPI contracts ( #37378 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 09:01:22 +00:00
yyh
5e8c182970
fix(agent-v2): filter workflow invite options ( #37368 )
...
Co-authored-by: Yansong Zhang <916125788@qq.com>
2026-06-12 08:20:29 +00:00
Asuka Minato
6c0cce4b7f
chore: update to openapi v3 by change dep ( #37316 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 07:52:19 +00:00
Charles Yao
0e14d07adb
feat(api): forward user_type for MCP identity forwarding (webapp end-users) ( #37347 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 07:30:15 +00:00
L1nSn0w
07eb4903b8
feat: 429 rate-limit handling on the unified ErrorBody contract (openapi + difyctl) ( #37313 )
...
Co-authored-by: Xiyuan Chen <52963600+GareArc@users.noreply.github.com>
2026-06-12 06:35:15 +00:00
jashwanth_reddy_gummula
3575a3d1b3
chore(api): clean redundant type ignores ( Fixes #24494 ) ( #37358 )
...
Co-authored-by: JASHWANTH REDDY GUMMULA <jashwanth@JASHWANTHs-MacBook-Air.local>
2026-06-12 03:56:56 +00:00
zyssyz123
e32a732812
refactor: agent draft ( #37356 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 03:46:21 +00:00
林玮 (Jade Lin)
62ee1fff62
fix: handle GraphRunAbortedEvent in TriggerPostLayer ( #37350 )
2026-06-12 03:08:02 +00:00
盐粒 Yanli
92df792e4a
refactor(agent): replace workspace inspector with sandbox API ( #37349 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 02:46:31 +00:00
Crazywoola
09bb87d089
feat: harden /create and /refine workflow generation for edge cases ( #37336 )
...
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 02:41:17 +00:00
zyssyz123
6cfd96ccd6
feat: agent slash menu backend ( #37331 )
...
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 02:06:35 +00:00
Charles Yao
aff8f82bc0
fix(web): correct MCP forward-identity header copy; guard toggle hydration ( #37176 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 01:45:51 +00:00
chariri
b61d39ae2b
chore(api): Fix several typing errors ( #37237 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 01:36:48 +00:00
Evan
99351d2f98
refactor: convert remaining isinstance chains to match/case (part 9) ( #35902 ) ( #37340 )
2026-06-11 16:14:30 +00:00
Xiyuan Chen
ba59d9a4ac
feat: unified ErrorBody contract for /openapi/v1 and difyctl ( #37285 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-11 10:26:27 +00:00
Yunlu Wen
2bf66813ae
chore: add integration tests for openapi group ( #37314 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-11 08:26:02 +00:00
Siew's Capital Jarvis
c2f7841266
test: remove dead helper causing invalid tool provider constructor args ( #33124 )
...
Co-authored-by: Brayden Siew <brayden_siew@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2026-06-11 08:21:18 +00:00
QuantumGhost
b4c50eb920
chore(api): Upgrade graphon to v0.5.1 ( #37168 )
...
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai>
Co-authored-by: L1nSn0w <l1nsn0w@qq.com>
2026-06-11 07:37:27 +00:00
zyssyz123
fb39df49c8
feat(agent): support cli tool scoped env ( #37324 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-11 07:14:39 +00:00
呆萌闷油瓶
c4a8d79be9
perf(api): reduce workflow startup latency for chatflow ( #36773 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-11 07:05:35 +00:00
盐粒 Yanli
d3977cea77
fix(api): handle agent deferred tool events ( #37319 )
2026-06-11 05:18:43 +00:00
Yunlu Wen
84490179b0
feat: trace document retrieval ( #37283 )
2026-06-11 02:39:59 +00:00
chariri
2a46a7d91d
refactor(api): migrate remaining console APIs to use injected user/tenant ( #37288 )
2026-06-11 01:30:31 +00:00
zyssyz123
2c5c8e82c3
feat: agent slash menu backend ( #37268 )
...
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-10 10:40:03 +00:00
非法操作
6658a7c5e7
fix: block frozen deleted accounts during invite activation ( #37281 )
2026-06-10 10:21:05 +00:00
Yunlu Wen
0a051b598f
feat: support import / export dsl in CLI ( #37232 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: cheatofrom <85830867+cheatofrom@users.noreply.github.com>
Co-authored-by: Escape0707 <tothesong@gmail.com>
Co-authored-by: Rohit Gahlawat <personal.rg56@gmail.com>
Co-authored-by: L1nSn0w <l1nsn0w@qq.com>
Co-authored-by: 盐粒 Yanli <yanli@dify.ai>
2026-06-10 09:51:40 +00:00
非法操作
e3cfc4d40f
fix(api): require all selected tags in list filters ( #37272 )
2026-06-10 08:20:13 +00:00
呆萌闷油瓶
9ac71329a4
fix(plugin): align plugin list endpoint counts with live endpoint state ( #37179 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-10 08:11:11 +00:00
Novice
4fb3210f9a
fix: validate conversation variable description length to prevent varchar(255) truncation error ( #33038 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 非法操作 <hjlarry@163.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2026-06-10 07:28:12 +00:00
chariri
d849d60822
refactor(api): migrate tenant/user via DI for several endpoints ( #37240 )
2026-06-10 04:11:53 +00:00
盐粒 Yanli
ba9975a083
feat(dify-agent): sync shell and back proxy updates ( #37159 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-10 03:04:32 +00:00
L1nSn0w
629e046303
refactor(openapi): unify request validation behind @accepts/@returns decorators ( #37216 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-10 03:02:24 +00:00
Escape0707
212b819f1c
test: migrate credit pool service tests to Testcontainers ( #37252 )
2026-06-10 01:55:50 +00:00
cheatofrom
3fb1d3055e
fix: agent mode missing file cards for BINARY_LINK and FILE type tool outputs ( #36746 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-10 01:41:37 +00:00
Asuka Minato
28cc3fc10d
chore: [Refactor/Chore] if isinstance to match case #35902 ( #37087 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-09 09:54:04 +00:00
chariri
c88a38b8b5
chore(api): Suppress unknown contract checks by default ( #36969 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-09 08:32:34 +00:00
Xiyuan Chen
1502a57381
feat(api,cli): strict UUID validation for app-id and workspace-id ( #37212 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-09 07:35:18 +00:00
dependabot[bot]
686e643632
chore(deps): bump starlette from 1.0.0 to 1.0.1 in /api ( #37076 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-09 14:44:41 +08:00
dependabot[bot]
11db079428
chore(deps): bump the storage group across 1 directory with 5 updates ( #37153 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-09 14:43:22 +08:00
Yunlu Wen
eb3b12fa70
fix(dataset): include segment created_at in hit testing response ( #37181 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-09 05:15:36 +00:00
非法操作
5bec8eb33a
chore: filter unavailable apps from the installed apps list API ( #37206 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-09 05:12:29 +00:00
Asuka Minato
d11e4eeaf7
chore: DI current_user && use inspect ( #37084 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-09 05:06:28 +00:00
yyh
bbdf3d7634
fix(agent-v2): complete console API contract schemas ( #37210 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-09 04:40:32 +00:00
zyssyz123
a80bba2c35
feat(agent): Agent Files / agent Cloud storage — api backend (ENG-589) ( #37172 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-09 04:01:05 +00:00
Eric Cao
a8977be999
chore(api): convert AppContext from ABC to Protocol ( #37203 )
2026-06-09 03:16:39 +00:00