17404e0956
chore: update binary files and refactor LLMNode skill compilation
...
- Updated binary files for Dify CLI on various platforms (darwin amd64, darwin arm64, linux amd64, linux arm64).
- Refactored skill compilation in LLMNode to improve clarity and maintainability by explicitly naming parameters and incorporating AppAssets for base path management.
- Minor fix in AppAssetFileTree to remove unnecessary leading slash in path construction.
2026-01-22 22:46:57 +08:00
b87e303c00
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# web/eslint-suppressions.json
# web/service/debug.ts
2026-01-22 22:40:32 +08:00
61f8647f37
docs(api): mark SystemFeatureApi as unauthenticated by design ( #31417 )
...
The `/console/api/system-features` is required for the dashboard initialization. Authentication would create circular dependency (can't login without dashboard loading).
ref: CVE-2025-63387
Related: #31368
2026-01-22 22:33:59 +08:00
356a156f36
chore(i18n): sync translations with en-US ( #31413 )
...
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2026-01-22 20:56:19 +08:00
d32996b8c9
feat: enhance sandbox initializers with async and sync support
2026-01-22 19:58:38 +08:00
a3cf73b220
feat: refactor initializers to support async and sync execution
2026-01-22 19:54:54 +08:00
e2d7fe9c72
fix(web): use Array.from() for FileList to fix tsc type errors ( #31398 )
2026-01-22 19:51:24 +08:00
55c588a03a
feat: add async_initialize method to asset initializers
2026-01-22 19:49:41 +08:00
3058415b4e
feat: switch async
2026-01-22 19:42:09 +08:00
c3b4029d0b
feat: DraftAppAssetsInitializer
2026-01-22 19:18:46 +08:00
5e16d85ff6
refactor(sandbox): async init and draft downloads
...
Reduce startup latency by deferring sandbox setup and downloading draft assets directly with cached presigned URLs.
2026-01-22 19:18:34 +08:00
87f35efa2f
chore: Update pnpm to 10.28.1
2026-01-22 19:07:24 +08:00
73ce9993f2
refactor: Replace SimpleSelect with PortalToFollowElem in sub-graph
...
config panel
2026-01-22 18:57:04 +08:00
b9f718005c
feat: frontend part of support try apps ( #31287 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2026-01-22 18:16:37 +08:00
c575c34ca6
refactor: Move workflow node factory to app workflow ( #31385 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2026-01-22 18:08:21 +08:00
a112caf5ec
fix: use thread local isolation the context ( #31410 )
2026-01-22 18:02:54 +08:00
9d80770dfc
feat(sandbox): enhance sandbox management and tool artifact handling
...
- Introduced SandboxManager.delete_storage method for improved storage management.
- Refactored skill loading and tool artifact handling in DifyCliInitializer and SandboxBashSession.
- Updated LLMNode to extract and compile tool artifacts, enhancing integration with skills.
- Improved attribute management in AttrMap for better error handling and retrieval methods.
2026-01-22 17:26:09 +08:00
e7c3e4cd21
feat: introduce attribute management system for sandbox
...
- Added AttrMap and AttrKey classes for type-safe attribute storage.
- Implemented AppAssetsAttrs and SkillAttrs for managing application and skill attributes.
- Refactored Sandbox and initializers to utilize the new attribute management system, enhancing modularity and clarity in asset handling.
2026-01-22 17:26:09 +08:00
ecd6c44a32
perf(web): parallelize folder upload for better performance
...
Optimize folder upload by creating folders at the same depth level in
parallel and uploading all files concurrently. This reduces upload time
from O(n) sequential requests to O(depth) folder requests + 1 file request.
2026-01-22 17:06:22 +08:00
43648b1660
feat: tool config
2026-01-22 17:00:59 +08:00
9733621301
fix(web): align table selector dropdown style with design
...
- Update font from system-xs-regular to system-sm-medium
- Add table icon to dropdown items
- Adjust spacing and border radius to match Figma design
2026-01-22 16:46:32 +08:00
bc22739a96
fix: migrations
2026-01-22 16:42:04 +08:00
d09d8d34c2
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/controllers/console/app/error.py
2026-01-22 16:40:19 +08:00
6325a3458f
chore: cap sqlite preview rows
2026-01-22 16:37:33 +08:00
510a02286f
fix(web): disable single tilde strikethrough in markdown rendering ( #31400 )
...
Signed-off-by: majiayu000 <1835304752@qq.com >
2026-01-22 16:33:17 +08:00
808510746e
fix: show columns for empty sqlite tables
2026-01-22 16:25:43 +08:00
da738dddab
refactor: extract sqlite table hook
2026-01-22 16:19:35 +08:00
aa1ee123b3
refactor: extract sqlite table panel
2026-01-22 16:18:15 +08:00
e69163d072
refactor: extract sqlite constants
2026-01-22 16:15:58 +08:00
b6228c99cd
refactor: extract sqlite types
2026-01-22 16:15:19 +08:00
6c75893956
feat: use virtual scroll for db preview
2026-01-22 16:13:10 +08:00
878e34c582
fix: more doc link fix ( #31395 )
...
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com >
2026-01-22 16:13:10 +08:00
f7f4d066dc
fix: following docs link fix ( #31390 )
...
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com >
2026-01-22 16:13:10 +08:00
bc3629370d
fix: non-auto variable type params of agent node tool are not correctly parsed ( #31128 )
...
Co-authored-by: wangzejie <wangzejie@meicai.cn >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-22 16:13:10 +08:00
397d6decc0
fix: fix visibilityState event handle ( #31354 )
2026-01-22 16:13:10 +08:00
f23cc6be02
fix: remove _try_resolve_user_from_request ( #31360 )
2026-01-22 16:13:10 +08:00
512c117395
test: enhance HitTestingPage tests with additional coverage for rende… ( #31355 )
2026-01-22 16:13:10 +08:00
03f53f2282
chore: revert jsdom update ( #31353 )
2026-01-22 16:13:10 +08:00
ef97352f71
refactor(db): enforce non-null message annotation questions ( #27915 )
2026-01-22 16:13:10 +08:00
b2071a4352
refactor(web): useClipboard hook to reduce duplication ( #31308 )
...
Signed-off-by: SherlockShemol <shemol@163.com >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-22 16:13:10 +08:00
463060ce52
test: fix test in #30849 ( #31350 )
2026-01-22 16:13:09 +08:00
dc55591a5e
chore(i18n): sync translations with en-US ( #31342 )
...
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2026-01-22 16:13:09 +08:00
3de33f7a4e
fix: check and update doc links ( #30849 )
...
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com >
2026-01-22 16:13:09 +08:00
deeadb7f8e
chore(i18n): sync translations with en-US ( #31332 )
...
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2026-01-22 16:13:09 +08:00
29deee8161
fix(i18n): update model provider tip to only mention OpenAI in English, Japanese, and Simplified Chinese translations ( #31339 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-22 16:13:09 +08:00
c46b12b234
chore(web): refactor next.config.js to next.config.ts ( #31331 )
2026-01-22 16:13:09 +08:00
ff07ca97df
fix: prevent horizontal page scroll in skill editor layout
...
Add overflow-hidden to SkillPageLayout and min-w-0 to flex children
to ensure wide content (like SQLite tables with many columns) scrolls
internally rather than causing the entire page to scroll horizontally.
2026-01-22 16:13:09 +08:00
ed60a375b5
fix: improve sqlite file preview layout and single table handling
...
- Add min-w-0 to flex containers for proper text truncation
- Use w-max on table to ensure columns don't collapse
- Simplify table selector when only one table exists (remove dropdown)
2026-01-22 16:13:09 +08:00
11005ccb63
feat: add sqlite file preview
2026-01-22 16:13:09 +08:00
4a88ffdf2a
feat: align workflow view picker layout
2026-01-22 16:13:09 +08:00