[PR #282] [CLOSED] feat: support setup process for endpoint #422

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/282
Author: @Yeuoly
Created: 5/13/2025
Status: Closed

Base: mainHead: feat/support-setup-process


📝 Commits (7)

  • 0b18f9e feat: implement setup endpoint functionality for endpoints
  • b11d048 docs: update comment for PLUGIN_ACCESS_ACTION_SETUP_ENDPOINT to reflect PluginSDK v0.3.0 support
  • 565c8b4 support setup process for endpoint cli
  • 90abc63 fix: enhance endpoint permission logic and YAML template formatting
  • 2a3754a refactor: update UpdateEndpoint function to include context and enhance error handling
  • 5aa94a5 feat: add EndpointSetupFailedError import for enhanced error handling
  • e9bebab Merge branch 'main' into feat/support-setup-process

📊 Changes

18 files changed (+256 additions, -39 deletions)

View changed files

📝 cmd/commandline/plugin/init.go (+11 -4)
cmd/commandline/plugin/manifest.go (+12 -0)
📝 cmd/commandline/plugin/module.go (+16 -4)
📝 cmd/commandline/plugin/permission.go (+22 -3)
📝 cmd/commandline/plugin/python.go (+6 -3)
📝 cmd/commandline/plugin/python_categories.go (+24 -14)
📝 cmd/commandline/plugin/render_template_test.go (+8 -6)
cmd/commandline/plugin/templates/python/endpoint_group.py (+12 -0)
📝 cmd/commandline/plugin/templates/python/endpoint_group.yaml (+8 -0)
📝 cmd/commandline/plugin/templates/python/requirements.txt (+1 -1)
📝 internal/core/plugin_daemon/access_types/access.go (+1 -0)
📝 internal/core/plugin_daemon/endpoint_service.go (+13 -0)
📝 internal/server/controllers/endpoint.go (+4 -2)
📝 internal/service/endpoint.go (+0 -1)
📝 internal/service/setup_endpoint.go (+107 -1)
📝 pkg/entities/endpoint_entities/endpoint.go (+4 -0)
📝 pkg/entities/plugin_entities/endpoint_declaration.go (+3 -0)
📝 pkg/entities/requests/endpoint.go (+4 -0)

📄 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/282 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 5/13/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/support-setup-process` --- ### 📝 Commits (7) - [`0b18f9e`](https://github.com/langgenius/dify-plugin-daemon/commit/0b18f9e854408f6b95ce03a49313e1b99d99fa0e) feat: implement setup endpoint functionality for endpoints - [`b11d048`](https://github.com/langgenius/dify-plugin-daemon/commit/b11d0483c614312e9830cac11ea7a501273eba60) docs: update comment for PLUGIN_ACCESS_ACTION_SETUP_ENDPOINT to reflect PluginSDK v0.3.0 support - [`565c8b4`](https://github.com/langgenius/dify-plugin-daemon/commit/565c8b4dd420a3aee3501ae135e56088010c6eed) support setup process for endpoint cli - [`90abc63`](https://github.com/langgenius/dify-plugin-daemon/commit/90abc63d12beae43897a7a6f2a187c55aa9ea3d9) fix: enhance endpoint permission logic and YAML template formatting - [`2a3754a`](https://github.com/langgenius/dify-plugin-daemon/commit/2a3754a0862c1213b2be1adc5335460343533e41) refactor: update UpdateEndpoint function to include context and enhance error handling - [`5aa94a5`](https://github.com/langgenius/dify-plugin-daemon/commit/5aa94a5d43356bb0b2bcb4703a3ea2b468b43a31) feat: add EndpointSetupFailedError import for enhanced error handling - [`e9bebab`](https://github.com/langgenius/dify-plugin-daemon/commit/e9bebab02fdbf8fe96a801d79b8f067ade7775a0) Merge branch 'main' into feat/support-setup-process ### 📊 Changes **18 files changed** (+256 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `cmd/commandline/plugin/init.go` (+11 -4) ➕ `cmd/commandline/plugin/manifest.go` (+12 -0) 📝 `cmd/commandline/plugin/module.go` (+16 -4) 📝 `cmd/commandline/plugin/permission.go` (+22 -3) 📝 `cmd/commandline/plugin/python.go` (+6 -3) 📝 `cmd/commandline/plugin/python_categories.go` (+24 -14) 📝 `cmd/commandline/plugin/render_template_test.go` (+8 -6) ➕ `cmd/commandline/plugin/templates/python/endpoint_group.py` (+12 -0) 📝 `cmd/commandline/plugin/templates/python/endpoint_group.yaml` (+8 -0) 📝 `cmd/commandline/plugin/templates/python/requirements.txt` (+1 -1) 📝 `internal/core/plugin_daemon/access_types/access.go` (+1 -0) 📝 `internal/core/plugin_daemon/endpoint_service.go` (+13 -0) 📝 `internal/server/controllers/endpoint.go` (+4 -2) 📝 `internal/service/endpoint.go` (+0 -1) 📝 `internal/service/setup_endpoint.go` (+107 -1) 📝 `pkg/entities/endpoint_entities/endpoint.go` (+4 -0) 📝 `pkg/entities/plugin_entities/endpoint_declaration.go` (+3 -0) 📝 `pkg/entities/requests/endpoint.go` (+4 -0) </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:55 -05:00
yindo closed this issue 2026-02-16 01:15:55 -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#422