feat(methods): add agents.sessions examples - #55
Draft
zimeg wants to merge 1 commit into
Draft
Conversation
zimeg
force-pushed
the
clack/agents-sessions-method-examples
branch
3 times, most recently
from
August 20, 2026 17:25
a8f77ab to
45fe705
Compare
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
force-pushed
the
clack/agents-sessions-method-examples
branch
from
August 20, 2026 19:55
45fe705 to
afc65c2
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/AgentsSessionsRename.javaagents.sessions.setStatus— Set an agent session's lifecycle status, creating the session if needed. →agents/sessions/AgentsSessionsSetStatus.javamanifest.json(agent view + the agent session bot events)agentssection in the methods READMEDepends on
The
agentsSessionsRename/agentsSessionsSetStatusmethods are added toslack-api-clientin slackapi/java-slack-sdk#1633. The examplepom.xmlstays pinned to the released SDK version, so this can't compile until that method PR ships in a release — hence draft. Verified locally against a snapshot build of #1633:mvn compile→BUILD SUCCESS.🤖 Generated with Claude Code