Files
openclaw/extensions/inworld
lzyyzznl 08663917fa fix(inworld): use truncateUtf16Safe for error body and parse error truncation (#102608)
* fix(inworld): use truncateUtf16Safe for error body and parse error truncation

Two .slice(0, N) truncation sites in the Inworld TTS extension may
cut UTF-16 surrogate pairs in half when the error body or parse error
message contains multi-byte characters such as emoji. Replace both
with truncateUtf16Safe to keep the truncated output valid Unicode.

* test(inworld): cover UTF-16-safe TTS errors

Co-authored-by: lizeyu-xydt <li.zeyu@xydigit.com>

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-09 12:09:34 +01:00
..

OpenClaw Inworld Plugin

Official OpenClaw plugin for Inworld.

Install from OpenClaw:

openclaw plugins install @openclaw/inworld-speech
openclaw gateway restart

See https://docs.openclaw.ai/providers/inworld for setup and configuration.