@evomap/dsh-evolver

中文文档
1.0.10发布于 2026/11/12MITES Module零依赖近 30 天下载 5243

Evolver for DeepSeek Harness, by EvoMap: recalls a proven strategy behind each prompt, reports its reuse at turn end, and distills verified work outside the conversation.

原始使用文档
文档目录5 节
  1. Install
  2. Requirements
  3. Options
  4. Commands
  5. How it works

Evolver for DeepSeek Harness

Evolver for DeepSeek Harness (dsh), powered by Evolver (@evomap/evolver) and EvoMap: before each prompt it recalls one proven strategy, reports at the turn's end how the turn that used it went (with the checks it ran as evidence), and distills the session's verified work into draft Genes once it holds three work turns or a fixed error: 10 minutes after the fix, 30 minutes after the session went quiet, or when it ends, through the session's own model.

The plugin runs inside dsh's process, on its plugin events. It registers no tools and no skill, so nothing of Evolver enters the model's context but the recalled steps, which end with Apply them where they fit. dsh shows it as evolver-plugin; the package keeps the name @evomap/dsh-evolver.

Install

This package replaces the standalone @evomap/dsh-evolver (from EvoMap/evolver-dsh-plugin), under the same name. Remove that first in every profile that has it: pnpm may keep an installed package's source when you add another, and with both loaded every reuse is reported twice.

Install it from npm into each profile you use (dst runs dsh-tui):

dsh plugin --profile dsh-tui remove @evomap/dsh-evolver
dsh plugin --profile dsh-tui add -w @evomap/dsh-evolver@latest

Repeat both lines with --profile web and --profile headless, then restart dsh. If pnpm asks to allow the package's build, add the key it prints under allowBuilds in the profile's pnpm-workspace.yaml and run the command again. The same build sits in the dist/dsh folder of the release branch of EvoMap/evolver-agent-plugin (github:EvoMap/evolver-agent-plugin#release&path:dist/dsh). To try a local build instead, npm run pack and add the absolute path of dist/dsh with -w.

DSH Desktop owns its desktop profile, so run its bundled CLI with its own pnpm, as for the standalone plugin. On macOS:

APP="/Applications/DSH Desktop.app/Contents"
SHIM=$(mktemp -d)
printf '#!/bin/sh\nexec node "%s/Resources/app/node_modules/pnpm/bin/pnpm.cjs" --config.minimumReleaseAge=0 "$@"\n' "$APP" > "$SHIM/pnpm"
chmod +x "$SHIM/pnpm"
desktop() { PATH="$SHIM:$PATH" CI=true ELECTRON_RUN_AS_NODE=1 "$APP/MacOS/DSH Desktop" "$APP/Resources/app/lib/desktop-cli.js" plugin --profile desktop "$@" </dev/null; }
desktop remove @evomap/dsh-evolver
desktop add -w @evomap/dsh-evolver@latest

On Windows, run dsh plugin remove @evomap/dsh-evolver and dsh plugin add -w @evomap/dsh-evolver@latest in the terminal inside DSH Desktop. Its plugin market installs the same package from npm.

What the standalone plugin left in ~/.evolver/state carries over at the first session start: undelivered reports, retention checks, its distillation candidate (judged by the same threshold as new work), and its open strategies, which are reported as aborted.

Requirements

  • dsh 0.1.5 or newer (verified on 0.2.0-rc.2), Node.js 22.13 or newer.
  • Evolver 2.0.44 or newer. The plugin installs it under ~/.evolver/state/dsh-engine and starts its Proxy in the background when none is running; npm install -g @evomap/evolver@latest works too.

Local memory works with no account, key or node id. Connecting to the EvoMap network is optional: run evolver once in a git repository and open the claim link it prints while signed in to evomap.ai.

Options

Set them on the plugin's entry, evolver, in a profile's cordis.patch.yml (~/.dsh/profiles/<profile>/):

- id: evolver
  config:
    proxyPort: 19820
OptionDefaultPurpose
proxyPort$EVOMAP_PROXY_PORT, then 19820The Proxy port used when ~/.evolver/settings.json names no URL.
assetPrimeEnabledtruefalse turns recall off.
skillEnabledfalseAccepted and not used yet: the capability-evolver skill is not shipped, so nothing of Evolver joins the model's context but recalled steps.

A wrong value stops the plugin from loading, and dsh says which. The standalone plugin's other options (projectDir, editToolNames, the recall's similarity, wait and timeouts, claimNudgeEnabled) are ignored: they are the same on every host now.

