Skip to content

Commit 2df47f6

Browse files
zimegClaude
andcommitted
feat(methods): make agents.sessions example manifest a well-formed agent
Add the recommended agent_view event subscriptions (agent_session_stopped, app_home_opened, message.im), the assistant:write scope, and im:history so message.im events deliver; enable socket mode. Clears the manifest recommendations and the agent_session_stopped subscription warning. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
1 parent 13a1d6c commit 2df47f6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎methods/src/agents/sessions/manifest.json‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@
1414
},
1515
"oauth_config": {
1616
"scopes": {
17-
"bot": ["chat:write"]
17+
"bot": ["assistant:write", "chat:write", "im:history"]
1818
}
1919
},
2020
"settings": {
21+
"event_subscriptions": {
22+
"bot_events": ["agent_session_stopped", "app_home_opened", "message.im"]
23+
},
2124
"org_deploy_enabled": true,
22-
"socket_mode_enabled": false,
25+
"socket_mode_enabled": true,
2326
"token_rotation_enabled": false
2427
}
2528
}

0 commit comments

Comments
 (0)