插件示例-阿里云

This commit is contained in:
v-me-50
2025-06-17 18:32:59 +08:00
parent b9f457e7ba
commit c18d4accfb
6 changed files with 380 additions and 6 deletions

View File

@@ -25,12 +25,13 @@ type ActionInfo struct {
}
type PluginMetadata struct {
Name string `json:"name"`
Description string `json:"description"`
Version string `json:"version"`
Author string `json:"author"`
Actions []ActionInfo `json:"actions"`
Path string // 插件路径
Name string `json:"name"`
Description string `json:"description"`
Version string `json:"version"`
Author string `json:"author"`
Actions []ActionInfo `json:"actions"`
Config map[string]any `json:"config,omitempty"` // 可选配置
Path string // 插件路径
}
type Request struct {