Badakonpro/dsh-llm-volcengine

Plugin for integrating DeepSeek Harness (DSH) with Volcano Ark Agent Plan and Coding Plan, with thought intensity (low/medium/high/xhigh/max) compatibility verified through real-world testing.

Project Overview项目介绍

This repository is a native DSH profile bundle built exclusively for DeepSeek Harness, that adds support for Volcengine Ark's Agent Plan and Coding Plan LLM providers. It resolves a number of common configuration issues that users run into when manually adding a Volcengine route to DSH’s settings.yaml, including incompatible request formats, incorrect max token caps that break or underutilize models, and missing support for thinking effort controls. To install, users run the dsh plugin --profile <profile-name> add dsh-llm-volcengine command from their DSH profile root, then restart DSH or reload their profile to activate the bundle.

It is targeted at DSH users who want to use popular large models like DeepSeek v4, GLM 5, Kimi K series, and Doubao Seed via Volcengine Ark’s service inside DSH. After installation, users just need to configure their Volcengine Ark API key, either via DSH’s built-in credential service or an environment variable, and can even override the default credential environment variable name in the bundle’s config if needed. Two new provider routes, volcengine-plan for Agent Plan and volcengine-coding for Coding Plan, will then appear in DSH’s model selector, and users can select any pre-configured model directly from the list.

The bundle leverages community-verified compatibility data from pi-ai’s existing Volcengine provider packages, and does not rely on the existing dsh-llm-pi-ai compatibility schema because all model-specific compatibility settings are built directly into the bundle. All per-model max token limits and thinking effort support are pre-configured based on community testing, so users do not need to adjust these settings manually. It is released under the open-source MIT license, so it is free to use for both personal and commercial projects, and users can adjust default reasoning effort via cordis.patch.yml to match their preferences.

这是一个专为DeepSeek Harness(DSH)开发的原生配置包,用于为DSH添加火山引擎方舟(Volcengine Ark)的Agent计划和编码计划LLM提供程序支持。它解决了手动在settings.yaml中声明火山引擎路由时遇到的诸多常见问题,比如错误的请求格式、不对的最大令牌限制,以及缺失的思考强度控制功能。用户可以通过DSH的CLI命令将其安装到现有DSH配置文件中,安装完成后需要重启DSH或者重新加载配置文件才能生效。

这个工具面向使用DSH且希望通过火山方舟调用DeepSeek、GLM、Kimi、Doubao等主流大模型的开发者。安装完成后,用户只需要配置好火山方舟的API密钥,两个新的提供程序路由volcengine-plan和volcengine-coding就会出现在DSH的模型选择器中。用户可以直接选择对应路由下的任意模型,插件会自动处理请求格式兼容和每款模型的参数限制。

该包基于pi-ai的社区验证兼容规则开发,本身不依赖dsh-llm-pi-ai的兼容配置schema,所有模型的兼容设置都内置在包中。它采用MIT许可协议开源,完全免费供个人和商业使用。用户可以通过环境变量或者DSH凭证服务配置API密钥,还可以在cordis.patch.yml中修改默认的密钥环境变量名和默认思考强度。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-llm-volcengine

把 Badakonpro/dsh-llm-volcengine 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-llm-volcengine

npm version MIT License

Volcengine Ark Agent Plan and Coding Plan providers for DeepSeek Harness (DSH), with verified thinking-effort compatibility.

A DSH profile bundle that registers two LLM provider routes through a self-contained pi-ai-backed LlmAdapter, so model catalogs and compatibility switches reach pi-ai without depending on the dsh-llm-pi-ai settings compat schema. Thinking levels low / medium / high / xhigh / max are exposed where the endpoint honors them.

Why

A hand-declared Volcengine Ark route in settings.yaml runs into several gotchas that this bundle resolves once and for all:

Gotcha What breaks This bundle
Agent Plan must be reached over openai-responses at /api/plan/v3 The Anthropic-style /api/plan path does not expose a thinking-effort control Uses the community-verified Responses path; reasoning.effort maps natively
Coding Plan gateway rejects the OpenAI developer role (HTTP 400) Every request with a system prompt fails once reasoning is enabled compat.supportsDeveloperRole: false on every Coding Plan model
Coding Plan gateway rejects store and needs max_tokens (not max_completion_tokens) Mis-shaped requests are 400'd compat.supportsStore: false, maxTokensField: "max_tokens"
Per-model maxTokens differs (DeepSeek 384000, GLM 128000, Kimi 32000, …) A single cap breaks some models or underuses others Each model carries its verified cap
The gateway's OutofContextError wording is not in pi-ai's overflow detection Long conversations crash instead of auto-compacting (downstream — see release notes)

Install

From the root of a DSH profile (e.g. ~/.dsh/profiles/web):

dsh plugin --profile web add dsh-llm-volcengine

Then restart DSH (or reload the profile) so the new bundle layer is composed. The two providers appear in the model selectors as:

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev semantic-linter 下一个 Next RemoteOps →