[PR #34] [MERGED] refactor: optimize plugin declaration caching and encoding #270

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/34
Author: @Yeuoly
Created: 2/25/2025
Status: Merged
Merged: 2/25/2025
Merged by: @Yeuoly

Base: mainHead: refactor/json-unmarshaler-enhancement


📝 Commits (1)

  • e3067b6 refactor: optimize plugin declaration caching and encoding

📊 Changes

26 files changed (+795 additions, -138 deletions)

View changed files

📝 go.mod (+4 -0)
📝 go.sum (+8 -0)
📝 internal/core/plugin_manager/install_to_serverless.go (+2 -2)
📝 internal/core/plugin_manager/manager.go (+1 -1)
📝 internal/core/plugin_manager/serverless.go (+4 -2)
📝 internal/db/init.go (+38 -1)
📝 internal/server/controllers/plugins.go (+1 -1)
📝 internal/server/http_server.go (+10 -11)
📝 internal/service/install_plugin.go (+10 -3)
📝 internal/service/install_service/state.go (+10 -1)
📝 internal/service/manage_plugin.go (+155 -7)
📝 internal/service/plugin_decoder.go (+1 -2)
📝 internal/service/setup_endpoint.go (+0 -2)
📝 internal/types/exception/factory.go (+11 -0)
📝 internal/types/models/agent.go (+4 -7)
📝 internal/types/models/curd/atomic.go (+1 -7)
📝 internal/types/models/model.go (+4 -7)
📝 internal/types/models/plugin.go (+10 -11)
📝 internal/types/models/tool.go (+4 -7)
internal/utils/cache/helper/combined.go (+184 -0)

...and 6 more files

📄 Description

No description provided


🔄 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/34 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 2/25/2025 **Status:** ✅ Merged **Merged:** 2/25/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `refactor/json-unmarshaler-enhancement` --- ### 📝 Commits (1) - [`e3067b6`](https://github.com/langgenius/dify-plugin-daemon/commit/e3067b618ffe92c3862f50685982994210b191eb) refactor: optimize plugin declaration caching and encoding ### 📊 Changes **26 files changed** (+795 additions, -138 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+4 -0) 📝 `go.sum` (+8 -0) 📝 `internal/core/plugin_manager/install_to_serverless.go` (+2 -2) 📝 `internal/core/plugin_manager/manager.go` (+1 -1) 📝 `internal/core/plugin_manager/serverless.go` (+4 -2) 📝 `internal/db/init.go` (+38 -1) 📝 `internal/server/controllers/plugins.go` (+1 -1) 📝 `internal/server/http_server.go` (+10 -11) 📝 `internal/service/install_plugin.go` (+10 -3) 📝 `internal/service/install_service/state.go` (+10 -1) 📝 `internal/service/manage_plugin.go` (+155 -7) 📝 `internal/service/plugin_decoder.go` (+1 -2) 📝 `internal/service/setup_endpoint.go` (+0 -2) 📝 `internal/types/exception/factory.go` (+11 -0) 📝 `internal/types/models/agent.go` (+4 -7) 📝 `internal/types/models/curd/atomic.go` (+1 -7) 📝 `internal/types/models/model.go` (+4 -7) 📝 `internal/types/models/plugin.go` (+10 -11) 📝 `internal/types/models/tool.go` (+4 -7) ➕ `internal/utils/cache/helper/combined.go` (+184 -0) _...and 6 more files_ </details> ### 📄 Description _No description provided_ --- <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:15:20 -05:00
yindo closed this issue 2026-02-16 01:15:20 -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#270