DSH Plugins Marketplace

DSH Plugins

Plugins

/

Sessions & Messages

/

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

billion-context

by ranxianglei

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

Sessions & MessagesManifest valid

★ 6.6k

↓ 900.1k/wk

MIT

TypeScript

Nov 10, 2026

dsh plugin --profile web add billion-context

A DeepSeek coding agent harness: persistent shell, Ultra subagents, auto approval, Chrome MCP and session telemetry

Sessions & Messages

★ 998

MIT

JavaScript

Index only — not installable

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

Sessions & MessagesManifest valid

★ 707

↓ 26k/wk

MIT

JavaScript

Nov 16, 2026

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

by Yuuyuko-uu

DSH 鱼的记忆:给会话一份会淡忘的长期记忆,每条都带时间

Development & InfrastructureMemory & ContextSessions & MessagesManifest valid

★ 524

MIT

JavaScript

Nov 16, 2026

dsh plugin --profile web add dsh-fish-memory

by MichengAI

DSH Archive Manager — 在 DeepSeek Harness 中安全查看、恢复和管理已归档会话 · Safely view, restore, and manage archived sessions in DSH

Sessions & MessagesManifest valid

★ 368

↓ 38.4k/wk

Apache-2.0

JavaScript

Nov 14, 2026

dsh plugin --profile web add @michengai/dsh-archive-manager

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

Sessions & MessagesManifest valid

★ 318

↓ 4.7k/wk

MIT

JavaScript

Nov 15, 2026

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