ccq1/dsh-side-panel 预览 preview

ccq1/dsh-side-panel

插件Plugin 原生Native ⭐ 16 BSD-3-Clause cat_label.dshcat_label.dsh

DSH Web 的右侧工作区面板,在当前会话旁集中提供 Git 审查、终端和文件操作。 可以点击dsh会话区弹出的文件链接,会自动打开相应的文件以供审阅。

catalog 简介 / catalog descriptioncatalog description:DSH 侧边栏,集成文件浏览器、终端和 Git 审查,方便预览文件。

项目介绍Project Overview

dsh-side-panel 是一款已归档的 DSH 右侧工作区面板插件,集中提供 Git 审查、文件浏览和终端能力。点击会话中弹出的文件链接可在面板中打开对应文件进行审阅,并在当前工作区直接运行命令,避免切换界面。适用于需要在 DSH 内同时处理代码审查、文件查看与终端操作的多任务场景。注意项目已停止维护,建议迁移至 DSH-better-sidebar。

dsh-side-panel is an archived DSH workspace panel plugin that consolidates Git review, file browsing, and terminal access on the right side. File links in chat open directly in the panel for review, and commands can run in the current workspace without leaving the interface. It suits multi-tasking sessions requiring code review, file inspection, and terminal operations inside DSH. Note the project is no longer maintained; users should migrate to DSH-better-sidebar.

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

命令行安装CLI Install

dsh plugin --profile web add github:dsh-external/dsh-side-panel

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

READMEREADME

dsh-side-panel

[!IMPORTANT] 本项目已停止维护并归档。推荐使用功能更完整、仍在持续维护的 DSH-better-sidebar。本仓库保留现有代码和历史版本,仅供参考。

DSH Web 的右侧工作区面板,在当前会话旁集中提供 Git 审查、终端和文件操作。 可以点击dsh会话区弹出的文件链接,会自动打开相应的文件以供审阅。

DSH Side Panel 界面预览

功能

  1. Git审查,可以查看工作区和暂存区的文件,以及dsh每轮修改的代码,后续会增加回退。
  2. 文件浏览器, 可以在会话区点击文件跳转到文件浏览器浏览文件。
  3. 终端,在当前工作区直接运行命令,无需离开工作区,专注你的任务。

安装

从 github-dsh-external仓库安装

dsh plugin --profile web add github:dsh-external/dsh-side-panel
dsh web

或者可以先从git clone 到本地,然后从本地目录安装

git clone git@github.com:dsh-external/dsh-side-panel.git
cd dsh-side-panel
npm install
npm run build
dsh plugin --profile web add .

配置

组合包默认启用以下配置:

- insert:
    - id: side-panel
      name: '@dsh-external/dsh-side-panel'
      config:
        maxTextBytes: 2097152
        maxImageBytes: 10485760
        searchMaxResults: 200
配置项 默认值 说明
maxTextBytes 2 MiB 可读取和编辑的单个文本文件大小上限
maxImageBytes 10 MiB 可预览的单个图片大小上限
searchMaxResults 200 文件筛选返回的最大结果数

许可

BSD 3-Clause License

上一个 Prev cc-notify-hooks 下一个 Next dsh-quota-meter