Harry
beefff3d48
feat(docker-demuxer): implement producer-consumer pattern for stream demultiplexing
...
- Introduced threading to handle Docker's stdout/stderr streams, improving thread safety and preventing race conditions.
- Replaced buffer-based reading with queue-based reading for stdout and stderr.
- Updated read methods to handle errors and end-of-stream conditions more gracefully.
- Enhanced documentation to reflect changes in the demuxing process.
2026-01-08 14:15:41 +08:00
Harry
c2e5081437
feat(llm-panel): collapse panel with advanced settings and max iterations
...
- Introduced a collapsible section for advanced settings in the LLM panel.
- Added Max Iterations component with conditional rendering based on the new hideMaxIterations prop.
- Updated context field and vision configuration to be part of the advanced settings.
- Added new translation key for advanced settings in the workflow localization file.
2026-01-08 12:16:18 +08:00
Harry
786c3e4137
chore: apply ruff
2026-01-08 11:14:44 +08:00
Harry
0d33714f28
fix(command-node): enhance error message formatting in command execution
...
- Improved error message handling by assigning the stderr output to a variable for better readability.
- Ensured consistent error reporting when a command fails, maintaining clarity in the output.
2026-01-08 11:14:37 +08:00
Harry
1fbba38436
fix(command-node): improve error reporting in command execution
...
- Updated error handling to provide detailed stderr output when a command fails.
- Streamlined working directory and command rendering by combining operations into single lines.
2026-01-08 11:14:23 +08:00
Harry
15c3d712d3
feat: sandbox provider configuration
2026-01-08 11:04:12 +08:00
Harry
5b01f544d1
refactor(command-node): streamline command execution and directory checks
...
- Simplified the command execution logic by removing unnecessary shell invocations.
- Enhanced working directory validation by directly using the `test` command.
- Improved command parsing with `shlex.split` for better handling of raw commands.
2026-01-08 11:04:11 +08:00
Yeuoly
fe4c591cfd
feat(daytona-environment): enhance command management with threading support and default API URL
2026-01-07 18:47:22 +08:00
Yeuoly
0cd613ae52
fix(docker-daemon): update default Docker socket to use Unix socket
2026-01-07 18:35:49 +08:00
Yeuoly
0082f468b4
Refactor code structure for improved readability and maintainability
2026-01-07 18:33:13 +08:00
Harry
cd0f41a3e0
fix(command-node): improve working directory handling in CommandNode
...
- Added checks to verify the existence of the specified working directory before executing commands.
- Updated command execution logic to conditionally change the working directory if provided.
- Included FIXME comments to address future enhancements for native cwd support in VirtualEnvironment.run_command.
2026-01-07 15:30:59 +08:00
Harry
094c9fd802
fix: command node single debug run
...
- Added FIXME comments to indicate the need for unifying runtime config checking in AdvancedChatAppGenerator and WorkflowAppGenerator.
- Introduced sandbox management in WorkflowService with proper error handling for sandbox release.
- Enhanced runtime feature handling in the workflow execution process.
2026-01-07 15:22:12 +08:00
Harry
1a203031e0
fix(virtual-env): fix Docker stdout/stderr demuxing and exit code parsing
...
- Add _DockerDemuxer to properly separate stdout/stderr from multiplexed stream
- Fix binary header garbage in Docker exec output (tty=False 8-byte header)
- Fix LocalVirtualEnvironment.get_command_status() to use os.WEXITSTATUS()
- Update tests to use Transport API instead of raw file descriptors
2026-01-07 12:20:07 +08:00
Harry
05c3344554
feat: future interface for easy way to use VM.execute_command
2026-01-07 11:57:00 +08:00
Harry
888be71639
feat: command node output variables
2026-01-07 11:15:52 +08:00
Harry
3902929d9f
feat: new runtime options
2026-01-07 00:01:55 +08:00
Harry
1c7c475c43
feat: add Command node support
...
- Introduced Command node type in workflow with associated UI components and translations.
- Enhanced SandboxLayer to manage sandbox attachment for Command nodes during execution.
- Updated various components and constants to integrate Command node functionality across the workflow.
2026-01-06 19:30:38 +08:00
Harry
caabca3f02
feat: sandbox layer for workflow execution
2026-01-06 15:47:20 +08:00
Harry
36b7075cf4
Merge feat/llm-node-support-tools and fix type errors
...
- Merge origin/feat/llm-node-support-tools branch
- Fix unused variable tenant_id in dsl.py
- Add None checks for app and workflow in dsl.py
- Add type ignore for e2b_code_interpreter import
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 18:32:15 +08:00
Harry
f3761c26e9
Merge remote-tracking branch 'origin/main' into feat/llm-node-support-tools
2026-01-05 18:17:05 +08:00
Harry
43daf4f82c
refactor: rename construct_environment method to _construct_environment for consistency across virtual environment providers
2026-01-05 18:13:13 +08:00
Harry
932be0ad64
feat: session management for InnerAPI&VM
2026-01-05 18:13:13 +08:00
-LAN-
a9e2c05a10
feat(graph-engine): add command to update variables at runtime ( #30563 )
...
autofix.ci / autofix (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
Main CI Pipeline / Check Changed Files (push) Waiting to run
Main CI Pipeline / API Tests (push) Blocked by required conditions
Main CI Pipeline / Web Tests (push) Blocked by required conditions
Main CI Pipeline / Style Check (push) Waiting to run
Main CI Pipeline / VDB Tests (push) Blocked by required conditions
Main CI Pipeline / DB Migration Test (push) Blocked by required conditions
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-05 16:47:34 +08:00
-LAN-
6f8bd58e19
feat(graph-engine): make layer runtime state non-null and bound early ( #30552 )
...
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-05 16:43:42 +08:00
scdeng
591ca05c84
feat(logstore): make graph field optional via env variable LOGSTORE… ( #30554 )
...
Co-authored-by: 阿永 <ayong.dy@alibaba-inc.com>
2026-01-05 16:12:41 +08:00
Stephen Zhou
a72044aa86
chore: fix lint in i18n ( #30571 )
2026-01-05 16:12:12 +08:00
Lework
34f3b288a7
chore(docker): update nltk data download process to include unstructured download_nltk_packages ( #28876 )
2026-01-05 15:50:33 +08:00
-LAN-
a99ac3fe0d
refactor(models): Add mapped type hints to MessageAnnotation ( #27751 )
2026-01-05 15:50:03 +08:00
Stephen Zhou
52149c0d9b
chore(web): add ESLint rules for i18n JSON validation ( #30491 )
2026-01-05 15:49:31 +08:00
wangxiaolei
631f999f65
refactor: use contains_any instead of Chaining where = where | f ( #30559 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-05 15:48:31 +08:00
hsiong
be3ef9f050
fix : #30511 [Bug] knowledge_retrieval_node fails when using Rerank Model: "Working outside of application context" and add regression test ( #30549 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-05 15:02:21 +08:00
dependabot[bot]
93a85ae98a
chore(deps): bump @amplitude/analytics-browser from 2.31.4 to 2.33.1 in /web ( #30538 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-05 15:05:04 +09:00
wangxiaolei
e3e19c437a
fix: fix db env not work ( #30541 )
2026-01-05 11:10:45 +08:00
hsiong
693daea474
fix: INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH settings ( #30463 )
2026-01-05 11:10:04 +08:00
wangxiaolei
bc317a0009
feat: return data_source_info and data_source_detail_dict ( #29912 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-05 11:04:03 +08:00
Kimi WANG
c158dfa198
fix: support to change NEXT_PUBLIC_BASE_PATH env using --build-arg in docker build ( #29836 )
...
Co-authored-by: root <root@KIMI-DESKTOP-01.mchrcloud.com>
2026-01-05 11:03:12 +08:00
Maries
79913590ae
fix(api): surface subscription deletion errors to users ( #30333 )
2026-01-05 11:02:04 +08:00
wangxiaolei
f1fff0a243
fix: fix WorkflowExecution.outputs containing non-JSON-serializable o… ( #30464 )
2026-01-05 10:57:23 +08:00
hsiong
4bb08b93d7
chore: update dockerignore ( #30460 )
2026-01-05 10:55:14 +08:00
wangxiaolei
d0564ac63c
feat: add flask command file-usage ( #30500 )
2026-01-05 10:52:21 +08:00
-LAN-
eb321ad614
chore: Add a new rule for import lint ( #30526 )
2026-01-05 10:48:14 +08:00
dependabot[bot]
7128d71cf7
chore(deps-dev): bump intersystems-irispython from 5.3.0 to 5.3.1 in /api ( #30540 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-05 10:47:39 +08:00
-LAN-
95edbad1c7
refactor(workflow): add Jinja2 renderer abstraction for template transform ( #30535 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-05 10:46:37 +08:00
-LAN-
154abdd915
chore: Update PR template lint command ( #30533 )
2026-01-05 10:46:01 +08:00
longbingljw
c58a093fd1
docs: update comments in docker/.env.example ( #30516 )
autofix.ci / autofix (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
Main CI Pipeline / Check Changed Files (push) Waiting to run
Main CI Pipeline / API Tests (push) Blocked by required conditions
Main CI Pipeline / Web Tests (push) Blocked by required conditions
Main CI Pipeline / Style Check (push) Waiting to run
Main CI Pipeline / VDB Tests (push) Blocked by required conditions
Main CI Pipeline / DB Migration Test (push) Blocked by required conditions
Translate i18n Files Based on English / check-and-update (push) Has been cancelled
2026-01-04 21:52:03 +08:00
-LAN-
06ba40f016
refactor(code_node): implement DI for the code node ( #30519 )
2026-01-04 21:50:42 +08:00
sszaodian
2b838077e0
fix: when first setup after auto login error ( #30523 )
...
Co-authored-by: maxin <maxin7@xiaomi.com>
Co-authored-by: 非法操作 <hjlarry@163.com>
2026-01-04 20:24:49 +08:00
wangxiaolei
473f8ef29c
feat: skip rerank if only one dataset is retrieved ( #30075 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-01-04 20:22:51 +08:00
wangxiaolei
96736144b9
feat: enhance squid config ( #30146 )
2026-01-04 19:59:41 +08:00
yyh
f167e87146
refactor(web): align signup mail submit and tests ( #30456 )
2026-01-04 19:59:06 +08:00