468d84faba
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# web/app/components/header/account-setting/model-provider-page/model-selector/popup-item.tsx
# web/package.json
2026-01-21 10:52:43 +08:00
95f92e07e4
chore(web): comment out unused provider entries in quota panel ( #31315 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-21 10:26:14 +08:00
8056768106
fix: enforce no-leaked-conditional-rendering as error and fix violations ( #31262 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-20 23:08:59 +08:00
13d6923c11
Merge branch 'feat/llm-support-tools' into feat/support-agent-sandbox
2026-01-20 10:27:42 +08:00
8f4a4214a1
feat(sandbox): preserve user config when switching to system default
...
Update frontend to use new backend API:
- save_config now accepts optional 'activate' parameter
- activate endpoint now requires 'type' parameter ('system' | 'user')
When switching to managed mode, call activate with type='system' instead
of deleting user config, so custom configurations are preserved for
future use.
2026-01-19 22:27:06 +08:00
3bb9625ced
fix(sandbox): prevent revoking active provider config
...
Hide revoke button for active providers to avoid "no sandbox provider"
error when user deletes the only available configuration.
2026-01-19 20:09:14 +08:00
5aa4088051
fix(sandbox): use deleteConfig when switching to managed mode
...
Delete user config instead of saving empty config when switching to
managed mode, allowing the system to fall back to system defaults.
2026-01-19 19:51:47 +08:00
5496fc014c
feat(sandbox): add connect mode selection for E2B provider
...
Add ability to choose between "Managed by Dify" (using system config)
and "Bring Your Own API Key" modes when configuring E2B sandbox provider.
This allows Cloud users to use Dify's pre-configured credentials or
their own E2B account for more control over resources and billing.
2026-01-19 18:35:53 +08:00
d3d1ba2488
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/core/app/apps/workflow/app_generator.py
2026-01-19 16:33:10 +08:00
269c85d5a3
feat: ee workspace permission control ( #30841 )
2026-01-19 11:06:04 +08:00
ebeee92e51
fix(sandbox-provider): align frontend types with backend API after refactor
...
Remove label, description, and icon fields from SandboxProvider type
as they are no longer returned by the backend API. Use i18n translations
to display provider labels instead of relying on API response data.
2026-01-19 10:50:57 +08:00
0bd17c6d0f
refactor(sandbox): sandbox provider system default configuration
2026-01-16 18:22:44 +08:00
384b99435b
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/.env.example
# api/uv.lock
2026-01-14 21:14:36 +08:00
11f1782df0
fix: correct API Extension documentation link ( #30962 )
2026-01-14 21:21:15 +09:00
7ce144f493
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-14 13:40:39 +08:00
14b2e5bd0d
refactor(web): MCP tool availability to context-based version gating ( #30955 )
2026-01-14 13:40:16 +08:00
2279b605c6
refactor: import SandboxProvider type from @/types and remove retry:0
...
Move type imports to @/types/sandbox-provider instead of re-exporting
from service file. Remove unnecessary retry:0 options to use React
Query's default retry behavior.
2026-01-14 10:10:04 +08:00
7c029ce808
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/services/workflow_service.py
2026-01-14 09:54:07 +08:00
91da784f84
refactor: init orpc contract ( #30885 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2026-01-13 23:38:28 +09:00
c6ba51127f
fix(sandbox-provider): allow admin role to manage sandbox providers
...
Change permission check from isCurrentWorkspaceOwner to
isCurrentWorkspaceManager so both owner and admin roles can
configure sandbox providers.
2026-01-13 17:17:36 +08:00
5675a44ffd
fix(sandbox-provider): use Loading component and add daytona doc link
...
- Replace hardcoded "Loading..." text with Loading component
- Add daytona documentation link to PROVIDER_DOC_LINKS
2026-01-13 16:37:58 +08:00
48295e5161
refactor(sandbox-provider): extract shared constants and remove redundant cache invalidation
...
- Extract PROVIDER_ICONS and PROVIDER_DESCRIPTION_KEYS to constants.ts
- Create shared ProviderIcon component with size and withBorder props
- Remove manual invalidateList() calls from config-modal and switch-modal
(mutations already invalidate cache in onSuccess)
- Remove unused useInvalidSandboxProviderList hook
2026-01-13 16:18:08 +08:00
ffc39b0235
refactor: rename ACCOUNT_SETTING_TAB.PROVIDER to MODEL_PROVIDER
...
Rename the constant for clarity and consistency with the new
sandbox-provider tab naming convention. Update all references
across the codebase to use the new constant name.
2026-01-13 15:07:04 +08:00
f72f58dbc4
fix: loading state
2026-01-13 14:38:19 +08:00
9d0f4a2152
fix(sandbox-provider): prevent permission hint flash on page load
...
Use strict equality check to only show no-permission message when
isCurrentWorkspaceOwner is explicitly false, not undefined.
2026-01-13 14:23:52 +08:00
63fff151c7
fix: provider card style
2026-01-13 13:50:28 +08:00
9920e0b89a
fix(sandbox-provider): hide config controls in read-only mode
...
Hide config button, divider, and enable button for non-owner users.
Adjust right padding to 24px in read-only mode for proper alignment.
2026-01-13 13:32:18 +08:00
3042f29c15
fix(sandbox-provider): update switch modal warning style to match design
...
Replace yellow warning box with red text for destructive emphasis.
Bold the provider name in confirmation text using Trans component.
2026-01-13 13:23:03 +08:00
99273e1118
style: provider card
2026-01-13 13:18:09 +08:00
041dbd482d
fix(sandbox-provider): use i18n for provider card descriptions
...
Use PROVIDER_DESCRIPTION_KEYS mapping to display localized descriptions
instead of raw backend data, ensuring descriptions match Figma design.
2026-01-13 11:43:49 +08:00
21f47fbe58
fix(sandbox-provider): fix config modal header spacing and icon style
...
- Use custom header with 8px gap between title and subtitle
- Fix icon overflow-clip for proper border-radius
2026-01-13 11:12:51 +08:00
49f115dce3
fix(sandbox-provider): fix config modal subtitle icon to fill container
2026-01-13 11:11:03 +08:00
a81d0327d2
feat(sandbox-provider): update UI to match Figma design
...
- Update settings icon to RiEqualizer2Line
- Add 4px rounded container for provider icons in config modal
- Update section titles to uppercase style
- Change switch modal confirm button to warning variant
- Add i18n keys for setAsActive, readDocLink, securityTip
2026-01-13 11:04:11 +08:00
d2f41ae9ef
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-09 15:37:29 +08:00
1557f48740
Merge branch 'feat/agent-node-v2' into feat/support-agent-sandbox
2026-01-09 14:19:27 +08:00
4d3d8b35d9
Merge branch 'main' into feat/llm-node-support-tools
2026-01-08 14:28:13 +08:00
cd1af04dee
feat: model total credits ( #30727 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-08 14:11:44 +08:00
15c3d712d3
feat: sandbox provider configuration
2026-01-08 11:04:12 +08:00
70149ea05e
Merge branch 'main' into feat/llm-node-support-tools
2026-01-07 16:29:47 +08:00
1d93f41fcf
feat: llm node support tools
2026-01-07 16:28:41 +08:00
e335cd0ef4
refactor(web): remove useMixedTranslation, better resource loading ( #30630 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-07 13:20:09 +08:00
f14c3ce15e
fix: system model selector loading state flash ( #30572 )
2026-01-06 10:07:42 +08:00
c29cfd18f3
feat: revert model total credits ( #30518 )
2026-01-04 18:29:19 +08:00
84cbf0526d
feat: model total credits ( #26942 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-04 15:26:37 +08:00
c1bb310183
chore: remove icon_large of models ( #30466 )
...
Co-authored-by: zhsama <torvalds@linux.do >
2026-01-03 02:35:17 +09:00
8f2aabf7bd
chore: Standardized the OpenAI icon ( #30471 )
2026-01-03 02:34:17 +09:00
2aaaa4bd34
feat(web): migrate from es-toolkit/compat to native es-toolkit ( #30244 ) ( #30246 )
2025-12-31 11:13:22 +08:00
2399d00d86
refactor(i18n): about locales ( #30336 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2025-12-30 14:38:23 +08:00
3505516e8e
fix: missing i18n translation for Trans ( #30353 )
2025-12-30 10:46:52 +08:00
6d0e36479b
refactor(i18n): use JSON with flattened key and namespace ( #30114 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-29 14:52:32 +08:00