DSH Market
D

Dsh Side Panel

by ccq1 · ccq1/dsh-side-panel

Needs allowlistBundlegit + preparedormantinstall scripts

DSH 侧边栏,集成文件浏览器、终端和 Git 审查,方便预览文件。

Install Dsh Side Panel

Installs from git, but pnpm >=10 will refuse until you add an `allowBuilds` entry in your profile's pnpm-workspace.yaml. That grants this package permission to execute code on your machine at install time, outside the agent sandbox — pin a commit (github:owner/repo#sha) before allowing it.

The one-line version

dsh plugin --profile my-profile add github:ccq1/dsh-side-panel

This one needs an explicit build approval before it works

Installed from git, this package builds itself with a prepare script. pnpm 10 refuses to run that script until you list the package in pnpm-workspace.yaml. Adding it means you are allowing this package's code to run on your machine, outside the agent sandbox, at install time. The first install prints an allowBuilds hint and fails — that is expected, add the entry and retry.

1. allow the build in pnpm-workspace.yaml

onlyBuiltDependencies:
  - @dsh-external/dsh-side-panel

2. install, pinning a commit so the code you approved is the code you get

# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add github:ccq1/dsh-side-panel#<commit-sha>

# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config

# 3. boot the profile
dsh --profile my-profile

Before you run itinstall scripts

  • This package declares prepare — package-manager lifecycle scripts that execute on your machine at install time, outside the agent sandbox, before any tool-approval prompt exists.
  • A plugin runs with your permissions once loaded: it can read your files, use your credentials and reach the network. Tool approvals do not sandbox it.
  • Installing from git resolves a moving branch. Pin a commit — github:ccq1/dsh-side-panel#<commit-sha> — so the code you reviewed is the code you install.

Prerequisites

API key
Not required.
Network access
Not required at runtime.
Build approval
Required — the package must be listed in pnpm-workspace.yaml before it will build.
Language
JavaScript — a git install pulls this source, not build output.

Install check

Every field the verdict was derived from, so you can re-derive it yourself

Field checkedResultWeightWhat the spec says about it
lifecycleScriptsfailwarnruns at install time, outside the agent sandbox: prepare
dsh.bundlepassfatalpackage.json declares a `dsh.bundle` layer
dsh.bundle.patch filepassfatalpatch file present at `cordis.patch.yml`
npm registrymissingwarn`@dsh-external/dsh-side-panel` is not published to npm
prepare scriptpassfatalships a `prepare` script that builds on git install
pnpm allowBuildsfailwarnpnpm >=10 refuses to run a git dependency's prepare script until allowlisted
Verdict reason
git-only with a prepare script — requires an explicit build allowance
package.json read
package.json
Rules applied from
docs/user/develop/basic/publish.md
Checked at
2026-08-15
Install-time scripts
prepare

From the README

Excerpt as published by the author, plain text, unedited

> [!IMPORTANT] > 本项目已停止维护并归档。推荐使用功能更完整、仍在持续维护的 [DSH-better-sidebar](https://github.com/omdsh-dev/DSH-better-sidebar)。本仓库保留现有代码和历史版本,仅供参考。 DSH Web 的右侧工作区面板,在当前会话旁集中提供 Git 审查、终端和文件操作。 可以点击dsh会话区弹出的文件链接,会自动打开相应的文件以供审阅。 1. Git审查,可以查看工作区和暂存区的文件,以及dsh每轮修改的代码,后续会增加回退。 2. 文件浏览器, 可以在会话区点击文件跳转到文件浏览器浏览文件。 3. 终端,在当前工作区直接运行命令,无需离开工作区,专注你的任务。 从 github-dsh-external仓库安装

Topics

GitHub topics on this repository

More in Git Graph Commit Diff

Ranked by similarity inside the cluster, not alphabetically