{
  "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",
    "p-map": "7.0.5",
    "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,
      "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
    }
  }
}
