Wanbinyu/dsh-error-lens0

dsh-error-lens

适用于 DeepSeek Harness 的只读、脱敏服务商错误诊断插件,保留每个会话最近的错误记录。

AI 分析

核心用途是安全地诊断 API 报错。适合需要排查模型服务商返回的错误,同时要求对敏感信息进行自动脱敏处理的 DSH 用户。

套件
dsh-error-lens
版本
0.1.0
授權
MIT
最近更新
2026年8月19日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Wanbinyu/dsh-error-lens

配置

默认配置位于 Web profile 的 cordis.patch.yml

- insert:
    - id: error-lens
      name: dsh-error-lens
      config:
        maxRecords: 10
        maxMessageLength: 2000
选项默认值说明
maxRecords10每个会话投影保留的最近错误数量,范围 1-50
maxMessageLength2000单条脱敏错误的最大字符数,范围 256-8000