Skip to content

About

Sun plugin for Slack: tasks from slash commands and mentions, live notifications, approvals and steering

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

sun-plugin-slack

A Sun plugin for Slack. It posts one notification per key and updates it in place (with optional Approve / Reject buttons), and sends ephemeral messages only one user sees. It also checks the signing secret on Slack requests forwarded by the kernel (slash commands, messages, @mentions, button clicks, thread replies) and turns them into the task_requested, approval and steer triggers. It talks only to slack.com and reads two secrets, SLACK_BOT_TOKEN and SLACK_SIGNING_SECRET. See mod.yaml; the Slack app setup (scopes, events, interactivity) is in the doc comment at the top of src/main.rs.

Install

sun plugin add slack

Build from source

cargo build --release
mkdir mod-slack && cp target/release/mod-slack mod.yaml mod-slack/
sun plugin add ./mod-slack

sun plugin add takes a folder holding mod.yaml and the mod-slack binary.

Release checklist

  1. Bump version in Cargo.toml and mod.yaml (keep them equal), commit.
  2. Tag v<version> and push the tag. The release workflow (cargo-dist, .github/workflows/release.yml) uploads mod-slack-<target>.tar.gz for aarch64-apple-darwin, x86_64-unknown-linux-musl and aarch64-unknown-linux-musl.
  3. Open a PR to madlabs-tech/sun-ai bumping this plugin's entry in catalog/mods.json (version and permissions).

License

Apache-2.0, see LICENSE.

About

Sun plugin for Slack: tasks from slash commands and mentions, live notifications, approvals and steering

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages