[PR #388] [MERGED] enhance(cli/icon): add multiple categories default plugin icons #480

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/388
Author: @Yeuoly
Created: 7/7/2025
Status: Merged
Merged: 7/8/2025
Merged by: @Yeuoly

Base: mainHead: feat/default-icon


📝 Commits (6)

📊 Changes

20 files changed (+767 additions, -9 deletions)

View changed files

📝 cmd/commandline/plugin/init.go (+65 -3)
cmd/commandline/plugin/templates/icons/agent_dark.svg (+55 -0)
cmd/commandline/plugin/templates/icons/agent_light.svg (+55 -0)
cmd/commandline/plugin/templates/icons/datasource_dark.svg (+55 -0)
cmd/commandline/plugin/templates/icons/datasource_light.svg (+55 -0)
cmd/commandline/plugin/templates/icons/extension_dark.svg (+55 -0)
cmd/commandline/plugin/templates/icons/extension_light.svg (+55 -0)
cmd/commandline/plugin/templates/icons/model_dark.svg (+55 -0)
cmd/commandline/plugin/templates/icons/model_light.svg (+55 -0)
cmd/commandline/plugin/templates/icons/tool_dark.svg (+55 -0)
cmd/commandline/plugin/templates/icons/tool_light.svg (+55 -0)
cmd/commandline/plugin/templates/icons/trigger_dark.svg (+60 -0)
cmd/commandline/plugin/templates/icons/trigger_light.svg (+60 -0)
cmd/commandline/plugin/templates/python/icon.svg (+0 -6)
📝 cmd/tests/main.go (+16 -0)
📝 internal/core/plugin_manager/media_transport/assets.go (+7 -0)
📝 internal/service/install_plugin.go (+1 -0)
📝 internal/types/models/task.go (+1 -0)
📝 pkg/entities/plugin_entities/plugin_declaration.go (+1 -0)
📝 pkg/plugin_packager/decoder/helper.go (+6 -0)

📄 Description

Description

Please provide a brief description of the changes made in this pull request.
Please also include the issue number if this is related to an issue using the format Fixes #123 or Closes #123.

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/388 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 7/7/2025 **Status:** ✅ Merged **Merged:** 7/8/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `feat/default-icon` --- ### 📝 Commits (6) - [`c82944d`](https://github.com/langgenius/dify-plugin-daemon/commit/c82944d8f06dfc11dafe0a3f8ff3443475091d65) feat: add support for dark icon - [`a9902b9`](https://github.com/langgenius/dify-plugin-daemon/commit/a9902b9c52e0d6d2673391aefb87398f7a2adec3) enhance(cli/icon): add plugin icon support with multiple categories - [`0c86ae2`](https://github.com/langgenius/dify-plugin-daemon/commit/0c86ae22966c25bf99cd885c223fc68b726f3004) change icons - [`2567819`](https://github.com/langgenius/dify-plugin-daemon/commit/25678193fe68ff0b51ca39c52964ec9ad32b4d12) fix - [`3ad06db`](https://github.com/langgenius/dify-plugin-daemon/commit/3ad06dba0dab6a85b9fc49414277ea5757fc212b) fix - [`a629c89`](https://github.com/langgenius/dify-plugin-daemon/commit/a629c891d8d22209ffcc7b298b1a9cdecb649f8e) comments ### 📊 Changes **20 files changed** (+767 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `cmd/commandline/plugin/init.go` (+65 -3) ➕ `cmd/commandline/plugin/templates/icons/agent_dark.svg` (+55 -0) ➕ `cmd/commandline/plugin/templates/icons/agent_light.svg` (+55 -0) ➕ `cmd/commandline/plugin/templates/icons/datasource_dark.svg` (+55 -0) ➕ `cmd/commandline/plugin/templates/icons/datasource_light.svg` (+55 -0) ➕ `cmd/commandline/plugin/templates/icons/extension_dark.svg` (+55 -0) ➕ `cmd/commandline/plugin/templates/icons/extension_light.svg` (+55 -0) ➕ `cmd/commandline/plugin/templates/icons/model_dark.svg` (+55 -0) ➕ `cmd/commandline/plugin/templates/icons/model_light.svg` (+55 -0) ➕ `cmd/commandline/plugin/templates/icons/tool_dark.svg` (+55 -0) ➕ `cmd/commandline/plugin/templates/icons/tool_light.svg` (+55 -0) ➕ `cmd/commandline/plugin/templates/icons/trigger_dark.svg` (+60 -0) ➕ `cmd/commandline/plugin/templates/icons/trigger_light.svg` (+60 -0) ➖ `cmd/commandline/plugin/templates/python/icon.svg` (+0 -6) 📝 `cmd/tests/main.go` (+16 -0) 📝 `internal/core/plugin_manager/media_transport/assets.go` (+7 -0) 📝 `internal/service/install_plugin.go` (+1 -0) 📝 `internal/types/models/task.go` (+1 -0) 📝 `pkg/entities/plugin_entities/plugin_declaration.go` (+1 -0) 📝 `pkg/plugin_packager/decoder/helper.go` (+6 -0) </details> ### 📄 Description ## Description Please provide a brief description of the changes made in this pull request. Please also include the issue number if this is related to an issue using the format `Fixes #123` or `Closes #123`. ## 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:06 -05:00
yindo closed this issue 2026-02-16 01:16:06 -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#480