dsh-skills-manager rendered its entire UI in Chinese while the plugin
reported success. Its bundle contains no CJK character at all: the bundler
wrote every one as a \uXXXX escape, so `hasChinese(source)` was false and
rewriteScript returned before scanning. 2,835 escaped characters - field
labels, dialogs, errors, the whole plugin - were never candidates.
- src/rewrite.ts: the early-return gate now also accepts an escaped-CJK
form. Decoding was already correct; only the gate was wrong.
- src/dictionary.residual.json: +150 UI strings measured from the escaped
bundle, taking the residual dictionary to 1,602 entries.
Also corrects two measurement errors in the previous report. `count()`
used a non-global regex, so match() returned one hit per file rather than
the character count, and a sum over all 81 combo URLs double-counted
shared bundles. Measurement now decodes every literal and dedupes to the
79 single-entry URLs.
Verified over the served bundle set with escapes decoded:
renderable Chinese in string literals 50,399 -> 3,006 (94.04% removed).
The 3,006 remaining characters are all inside CSS comments in two
stylesheets - zero appear outside comments, so no rendered text is
affected. 55 of 78 bundles are rewritten.