Skip to content

feat(web-api): add agents.sessions.setStatus and agents.sessions.rename - #1942

Draft
zimeg wants to merge 1 commit into
mainfrom
clack/agents-sessions-methods
Draft

feat(web-api): add agents.sessions.setStatus and agents.sessions.rename#1942
zimeg wants to merge 1 commit into
mainfrom
clack/agents-sessions-methods

Conversation

@zimeg

@zimeg zimeg commented Aug 18, 2026

Copy link
Copy Markdown
Member

Adds the agents.sessions.* Web API methods (setStatus, rename) to the sync, async, and legacy web clients — the successors to assistant.threads.setStatus/setTitle for the agent sessions model. Async + legacy generated via scripts/codegen.py.

Experimental; draft while the API is finalized.

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

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1942      +/-   ##
==========================================
+ Coverage   84.15%   84.17%   +0.02%     
==========================================
  Files         118      118              
  Lines       13446    13470      +24     
==========================================
+ Hits        11315    11339      +24     
  Misses       2131     2131              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@zimeg
zimeg force-pushed the clack/agents-sessions-methods branch from 5bb5f7a to b6d4508 Compare August 18, 2026 06:05
@zimeg
zimeg force-pushed the clack/agents-sessions-methods branch 5 times, most recently from 8f67af3 to 1c5afec Compare August 19, 2026 22:16
zimeg added a commit to slackapi/node-slack-sdk that referenced this pull request Aug 20, 2026
Mirror the Python SDK (slackapi/python-slack-sdk#1942) for the two
agents.sessions methods:

- agents.sessions.rename    Rename an agent session.
- agents.sessions.setStatus Set an agent session's lifecycle status,
                            creating the session if needed.

Adds the client.agents.sessions.{rename,setStatus} bindings, the request
argument types, and the response types.

The response types are generated from the java-slack-sdk API sample logs
via scripts/generate-web-api-types.sh; the samples land in
slackapi/java-slack-sdk#1633, so the generator must be re-run against
java-slack-sdk main once that ships to pick up the final response shape.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@zimeg
zimeg force-pushed the clack/agents-sessions-methods branch from 1c5afec to ecf3482 Compare August 20, 2026 17:19
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 web-client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant