返回目录
Agent 与会话 插件

dsh-global-rules

GrizzCoder/dsh-global-rules

DeepSeek Harness 设置界面的「全局规则」可视化编辑插件

Stars
0
Forks
0
Issues
0
更新
15 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:GrizzCoder/dsh-global-rules

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-global-rules

English | 中文

A DeepSeek Harness (DSH) plugin for visual editing of the user-level global rules file.

Directly manage your user-global instruction file $DSH_HOME/AGENTS.md (default ~/.dsh/AGENTS.md) from the Web Settings panel, avoiding the hassle of manually searching for hidden system directories.

Global Rules Preview


Features

  • Sidebar Integration: Adds a clean "Global Rules" section to the Settings panel, seamless with DSH UI.
  • Dynamic Path & Reveal in File Manager: Resolves the exact system path automatically, featuring a "Show in Folder" button that highlights the file in Windows Explorer, macOS Finder, or Linux file managers.
  • Complete Editing Experience: Monospace editor with Save / Cancel actions, supporting one-click undo and auto-creation if the file does not exist.
  • Immediate Effect: New sessions apply new rules instantly; current sessions detect changes on the next filesystem tool operation.
  • Minimalist Architecture: Built on Connection Fetch routes and native ModuleLoader, with zero redundant third-party runtime dependencies.

Install

Method 1: Install from GitHub

Execute in your terminal:

dsh plugin --profile desktop add github:GrizzCoder/dsh-global-rules

Method 2: Local Development Install

Clone this repository and install it in your workspace:

git clone https://github.com/GrizzCoder/dsh-global-rules.git
dsh plugin --profile desktop add ./dsh-global-rules

After installation, refresh the web page and open Settings → Global rules to get started.


Project structure

dsh-global-rules/
├── assets/               # Screenshots and assets
│   └── preview.png
├── cordis.patch.yml      # Plugin patch declaration
├── icon.svg              # Plugin icon
├── lib/
│   ├── index.js          # Host side: File I/O and File Manager calls
│   └── client.js         # Client side: Settings panel UI
└── package.json

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类Agent 与会话
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: ai-agent。