GareArc
d673cc96ae
fix(agent): drop agent.manage gate from workflow copy-from-roster
2026-07-22 22:50:14 -07:00
GareArc
1b5fbb2142
Merge remote-tracking branch 'origin/main' into gareth/esq1-170-rbac-for-agent
2026-07-22 20:24:53 -07:00
autofix-ci[bot] and GitHub
1ba65a3431
[autofix.ci] apply automated fixes
2026-07-23 02:53:05 +00:00
GareArc
09d7e44bd1
fix(agent): gate roster composer writes with agent.manage
...
Require agent.manage on the composer endpoints that create or write shared
roster/normal drafts (copy-from-roster, save-to-roster, and the agent
composer PUT) for both app and snippet variants, leaving the local node and
snippet draft saves on their existing edit permissions. Hide the Make Copy
and Save to Roster controls when the user cannot manage agents.
2026-07-22 19:49:05 -07:00
6736f4005b
fix(web): improve import DSL dialog states ( #39432 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-23 02:26:59 +00:00
yyh
245c6c3525
fix(web): merge agent console link styles
2026-07-23 09:37:59 +08:00
GareArc
fd88da9743
refactor(web): gate community-edition tip on deployment edition
...
Replace the enterprise_enabled system feature with an env-derived edition
signal. enterprise_enabled expanded both the Console and Web API contracts,
and via cloudSystemFeatures it made Cloud render the Community Edition
warning.
- Drop enterprise_enabled from SystemFeatureModel; regenerate contracts and
openapi docs.
- Add NEXT_PUBLIC_ENTERPRISE_ENABLED (forwarding the existing backend
ENTERPRISE_ENABLED) and derive IS_ENTERPRISE_EDITION / IS_COMMUNITY_EDITION.
- CommunityEditionTip renders only on community edition, so enterprise and
cloud both correctly hide it.
Review fixes:
- edit-in-console-link: render the enabled control as an anchor instead of a
Button-rendered link, which forced type="button" onto the <a>; export
buttonVariants for the styling.
- agents-access-guard: named export; redirect to '/'.
- Remove the redundant @detailSidebar/agents access-guard layout.
2026-07-22 17:44:27 -07:00
d5788cc019
feat: support tool multi-select input ( #39346 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WH-2099 <wh2099@pm.me >
2026-07-23 00:38:54 +00:00
62db37c403
fix(web): improve DSL export feedback ( #39409 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-22 09:40:47 +00:00
acb5ee29e1
test(e2e): validate generated console contracts ( #39400 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-22 07:48:37 +00:00
9b432d0d29
fix: enforce tool provider type contracts ( #39380 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-22 01:30:55 +00:00
Wu Tianwei and GitHub
5216ee1d20
feat: add WebSocket support to dev proxy with cookie rewriting ( #39370 )
2026-07-22 01:14:27 +00:00
GareArc
bfd4de159e
Merge remote-tracking branch 'origin/gareth/esq1-170-rbac-for-agent' into gareth/esq1-170-rbac-for-agent
2026-07-21 16:50:02 -07:00
GareArc
2279298c1a
Merge remote-tracking branch 'origin/main' into gareth/esq1-170-rbac-for-agent
2026-07-21 16:38:49 -07:00
yyh and GitHub
b95d313128
refactor(web): improve workflow block selector ( #39377 )
2026-07-21 14:18:38 +00:00
autofix-ci[bot] and GitHub
6056646eea
[autofix.ci] apply automated fixes
2026-07-21 10:06:36 +00:00
GareArc
ac87341d69
Merge remote-tracking branch 'origin/main' into gareth/esq1-170-rbac-for-agent
...
# Conflicts:
# api/services/enterprise/rbac_service.py
2026-07-21 03:02:11 -07:00
GareArc
79370e8c75
fix(web): hide the Agent Console link without agent.manage
2026-07-21 00:22:23 -07:00
非法操作 and GitHub
f5024f5440
fix(workflow): avoid false draft save error during Strict Mode initia… ( #39353 )
2026-07-21 07:11:19 +00:00
GareArc
e606156580
Merge branch 'main' into gareth/esq1-170-rbac-for-agent
2026-07-20 03:47:12 -07:00
GareArc
181f58ed9c
Merge branch 'main' into gareth/esq1-170-rbac-for-agent
2026-07-20 02:31:18 -07:00
GareArc
f947cbfffb
test: cover the agents access guard and unbreak the roster layout suite
...
AgentsAccessGuard calls useRouter, which threw "invariant expected app
router to be mounted" in the existing roster layout suite. Mock the guard
there so that suite stays scoped to the feature flag, and give the guard
its own spec covering loading, redirect and pass-through.
Also assert the disabled edit-in-console control through its accessible
role, and move the legacy-key test into a class like its neighbours.
2026-07-20 02:09:31 -07:00
GareArc
87e7b5660a
refactor(web): build edit-in-console control from the Button primitive
...
The enabled and disabled states each carried a hand-written copy of the
secondary-button class list, and the disabled state faked a button with
an aria-disabled span. Render both from dify-ui Button instead, which
already ships the secondary variant and its disabled styling.
2026-07-20 01:49:16 -07:00
Joel and GitHub
e77ee82526
fix: show persistent error when workflow draft save fails ( #39293 )
2026-07-20 08:48:38 +00:00
6022939bf0
fix: prevent hidden-tab collaboration leader from saving stale drafts ( #38997 )
...
Co-authored-by: hjlarry <hjlarry@163.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2026-07-20 06:58:01 +00:00
GareArc
dac931b5f1
feat(web): disable edit-in-console link without agent.manage
2026-07-19 23:16:55 -07:00
yyh and GitHub
15674a9db6
test(web): align test state boundaries ( #39239 )
2026-07-20 06:06:17 +00:00
9a2d039e93
chore: the node should not draggable when preview a workflow ( #39131 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-20 05:59:14 +00:00
2ec34b2cfb
feat(workflow): improve block selector navigation and previews ( #39212 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-18 09:56:36 +00:00
yyh and GitHub
5fd06fafe0
test(web): remove low-value unit tests ( #39193 )
2026-07-17 08:59:26 +00:00
Joel and GitHub
0e84ae7338
fix: can not typing in the change node search field ( #39189 )
2026-07-17 08:01:46 +00:00
yyh and GitHub
f962c9e47a
fix(web): settle running nodes after workflow failure ( #39173 )
2026-07-17 05:15:01 +00:00
9de7e0fe44
perf(workflow-generator): parallelize node config generation ( #38975 )
...
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-07-17 02:34:15 +00:00
Joel and GitHub
18f4640ad1
chore: remove empty advanced setting ( #39147 )
2026-07-16 10:24:23 +00:00
Joel and GitHub
d876f6dba5
fix: validate inline agent files and skills in the workflow checklist ( #39137 )
2026-07-16 08:39:20 +00:00
d66de8a47b
test(e2e): harden behavior coverage and CI gates ( #39043 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-16 07:32:11 +00:00
1a2ba2237d
chore: new agent enchance ( #39040 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-16 06:46:41 +00:00
Joel and GitHub
9e6a2cd19c
feat: new agent support import and export in frontend ( #39012 )
2026-07-15 09:54:09 +00:00
Wu Tianwei and GitHub
1121a17c11
fix: allow workflow comments for layout users ( #39014 )
2026-07-15 09:53:45 +00:00
7dc3126ff4
fix: preserve and display workflow retry details ( #38854 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-15 05:58:37 +00:00
yyh and GitHub
e134c947c1
refactor(web): standardize hotkey ownership and typing ( #38960 )
2026-07-15 02:22:40 +00:00
yyh and GitHub
e2fccb604a
refactor(web): rebuild goto anything dialog ( #38914 )
2026-07-14 10:38:45 +00:00
Stephen Zhou and GitHub
61d2ad572a
chore: improve static check performance ( #38866 )
2026-07-13 10:30:52 +00:00
7865ffd429
chore: Improve workflow generator accessibility and API contracts ( #38838 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-13 09:15:54 +00:00
eb71e47f3b
chore: migrate linting to vp lint with ESLint fallback ( #38834 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-13 06:41:53 +00:00
ab521c4cfd
refactor(chat): modernize speech-to-text pipeline ( #38653 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yansong Zhang <916125788@qq.com >
2026-07-13 04:21:29 +00:00
a84c2d36a3
style: format with vp fmt ( #38803 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-12 15:57:46 +00:00
b54107e9b9
chore: migrate formatting to vp fmt ( #38705 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-12 14:59:00 +00:00
yyh and GitHub
2a2193dabb
fix(web): correct knowledge dialog draft state ( #38794 )
2026-07-12 14:23:28 +00:00
yyh and GitHub
1246aa7f3a
refactor(web): normalize z-index layering ( #38796 )
2026-07-12 14:23:14 +00:00