DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Max Token Auto Continue — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
M

dsh-max-token-auto-continue

Max Token Auto Continue

Community DSH host plugin that continues root-agent sessions after max-token truncation.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:Wepoi9/dsh-max-token-auto-continue#2402aca382ce03f7558f52bd915fb98cb131ec3f
READMECompatibilityVersions

Compatibility and provenance

Max Token Auto Continue is published as dsh-max-token-auto-continue and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/7/2026

Versions

0.1.0stable
10/7/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/15/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in agents-orchestration.

Skills Manager@michengai/dsh-skills-managerDSH Skills Manager — 在 DeepSeek Harness 中统一加载并安全管理本机 Agent Skills · Load and safely manage local Agent Skills in DSHDs Botds-botDS Bot: a team of long-lived Bots for DeepSeek Harness, with Main Bots, Bot-to-Bot messages and group chatsAgency Agents@michengai/dsh-agency-agentsDSH Agency Agents — 为 DeepSeek Harness 提供 331 名可召唤的专业智能体 · 331 summonable domain experts for DeepSeek HarnessDSCODE Desktop@toddzheng024/dscode-desktopCoding collaboration, memory, browser workflows and task management for 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.