Extracted from core/go pkg/{manifest,marketplace,plugin,repos}.
Also swapped agentci/forge/gitea config imports to go-config.
These packages handle package manifests, marketplace installation,
plugin lifecycle, and multi-repo registry management.
Co-Authored-By: Virgil <virgil@lethean.io>
10 lines
423 B
Go
10 lines
423 B
Go
package plugin
|
|
|
|
// PluginConfig holds configuration for a single installed plugin.
|
|
type PluginConfig struct {
|
|
Name string `json:"name" yaml:"name"`
|
|
Version string `json:"version" yaml:"version"`
|
|
Source string `json:"source" yaml:"source"` // e.g., "github:org/repo"
|
|
Enabled bool `json:"enabled" yaml:"enabled"`
|
|
InstalledAt string `json:"installed_at" yaml:"installed_at"` // RFC 3339 timestamp
|
|
}
|