Skip to content

@paraharness/slack ​

Variables ​

VariableDescription
defaultSlackTransportDefault Slack transport backed by @slack/web-api, @slack/webhook, and @slack/socket-mode.
slackFrozen @paraharness/slack DSL namespace singleton (slack.bot, slack.webhook).
slackExecutorsDefault frozen RuntimeExecutorRegistrySlice for @paraharness/slack.

Functions ​

FunctionDescription
createSlackBotBuilderCompiles a passive SlackApproverNode from SlackBotOptions (slack.bot).
createSlackExecutorsCreates a RuntimeExecutorRegistrySlice registering all @paraharness/slack human and control-plane adapters.
createSlackWebhookBuilderCompiles a passive SlackNotifierNode for a one-way Slack incoming webhook (slack.webhook).

Classes ​

ClassDescription
SlackApproverAdapterBidirectional Slack Socket Mode HumanAdapter and ControlPlaneAdapter (slack:approver).
SlackNotifierAdapterOne-way notify-only Slack incoming webhook HumanAdapter (slack:notifier).

Interfaces ​

InterfaceDescription
SlackApproverNodePassive AST node configuring a bidirectional Slack Socket Mode human approver and control plane (slack.bot).
SlackBotOptionsConfiguration options for the bidirectional Slack Socket Mode bot builder (slack.bot).
SlackMessageReceiptReceipt returned by SlackTransport.postMessage(...) containing the Slack message timestamp.
SlackNamespacePublic DSL builder namespace for @paraharness/slack (slack.*).
SlackNotifierNodePassive AST node configuring a one-way notify-only Slack incoming webhook channel (slack.webhook).
SlackTransportPluggable transport abstraction for Slack Web API (chat.postMessage, chat.update), incoming webhooks (@slack/webhook), and Socket Mode control-plane connections (@slack/socket-mode).

Released under the MIT License.