openclaw/extensions/slack
lzyyzznl 0aae1ea816
fix(slack): use truncateUtf16Safe for message body preview truncation (#102612)
* fix(slack): use truncateUtf16Safe for message body preview truncation

One .slice(0, 160) truncation site in the Slack message handler may
cut UTF-16 surrogate pairs in half when the message body preview
contains multi-byte characters such as emoji. Replace it with
truncateUtf16Safe to keep the truncated output valid Unicode.

* test(slack): cover UTF-16 preview boundary

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-09 12:37:49 +01:00
..
skills/slack refactor(plugins): move owner skills into plugins 2026-06-22 13:54:08 +08:00
src fix(slack): use truncateUtf16Safe for message body preview truncation (#102612) 2026-07-09 12:37:49 +01:00
account-inspect-api.ts
api.ts
channel-config-api.ts
channel-entry.ts
channel-plugin-api.ts
config-api.ts
configured-state.ts
contract-api.ts
directory-contract-api.ts
doctor-contract-api.ts
http-routes-api.ts
inbound-contract-test-api.ts
index.test.ts
index.ts
interactive-replies-api.ts
message-tool-api.ts
npm-shrinkwrap.json chore: update dependencies (#100027) 2026-07-04 14:56:50 -04:00
openclaw.plugin.json refactor(plugins): move owner skills into plugins 2026-06-22 13:54:08 +08:00
outbound-payload-test-api.ts
package.json chore: update dependencies (#100027) 2026-07-04 14:56:50 -04:00
README.md
runtime-api.ts
runtime-setter-api.ts
secret-contract-api.ts
security-contract-api.ts
setup-entry.ts
setup-plugin-api.ts
test-api.ts
tsconfig.json

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.