opencode/packages/slack
2025-12-20 12:28:27 +00:00
..
src chore: format code 2025-11-08 01:59:02 +00:00
.env.example feat: add Slack integration package with Bolt framework 2025-10-14 02:53:55 -04:00
.gitignore feat: add Slack integration package with Bolt framework 2025-10-14 02:53:55 -04:00
package.json release: v1.0.176 2025-12-20 12:28:27 +00:00
README.md feat: add Slack integration package with Bolt framework 2025-10-14 02:53:55 -04:00
sst-env.d.ts wip: zen 2025-12-02 18:36:15 -05:00
tsconfig.json fix: update tsconfig for Slack package 2025-10-14 02:55:21 -04:00

@opencode-ai/slack

Slack bot integration for opencode that creates threaded conversations.

Setup

  1. Create a Slack app at https://api.slack.com/apps
  2. Enable Socket Mode
  3. Add the following OAuth scopes:
    • chat:write
    • app_mentions:read
    • channels:history
    • groups:history
  4. Install the app to your workspace
  5. Set environment variables in .env:
    • SLACK_BOT_TOKEN - Bot User OAuth Token
    • SLACK_SIGNING_SECRET - Signing Secret from Basic Information
    • SLACK_APP_TOKEN - App-Level Token from Basic Information

Usage

# Edit .env with your Slack app credentials
bun dev

The bot will respond to messages in channels where it's added, creating separate opencode sessions for each thread.