mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
e197b1a46e
- dependencies: workspace:* -> published ranges (@copilotkit/bot* ~0.0.1,
@copilotkit/runtime ^1.59.5) — the example is a consumer of the released
packages, installable and deployable with zero monorepo context
- drop the private @copilotkit/typescript-config devDep; inline the base
compiler options into tsconfig.json (verified identical tsc result)
- commit a standalone examples/slack/pnpm-lock.yaml for isolated installs
(root workspace installs ignore it)
- slack-app-manifest.{yaml,json}: remove assistant:write scope +
assistant_thread_started event (Slack rejects them without an
assistant_view feature block; the bot doesn't implement that surface),
add the /triage slash command the bot registers
Verified: slack-example tests 38/38 against the published packages; direct
tsc --noEmit clean; standalone install + runtime/bot boot exercised in a
gitless clean-room snapshot.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
80 lines
1.9 KiB
JSON
80 lines
1.9 KiB
JSON
{
|
|
"display_information": {
|
|
"name": "CopilotKit Triage",
|
|
"description": "On-call triage assistant \u2014 query/file Linear issues and find/write Notion pages from Slack.",
|
|
"background_color": "#1a1a1a"
|
|
},
|
|
"features": {
|
|
"app_home": {
|
|
"home_tab_enabled": false,
|
|
"messages_tab_enabled": true,
|
|
"messages_tab_read_only_enabled": false
|
|
},
|
|
"bot_user": {
|
|
"display_name": "CopilotKit Triage",
|
|
"always_online": true
|
|
},
|
|
"slash_commands": [
|
|
{
|
|
"command": "/agent",
|
|
"description": "Talk to the AG-UI agent from any channel",
|
|
"usage_hint": "<your message>",
|
|
"should_escape": false
|
|
},
|
|
{
|
|
"command": "/triage",
|
|
"description": "Triage this thread \u2014 summarize and propose Linear issues",
|
|
"usage_hint": "",
|
|
"should_escape": false
|
|
}
|
|
]
|
|
},
|
|
"oauth_config": {
|
|
"scopes": {
|
|
"user": ["chat:write"],
|
|
"bot": [
|
|
"app_mentions:read",
|
|
"channels:history",
|
|
"groups:history",
|
|
"im:history",
|
|
"mpim:history",
|
|
"channels:read",
|
|
"groups:read",
|
|
"im:read",
|
|
"mpim:read",
|
|
"users:read",
|
|
"users:read.email",
|
|
"team:read",
|
|
"chat:write",
|
|
"chat:write.public",
|
|
"chat:write.customize",
|
|
"im:write",
|
|
"mpim:write",
|
|
"reactions:read",
|
|
"reactions:write",
|
|
"files:read",
|
|
"files:write",
|
|
"channels:join",
|
|
"commands"
|
|
]
|
|
}
|
|
},
|
|
"settings": {
|
|
"event_subscriptions": {
|
|
"bot_events": [
|
|
"app_mention",
|
|
"message.channels",
|
|
"message.groups",
|
|
"message.im",
|
|
"message.mpim"
|
|
]
|
|
},
|
|
"interactivity": {
|
|
"is_enabled": true
|
|
},
|
|
"socket_mode_enabled": true,
|
|
"org_deploy_enabled": false,
|
|
"token_rotation_enabled": false
|
|
}
|
|
}
|