返回目录

dsh-anchored-standard

编辑精选维护状态: 活跃

xiaobright/dsh-anchored-standard

DeepSeek Harness 两阶段预设:先最小对齐引导,再启用完整标准工具集。

前往 GitHub项目主页
$ dsh plugin add dsh-anchored-standard

3,818

星标

120

Fork

JavaScript

语言

NOASSERTION

许可证

2026-08-14

创建于

2026-09-08

最近推送

README 标注 MIT 许可的实验性 DeepSeek Harness 两阶段预设:首轮以 Minimal 工具面锚定推理轨迹,晋升后按需解锁 Standard 工具,以预设目录复制方式原生接入 DSH。

DSH 适配

原生运行时

作者声明

安全审计

未审计

最后核验

2026-08-21

许可证

NOASSERTION

01它能帮你完成什么?

  • Anchor a DeepSeek Harness session's first reasoning trajectory on the Minimal condition, then unlock Standard tools on demand

    Two-phase session lifecycle: request #1 runs on the Minimal tool pair (bash + str_replace_editor) with no auto-injected context; after the first durable tool/call or assistant message, the session promotes to a resident catalog with discovery tools and standard injections restored

    Developers and researchers running DeepSeek V4 Pro in DeepSeek Harness who want Minimal-aligned opening behavior without giving up the Standard toolset

  • Pick among seven self-contained anchoring mode variants per experiment or workload

    Independently installable mode directories — Anchored Standard, Zero-Anchored, Whoami, Prefab, Eternal Minimal (dshx bash gateway), Wire Think-Execute, and Combo Anchored — each shipping its own agent.cordis.yml

    Preset authors and experimenters comparing anchoring strategies (tool schema, anchor turns, wire-level tool_choice) inside DeepSeek Harness

02如何接入 DeepSeek Harness?

前置条件

  • DeepSeek Harness — developed and tested against 0.1.0-rc.5 (repository commit 47f9438); the maintainer ran Node.js 24 on Windows
  • A clone of the xiaobright/dsh-anchored-standard repository

安装步骤

  1. 01

    Clone the repository

  2. 02

    Copy the entire `preset` directory into the DSH user preset root under the id `anchored-standard` — Linux/macOS: `cp -R preset "$dsh_home/.agent-presets/anchored-standard"` (with `dsh_home="${DSH_HOME:-$HOME/.dsh}"`); Windows: the PowerShell Copy-Item snippet targeting `$env:USERPROFILE\.dsh\.agent-presets\anchored-standard`

  3. 03

    Fully restart DeepSeek Harness, create a blank session, and select **Anchored Standard (experimental)** — do not switch an active session from a different preset

验证接入成功

  • Export the session JSONL and inspect `request/header` events
  • The first header's `tools` array must be exactly ["bash", "str_replace_editor"], and the first request should contain no AGENTS.md/CLAUDE.md digest and no available-skills reminder
  • After the first tool call or assistant reply, the next changed header should contain the resident catalog (bootstrap pair plus dev_tool_search / skill_search / skill_load plus any unlocked tools), with standard context injections restored
  • Run the local zero-dependency tests with `npm test`

03DSH 适配与能力边界

DSH 适配原生运行时

Native DeepSeek Harness agent preset: a mode directory copied into the DSH user preset root (.dsh/.agent-presets) and selected in a blank session

  • Two-phase bootstrap & promotion

    the first user message of a new DSH sessionrequest #1 runs on the Minimal tool pair with every auto-injected context suppressed at the harness's unified injection paths; the first durable tool/call or assistant message promotes the session to the resident catalog

    The bootstrap pair (bash, str_replace_editor) executes with shell-level access — the preset has the same trust level as shell access
  • On-demand tool discovery

    a promoted (resident-phase) sessionheavier Standard tools (web_search, subagent, workflow, …) unlocked one dev_tool_search call away instead of dumping the full Standard catalog at promotion

  • Seven self-contained anchoring modes

    any single mode directory (preset/, zero-anchored-standard/, whoami-standard/, prefab/, eternal-minimal/, wire-think-standard/, combo-anchored/)a standalone preset install — including Eternal Minimal's dshx bash gateway, which executes the full Standard toolset behind the visible Minimal pair

    Eternal Minimal's gateway really executes tools (files, searches, subagents) behind dshx shell commands
  • Resume-safe phase state

    the session event logbootstrap/resident phase derived from durable events, so resume and reload preserve it; promotion decisions are memoized per session

