feat(methods): add agents.sessions examples - #177
Draft
zimeg wants to merge 1 commit into
Draft
Conversation
zimeg
force-pushed
the
clack/agents-sessions-method-examples
branch
2 times, most recently
from
August 20, 2026 16:56
cd33505 to
974da25
Compare
zimeg
force-pushed
the
clack/agents-sessions-method-examples
branch
3 times, most recently
from
August 20, 2026 17:14
d08843e to
c56b2ed
Compare
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
force-pushed
the
clack/agents-sessions-method-examples
branch
from
August 20, 2026 17:25
c56b2ed to
9712e05
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.
Mirrors the Python examples (slack-samples/bolt-python-examples#201) for the two
agents.sessionsmethods, nested underagents/sessions/to match.What's here
agents.sessions.rename— Rename an agent session. →agents/sessions/agents-sessions-rename.jsagents.sessions.setStatus— Set an agent session's lifecycle status, creating the session if needed. →agents/sessions/agents-sessions-set-status.jsmanifest.json(agent view + the agent session bot events) with its.slack/CLI configagentssection in the methods READMECI now type-checks these nested examples thanks to #178 (which fixed a
**-doesn't-recurse false green in the check step); rebased on top of it.Depends on
client.agents.sessions.{rename,setStatus}are added to@slack/web-apiin slackapi/node-slack-sdk#2703. The package stays on the released^8.0.0range, socheckcan't resolve the methods until that ships in a release — hence draft. Verified locally against a build of #2703: the two examples type-check with noagents-related errors.biome checkis clean.🤖 Generated with Claude Code