GooDAnDReaDY/dsh-dsml-artifact-guard ↗★ 1

@goodandready/dsh-dsml-artifact-guard

Sanitizes leaked DeepSeek DSML closing tags from model text streams 适合在使用特定模型时遇到DSML标签泄漏,需要自动净化文本流的用户。

Package
@goodandready/dsh-dsml-artifact-guard
Compatibility
Unverified
Cordis peer range
^4.0.1
Version
0.2.4
License
MIT
Last updated
Sep 22, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:GooDAnDReaDY/dsh-dsml-artifact-guard

⚙️ Configuration (settings.yaml)

Configure provider and model targets in settings.yaml or through the Web UI:


### Configuration Parameters

| Parameter | Type | Default | Description |
|:---|:---|:---|:---|
| `mode` | `string` | `"sanitize"` | Operation mode: `"sanitize"` (strip tags), `"audit"` (log only), or `"disabled"` |
| `providerId` | `string` | `"opencode-go"` | Target provider identifier exhibiting leaked tags |
| `modelId` | `string` | `"deepseek-v4-flash"` | Target model identifier exhibiting leaked tags |