Commands

Type them in the dsh TUI, web app or DSH Desktop. Each runs in the plugin and answers in dsh's UI, never through the model.

CommandWhat it does
/evolver-statusProxy state, engine setup, Hub sign-in, the session's work waiting to be distilled, the last distillation's outcome and waiting drafts
/evolver-loginSigns you in to the EvoMap Hub: a link and a code to approve, then, run again, the registered node
/evolver-search <text>Recalls the best strategy for the text and hands it to the conversation's next step; its reuse is reported
/evolver-distill [focus]Distills the session's work into drafts now, even below the three-turn threshold
/evolver-drafts [publish|discard <n>]Lists drafts; publish <n> submits one to the EvoMap Hub for review, discard <n> drops it
/evolver-evolve [focus]Hands the agent a reflection checkpoint, as a follow-up turn of its own
/evolver-sync, /evolver-review, /evolver-run, /evolver-solidifyRun evolver <command> in the project

How it works

dsh eventWhat the plugin does
agent/created (agent/session-start before dsh 0.2)Reports whether an earlier session's edits in this project were kept, reports a killed dsh process's open strategies as aborted, sets Evolver up and distills the work sessions left in the background. A one-off notice when it installed, upgraded or could not start Evolver joins the next step.
agent/pre-step, a turn's first stepRecalls one strategy for the person's prompt (up to 6 s) and appends it to the step's messages, behind the prompt. A slower recall joins the turn's next step. A turn no person's message opened (a goal round, a scheduled run) is left alone.
tools/executeNotes each call that was allowed to run: bash and pwsh with their exit code, files write, edit and str_replace_editor change (hashed before the change), files read. A run still in the background has no verdict.
session/event turn/endReports every strategy of the turn, judged by its last test, build, lint or type check, else by how it ended (completed, aborted, error, …). A turn that edited files, ran a check or ran three commands joins the session's work for distillation.
session/disposed, or the plugin's unloadEnds the session: an open turn is reported as aborted, and the session's work, once it holds three work turns or a fixed error and its last check passed, is distilled with one call to the session's model through dsh's model service, outside the conversation, at once or at the next session start.

The next prompt is read as feedback: a correction stays with the last turn's work for distillation to read, and the last turn's strategies are reported again as failed. A subagent's session is neither recalled for nor recorded. State lives in ~/.evolver/state/dsh-*.

MIT © EvoMap.

版本与发布记录

@evomap/dsh-evolver 共发布 11 个版本,首次发布于 2026/10/08;过去 12 个月发布了 11 个版本。

版本发布日期距今
1.0.10latest2026/11/122 天前
1.0.92026/11/103 天前
0.3.12026/10/2321 天前
0.3.02026/10/2321 天前
0.2.12026/10/1727 天前
0.2.02026/10/1430 天前

关于 @evomap/dsh-evolver 的常见问题

@evomap/dsh-evolver 是什么?

Evolver for DeepSeek Harness, by EvoMap: recalls a proven strategy behind each prompt, reports its reuse at turn end, and distills verified work outside the conversation.

如何安装 @evomap/dsh-evolver?

在项目目录运行 npm install @evomap/dsh-evolver,或使用 pnpm add / yarn add / bun add。

@evomap/dsh-evolver 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/evomap__dsh-evolver 是否存在。

@evomap/dsh-evolver 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@evomap/dsh-evolver 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22.13.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@evomap/dsh-evolver 可以商用吗?

@evomap/dsh-evolver 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@evomap/dsh-evolver 的下载量有多少?

根据 npm 官方下载统计,@evomap/dsh-evolver 在 2026/10/14 – 2026/11/12 这 30 天内被下载 5,243 次,日均约 175 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@evomap/dsh-evolver 还在维护吗?

最新版本 1.0.10 发布于 2026/11/12(2 天前);至今共发布 11 个版本,其中过去 12 个月发布了 11 个;首次发布于 2026/10/08。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。