KAsyori/dsh-unicode-guard ↗★ 0

dsh-unicode-guard

DSH plugin that keeps the glyph which trips DeepSeek content moderation out of every model-visible surface, so a fetched page can never permanently break a session with HTTP 400 "Content Exists Risk". 适合经常抓取网页、需防止特定字符导致会话永久损坏的用户。

パッケージ
dsh-unicode-guard
互換性
未検証
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/09/27

インストール

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

ドキュメント

README 全文を読む ↗

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.