You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3d664a0
Browse filesBrowse the repository at this point in the historyBrowse files
committed
refactor(methods): rename codeChannels examples to agents.conversations.*
Decision (2026-09-23): ship agents.conversations.* only — no legacy
codeChannels.* method names. Renames methods/src/code_channels/ ->
methods/src/agents/conversations/, updates each example's method call
(client.agents_conversations_*), aligns args to the SDK #1943 signatures
(getCanvas/setCanvasContent take channel, not channel_id), drops the
rename example (agents.sessions.rename, covered by #201), and updates the
manifest description + methods/README. The features.code_channels manifest
feature and code_channels:manage scope are unchanged — only method names moved.
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: methods/README.md
+9-13Lines changed: 9 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,22 +18,18 @@ $ slack run chat_post_message.py # Make the request
18
18
19
19
### agents
20
20
21
+
-**[agents.conversations.archive](https://docs.slack.dev/reference/methods/agents.conversations.archive)**: Archives a code channel, optionally recording a summary message on the channel. [Implementation](./src/agents/conversations/agents_conversations_archive.py).
22
+
-**[agents.conversations.create](https://docs.slack.dev/reference/methods/agents.conversations.create)**: Creates a dedicated code channel for an agent session. [Implementation](./src/agents/conversations/agents_conversations_create.py).
23
+
-**[agents.conversations.getCanvas](https://docs.slack.dev/reference/methods/agents.conversations.getCanvas)**: Fetches a canvas attached to a code channel — full content plus comment threads — in a single round-trip. [Implementation](./src/agents/conversations/agents_conversations_get_canvas.py).
24
+
-**[agents.conversations.listViews](https://docs.slack.dev/reference/methods/agents.conversations.listViews)**: Lists the view tabs attached to a code channel. [Implementation](./src/agents/conversations/agents_conversations_list_views.py).
25
+
-**[agents.conversations.removeView](https://docs.slack.dev/reference/methods/agents.conversations.removeView)**: Removes a view from a code channel. [Implementation](./src/agents/conversations/agents_conversations_remove_view.py).
26
+
-**[agents.conversations.setCanvasContent](https://docs.slack.dev/reference/methods/agents.conversations.setCanvasContent)**: Replaces the full markdown content of a canvas attached to a code channel, preserving the comment threads on the sections your agent didn't change. [Implementation](./src/agents/conversations/agents_conversations_set_canvas_content.py).
27
+
-**[agents.conversations.setCommands](https://docs.slack.dev/reference/methods/agents.conversations.setCommands)**: Registers the set of slash commands your agent offers in a code channel. [Implementation](./src/agents/conversations/agents_conversations_set_commands.py).
28
+
-**[agents.conversations.setProperties](https://docs.slack.dev/reference/methods/agents.conversations.setProperties)**: Sets properties on a code channel: context bar items and external resource details. [Implementation](./src/agents/conversations/agents_conversations_set_properties.py).
29
+
-**[agents.conversations.setView](https://docs.slack.dev/reference/methods/agents.conversations.setView)**: Creates or updates a view in a code channel. Views can render HTML, diffs, Block Kit, or canvases as tabs alongside the conversation. [Implementation](./src/agents/conversations/agents_conversations_set_view.py).
21
30
-**[agents.sessions.rename](https://docs.slack.dev/reference/methods/agents.sessions.rename)**: Rename an agent session. [Implementation](./src/agents/sessions/agents_sessions_rename.py).
22
31
-**[agents.sessions.setStatus](https://docs.slack.dev/reference/methods/agents.sessions.setStatus)**: Set an agent session's lifecycle status, creating the session if needed. [Implementation](./src/agents/sessions/agents_sessions_set_status.py).
23
32
24
33
### chat
25
34
26
35
-**[chat.postMessage](https://docs.slack.dev/reference/methods/chat.postmessage)**: Sends a message to a channel. [Implementation](./src/chat/chat_post_message.py).
27
-
28
-
### codeChannels
29
-
30
-
-**[codeChannels.archive](https://docs.slack.dev/reference/methods/codeChannels.archive)**: Archives a code channel, optionally recording a summary message on the channel. [Implementation](./src/code_channels/code_channels_archive.py).
31
-
-**[codeChannels.create](https://docs.slack.dev/reference/methods/codeChannels.create)**: Creates a dedicated code channel for an agent session. [Implementation](./src/code_channels/code_channels_create.py).
32
-
-**[codeChannels.getCanvas](https://docs.slack.dev/reference/methods/codeChannels.getCanvas)**: Fetches a canvas attached to a code channel — full content plus comment threads — in a single round-trip. [Implementation](./src/code_channels/code_channels_get_canvas.py).
33
-
-**[codeChannels.listViews](https://docs.slack.dev/reference/methods/codeChannels.listViews)**: Lists the view tabs attached to a code channel. [Implementation](./src/code_channels/code_channels_list_views.py).
34
-
-**[codeChannels.removeView](https://docs.slack.dev/reference/methods/codeChannels.removeView)**: Removes a view from a code channel. [Implementation](./src/code_channels/code_channels_remove_view.py).
35
-
-**[codeChannels.rename](https://docs.slack.dev/reference/methods/codeChannels.rename)**: Renames a code channel. [Implementation](./src/code_channels/code_channels_rename.py).
36
-
-**[codeChannels.setCanvasContent](https://docs.slack.dev/reference/methods/codeChannels.setCanvasContent)**: Replaces the full markdown content of a canvas attached to a code channel, preserving the comment threads on the sections your agent didn't change. [Implementation](./src/code_channels/code_channels_set_canvas_content.py).
37
-
-**[codeChannels.setCommands](https://docs.slack.dev/reference/methods/codeChannels.setCommands)**: Registers the set of slash commands your agent offers in a code channel. [Implementation](./src/code_channels/code_channels_set_commands.py).
38
-
-**[codeChannels.setProperties](https://docs.slack.dev/reference/methods/codeChannels.setProperties)**: Sets properties on a code channel: context bar items and external resource details. [Implementation](./src/code_channels/code_channels_set_properties.py).
39
-
-**[codeChannels.setView](https://docs.slack.dev/reference/methods/codeChannels.setView)**: Creates or updates a view in a code channel. Views can render HTML, diffs, Block Kit, or canvases as tabs alongside the conversation. [Implementation](./src/code_channels/code_channels_set_view.py).
0 commit comments