@cnkang/qdrant-memory-dsh-bundle

中文文档
0.1.6发布于 2026/11/05MITES Module零依赖近 30 天下载 1758

DSH configuration bundle: connect a prepared Qdrant Memory profile through the official MCP client

原始使用文档
文档目录7 节
  1. Requirements
  2. Prepare the backend first
  3. Install into one profile
  4. Update
  5. Uninstall
  6. Recovery
  7. License

Qdrant Memory Bundle for DeepSeek Harness

A configuration-only DSH Bundle. It connects one prepared Qdrant Memory profile through the official @deepseek-ai/dsh-mcp-client. It contains no memory engine, no embeddings and no Python code. The shared Qdrant Memory launcher and Runtime own storage, scope, ledger and recovery.

The Bundle declares one patch layer: a single qdrant-memory MCP server entry. DSH exposes its four tools as mcp__qdrant-memory__qdrant_memory_search, ..._add, ..._update and ..._delete. Explicit operations only. The connection never captures conversation turns automatically.

Requirements

  • DeepSeek Harness with the official MCP client (@deepseek-ai/dsh-mcp-client). The compatibility range retains >=0.2.0-rc.2 <0.3.0 and explicitly includes the 0.2.1-rc.2 prerelease line. Automated test packages pin 0.2.1-rc.2, whose upstream MCP Client dependency is the patched 2.2.0.
  • Node.js 20 or newer for npx. DSH already runs on Node.js.
  • pnpm on PATH for dsh plugin --profile <name> add: the official DSH plugin manager forwards installation to pnpm.
  • Network access for the first launcher download and for backend preparation (private Python, Runtime wheel and CPU model artifacts, about 250 MB).
  • Free disk space for the managed root: programs, models and host profiles.

No system Python, uv/uvx, Ollama or Qdrant Server is required. The managed root defaults to qdrant-memory-managed under the platform data directory (~/Library/Application Support on macOS, %LOCALAPPDATA% on Windows, $XDG_DATA_HOME or ~/.local/share on Linux). Set an absolute QDRANT_MEMORY_MANAGED_ROOT before starting DSH to use another location.

Prepare the backend first

The DSH MCP probe is temporary and must never run installation or downloads. Prepare the shared backend explicitly, once:

npx -y @cnkang/[email protected] prepare dsh

Preparation downloads the private Python environment, the Runtime wheel and a verified CPU embedding model. It may take several minutes. Wait for {"ready":true,"host":"dsh"}. The DSH profile is separate from WorkBuddy and Hermes profiles. Preparation never deletes existing memory data.

Install into one profile

dsh plugin --profile <name> add @cnkang/qdrant-memory-dsh-bundle

If the npm registry has not served this package yet, install the release tarball instead. Download cnkang-qdrant-memory-dsh-bundle-0.1.6.tgz from the repository release and run:

dsh plugin --profile <name> add ./cnkang-qdrant-memory-dsh-bundle-0.1.6.tgz

Verify the layer without booting:

dsh --profile <name> --dump-config

The output contains one # == @cnkang/qdrant-memory-dsh-bundle section with the cnkang-qdrant-memory-mcp row. Then boot the profile. The four mcp__qdrant-memory__* tools appear after discovery. Wait for preparation to finish before you ask the agent to save a fact. Until the backend is ready, tool calls report that no operation succeeded. Writes are never queued.

The first connection authorizes downloads and creation of the private DSH profile. Do not enable this Bundle and a Qdrant Memory overlay in the same profile. One profile has one owner for embedded storage.

Update

dsh plugin --profile <name> update @cnkang/qdrant-memory-dsh-bundle

Disconnect the profile before an upgrade. FastEmbed 0.9.0-to-0.9.1 upgrades require an authorized export and re-embedding into a new profile/collection; keep the previous launcher and data until verification. See pipeline upgrade guidance. For upgrades within the same pipeline, program versions install alongside earlier versions. Profile, ledger and collection files remain in place. After an upgrade, run prepare dsh again to refresh shared programs and the model cache. A profile never migrates or resets itself. Incompatible data fails closed.

Uninstall

dsh plugin --profile <name> remove @cnkang/qdrant-memory-dsh-bundle

Removal edits the profile manifest. A running profile keeps its loaded Bundle set: stop or restart the profile to close the active MCP connection and release the storage writer lease. Removal does not delete the managed root, the prepared profile or any memory. Never delete a .provision.lock file or Runtime data locks while a process may still own them.

Recovery

  • A connection indicator or four discovered tools do not mean the backend is ready. If a call reports preparation pending or failed, no operation succeeded. Fix preparation before retrying.
  • After an interrupted write, search for the affected memory and check its exact ID before repeating the operation. Never repeat an uncertain write unless a repeat is safe for that operation.
  • A busy-profile error means another process owns the profile. Close that connection normally. Never remove locks to force a second writer.
  • An interrupted installation can leave a provisioning lock. Confirm that the installer and its child processes have stopped, then inspect only that program's .provision.lock. Never reset a profile to bypass ownership.

License

MIT. See LICENSE. Third-party attributes are listed in the shared launcher package.

版本与发布记录

@cnkang/qdrant-memory-dsh-bundle 共发布 7 个版本,首次发布于 2026/10/17;过去 12 个月发布了 7 个版本。

版本发布日期距今
0.1.6latest2026/11/054 天前
0.1.52026/10/2912 天前
0.1.32026/10/2318 天前
0.1.22026/10/1822 天前
0.1.12026/10/1823 天前
0.1.02026/10/1724 天前

关于 @cnkang/qdrant-memory-dsh-bundle 的常见问题

@cnkang/qdrant-memory-dsh-bundle 是什么?

DSH configuration bundle: connect a prepared Qdrant Memory profile through the official MCP client

如何安装 @cnkang/qdrant-memory-dsh-bundle?

在项目目录运行 npm install @cnkang/qdrant-memory-dsh-bundle,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@deepseek-ai/dsh-mcp-client(>=0.2.0-rc.2 <0.3.0 || >=0.2.1-rc.2 <0.3.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@cnkang/qdrant-memory-dsh-bundle 支持 TypeScript 吗?

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

@cnkang/qdrant-memory-dsh-bundle 支持 ESM 还是 CommonJS?

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

@cnkang/qdrant-memory-dsh-bundle 可以商用吗?

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

@cnkang/qdrant-memory-dsh-bundle 的下载量有多少?

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

@cnkang/qdrant-memory-dsh-bundle 还在维护吗?

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