[PR #482] [MERGED] feat: introduce trigger #532

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/482
Author: @Mairuis
Created: 10/28/2025
Status: Merged
Merged: 10/29/2025
Merged by: @Mairuis

Base: mainHead: feat/trigger


📝 Commits (10+)

  • d3a5d2c feat(plugins): add FetchPluginReadme endpoint and update launch configurations
  • 470aeaf Merge branch 'main' into feat/plugin-readme
  • 1aed761 feat: add PluginReadme database model
  • 0647713 feat: implement readme extracting and storage
  • 5b5f709 feat: implement readme endpoint
  • 5134f3b feat: add plugin asset extraction endpoint with caching support
  • 390b764 Implement trigger functionality and clean up dynamic select code
  • 5b396a4 Refactor trigger-related types and enhance dynamic select functionality
  • 24a63d8 Add trigger functionality and enhance database integration
  • 1ca6c35 feat: add remapping for trigger icons in MediaBucket

📊 Changes

35 files changed (+1540 additions, -23 deletions)

View changed files

📝 .gitignore (+1 -1)
📝 internal/core/plugin_daemon/access_types/access.go (+23 -9)
📝 internal/core/plugin_daemon/dynamic_parameter.gen.go (+0 -0)
internal/core/plugin_daemon/trigger.gen.go (+87 -0)
📝 internal/core/plugin_manager/debugging_runtime/hooks.go (+28 -1)
📝 internal/core/plugin_manager/debugging_runtime/type.go (+1 -0)
📝 internal/core/plugin_manager/manager.go (+45 -0)
📝 internal/core/plugin_manager/media_transport/assets.go (+16 -0)
📝 internal/db/init.go (+3 -0)
📝 internal/server/controllers/definitions/definitions.go (+67 -1)
📝 internal/server/controllers/dynamic_parameter.gen.go (+0 -0)
📝 internal/server/controllers/plugins.go (+26 -0)
internal/server/controllers/trigger.gen.go (+89 -0)
internal/server/controllers/trigger.go (+28 -0)
📝 internal/server/http_server.gen.go (+7 -1)
📝 internal/server/http_server.go (+8 -0)
📝 internal/service/dynamic_parameter.gen.go (+0 -0)
📝 internal/service/install_plugin.go (+44 -0)
internal/service/plugin_readme.go (+112 -0)
internal/service/trigger.gen.go (+115 -0)

...and 15 more files

📄 Description

Description

Introduce the trigger plugin functionality and a series of changes for plugin readme display.

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


🔄 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/482 **Author:** [@Mairuis](https://github.com/Mairuis) **Created:** 10/28/2025 **Status:** ✅ Merged **Merged:** 10/29/2025 **Merged by:** [@Mairuis](https://github.com/Mairuis) **Base:** `main` ← **Head:** `feat/trigger` --- ### 📝 Commits (10+) - [`d3a5d2c`](https://github.com/langgenius/dify-plugin-daemon/commit/d3a5d2cbb854f80d62d79deaaa5a39352a8a3d2d) feat(plugins): add FetchPluginReadme endpoint and update launch configurations - [`470aeaf`](https://github.com/langgenius/dify-plugin-daemon/commit/470aeafc0195b2d60351779835a29be2bb408c74) Merge branch 'main' into feat/plugin-readme - [`1aed761`](https://github.com/langgenius/dify-plugin-daemon/commit/1aed761b114ec7c93160f0ece4db6b1394957773) feat: add PluginReadme database model - [`0647713`](https://github.com/langgenius/dify-plugin-daemon/commit/0647713f4c8c1c8225c7c7eb746c87c31e9f0efc) feat: implement readme extracting and storage - [`5b5f709`](https://github.com/langgenius/dify-plugin-daemon/commit/5b5f709e7d8faf56889ef617a2f971c85b797b54) feat: implement readme endpoint - [`5134f3b`](https://github.com/langgenius/dify-plugin-daemon/commit/5134f3b5d0b6ea9a4461c52615e0d096fcc79736) feat: add plugin asset extraction endpoint with caching support - [`390b764`](https://github.com/langgenius/dify-plugin-daemon/commit/390b7641ea1045f98a19925d83bdcd2e277fc7c3) Implement trigger functionality and clean up dynamic select code - [`5b396a4`](https://github.com/langgenius/dify-plugin-daemon/commit/5b396a4c7e758a1a8e5df7306b71d082384ebea3) Refactor trigger-related types and enhance dynamic select functionality - [`24a63d8`](https://github.com/langgenius/dify-plugin-daemon/commit/24a63d88a8bc3350558089a951a79e9f24f6adaf) Add trigger functionality and enhance database integration - [`1ca6c35`](https://github.com/langgenius/dify-plugin-daemon/commit/1ca6c35697c10f8d8ae43e0d07a2f24145cac798) feat: add remapping for trigger icons in MediaBucket ### 📊 Changes **35 files changed** (+1540 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -1) 📝 `internal/core/plugin_daemon/access_types/access.go` (+23 -9) 📝 `internal/core/plugin_daemon/dynamic_parameter.gen.go` (+0 -0) ➕ `internal/core/plugin_daemon/trigger.gen.go` (+87 -0) 📝 `internal/core/plugin_manager/debugging_runtime/hooks.go` (+28 -1) 📝 `internal/core/plugin_manager/debugging_runtime/type.go` (+1 -0) 📝 `internal/core/plugin_manager/manager.go` (+45 -0) 📝 `internal/core/plugin_manager/media_transport/assets.go` (+16 -0) 📝 `internal/db/init.go` (+3 -0) 📝 `internal/server/controllers/definitions/definitions.go` (+67 -1) 📝 `internal/server/controllers/dynamic_parameter.gen.go` (+0 -0) 📝 `internal/server/controllers/plugins.go` (+26 -0) ➕ `internal/server/controllers/trigger.gen.go` (+89 -0) ➕ `internal/server/controllers/trigger.go` (+28 -0) 📝 `internal/server/http_server.gen.go` (+7 -1) 📝 `internal/server/http_server.go` (+8 -0) 📝 `internal/service/dynamic_parameter.gen.go` (+0 -0) 📝 `internal/service/install_plugin.go` (+44 -0) ➕ `internal/service/plugin_readme.go` (+112 -0) ➕ `internal/service/trigger.gen.go` (+115 -0) _...and 15 more files_ </details> ### 📄 Description ## Description Introduce the trigger plugin functionality and a series of changes for plugin readme display. ## Type of Change - [ ] Bug fix - [x] New feature - [ ] Refactor - [ ] Performance improvement - [ ] Other ## Essential Checklist ### Testing - [x] I have tested the changes locally and confirmed they work as expected - [x] 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 --- <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:15 -05:00
yindo closed this issue 2026-02-16 01:16:15 -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#532