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
KVOJJJin
1427b0b098
feat: refine snippet layout ( #37517 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-16 09:47:38 +00:00
yyh
2893adf5e4
test(dify-ui): add Storybook interaction coverage ( #37519 )
2026-06-16 09:39:37 +00:00
-LAN-
eb2aaf2ac1
fix(docker): remove duplicate inline styles env ( #37510 )
2026-06-16 09:36:48 +00:00
Stephen Zhou
33ef76c5b8
chore: audit deps ( #37516 )
2026-06-16 09:10:17 +00:00
gigglewang
56a026505e
fix(cli/e2e): remove LLM nodes from fixture DSLs and fix test assertions ( #37463 )
...
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai>
2026-06-16 08:58:53 +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
Bond Zhu
f53d7d4287
ci: add deploy-agent workflow triggered on deploy/agent branch ( #37496 )
2026-06-16 07:35:48 +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
Jingyi
30506f7221
fix(workflow): clamp file list upload limit ( #37474 )
2026-06-16 05:50:16 +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
Jingyi
598ecc02c6
fix(workflow): refine tool picker copy ( #37477 )
2026-06-16 05:33:34 +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
Jingyi
7bed801b0d
fix(workflow): reset block selector tab on reopen ( #37469 )
2026-06-16 00:22:54 +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
yyh
6c3857a4c8
test(dify-ui): add strict Storybook a11y checks ( #37459 )
2026-06-15 11:55:33 +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
Xiyuan Chen
a18635e566
feat(cli): difyctl per-commit edge distribution via Cloudflare R2 ( #37454 )
2026-06-15 09:30:35 +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
yyh
0c5b3fd0f2
fix: keep segmented control focus ring inset ( #37448 )
2026-06-15 07:00:52 +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
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
wangxiaolei
a685eba549
fix: fix remove logo not work ( #37435 )
2026-06-15 03:32:10 +00:00
Stephen Zhou
cd3008e159
chore: update deps ( #37427 )
2026-06-15 02:44:28 +00:00
Yunlu Wen
d315ae3b80
fix: change store apis to async ( #37329 )
2026-06-15 02:24:51 +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
yyh
a875d76290
fix: remove pagination current transition ( #37404 )
2026-06-15 01:03:52 +00:00
yyh
df5be19fc2
docs: add drawer stories ( #37409 )
2026-06-15 01:03:42 +00:00
yyh
8eb6a19784
refactor: normalize search input and dify-ui focus states ( #37413 )
2026-06-15 01:03:31 +00:00