[PR #455] [MERGED] 454 bump cli template #517

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/455
Author: @crazywoola
Created: 9/22/2025
Status: Merged
Merged: 9/22/2025
Merged by: @crazywoola

Base: mainHead: 454-bump-cli-template


📝 Commits (3)

📊 Changes

12 files changed (+155 additions, -137 deletions)

View changed files

📝 cmd/commandline/plugin/templates/python/GUIDE.md (+119 -130)
📝 cmd/commandline/plugin/templates/python/agent_provider.yaml (+4 -0)
📝 cmd/commandline/plugin/templates/python/agent_strategy.yaml (+6 -0)
📝 cmd/commandline/plugin/templates/python/datasource.yaml (+4 -0)
📝 cmd/commandline/plugin/templates/python/datasource_provider.yaml (+2 -0)
📝 cmd/commandline/plugin/templates/python/endpoint_group.yaml (+2 -0)
📝 cmd/commandline/plugin/templates/python/llm.yaml (+1 -0)
📝 cmd/commandline/plugin/templates/python/model_provider.yaml (+4 -0)
📝 cmd/commandline/plugin/templates/python/requirements.txt (+1 -1)
📝 cmd/commandline/plugin/templates/python/tool.yaml (+4 -0)
📝 cmd/commandline/plugin/templates/python/tool_provider.yaml (+2 -0)
📝 cmd/commandline/plugin/templates/python/tts.yaml (+6 -6)

📄 Description

Description

This pull request introduces several improvements to the Python plugin templates for Dify, focusing on enhanced internationalization support, updated documentation, and dependency upgrades. The main changes are the addition of Japanese language translations across all plugin template YAML files, a major rewrite and restructuring of the plugin development guide for clarity and usability, and an upgrade of the required dify_plugin SDK version.

Internationalization enhancements:

  • Added Japanese (ja_JP) translations to all user-facing fields (labels, descriptions, parameters, help texts, etc.) in plugin template YAML files, including tool.yaml, tool_provider.yaml, datasource.yaml, datasource_provider.yaml, model_provider.yaml, agent_provider.yaml, agent_strategy.yaml, endpoint_group.yaml, and llm.yaml. This ensures broader accessibility for Japanese-speaking users. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]

Documentation improvements:

  • Completely rewrote and restructured the GUIDE.md file to provide a clearer, more concise, and step-by-step guide for developing Dify plugins. The new guide uses tables, collapsible sections, and improved formatting for better readability and onboarding experience.

Dependency updates:

  • Upgraded the required version of the dify_plugin SDK in requirements.txt from >=0.2.0,<0.3.0 to >=0.4.0,<0.7.0, ensuring compatibility with the latest SDK features and bug fixes.

Feature support:

  • Added Japanese (ja-JP) language support to all voice modes in the TTS plugin template (tts.yaml), expanding the range of supported languages for text-to-speech features.

These changes collectively improve the usability, accessibility, and maintainability of Dify plugin development for a global audience.

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Performance improvement
  • Other

Essential Checklist

Testing

  • I have tested the changes locally and confirmed they work as expected
  • I have added unit tests where necessary and they pass successfully

