wangxiaolei
c6999fb5be
fix: fix plugin edit endpoint app disappear ( #30951 )
2026-01-15 10:09:57 +08:00
zhsama
ccb337e8eb
fix: Sync extractor prompt template with tool input text
2026-01-15 04:09:35 +08:00
zhsama
1ff677c300
refactor: Remove unused sub-graph persistence and initialization hooks.
...
Simplified sub-graph store by removing unused state fields and setters.
2026-01-15 04:08:42 +08:00
zhsama
04145b19a1
refactor: refactor prompt template processing logic
2026-01-15 01:14:46 +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
Milad Rashidikhah
11f1782df0
fix: correct API Extension documentation link ( #30962 )
2026-01-14 21:21:15 +09:00
wangxiaolei
8cf5d9a6a1
fix: fix Cannot destructure property 'name' of 'value' as it is undef… ( #30991 )
2026-01-14 19:30:47 +08:00
zhsama
4828348532
feat: Add structured output to sub-graph LLM nodes
2026-01-14 17:25:06 +08:00
zhsama
c8c048c3a3
perf: Optimize sub-graph store selectors and layout
2026-01-14 15:39:21 +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
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
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
青枕
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
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
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
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
Stephen Zhou
8b1af36d94
feat(web): migrate PWA to Serwist ( #30808 )
2026-01-10 17:16:18 +09:00
zhsama
f925266c1b
Merge branch 'main' into feat/pull-a-variable
2026-01-09 16:20:55 +08:00
wangxiaolei
0711dd4159
feat: enhance start node object value check ( #30732 )
2026-01-09 16:13:17 +08:00
Stephen Zhou
d4432ed80f
refactor: marketplace state management ( #30702 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 14:31:24 +08:00
lif
9d9f027246
fix(web): invalidate app list cache after deleting app from detail page ( #30751 )
...
Signed-off-by: majiayu000 <1835304752@qq.com>
2026-01-09 14:08:37 +08:00
wangxiaolei
77f097ce76
fix: fix enhance app mode check ( #30758 )
2026-01-09 14:07:40 +08:00
Coding On Star
98df99b0ca
feat(embedding-process): implement embedding process components and polling logic ( #30622 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-09 10:21:27 +08:00
Coding On Star
9848823dcd
feat: implement step two of dataset creation with comprehensive UI components and hooks ( #30681 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-09 10:21:18 +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
872fd98eda
Merge remote-tracking branch 'origin/feat/pull-a-variable' into feat/pull-a-variable
2026-01-08 18:16:29 +08:00
MkDev11
91d44719f4
fix(web): resolve chat message loading race conditions and infinite loops ( #30695 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-01-08 18:05:32 +08:00
Novice
5bcd3b6fe6
feat: add mention node executor
2026-01-08 17:36:21 +08:00
xuwei95
b2cbeeae92
fix(web): restrict postMessage targetOrigin from wildcard to specific origins ( #30690 )
...
Co-authored-by: XW <wei.xu1@wiz.ai>
2026-01-08 17:23:27 +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
Coding On Star
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
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
zhsama
8b8e521c4e
Merge branch 'main' into feat/pull-a-variable
2026-01-07 22:11:05 +08:00
Xiangxuan Qu
d8a0291382
refactor(web): remove unused type alias VoiceLanguageKey ( #30694 )
...
Co-authored-by: fghpdf <fghpdf@users.noreply.github.com>
2026-01-07 21:15:43 +08:00
Stephen Zhou
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
zhsama
760a739e91
Merge branch 'main' into feat/grouping-branching
...
# Conflicts:
# web/package.json
2026-01-06 22:00:01 +08:00
Coding On Star
9b128048c4
refactor: restructure DatasetCard component for improved readability and maintainability ( #30617 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-06 21:57:21 +08:00
yyh
44d7aaaf33
fix: prevent empty state flash and add skeleton loading for app list ( #30616 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-06 20:19:22 +08:00
yyh
7beed12eab
refactor(web): migrate legacy forms to TanStack Form ( #30631 )
2026-01-06 20:18:27 +08:00
Coding On Star
64bfcbc4a9
feat: implement dataset creation step one with preview functionality ( #30507 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-06 18:59:18 +08:00
Stephen Zhou
b2124a7358
feat: init rsc support for translation ( #30596 )
2026-01-06 13:23:03 +08:00
yyh
f14c3ce15e
fix: system model selector loading state flash ( #30572 )
2026-01-06 10:07:42 +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
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
60250355cb
feat(workflow): enhance group edge management and validation
...
- Introduced `createGroupInboundEdges` function to manage edges for group nodes, ensuring proper connections to head nodes.
- Updated edge creation logic to handle group nodes in both inbound and outbound scenarios, including temporary edges.
- Enhanced validation in `useWorkflow` to check connections for group nodes based on their head nodes.
- Refined edge processing in `preprocessNodesAndEdges` to ensure correct handling of source handles for group edges.
2026-01-05 15:48:26 +08:00
zhsama
225b13da93
Merge branch 'main' into feat/grouping-branching
2026-01-04 21:56:13 +08:00
zhsama
37c748192d
feat(workflow): implement UI-only group functionality
...
- Added support for UI-only group nodes, including custom-group, custom-group-input, and custom-group-exit-port types.
- Enhanced edge interactions to manage temporary edges connected to groups, ensuring corresponding real edges are deleted when temp edges are removed.
- Updated node interaction hooks to restore hidden edges and remove temp edges efficiently.
- Implemented logic for creating and managing group structures, including entry and exit ports, while maintaining execution graph integrity.
2026-01-04 21:54:15 +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
a6ce6a249b
feat(workflow): refine strokeDasharray logic for temporary edges
2026-01-04 20:59:33 +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
Coding On Star
c29cfd18f3
feat: revert model total credits ( #30518 )
2026-01-04 18:29:19 +08:00
Coding On Star
47b8e979e0
test: add unit tests for RagPipeline components ( #30429 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-04 18:04:49 +08:00
zhsama
39010fd153
Merge branch 'refs/heads/main' into feat/grouping-branching
2026-01-04 17:25:18 +08:00
zhsama
d4baf078f7
fix(plugins): enhance search to match name, label and description ( #30501 )
2026-01-04 16:07:04 +08:00
Coding On Star
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
yyh
822374eca5
chore: integrate @tanstack/eslint-plugin-query and fix service layer lint errors ( #30444 )
2026-01-04 11:20:06 +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
zhsama
bd338a9043
Merge branch 'main' into feat/grouping-branching
2026-01-02 01:34:02 +08:00
wangxiaolei
ae43ad5cb6
fix: fix when vision is disabled delete the configs ( #30420 )
2026-01-01 00:40:21 +08:00
lif
e3ef33366d
fix(web): stop thinking timer when user clicks stop button ( #30442 )
2026-01-01 00:36:18 +08:00
Stephen Zhou
2bb1e24fb4
test: unify i18next mocks into centralized helpers ( #30376 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-31 16:53:33 +09:00
Stephen Zhou
e856287b65
chore: update knip config and include in CI ( #30410 )
2025-12-31 15:38:07 +08:00
QuantumGhost
8129b04143
fix(web): enable JSON_OBJECT type support in console UI ( #30412 )
...
Co-authored-by: zhsama <torvalds@linux.do>
2025-12-31 13:38:16 +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
quicksand
de53c78125
fix(web): template creation permission for app templates ( #30367 )
...
Co-authored-by: 非法操作 <hjlarry@163.com>
2025-12-31 10:11:25 +08:00
yyh
69589807fd
refactor: Replace direct process.env.NODE_ENV checks with IS_PROD and IS_DEV constants. ( #30383 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2025-12-31 08:32:55 +08:00
zhsama
39d6383474
Merge branch 'main' into feat/grouping-branching
2025-12-30 22:01:20 +08:00
Coding On Star
6ca44eea28
feat: integrate Google Analytics event tracking and update CSP for script sources ( #30365 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2025-12-30 18:06:47 +08:00
wangxiaolei
bf76f10653
fix: fix markdown escape issue ( #30299 )
2025-12-30 16:40:52 +08:00
Stephen Zhou
1873b5a766
chore: remove useless __esModule ( #30366 )
2025-12-30 15:37:16 +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
Stephen Zhou
3505516e8e
fix: missing i18n translation for Trans ( #30353 )
2025-12-30 10:46:52 +08:00
lif
5338cf85b1
fix: restore draft version correctly in version history panel ( #30296 )
...
Signed-off-by: majiayu000 <1835304752@qq.com>
2025-12-30 09:22:00 +08:00
yyh
673209d086
refactor(web): organize devtools components ( #30318 )
2025-12-30 09:21:41 +08:00
Coding On Star
43758ec85d
test: add some tests for marketplace ( #30326 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2025-12-30 09:21:19 +08:00
zhsama
5157e1a96c
Merge branch 'main' into feat/grouping-branching
2025-12-29 23:33:28 +08:00
Joel
7a5d2728a1
chore: refactor config var and add tests ( #30312 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-29 18:07:18 +09:00
Coding On Star
9a6b4147bc
test: add comprehensive tests for plugin authentication components ( #30094 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2025-12-29 16:45:25 +08:00