Files
Reims-Go/internal/plugin/builtin/core.go
T
千川白浪 781f129fc1 feat(plugin): custom SVG icons, market stats, submit link, and native locale scaffold (#170)
* 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
2026-12-04 22:34:12 +08:00

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,
}
}