[Feat] Enable Slack Agent messaging in generated apps - #1425
Merged
Conversation
Contributor
| messages_tab_enabled: true, | ||
| messages_tab_read_only_enabled: false, | ||
| }, | ||
| agent_view: { |
Contributor
There was a problem hiding this comment.
Enabling agent_view alone does not activate the response loop this PR documents. The current Slack client only posts ordinary messages; it never calls assistant.threads.setStatus (required after message.im to open the Agent thread and show its loading state) or the chat.*Stream methods needed for streamed task cards. Generated apps will therefore be switched to the Agent surface without the native loading/thread behavior claimed here. Please add the Agent response calls before enabling this manifest feature, or limit the change and documentation to the surface migration.
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.
Related issue
Internal Roomote work; no linked issue.
Why this PR exists
Generated Roomote Slack apps were configured as standard bot apps. Slack could accept native streaming API calls while not rendering the Agent task-card experience. Declaring
features.agent_viewaligns generated apps with Slack's current agent surface.What changed
assistant:writeand subscribe to Agent-view context eventsImpact
Newly generated Slack apps can render native agent loading states and streamed task cards. Existing manually configured apps need the Agents feature enabled, the added scope/events, a reinstall, and a Slack hard refresh.
How it was tested
@roomote/webtypecheckChecklist
pnpm lintandpnpm check-types(focused checks are listed above)