Commit graph

2 commits

Author SHA1 Message Date
Nick Misasi
ddbcc2d164 feat(python-sdk): export Command class and register command in example
- Export Command wrapper class from main package
- Update hello_python example to register /hello command in OnActivate
- Slash commands must be registered via api.register_command() to work

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 23:13:13 -05:00
Nick Misasi
dcf2d8ba4b feat(10-01): implement example plugin with multiple hooks
Add plugin.py demonstrating SDK capabilities:
- OnActivate: Log activation, get server version via API
- OnDeactivate: Log deactivation
- MessageWillBePosted: Simple word filter example
- ExecuteCommand: /hello command with subcommand support

Also add requirements.txt specifying SDK dependency.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 15:27:55 -05:00