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
..
index.ts docs: document small extension sources 2026-06-04 21:02:07 -04:00
inworld.live.test.ts docs: document small extension sources 2026-06-04 21:02:07 -04:00
npm-shrinkwrap.json chore(release): close out 2026.6.11 on main 2026-06-30 11:31:08 -07:00
openclaw.plugin.json
package.json chore(release): close out 2026.6.11 on main 2026-06-30 11:31:08 -07:00
README.md feat(plugins): externalize official provider batch 2026-06-19 01:05:52 +08:00
speech-provider.test.ts docs: document small extension sources 2026-06-04 21:02:07 -04:00
speech-provider.ts docs: document small extension sources 2026-06-04 21:02:07 -04:00
tsconfig.json
tts.test.ts fix(inworld): use truncateUtf16Safe for error body and parse error truncation (#102608) 2026-07-09 12:09:34 +01:00
tts.ts fix(inworld): use truncateUtf16Safe for error body and parse error truncation (#102608) 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.