@kevinmichaelchen/distilled-slack
v0.2.0
Published
Effect 4-native Slack Web API SDK generated from Slack's official TypeScript SDK
Readme
distilled-slack
An Effect 4-native Slack Web API SDK generated from the official slackapi/node-slack-sdk TypeScript method table.
Slack's OpenAPI repository is archived, so this package pins the active upstream TypeScript SDK as a direct submodule, inspects it with a custom AST generator, and keeps credentials, transport, and error mapping handwritten. There is intentionally no separate distilled-spec-slack mirror.
Set SLACK_TOKEN, provide CredentialsFromEnv and SlackProtocolLive, then call any generated operation such as chatPostMessage({ channel, text }). The protocol resolves credentials for every call and delegates transport to Slack's official WebClient.
