feat(types): add agent_session_stopped and agent_session_title_changed events - #2707
Draft
zimeg wants to merge 2 commits into
Draft
feat(types): add agent_session_stopped and agent_session_title_changed events#2707zimeg wants to merge 2 commits into
zimeg wants to merge 2 commits into
Conversation
🦋 Changeset detectedLatest commit: cba0f8f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2707 +/- ##
=======================================
Coverage 89.15% 89.15%
=======================================
Files 65 65
Lines 10383 10383
Branches 473 473
=======================================
Hits 9257 9257
Misses 1095 1095
Partials 31 31
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
zimeg
force-pushed
the
clack/agent-session-events
branch
from
August 21, 2026 19:30
d560c7d to
9d521d2
Compare
This was referenced Aug 21, 2026
…d events Type the two agent session events an agent app receives, mirroring the existing assistant events. Adds them to the SlackEvent union so bolt-js routes them type-safely. - agent_session_stopped: type, channel, user, thread_ts, streaming_message_ts (array), event_ts - agent_session_title_changed: type, channel, user, team_id, thread_ts, title, previous_title, event_ts Field sets captured from live events. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
force-pushed
the
clack/agent-session-events
branch
from
August 22, 2026 00:23
9d521d2 to
cba0f8f
Compare
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.
Types the two agent session events an agent app receives, so
app.event(...)handlers for them are type-safe in bolt-js (they flow through theSlackEventunion). Mirrors the existing assistant events.Events
processing.type,channel,user,thread_ts,streaming_message_ts(string array),event_tstype,channel,user,team_id,thread_ts,title,previous_title,event_tsNotes
agent_session_title_changedcarriesteam_idon the inner event;agent_session_stoppeddoes not (it carriesstreaming_message_ts, the timestamps of any in-flight streaming messages at stop time).enterprise_id,team_idon the wrapper,authorizations) are handled by the existing event-wrapper types and are not part of these inner-event interfaces.agents.sessions.*methods work (node-slack-sdk#2703); a Java SDK equivalent will mirror these shapes.🤖 Generated with Claude Code