openclaw/extensions/qa-matrix
huangjianxiong 5ba981a437
fix(qa-matrix): keep room scenario preview truncation UTF-16 safe (#102606)
* fix(qa-matrix): keep room scenario preview truncation UTF-16 safe

Replace 7x `.slice(0, N)` with `truncateUtf16Safe(..., N)` in
runMatrixStreamingPreviewScenario and runMatrixToolProgressScenario
to prevent surrogate pair corruption in body/formattedBody previews.

Ref. lsr911 pattern — mechanical substitution, no behavior change.

* test(qa-matrix): prove UTF-16 artifact boundaries

Co-authored-by: 黄剑雄0668001315 <huang.jianxiong@xydigit.com>

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-09 12:07:23 +01:00
..
src fix(qa-matrix): keep room scenario preview truncation UTF-16 safe (#102606) 2026-07-09 12:07:23 +01:00
cli.ts refactor(qa): add canonical live channel adapters (#99707) 2026-07-06 09:24:34 -07:00
index.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
openclaw.plugin.json perf: mark capability plugins startup lazy 2026-04-28 04:33:47 +01:00
package.json fix(release): use workspace host deps in release lockfile 2026-06-30 15:54:12 -07:00
runtime-api.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00