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 ranxianglei
基本稳定可用 100K tokens is enough. Universal context-compression proxy for ALL AI coding agents,10w上下文足矣
★ 1.1k
↓ 1.1m/wk
MIT
TypeScript
Nov 10, 2026
dsh plugin --profile web add billion-contextA DeepSeek coding agent harness: persistent shell, Ultra subagents, auto approval, Chrome MCP and session telemetry
★ 998
MIT
JavaScript
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
★ 734
↓ 39.2k/wk
MIT
JavaScript
Nov 20, 2026
dsh plugin --profile web add dsh-cost-meterby Yuuyuko-uu
DSH 鱼的记忆:给会话一份会淡忘的长期记忆,每条都带时间
★ 536
MIT
JavaScript
Nov 17, 2026
dsh plugin --profile web add dsh-fish-memoryby MichengAI
DSH Archive Manager — 在 DeepSeek Harness 中安全查看、恢复和管理已归档会话 · Safely view, restore, and manage archived sessions in DSH
★ 382
↓ 38.4k/wk
Apache-2.0
JavaScript
Nov 20, 2026
dsh plugin --profile web add @michengai/dsh-archive-managerby 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
★ 323
↓ 4.7k/wk
MIT
JavaScript
Nov 18, 2026
dsh plugin --profile web add dsh-chat-import