mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-17 10:00:45 +08:00
feat: add Slack bot integration
This commit is contained in:
parent
bee4c2927f
commit
7d44861a07
28 changed files with 3021 additions and 661 deletions
31
src/channels/slack/manifest.mjs
Normal file
31
src/channels/slack/manifest.mjs
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
export const SLACK_APP_MANIFEST_YAML = `_metadata:
|
||||
major_version: 1
|
||||
display_information:
|
||||
name: DeepSeek Harness
|
||||
description: Connect Slack conversations to a local DeepSeek Harness agent.
|
||||
background_color: "#4A154B"
|
||||
features:
|
||||
app_home:
|
||||
home_tab_enabled: false
|
||||
messages_tab_enabled: true
|
||||
messages_tab_read_only_enabled: false
|
||||
bot_user:
|
||||
display_name: DeepSeek Harness
|
||||
always_online: false
|
||||
oauth_config:
|
||||
scopes:
|
||||
bot:
|
||||
- app_mentions:read
|
||||
- chat:write
|
||||
- im:history
|
||||
settings:
|
||||
event_subscriptions:
|
||||
bot_events:
|
||||
- app_mention
|
||||
- message.im
|
||||
org_deploy_enabled: false
|
||||
socket_mode_enabled: true
|
||||
token_rotation_enabled: false
|
||||
`;
|
||||
|
||||
export const SLACK_CREATE_APP_URL = 'https://api.slack.com/apps?new_app=1';
|
||||
Loading…
Add table
Add a link
Reference in a new issue