Introduction¶
In DeepSeek Harness (DSH) when collaborating with agents, common requirements are not just “delete the previous message”: you need to branch from a specific user input, have the assistant answer again, or revert the repository files changed while backing up the context. The host keeps the session in an append-only event log; simply retracting a bubble often only changes the model context, while the disk artifact remains in the new state.
The dsh-retrace-fl0wer introduced below is a DSH plugin (workflow type) released on GitHub by community maintainer fl0-0wer. It is an MIT fork of yamingmou/dsh-retrace, re-released under a fixed package name, providing capabilities like Recall, Resend, Regenerate, as well as load points, artifact rollback, and lineage identification. The SkillHub directory currently marks version v0.4.135; the npm package name in package.json is dsh-retrace-fl0wer, license MIT.
The DSH ecosystem follows the principle “Everything is a plugin”; directories like SkillHub are independent community sites with no official affiliation with DeepSeek / Huafan. It is recommended to check the repository source code and license before installation—the plugin runs with the current DSH process permissions.
Plugin Overview¶
dsh-retrace-fl0wer self-positions itself as the “Agent business layer” of a session: under safe writing conditions, it version-controls conversation and artifact files together, ensuring that each new rollback does not pollute the log, and the newly written marker does not generate token-meter pairing debt by design (two atomic pairs pass construction).
Unlike “UI-only” undo, it emphasizes:
- Whole-round recall: Remove a round of user input and its assistant output (including tool lines), not just a single bubble.
- Same plugin covers both Desktop and Web DSH interfaces (
package.jsonhascompatibility.modesasdesktopandweb).
The repository readme requires the host DSH >=0.1.5 <0.3.0, Node >=20.0.0; after installation, restart DSH is required (plugins bundle are not hot-loaded in running applications).
Core Features¶
Three Types of Session Operations¶
The README summarizes the main interaction in the following table (entry points and effects follow the documentation):
| Operation | Entry Point | Effect Summary |
|---|---|---|
| Recall | Hover over assistant reply, or operation row below user message | After secondary confirmation, pause ongoing rounds via official stop entry if necessary; remove the whole round from model context and conversation view, echo original text back to input box |
| Resend | Operation row below user message | Rollback from that message and resend with new text, forming a new timeline; if range is too large and rejected, choose “Edit Text Only (Keep subsequent)” |
| Regenerate | Hover over assistant reply | Rollback that reply and subsequent content, re-request assistant to answer with the original question |
After installing and restarting, the documentation states: hover over any assistant reply to see ↩ / ↻, use ✎ in the user message row.
Load Points, Artifact Rollback, and Lineage¶
In 0.4.x, every rollback is recorded as a load point, mainly including:
- Load Point Tab: Type, time, message count, file change badges, etc., pushed for updates via
session/projection. - Artifact Rollback: Optional for dialogue only, artifacts only, or both; supports dry-run preview; prioritizes git, supplemented by content-addressed snapshots; the rollback itself is a new load point (
restore). Preview is rejected during agent execution. - Lineage Identification: New sessions automatically assign a stable lineage ID, displayed in the sidebar.
- Jump to Conversation: Jump from load point to corresponding anchor; explains reason when exceeding auto-load budget.
- Storage Bounded: Default retains the most recent 50 load point snapshots, throttled for cleanup in background.
Production-Grade Guarantees (Storage Layer)¶
The three-layer capabilities and supporting tools listed in the README:
- Write Safety: Contract validation before rollback; agent automatically stops during operation; new rollback does not dirty the log.
- Deep Health Check: The accompanying dsh-log-contract contains 30+ rules to discover a class of log issues that cause permanent
/compactfailures. - Detect -> Fix -> Guard: Snapshots during concurrent writes; offline
fixhandles problem markers; pre-write validation intercepts bad events.
Known Boundaries: Single-segment markers left by old versions are referred to as known design debt in the documentation. Before /compact, you should run the accompanying check first, and fix --remove-markers if necessary, otherwise the host’s self-check before compression might block the compression.
Two Types of “Recovery” After Recall¶
| Operation | Scope | Description |
|---|---|---|
| Restore Display | View only | Re-displays lines marked as hidden; log and model context unchanged |
| True Recovery | Log level | Neutralizes the two-segment markers in place, bringing the recalled interval back to the model surface; requires an idle session and usually a non-currently viewed session; success requires reopening the session or refreshing the page |
Installation and Activation¶
You need DeepSeek Harness with dsh CLI installed. The official README gives the Profile bundle installation method as follows (must restart DSH after installation):
dsh plugin --profile desktop add dsh-retrace # DSH Desktop
# Or Web deployment:
# dsh plugin --profile web add dsh-retrace
General syntax (README “Installation” chapter):
dsh plugin --profile <name> add dsh-retrace
If you want to pin a version, the README example includes:
dsh plugin --profile desktop add dsh-retrace@0.4.135
You can also install from a local extracted directory (replace path with your checkout location):
dsh plugin --profile desktop add ~/plugins/dsh-retrace
No command line: You can first install the community plugin market, then install dsh-retrace in Settings → Plugin Market:
dsh plugin --profile desktop add dshmarket # Only need to do it once
Uninstall example (also requires restart):
dsh plugin --profile remove dsh-retrace
Note: The package name published on npm by this repository is dsh-retrace-fl0wer (SkillHub entry fl0-0wer/dsh-retrace-fl0wer). If you install from this fork, please refer to the SkillHub page or the latest README in the repository for the package name/path; the commands above are excerpted from the current repository README and still use the dsh-retrace package name syntax from the upstream documentation.
Typical Usage¶
Following the “one-minute installation” process, after the steps above and restarting:
- Open any session, hover over an unsatisfactory assistant reply, and use ↩ Recall or ↻ Regenerate.
- If you want to change wording and branch from that point, select ✎ Resend in the user message row, edit, and send.
- When you need to view historical branches and file changes, open the Load Point tab in the conversation view, preview, and execute artifact rollback (preview is rejected during agent execution).
- If the session is older and contains legacy single-segment markers, clean it up using the accompanying contract tools
check/fix --remove-markersbefore compacting.
Troubleshooting excerpt (README): If the load point panel is empty, try dsh plugin --profile add dsh-retrace to refresh the bundle (replace the specific profile name with your environment).
Suitable Scenarios and Notes¶
Who is it for
- Developers who frequently perform multi-round tool calls in DSH and need to “branch from a specific message” or “undo the whole round”.
- Users of agent workflows who want to manage workspace artifacts synchronously during rollback (not just the chat UI).
- Teams that need to manage timelines and load points on the same interaction set on Desktop / Web.
Pre-use Notes
- Plugin capabilities bind to the host event log semantics; corrupted or malformed events written by third parties may cause rollback to degrade to mirror replay, or return a structured
replay-failederror—this is clearly explained in the README and will not fail silently. - True Recovery and other log-level operations have requirements for session state (idle, non-currently viewed session, etc.) and will provide next-step prompts when rejected.
- Must restart DSH after installation and upgrade, otherwise the bundle will not load.
- Stars, download counts, etc. on community directory pages vary; this article does not cite user cases or feedback data that do not appear in the gathered materials.
Conclusion¶
dsh-retrace-fl0wer extends DSH sessions from “append-only forward” to a workflow plugin that is retractable, branchable, and has bounded rollback for artifacts, emphasizing write safety and log contracts in the documentation. For one-click installation instructions or version information, you can check the SkillHub directory page and GitHub repository:
- Directory page: https://www.skillhub.cn/plugins/fl0-0wer/dsh-retrace-fl0wer
- Source code and README: https://github.com/fl0-0wer/dsh-retrace-fl0wer