Skip to content

Commit 04ad79f

Browse files
feat(slack): enable assistant-agent tools via assistant:write scope
Add assistant:write, app_mentions:read, and im:history to the Slack bot OAuth scopes so the Set Assistant Status / Title / Suggested Prompts tools (assistant.threads.*) work with users' existing Slack credentials — no new app or credentials required. Restore the action_assistant trigger capability (scope assistant:write) in the manifest generator. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WpeT8J5yVCrrNQB9Hzm9uS
1 parent 02e1e59 commit 04ad79f

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

apps/sim/lib/oauth/oauth.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,9 @@ export const OAUTH_PROVIDERS: Record<string, OAuthProviderConfig> = {
711711
'groups:write',
712712
'chat:write',
713713
'chat:write.public',
714-
// TODO: Add 'assistant:write' once Slack app review is approved
714+
'assistant:write',
715+
'app_mentions:read',
716+
'im:history',
715717
'im:write',
716718
'im:read',
717719
'users:read',

apps/sim/triggers/slack/capabilities.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,16 @@ export const SLACK_CAPABILITIES: readonly SlackCapability[] = [
105105
scopes: ['channels:history', 'groups:history', 'im:history', 'mpim:history'],
106106
events: [],
107107
},
108-
// TODO: Restore the 'action_assistant' capability (scope 'assistant:write') once Slack app review is approved
108+
{
109+
id: 'action_assistant',
110+
label: 'Drive assistant threads',
111+
description:
112+
'Let the bot set the assistant status, title, and suggested prompts on assistant threads (assistant.threads.*).',
113+
defaultChecked: true,
114+
group: 'action',
115+
scopes: ['assistant:write'],
116+
events: [],
117+
},
109118
{
110119
id: 'action_read_files',
111120
label: 'Read file attachments',

0 commit comments

Comments
 (0)