Bug Fix (if applicable)

  • I have used GitHub syntax to close the related issue (e.g., Fixes #123 or Closes #123)

Additional Information

Please provide any additional context that would help reviewers understand the changes.


🔄 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/455 **Author:** [@crazywoola](https://github.com/crazywoola) **Created:** 9/22/2025 **Status:** ✅ Merged **Merged:** 9/22/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `454-bump-cli-template` --- ### 📝 Commits (3) - [`559277f`](https://github.com/langgenius/dify-plugin-daemon/commit/559277fc55401115454dc3ed143fbb7c7cee4048) feat: update template - [`c8d8c1a`](https://github.com/langgenius/dify-plugin-daemon/commit/c8d8c1a985b5c8334af4ae59d1157bc175d1a147) feat: update ja_JP - [`34757c9`](https://github.com/langgenius/dify-plugin-daemon/commit/34757c9dc28a37338a51ad864119e6c730ea2ad4) feat: update GUIDE.md ### 📊 Changes **12 files changed** (+155 additions, -137 deletions) <details> <summary>View changed files</summary> 📝 `cmd/commandline/plugin/templates/python/GUIDE.md` (+119 -130) 📝 `cmd/commandline/plugin/templates/python/agent_provider.yaml` (+4 -0) 📝 `cmd/commandline/plugin/templates/python/agent_strategy.yaml` (+6 -0) 📝 `cmd/commandline/plugin/templates/python/datasource.yaml` (+4 -0) 📝 `cmd/commandline/plugin/templates/python/datasource_provider.yaml` (+2 -0) 📝 `cmd/commandline/plugin/templates/python/endpoint_group.yaml` (+2 -0) 📝 `cmd/commandline/plugin/templates/python/llm.yaml` (+1 -0) 📝 `cmd/commandline/plugin/templates/python/model_provider.yaml` (+4 -0) 📝 `cmd/commandline/plugin/templates/python/requirements.txt` (+1 -1) 📝 `cmd/commandline/plugin/templates/python/tool.yaml` (+4 -0) 📝 `cmd/commandline/plugin/templates/python/tool_provider.yaml` (+2 -0) 📝 `cmd/commandline/plugin/templates/python/tts.yaml` (+6 -6) </details> ### 📄 Description ## Description This pull request introduces several improvements to the Python plugin templates for Dify, focusing on enhanced internationalization support, updated documentation, and dependency upgrades. The main changes are the addition of Japanese language translations across all plugin template YAML files, a major rewrite and restructuring of the plugin development guide for clarity and usability, and an upgrade of the required `dify_plugin` SDK version. **Internationalization enhancements:** * Added Japanese (`ja_JP`) translations to all user-facing fields (labels, descriptions, parameters, help texts, etc.) in plugin template YAML files, including `tool.yaml`, `tool_provider.yaml`, `datasource.yaml`, `datasource_provider.yaml`, `model_provider.yaml`, `agent_provider.yaml`, `agent_strategy.yaml`, `endpoint_group.yaml`, and `llm.yaml`. This ensures broader accessibility for Japanese-speaking users. [[1]](diffhunk://#diff-c0e2a46afdb1381ab12dc81beebade043c15abe6daad61b1c3c0da5ce61ff117R8-R14) [[2]](diffhunk://#diff-c0e2a46afdb1381ab12dc81beebade043c15abe6daad61b1c3c0da5ce61ff117R24-R29) [[3]](diffhunk://#diff-24c373428561befd2d9baf18aeb29831de9205729ead8f426cba51111d50d6fcR8-R13) [[4]](diffhunk://#diff-4d58366378ddc10c5753139d6f71ea07271df665f7be06eb8ea5a05ac8384410R8-R14) [[5]](diffhunk://#diff-4d58366378ddc10c5753139d6f71ea07271df665f7be06eb8ea5a05ac8384410R26-R31) [[6]](diffhunk://#diff-160461b8d64bb901bbc19b65e8a69d54cc5e0f2597842a4a29553c1740ebdf90R8-R13) [[7]](diffhunk://#diff-42f35e92e260d8fc591c136a04b4e9b8a71093c8107f39d33d28816fd42c5213R7) [[8]](diffhunk://#diff-42f35e92e260d8fc591c136a04b4e9b8a71093c8107f39d33d28816fd42c5213R17) [[9]](diffhunk://#diff-42f35e92e260d8fc591c136a04b4e9b8a71093c8107f39d33d28816fd42c5213R32-R36) [[10]](diffhunk://#diff-b8badf0f47b285bc2d7ebed13360c97f777d53e65909462f16b17773c160c484L1-R137) [[11]](diffhunk://#diff-ca04d716f34c36a4b6f5939c129752019164651504842cec9b7651a146f76d30R6-R11) [[12]](diffhunk://#diff-263c468641808bb05e88ea0c5313cc71383ae634d0b8b2d893578d1e4ab7f8ccR6-R11) [[13]](diffhunk://#diff-263c468641808bb05e88ea0c5313cc71383ae634d0b8b2d893578d1e4ab7f8ccR21-R29) [[14]](diffhunk://#diff-c1e29f42320acd9a8f8efd40bb023eacc379dcf202d830eee4c966bb678bfdd3R9-R14) [[15]](diffhunk://#diff-7d43eae960d21561497a47376f80896476e03f1377ec6f3d9cbcc4a73b1c67c9R5) **Documentation improvements:** * Completely rewrote and restructured the `GUIDE.md` file to provide a clearer, more concise, and step-by-step guide for developing Dify plugins. The new guide uses tables, collapsible sections, and improved formatting for better readability and onboarding experience. **Dependency updates:** * Upgraded the required version of the `dify_plugin` SDK in `requirements.txt` from `>=0.2.0,<0.3.0` to `>=0.4.0,<0.7.0`, ensuring compatibility with the latest SDK features and bug fixes. **Feature support:** * Added Japanese (`ja-JP`) language support to all voice modes in the TTS plugin template (`tts.yaml`), expanding the range of supported languages for text-to-speech features. These changes collectively improve the usability, accessibility, and maintainability of Dify plugin development for a global audience. ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Refactor - [ ] Performance improvement - [x] Other ## Essential Checklist ### Testing - [ ] I have tested the changes locally and confirmed they work as expected - [ ] I have added unit tests where necessary and they pass successfully ### Bug Fix (if applicable) - [ ] I have used GitHub syntax to close the related issue (e.g., `Fixes #123` or `Closes #123`) ## Additional Information Please provide any additional context that would help reviewers understand the changes. --- <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:16:12 -05:00
yindo closed this issue 2026-02-16 01:16:12 -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#517