npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@openpalm/channel-slack

v0.11.5

Published

Slack bot channel adapter for OpenPalm

Readme

@openpalm/channel-slack

Slack Socket Mode adapter for OpenPalm. It normally runs via the addon.slack Compose profile and connects outbound to Slack, so no public inbound URL is required.

Features

  • Socket Mode WebSocket connection
  • Direct messages and channel @mentions
  • Threaded replies for channel conversations
  • Slash commands: /ask, /clear, /help
  • Global shortcut: Ask OpenPalm modal entry point
  • Message shortcut: Ask OpenPalm about this message with prefilled context
  • App Home onboarding tab with quick usage guidance
  • Per-session request queueing and thinking indicators

Deployment model

  • Shipped service definition: .openpalm/config/stack/channels.compose.yml, profile addon.slack
  • Non-secret values: ~/.openpalm/knowledge/env/stack.env
  • Secret values: files under ~/.openpalm/knowledge/secrets/

Manual start example:

cd "$HOME/.openpalm/config/stack"
docker compose \
  --project-name openpalm \
  --env-file stack.env \
  -f core.compose.yml \
  -f services.compose.yml \
  -f channels.compose.yml \
  -f custom.compose.yml \
  --profile addon.slack \
  up -d

The service definition uses explicit non-secret environment entries and Docker secret grants. It does not use service-level env_file.

The Slack channel container uses CHANNEL_SECRET_FILE to sign guardian messages. The guardian uses CHANNEL_SLACK_SECRET_FILE to verify Slack channel messages.

See docs/channels/slack-setup.md for the full setup guide.

Environment variables

| Variable | Required | Purpose | |---|---|---| | CHANNEL_SECRET_FILE | system-managed | Slack channel outbound guardian HMAC secret file path | | CHANNEL_SLACK_SECRET_FILE | system-managed | Guardian verification HMAC secret file path for Slack | | SLACK_BOT_TOKEN_FILE | yes | Bot User OAuth token file path | | SLACK_APP_TOKEN_FILE | yes | App-level Socket Mode token file path | | SLACK_ALLOWED_CHANNELS | no | Comma-separated channel allowlist | | SLACK_ALLOWED_USERS | no | Comma-separated user allowlist | | SLACK_BLOCKED_USERS | no | Comma-separated user blocklist |

Secret values are stored as files and exposed only through *_FILE variables. The schema may collect SLACK_BOT_TOKEN and SLACK_APP_TOKEN for setup, but setup persists them under knowledge/secrets/ and the runtime receives SLACK_BOT_TOKEN_FILE and SLACK_APP_TOKEN_FILE, not raw tokens.

Slack app configuration

Required bot scopes:

  • app_mentions:read
  • chat:write
  • im:history
  • channels:history
  • groups:history
  • users:read
  • commands

Required event subscriptions:

  • app_mention
  • message.im
  • message.channels
  • message.groups
  • app_home_opened

Required Interactivity setup:

  • Enable Interactivity & Shortcuts in your Slack app
  • Add a global shortcut with callback ID ask_openpalm
  • Add a message shortcut with callback ID ask_openpalm_message
  • Socket Mode apps can use any placeholder Request URL for interactivity

The adapter does not require reaction scopes.

Conversation behavior

  • DMs are per-user sessions
  • Channel mentions reply in a thread
  • Follow-ups sent while a session is busy are queued
  • /clear clears the active session and drops queued follow-ups