mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:11:37 +00:00
feat: IRC — add first-class channel support
Adds IRC as a first-class channel with core config surfaces (schema/hints/dock), plugin auto-enable detection, routing/policy alignment, and docs/tests. Co-authored-by: Vignesh <vigneshnatarajan92@gmail.com>
This commit is contained in:
26
src/config/schema.irc.ts
Normal file
26
src/config/schema.irc.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
export const IRC_FIELD_LABELS: Record<string, string> = {
|
||||
"channels.irc": "IRC",
|
||||
"channels.irc.dmPolicy": "IRC DM Policy",
|
||||
"channels.irc.nickserv.enabled": "IRC NickServ Enabled",
|
||||
"channels.irc.nickserv.service": "IRC NickServ Service",
|
||||
"channels.irc.nickserv.password": "IRC NickServ Password",
|
||||
"channels.irc.nickserv.passwordFile": "IRC NickServ Password File",
|
||||
"channels.irc.nickserv.register": "IRC NickServ Register",
|
||||
"channels.irc.nickserv.registerEmail": "IRC NickServ Register Email",
|
||||
};
|
||||
|
||||
export const IRC_FIELD_HELP: Record<string, string> = {
|
||||
"channels.irc.configWrites":
|
||||
"Allow IRC to write config in response to channel events/commands (default: true).",
|
||||
"channels.irc.dmPolicy":
|
||||
'Direct message access control ("pairing" recommended). "open" requires channels.irc.allowFrom=["*"].',
|
||||
"channels.irc.nickserv.enabled":
|
||||
"Enable NickServ identify/register after connect (defaults to enabled when password is configured).",
|
||||
"channels.irc.nickserv.service": "NickServ service nick (default: NickServ).",
|
||||
"channels.irc.nickserv.password": "NickServ password used for IDENTIFY/REGISTER (sensitive).",
|
||||
"channels.irc.nickserv.passwordFile": "Optional file path containing NickServ password.",
|
||||
"channels.irc.nickserv.register":
|
||||
"If true, send NickServ REGISTER on every connect. Use once for initial registration, then disable.",
|
||||
"channels.irc.nickserv.registerEmail":
|
||||
"Email used with NickServ REGISTER (required when register=true).",
|
||||
};
|
||||
Reference in New Issue
Block a user