diff --git a/plugin/core/config.ts b/plugin/core/config.ts index eee4bc8..98c4748 100644 --- a/plugin/core/config.ts +++ b/plugin/core/config.ts @@ -59,8 +59,8 @@ export function validateYonexusServerConfig(raw: unknown): YonexusServerConfig { .filter((value) => value.length > 0) : []; - if (!Array.isArray(rawIdentifiers) || followerIdentifiers.length === 0) { - issues.push("followerIdentifiers must contain at least one non-empty identifier"); + if (!Array.isArray(rawIdentifiers)) { + issues.push("followerIdentifiers must be an array"); } if (new Set(followerIdentifiers).size !== followerIdentifiers.length) { diff --git a/plugin/openclaw.plugin.json b/plugin/openclaw.plugin.json index 3cef357..bd7afeb 100644 --- a/plugin/openclaw.plugin.json +++ b/plugin/openclaw.plugin.json @@ -19,6 +19,6 @@ "listenPort": { "type": "number" }, "publicWsUrl": { "type": "string" } }, - "required": ["followerIdentifiers", "notifyBotToken", "adminUserId", "listenPort"] + "required": ["notifyBotToken", "adminUserId", "listenPort"] } }