opencode 99a1e73fa1 release: v1.1.21 1 месяц назад
..
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 99a1e73fa1 release: v1.1.21 1 месяц назад
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.