9e54f086dc
fix(web): add rewrite rule to fix Serwist precaching 404 errors ( #31770 )
...
Signed-off-by: majiayu000 <1835304752@qq.com >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-02-05 15:42:18 +08:00
561d8d301f
fix(web): resolve serwist precaching 404 errors
...
- Use defaultCache for service worker caching strategy
- Update serwist route handler configuration
- Simplify sw.ts caching logic
2026-02-05 15:37:38 +08:00
e92b9afd4e
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-05 15:33:01 +08:00
8c31b69c8e
chore: sticky the applist header in explore page ( #31967 )
2026-02-05 14:44:51 +08:00
ef0d18bb61
test: fix test ( #31975 )
2026-02-05 14:31:21 +08:00
eb87512122
fix: scope Reset All button visibility to current tab's data
...
Show the button only when the active tab has data, preventing
the empty-list-with-button scenario on the Variables tab when
only artifacts exist.
2026-02-05 11:43:54 +08:00
aad15a0777
fix: return invalidate promises and parallelize invalidations
2026-02-05 11:42:59 +08:00
740fafc926
feat: show Reset All button on both variable inspect tabs
...
- Change Reset All button visibility from Variables-tab-only to both tabs,
displaying when either variables or artifacts have data
- Invalidate sandbox files cache in deleteAllInspectorVars alongside
existing conversation/system var invalidations
2026-02-05 11:30:53 +08:00
b2df9ba9d3
fix: expand status display different icon
2026-02-05 10:10:04 +08:00
6840c7e37f
chore: rm unused console.warn
2026-02-05 09:13:26 +08:00
a2380c4fd3
fix: ensure sub-graph modal syncs immediately when
...
applying generated code.
2026-02-05 06:07:15 +08:00
52b34b1fdb
fix: Handle format for context generate outputs
2026-02-05 06:07:13 +08:00
0618b2532f
feat: Add Enter key handler support to assemble variables generate modal
2026-02-05 01:36:13 +08:00
15c0011897
feat: implement file structured output
2026-02-05 00:11:39 +08:00
10fb482351
perf: Remove deprecated optional props in LLM node tool config
2026-02-04 22:36:19 +08:00
9bd714623e
feat: Add mutual exclusion between structured output and tools in LLM
...
node
2026-02-04 22:36:19 +08:00
25065a4f2f
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# web/app/components/workflow-app/hooks/use-nodes-sync-draft.ts
# web/contract/router.ts
2026-02-04 21:12:53 +08:00
365f749ed5
fix: remove staleTime/gcTime overrides from trigger query hooks and use orpc contract ( #31863 )
2026-02-04 19:33:32 +08:00
f686197589
feat: use latest hash to sync draft ( #31924 )
2026-02-04 19:32:36 +08:00
3bd228ddb7
chore: bump version in docker-compose and package manager to 1.12.1 ( #31947 )
2026-02-04 19:29:28 +08:00
1e344f773b
refactor(web): extract complex components into modular structure with comprehensive tests ( #31729 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-04 18:35:31 +08:00
8a9e0e3b31
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# web/eslint-suppressions.json
2026-02-04 18:15:32 +08:00
49de78a20b
fix: use oRPC query keys for sandbox file download and invalidation
...
Replaced plain array query key in useSandboxFileDownloadUrl with
oRPC-generated queryKey for type safety and consistency. Added
downloadFile cache invalidation to useInvalidateSandboxFiles so
stale download URLs are cleared after workflow/chatflow runs.
2026-02-04 18:14:20 +08:00
ad3be1e4d0
fix: include locale in appList query key for localization support inuseExploreAppList ( #31921 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-04 18:12:30 +08:00
297dd832aa
refactor(datasets): extract hooks and components with comprehensive tests ( #31707 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-04 18:12:17 +08:00
23f98652e1
perf: Add null check for onAssembleVariables callback
2026-02-04 17:52:13 +08:00
cc5705cb71
fix: auto summary env ( #31930 )
2026-02-04 17:47:38 +08:00
74b027c41a
fix: fix mcp output schema is union type frontend crash ( #31779 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-02-04 17:33:41 +08:00
2df0d540a9
fix: remove unreachable polling from artifacts-section
...
The Skill view is locked (ViewPicker disabled) while a workflow
is running or chatflow is responding, so ArtifactsSection is never
mounted during runs. Polling there is dead code.
2026-02-04 17:31:44 +08:00
5f69470ebf
test: try fix test, clear test log in CI ( #31912 )
2026-02-04 17:05:15 +08:00
625163705b
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-04 16:59:23 +08:00
d0200e90d2
feat: poll sandbox files every 5s during workflow/chatflow runs
...
Add conditional refetchInterval to Artifacts components so the file
list refreshes automatically while a workflow debug run or chatflow
preview is in progress, stopping once the run completes.
2026-02-04 16:59:09 +08:00
ec7ccd800c
fix: fix mcp server status is not right ( #31826 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-02-04 16:55:12 +08:00
ecf4c06ed7
chore: Update prompt editor context labels to Chat History
2026-02-04 15:22:27 +08:00
b96459b656
fix: Fix sub-graph variable null check logic
2026-02-04 15:22:27 +08:00
468990cc39
fix: remove api reference doc link en prefix ( #31910 )
2026-02-04 14:58:26 +08:00
64e769f96e
refactor: plugin detail panel components for better maintainability and code organization. ( #31870 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-04 14:51:47 +08:00
d84aaff825
feat: add loading state to Publish button during workflow publishing
...
Leverage React Query mutation's isPending to disable the Publish button,
header trigger, and keyboard shortcut while a publish is in progress,
preventing duplicate submissions even when the menu is closed and reopened.
2026-02-04 14:34:06 +08:00
00e9dce3ad
feat: add isPreviewable guard for binary file preview in artifacts
...
Add a unified isPreviewable flag to useFileTypeInfo that guards against
rendering binary files as text in both skill artifacts and variable
inspect artifacts preview. Upgrade extension arrays to Sets for O(1)
lookups.
2026-02-04 13:32:22 +08:00
8c6139fa21
chore: update pnpm-lock and remove unused import after merge
2026-02-04 13:16:55 +08:00
c111079624
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/core/file/file_manager.py
# api/core/workflow/graph_engine/response_coordinator/coordinator.py
# api/core/workflow/nodes/llm/node.py
# api/core/workflow/nodes/tool/tool_node.py
# api/pyproject.toml
# web/package.json
# web/pnpm-lock.yaml
2026-02-04 13:15:49 +08:00
d8402f686e
fix: base url in client ( #31902 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-04 12:09:22 +08:00
d056b23168
fix: use neutral title for artifacts empty state to fit both scenarios
2026-02-04 12:02:39 +08:00
36bfb08f34
fix: collaboration user's name display in editor line 1
2026-02-04 10:11:40 +08:00
45daec7541
refactor: replace line-clamp package with native CSS ( #31877 )
...
Co-authored-by: OSS Contributor <oss-contributor@example.com >
Co-authored-by: Claude (claude-opus-4-5) <noreply@anthropic.com >
Co-authored-by: niveshdandyan <niveshdandyan@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-03 22:14:18 +08:00
f1d099d50d
refactor: extract skill save context, stabilize mutation dependency, and deduplicate cache updates
...
Split SkillSaveContext and useSkillSaveManager into a separate file to
fix react-refresh/only-export-components lint error. Destructure
mutateAsync from useUpdateAppAssetFileContent for a stable callback
reference, preventing unnecessary useCallback cascade rebuilds. Extract
shared patchFileContentCache helper to unify setQueryData logic between
updateCachedContent and the collaboration event handler.
2026-02-03 21:09:35 +08:00
b76c8fa853
test: fix test ( #31880 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-03 18:47:05 +08:00
8c3e77cd0c
chore: update version to 1.12.0 ( #31878 )
2026-02-03 18:08:15 +08:00
c9b0d90ca7
Merge branch 'feat/support-agent-sandbox' of github.com:langgenius/dify into feat/support-agent-sandbox
2026-02-03 18:00:44 +08:00
70c887ed5c
fix undo/redo
2026-02-03 18:00:06 +08:00