Skip to content

v0.8.0

Choose a tag to compare

@isaacrowntree isaacrowntree released this 05 Feb 01:11
· 23 commits to main since this release

Agent Resilience

This release makes slackbuzz significantly more resilient when called from AI agents and automation.

New Features

  • slackbuzz send shortcut — top-level alias for slackbuzz message send, so agents don't need to guess the subcommand
  • slackbuzz doctor — validates both tokens and probes key scopes (e.g. channels:read), reports pass/fail with remediation
  • Agent mode (SLACKBUZZ_AGENT=1) — prefers bot token, skips interactive prompts, emits structured JSON errors to stderr
  • Bot-fallback for channel resolution — when user token lacks channels:read, transparently retries with bot token while still posting as the user

Fixes

  • Added channels:read to user token scopes in app manifest (fixes missing_scope for new installs)
  • Improved missing_scope error messages with actionable fix suggestions and --as-bot workaround
  • Fixed SKILL.md bash expansion issue where \! in backtick spans triggered zsh history expansion

Files Changed

File Changes
skills/slackbuzz-cli/SKILL.md Fixed expansion, added send shortcut + agent mode docs
pkg/cmd/app/create.go Added channels:read to user scopes
pkg/cmd/root/root.go Registered send alias and doctor command
pkg/cmd/message/send.go Bot-fallback logic, agent mode defaults
internal/api/errors.go IsMissingScopeError(), FormatResolveError()
pkg/cmdutil/factory.go IsAgentMode()
internal/app/app.go JSON error output in agent mode
pkg/cmd/doctor/doctor.go New doctor command