Skip to content

feat: add Slack Agent messaging experience (agent_view) support#684

Open
damianborowy-nexos wants to merge 2 commits into
vercel:mainfrom
damianborowy-nexos:feat/slack-agent-view
Open

feat: add Slack Agent messaging experience (agent_view) support#684
damianborowy-nexos wants to merge 2 commits into
vercel:mainfrom
damianborowy-nexos:feat/slack-agent-view

Conversation

@damianborowy-nexos

Copy link
Copy Markdown

Summary

Add support for Slack's Agent messaging experience (agent_view), the 2026 replacement for assistant_view.

  • Core:
    • new onAppContextChanged event carrying the active-view context as a normalized AppContextEntity[] (channel / canvas / list / message / unknown) describing what the user is currently viewing
    • AppHomeOpenedEvent now carries the same folded active-view context as optional entities
  • Slack adapter:
    • agentView config flag (now under agent_view the app_home_opened is a signal that DM was opened, regardless of tab, and the active-view context is folded onto DM messages)
    • app_context_changed routing
    • getAppContext(message) helper to read the folded context off a DM message
    • under agentView, DM messages are threaded per Slack's new model - each user message is a thread root
  • Bumped @slack/web-api to ^7.18.0

Slack references

Test plan

  • Ran pnpm validate
  • Covered with unit tests and an integration replay test through the full webhook flow
  • Tested it on a live app that uses chat, confirmed that new agent view is fully operational, bot responses are properly sent as thread replies, new events are properly captured (and everything works just like it previously did when agentView flag is not active), active-view context is properly passed to onAppContextChanged, AppHomeOpenedEvent, and to agent view DMs

Checklist

  • All commits are signed and verified
  • All commits are signed off for the DCO (git commit -s)
  • pnpm validate passes
  • Changeset added
  • Documentation updated

@damianborowy-nexos damianborowy-nexos requested a review from a team as a code owner July 8, 2026 08:10
@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

@damianborowy-nexos is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Signed-off-by: Damian Borowy <301205838+damianborowy-nexos@users.noreply.github.com>
@socket-security

socket-security Bot commented Jul 8, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​slack/​web-api@​7.18.010010010099100

View full report

…ined context more explicit

Signed-off-by: Damian Borowy <301205838+damianborowy-nexos@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant