messiahyl/dsh-plugins--packages-_template0

dsh-xxx

DSH 双面插件模板:包含 host 端工具/API 与 client 端 Web GUI 面板

AI 分析

核心用途是作为开发 DSH 插件的脚手架模板。适合需要快速构建包含 Node.js 后端服务/工具与浏览器前端侧边栏/面板注入的双面插件的开发者。

套件
dsh-xxx
版本
0.1.0
授權
Apache-2.0
最近更新
2026年8月21日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:messiahyl/dsh-plugins#e62960e1c5063ce5949ce1c815cb7b58f01019ce&path:packages/_template

dsh-xxx

DSH 插件:一句话描述。双面插件 = host 半(agent 工具/API)+ client 半(web GUI 面板)。

功能

  • 功能一
  • 功能二

安装

# 本仓库开发调试(link 模式,改完重启 dsh web 即生效)
node scripts/install-to-profile.mjs dsh-xxx

# 或直接 dsh plugin 安装
dsh plugin --profile web add dsh-xxx

开发

pnpm install
pnpm run build      # tsdown 构建到 lib/
pnpm run watch      # 增量构建
pnpm run typecheck

目录结构

src/
├── host/            # node 半:agent 工具、/api/dsh-xxx 路由、ctx 服务
└── client/          # browser 半:侧边栏注入 + 面板挂载
cordis.patch.yml     # bundle patch:注册插件实例