mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-16 11:41:08 +00:00
28 lines
962 B
TypeScript
28 lines
962 B
TypeScript
export { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
|
|
export {
|
|
PAIRING_APPROVED_MESSAGE,
|
|
projectCredentialSnapshotFields,
|
|
resolveConfiguredFromRequiredCredentialStatuses,
|
|
} from "openclaw/plugin-sdk/channel-status";
|
|
export type { ChannelPlugin } from "openclaw/plugin-sdk/channel-core";
|
|
export type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
|
|
export { looksLikeSlackTargetId, normalizeSlackMessagingTarget } from "./target-parsing.js";
|
|
|
|
const SLACK_CHANNEL_META = {
|
|
id: "slack",
|
|
label: "Slack",
|
|
selectionLabel: "Slack",
|
|
docsPath: "/channels/slack",
|
|
docsLabel: "slack",
|
|
blurb: "supports bot + app tokens, channels, threads, and interactive replies.",
|
|
systemImage: "number.square",
|
|
markdownCapable: true,
|
|
} as const;
|
|
|
|
export function getChatChannelMeta(id: string) {
|
|
if (id !== SLACK_CHANNEL_META.id) {
|
|
throw new Error(`Unsupported Slack channel meta lookup: ${id}`);
|
|
}
|
|
return SLACK_CHANNEL_META;
|
|
}
|