DeepSeek Harness 插件

dsh-plugins-riesbri

Personal DeepSeek Harness plugin bundle(英文原文)

跳到安装方式

来源信息

GitHub 仓库
riesbri/dsh-plugins
最近更新
2026年8月16日
分类
工具与能力
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/riesbri/dsh-plugins
插件名:dsh-plugins-riesbri
作者:riesbri

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-plugins-riesbri

Personal DeepSeek Harness plugin bundle.

Install

dsh plugin --profile web add github:riesbri/dsh-plugins

Or from a local checkout:

dsh plugin --profile web add /path/to/dsh-plugins

dsh plugin appends the bundle to the profile's dsh.profile.bundles, so its layer applies after @deepseek-ai/dsh-base and any mode bundle. Confirm with:

dsh --profile web --dump-config    # shows a "# == dsh-plugins-riesbri" layer

Remove with dsh plugin --profile web remove dsh-plugins-riesbri.

This package ships plain ESM JavaScript with no build step, so a github: install needs no prepare script and no pnpm allowBuilds entry.

What it contributes

list_dir

Lists the direct children of a directory — names, types, and sizes only, never file contents.

The harness filesystem seam has exposed ctx.fs.listDir since the beginning with no model-facing Consumer; @deepseek-ai/dsh-tool-fs records the gap under its known limitations as "No model-facing directory listing ships". Without it the model reaches directory structure only through bash ls — unstructured, and subject to whatever shell sandbox the deployment mounts — or through glob, which is pattern-driven rather than hierarchical.

Because it is a Consumer of the seam rather than a shell-out, listing follows whichever filesystem provider the deployment mounted: local, sandboxed, or remote.

ParameterTypeNotes
pathstring, requiredA relative path resolves against the calling agent's session workspace, not the server's launch directory.
limitintegerDefaults to 200, clamped to 1000. A truncated listing says so in its last line.

The tool registers globally, so it reaches every agent regardless of the agent preset a session selects — a preset row of the same name would shadow it, but no shipped preset defines one.

Machine-local configuration

dsh-home/cordis.patch.yml is the home patch layer, symlinked into place:

ln -s "$PWD/dsh-home/cordis.patch.yml" ~/.dsh/cordis.patch.yml

It applies to every profile, after that profile's bundle layers and before any --patch overlay, and is hot-reloaded on save. It currently enables session content search: the base bundle mounts the session-query index with path: ':memory:' and openAt: never, so every full-text call fails SESSION_QUERY_SEARCH_DISABLED and the Web sidebar matches titles and workspace names only. A durable path with openAt: first-search keeps the node:sqlite import and the file handle off the startup path.

Remember that a patch replaces the targeted row's whole config rather than merging into it, so every key the row needs is restated there.

Layout

package.json                  declares dsh.bundle
cordis.patch.yml              the layer applied when a profile lists this bundle
index.js                      plugin entry: name, inject, apply
src/list-dir.js               the tool
dsh-home/cordis.patch.yml     machine-local home patch layer (symlinked to ~/.dsh)

License

[MIT](LICENSE)