opencode 55d62fbd9f release: v1.0.170 пре 2 месеци
..
src 34ff87d504 chore: format code пре 3 месеци
.env.example 1923ddab6e feat: add Slack integration package with Bolt framework пре 4 месеци
.gitignore 1923ddab6e feat: add Slack integration package with Bolt framework пре 4 месеци
README.md 1923ddab6e feat: add Slack integration package with Bolt framework пре 4 месеци
package.json 55d62fbd9f release: v1.0.170 пре 2 месеци
sst-env.d.ts 28c802f399 wip: zen пре 2 месеци
tsconfig.json c50cf21f18 fix: update tsconfig for Slack package пре 4 месеци

README.md

@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.