Files
openclaw/extensions/irc/package.json
2026-07-30 23:21:46 +08:00

142 lines
3.4 KiB
JSON

{
"name": "@openclaw/irc",
"version": "2026.7.2-beta.6",
"description": "OpenClaw IRC channel plugin",
"type": "module",
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*"
},
"openclaw": {
"extensions": [
"./index.ts"
],
"install": {
"clawhubSpec": "clawhub:@openclaw/irc",
"npmSpec": "@openclaw/irc",
"defaultChoice": "npm",
"minHostVersion": ">=2026.6.9",
"allowInvalidConfigRecovery": true
},
"setupEntry": "./setup-entry.ts",
"setupFeatures": {
"configPromotion": true
},
"channel": {
"id": "irc",
"configuredState": {
"env": {
"allOf": [
"IRC_HOST",
"IRC_NICK"
]
}
},
"label": "IRC",
"selectionLabel": "IRC (Server + Nick)",
"detailLabel": "IRC",
"docsPath": "/channels/irc",
"docsLabel": "irc",
"blurb": "classic IRC networks with DM/channel routing and pairing controls.",
"aliases": [
"internet-relay-chat"
],
"systemImage": "network",
"setup": {
"fields": [
{
"key": "host",
"kind": "string",
"cli": {
"flags": "--host <host>",
"description": "IRC server host"
}
},
{
"key": "port",
"kind": "string",
"cli": {
"flags": "--port <port>",
"description": "IRC server port"
}
},
{
"key": "tls",
"kind": "boolean",
"cli": {
"flags": "--tls",
"description": "Use TLS for IRC"
}
},
{
"key": "nick",
"kind": "string",
"cli": {
"flags": "--nick <nick>",
"description": "IRC nickname"
}
},
{
"key": "username",
"kind": "string",
"cli": {
"flags": "--username <name>",
"description": "IRC username"
}
},
{
"key": "realname",
"kind": "string",
"cli": {
"flags": "--realname <name>",
"description": "IRC real name"
}
},
{
"key": "channels",
"kind": "string-list",
"cli": {
"flags": "--channels <names>",
"description": "IRC channels"
}
},
{
"key": "password",
"kind": "string",
"sensitive": true,
"cli": {
"flags": "--password <password>",
"description": "IRC server password"
}
},
{
"key": "useEnv",
"kind": "boolean",
"cli": {
"flags": "--use-env",
"description": "Use IRC environment configuration"
}
}
]
}
},
"compat": {
"pluginApi": ">=2026.7.2-beta.6"
},
"build": {
"openclawVersion": "2026.7.2-beta.6",
"bundledDist": false
},
"release": {
"publishToClawHub": true,
"publishToNpm": true
}
},
"dependencies": {
"zod": "4.4.3"
},
"repository": {
"type": "git",
"url": "https://github.com/openclaw/openclaw"
}
}