feat: Add Slack plugin with OAuth, messaging, and AI summarization#231
Open
finxo wants to merge 23 commits into
Open
feat: Add Slack plugin with OAuth, messaging, and AI summarization#231finxo wants to merge 23 commits into
finxo wants to merge 23 commits into
Conversation
…schema for Slack plugin
…ssage_destination step
…ew workflow steps
…ction in OAuth flow
…andle expiring tokens with rotation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
📝 Summary
Introduces a full-featured Slack plugin (
titan-plugin-slack) with PKCE-based OAuth authentication, workspace discovery, direct and channel messaging, and AI-powered conversation summarization. The plugin follows the same patterns as existing plugins (Git, GitHub, Jira) and exposes a suite of composable workflow steps. Documentation and step inventory are generated and included alongside the implementation.🔧 Changes Made
SlackIdentityResolverwith caching; implementedvalidate_connection,list_public_channels, andlist_usersdiscovery stepsselect_user_target,select_channel_target, andselect_default_or_search_channel_targetsteps for resolving message destinationssend-slack-channel-messageand direct message workflows using unifiedprepare_message_destinationandpost_messagestepssummarize-slack-targetworkflow withselect_target,ensure_target_conversation,read_recent_messages, andai_summarize_messagesstepsslack-step-inventory.jsonandworkflow-steps.md; updated integration docs and step inventory tooling.harnessandharness/entries🧪 Testing
poetry run pytest)make test)titan-devManual testing performed against a live Slack workspace covering OAuth flow, channel/user listing, message posting, and AI summarization. Unit test coverage for the new plugin steps should be added as a follow-up.
📊 Logs
Log events introduced by the Slack plugin (verify exact names in implementation):
slack_oauth_token_exchanged(DEBUG) — fires after successful PKCE token exchangeslack_identity_resolved(DEBUG) — fires when workspace identity is fetched/cachedslack_message_posted(DEBUG) — fires after a message is successfully posted to a conversationslack_summarize_complete(DEBUG) — fires after AI summarization, includessource_countandtranscript_chars✅ Checklist
Plugins > Git Plugin,GitHub Plugin,Jira Plugin)