[PR #441] [CLOSED] feat/trigger #508

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/441
Author: @Mairuis
Created: 9/2/2025
Status: Closed

Base: mainHead: feat/trigger


📝 Commits (6)

  • 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
  • 0b9e03d feat: add Multiple field to TriggerParameter for enhanced configuration
  • 00d76a2 feat: add Multiple field to ProviderConfig for enhanced configuration

📊 Changes

27 files changed (+1027 additions, -9 deletions)

View changed files

📝 .gitignore (+1 -1)
📝 internal/core/plugin_daemon/access_types/access.go (+16 -2)
📝 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 (+20 -1)
📝 internal/core/plugin_manager/debugging_runtime/type.go (+1 -0)
📝 internal/core/plugin_manager/media_transport/assets.go (+16 -0)
📝 internal/db/init.go (+2 -0)
📝 internal/server/controllers/definitions/definitions.go (+67 -1)
📝 internal/server/controllers/dynamic_parameter.gen.go (+0 -0)
internal/server/controllers/trigger.gen.go (+89 -0)
internal/server/controllers/trigger.go (+28 -0)
📝 internal/server/http_server.gen.go (+6 -0)
📝 internal/server/http_server.go (+2 -0)
📝 internal/service/dynamic_parameter.gen.go (+0 -0)
internal/service/trigger.gen.go (+115 -0)
internal/service/trigger.go (+100 -0)
📝 internal/types/models/curd/atomic.go (+56 -0)
internal/types/models/trigger.go (+9 -0)
📝 pkg/entities/manifest_entities/tags.go (+3 -1)

...and 7 more files

📄 Description

Description

  • Added new trigger-related access types and actions in access.go.
  • Introduced new HTTP routes for trigger operations in http_server.gen.go.
  • Updated plugin declaration to include triggers in plugin_entities.
  • Removed unused dynamic select service and controller files.
  • Enhanced message handling in debugging_runtime to support trigger registration.

This update enhances the plugin system by integrating trigger capabilities while cleaning up legacy code.

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

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/441 **Author:** [@Mairuis](https://github.com/Mairuis) **Created:** 9/2/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/trigger` --- ### 📝 Commits (6) - [`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 - [`0b9e03d`](https://github.com/langgenius/dify-plugin-daemon/commit/0b9e03dd1562bcc88f1620da3d79a0d38aa046cb) feat: add Multiple field to TriggerParameter for enhanced configuration - [`00d76a2`](https://github.com/langgenius/dify-plugin-daemon/commit/00d76a24c92b157a1ab7fdaafe5a801ee759b728) feat: add Multiple field to ProviderConfig for enhanced configuration ### 📊 Changes **27 files changed** (+1027 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -1) 📝 `internal/core/plugin_daemon/access_types/access.go` (+16 -2) 📝 `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` (+20 -1) 📝 `internal/core/plugin_manager/debugging_runtime/type.go` (+1 -0) 📝 `internal/core/plugin_manager/media_transport/assets.go` (+16 -0) 📝 `internal/db/init.go` (+2 -0) 📝 `internal/server/controllers/definitions/definitions.go` (+67 -1) 📝 `internal/server/controllers/dynamic_parameter.gen.go` (+0 -0) ➕ `internal/server/controllers/trigger.gen.go` (+89 -0) ➕ `internal/server/controllers/trigger.go` (+28 -0) 📝 `internal/server/http_server.gen.go` (+6 -0) 📝 `internal/server/http_server.go` (+2 -0) 📝 `internal/service/dynamic_parameter.gen.go` (+0 -0) ➕ `internal/service/trigger.gen.go` (+115 -0) ➕ `internal/service/trigger.go` (+100 -0) 📝 `internal/types/models/curd/atomic.go` (+56 -0) ➕ `internal/types/models/trigger.go` (+9 -0) 📝 `pkg/entities/manifest_entities/tags.go` (+3 -1) _...and 7 more files_ </details> ### 📄 Description ## Description - Added new trigger-related access types and actions in access.go. - Introduced new HTTP routes for trigger operations in http_server.gen.go. - Updated plugin declaration to include triggers in plugin_entities. - Removed unused dynamic select service and controller files. - Enhanced message handling in debugging_runtime to support trigger registration. This update enhances the plugin system by integrating trigger capabilities while cleaning up legacy code. ## 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 ## 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:10 -05:00
yindo closed this issue 2026-02-16 01:16:10 -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#508