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. 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.