dsh-rich-context
Agent instruction manager for DSH — edit and template the AGENTS.md files the harness actually reads (global + per-workspace)
svgop
@svgop
⬇ 2
★ 0
main
安装
dsh plugin --profile web add github:svgop/dsh-rich-context
需要可复现安装时,可在仓库后追加 #commit 固定提交。
Agent instruction manager for DSH — edit and template the AGENTS.md files the harness actually reads (global + per-workspace)
该插件未提供要点说明,请参考仓库 README。
agents-mdcontext-managementdeepseek-harnessdeepseek-harness-plugindshdsh-plugin
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/svgop/dsh-rich-context |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 2 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-08-29 |
| 收录日期 | 2026-09-19 |
| 分类 | 工具与能力 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-rich-context
**Agent instruction manager for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)** — edit, refine, and route the `AGENTS.md` files your agents actually read, from a sidebar panel under the Skill Center.
> 管理 AGENTS.md——agent 实际读取的指令文件:全局/工作区编辑、自定义路径、跨工具源扫描与默认切换。
## Install
```sh
dsh plugin --profile web add dsh-rich-context
```
Restart the `dsh web` process. A **Context** entry appears in the sidebar (under Skill Center).
## What it manages
The harness reads instruction files from two scopes (verified in `dsh-agent-instructions`):
- **User-global**: `~/.dsh/AGENTS.md` — injected into every session
- **Per-workspace**: `/AGENTS.md` — scoped to that workspace's sessions
Plus **custom paths** — click the path in the header to route to any absolute file path.
## The panel
Two tabs (segmented, bleed grammar):
- **Global** — edit `~/.dsh/AGENTS.md` with the monospace editor (Ctrl+S saves)
- **Workspace** — pick a workspace from the dropdown, edit its root `AGENTS.md`
The **path field** in the header is click-to-edit: click it, type any absolute path, Enter to load that file instead. The editor follows.
## Source scanning + default switching
On the Global tab, the **AGENTS.md sources** section scans 10 tool directories (`.dsh`, `.codex`, `.claude`, `.omp`, `.pi`, `.cursor`, `.aider`, `.gemini`, `.copilot`, `.continue` — plus home root) for `AGENTS.md` and `CLAUDE.md` files. Each detected file lists with its line count and a **Set as default** button — clicking it **symlinks** `~/.dsh/AGENTS.md` to that file, so the harness transparently reads whichever tool's instructions you designate as the single source of truth. Reset restores a plain file.
## Architecture
```
src/host.js Node half — /api/rich-context/{state,file,template,sources,default}
routes. Scans tool dirs, manages symlinks, reads/writes
AGENTS.md files. Node builtins only.
src/client.bundle.js Browser half — pure DOM overlay (no React dependency):
sidebar entry + panel with tabs, editor, source scanner.
```
## License
[MIT](LICENSE)
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。