@cnkang/qdrant-memory-launcher

中文文档
0.1.0-rc.9发布于 2026/11/14MITES Module零依赖近 30 天下载 3074

Private Python and CPU memory runtime for MCP clients

原始使用文档
文档目录4 节
  1. Install and prepare
  2. First connection and recovery
  3. Storage and upgrades
  4. Package integrity

Managed Qdrant Memory launcher

The launcher installs a private Python environment, Runtime 0.6.2 and a verified multilingual CPU embedding model. WorkBuddy and DeepSeek Harness use separate embedded memory profiles. Existing Hermes installations keep their configuration and data.

This is a release candidate. Marketplace installation and desktop acceptance are tracked separately for each operating system.

Install and prepare

For a client that already supplies Node.js 20 or newer:

npm install --global @cnkang/[email protected]
qdrant-memory-launcher prepare dsh
qdrant-memory-launcher mcp dsh

Preparation needs network access and may take several minutes. It downloads private Python dependencies and about 252 MB of model artifacts. No system Python, uv/uvx, Ollama or Qdrant Server is required. The local preset needs no API keys. DSH must finish preparation before you enable the MCP connection. Its temporary MCP probe never runs installation.

WorkBuddy's managed Connector declares Node.js 20 and requires WorkBuddy 5.0.0 or newer. It runs mcp workbuddy --auto-setup. Installing that connection authorizes downloads and creation of its private profile.

First connection and recovery

The four tools appear while preparation runs. A connection indicator means the MCP transport is available. It does not mean the memory backend is ready. During preparation, tool calls report that no operation occurred. Wait before asking the agent to save a fact. Writes are never queued.

After an ordinary network interruption, check the connection and available disk space, then disconnect and reconnect WorkBuddy to retry. DSH users should run qdrant-memory-launcher prepare dsh again before reconnecting. A failed setup does not reset memory data. Preparation does not retry downloads indefinitely.

If a save, update or delete was interrupted after dispatch, search for the affected memory and check its ID before repeating it. Reconnection never automatically repeats a write.

A busy-profile error means another process owns that profile. Close that connection normally. Never remove data locks to force a second writer.

Storage and upgrades

The default root is qdrant-memory-managed under:

SystemData directory
macOS~/Library/Application Support
Windows%LOCALAPPDATA%
Linux$XDG_DATA_HOME or ~/.local/share

Program environments live under programs/<runtime-revision>/<dependency-lock-prefix>/<platform-arch>/env/; the revision is the Runtime source commit and the lock prefix is the first 12 characters of the dependency digest. The CLI executable is bin/qdrant-memory on macOS and Linux or Scripts/qdrant-memory.exe on Windows. Models live under models/, and host data under profiles/workbuddy/local/ or profiles/dsh/local/. The optional QDRANT_MEMORY_MANAGED_ROOT must be an absolute path. Program versions and dependency locks select separate installation directories. Existing profiles retain their model-cache settings during an upgrade.

Disconnect the client before upgrading or using maintenance commands. Uninstalling the npm package removes the launcher. It does not remove profiles or models. Back up the profile before a rollback and retain the same embedding pipeline. Do not copy a running embedded store or automatically migrate it.

After an unexpected OS shutdown or force-killed installation, a provisioning lock may require operator assistance. Confirm that the installer and its child processes have stopped before inspecting only that program's .provision.lock. Do not remove profile files or Runtime data locks.

Package integrity

The launcher contains no third-party JavaScript dependencies or downloaded models. It verifies bootstrap and public Runtime wheel bytes before execution. All Python dependencies are pinned with hashes and installed as wheels. No dependency source code is compiled. Runtime verifies model revisions and artifacts.

Pillow stays at 13.0.0. Official FastEmbed 0.9.1 supports Pillow 13 and is installed from the hash-pinned upstream wheel. Preparation no longer downloads or executes a compatibility builder. uv pip check and CPU model acceptance remain required. Existing profiles and model caches are retained.

Runtime 0.6.2 allows 15 minutes per model file and 30 minutes for all network downloads during explicit preparation. The launcher allows 40 minutes for profile/model setup, while bootstrap and dependency subprocesses keep their separate 10-minute bounds. Cold/public npm CI jobs allow 90 minutes for installation and actual CPU acceptance. Size and hash checks remain mandatory; a longer wait never marks a partial cache ready. Public npm acceptance allows 60 minutes to become ready. MCP initialize and tool discovery retain their 60-second handshake budget while preparation runs in the background.

FastEmbed 0.9.1 has a different pipeline identity from the former 0.9.0 compatibility build. New installations use a version-qualified model-cache directory. Existing profiles retain their original cache path and are not silently upgraded or relabelled. An old CPU profile can therefore refuse setup with the new Runtime. Keep its previous launcher available. For an authorized upgrade, export through the old Runtime, choose a new managed root/profile and collection, import with re-embedding and verify before switching clients. Retain the old store and cache for rollback. Never edit ready markers, stored fingerprints or ownership records to force compatibility.

runtime.json, requirements.lock and bootstrap.mjs record the exact versions and integrity checks. See third-party notices. Installer subprocesses receive a restricted environment without service keys. MCP stdout carries only protocol messages.

版本与发布记录

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

版本发布日期距今
0.1.0-rc.9latest2026/11/14今天
0.1.0-rc.82026/11/058 天前
0.1.0-rc.72026/10/2915 天前
0.1.0-rc.62026/10/2420 天前
0.1.0-rc.52026/10/2420 天前
0.1.0-rc.42026/10/2321 天前

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

@cnkang/qdrant-memory-launcher 是什么?

Private Python and CPU memory runtime for MCP clients

如何安装 @cnkang/qdrant-memory-launcher?

在项目目录运行 npm install @cnkang/qdrant-memory-launcher,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 qdrant-memory-launcher,可以用 npx qdrant-memory-launcher 直接运行。

@cnkang/qdrant-memory-launcher 支持 TypeScript 吗?

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

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

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

@cnkang/qdrant-memory-launcher 需要什么版本的 Node.js?

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

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

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

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

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

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

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