fengxiforcy/dsh-surrogate-guard ↗★ 0

dsh-surrogate-guard

DeepSeek Harness plugin: neutralize lone UTF-16 surrogates in tool results and entering messages before the session log records them (prevents permanent 400 INVALID_REQUEST).

패키지
dsh-surrogate-guard
호환성
미검증
버전
0.1.4
라이선스
MIT
최근 업데이트
2026. 10. 29.

설치

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

配置

- id: surrogate-guard
  config:
    replacement: '?'      # 默认 U+FFFD
    toolResults: true     # tools/post-execute + tools/ptc-dispatch-log
    userMessages: true    # agent/pre-step
    log: true             # 只记数量,不记内容