feat(web-api): add agents.sessions.rename and agents.sessions.setStatus - #2703
Merged
Conversation
🦋 Changeset detectedLatest commit: c85faef 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 #2703 +/- ##
==========================================
+ Coverage 89.14% 89.15% +0.01%
==========================================
Files 65 65
Lines 10361 10383 +22
Branches 473 473
==========================================
+ Hits 9236 9257 +21
- Misses 1094 1095 +1
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/agents-sessions-methods
branch
from
August 20, 2026 16:25
74a4330 to
ee66240
Compare
zimeg
added a commit
to slack-samples/bolt-js-examples
that referenced
this pull request
Aug 20, 2026
Mirror the Python examples (slack-samples/bolt-python-examples#201) 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 scripts, a per-family manifest (agent view + the agent session bot events) with its .slack CLI config, and an "agents" section in the methods README. Requires client.agents.sessions.{rename,setStatus} in @slack/web-api (adds via slackapi/node-slack-sdk#2703); the package stays on the released ^8.0.0 range until that ships, so the typecheck can't resolve the methods until then. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
added a commit
to slack-samples/bolt-js-examples
that referenced
this pull request
Aug 20, 2026
Mirror the Python examples (slack-samples/bolt-python-examples#201) 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 scripts, a per-family manifest (agent view + the agent session bot events) with its .slack CLI config, and an "agents" section in the methods README. Requires client.agents.sessions.{rename,setStatus} in @slack/web-api (adds via slackapi/node-slack-sdk#2703); the package stays on the released ^8.0.0 range until that ships, so the typecheck can't resolve the methods until then. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
added a commit
to slack-samples/bolt-js-examples
that referenced
this pull request
Aug 20, 2026
Mirror the Python examples (slack-samples/bolt-python-examples#201) 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 scripts, a per-family manifest (agent view + the agent session bot events) with its .slack CLI config, and an "agents" section in the methods README. Requires client.agents.sessions.{rename,setStatus} in @slack/web-api (adds via slackapi/node-slack-sdk#2703); the package stays on the released ^8.0.0 range until that ships, so the typecheck can't resolve the methods until then. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
added a commit
to slack-samples/bolt-js-examples
that referenced
this pull request
Aug 20, 2026
Mirror the Python examples (slack-samples/bolt-python-examples#201) 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 scripts, a per-family manifest (agent view + the agent session bot events) with its .slack CLI config, and an "agents" section in the methods README. Requires client.agents.sessions.{rename,setStatus} in @slack/web-api (adds via slackapi/node-slack-sdk#2703); the package stays on the released ^8.0.0 range until that ships, so the typecheck can't resolve the methods until then. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
This was referenced Aug 21, 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
force-pushed
the
clack/agents-sessions-methods
branch
from
August 22, 2026 00:06
ee66240 to
c85faef
Compare
zimeg
marked this pull request as ready for review
August 22, 2026 00:11
zimeg
commented
Aug 22, 2026
zimeg
left a comment
Member
Author
There was a problem hiding this comment.
👾 A small change to polished changelogs on release.
| "@slack/web-api": minor | ||
| --- | ||
|
|
||
| feat(web-api): add [`agents.sessions.rename`](https://docs.slack.dev/reference/methods/agents.sessions.rename) and [`agents.sessions.setStatus`](https://docs.slack.dev/reference/methods/agents.sessions.setStatus) |
Member
Author
There was a problem hiding this comment.
Suggested change
| feat(web-api): add [`agents.sessions.rename`](https://docs.slack.dev/reference/methods/agents.sessions.rename) and [`agents.sessions.setStatus`](https://docs.slack.dev/reference/methods/agents.sessions.setStatus) | |
| feat: add [`agents.sessions.rename`](https://docs.slack.dev/reference/methods/agents.sessions.rename) and [`agents.sessions.setStatus`](https://docs.slack.dev/reference/methods/agents.sessions.setStatus) |
📚 note: Changesets are added to this package without needing redundencies.
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.
Mirrors the Python SDK (slackapi/python-slack-sdk#1942) for the two
agents.sessionsmethods.Documentation
agents.sessions.setStatus— set an agent session's lifecycle status, creating the session if needed.agents.sessions.rename— rename an agent session.What's here
client.agents.sessions.rename— Rename an agent session.client.agents.sessions.setStatus— Set an agent session's lifecycle status, creating the session if needed.src/types/request/agents.ts)src/types/response/AgentsSessions{Rename,SetStatus}Response.ts)Response types — regenerate after the Java SDK PR lands
The response types are produced by
scripts/generate-web-api-types.sh, which runs quicktype over the API sample logs in java-slack-sdk (json-logs/samples/api/). Those samples are added in slackapi/java-slack-sdk#1633.The two response files here were generated by running that exact quicktype pipeline against the #1633 samples, so they should match — but the generator clones
java-slack-sdkmain, so it must be re-run once #1633 is merged to make the response shape authoritative. That's the main reason this is draft.Verified
tsc --noEmit— cleancheck(fullpackages/tree, via pre-commit) — no fixes🤖 Generated with Claude Code