DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-global-rules

d

dsh-global-rules

Manifest valid
UI (client)

dsh-global-rules — 个性化全局规则编辑器

在 DSH Web「设置」→「插件」→「插件配置」里新增「全局规则」编辑页,可在浏览器中编辑并保存 ~/.dsh/AGENTS.md(Codex 式全局规则),无需手动编辑文件。

原理

  • 官方 dsh-agent-instructions 插件会读取 $DSH_HOME/AGENTS.md 作为「用户全局指令」注入每个会话。
  • 本插件只是给这个文件加一个可视化编辑入口(文本区 + 保存按钮),文件本身仍是唯一数据源。
  • Host 半区通过 loopback RPC(/dsh-global-rules)读写该文件;Client 半区注册 settings.section。

安装

# 方式一:从 GitHub 安装
dsh plugin --profile web add "github:Semidia/dsh-global-rules"

# 方式二:手动 junction + bundles
New-Item -ItemType Junction -Path "~/.dsh/profiles/web/node_modules/dsh-global-rules" -Target "<源码目录>" -Force
# 并在 cordis.patch.yml 追加:
# - insert:
#     - id: dsh-global-rules
#       name: 'dsh-global-rules'

然后重启 dsh web 生效。

文件

文件说明
lib/index.jsHost 半区:REST 端点读写 ~/.dsh/AGENTS.md
lib/client.jsClient 半区:设置页「全局规则」编辑界面
package.json包定义(含 dsh.client 声明)

状态

  • 2026-08-20:完成创建并部署,junction 链接 + cordis.patch.yml insert 验证通过。
  • 发布:https://github.com/Semidia/dsh-global-rules,SSH 推送成功。
  • 列表注册:awesome-deepseek-harness README.md Infrastructure & Development 区,PR #420 已提交上游。

Comments

Loading…

From the same category

dsh-infinite-gen-4

by Minglink

DeepSeek v4.1 flash 网络安全红队工具(无限四代) — jailbreak prompts and test suite for DeepSeek 求 Star 收藏 ⭐欢迎大家提交项目的改进

Sessions & MessagesManifest valid

★ 2.2k

MIT

JavaScript

Sep 29, 2026

dsh plugin --profile web add dsh-infinite-gen-4

System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status bad

Sessions & MessagesManifest valid

★ 1k

MIT

C#

dsh plugin --profile web add dsh-infinite-gen-4

by liangmianya

A visual, non-linear conversation workspace plugin for DeepSeek Harness ; A canvas-based session explorer and branching workspace for DeepSeek Harness.

Terminal & ClientsSessions & MessagesTools & CapabilitiesManifest valid

★ 460

↓ 330/wk

MIT

JavaScript

Aug 26, 2026

dsh plugin --profile web add dsh-synapse

by ranxianglei

基本稳定可用 100K tokens is enough. Universal context-compression proxy for ALL AI coding agents,10w上下文足矣

Sessions & MessagesManifest valid

★ 414

↓ 200.8k/wk

MIT

TypeScript

Sep 30, 2026

dsh plugin --profile web add billion-context

by Han-1413141

DeepSeek Harness session cost meter plugin: session/daily cost, budget, history, OpenCode Go quota, official & custom-provider balance, Codex-like token heatmap, peak/off-peak pricing with pre-switch

Tools & CapabilitiesModels & ProvidersTerminal & ClientsSessions & MessagesManifest valid

★ 359

↓ 22.2k/wk

MIT

JavaScript

Sep 30, 2026

dsh plugin --profile web add dsh-cost-meter

by Nwflower

Import 14+ external agent chat histories (Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, ZCode, Grok Build, OpenClaw, Pi, Hermes, Kimi CLI, DSH) into DeepSeek Harness as resumable se

Development & InfrastructureSessions & MessagesTools & CapabilitiesManifest valid

★ 207

MIT

JavaScript

Sep 30, 2026

dsh plugin --profile web add dsh-chat-import