Feature: Bot SDK #54
Labels
No labels
area:api
area:core
area:docs
area:infra
area:ux
dependencies
documentation
duplicate
good first issue
help wanted
invalid
question
rust
status:complete
status:partial
status:planned
type:bug
type:design
type:feature
type:infra
type:refactor
type:refactor
type:research
type:ux
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
icub3d/decentcom#54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Migrated from GitHub issue icub3d/decentcom#76
Original Author: @icub3d
Original Date: 2026-04-17T21:42:08Z
Feature: Bot SDK
Overview
Provide a minimal Rust crate that wraps the decentcom gateway WebSocket and REST API with typed event handlers, so first-party and third-party bot authors can build bots quickly without reimplementing the protocol.
Background
The research in #68 and the bot-framework discussion concluded that bots are the right tool for moderation, welcome flows, and utility tasks that don't belong on the auth/permissions critical path. A thin SDK keeps bot implementations from going brittle or diverging from protocol changes, and it gives reference bots (separate issue) a worked-examples role rather than a reference-implementations-of-the-protocol role.
Requirements
tools/bot-sdk/published asdecentcom-bot(in-tree for now; crates.io later).on_message,on_member_join,on_member_leave, moderation events, etc.tracing.Design
Component Changes
tools/bot-sdk/.shared/where possible.API Sketch
Task List
Phase 1: Core
tools/bot-sdk/workspace crate.shared/types.Phase 2: Polish
tracing-based logging.Test List
Open Questions
Dependencies
is_botclaim).