zhsama
72eb29c01b
fix: fix duplicate agent context warnings in tool node
2026-01-16 00:42:42 +08:00
zhsama
0f3156dfbe
fix: list multiple @mentions
2026-01-16 00:19:28 +08:00
zhsama
b21875eaaf
fix: simplify @llm warning
2026-01-16 00:08:51 +08:00
zhsama
2591615a3c
Merge branch 'zhsama/agent-at-nodes' into feat/pull-a-variable
2026-01-15 23:51:35 +08:00
zhsama
691554ad1c
feat: 展示@agent引用
2026-01-15 23:32:14 +08:00
zhsama
f43fde5797
feat: Enhance context variable handling for Agent and LLM nodes
2026-01-15 23:26:19 +08:00
zhsama
f247ebfbe1
feat: Await sub-graph save before syncing workflow draft
2026-01-15 17:53:28 +08:00
zhsama
d641c845dd
feat: Pass workflow draft sync callback to sub-graph
2026-01-15 17:12:30 +08:00
zhsama
e89d4e14ea
Merge branch 'main' into feat/pull-a-variable
2026-01-15 16:14:15 +08:00
yyh
52215e9166
fix(prompt-editor): show border on hover for better scroll boundary visibility
...
Add hover state border to prompt editor so users can see the boundary
while scrolling even when the editor is not focused.
2026-01-15 16:00:41 +08:00
zhsama
ccb337e8eb
fix: Sync extractor prompt template with tool input text
2026-01-15 04:09:35 +08:00
zhsama
56e537786f
feat: Update LLM context selector styling
2026-01-14 23:30:12 +08:00
zhsama
810f9eaaad
feat: Enhance sub-graph components with context handling and variable management
2026-01-14 23:23:09 +08:00
zhsama
4828348532
feat: Add structured output to sub-graph LLM nodes
2026-01-14 17:25:06 +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
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
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
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
zxhlyh
1db995be0d
Merge branch 'main' into feat/llm-support-tools
2026-01-13 16:46:03 +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
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
f625350439
refactor:Refactor agent variable handling in mixed variable text input
2026-01-12 17:05:00 +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
zhsama
f925266c1b
Merge branch 'main' into feat/pull-a-variable
2026-01-09 16:20:55 +08:00
zhsama
07ff8df58d
Merge branch 'main' into feat/support-agent-sandbox
2026-01-09 16:20:33 +08:00
wangxiaolei
0711dd4159
feat: enhance start node object value check ( #30732 )
2026-01-09 16:13:17 +08:00
Harry
d2f41ae9ef
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-09 15:37:29 +08:00
zhsama
6e2cf23a73
Merge branch 'main' into feat/pull-a-variable
2026-01-09 02:49:47 +08:00
zhsama
8b0bc6937d
feat: enhance component picker and workflow variable block functionality
2026-01-08 18:17:09 +08:00
zhsama
1aed585a19
feat: enhance agent integration in prompt editor and mixed-variable text input
2026-01-08 17:02:35 +08:00
zhsama
831eba8b1c
feat: update agent functionality in mixed-variable text input
2026-01-08 16:59:09 +08:00
zxhlyh
4d3d8b35d9
Merge branch 'main' into feat/llm-node-support-tools
2026-01-08 14:28:13 +08:00
zxhlyh
c323028179
feat: llm node support tools
2026-01-08 14:27:37 +08:00
Harry
94dbda503f
refactor(llm-panel): update layout and enhance Max Iterations component
...
- Adjusted padding in the LLM panel for better visual alignment.
- Refactored the Max Iterations component to accept a className prop for flexible styling.
- Maintained the structure of advanced settings while ensuring consistent rendering of fields.
2026-01-08 14:15:58 +08:00
Harry
c2e5081437
feat(llm-panel): collapse panel with advanced settings and max iterations
...
- Introduced a collapsible section for advanced settings in the LLM panel.
- Added Max Iterations component with conditional rendering based on the new hideMaxIterations prop.
- Updated context field and vision configuration to be part of the advanced settings.
- Added new translation key for advanced settings in the workflow localization file.
2026-01-08 12:16:18 +08:00
Rhon Joe
27a803a6f0
fix(web): resolve key-value input box height inconsistency on focus/blur ( #30715 ) ( #30716 )
2026-01-08 09:54:27 +08:00
Harry
888be71639
feat: command node output variables
2026-01-07 11:15:52 +08:00
Harry
1c7c475c43
feat: add Command node support
...
- Introduced Command node type in workflow with associated UI components and translations.
- Enhanced SandboxLayer to manage sandbox attachment for Command nodes during execution.
- Updated various components and constants to integrate Command node functionality across the workflow.
2026-01-06 19:30:38 +08:00
zhsama
d92c476388
feat(workflow): enhance group node availability checks
...
- Updated `checkMakeGroupAvailability` to include a check for existing group nodes, preventing group creation if a group node is already selected.
- Modified `useMakeGroupAvailability` and `useNodesInteractions` hooks to incorporate the new group node check, ensuring accurate group creation logic.
- Adjusted UI rendering logic in the workflow panel to conditionally display elements based on node type, specifically for group nodes.
2026-01-06 02:07:13 +08:00
Harry
f3761c26e9
Merge remote-tracking branch 'origin/main' into feat/llm-node-support-tools
2026-01-05 18:17:05 +08:00
zhsama
9012dced6a
feat(workflow): improve group node interaction handling
...
- Enhanced `useNodesInteractions` to better manage group node handlers and connections, ensuring accurate identification of leaf nodes and their branches.
- Updated logic to create handlers based on node connections, differentiating between internal and external connections.
- Refined initial node setup to include target branches for group nodes, improving the overall interaction model for grouped elements.
2026-01-05 17:42:31 +08:00
zhsama
50bed78d7a
feat(workflow): add group node support and translations
...
- Introduced GroupDefault node with metadata and default values for group nodes.
- Enhanced useNodeMetaData hook to handle group node author and description using translations.
- Added translations for group node functionality in English, Japanese, Simplified Chinese, and Traditional Chinese.
2026-01-05 16:29:00 +08:00
zhsama
b7a2957340
feat(workflow): implement ungroup functionality for group nodes
...
- Added `handleUngroup`, `getCanUngroup`, and `getSelectedGroupId` methods to manage ungrouping of selected group nodes.
- Integrated ungrouping logic into the `useShortcuts` hook for keyboard shortcut support (Ctrl + Shift + G).
- Updated UI to include ungroup option in the panel operator popup for group nodes.
- Added translations for the ungroup action in multiple languages.
2026-01-04 21:40:34 +08:00
zhsama
8834e6e531
feat(workflow): enhance group node functionality with head and leaf node tracking
...
- Added headNodeIds and leafNodeIds to GroupNodeData to track nodes that receive input and send output outside the group.
- Updated useNodesInteractions hook to include headNodeIds in the group node data.
- Modified isValidConnection logic in useWorkflow to validate connections based on leaf node types for group nodes.
- Enhanced preprocessNodesAndEdges to rebuild temporary edges for group nodes, connecting them to external nodes for visual representation.
2026-01-04 20:45:42 +08:00
zxhlyh
04f40303fd
Merge branch 'main' into feat/llm-node-support-tools
2026-01-04 18:04:42 +08:00
zhsama
bd338a9043
Merge branch 'main' into feat/grouping-branching
2026-01-02 01:34:02 +08:00
yyh
2aaaa4bd34
feat(web): migrate from es-toolkit/compat to native es-toolkit ( #30244 ) ( #30246 )
2025-12-31 11:13:22 +08:00
zhsama
39d6383474
Merge branch 'main' into feat/grouping-branching
2025-12-30 22:01:20 +08:00
Stephen Zhou
2399d00d86
refactor(i18n): about locales ( #30336 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-30 14:38:23 +08:00
zhsama
5157e1a96c
Merge branch 'main' into feat/grouping-branching
2025-12-29 23:33:28 +08:00
zxhlyh
d132abcdb4
merge main
2025-12-29 15:55:45 +08:00
zxhlyh
d60348572e
feat: llm node support tools
2025-12-29 14:55:26 +08:00
Stephen Zhou
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
wangxiaolei
b892906d71
fix: fix metadata filter not survive a rename ( #30174 )
2025-12-26 10:40:30 +08:00
zxhlyh
0cff94d90e
Merge branch 'main' into feat/llm-node-support-tools
2025-12-25 13:45:49 +08:00
yyh
3cbbb06dc4
chore(web): migrate lodash-es to es-toolkit compat ( #30126 )
2025-12-25 09:44:57 +08:00
Maries
02e0fadef7
feat: add editing support for trigger subscriptions ( #29957 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-24 19:15:54 +08:00
Stephen Zhou
1e3823e605
chore: fix type check for i18n ( #30058 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-24 16:31:16 +08:00
zxhlyh
a7859de625
feat: llm node support tools
2025-12-24 14:15:55 +08:00
zhsama
b513933040
Merge branch 'main' into feat/grouping-branching
...
# Conflicts:
# web/app/components/workflow/block-icon.tsx
# web/app/components/workflow/hooks/use-nodes-interactions.ts
# web/app/components/workflow/index.tsx
# web/app/components/workflow/nodes/components.ts
# web/app/components/workflow/selection-contextmenu.tsx
# web/app/components/workflow/utils/workflow-init.ts
2025-12-23 23:55:21 +08:00
Stephen Zhou
403adefc07
chore: lint require and how to import react ( #30041 )
2025-12-23 18:02:10 +08:00
Stephen Zhou
f2842da397
chore(web): new lint setup ( #30020 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-23 16:58:55 +08:00
zhsama
3d61496d25
feat: Enhance CustomGroupNode with exit ports and visual indicators
2025-12-23 15:36:53 +08:00
zhsama
16bff9e82f
Merge branch 'refs/heads/main' into feat/grouping-branching
2025-12-23 15:27:54 +08:00
非法操作
9701a2994b
chore: Translate stray Chinese comment to English ( #30024 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-23 14:05:21 +08:00
GuanMu
c3b713d88a
fix: adjust padding in entry node container for better alignment ( #29999 )
2025-12-22 21:16:57 +08:00
zhsama
22f25731e8
refactor: streamline edge building and node filtering in workflow graph
2025-12-22 18:59:08 +08:00
zhsama
035f51ad58
Merge branch 'main' into feat/grouping-branching
2025-12-22 18:18:37 +08:00
Stephen Zhou
eabdc5f0eb
refactor(web): migrate to Vitest and esm ( #29974 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-22 16:35:22 +08:00
yyh
079620714e
refactor: migrate common service toward TanStack Query ( #29009 )
2025-12-19 17:34:14 +08:00
zhsama
fc9d5b2a62
feat: implement group node functionality and enhance grouping interactions
2025-12-19 15:17:45 +08:00
Stephen Zhou
a26881cb24
refactor: unified cn utils ( #29916 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2025-12-19 12:08:34 +08:00
Angel98518
c2f2be6b08
fix: oxlint no unused expressions ( #29675 )
...
Co-authored-by: daniel <daniel@example.com>
2025-12-16 18:00:04 +08:00
Coding On Star
d942adf3b2
feat: Enhance Amplitude tracking across various components ( #29662 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2025-12-15 15:25:10 +08:00
Chen Jiaju
63624dece1
fix(workflow): tool plugin output_schema array type not selectable in subsequent nodes ( #29035 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-15 11:17:15 +08:00
Agung Besti
3db27c3158
fix(workflow): agent prompt editor canvas not covering full text height ( #29623 )
2025-12-14 15:53:39 +08:00
Wu Tianwei
94244ed8f6
fix: handle potential undefined values in query_attachment_selector across multiple components ( #29429 )
2025-12-10 19:30:21 +08:00
Wu Tianwei
bafd093fa9
fix: Add dataset file upload restrictions ( #29397 )
...
Co-authored-by: kurokobo <kuro664@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2025-12-10 16:41:05 +08:00
yyh
18601d8b38
Refactor datasets service toward TanStack Query ( #29008 )
...
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
2025-12-09 13:48:23 +08:00
Wu Tianwei
14d1b3f9b3
feat: multimodal support (image) ( #27793 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-09 11:44:50 +08:00
非法操作
a44b800c85
chore: find more redirect to correct category ( #29303 )
2025-12-09 11:09:43 +08:00
Wu Tianwei
e7c26a2f3f
refactor: update useNodes import to use reactflow across multiple components ( #29195 )
2025-12-05 16:38:03 +08:00
非法操作
3e5f683e90
feat: dark theme icon support ( #28858 )
2025-12-04 09:29:00 +08:00
CrabSAMA
0a2d478749
Feat: Add "Open Workflow" link in workflow side panel ( #28898 )
2025-11-29 18:47:12 +08:00
Joel
5f2e0d6347
pref: reduce next step components reRender ( #28783 )
2025-11-27 17:12:00 +08:00