Skip to content

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

Merged
zimeg merged 4 commits into
mainfrom
clack/agents-sessions-method-examples
Sep 24, 2026
Merged

zimeg merged 4 commits 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 compile → BUILD 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
zimeg and others added 3 commits August 27, 2026 01:26
…-method-examples

# Conflicts:
#	methods/README.md
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@zimeg
zimeg marked this pull request as ready for review September 24, 2026 00:00
@zimeg
zimeg requested a review from a team as a code owner September 24, 2026 00:00
@zimeg

zimeg commented Sep 24, 2026

Copy link
Copy Markdown
Member Author

☕ Compiles as expected and sends good requests! This follows earlier release so I'll merge it for now.

@zimeg
zimeg merged commit 58e31d6 into main Sep 24, 2026
4 checks passed
@zimeg
zimeg deleted the clack/agents-sessions-method-examples branch September 24, 2026 00:01
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