DeepSeek Harness 插件

dsh-experience-plugin

DSH plugin: per-model reasoning levels for custom API models, with family presets and an official-settings-page editor.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
SouleyMoni1/dsh-experience-plugin
最近更新
2026年8月21日
分类
工具与能力
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/SouleyMoni1/dsh-experience-plugin
插件名:dsh-experience-plugin
作者:SouleyMoni1

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-experience-plugin

DSH(DeepSeek Harness)功能插件:合并模型思考等级与 CLI 请求模拟,两个模块的配置在官方插件配置页各占一个可收缩卡片。

功能

  • 自动为 openai-responses / openai-completions 协议下未声明 reasoningEfforts 的模型注入思考等级
  • 按模型族自动匹配:deepseek / gpt-5 / grok / claude / glm / qwen / gemini / llama / mistral 等
  • 支持自定义系列预设、协议级覆盖、按系列刷新
  • CLI 请求模拟:本地 HTTP 代理 + 全局 fetch 拦截,把 DSH 模型请求伪装成 Codex / Claude Code / Grok CLI
  • 官方插件配置页两个可收缩模块:模型思考等级 / CLI 请求模拟

安装

dsh plugin --profile web add dsh-experience-plugin

本地开发安装(Windows 跨盘符时先建一个 C 盘 junction,避免 pnpm 对 link:F:/... 解析成错误路径):

New-Item -ItemType Junction -Path "$env:USERPROFILE\.dsh\plugins\dsh-experience-plugin" -Target "<项目绝对路径>"
dsh plugin --profile web add link:C:/Users/<用户名>/.dsh/plugins/dsh-experience-plugin

构建

pnpm install
pnpm build

配置

插件行配置只保留 modelReasoning 功能段:

- id: hello
  name: dsh-experience-plugin
  config:
    modelReasoning:
      enabled: true
      autoInject: true
      familyPresets:
        '^my-(gpt|o)-':
          off: null
          minimal: minimal
          low: low
          medium: medium
          high: high

CLI 请求模拟配置保存在 cli-mimic settings 命名空间,由官方插件配置页的 CLI 请求模拟 模块读写:

cli-mimic:
  enabled: false
  port: 4123
  host: 127.0.0.1
  upstreamBaseUrl: ""
  apiKeyEnv: EDENAIOS_API_KEY
  authorizationPrefix: Bearer
  userAgent: codex_cli_rs/0.148.0 (Windows 10.0; x86_64) WindowsTerminal
  originator: codex_cli_rs
  installationId: aad30239-28a2-451b-a4ed-7a4c5d6ab12b
  addClientMetadata: true
  extraHeadersJson: '{"openai-beta": "responses=experimental", "version": "0.148.0"}'
  extraBodyJson: "{}"
  activeProfileId: codex
  profiles: {}

目录

  • src/features/model-reasoning/:模型思考等级功能
  • src/features/cli-mimic/:CLI 请求模拟功能
  • src/features/settings/:官方插件配置页统一卡片
  • scripts/:验证脚本

License

MIT