mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-05 12:43:32 +00:00
* fix(slack): guard relay WebSocket frame JSON.parse against malformed input Slack Socket Mode relay receives WebSocket frames from external infrastructure. parseRelayFrame() used bare JSON.parse() which would throw raw SyntaxError on malformed frames, potentially crashing the relay connection. Wrap JSON.parse in try/catch and throw SlackRelayMalformedFrameError with the original SyntaxError as cause, so callers can distinguish transport errors from parse errors. D4 dimension — all competitors have zero coverage. Signed-off-by: lsr911 <liao.shirong@xydigit.com> * fix(slack): repair relay frame guard tests --------- Signed-off-by: lsr911 <liao.shirong@xydigit.com> Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
OpenClaw Slack
Official OpenClaw channel plugin for Slack channels, DMs, commands, and app events.
Install from OpenClaw:
openclaw plugin add @openclaw/slack
Configure the Slack app credentials and allowed workspaces/channels in OpenClaw. The plugin lets agents receive Slack events and reply through the configured Slack app.