* feat(plugin): custom SVG icons, market stats, submit link, and native locale scaffold * chore(ci): allow spaces in PR model names and rename agent declaration to tool * fix(plugin): validate icon.svg size and markup during static scan
32 lines
1.1 KiB
Go
32 lines
1.1 KiB
Go
package builtin
|
|
|
|
import "github.com/Nwflower/reims-go/internal/plugin"
|
|
|
|
// IDCore is the always-on host plugin. Guest-specific drivers, start
|
|
// preparation and workarounds live in internal/macos/guest, not here.
|
|
const IDCore = "builtin.core"
|
|
|
|
func defCore(ver string) plugin.PluginDef {
|
|
return plugin.PluginDef{
|
|
Manifest: plugin.Manifest{
|
|
Schema: 1,
|
|
ID: IDCore,
|
|
Version: ver,
|
|
Name: plugin.LocalizedText{ZhCN: "Reims-Go 核心", EnUS: "Reims-Go Core"},
|
|
Description: plugin.LocalizedText{ZhCN: "宿主默认外观与基础能力,始终启用", EnUS: "Default host appearance and foundation; always on"},
|
|
Publisher: "Reims-Go",
|
|
License: "Apache-2.0",
|
|
Icon: iconCore,
|
|
DefaultEnabled: true,
|
|
Contributes: plugin.Contributes{Themes: []plugin.ThemeContribution{{
|
|
ID: IDThemeDefault,
|
|
Name: plugin.LocalizedText{ZhCN: "默认主题", EnUS: "Default"},
|
|
Appearance: "both",
|
|
}}},
|
|
},
|
|
Source: plugin.SourceBuiltin,
|
|
Trust: plugin.TrustOfficial,
|
|
System: true,
|
|
}
|
|
}
|