dshbase

插件目录 / Developer / dsh-research-notes

dsh-research-notes

已验证 · 实测可装 fff122

✓ 持续维护 基于 2 个官方 DSH 包 纯 TypeScript

查看 GitHub ↗ ← 返回插件目录

3Stars
0Forks
0未关闭 issue
TypeScript语言
2026-08-15最近推送
跨平台平台

功能简介

dsh-research-notes — DSH 插件(工具)

✅
我们的评价
可用 — 实测通过,早期项目

dsh-research-notes — DSH 插件(工具) 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-research-notes

A small local note-taking plugin for DeepSeek Harness. It gives an Agent four tools for saving, listing, searching, and exporting research notes.

The plugin stores human-readable Markdown files under .dsh/research-notes/ in the current workspace. It does not need a database, external API, browser permission, or network service.

Quick install

Requirements

You need:

  • Node.js 22 or newer
  • pnpm
  • DeepSeek Harness with support for JavaScript or TypeScript plugins

Step 1: Download and build

Copy and run these commands:

git clone https://github.com/fff122/dsh-research-notes.git
cd dsh-research-notes
pnpm install
pnpm build

Step 2: Create the Harness plugin configuration

Run this command in the plugin directory:

cat > research-notes.patch.yml <<EOF
- insert:
    - id: dsh-research-notes
      name: '$PWD/dist/src/index.js'
EOF

The generated path is absolute, which is required by the Harness patch loader.

Step 3: Start Harness with the plugin

If Harness is available as a command, run:

dsh web --patch "$PWD/research-notes.patch.yml"

If it is not installed as a command, run:

npx @deepseek-ai/dsh web --patch "$PWD/research-notes.patch.yml"

Open the Harness Web UI shown by the command. The Agent can now use the four research-note tools.

Other DeepSeek Harness plugins

The following plugins are maintained in separate public repositories:

Plugin Repository
dsh-task-checklist fff122/dsh-task-checklist
dsh-prompt-presets fff122/dsh-prompt-presets
dsh-agent-arcade fff122/dsh-agent-arcade

Verify the installation

Ask the Agent to save a note, for example:

保存一条研究笔记:标题是 DeepSeek Harness,正文是这是一次安装测试,标签是 test。

The note should appear under:

.dsh/research-notes/notes/

You can also ask the Agent to list, search, or export the note. If the tools do not appear, check that the patch file points to dist/src/index.js and that pnpm build completed successfully.

Available tools

Tool Purpose
research_note_save Save a note with an optional source URL and tags.
research_note_list List notes, optionally filtered by tag.
research_note_search Search note titles, bodies, sources, and tags.
research_note_export Export selected notes or all notes to a Markdown research pack.

One-copy installation

After cloning the repository, the following block installs, builds, configures, and starts the plugin:

set -e

git clone https://github.com/fff122/dsh-research-notes.git
cd dsh-research-notes
pnpm install
pnpm build

cat > research-notes.patch.yml <<EOF
- insert:
    - id: dsh-research-notes
      name: '$PWD/dist/src/index.js'
EOF

npx @deepseek-ai/dsh web --patch "$PWD/research-notes.patch.yml"

Where notes are stored

.dsh/research-notes/
  notes/<note-id>.md
  index.json
  exports/research-notes-<timestamp>.md

The Markdown files are the source of truth. They can be opened, edited, copied, or backed up by hand. The plugin only writes below the current workspace's .dsh/research-notes/ directory.

Updating the plugin

From the cloned directory, run:

git pull
pnpm install
pnpm build

Then restart Harness with the same patch command.

Troubleshooting

pnpm: command not found means that pnpm is not installed. Install pnpm using the official pnpm installation guide, then repeat the commands.

The tools do not appear usually means that Harness was started without the patch file, or that the patch file still points to the wrong path. Run pwd inside the cloned directory and confirm that the patch points to the resulting absolute path followed by /dist/src/index.js.

The build fails means that the local Node.js or pnpm version may not meet the requirements, or that dependencies were not installed. Run node --version, then run pnpm install again.

Development

The repository uses strict TypeScript and Vitest. Before committing changes, run the complete quality gate:

pnpm format:check
pnpm typecheck
pnpm test
pnpm build

The source is intentionally split into small modules so that another developer can understand and modify it:

src/
  index.ts        # Harness entry point and tool registration
  schema.ts       # Input validation and shared data types
  note-format.ts  # Human-readable Markdown serialization
  note-store.ts   # Filesystem persistence and search
  path-policy.ts  # Workspace boundary and path safety

test/
  schema.test.ts
  note-format.test.ts
  note-store.test.ts

No release or GitHub publication should happen until formatting, type checking, tests, and the production build all pass. The repository is public and tagged with the dsh-plugin GitHub topic.

For the plugin model and patch overlay format, see the official DeepSeek Harness plugin guide.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-research-notes」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:fff122/dsh-research-notes

Headless(CLI)profile:

dsh plugin --profile headless add github:fff122/dsh-research-notes

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。

适合谁

想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。

二次开发建议

工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7797 个插件 →