[run-mode addon] Add hideFirstChars to stand-alone shims

Issue #2054