mrwoov/dsh-agent-md
dsh代理.md管理器
catalog 简介:dsh agents.md manager
安装
3. 重启 dsh 进程
> 提示:修改包名 / 删除插件 / 改动组合配置后,必须重启 dsh 才彻底生效(热更新只增不删,见技术要点)。
## HTTP 接口
| 方法 | 路径 | 说明 |
| --- | --- | --- |
| GET | `/api/agent-md?path=<项目目录>` | 返回 `{ exists, content }` |
| POST | `/api/agent-md?path=<项目目录>` body `{ content }` | 写入 `<目录>/AGENTS.md` |
## 技术要点
- host 半(`lib/index.js`):注册 `/api/agent-md` 路由,读写 `<path>/AGENTS.md`
- client 半(`lib/client.js`):注册进 `conversation.view` 槽(`id: agent`,tab 文字「Agent」)
- 纯 JavaScript,无构建步骤,复制即用
- dsh 的 patch 热更新语义是「只增改、不删除」:改名 = 新增 + 旧残留,必须重启清场,否则旧 bundle URL 404 会拖垮整页
## 与 DeepSeek Harness 的关系
本项目是基于 [deepseek-ai/deepseek-harness](https://github.com/deepseek-ai/deepseek-harness) 的 Cordis 插件机制开发的 Web UI 插件。
核心的智能体、会话、插件系统和 Web UI 都来自官方 Harness;本插件只负责:
- 在会话视图环(`conversation.view`)中提供一个「Agent」视图
- 通过 host 路由读写项目根目录的 AGENTS.md
如果你需要命令行运行 Harness,或参与核心功能开发,请优先查看[官方仓库](https://github.com/deepseek-ai/deepseek-harness)。
## 特别感谢
感谢 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 项目和 DeepSeek AI 团队,以及 [Cordis](https://github.com/cordiverse/cordis) 提供的插件化基础。
同时感谢 [dsh-web-ui](https://github.com/zhu1090093659/dsh-web-ui) 项目与作者 zhu1090093659,本插件的目录结构、`dsh.client` 声明与 patch 挂载方式沿用了 dsh-web-ui 插件家族的最佳实践。
And you.
## 友情链接
这里收录 DeepSeek Harness 生态项目。
| 项目 | 简介 | 链接 |
| --- | --- | --- |
| DeepSeek Harness | 官方项目:核心智能体、插件系统与 Web UI。 | [GitHub](https://github.com/deepseek-ai/deepseek-harness) |
| dsh-web-ui | DSH Web UI 插件与皮肤合集(本插件的挂载方式参考来源)。 | [GitHub](https://github.com/zhu1090093659/dsh-web-ui) |
| Awesome DSH Plugin | DeepSeek Harness 社区插件精选列表。 | [GitHub](https://github.com/awesome-dsh-plugin/awesome-dsh-plugin) |
## 开发
纯 JavaScript,无构建步骤。修改 `lib/` 后,把包同步到 `~/.dsh/profiles/web/node_modules/@mrwoov/dsh-agent-md/` 并重启 dsh 即可。
把 mrwoov/dsh-agent-md 加入你的 DSH 配置(web profile)即可启用。
README
展开完整 README 收起
README 内容为空。
tt-a1i/archify
zhu1090093659/dsh-web-ui
strukto-ai/mirage
liustack/modlens
omdsh-dev/DSH-better-sidebar
ccch1mneyyy/dsh-TUI
agentrq/agentrq
GanyuanRan/Aegis