Spirtxiaoqi7/mindspace-dsh-local-rag 预览 preview

Spirtxiaoqi7/mindspace-dsh-local-rag

Plugin插件 Native原生 ⭐ 2 MIT Memory & Knowledge记忆与知识库

ARPM衍生的本地混合RAG插件,用于DeepSeek Harness

Project Overview项目介绍

Mindspace Local RAG is an independent, local-only retrieval plugin for DeepSeek Harness, derived from the RAG branch of ARPM. It exposes one explicit search_local_memory tool via defineTool so the model invokes retrieval on demand, fusing vector similarity and BM25+ through RRF with parent/child indexing over uploaded files and native compaction summaries. Use it when the current conversation cannot answer a question and an uploaded document or older compressed fact is needed. Retrieved text is untrusted reference and must never override current instructions.

Mindspace Local RAG 是 DeepSeek Harness 的独立本地检索插件,源自 ARPM 的 RAG 分支。它通过标准 defineTool 提供 search_local_memory 工具,由模型按需调用,结合向量与 BM25+ 双通道、RRF 融合以及父子索引,索引上传文档与原生 compaction/end 摘要。当现有对话不足、需调取旧知识或大文档时使用。检索文本视为不可信证据,不得覆盖当前指令。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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:Spirtxiaoqi7/mindspace-dsh-local-rag

把 Spirtxiaoqi7/mindspace-dsh-local-rag 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

Mindspace Local RAG for DeepSeek Harness

中文说明

An independent, local-only retrieval plugin for DeepSeek Harness. It gives any tool-capable chat model one explicit search_local_memory tool instead of injecting retrieval into every turn.

Project line: an independent RAG branch derived from ARPM

This is the RAG branch of the Mindspace/DSH plugin family. Its retrieval design is based on lessons from ARPM, but it is not a direct transplant of ARPM's chat route:

  • it retains vector + BM25+, RRF fusion, and child-hit/parent-return retrieval;
  • it exposes retrieval through the standard DSH defineTool mechanism so the active model decides when to search;
  • it adds native DSH compaction/end ingestion, per-session isolation, source provenance, document revisions, and a local model lifecycle;
  • it does not patch the chat provider or inject retrieval into every prompt.

Boundary from structured memory

This repository is not coupled to mindspace-dsh-session-memory, and the two are not developed as one monolithic plugin.

Capability This repository: Local RAG Structured-memory plugin
Responsibility On-demand retrieval over large documents and older summaries User profile, preferences, AI instructions, relationship mission, and roleplay preset
Model access Standard tool calling Governed personalization supplied to the active session
Package/repository mindspace-dsh-local-rag mindspace-dsh-session-memory
Persistence <DSH_HOME>/mindspace-local-rag/ Its own independent data store
Dependency Does not depend on structured memory Does not depend on Local RAG

Local RAG can be installed or removed independently. On the DSH 0.1.1 compatibility line it composes with mindspace-dsh-session-memory: the two packages use different Remote namespaces and do not share a service or data directory. Conversation summaries in this RAG come directly from native DSH compaction events; they are not read from the structured-memory plugin. Do not mix this package pair with a legacy in-tree Mindspace memory checkout, because that old integration owns a competing Memory service.

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-Desktop 下一个 Next dsh-tokensave →