DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-global-rules

Global Rules

从 Web 设置面板编辑用户全局 AGENTS.md($DSH_HOME/AGENTS.md)。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-global-rules@0.2.2
README兼容性版本
Global rules settings page

兼容性与来源证明

Global Rules 以 dsh-global-rules 发布,当前版本为 0.2.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/11/4

版本

0.2.2stable
2026/10/17
0.2.1stable
2026/9/30
0.2.0stable
2026/9/26
查看其余 2 个版本收起版本
0.1.1stable
2026/9/8
0.1.0stable
2026/8/15

相关插件

正在加载相关插件…

最新版
0.2.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
21.7 kB
文件数
10
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 13
周下载
595
安全扫描
✓ v0.2.2 扫描通过
最近提交
2026/10/17
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-global-rules

English | 中文

Edit your user-global rules file $DSH_HOME/AGENTS.md (default ~/.dsh/AGENTS.md) from the DeepSeek Harness web settings panel.

Global rules settings page

Features

  • A new Global rules settings tab (labelled 「全局规则」): opening it loads the current content of the global rules file and shows the path it resolved to
  • Path resolution matches the harness: a non-blank $DSH_HOME wins, otherwise ~/.dsh (the same rule the built-in dsh-agent-instructions follows, so you always edit the file that is actually in effect)
  • Edit and save with immediate effect: new sessions use the new rules on their first step; the current session picks them up after its next file operation (handled by DSH's built-in dsh-agent-instructions change detection)
  • Saving creates the file when it does not exist yet
  • Zero build: the client half is a hand-written __ModuleLoader__ bundle, the host half is plain Node ESM

Requirements

  • DeepSeek Harness (dsh) with the web profile
  • No extra runtime dependency: the plugin ships only lib/, cordis.patch.yml, icon.svg, and locale/*.json

Install

dsh plugin --profile web add dsh-global-rules

Installing from the GitHub source (alternative):

dsh plugin --profile web add github:badai147/dsh-global-rules

Restart dsh web, then open Settings → Global rules.

Usage

  1. Open Settings → Global rules
  2. Edit the rules (Markdown, the same syntax as AGENTS.md)
  3. Click Save

After saving:

  • New sessions read the new content on their first step, so it applies immediately
  • The current session: after the next filesystem tool call, DSH detects the change and injects "Updated instructions from: ~/.dsh/AGENTS.md", and the model follows the new rules

How it works

  • Host (lib/index.js): registers the exact Fetch route GET/POST /api/global-rules through ctx.connection.fetch.register (read the file / write the file, 256 KiB limit). It rides Connection's /api channel, so it lands inside the Host/Origin fence and browser authentication with no hand-rolled same-origin check
  • Client (lib/client.js): a hand-written window.__ModuleLoader__.load bundle that registers the Global rules page under settings.section
  • Effect mechanism: DSH's built-in dsh-agent-instructions plugin covers dynamic detection for the user-global scope, so this plugin needs no hot-reload of its own

Project structure

dsh-global-rules/
├── cordis.patch.yml      # bundle patch: inserts the global-rules layer
├── icon.svg              # plugin icon shown on the Plugins page
├── lib/
│   ├── index.js          # Host: exact /api Fetch route (Node ESM)
│   └── client.js         # Client: settings panel UI (__ModuleLoader__ bundle)
├── locale/
│   ├── en.json           # plugin title and description (English)
│   └── zh.json           # plugin title and description (Chinese)
├── .github/workflows/
│   └── publish.yml       # npm publish on version tags
└── package.json

Changelog

Release notes live in CHANGELOG.md (中文).

Contributing

Bug reports, feature requests, and pull requests are welcome — see CONTRIBUTING.md (中文) for the development setup, project conventions, and commit rules.

License

MIT

相关插件

继续浏览 agents-orchestration 分类下经过校验的插件。

Hindsight Coding Agents@vectorize-io/hindsight-coding-agents面向编程代理的仅反思式 Hindsight 长期记忆(可插拔支持多种运行框架:opencode、……),自动在后台导入(无需设置 CLI)。Ds Botds-botDS Bot:DeepSeek Harness 的一组长期运行的 Bot,支持主 Bot、Bot 间消息和群聊Skills Manager@michengai/dsh-skills-managerDSH Skills Manager — 在 DeepSeek Harness 中统一加载并安全管理本机 Agent Skills · 在 DSH 中加载并安全管理本地 Agent SkillsArisdsh-arisARIS research-workflow 技能作为 DeepSeek Harness 捆绑包:包含 82 项技能,以及通过 Codex 进行的跨模型对抗性审查。