Repository navigation
v0.8.0
Agent Resilience
This release makes slackbuzz significantly more resilient when called from AI agents and automation.
New Features
slackbuzz sendshortcut — top-level alias forslackbuzz message send, so agents don't need to guess the subcommandslackbuzz 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:readto user token scopes in app manifest (fixesmissing_scopefor new installs) - Improved
missing_scopeerror messages with actionable fix suggestions and--as-botworkaround - 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 |