概览
dsh-encoding
README / ZH
插件文档
目录摘要
dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
- **Does not replace or fix** the built-in `bash`/`pwsh` tools, `ctx.shell`, or `dsh-subprocess-local` — those are out of scope by design (version-fragile core work). This plugin is a *supplement*, and says so. - No sandbox / approval / background-task integration for `encoding_run`. - Encoding detection is heuristic (UTF-8 validity, UTF-16LE NUL pattern, GBK high-byte ratio, BOM). Ambiguous cases exist — e.g. BOM-less pure-CJK UTF-16LE vs GBK — so force `encoding` when you know the answer. - U+FFFD in the input is information already destroyed; recovery is impossible and is reported as such. - Output is capped at 8 MiB per stream; on timeout the process tree is killed (Windows: `taskkill /T /F`, POSIX: process-group SIGKILL).
