feat: Add --max-size flag to dify plugin package #185

Closed
opened 2026-02-16 00:20:23 -05:00 by yindo · 0 comments
Owner

Originally created by @kenwoodjw on GitHub (Sep 8, 2025).

Self Checks

To make sure we get to you in time, please check the following :)

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • "Please do not modify this template :) and fill in all the required fields."

Is your feature request related to a problem? Please describe.
The max plugin package size was hard‑coded to 50MB, making packaging fail for valid plugins and forcing code changes to adjust the limit

Describe the solution you'd like

Add --max-size flag (MB, default 50) to dify plugin package.
Pass this value to the packager; use 50MB when omitted or non‑positive.

Describe alternatives you've considered

Config file or env var (global, less explicit).
Keep hard‑coded limit (inflexible).

Additional context

Example: dify plugin package /path/to/plugin -o out.difypkg --max-size 100

Originally created by @kenwoodjw on GitHub (Sep 8, 2025). **Self Checks** To make sure we get to you in time, please check the following :) - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify-plugin-daemon/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] "Please do not modify this template :) and fill in all the required fields." **Is your feature request related to a problem? Please describe.** The max plugin package size was hard‑coded to 50MB, making packaging fail for valid plugins and forcing code changes to adjust the limit **Describe the solution you'd like** Add --max-size flag (MB, default 50) to dify plugin package. Pass this value to the packager; use 50MB when omitted or non‑positive. **Describe alternatives you've considered** Config file or env var (global, less explicit). Keep hard‑coded limit (inflexible). **Additional context** Example: dify plugin package /path/to/plugin -o out.difypkg --max-size 100
yindo closed this issue 2026-02-16 00:20:23 -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#185