Novice
1bdc47220b
fix: mention graph config don't support structured output
2026-01-19 19:59:19 +08:00
Harry
956436b943
feat(sandbox): skill initialize & draft run
2026-01-19 18:15:39 +08:00
Harry
3bb9c4b280
feat(constants): introduce DIFY_CLI_ROOT and update paths for Dify CLI and app assets
...
- Added DIFY_CLI_ROOT constant for the root directory of Dify CLI.
- Updated DIFY_CLI_PATH and DIFY_CLI_CONFIG_PATH to use absolute paths.
- Modified app asset initialization to create directories under DIFY_CLI_ROOT.
- Enhanced Docker and E2B environment file handling to use workspace paths.
2026-01-19 18:15:39 +08:00
Harry
c38463c9a9
refactor: reorganize asset-related classes into entities module and remove unused skill and asset files
2026-01-19 18:15:39 +08:00
Novice
dbc70f8f05
feat: add inner graph api
2026-01-19 17:13:07 +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
9f09414dbe
refactor: make url in email template more better ( #31166 )
2026-01-19 14:28:41 +08:00
Harry
0de32f682a
feat(skill): skill parser & packager
2026-01-19 12:41:01 +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
非法操作
b0545635b8
chore: improve clear workflow_run task ( #31124 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: hj24 <mambahj24@gmail.com>
2026-01-19 10:58:57 +08:00
yyh
15d6f60f25
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-17 17:03:32 +08:00
Harry
721d82b91a
refactor(sandbox): modify sandbox provider configuration by adding 'configure_type' column and updating unique constraints
2026-01-16 19:02:16 +08:00
Harry
16078a9df6
refactor(sandbox): update DifyCliLocator path resolution and enhance sandbox provider configuration logic
2026-01-16 18:37:43 +08:00
Harry
0bd17c6d0f
refactor(sandbox): sandbox provider system default configuration
2026-01-16 18:22:44 +08:00
Xiangxuan Qu
1a9fdd9a65
refactor: migrate tag list API query parameters to Pydantic ( #31097 )
...
Co-authored-by: fghpdf <fghpdf@users.noreply.github.com>
2026-01-16 17:49:52 +08:00
Stream
de610cbf39
fix: call get_text_content() instead of casting to str ( #31121 )
...
Signed-off-by: Stream <Stream_2@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-16 18:41:00 +09:00
yyh
ee7a9a34e0
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-16 17:25:19 +08:00
Novice
4ee49552ce
feat: add prompt variable message
2026-01-16 17:10:18 +08:00
Novice
18abc66585
feat: add context file support
2026-01-16 17:01:44 +08:00
盐粒 Yanli
b2cc9b255d
chore: Update coding agent workflow for backend ( #31093 )
2026-01-16 14:28:47 +08:00
Novice
a7826d9ea4
feat: agent add context
2026-01-16 11:47:55 +08:00
yyh
5aca563a01
fix: migrations
2026-01-16 10:26:53 +08:00
Harry
d8bafb0d1c
refactor(app-asset): remove deprecated file download resource and streamline download URL handling with pre-signed storage
2026-01-15 19:28:15 +08:00
Harry
cd0724b827
refactor(app-asset-service): remove unused signed proxy URL generation and improve error handling for download URL
2026-01-15 19:28:15 +08:00
yyh
713e040481
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-15 17:26:58 +08:00
Harry
6bb09dc58c
feat(app-assets): add file download functionality with pre-signed URLs and enhance asset management
2026-01-15 17:20:10 +08:00
Harry
33f3374ea6
refactor(sandbox): simplify sandbox_layer by removing ArchiveSandboxStorage and updating event handling
2026-01-15 17:20:10 +08:00
Harry
41baaca21d
feat(sandbox): integrate ArchiveSandboxStorage into AdvancedChat and Workflow app generators
2026-01-15 17:20:10 +08:00
zhsama
e89d4e14ea
Merge branch 'main' into feat/pull-a-variable
2026-01-15 16:14:15 +08:00
Xiyuan Chen
772ff636ec
feat: credential sync fix for enterprise edition ( #30626 )
2026-01-14 23:33:24 -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
Harry
c1c8b6af44
chore: remove duplicate secret field in CliApiSession
2026-01-15 12:10:53 +08:00
-LAN-
0ef8b5a0ca
chore: bump version to 1.11.4 ( #30961 )
2026-01-15 11:36:15 +08:00
wangxiaolei
2bfc54314e
feat: single run add opentelemetry ( #31020 )
2026-01-15 11:10:55 +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
Joseph Adams
4955de5905
fix: validation error when uploading images with None URL values ( #31012 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-01-15 10:54:10 +08:00
Asuka Minato
d3923e7b56
refactor: port AppAnnotationHitHistory ( #30922 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-15 10:14:55 +08:00
Asuka Minato
2f633de45e
refactor: port TenantCreditPool ( #30926 )
...
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-15 10:14:15 +08:00
wangxiaolei
98c88cec34
refactor: delete_endpoint should be idempotent ( #30954 )
2026-01-15 10:10:10 +08:00
Asuka Minato
f7f9a08fa5
refactor: port TidbAuthBinding( ( #31006 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-15 10:07:02 +08:00
wangxiaolei
5008f5e89b
fix: Use raw SQL UPDATE to set read status without triggering updated… ( #31015 )
2026-01-15 09:51:44 +08:00
Harry
6cb8d03bf6
feat(sandbox): enhance SandboxLayer with app_id handling and storage integration
...
- Introduce _app_id attribute to store application ID from system variables
- Add _get_app_id method to retrieve and validate app_id
- Update on_graph_start to log app_id during sandbox initialization
- Integrate ArchiveSandboxStorage for persisting and restoring sandbox files
- Ensure proper error handling for sandbox file operations
2026-01-15 00:28:41 +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
wangxiaolei
1dd89a02ea
fix: fix missing id and message_id ( #31008 )
2026-01-14 23:26:17 +09: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
Harry
425d182f21
refactor: move app_asset_tree module and update imports in app_asset and app_asset_service
2026-01-14 20:31:40 +08:00
Harry
4394ba1fe1
feat(skill): implement app asset management features including folder and file operations, error handling, and database migration for app asset drafts
2026-01-14 20:25:17 +08:00
wangxiaolei
0ec2b12e65
feat: allow pass hostname in docker env ( #30975 )
2026-01-14 19:30:37 +08:00
kenwoodjw
08026f7399
fix(deps): security updates for pdfminer.six, authlib, werkzeug, aiohttp and others ( #30976 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2026-01-14 17:03:46 +08:00
Harry
5ac2230c5d
feat: sandbox storage
2026-01-14 16:31:24 +08:00
yyh
7209ef4aa7
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-14 16:16:28 +08:00
-LAN-
01f17b7ddc
refactor(http_request_node): apply DI for http request node ( #30509 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-14 14:19:48 +08:00
Novice
495d575ebc
feat: add assemble variable builder api
2026-01-14 14:12:36 +08:00
yyh
7ce144f493
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-14 13:40:39 +08:00
heyszt
3473ff7ad1
fix: use Factory to create repository in Aliyun Trace ( #30899 )
2026-01-14 10:21:46 +08:00
fanadong
138c56bd6e
fix(logstore): prevent SQL injection, fix serialization issues, and optimize initialization ( #30697 )
2026-01-14 10:21:26 +08:00
jialin li
c327d0bb44
fix: Correction to the full name of Volc TOS ( #30741 )
2026-01-14 10:11:30 +08:00
dependabot[bot]
e4b97fba29
chore(deps): bump azure-core from 1.36.0 to 1.38.0 in /api ( #30941 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-14 10:10:49 +08:00
UMDKyle
7f9884e7a1
feat: Add option to delete or keep API keys when uninstalling plugin ( #28201 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2026-01-14 10:09:30 +08:00
dependabot[bot]
e389cd1665
chore(deps): bump filelock from 3.20.0 to 3.20.3 in /api ( #30939 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-14 09:56:02 +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
wangxiaolei
87f348a0de
feat: change param to pydantic model ( #30870 )
2026-01-14 09:46:41 +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
Harry
f28ded8455
feat(agent-sandbox): new tool resolver and bash execution implementation
2026-01-13 18:16:48 +08:00
-LAN-
a22cc5bc5e
chore: Bump Dify version to 1.11.3 ( #30903 )
2026-01-13 17:49:13 +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
非法操作
c09e29c3f8
chore: rename the migration file ( #30893 )
2026-01-13 15:26:41 +08:00
wangxiaolei
2d53ba8671
fix: fix object value is optional should skip validate ( #30894 )
2026-01-13 15:21:06 +08:00
yyh
1ed4ab4299
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-13 14:19:04 +08:00
Novice
969c96b070
feat: add stream response
2026-01-13 14:13:43 +08:00
呆萌闷油瓶
9be863fefa
fix: missing content if assistant message with tool_calls ( #30083 )
...
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-13 12:46:33 +08:00
yyh
9eafe982ee
fix: migration
2026-01-13 10:21:38 +08:00
yyh
a46bfdd0fc
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-13 10:15:59 +08:00
heyszt
450578d4c0
feat(ops): set root span kind for AliyunTrace to enable service-level metrics aggregation ( #30728 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-13 10:12:00 +08:00
非法操作
837237aa6d
fix: use node factory for single-step workflow nodes ( #30859 )
2026-01-13 10:11:18 +08:00
Harry
16f26c4f99
feat(cli_api): implement CLI API for external sandbox interactions, including session management and request handling
2026-01-12 20:57:07 +08:00
Novice
bb190f9610
feat: add mention type variable
2026-01-12 17:40:37 +08:00
zhsama
d65ae68668
Merge branch 'main' into feat/pull-a-variable
...
# Conflicts:
# .nvmrc
2026-01-12 17:15:56 +08:00
Harry
42fd0a0a62
refactor(sandbox): simplify command execution by using shlex for command parsing and improve output formatting
2026-01-12 16:35:09 +08:00
QuantumGhost
b63dfbf654
fix(api): defer streaming response until referenced variables are updated ( #30832 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-12 16:23:18 +08:00
非法操作
51ea87ab85
feat: clear free plan workflow run logs ( #29494 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-01-12 15:57:40 +08:00
Harry
b78439b334
refactor(llm): update model features handling and change agent strategy to FUNCTION_CALLING
2026-01-12 15:52:26 +08:00
Harry
1082d73355
refactor(sandbox): remove unused SANDBOX_WORK_DIR constant and update bash command descriptions for clarity
2026-01-12 15:02:30 +08:00
Harry
201a18d6ba
refactor(virtual_environment): add cwd parameter to execute_command method across all providers for improved command execution context
2026-01-12 14:20:03 +08:00
Harry
f990f4a8d4
refactor(sandbox): update DIFY_CLI_PATH and DIFY_CLI_CONFIG_PATH to use SANDBOX_WORK_DIR and enhance error handling in SandboxSession
2026-01-12 14:07:54 +08:00