openclaw/extensions/oc-path
lsr911 145b71f57e
fix(oc-path): use truncateUtf16Safe for error message path truncation (#102527)
* fix(oc-path): use truncateUtf16Safe for error message path truncation

Replace naive .slice(0, 80) with truncateUtf16Safe() at three
error-reporting call sites to prevent surrogate pair splitting
in oc:// path validation error messages.

Co-Authored-By: Claude <noreply@anthropic.com>

* test(oc-path): cover utf16 error truncation

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-09 09:35:17 +01:00
..
src fix(oc-path): use truncateUtf16Safe for error message path truncation (#102527) 2026-07-09 09:35:17 +01:00
cli-metadata.ts docs: document scoped extension sources 2026-06-04 22:07:59 -04:00
cli-registration.ts docs: document scoped extension sources 2026-06-04 22:07:59 -04:00
index.ts docs: document scoped extension sources 2026-06-04 22:07:59 -04:00
openclaw.plugin.json
package.json chore: update dependencies (#100027) 2026-07-04 14:56:50 -04:00