Novice
2fb391a642
fix: generation stream abort
2026-01-27 15:28:35 +08:00
yyh
c9e428facf
Merge branch 'feat/support-agent-sandbox' of https://github.com/langgenius/dify into feat/support-agent-sandbox
2026-01-27 15:21:22 +08:00
yyh
1beafd8558
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-27 15:17:40 +08:00
Harry
504280995d
refactor(tool-access): rename ToolKey to ToolDescription and update ToolAccessPolicy to use mappings for allowed tools and credentials
2026-01-27 15:14:12 +08:00
Harry
b889ab8853
refactor(download): replace wget with curl for asset and archive downloads
2026-01-27 15:14:07 +08:00
Harry
394a811e5e
fix(local-env): replace os.rmdir with shutil.rmtree for directory removal
2026-01-27 15:13:55 +08:00
yyh
d098e72c13
feat(variable-inspect): add Artifacts tab with sandbox file tree browser
...
Refactor the variable inspect panel into a tabbed layout with Variables
and Artifacts tabs. Extract variable logic into VariablesTab, add new
ArtifactsTab with sandbox file tree selection and preview pane, and
improve accessibility across tree nodes and interactive elements.
2026-01-27 15:05:11 +08:00
Harry
a29f569e08
feat(sandbox): enhance logging with colored output and add AppAssetAttrsInitializer
2026-01-27 14:19:27 +08:00
Harry
64b6a5dd31
feat(sandbox-zip-service): using sandbox to zip files
...
- refactor allllllllll!!!!!!
2026-01-27 14:19:27 +08:00
Harry
9094f9d313
feat(zip-sandbox): special use of sandbox implementation
2026-01-27 14:19:27 +08:00
Harry
89eb7b17db
feat(dify-cli): session level tool white list
2026-01-27 14:19:26 +08:00
hjlarry
a9e1394011
add skill markdown file collaboration
2026-01-27 14:08:44 +08:00
Stephen Zhou
febc9b930d
chore: update react and next version ( #31593 )
2026-01-27 14:06:09 +08:00
yyh
61608e0423
fix: remove fixed width on collaboration avatar tooltip to prevent username truncation
2026-01-27 13:48:48 +08:00
Joel
1ea7d2d9a1
chore: sandbox llm not show tools
2026-01-27 13:42:33 +08:00
zxhlyh
53bc060cea
fix: chat generation render
2026-01-27 13:37:08 +08:00
yyh
74f94633d7
fix(skill): tighten cached content typing
2026-01-27 13:09:23 +08:00
yyh
a6a1ac4fa6
fix(skill): prevent infinite save loop caused by unstable saveFile reference
...
Use useRef to store saveFile reference and remove it from useEffect
dependencies to prevent cleanup from re-triggering on reference changes.
Also normalize metadata before comparison when clearing dirty state to
ensure filtered tools match correctly.
2026-01-27 13:02:55 +08:00
yyh
c5ccdcc331
update skills
2026-01-27 12:51:21 +08:00
lif
d13638f6e4
test: wrap test cleanup in act() to prevent window is not defined error ( #31558 )
...
Signed-off-by: majiayu000 <1835304752@qq.com >
2026-01-27 11:25:14 +08:00
hj24
b4eef76c14
fix: billing account deletion ( #31556 )
2026-01-27 11:18:23 +08:00
dependabot[bot]
cbf7f646d9
chore(deps): bump pypdf from 6.6.0 to 6.6.2 in /api ( #31568 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2026-01-27 11:06:13 +08:00
Coding On Star
c58647d39c
refactor(web): extract MCP components and add comprehensive tests ( #31517 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com >
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-01-27 11:05:59 +08:00
Novice
f0f796fdc0
fix: remove additional sse event
2026-01-27 10:49:37 +08:00
E.G
f6be9cd90d
refactor: replace request.args.get with Pydantic BaseModel validation ( #31104 )
...
Co-authored-by: GlobalStar117 <GlobalStar117@users.noreply.github.com >
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
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>
2026-01-27 10:48:42 +08:00
dependabot[bot]
360f3bb32f
chore(deps): bump pycryptodome from 3.19.1 to 3.23.0 in /api ( #31504 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-27 10:43:05 +08:00
hjlarry
c4e5eba6c3
switch to skills tab, keep ws connected and ensure has leader
2026-01-27 10:22:05 +08:00
Novice
585e11a1fc
fix: llm invoke condition
2026-01-27 10:12:51 +08:00
lif
8519b16cfc
docs: add ESLint guide to AGENTS.md ( #31559 )
...
autofix.ci / autofix (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
Main CI Pipeline / Check Changed Files (push) Has been cancelled
Main CI Pipeline / API Tests (push) Has been cancelled
Main CI Pipeline / Web Tests (push) Has been cancelled
Main CI Pipeline / Style Check (push) Has been cancelled
Main CI Pipeline / VDB Tests (push) Has been cancelled
Main CI Pipeline / DB Migration Test (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Signed-off-by: majiayu000 <1835304752@qq.com >
2026-01-27 09:32:55 +08:00
盐粒 Yanli
f00d823f9f
chore: move agent notes into docstrings ( #31560 )
2026-01-27 09:32:26 +08:00
zhsama
54fce5e903
feat: Add @agent icon and implement agent alias variables in workflow
...
inspector
2026-01-27 02:42:37 +08:00
yyh
772dbe620d
fix(workflow): disable view switch during preview run instead of mounted guard
...
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
Simpler approach: disable the view picker toggle when preview is running,
preventing users from switching views during active runs.
This replaces the previous mounted ref guard approach (commits a0188bd9b5 ,
b7f1eb9b7b , 8332f0de2b ) which added complexity to handle post-unmount
operations. Disabling the toggle is more direct and follows KISS principle.
Changes:
- Add disabled prop to ViewPicker based on isResponding state
- Revert mounted ref guards in use-chat-flow-control.ts
- Revert isMountedRef parameter in use-nodes/edges-interactions-without-sync.ts
- Revert defensive type check in markdown-utils.ts (no longer needed)
2026-01-27 01:31:22 +08:00
yyh
8332f0de2b
fix(workflow): reinitialize mounted ref on effect setup for StrictMode
...
In React StrictMode (dev mode), effects are run twice to help detect
side effects. The cleanup-only pattern left isMountedRef as false after
StrictMode's simulated unmount-remount cycle, causing stop/cancel
operations to be skipped even when the component was mounted.
Now the effect setup explicitly sets isMountedRef.current = true,
ensuring correct behavior in both development and production.
2026-01-27 01:23:08 +08:00
yyh
b7f1eb9b7b
fix(markdown)!: return empty string for non-string content in preprocessors
...
Related to a9c5201485 - when switching views during active preview run,
the markdown preprocessors could receive non-string content (e.g., frozen
arrays from immer). Returning the original value caused ReactMarkdown to
fail with "Cannot assign to read only property" error.
Now both preprocessLaTeX and preprocessThinkTag return '' for non-string
input, preventing runtime errors during view switches.
2026-01-27 01:10:00 +08:00
yyh
a0188bd9b5
fix(workflow)!: add mounted guard to prevent ReactFlow operations after unmount
...
When switching from graph view to skill view during an active preview run,
SSE callbacks continue executing and attempt to update ReactFlow node/edge
states. This could cause errors since the component is unmounted.
Add optional `isMountedRef` parameter to `useNodesInteractionsWithoutSync`
and `useEdgesInteractionsWithoutSync` hooks. When provided, operations are
skipped if the component has unmounted, preventing potential errors while
allowing the SSE connection to continue running in the background.
BREAKING CHANGE: `useNodesInteractionsWithoutSync` and
`useEdgesInteractionsWithoutSync` now accept an optional `isMountedRef`
parameter. Existing callers are unaffected as the parameter is optional.
2026-01-27 00:43:58 +08:00
Stream
6b439b1699
fix: behave correctly when user is not talking Dify
2026-01-27 00:33:41 +08:00
wangxiaolei
e48419937b
feat: chatflow support multimodal ( #31293 )
...
autofix.ci / autofix (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
Main CI Pipeline / Check Changed Files (push) Has been cancelled
Main CI Pipeline / API Tests (push) Has been cancelled
Main CI Pipeline / Web Tests (push) Has been cancelled
Main CI Pipeline / Style Check (push) Has been cancelled
Main CI Pipeline / VDB Tests (push) Has been cancelled
Main CI Pipeline / DB Migration Test (push) Has been cancelled
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-27 00:24:48 +08:00
yyh
bf12445960
fix(workflow): make FileTree and ArtifactsSection scroll independently
...
The sidebar layout was broken when ArtifactsSection expanded - it would
squeeze the FileTree and neither area could scroll. This restructures the
layout so each section has its own scroll container with proper height
constraints.
2026-01-27 00:14:33 +08:00
Stream
b57b1a6926
feat: generate better instructions
2026-01-27 00:09:11 +08:00
Stream
a9fb73fa31
fix: avoid flask backend error
2026-01-27 00:02:41 +08:00
yyh
a9c5201485
refactor(workflow)!: persist the debug state of the chatflow preview panel to the zustand store and split useChat hook into modular files
2026-01-26 23:21:44 +08:00
yyh
87d033e186
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-26 23:12:44 +08:00
Asuka Minato
5eaf0c733a
fix: service api doc can not gen ( #31549 )
2026-01-26 21:59:02 +09:00
yyh
f561656a89
chore: follow-up fixes for storybook vite migration ( #31545 )
2026-01-26 20:20:14 +08:00
Junyan Qin (Chin)
f01f555146
chore: increase plugin cache ttl to 1 hour ( #31552 )
2026-01-26 19:48:33 +08:00
Joel
55120ea9f7
chore: prompt change also clear useless tool id
2026-01-26 18:29:38 +08:00
Joel
b99311baa0
chore: remove useless toolid
2026-01-26 18:09:46 +08:00
zhsama
ec5964c419
feat: Add support for array[message](List[promptMessage]) variable type
...
in workflow
2026-01-26 17:50:18 +08:00
yyh
5ac70633a2
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# web/pnpm-lock.yaml
2026-01-26 17:09:36 +08:00
Stephen Zhou
47d0e400ae
chore: update to story book nextjs-vite ( #31536 )
autofix.ci / autofix (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
Main CI Pipeline / Check Changed Files (push) Has been cancelled
Main CI Pipeline / API Tests (push) Has been cancelled
Main CI Pipeline / Web Tests (push) Has been cancelled
Main CI Pipeline / Style Check (push) Has been cancelled
Main CI Pipeline / VDB Tests (push) Has been cancelled
Main CI Pipeline / DB Migration Test (push) Has been cancelled
Trigger i18n Sync on Push / trigger (push) Has been cancelled
2026-01-26 17:07:20 +08:00