feat(web-api): add session_status to chat.stopStream - #1945
Draft
zimeg wants to merge 1 commit into
Draft
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1945 +/- ##
=======================================
Coverage 84.17% 84.17%
=======================================
Files 118 118
Lines 13470 13470
=======================================
Hits 11339 11339
Misses 2131 2131 ☔ View full report in Codecov by Harness. |
Adds the optional session_status argument to chat.stopStream (sync, async, legacy), which sets the agent session's lifecycle status after stopping the stream (defaults to active). Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
force-pushed
the
clack/chat-stopstream-session-status
branch
from
August 21, 2026 23:12
8c33b55 to
2b046cf
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.
Adds the optional
session_statusargument tochat.stopStreamacross the sync, async, and legacy web clients. When stopping a stream, an app can set the agent session's lifecycle status in the same call. Async + legacy generated viascripts/codegen.py.session_status— the session status to set after stopping the stream. Defaults toactive.Companion to the agent sessions work (
agents.sessions.*methods #1942). Draft — intended to land in the same release window, timed at/after the argument is published in the public method reference.