mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 17:31:35 +00:00
106 lines
3.3 KiB
JSON
106 lines
3.3 KiB
JSON
{
|
|
"name": "@openclaw/slack",
|
|
"version": "2026.7.2",
|
|
"description": "OpenClaw Slack channel plugin for channels, DMs, commands, and app events.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/openclaw/openclaw"
|
|
},
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@slack/bolt": "5.0.0",
|
|
"@slack/socket-mode": "3.0.0",
|
|
"@slack/types": "3.0.0",
|
|
"@slack/web-api": "8.0.0",
|
|
"get-east-asian-width": "1.6.0",
|
|
"p-map": "7.0.6",
|
|
"typebox": "1.3.6",
|
|
"undici": "7.28.0",
|
|
"ws": "8.21.1",
|
|
"zod": "4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@openclaw/plugin-sdk": "workspace:*",
|
|
"openclaw": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"openclaw": ">=2026.7.2"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"openclaw": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"openclaw": {
|
|
"extensions": [
|
|
"./index.ts"
|
|
],
|
|
"setupEntry": "./setup-entry.ts",
|
|
"setupFeatures": {
|
|
"configPromotion": true
|
|
},
|
|
"channel": {
|
|
"id": "slack",
|
|
"configuredState": {
|
|
"env": {
|
|
"anyOf": [
|
|
"SLACK_BOT_TOKEN",
|
|
"SLACK_APP_TOKEN",
|
|
"SLACK_USER_TOKEN"
|
|
]
|
|
}
|
|
},
|
|
"approvalFlags": [
|
|
"native"
|
|
],
|
|
"label": "Slack",
|
|
"selectionLabel": "Slack (Socket Mode)",
|
|
"detailLabel": "Slack Bot",
|
|
"docsPath": "/channels/slack",
|
|
"docsLabel": "slack",
|
|
"blurb": "supported (Socket Mode).",
|
|
"systemImage": "number",
|
|
"markdownCapable": true,
|
|
"doctorCapabilities": {
|
|
"dmAllowFromMode": "topOnly",
|
|
"groupModel": "route",
|
|
"groupAllowFromFallbackToAllowFrom": false,
|
|
"warnOnEmptyGroupSenderAllowlist": false
|
|
},
|
|
"commands": {
|
|
"nativeCommandsAutoEnabled": false,
|
|
"nativeSkillsAutoEnabled": false
|
|
},
|
|
"setup": { "fields": [
|
|
{ "key": "botToken", "kind": "string", "sensitive": true, "cli": { "flags": "--bot-token <token>", "description": "Slack bot token" } },
|
|
{ "key": "appToken", "kind": "string", "sensitive": true, "cli": { "flags": "--app-token <token>", "description": "Slack app token" } },
|
|
{ "key": "userToken", "kind": "string", "sensitive": true, "cli": { "flags": "--user-token <token>", "description": "Slack user token" } },
|
|
{ "key": "signingSecret", "kind": "string", "sensitive": true, "cli": { "flags": "--signing-secret <secret>", "description": "Slack signing secret" } },
|
|
{ "key": "identity", "kind": "choice", "choices": ["bot", "user"], "cli": { "flags": "--identity <kind>", "description": "Slack identity" } },
|
|
{ "key": "mode", "kind": "choice", "choices": ["socket", "http"], "cli": { "flags": "--mode <mode>", "description": "Slack connection mode" } },
|
|
{ "key": "useEnv", "kind": "boolean", "cli": { "flags": "--use-env", "description": "Use Slack environment credentials" } }
|
|
] }
|
|
},
|
|
"install": {
|
|
"npmSpec": "@openclaw/slack",
|
|
"defaultChoice": "npm",
|
|
"minHostVersion": ">=2026.5.28",
|
|
"allowInvalidConfigRecovery": true
|
|
},
|
|
"compat": {
|
|
"pluginApi": ">=2026.7.2"
|
|
},
|
|
"startup": {
|
|
"deferConfiguredChannelFullLoadUntilAfterListen": true
|
|
},
|
|
"build": {
|
|
"openclawVersion": "2026.7.2",
|
|
"bundledDist": false
|
|
},
|
|
"release": {
|
|
"publishToClawHub": true,
|
|
"publishToNpm": true
|
|
}
|
|
}
|
|
}
|