Harry
5565546295
feat(skill-compiler): skill compiler
2026-01-22 13:41:21 +08:00
Novice
5cb8d4cc11
refactor: rename mention node to nested_node for generic sub-graph support
2026-01-22 13:15:13 +08:00
Stream
0ac847fb3c
refactor: unify structured output with pydantic model
...
Signed-off-by: Stream <Stream_2@qq.com >
2026-01-21 21:04:33 +08:00
Harry
9ed83a808a
refactor: consolidate sandbox management and initialization
...
- Moved sandbox-related classes and functions into a dedicated module for better organization.
- Updated the sandbox initialization process to streamline asset management and environment setup.
- Removed deprecated constants and refactored related code to utilize new sandbox entities.
- Enhanced the workflow context to support sandbox integration, allowing for improved state management during execution.
- Adjusted various components to utilize the new sandbox structure, ensuring compatibility across the application.
2026-01-21 20:42:44 +08:00
yyh
b0a059250a
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-21 14:52:11 +08:00
wangxiaolei
34436fc89c
feat: workflow support register context and read context ( #31265 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maries <xh001x@hotmail.com >
2026-01-21 14:31:47 +08:00
yyh
c3333006cf
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-21 13:52:47 +08:00
wangxiaolei
121d301a41
refactor: use session factory instead of call db.session directly ( #31198 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-21 13:43:06 +08:00
Harry
18a589003e
feat(sandbox): enhance sandbox initialization with draft support and asset management
...
- Introduced DraftAppAssetsInitializer for handling draft assets.
- Updated SandboxLayer to conditionally set sandbox ID and storage based on workflow version.
- Improved asset initialization logging and error handling.
- Refactored ArchiveSandboxStorage to support exclusion patterns during archiving.
- Modified command and LLM nodes to retrieve sandbox from workflow context, supporting draft workflows.
2026-01-20 19:45:04 +08:00
yyh
4fa7843050
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-20 18:42:02 +08:00
Novice
27de07e93d
chore: fix the llm node memory issue
2026-01-20 13:52:45 +08:00
Novice
1483a51aa1
Merge branch 'feat/pull-a-variable' into feat/support-agent-sandbox
2026-01-20 09:54:41 +08:00
Harry
f5a34e9ee8
feat(skill): skill support
2026-01-20 03:02:34 +08:00
Harry
956436b943
feat(sandbox): skill initialize & draft run
2026-01-19 18:15:39 +08:00
盐粒 Yanli
62ac02a568
feat: Download the uploaded files ( #31068 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-19 16:48:13 +08:00
yyh
d3d1ba2488
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/core/app/apps/workflow/app_generator.py
2026-01-19 16:33:10 +08:00
wangxiaolei
88780c7eb7
fix: Revert "fix: fix create app xss issue" ( #31219 )
2026-01-19 16:07:24 +08:00
wangxiaolei
0f1db88dcb
fix: fix dify-plugin-daemon error message ( #31218 )
2026-01-19 16:00:44 +08:00
zhsama
066d18df7a
Merge branch 'main' into feat/pull-a-variable
2026-01-19 15:00:15 +08:00
wangxiaolei
3b225c01da
refactor: refactor workflow context ( #30607 )
2026-01-19 12:18:51 +08:00
Xiyuan Chen
72ce6ca437
feat: implement workspace permission checks for member invitations an… ( #31202 )
2026-01-18 19:35:50 -08:00
Harry
0bd17c6d0f
refactor(sandbox): sandbox provider system default configuration
2026-01-16 18:22:44 +08:00
Novice
18abc66585
feat: add context file support
2026-01-16 17:01:44 +08:00
yyh
713e040481
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-15 17:26:58 +08:00
zhsama
e89d4e14ea
Merge branch 'main' into feat/pull-a-variable
2026-01-15 16:14:15 +08:00
hj24
33e99f069b
fix: message clean service ut ( #31038 )
2026-01-15 15:13:25 +08:00
hj24
52af829f1f
refactor: enhance clean messages task ( #29638 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 非法操作 <hjlarry@163.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-15 14:03:17 +08:00
Harry
63b3e71909
refactor(sandbox): redesign sandbox_layer & reorganize import paths
2026-01-15 13:22:49 +08:00
yyh
657739d48b
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/models/model.py
# web/contract/router.ts
2026-01-15 10:59:45 +08:00
wangxiaolei
98c88cec34
refactor: delete_endpoint should be idempotent ( #30954 )
2026-01-15 10:10:10 +08:00
Harry
94ff904a04
feat(sandbox): add AppAssetsInitializer and refactor VMFactory to VMBuilder
...
- Add AppAssetsInitializer to load published app assets into sandbox
- Refactor VMFactory.create() to VMBuilder with builder pattern
- Extract SandboxInitializer base class and DifyCliInitializer
- Simplify SandboxLayer constructor (remove options/environments params)
- Fix circular import in sandbox module by removing eager SandboxBashTool export
- Update SandboxProviderService to return VMBuilder instead of VirtualEnvironment
2026-01-15 00:13:52 +08:00
Harry
a0c388f283
refactor(sandbox): extract connection helpers and move run_command to helper module
...
- Add helpers.py with connection management utilities:
- with_connection: context manager for connection lifecycle
- submit_command: execute command and return CommandFuture
- execute: run command with auto connection, raise on failure
- try_execute: run command with auto connection, return result
- Add CommandExecutionError to exec.py for typed error handling
with access to exit_code, stderr, and full result
- Remove run_command method from VirtualEnvironment base class
(now available as submit_command helper)
- Update all call sites to use new helper functions:
- sandbox/session.py
- sandbox/storage/archive_storage.py
- sandbox/bash/bash_tool.py
- workflow/nodes/command/node.py
- Add comprehensive unit tests for helpers with connection reuse
2026-01-15 00:13:52 +08:00
yyh
31427e9c42
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-14 21:15:23 +08:00
yyh
384b99435b
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/.env.example
# api/uv.lock
2026-01-14 21:14:36 +08:00
盐粒 Yanli
5bf4114d6f
fix: increase name length limit in ExternalDatasetCreatePayload ( #31000 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-01-14 22:13:53 +09:00
wangxiaolei
0ec2b12e65
feat: allow pass hostname in docker env ( #30975 )
2026-01-14 19:30:37 +08:00
yyh
7ce144f493
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-14 13:40:39 +08:00
fanadong
138c56bd6e
fix(logstore): prevent SQL injection, fix serialization issues, and optimize initialization ( #30697 )
2026-01-14 10:21:26 +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
c5482c2503
Merge branch 'main' into feat/pull-a-variable
2026-01-13 22:57:27 +08:00
-LAN-
206706987d
refactor(variables): clarify base vs union type naming ( #30634 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-13 23:39:34 +09:00
Yunlu Wen
a129e684cc
feat: inject traceparent in enterprise api ( #30895 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-13 23:37:39 +09:00
wangxiaolei
fe07c810ba
fix: fix instance is not bind to session ( #30913 )
2026-01-13 21:15:21 +08:00
Novice
9b961fb41e
feat: structured output support file type
2026-01-13 16:48:01 +08:00
Novice
4f79d09d7b
chore: change the DSL design
2026-01-13 16:10:18 +08:00
非法操作
491e1fd6a4
chore: case insensitive email ( #29978 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2026-01-13 15:42:44 +08:00
Novice
969c96b070
feat: add stream response
2026-01-13 14:13:43 +08:00
yyh
a46bfdd0fc
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-13 10:15:59 +08:00
非法操作
837237aa6d
fix: use node factory for single-step workflow nodes ( #30859 )
2026-01-13 10:11:18 +08:00
Novice
bb190f9610
feat: add mention type variable
2026-01-12 17:40:37 +08:00