Skip to content

feat(web-api): add session_status to chat.stopStream - #1945

Draft
zimeg wants to merge 1 commit into
mainfrom
clack/chat-stopstream-session-status
Draft

feat(web-api): add session_status to chat.stopStream#1945
zimeg wants to merge 1 commit into
mainfrom
clack/chat-stopstream-session-status

Conversation

@zimeg

@zimeg zimeg commented Aug 21, 2026

Copy link
Copy Markdown
Member

Adds the optional session_status argument to chat.stopStream across 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 via scripts/codegen.py.

  • session_status — the session status to set after stopping the stream. Defaults to active.

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.

@zimeg zimeg added enhancement M-T: A feature request for new functionality semver:minor labels Aug 21, 2026
@zimeg zimeg self-assigned this Aug 21, 2026
@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.17%. Comparing base (ac312d4) to head (2b046cf).
✅ All tests successful. No failed tests found.

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.
📢 Have feedback on the report? Share it here.

@zimeg zimeg added this to the 3.44.0 milestone Aug 21, 2026
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
zimeg force-pushed the clack/chat-stopstream-session-status branch from 8c33b55 to 2b046cf Compare August 21, 2026 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement M-T: A feature request for new functionality semver:minor Version: 3x web-client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant