dshbase

Plugin directory / Developer / dsh-plugin-workbench

dsh-plugin-workbench

Verified · install-tested on dsh Pasumao

✓ Actively maintained Builds on 1 official DSH packages Pure TypeScript

View on GitHub ↗ ← Back to plugin directory

3Stars
0Forks
0Open issues
TypeScriptLanguage
2026-08-16Last push
Cross-platformPlatform

What it does

VS Code-style workspace file explorer with editable preview for the DSH web GUI

✅
Our take
Works — verified, early-stage project

VS Code-style workspace file explorer with editable preview for the DSH web GUI It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-plugin-workbench

License
CI
Node
Stars
AI Assisted

DSH Web GUI 的 VS Code 风格文件浏览器插件:文件树 + 可编辑代码预览
(语法高亮、标签页),每个工作区独立保存状态。需要布局补丁(见下)。

功能

  • 文件树:懒加载、2 秒自动刷新、每工作区独立展开状态
  • 文件图标:常见格式显示着色徽章(代码)/ emoji(图片、音视频、压缩包等),目录展开/收起区分
  • 可编辑预览:透明 textarea 叠加语法高亮,Ctrl+S/Cmd+S 保存;
    md/.txt 等散文格式与超大代码文件自动降级为纯文本编辑,加载快、不卡界面
  • 自动换行:标签栏一键切换软换行(仅显示层换行,不改动文件内容)或长行横向滚动,偏好持久化
  • 标签页:多文件、拖拽排序、收起/弹出;亮暗主题一键切换
  • 语法高亮:highlight.js(JS/TS、Python、JSON、HTML、CSS、Shell 等;Markdown 以纯文本显示)

安装

布局补丁针对 [email protected] 编写,其他版本需更新锚点。

# npm(推荐)
dsh plugin --profile web add dsh-plugin-workbench
# 或 GitHub
dsh plugin --profile web add github:Pasumao/dsh-plugin-workbench

安装后打布局补丁并重启:

node node_modules/dsh-plugin-workbench/scripts/patch-layout.mjs
# 重启 dsh web

开发

pnpm install
pnpm run build       # 产出 lib/index.js(host)与 lib/client.js(browser)
pnpm run typecheck

卸载

dsh plugin --profile web remove dsh-plugin-workbench
# 并还原布局 bundle(patches/layout.backup/client.js.orig → dsh-client-ui-layout/lib/client.js)

说明

  • /dsh-plugin-files RPC 通道仅限 loopback;写操作显式以 danger-full-access 执行
  • DSH 升级会覆盖布局 bundle,需重新运行补丁脚本;锚点失效时更新 scripts/patch-layout.mjs
  • 本仓库不包含 DSH 编译产物

参与贡献

见 CONTRIBUTING 与 CODE_OF_CONDUCT;
变更记录见 CHANGELOG。

AI 生成声明

部分源码与文档由 AI 辅助生成(DeepSeek Harness),均经人工审查与实机验证;
权限相关逻辑已按最小权限原则复核。

License

MIT

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-plugin-workbench for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:Pasumao/dsh-plugin-workbench

Headless (CLI) profile:

dsh plugin --profile headless add github:Pasumao/dsh-plugin-workbench

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

When to use it

Extend the agent's coding surface — give it a new tool, workflow, or integration so it handles a dev task it couldn't before.

Who it's for

Developers who want dsh to behave like a teammate on real codebases — editing, running, and verifying changes rather than just answering.

For developers — extending it

The tool/command surface is the seam: expose more of the SDK, add smarter context wiring, or tighten the loop between code changes and verification.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7797 plugins →