feat: add agents.sessions.setStatus and agents.sessions.rename - #1633
Draft
zimeg wants to merge 1 commit into
Draft
feat: add agents.sessions.setStatus and agents.sessions.rename#1633zimeg wants to merge 1 commit into
zimeg wants to merge 1 commit into
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## api #1633 +/- ##
============================================
+ Coverage 70.80% 73.13% +2.33%
- Complexity 235 4523 +4288
============================================
Files 44 478 +434
Lines 548 14339 +13791
Branches 47 1491 +1444
============================================
+ Hits 388 10487 +10099
- Misses 137 2962 +2825
- Partials 23 890 +867
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
zimeg
force-pushed
the
clack/agents-sessions-methods
branch
7 times, most recently
from
August 20, 2026 13:22
082dff4 to
3ee8e00
Compare
This was referenced Aug 20, 2026
zimeg
force-pushed
the
clack/agents-sessions-methods
branch
from
August 20, 2026 16:24
3ee8e00 to
580e947
Compare
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>
zimeg
force-pushed
the
clack/agents-sessions-methods
branch
from
August 20, 2026 16:31
580e947 to
4cff141
Compare
Add the agents.sessions.* Web API methods (successors to assistant.threads.setStatus/setTitle): request/response classes, sync + async client methods, form builder, Tier3 rate-limit metadata, a response-sample dump, and remote API tests. Arguments follow the method reference; scope chat:write. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
force-pushed
the
clack/agents-sessions-methods
branch
from
August 20, 2026 16:33
4cff141 to
3918e12
Compare
zimeg
added a commit
to slack-samples/bolt-java-examples
that referenced
this pull request
Aug 20, 2026
Mirror the Python examples (slackapi/bolt-python-examples) for the two
agents.sessions methods, nested under agents/sessions/ to match:
- agents.sessions.rename Rename an agent session.
- agents.sessions.setStatus Set an agent session's lifecycle status,
creating the session if needed.
Adds the two example classes, a per-family manifest (agent_view + the
agent bot events), and an "agents" section in the methods README.
Requires the agents.sessions methods in slack-api-client (adds via
slackapi/java-slack-sdk#1633); the example pom stays pinned to the
released SDK until that ships.
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
added a commit
to slack-samples/bolt-java-examples
that referenced
this pull request
Aug 20, 2026
Mirror the Python examples (slackapi/bolt-python-examples) for the two
agents.sessions methods, nested under agents/sessions/ to match:
- agents.sessions.rename Rename an agent session.
- agents.sessions.setStatus Set an agent session's lifecycle status,
creating the session if needed.
Adds the two example classes, a per-family manifest (agent_view + the
agent bot events), and an "agents" section in the methods README.
Requires the agents.sessions methods in slack-api-client (adds via
slackapi/java-slack-sdk#1633); the example pom stays pinned to the
released SDK until that ships.
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
added a commit
to slack-samples/bolt-java-examples
that referenced
this pull request
Aug 20, 2026
Mirror the Python examples (slackapi/bolt-python-examples) for the two
agents.sessions methods, nested under agents/sessions/ to match:
- agents.sessions.rename Rename an agent session.
- agents.sessions.setStatus Set an agent session's lifecycle status,
creating the session if needed.
Adds the two example classes, a per-family manifest (agent_view + the
agent bot events), and an "agents" section in the methods README.
Requires the agents.sessions methods in slack-api-client (adds via
slackapi/java-slack-sdk#1633); the example pom stays pinned to the
released SDK until that ships.
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
added a commit
to slack-samples/bolt-java-examples
that referenced
this pull request
Aug 20, 2026
Mirror the Python examples (slackapi/bolt-python-examples) for the two
agents.sessions methods, nested under agents/sessions/ to match:
- agents.sessions.rename Rename an agent session.
- agents.sessions.setStatus Set an agent session's lifecycle status,
creating the session if needed.
Adds the two example classes, a per-family manifest (agent_view + the
agent bot events), and an "agents" section in the methods README.
Requires the agents.sessions methods in slack-api-client (adds via
slackapi/java-slack-sdk#1633); the example pom stays pinned to the
released SDK until that ships.
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
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
agents.sessions.*Web API methods — the agent-sessions successors toassistant.threads.setStatus/assistant.threads.setTitle.Methods
agents.sessions.setStatus—channel_id(required),status(required), optionalthread_ts,title,initiator_user_id,icon_emoji,icon_url,usernameagents.sessions.rename—channel_id(required),title(required), optionalthread_tsBot token scope:
chat:write. Rate limit: Tier 3 (both).What's included
AgentsSessionsSetStatusRequest,AgentsSessionsRenameRequestAgentsSessionsSetStatusResponse,AgentsSessionsRenameResponseRequestFormBuilderform serializationMethodsRateLimits+rate_limit_tiers.json)MethodsResponseDumpTest.agents_sessions()) for downstream type generationtest_with_remote_apis/methods/agents_sessions_Test) — assume-gated on a bot token, so they skip cleanly without credentialsMirrors the Python SDK implementation (slackapi/python-slack-sdk#1942). Draft/experimental.