DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

SouleyMoni1 /

SouleyMoni1/dsh-experience-plugin

已验证

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

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@9817ee2e

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

—/ 5

暂无评分

已验证 DSH bundle

Commit 9817ee2eb099

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于