zhsama
c8c048c3a3
perf: Optimize sub-graph store selectors and layout
2026-01-14 15:39:21 +08:00
yyh
4887c9ea6f
refactor(web): simplify MCP tool availability context and hook
...
- Add useMemo to prevent unnecessary re-renders of context value
- Extract ProviderProps type for better readability
- Convert arrow functions to standard function declarations
- Remove unused versionSupported/sandboxEnabled from hook return type
2026-01-14 14:15:07 +08:00
yyh
18170a1de5
feat(web): add sandbox mode check for MCP tool availability
...
Extend MCP tool availability context to include sandbox mode check
alongside version support. MCP tools are now blocked when sandbox
is disabled, with appropriate tooltip messages for each blocking
condition.
2026-01-14 14:01:56 +08:00
yyh
7ce144f493
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-14 13:40:39 +08:00
yyh
14b2e5bd0d
refactor(web): MCP tool availability to context-based version gating ( #30955 )
2026-01-14 13:40:16 +08:00
wangxiaolei
d095bd413b
fix: fix LOOP_CHILDREN_Z_INDEX ( #30719 )
2026-01-14 10:22:31 +08:00
yyh
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
yyh
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
zhsama
b9052bc244
feat: add sub-graph config panel with variable selection and null
...
handling
2026-01-14 03:22:42 +08:00
zhsama
b7025ad9d6
feat: change sub-graph prompt handling to use user role
2026-01-13 23:23:18 +08:00
zhsama
c5482c2503
Merge branch 'main' into feat/pull-a-variable
2026-01-13 22:57:27 +08:00
zhsama
d394adfaf7
feat: Fix prompt template handling for Jinja2 edition type
2026-01-13 22:57:05 +08:00
zhsama
bc771d9c50
feat: Add onSave prop to SubGraph components for draft sync
2026-01-13 22:51:29 +08:00
Stephen Zhou
91da784f84
refactor: init orpc contract ( #30885 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2026-01-13 23:38:28 +09:00
zhsama
96ec176b83
feat: sub-graph to use dynamic node generation
2026-01-13 22:28:30 +08:00
zhsama
f57d2ef31f
refactor: refactor workflow nodes state sync and extractor node
...
lifecycle
2026-01-13 18:37:23 +08:00
zhsama
e80bc78780
fix: clear mock llm node functions
2026-01-13 17:57:02 +08:00
yyh
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
zhsama
ddbbddbd14
refactor: Update variable syntax to support agent context markers
...
Extend variable pattern matching to support both `#` and `@` markers,
with `@` specifically used for agent context variables. Update regex
patterns, text processing logic, and add sub-graph persistence for agent
variable handling.
2026-01-13 17:13:45 +08:00
yyh
1fbdf6b465
refactor(web): setup status caching ( #30798 )
2026-01-13 16:59:49 +08:00
zxhlyh
1db995be0d
Merge branch 'main' into feat/llm-support-tools
2026-01-13 16:46:03 +08:00
yyh
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
yyh
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
青枕
0e33dfb5c2
fix: In the LLM model in dify, when a message is added, the first cli… ( #29540 )
...
Co-authored-by: 青枕 <qingzhen.ww@alibaba-inc.com >
2026-01-13 15:42:32 +08:00
yyh
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
yyh
f72f58dbc4
fix: loading state
2026-01-13 14:38:19 +08:00
yyh
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
yyh
1ed4ab4299
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-13 14:19:04 +08:00
yyh
63fff151c7
fix: provider card style
2026-01-13 13:50:28 +08:00
yyh
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
yyh
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
yyh
99273e1118
style: provider card
2026-01-13 13:18:09 +08:00
Coding On Star
8f43629cd8
fix(amplitude): update sessionReplaySampleRate default value to 0.5 ( #30880 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-13 12:26:50 +08:00
yyh
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
yyh
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
yyh
49f115dce3
fix(sandbox-provider): fix config modal subtitle icon to fill container
2026-01-13 11:11:03 +08:00
yyh
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
yyh
a46bfdd0fc
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-13 10:15:59 +08:00
zhsama
03e0c4c617
feat: Add VarKindType parameter metion to mixed variable text input
2026-01-12 20:08:41 +08:00
zhsama
47790b49d4
fix: Fix agent context variable insertion to preserve existing text
2026-01-12 18:12:06 +08:00
zhsama
b25b069917
fix: refine agent variable logic
2026-01-12 18:12:06 +08:00
zhsama
d65ae68668
Merge branch 'main' into feat/pull-a-variable
...
# Conflicts:
# .nvmrc
2026-01-12 17:15:56 +08:00
zhsama
f625350439
refactor:Refactor agent variable handling in mixed variable text input
2026-01-12 17:05:00 +08:00
zhsama
f4e8f64bf7
refactor:Change sub-graph output handling from skip to default
2026-01-12 17:04:13 +08:00
zhsama
d91087492d
Refactor sub-graph components structure
2026-01-12 15:00:41 +08:00
zhsama
cab7cd37b8
feat: Add sub-graph component for workflow
2026-01-12 14:56:53 +08:00
zxhlyh
aa5e37f2db
Merge branch 'main' into feat/llm-support-tools
2026-01-12 13:42:58 +08:00
yyh
9161936f41
refactor(web): extract isServer/isClient utility & upgrade Node.js to 22.12.0 ( #30803 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-12 12:57:43 +08:00
Harry
9dd0361d0e
refactor: rename new runtime as sandbox feature
2026-01-12 01:53:39 +08:00
Stephen Zhou
8b1af36d94
feat(web): migrate PWA to Serwist ( #30808 )
2026-01-10 17:16:18 +09:00