DeepSeek Harness plugin

dsh-context-panel

对话上下文面板:在布局左/右区域展示当前对话用到的技能、规则、文件

Jump to install

Source facts

Repository
zhangxiang1993621/dsh-context-panel
Latest update
Aug 16, 2026
Category
Memory
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/zhangxiang1993621/dsh-context-panel
Plugin: dsh-context-panel
Author: zhangxiang1993621

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer2 files
README.mdSource · read only

dsh-context-panel — 对话上下文面板(DeepSeek Harness 插件)

在布局的左/右区域(由 dsh-layout 渲染)展示当前对话上下文里用到的内容:

  • 技能:会话里被 skill 工具调用的技能名
  • 规则:工作区里的规则文件 AGENTS.md / CLAUDE.md / .cursorrules
  • 文件:会话里被 read / edit / write / grep / glob 工具触及的文件路径

架构

文件作用
hostlib/index.jsinject ['webServer','fs','workspaceRegistry'],注册 /context-panel?action=rules 路由(扫描规则文件)
clientlib/client.js注册进 dsh-layout 声明的 layout.left / layout.right(id context-panel),展示技能/规则/文件
声明package.jsondsh.bundle.patch(挂载 host 行)+ dsh.client.inject ["slots"] + exports["./client"]

依赖

  • 依赖 dsh-layout 声明并渲染子槽位 layout.left / layout.right(作为左侧或右侧区域的一个 pane)。若 dsh-layout 未安装,该面板不会出现。

API(host 半)

方法端点说明
GET/context-panel?action=rules&cwd=<工作区根路径>扫描规则文件 { path, name }[](限深 3 层 / 100 条)

安装

# 在 deepseek-harness 仓库目录(开发期用 link:,改源码刷新即生效)
node --import tsx/esm apps/cli/src/bin.ts plugin --profile web add link:D:/agent-workspace/dsh-context-panel

开发备注

  • 客户端 bundle 无构建链:手工维护 __ModuleLoader__ 协议,仅 external 平台模块(react 等)。
  • 槽位:注册进 layout.left / layout.rightdsh-layout 声明的子槽位,list 槽,id=context-panel)。
  • 技能 / 文件从当前会话快照的工具调用参数里提取(skill / read / edit / write / grep / glob);规则通过 host 半路由扫描。