DSH web plugin: VSCode-like right sidebar — fork with read-only-by-default editing and no bottom panel https://www.npmjs.com/package/@keith9681/dsh-sidebar
  • TypeScript 91.3%
  • CSS 6.2%
  • Shell 1.7%
  • PowerShell 0.7%
  • JavaScript 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
keith 184f9a55b0
Some checks are pending
CI / ci (push) Waiting to run
CI / plugin-mount (push) Waiting to run
docs: 基于服务器实战经验重写 AGENTS.md
原文档是上游 dsh-better-sidebar 的消费方文档搬运(771 行),
大量内容(GitHub CI、Windows 路径、上游安装命令)与本仓库
实际不符。按 2026-08-23 服务器重构 + v0.15.4 真发布全流程
重写为实战导向:

- 仓库定制身份(默认只读/无底部面板、vendor-readonly 基线)
- 服务器开发环境(路径/服务/访问方式)
- 开发循环(实测免重启免刷新热加载)
- 门禁(typecheck/test/test:mount)
- Forgejo git 工作流
- npm 发布流程(三处版本号、浏览器逐次授权)
- 架构速览 + 已知坑(漂移/pkill/link: 等)
2026-08-23 14:56:16 +00:00
.github feat(ci): DSH CLI 钉版平移至 0.1.1-rc.2(挂载冒烟验证基线) (#305) 2026-08-21 21:53:04 +08:00
docs feat(editor): 文件树「在应用中打开」子菜单(外部编辑器/图钉固定/SSH 远端/自定义编辑器) (#334) 2026-08-22 23:19:17 +08:00
scripts fix: 移除底部面板过期 e2e 测试 + e2e-mount 注入无头服务器库环境 2026-08-23 14:12:09 +00:00
src chore: bump to 0.15.4 2026-08-23 14:32:59 +00:00
tests fix: 移除底部面板过期 e2e 测试 + e2e-mount 注入无头服务器库环境 2026-08-23 14:12:09 +00:00
.gitignore chore: gitignore 本地 dev/ 文档目录 2026-08-23 14:18:43 +00:00
AGENTS.md docs: 基于服务器实战经验重写 AGENTS.md 2026-08-23 14:56:16 +00:00
cordis.patch.yml fix: 更正 bundle patch 包名为 @keith9681/dsh-sidebar 2026-08-23 14:01:01 +00:00
dsh.plugin.json chore: bump to 0.15.4 2026-08-23 14:32:59 +00:00
LICENSE Initial commit 2026-08-08 00:04:01 +08:00
package.json chore: bump to 0.15.4 2026-08-23 14:32:59 +00:00
playwright.config.ts feat: CI 挂载冒烟门禁 — npm 打包 → 真实挂载 DSH → 无头渲染防 crash 2026-08-15 01:21:21 +08:00
pnpm-lock.yaml feat(editor): 文件树「在应用中打开」子菜单(外部编辑器/图钉固定/SSH 远端/自定义编辑器) (#334) 2026-08-22 23:19:17 +08:00
pnpm-workspace.yaml feat(injection): 统一面板宿主注入重构——含块层+几何写路径+chunk缓存+锚点弱化+桌面/移动适配 (#232) 2026-08-20 02:09:36 +08:00
README.md docs: replace README with a simple @keith9681/dsh-sidebar readme 2026-08-23 20:46:47 +08:00
README_EN.md docs: replace README with a simple @keith9681/dsh-sidebar readme 2026-08-23 20:46:47 +08:00
tsconfig.build.json feat: per-session store + configurable host limits; fix divider drag runaway 2026-08-09 22:07:03 +08:00
tsconfig.json chore: devDependencies 去硬编码 — @deepseek-ai/* 改从 npm 解析(^0.0.1-rc.1) 2026-08-11 14:46:56 +08:00
tsdown.config.ts fix: tsdown client 注册名同步为 @keith9681/dsh-sidebar 2026-08-23 14:03:00 +00:00
vitest.config.ts feat: CI 挂载冒烟门禁 — npm 打包 → 真实挂载 DSH → 无头渲染防 crash 2026-08-15 01:21:21 +08:00

@keith9681/dsh-sidebar

npm version License: MIT

A DSH web plugin: a VSCode-style right sidebar (files / editor / terminal / git / browser / tasks / side chat), isolated per conversation session.

This package is a fork of dsh-better-sidebar (based on v0.15.2) with two customizations:

  • Read-only by default: file saves and Git write operations are rejected unless the current session is explicitly switched to "editable" via the 🔓 lock icon in the editor toolbar; new sessions go back to read-only automatically.
  • No bottom panel: all tabs live in the right panel only; the bottom panel and its toggle were removed.

Install

# Install as a DSH plugin
dsh plugin --profile web add @keith9681/dsh-sidebar

# Or as a dependency
npm install @keith9681/dsh-sidebar

Usage

  1. Click the panel toggle in the top-right corner to expand the sidebar.
  2. Open tabs from the quick-launch cards centered in the empty panel (Files / Source Control / Tasks / Terminal / Browser) or the "+" menu in the tab strip.
  3. Use the lock icon in the editor toolbar to switch the current session between read-only and editable; while read-only, the save button and Git write operations are disabled.

Extending

The ctx.betterSidebar service lets other plugins register sidebar tabs (registerTab) and file viewers (registerFileViewer), with the same API as upstream dsh-better-sidebar.

License

MIT