GareArc
c3f56fcc9a
refactor(openapi/cli): drop tag/author from app usage-face noun
...
The app noun is the usage face; tags and author are build/management
metadata that belong to studio-app, not here. Remove them end to end:
- backend: drop tags/created_by_name from AppListRow, tag from
AppListQuery, the TagItem model, and the tag-name filter lookup;
stop hardcoding the cross-tenant blanks in the permitted-external list
- cli: remove the --tag flag, TAGS/AUTHOR columns, and tag from the
list query; single get app <id> no longer fabricates the fields
- regenerate openapi contracts (types/zod) and markdown docs
get app and get app <id> now agree (neither surfaces tags/author),
resolving the list-vs-single divergence raised in review.
2026-06-21 21:25:13 -07:00
yunlu.wen
00995545e7
fix import
2026-06-22 11:28:58 +08:00
yunlu.wen
475dafb8b7
fix missing decorator
2026-06-22 11:19:20 +08:00
yunlu.wen
a0bdb16cb9
Merge branch 'feat/openapi-rbac' into deploy/enterprise
2026-06-22 11:01:12 +08:00
GareArc
4111751bdf
refactor(openapi/cli): split app usage-face from studio-app build-face
...
Squash of PR #37641 (worktree-fix+app-abstraction-noun).
Introduces two app nouns:
- app: usage face (run/get/describe/resume), dual-subject account + external-SSO
- studio-app: build face (export/import), account-only
Backend: split read routes by subject with token-type-restricted guards;
shared public projection builder (build_app_describe_response); drop
author/tags from describe to prevent cross-tenant identity leak.
CLI: selectAppReader subject dispatch (account vs permitted-external),
AppReader strategy, studio-app export/import, refreshed help/guides.
2026-06-21 19:48:22 -07:00
GareArc
c62276d7de
Merge remote-tracking branch 'origin/main' into deploy/enterprise
2026-06-21 19:47:32 -07:00
非法操作
8cc690268b
fix: invalidate credential cache after OAuth refresh ( #37630 )
2026-06-22 02:30:32 +00:00
yunlu.wen
8cc6b16661
Merge remote-tracking branch 'upstream/main' into feat/openapi-rbac
2026-06-22 10:25:29 +08:00
yyh
f06127aaa4
test(dify-ui): align select form story with field primitives ( #37670 )
2026-06-22 02:17:35 +00:00
yyh
8c484411ea
fix(web): simplify completed drawer dismissal ( #37664 )
2026-06-22 02:17:24 +00:00
yyh
4c083e76e2
feat(web): add app shell skip navigation ( #37644 )
2026-06-22 02:17:18 +00:00
yyh
24080010c9
chore(deps): bump base-ui to v1.6.0 ( #37663 )
2026-06-22 02:17:07 +00:00
Yufeng He
3a3ad6ad7c
fix: skip empty tool entries in legacy dataset config extraction ( #37669 )
...
Signed-off-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com>
2026-06-21 07:32:15 +00:00
frank
44464c8c63
test: replace patch logger with caplog in core/rag tests ( #37468 ) ( #37621 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-21 07:30:40 +00:00
MeloMei
b60f83e308
refactor(test): replace logger mock with caplog in billing and vector service tests ( #37697 )
...
Signed-off-by: MeloMei <burnapwipprechtna268@gmail.com>
2026-06-21 05:31:52 +00:00
Rohit Gahlawat
a8e3257f43
refactor: accept db.session explicitly in FileService.get_upload_files_by_ids ( #37695 )
2026-06-21 05:18:28 +00:00
Rohit Gahlawat
9b4dd9d4e8
refactor: accept db.session explicitly in APIBasedExtensionService ( #37693 )
2026-06-21 00:53:36 +00:00
Rohit Gahlawat
75d50455d6
refactor: accept db.session explicitly in FeedbackService ( #37694 )
2026-06-21 00:52:36 +00:00
落尘
adfd820220
fix(watercrawl): bound client request timeouts ( #37515 )
2026-06-21 00:47:25 +00:00
Rohit Gahlawat
dcff1870d5
refactor: accept db.session explicitly in SavedMessageService ( #37682 )
2026-06-20 12:35:06 +00:00
zyssyz123
b3e724dce1
fix(agent): return conflict for duplicate agent names ( #37686 )
2026-06-20 12:25:08 +00:00
Escape0707
517b27c2b4
test: migrate hit testing dump record tests ( #37672 )
2026-06-20 12:12:14 +00:00
Asuka Minato
a7b53b33ee
chore: move one db.session ( #37656 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-19 19:52:59 +00:00
Asuka Minato
fae607e2fe
chore: add Type to test ( #37191 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-19 16:44:20 +00:00
Sukka
9eca75c7fc
refactor(web): migrate shared localStorage to createLocalStorageState ( #37408 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-06-19 13:51:45 +00:00
Evan
734211d735
fix: use f-string for error messages in resume_workflow_execution ( #37666 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-19 09:29:18 +00:00
-LAN-
8052c93133
refactor(api): type end user records with enum ( #36945 )
...
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-06-19 01:02:01 +00:00
Asuka Minato
bd15b8e6ce
chore: add more type in test ( #37609 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-18 23:07:12 +00:00
Asuka Minato
e4500d2b9d
chore: Caplog type ( #37603 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-18 18:53:13 +00:00
Wu Tianwei
33edf97f81
feat: RBAC ( #37107 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: fatelei <fatelei@gmail.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 盐粒 Yanli <yanli@dify.ai>
Co-authored-by: Charles Yao <chongbinyao33@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: Jingyi <jingyi.qi@dify.ai>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
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: chariri <w@chariri.moe>
Co-authored-by: Evan <2869018789@qq.com>
Co-authored-by: zyssyz123 <916125788@qq.com>
2026-06-18 16:35:29 +00:00
盐粒 Yanli
8732d1463a
chore(agent-v2): sync nightly updates to main (2026-06-18) ( #37610 )
...
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-06-18 15:34:51 +00:00
zyssyz123
0df30dd269
fix(agent): resolve roster file downloads versions and log filters ( #37626 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-18 12:06:27 +00:00
yyh
aa777a1f7a
fix(web): nav link focus ring style ( #37633 )
2026-06-18 09:57:22 +00:00
dependabot[bot]
a9c5e52940
chore(deps): bump the github-actions-dependencies group across 1 directory with 13 updates ( #37234 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-18 08:49:18 +00:00
zyssyz123
933df2f490
fix(agent): decouple roster from app quota ( #37625 )
2026-06-18 08:48:18 +00:00
Stephen Zhou
c52eafe2ca
docs: enrich generated service API descriptions ( #37615 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-18 08:43:39 +00:00
zyssyz123
2f72b576f0
fix(agent): keep debugger session across soul saves ( #37620 )
2026-06-18 08:24:20 +00:00
Evan
2604c33e54
refactor(tests): replace mock_logger with caplog in service tests ( #37468 ) ( #37617 )
2026-06-18 07:55:48 +00:00
frank
694bf3754c
test: use caplog for annotation service logging ( #37618 )
2026-06-18 07:54:47 +00:00
yyh
762321751c
refactor(web): centralize main nav route access ( #37612 )
2026-06-18 06:47:22 +00:00
-LAN-
7bfcf9185c
fix(docker): harden default SSRF proxy egress ( #36332 )
2026-06-18 06:31:25 +00:00
非法操作
26b0137c83
chore: improve invite member flow ( #37479 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jingyi <jingyi.qi@dify.ai>
2026-06-18 06:30:01 +00:00
Bond Zhu
5873acc433
ci: build and push dify-agent-backend image ( #37606 )
2026-06-18 06:17:31 +00:00
github-actions[bot]
de2548b714
chore(i18n): sync translations with en-US ( #37611 )
...
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-06-18 06:14:08 +00:00
盐粒 Yanli
3f2d22ec0f
feat(agent-v2): sync nightly updates to main ( #37599 )
...
Co-authored-by: Jingyi-Dify <jingyi.qi@dify.ai>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: Bond Zhu <783504079@qq.com>
Co-authored-by: Yansong Zhang <916125788@qq.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-06-18 05:03:34 +00:00
gigglewang
79ab6c2ecd
test(cli/e2e): add ErrorBody contract tests for error.server structure ( #37518 )
2026-06-18 03:35:11 +00:00
Asuka Minato
4304044905
chore: example of make db.session pass from parameter. ( #37561 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-18 02:16:09 +00:00
Evan
0fa43973b8
fix: clean unnecessary | None type annotations ( #35557 ) ( #36824 )
...
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-06-18 02:08:08 +00:00
zyssyz123
43192036fa
fix: require Agent App role ( #37601 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-18 01:23:45 +00:00
zyssyz123
0dd966f7b8
fix: stream Agent App backend deltas ( #37600 )
2026-06-18 01:23:20 +00:00