Skip to content

feat(methods): add agents.sessions examples - #55

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

feat(methods): add agents.sessions examples#55
zimeg wants to merge 1 commit into
mainfrom
clack/agents-sessions-method-examples

Conversation

@zimeg

@zimeg zimeg commented Aug 20, 2026

Copy link
Copy Markdown
Member

Mirrors the Python examples (slack-samples/bolt-python-examples#201) for the two agents.sessions methods, nested under agents/sessions/ to match.

What's here

  • agents.sessions.rename — Rename an agent session. → agents/sessions/AgentsSessionsRename.java
  • agents.sessions.setStatus — Set an agent session's lifecycle status, creating the session if needed. → agents/sessions/AgentsSessionsSetStatus.java
  • A per-family manifest.json (agent view + the agent session bot events)
  • An agents section in the methods README

Depends on

The agentsSessionsRename / agentsSessionsSetStatus methods are added to slack-api-client in slackapi/java-slack-sdk#1633. The example pom.xml stays 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 compileBUILD SUCCESS.

🤖 Generated with Claude Code

@zimeg zimeg changed the title Add agents.sessions method examples feat(methods): add agents.sessions examples Aug 20, 2026
@zimeg zimeg self-assigned this Aug 20, 2026
@zimeg zimeg added documentation Improvements or additions to documentation new PR only - a new app is being introduced labels Aug 20, 2026
@zimeg
zimeg force-pushed the clack/agents-sessions-method-examples branch 3 times, most recently from a8f77ab to 45fe705 Compare August 20, 2026 17:25
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
zimeg force-pushed the clack/agents-sessions-method-examples branch from 45fe705 to afc65c2 Compare August 20, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation new PR only - a new app is being introduced

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant