opencode/packages/slack
opencode 379c4ecab3
Some checks are pending
deploy / deploy (push) Waiting to run
generate / generate (push) Waiting to run
publish / publish (push) Waiting to run
publish / publish-tauri (map[host:blacksmith-4vcpu-ubuntu-2404 target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / publish-tauri (map[host:blacksmith-4vcpu-windows-2025 target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / publish-tauri (map[host:macos-latest target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / publish-tauri (map[host:macos-latest target:x86_64-apple-darwin]) (push) Blocked by required conditions
test / test (push) Waiting to run
Update Nix Hashes / update (push) Waiting to run
release: v1.0.151
2025-12-12 21:34:32 +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.151 2025-12-12 21:34:32 +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.