{
  "name": "@openclaw/slack",
  "version": "2026.9.6",
  "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.1.0",
    "@slack/types": "3.1.0",
    "@slack/web-api": "8.1.1",
    "get-east-asian-width": "1.6.0",
    "typebox": "1.3.30",
    "undici": "7.29.1",
    "zod": "4.6.5"
  },
  "peerDependencies": {
    "openclaw": ">=2026.9.6"
  },
  "peerDependenciesMeta": {
    "openclaw": {
      "optional": true
    }
  },
  "openclaw": {
    "extensions": [
      "./index.ts"
    ],
    "setupEntry": "./dist/setup-entry.js",
    "setupFeatures": {
      "configPromotion": true
    },
    "channel": {
      "id": "slack",
      "configuredState": {
        "env": {
          "anyOf": [
            "SLACK_BOT_TOKEN",
            "SLACK_APP_TOKEN",
            "SLACK_USER_TOKEN"
          ]
        },
        "specifier": "./dist/configured-state.js",
        "exportName": "hasConfiguredSlackChannelState"
      },
      "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"
            },
            "envVars": [
              "SLACK_BOT_TOKEN"
            ]
          }
        ]
      }
    },
    "install": {
      "clawhubSpec": "clawhub:@openclaw/slack",
      "npmSpec": "@openclaw/slack",
      "defaultChoice": "npm",
      "minHostVersion": ">=2026.5.28",
      "allowInvalidConfigRecovery": true
    },
    "compat": {
      "pluginApi": ">=2026.9.6"
    },
    "build": {
      "openclawVersion": "2026.9.6",
      "bundledDist": false
    },
    "release": {
      "publishToClawHub": true,
      "publishToNpm": true
    },
    "runtimeExtensions": [
      "./dist/index.js"
    ],
    "runtimeSetupEntry": "./dist/setup-entry.js"
  },
  "files": [
    "dist/**",
    "openclaw.plugin.json",
    "README.md",
    "assets/icon.png",
    "assets/activity.svg",
    "skills/**"
  ],
  "bundledDependencies": [
    "@slack/bolt",
    "@slack/types",
    "@slack/web-api",
    "get-east-asian-width",
    "typebox",
    "undici",
    "zod"
  ]
}
