dsh-rich-context
Manifest validdsh-rich-context
Agent instruction manager for DeepSeek Harness — edit, refine, and route the AGENTS.md files your agents actually read, from a sidebar panel under the Skill Center.
管理 AGENTS.md——agent 实际读取的指令文件:全局/工作区编辑、自定义路径、跨工具源扫描与默认切换。
Install
dsh plugin --profile web add dsh-rich-context
Restart the dsh web process. A Context entry appears in the sidebar (under Skill Center).
What it manages
The harness reads instruction files from two scopes (verified in dsh-agent-instructions):
- User-global:
~/.dsh/AGENTS.md— injected into every session - Per-workspace:
<workspace-root>/AGENTS.md— scoped to that workspace's sessions
Plus custom paths — click the path in the header to route to any absolute file path.
The panel
Two tabs (segmented, bleed grammar):
- Global — edit
~/.dsh/AGENTS.mdwith the monospace editor (Ctrl+S saves) - Workspace — pick a workspace from the dropdown, edit its root
AGENTS.md
The path field in the header is click-to-edit: click it, type any absolute path, Enter to load that file instead. The editor follows.
Source scanning + default switching
On the Global tab, the AGENTS.md sources section scans 10 tool directories (.dsh, .codex, .claude, .omp, .pi, .cursor, .aider, .gemini, .copilot, .continue — plus home root) for AGENTS.md and CLAUDE.md files. Each detected file lists with its line count and a Set as default button — clicking it symlinks ~/.dsh/AGENTS.md to that file, so the harness transparently reads whichever tool's instructions you designate as the single source of truth. Reset restores a plain file.
Architecture
src/host.js Node half — /api/rich-context/{state,file,template,sources,default}
routes. Scans tool dirs, manages symlinks, reads/writes
AGENTS.md files. Node builtins only.
src/client.bundle.js Browser half — pure DOM overlay (no React dependency):
sidebar entry + panel with tabs, editor, source scanner.
License
Comments
Loading…
From the same category
by Minglink
DeepSeek v4.1 flash 网络安全红队工具(无限四代) — jailbreak prompts and test suite for DeepSeek 求 Star 收藏 ⭐欢迎大家提交项目的改进
★ 2.2k
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add dsh-infinite-gen-4System-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
★ 2.1k
MIT
C#
dsh plugin --profile web add dsh-infinite-gen-4by liangmianya
A visual, non-linear conversation workspace plugin for DeepSeek Harness ; A canvas-based session explorer and branching workspace for DeepSeek Harness.
★ 460
↓ 384/wk
MIT
JavaScript
Aug 26, 2026
dsh plugin --profile web add dsh-synapseby ranxianglei
基本稳定可用 100K tokens is enough. Universal context-compression proxy for ALL AI coding agents,10w上下文足矣
★ 420
↓ 251.2k/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add billion-contextby 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
★ 361
↓ 24.2k/wk
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-cost-meterby 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
★ 208
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-chat-import