nanpaidashi/dsh-honcho-sync

DSH插件:自动将对话轮次同步到Honcho记忆服务

Project Overview项目介绍

dsh-honcho-sync is a native memory plugin built exclusively for DeepSeek Harness (DSH). It connects DSH to a self-hosted Honcho v3 service to give DSH’s AI persistent, cross-session memory capabilities. Core features include automatic sync of every conversation turn with configurable debounce, hybrid semantic recall across both raw messages and reasoned conclusions, and automatic injection of relevant memory results into the system prompt when a new session starts. It also exposes the full Honcho v3 API surface as usable DSH-native tools, and after the recent v0.8 update, it optimized the tool count and injection logic to improve context efficiency and quality.

To install the plugin, you can run the DSH plugin add command either from the public npm registry or directly from the GitHub repository. After installation, you will need to configure your Honcho service’s base URL, workspace name, and peer IDs via environment variables in your DSH service file, then restart DSH to apply the configuration changes. If you are upgrading from an older version, you can simply re-run the original install command, which is idempotent and preserves your existing configuration and sync state without any data loss. Uninstalling the plugin only removes the plugin files from DSH, and all your existing memory data remains fully intact on your own Honcho server.

This plugin requires Node.js version 18 or newer, a running self-hosted Honcho v3 instance (which you can quickly spin up via Docker if you don’t already have one), and a properly configured DSH web profile to work correctly. The default session strategy creates a separate Honcho session for each working directory, though you can change this configuration to use a single global session for all DSH conversations. It is released under the open-source MIT license, and all user data is stored locally on your own Honcho server with no third-party data transfers, so your conversation privacy is fully protected.

这是专门为DeepSeek Harness(DSH)开发的原生记忆插件,借助自托管的Honcho v3服务为DSH的AI提供跨会话的持久化记忆能力。插件支持自动同步每轮对话内容,支持对历史消息和推理结论进行混合语义召回,并在会话启动时将相关记忆内容注入系统提示词,同时还将完整的Honcho v3 API接口暴露为DSH工具。

用户可以通过DSH的插件命令快速安装,安装后需要配置自托管的Honcho v3实例地址、工作区和Peer信息才能使用。插件默认按目录隔离会话,也可配置为全局共享会话。每次对话会自动防抖同步,同步游标会持久化保存,重启DSH后也不会丢失数据或重复同步。

该插件要求Node.js 18及以上版本,需要运行中的自托管Honcho v3实例和带web配置文件的DSH环境。插件采用MIT许可协议,完全开源免费,所有用户数据都保存在用户自己的Honcho服务器上,不会向第三方传输,隐私性有保障。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
  • No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
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 npm:@nanpaidashi/dsh-honcho-sync dsh web

把 nanpaidashi/dsh-honcho-sync 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

@nanpaidashi/dsh-honcho-sync

Honcho Memory Plugin for DeepSeek Harness — give your AI persistent, cross-session memory backed by a self-hosted Honcho v3 service.

中文 | English


What it does

  • Auto-sync: Every conversation turn is automatically synced to Honcho (with debounce). Sync cursors persist across restarts.
  • Hybrid recall: Semantic search across both raw messages AND reasoned conclusions (explicit/deductive/inductive) in parallel.
  • Memory injection: On session start, relevant peer cards, representations, and semantic recall results are injected into the system prompt.
  • 25 tools: Full Honcho v3 API surface exposed as DSH tools — search, profile, session management, peer management, conclusions, dreaming, queue monitoring.

Requirements

  • DeepSeek Harness (DSH) with web profile
  • A running Honcho v3 instance (self-hosted)
  • Node.js >= 18

Installation

# From npm
dsh plugin --profile web add npm:@nanpaidashi/dsh-honcho-sync dsh web

# Or from GitHub
dsh plugin --profile web add link:https://github.com/nanpaidashi/dsh-honcho-sync dsh web

Then restart DSH:

systemctl --user restart dsh-web
# or: dsh web --restart

Upgrading

If you installed an earlier version (v0.6.x or v0.7.0):

# Re-run the same install command — it pulls the latest version and overwrites
dsh plugin --profile web add npm:@nanpaidashi/dsh-honcho-sync dsh web
# or
dsh plugin --profile web add link:https://github.com/nanpaidashi/dsh-honcho-sync dsh web

systemctl --user restart dsh-web

The install is idempotent: it replaces the plugin source file in place. Your configuration (settings panel) and sync state (~/.dsh/honcho-sync-state.json) are preserved — no data loss, no re-configuration needed.

v0.8.0 → v0.8.1 changelog

  • Context efficiency: Reduced registered tools from 25 to 4 (honcho_recall, honcho_ask, honcho_remember, honcho_context) — saves ~7K tokens of tool schema injection per session
  • Injection quality: Added _filterRepresentation() — removes Pattern [medium]/[low] blocks, Premises/Sources provenance chains, and orphan Type/Sources lines from representation injection
  • Injection quality: Added _assembleByPriority() — assembles memory-context parts by priority (peer-card > session-summary > semantic-recall > representation) instead of fixed order
  • Injection budget: injectionMaxChars default 8000 → 4000, reprMaxObs default 8 → 4
  • Tool descriptions: Shortened all tool descriptions to ~100 chars

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-paperclip 下一个 Next dsh-calendar →