[PR #256] [MERGED] feat: add configurable stdio buffer sizes for plugins #404

Closed
opened 2026-02-16 01:15:52 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/256
Author: @Yeuoly
Created: 4/30/2025
Status: Merged
Merged: 4/30/2025
Merged by: @Yeuoly

Base: mainHead: feat/make-buffer-size-configurable


📝 Commits (1)

  • 98b4e53 feat: add configurable stdio buffer sizes for plugins

📊 Changes

8 files changed (+63 additions, -16 deletions)

View changed files

📝 .env.example (+5 -1)
📝 internal/core/plugin_manager/launcher.go (+2 -0)
📝 internal/core/plugin_manager/local_runtime/run.go (+4 -1)
📝 internal/core/plugin_manager/local_runtime/stdio.go (+22 -0)
📝 internal/core/plugin_manager/local_runtime/stdio_test.go (+14 -14)
📝 internal/core/plugin_manager/local_runtime/type.go (+7 -0)
📝 internal/core/plugin_manager/manager.go (+6 -0)
📝 internal/types/app/config.go (+3 -0)

📄 Description

Closes #254 https://github.com/langgenius/dify/issues/18731

  • Introduced new configuration options for plugin stdio buffer sizes in the .env.example file.
  • Updated the PluginManager and LocalPluginRuntime to utilize these new buffer size settings.
  • Enhanced the stdioHolder to accept buffer size configurations, improving plugin output handling.
  • Modified related tests to accommodate the new stdioHolder configuration structure.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-daemon/pull/256 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 4/30/2025 **Status:** ✅ Merged **Merged:** 4/30/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `feat/make-buffer-size-configurable` --- ### 📝 Commits (1) - [`98b4e53`](https://github.com/langgenius/dify-plugin-daemon/commit/98b4e53fa9f3a86f5059ee88ae772340835e2937) feat: add configurable stdio buffer sizes for plugins ### 📊 Changes **8 files changed** (+63 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+5 -1) 📝 `internal/core/plugin_manager/launcher.go` (+2 -0) 📝 `internal/core/plugin_manager/local_runtime/run.go` (+4 -1) 📝 `internal/core/plugin_manager/local_runtime/stdio.go` (+22 -0) 📝 `internal/core/plugin_manager/local_runtime/stdio_test.go` (+14 -14) 📝 `internal/core/plugin_manager/local_runtime/type.go` (+7 -0) 📝 `internal/core/plugin_manager/manager.go` (+6 -0) 📝 `internal/types/app/config.go` (+3 -0) </details> ### 📄 Description Closes #254 https://github.com/langgenius/dify/issues/18731 - Introduced new configuration options for plugin stdio buffer sizes in the .env.example file. - Updated the PluginManager and LocalPluginRuntime to utilize these new buffer size settings. - Enhanced the stdioHolder to accept buffer size configurations, improving plugin output handling. - Modified related tests to accommodate the new stdioHolder configuration structure. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:15:52 -05:00
yindo closed this issue 2026-02-16 01:15:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#404