beimianism/Hermes-to-DSH

浏览本机的Hermes技能、MCP服务及对话历史,并将选中的技能与MCP配置注入到当前agent。

Project Overview项目介绍

Hermes-to-DSH is a native plugin built exclusively for DeepSeek Harness (DSH). It connects to your locally running Anthropic Hermes instance and pulls all stored assets including saved skills, MCP services, and chat history into DSH’s web UI via a resizable, dockable sidebar panel. It lets you select which assets you want to use and inject them directly into your current DSH agent session, cutting down on repetitive manual configuration steps for cross-tool workflows. To install it, you can run either dsh plugin --profile web add github:beimianism/Hermes-to-DSH to add it to your profile layer that requires a DSH web restart, or use the Cordis HMR method for zero-restart installation.

The plugin offers two distinct injection modes to fit different user preferences. Active mode lets you manually select the specific skills and MCP services you need for your current task, then reads the corresponding SKILL.md and configuration files before injecting them into the agent’s system prompt. Passive mode works as just-in-time prompting, only loading the selected asset when the agent detects it is missing a required capability for the current task. It also includes quality of life features like global search, configurable chat previews, source filtering, and MCP detail previews to help you quickly find the assets you need.

The plugin is natively integrated with DSH’s architecture, and it automatically loads every time you start dsh web without needing a separate launcher. It requires that you already have a local Hermes instance set up, with its SQLite database stored at the default %LOCALAPPDATA%\hermes\state.db path, and that Python is available in your system PATH to run the helper scripts. Your active selections are saved to ~/hermes-active-selection.json and the plugin notifies the current session of your choices automatically. This plugin is released under the open source MIT license, and you can manage it via DSH’s built-in plugin manager.

Hermes-to-DSH 是专为 DeepSeek Harness (DSH) 开发的原生插件,它可以将本地存储的 Anthropic Hermes 资产,包括技能、MCP 服务和对话历史,以可停靠、可缩放的侧栏面板形式展示在 DSH 的 Web 界面中,支持将选中的技能和 MCP 配置注入到当前运行的 Agent。

它提供主动和被动两种注入模式,主动模式下用户手动勾选需要的技能和 MCP,插件读取对应 SKILL.md 和配置,注入到 Agent 的系统提示词,同时会提示长度和总量上限;被动模式为接触式提示,仅当 Agent 能力缺失时才按需加载对应配置。

安装方式支持通过 DSH 命令行添加本仓库,可放入 profile 层重启生效,也支持 Cordis 零重启热更新。插件要求本地已部署 Hermes,数据路径正确,且环境变量 PATH 中包含 Python 供辅助脚本使用,遵循 MIT 许可开源。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:beimianism/Hermes-to-DSH

把 beimianism/Hermes-to-DSH 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

中文 · English

Hermes to DSH

在 DeepSeek Harness Web 侧栏里浏览本机 Hermes 的 技能 / MCP 服务 / 对话历史,并把选中的技能与 MCP 配置注入到当前 agent。


Hermes to DSH(hermes-to-dsh) 是一个 DSH 插件(dsh.bundle),把本机 Hermes 资产(技能、MCP 服务、对话历史)以可停靠、可缩放的侧栏面板呈现在 DeepSeek Harness Web UI 中,并提供两种注入模式:

  • 主动 — 勾选你真正要用的技能/MCP;插件读取所选 SKILL.md + MCP 配置,注入到当前 agent 的系统提示词(含长度警示与总量上限)。
  • 被动 — 接触式提示;仅当某能力缺失时,agent 才按需读取技能 SKILL.md / MCP 配置。

功能

  • 固定、可拖动/缩放面板,四角抓取手柄(26px 命中区)。
  • 两列布局:左 = 仓库/项目 → 对话;右 = 技能 + MCP + 模式。
  • 全局搜索:对话名/id、技能名/描述、MCP 服务名。
  • 对话预览:点开任意对话看 开场 X 条 + 最新 Y 条(两侧条数可分别配置)。
  • 来源过滤:按对话 source(desktop/cron/...)过滤。
  • 消息类型过滤:只看 提问 user / 回答 assistant / 工具 tool;选定某类型后自动补齐到设定数量(跨越其他类型取足)。
  • 复制地址:复制会话 id。
  • MCP 详情:勾选前先查看某服务的配置块。
  • 主动选择落盘:写入 ~/hermes-active-selection.json 并通知当前会话,让 agent 知道你的选择。

能力面

能力面 说明
UI sidebar.footer.action 侧栏面板(pill 切换 固定/可缩放两列面板)
Host handlers inspect、chatPreview、mcpDetail、setMode、detail
注入 systemPrompt.section hermes:mode(主动 → 所选 SKILL.md 全文 + MCP 配置;被动 → 接触式提示)

安装

# bundle:进入 profile layer stack(重启 web 生效)
dsh plugin --profile web add github:beimianism/Hermes-to-DSH

# 或 纯 Cordis:通过配置 HMR,零重启
dsh plugin add github:beimianism/Hermes-to-DSH

@deepseek-ai/* 与 cordis 公开依赖刻意不声明(由 profile 的 pnpm closure 注入)。

前置:本机 Hermes 数据位于 %LOCALAPPDATA%\hermes\state.db(只读),且 PATH 里有 python 供辅助脚本使用。

原生架构(跟随启动)

插件是原生 bundle + client,随 dsh web 每次启动自动加载,无需动态插件/启动器:

  • host 半(index.js):注册 ctx.connection.rpc.handle('/hermes', …, {authority:'trusted-host'}),暴露 inspect / chatPreview / mcpDetail / setMode / detail 五个端点;systemPrompt.section('hermes:mode') 注入主动/被动提示词(若宿主未提供 systemPrompt 服务——如纯 web profile——注入段自动跳过,其余功能不受影响)。
  • client 半(client/index.js,由 client/_make_native.cjs 生成):__ModuleLoader__.load bundle,require('react'),host.call 适配为 ctx.connection.rpc.call('/hermes', …),样式经 <style> 注入;面板挂 sidebar.footer.action slot。
  • 主动选择落盘 ~/hermes-active-selection.json 并追加会话消息通知 agent。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-thinking-slider 下一个 Next dsh-BigfishPet →