KAsyori/dsh-unicode-guard ↗★ 0

dsh-unicode-guard

过滤敏感字符以防触发内容审查报错 适合经常抓取网页、需防止特定字符导致会话永久损坏的用户。

包名
dsh-unicode-guard
兼容性
待验证
版本
0.2.0
许可证
MIT
最近更新
2026年9月27日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:KAsyori/dsh-unicode-guard

Configuration

KeyDefaultMeaning
moderegionalregional masks regional indicator pairs only. astral additionally replaces every non-BMP character with replacement, which destroys legitimate output - opt in deliberately.
replacementU+FFFDReplacement used in astral mode only.
toolResultstrueScrub tool results before they are logged.
userMessagestrueScrub user-role messages during heal.
assistantMessagesfalseScrub assistant messages during heal.
requesttrueEnable the llm/stream backstop.
verbosetrueLog one line per rewrite through ctx.logger.

Unknown keys or wrong value types fail at mount time rather than silently doing nothing.