Move mattermost channel implementation from core to extensions/mattermost plugin. Extract config schema, group mentions, normalize utilities, and all mattermost-specific logic (accounts, client, monitor, probe, send) into the extension. Update imports to use plugin SDK and local modules. Add channel metadata directly in plugin definition instead of using getChatChannelMeta. Update package.json with channel and install configuration.
26 lines
641 B
JSON
26 lines
641 B
JSON
{
|
|
"name": "@clawdbot/mattermost",
|
|
"version": "2026.1.20-2",
|
|
"type": "module",
|
|
"description": "Clawdbot Mattermost channel plugin",
|
|
"clawdbot": {
|
|
"extensions": [
|
|
"./index.ts"
|
|
],
|
|
"channel": {
|
|
"id": "mattermost",
|
|
"label": "Mattermost",
|
|
"selectionLabel": "Mattermost (plugin)",
|
|
"docsPath": "/channels/mattermost",
|
|
"docsLabel": "mattermost",
|
|
"blurb": "self-hosted Slack-style chat; install the plugin to enable.",
|
|
"order": 65
|
|
},
|
|
"install": {
|
|
"npmSpec": "@clawdbot/mattermost",
|
|
"localPath": "extensions/mattermost",
|
|
"defaultChoice": "npm"
|
|
}
|
|
}
|
|
}
|