DeepSeek Harness plugin

deepseek-harness-history-stack-overflow-fix

Detachable DeepSeek Harness fix for history unavailable and Maximum call stack size exceeded caused by oversized assistant provenance.

Jump to install

Source facts

Repository
0x677a/deepseek-harness-history-stack-overflow-fix
Latest update
Aug 16, 2026
Category
Memory
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-21

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/0x677a/deepseek-harness-history-stack-overflow-fix
Plugin: deepseek-harness-history-stack-overflow-fix
Author: 0x677a

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

DeepSeek Harness history stack-overflow fix

dsh-provenance-guard — detachable plugin for the DeepSeek Harness history failure: history unavailable / RangeError: Maximum call stack size exceeded.

Detachable DeepSeek Harness plugin for the Maximum call stack size exceeded history failure caused by an oversized assistant/message.sourceEventSeqs list.

It follows the DSH external bundle contract:

  • package.json declares dsh.bundle.patch.
  • cordis.patch.yml inserts one ordinary plugin after the official session

persistence provider.

  • The plugin decorates the persistence service at runtime and restores the

original methods on disposal.

  • It does not replace @deepseek-ai/dsh-agent-loop, edit DSH source files, or

modify the session message content.

When one assistant message cites more than 4096 streamed chunk sequence numbers, the plugin writes an empty provenance list. DSH explicitly permits that representation for assistant/message; the message content remains lossless, while the unbounded index is removed.

Install

From the DSH profile that should use it:

dsh plugin --profile web add /path/to/dsh-provenance-guard

Then restart dsh web. Removing the dependency and restarting disables the guard without changing the official DSH installation.

Version and compatibility

  • Plugin version: 0.1.1
  • DSH compatibility: @deepseek-ai/dsh >=0.1.0-rc.6 <0.2.0
  • Tested with: @deepseek-ai/dsh 0.1.0-rc.6