Files
ironclaw/channels-src/slack/slack.capabilities.json
Nige 3c1f37b50a fix(slack): remember thread participation across replies (#1540)
* fix(slack): remember thread participation across replies

* perf(slack): use hashset for active thread tracking

* fix(slack): scope active thread memory

* fix: address review findings (iteration 1)

* fix(slack): address ilblackdragon review — harden thread state (#1540)

---------

Co-authored-by: Firat Sertgoz <f@nuff.tech>
2026-04-19 19:31:50 +02:00

65 lines
1.7 KiB
JSON

{
"version": "0.2.0",
"wit_version": "0.3.0",
"type": "channel",
"name": "slack",
"description": "Slack Events API channel for receiving and responding to Slack messages",
"setup": {
"required_secrets": [
{
"name": "slack_bot_token",
"prompt": "Enter your Slack Bot User OAuth Token (starts with xoxb-). Find it under OAuth & Permissions in your Slack App settings.",
"optional": false
},
{
"name": "slack_signing_secret",
"prompt": "Enter your Slack App Signing Secret (found under Basic Information > App Credentials in your Slack App settings).",
"optional": false
}
],
"setup_url": "https://api.slack.com/apps"
},
"capabilities": {
"http": {
"allowlist": [
{ "host": "slack.com", "path_prefix": "/api/" }
],
"credentials": {
"slack_bot": {
"secret_name": "slack_bot_token",
"location": { "type": "bearer" },
"host_patterns": ["slack.com"]
}
},
"rate_limit": {
"requests_per_minute": 50,
"requests_per_hour": 1000
}
},
"secrets": {
"allowed_names": ["slack_*"]
},
"channel": {
"allowed_paths": ["/webhook/slack"],
"allow_polling": false,
"workspace_prefix": "channels/slack/",
"emit_rate_limit": {
"messages_per_minute": 100,
"messages_per_hour": 5000
},
"durable_workspace_paths": [
"state/active_threads"
],
"webhook": {
"hmac_secret_name": "slack_signing_secret"
}
}
},
"config": {
"signing_secret_name": "slack_signing_secret",
"owner_id": null,
"dm_policy": "pairing",
"allow_from": []
}
}