/** * Return Slack package discovery metadata: user-token identity, exports, and safety notes. * Use when choosing among Slack helpers before reading history or sending a message. * * @returns Integration overview including export list and confirmation requirements * * @example * import slackOverview from 'kody:@kentcdodds/slack' * const info = await slackOverview() * // => { integration: 'slack', identity: 'user', exports: [...], safety: { ... } } */ export default async function slackOverview() { return { integration: 'slack', identity: 'user', apiBaseUrl: 'https://slack.com/api', exports: [ 'smoke-test', 'list-conversations', 'list-users', 'get-history', 'get-replies', 'send-message', ], safety: { sendingRequiresConfirmation: true, dryRunAvailable: true, botTokensSupported: false, }, } }