Wanbinyu/dsh-error-lens ↗★ 3

dsh-error-lens

只读且脱敏的供应商错误诊断工具 适合需要记录和排查会话中供应商接口报错,同时要求对敏感信息脱敏的用户。

套件
dsh-error-lens
相容性
待驗證
Harness 依賴範圍
^0.1.0-rc.6 || ^0.1.1-rc.1 || ^0.1.2-rc.1 || ^0.1.5-rc.1
Cordis 依賴範圍
^4.0.1
版本
0.1.7
授權
MIT
最近更新
2026年9月11日

安裝

$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