fishOfOUC/dsh-self-analyze0

@dsh-external/dsh-self-analyze

自我分析插件:按轮次查看 token 消耗与单轮过程,帮助 AI 总结少走弯路的方法

包名
@dsh-external/dsh-self-analyze
版本
0.0.1
最近更新
2026年8月18日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fishOfOUC/dsh-self-analyze

可选配置

profile cordis.patch.yml 覆盖(全部可选,有默认值):

- id: dsh-self-analyze
  name: '@dsh-external/dsh-self-analyze'
  config:
    promptPreviewChars: 120    # 总览里每轮任务提示词预览上限
    stepPreviewChars: 400      # 单轮每步模型输出预览上限
    toolArgsPreviewChars: 160  # 单轮工具参数摘要上限
    priceSync:
      enabled: true             # 官方价格在线同步开关
      url: https://api-docs.deepseek.com/zh-cn/quick_start/pricing/
      intervalMs: 43200000      # 同步周期(12h)
      timeoutMs: 15000

配置说明(对应 cordis.patch.yml

插件行的 config: 里已用注释给出了全部可选键及其默认值(见仓库内 cordis.patch.yml), 需要调参直接照注释去掉 # 改值即可;priceSync 控制官方价格在线同步(默认开启)。