XYZ1024-alt/dsh-side-panel

插件Plugin 原生Native ⭐ 2 MIT

项目介绍Project Overview

dsh-side-panel 是 DSH Web UI 的右侧开发者面板插件,提供文件浏览预览、对话历史定位跳转、Git 状态与 diff 查看三个标签页。适合在 dsh web 本地会话中快速查看工作目录文件、回顾消息和检查改动。注意:其路由直接读文件系统并运行 git,无独立鉴权或沙箱,仅限本地回环使用,勿暴露到不可信网络。

dsh-side-panel is a plugin for the DSH web UI that adds a collapsible right-side developer panel with three tabs: browse and preview session files, jump through conversation history, and inspect git status with diffs. Use it during local dsh web sessions to inspect the working directory, revisit messages, and review changes. Caveat: its routes read the filesystem and run git without separate authentication or sandboxing, so keep the server on loopback and do not expose it to untrusted networks.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add dsh-side-panel

XYZ1024-alt/dsh-side-panel 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-side-panel

A right-side developer panel for the DeepSeek Harness web UI (dsh web). It adds a collapsible side panel with three tabs:

  • Files — browse the current session's working directory; click a text/code file to preview it in a popup (unsupported formats show a message).
  • History — list the current conversation (user messages + assistant replies); click an entry to scroll the chat to it.
  • VCS — show git status for the current directory as M / A / D / U / R badges; click a changed file to view its diff.

Requirements

  • A DeepSeek Harness deployment with the web profile (dsh web).
  • git on PATH (for the VCS tab).

Installation

The plugin is distributed as a DeepSeek Harness bundle. Its bundle patch registers both the Node half (filesystem + git primitives) and the browser half (the UI), so no files or patch rows need to be copied manually.

Install from GitHub

Install it directly into the web profile:

dsh plugin --profile web add github:XYZ1024-alt/dsh-side-panel

This repository commits its ready-to-run JavaScript, so installation does not run a build script and does not require pnpm build authorization.

For a reproducible installation, pin a trusted commit:

dsh plugin --profile web add github:XYZ1024-alt/dsh-side-panel#<commit-sha>

Restart dsh web after installation and refresh the page. The panel appears on the right edge.

Install from npm

After the package is published to npm:

dsh plugin --profile web add dsh-side-panel

Install a local checkout

From the parent directory of this repository:

dsh plugin --profile web add ./dsh-side-panel

Verify

Inspect the composed profile before starting the web UI:

dsh --profile web --dump-config

The output should contain a # == dsh-side-panel bundle layer and the dsh-side-panel plugin row.

Uninstall

dsh plugin --profile web remove dsh-side-panel

Usage

Open the panel from the right edge of the web UI and switch between the three tabs. Click a file or a changed path to open a popup; close it with the × button or by clicking the blank area outside.

Security

The /dev-panel/* routes read the filesystem and run git without their own authentication or sandboxing. The panel is intended for local / loopback use (dsh web binds 127.0.0.1 by default). Do not expose the server to a network you do not trust.

License

MIT

上一个 Prev dsh-review-skills 下一个 Next dsh-plugin-graph