mattermost/python-sdk
Nick Misasi 6d2974c821 feat(07-02): implement hook servicer with lifecycle and message hooks
- Create PluginHooksServicerImpl implementing PluginHooksServicer gRPC service
- Implement Implemented RPC returning canonical hook names from registry
- Implement lifecycle hooks: OnActivate, OnDeactivate, OnConfigurationChange
- Implement message hooks: MessageWillBePosted, MessageWillBeUpdated
- Implement notification hooks: MessageHasBeenPosted/Updated/Deleted
- Implement MessagesWillBeConsumed with post list modification support
- Add DISMISS_POST_ERROR constant for silent post dismissal
- Register hook servicer in PluginServer.start()
- Document error handling convention in module docstring

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 11:22:56 -05:00
..
scripts feat(06-02): add coverage audit script for RPC/method parity 2026-01-19 09:55:10 -05:00
src/mattermost_plugin feat(07-02): implement hook servicer with lifecycle and message hooks 2026-01-19 11:22:56 -05:00
tests test(07-01): add plugin bootstrap smoke tests 2026-01-19 11:18:43 -05:00
pyproject.toml feat(07-01): export hook system public API and add dependencies 2026-01-19 11:18:28 -05:00