detongz/dsh-client-ui-obsidian-memory 预览 preview

detongz/dsh-client-ui-obsidian-memory

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

DeepSeek 集成插件,用于 Obsidian 记忆功能。

Project Overview项目介绍

This is a native DSH plugin that adds persistent memory capabilities to your DeepSeek Harness AI agent, backed by a local Obsidian or plain Markdown vault. It registers five file system tools that let the AI read, list, search, write, and append content to files in your local vault. It also adds a sidebar panel that displays your vault structure and references for the available tools, and follows the community-standard Codex directory structure convention. No external server is required; it connects directly to your local file system via DSH’s host runtime.

Installation is straightforward, and can be completed with a single one-line command from any directory on your machine. After running the dsh plugin add command, the plugin is automatically installed and activated as a profile layer, so no manual edits to configuration files are needed. Once installed, you just need to create a Codex folder in your desired location, add the absolute path of this folder to your profile configuration or set it as an environment variable, then restart DSH. This plugin is ideal for DSH users who want their AI agent to keep long-term records of project details, pending tasks, and personal notes, maintaining consistent context across sessions.

The plugin requires Node.js version 22 or higher, has been tested for compatibility across multiple recent DSH versions, and is released under the open-source MIT license with no associated costs. It sandboxes file access to only the directory specified in your configuration, blocking any attempts to access files outside of the local designated vault, and makes no outbound network requests. If you do not set a valid vault path, the plugin will log a warning and skip tool registration, so be sure to double-check your path configuration on your first run.

这是一款专为DeepSeek Harness(DSH)开发的原生插件,可为AI代理提供基于本地Obsidian(或纯Markdown)仓库的持久化记忆。它注册了五个文件系统工具,支持对仓库内文件进行读取、列出、搜索、写入和追加操作,同时提供一个侧边栏面板显示仓库状态和工具参考。它遵循社区推荐的Codex目录结构,无需外部服务器,直接通过DSH运行时与本地文件系统交互。

安装过程十分简单,只需要通过dsh plugin add命令就能一键完成安装和激活,无需手动修改配置文件。安装完成后,用户需要提前创建符合规范的Codex文件夹,在配置文件中填入该文件夹的绝对路径,或者设置对应的环境变量,重启DSH就能正常使用。这款插件适合需要让AI代理长期记录项目信息、待办任务和各类笔记的DSH用户,帮助AI保持项目上下文的连续性。

该插件要求Node.js版本不低于22,已经过多个DSH版本兼容性测试,以MIT许可证开源,完全免费使用。它对文件访问做了沙箱限制,禁止AI访问vaultPath指定目录以外的文件,不会发起任何外部网络请求,也不收集任何用户信息。首次使用需要注意必须配置正确的绝对路径,否则插件会注册失败并发出警告。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 15 stars - an early-stage project星标 15,属于早期项目
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 add dsh-client-ui-obsidian-memory

把 detongz/dsh-client-ui-obsidian-memory 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-client-ui-obsidian-memory

🧠 Obsidian Memory for DeepSeek Harness — persistent memory via local Markdown vault

A DSH plugin that gives your AI agent persistent memory backed by a local Obsidian (or plain Markdown) vault. It registers 5 file-system tools (obsidian_memory_*) and renders a sidebar panel showing vault status and tool reference.

Inspired by @Saccc_c's Codex memory techniques.

Obsidian Memory Panel


What it does

  • 5 memory tools — AI can read, list, search, write, and append to your local vault
  • Sidebar panel — a vault directory browser, opened from a sidebar panel icon; the panel mounts in the layout's main slot (see Known issues for version caveats)
  • No external server — talks directly to the file system via DSH's host runtime
  • Codex-compatible — works with the Codex/ directory structure recommended by the community

Available Tools

Tool Action
obsidian_memory_read Read a Markdown or text file
obsidian_memory_list List files and directories
obsidian_memory_search Full-text search across .md and .txt files
obsidian_memory_write Write or overwrite a file
obsidian_memory_append Append content to the end of a file

Quick Start

1. Prepare your vault

Create a Codex/ folder anywhere on your machine (e.g. inside an Obsidian vault):

~/Documents/Obsidian Vault/
└── Codex/
    ├── AGENTS.md      ← AI operating instructions
    ├── TODO.md        ← pending tasks / open loops
    ├── people/
    ├── projects/
    ├── notes/
    └── daily/

2. Install the plugin

One command, from anywhere:

dsh plugin add dsh-client-ui-obsidian-memory        # npm release (recommended)
# or install straight from source:
dsh plugin add detongz/dsh-client-ui-obsidian-memory

The plugin ships a dsh.bundle manifest, so dsh plugin add both installs the package and activates it as a profile layer (the bundled cordis.patch.yml inserts the obsidian-memory entry). No manual cordis.patch.yml edit is needed to load the plugin.

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-freeroute 下一个 Next dsh-ui →