DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Max Token Auto Continue — DeepSeek Harness 插件(DSH Plugin)
← Plugins
M

dsh-max-token-auto-continue

Max Token Auto Continue

社区 DSH 主机插件,在达到最大令牌数截断后继续 root-agent 会话。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Wepoi9/dsh-max-token-auto-continue#2402aca382ce03f7558f52bd915fb98cb131ec3f
README兼容性版本

兼容性与来源证明

Max Token Auto Continue 以 dsh-max-token-auto-continue 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/10/7

版本

0.1.0stable
2026/10/7

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/15
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 agents-orchestration 分类下经过校验的插件。

Hindsight Coding Agents@vectorize-io/hindsight-coding-agents面向编程代理的仅反思式 Hindsight 长期记忆(可插拔支持多种运行框架:opencode、……),自动在后台导入(无需设置 CLI)。Ds Botds-botDS Bot:DeepSeek Harness 的一组长期运行的 Bot,支持主 Bot、Bot 间消息和群聊Agency Agents@michengai/dsh-agency-agentsDSH Agency Agents — 为 DeepSeek Harness 提供 331 名可召唤的领域专家DSCODE Desktop@toddzheng024/dscode-desktop为 Harness Desktop 提供编码协作、记忆、浏览器工作流和任务管理功能。

README

dsh-max-token-auto-continue

English | 日本語

A community host plugin for DeepSeek Harness (DSH) that automatically continues a root-agent session after a turn ends because the model reached its maximum output-token limit.

This is a community-maintained plugin, not part of the DeepSeek Harness core distribution.

Behavior

When a root-agent turn ends with turn/end reason max-tokens, the plugin waits for the agent to become idle and then continues through the appropriate DSH path:

  • normal session: agent.followup();
  • active, disarmed /goal: GoalService.resume().

The continuation is bounded by maxConsecutive and is cancelled when newer human input or a newer turn supersedes the pending continuation.

Safety properties

  • Root agents only; subagent turns are not auto-continued.
  • Human input is not impersonated. Generated follow-ups use source.kind: "dsh-max-token-auto-continue" and form: "notice".
  • No action is taken for paused, blocked, complete, or active+armed goals.
  • Pending continuation is invalidated by newer human input, a newer turn, plugin unload, or plugin disable.
  • Failures stop the continuation path instead of retrying indefinitely.
  • No persistence, UI automation, background network retry, or external network access is implemented.

Configuration

SettingDefaultMeaning
enabledtrueEnables automatic continuation
maxConsecutive3Maximum automatic continuations in one consecutive max-token chain

The continuation text and delay are intentionally fixed rather than configurable.

Compatibility

Latest tested DSH version: 0.2.1-alpha.1.

DSH versionVerification
0.1.6-alpha.2Supported compatibility target
0.1.7-alpha.2Plugin load and inventory visibility verified
0.1.7-rc.1Plugin load and inventory visibility verified
0.1.7-rc.2Plugin load and inventory visibility verified
0.2.0-rc.1Plugin load, inventory visibility, and real max-token auto-continue E2E verified
0.2.0-rc.2Plugin load and inventory visibility verified
0.2.1-alpha.1Build, 13 tests, Web-profile config output, and startup load verified

Actual auto-continue and Goal resume firing on 0.2.1-alpha.1 has not yet been re-verified. Newer DSH versions are not assumed compatible until verified.

Install

Install dependencies and build:

npm install
npm run build
npm test

Add the local checkout to the target profile:

dsh plugin --profile <profile> add <absolute-path-to-this-repository>
dsh --profile <profile> --dump-config

For the Web profile, replace <profile> with web.

The bundle declaration lets DSH add the required profile entries. To override plugin settings, add a config entry with id dsh-max-token-auto-continue to the target profile's cordis.patch.yml.

Operational note

This plugin intentionally continues work after an output truncation without waiting for another human message. That is useful for long agent tasks, but it can also extend an unintended task if the model reaches max-tokens while already heading in the wrong direction.

The main bounds are root-agent-only scope, supersession by newer input/turns, fail-closed behavior, and maxConsecutive.

Build and test

npm run build
npm test

TypeScript is compiled to lib/; the distributable plugin entry is lib/src/index.js.

@deepseek-ai/dsh-llm is resolved at runtime from the DSH process entry so the plugin uses the host runtime copy.

Privacy

The plugin does not persist session data and does not send data to external services. Its only session mutation is the bounded continuation message or Goal resume call described above.

Contributing

Bug reports and focused pull requests are welcome. For compatibility reports, include the DSH version, profile, whether the session was a normal session or /goal, the observed turn/end reason, and whether a continuation was expected.

License

MIT. See LICENSE.