在工具输出写入会话日志前中和落单的 UTF-16 代理字符,避免会话永久 400 无法继续。
dsh plugin --profile web add github:fengxiforcy/dsh-surrogate-guard
这个插件还没测过。提交测试 →
GitHub · Homepage · npm