04适合谁?何时不该用?

适合

  • Developers and researchers running DeepSeek V4 Pro in DeepSeek Harness who want Minimal-aligned opening behavior without giving up the Standard toolset
  • Preset authors and experimenters comparing anchoring strategies (tool schema, anchor turns, wire-level tool_choice) inside DeepSeek Harness

不适合

  • Developed and tested only against DeepSeek Harness 0.1.0-rc.5 (commit 47f9438). DSH is a developer preview that permits breaking changes, and the preset is a full snapshot of the Standard composition — review upstream changes before using it with a newer release; one prebuilt 0.1.0-rc.6 profile made bootstrapMaxTokens a no-op.
  • Active development stopped on 2026-08-17 after DeepSeek API price increases — the repository receives maintenance only (bug fixes and harness-compatibility updates when feasible).
  • The preset has the same trust level as shell access — review its files before installation. It performs no network requests and adds no telemetry.

05兼容性、维护与安全提示

  • Developed and tested only against DeepSeek Harness 0.1.0-rc.5 (commit 47f9438). DSH is a developer preview that permits breaking changes, and the preset is a full snapshot of the Standard composition — review upstream changes before using it with a newer release; one prebuilt 0.1.0-rc.6 profile made bootstrapMaxTokens a no-op.
  • Active development stopped on 2026-08-17 after DeepSeek API price increases — the repository receives maintenance only (bug fixes and harness-compatibility updates when feasible).
  • The preset has the same trust level as shell access — review its files before installation. It performs no network requests and adds no telemetry.
2026-08-142026-08-17作者未说明

MIT per README (GitHub reports NOASSERTION) · maintenance only since 2026-08-17

06常见问题

dsh-anchored-standard 如何接入 DeepSeek Harness?

它是 DeepSeek Harness 原生智能体预设,不是 MCP 服务:把模式目录(如 preset/)复制到用户预设根目录并命名为 anchored-standard 等 id,完全重启 harness,然后在新建空白会话中选择它(如 Anchored Standard (experimental))。项目基于 DeepSeek Harness 0.1.0-rc.5 开发和测试。

引导阶段(bootstrap)会发生什么?

第一个请求只看到 Minimal 工具对(bash + str_replace_editor),且没有任何自动注入上下文(无 AGENTS.md/CLAUDE.md 摘要、无技能目录提醒)。出现首个持久的 tool/call 或 assistant 消息后,会话晋升到常驻目录(引导工具对 + 发现工具 + 已解锁工具),标准注入随之恢复。

插件会联网或收集遥测吗?

不会——README 明确说明插件不发起任何网络请求、不添加遥测。但请注意预设拥有与 shell 访问同级的信任级别,安装前建议先审查其文件。

各模式会增加模型调用成本吗?

基础 Anchored Standard 不增加调用。Zero-Anchored 与 Whoami 每个会话多一次锚定调用(Whoami 开启 includeSubagents 时每个子代理再多一次);Wire Think-Execute 每轮多一次思考调用并带来前缀缓存抖动;Combo Anchored 每轮约多一次调用。

项目还在维护吗?

仅维护:因 DeepSeek API 涨价,2026-08-17 起活跃开发已停止,仓库只接收 bug 修复和 harness 兼容性更新(条件允许时)。

08数据与来源

  • 作者声明github.com25f21aefaf8d…

    a base mode, two live-anchor variants, and one seeded prefab mode — that anchor a session's model trajectory on the Mini…

  • 作者声明github.com25f21aefaf8d…

    Developed and tested against: - DeepSeek Harness `0.1.0-rc.5` - repository commit [`47f9438`](https://github.com/deepse…

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-21。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。