jackylong1987 / dsh-long-plugins

목록에 있음

DeepSeek Harness (DSH) web plugin: upload manager, workspace output files with preview/edit/maximize, skill docs browser, and account balance.

main도구스킬 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:jackylong1987/dsh-long-plugins

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 fd53d89동기화 2026. 8. 18.

dsh-long-plugins

Merged plugin bundle for DeepSeek Harness (DSH) Web: upload manager, workspace 输出文件 section, 技能文档 (skill docs) browser, and DeepSeek account balance — all in one installable plugin.

一个插件整合 DSH Web 的常用增强:上传管理、工作区「输出文件」面板、技能文档浏览、账户余额显示。

Features / 功能

Feature说明
Upload manager输入框回形针按钮上传本地文件,待发送文件栏管理,设置面板「上传文件」(预览/下载/删除)
Workspace output files设置面板「输出文件」:按工作区文件夹分组、预览、编辑/保存、复制全部、放大窗口
Skill docs设置面板「技能文档」:按技能目录浏览 SKILL.md、弹窗预览、编辑/保存、复制、放大窗口
Account balance输入框下方显示 DeepSeek 账户余额(60s 自动刷新)
Mobile layout手机端布局优化(输入栏、设置面板、主题选择、模型选择器)

Install / 安装

Clone anywhere, then run install.sh against a DSH profile:

git clone https://github.com/jackylong1987/dsh-long-plugins.git
cd dsh-long-plugins
./install.sh web /volume1/dsh      # profile, DSH_HOME

install.sh adds the file: dependency and bundle entry to the profile's package.json, then runs pnpm install.

Manual / 手动

Add to <DSH_HOME>/profiles/<profile>/package.json:

{
  "dependencies": { "dsh-long-plugins": "file:/path/to/dsh-long-plugins" },
  "dsh": { "profile": { "bundles": ["dsh-long-plugins"] } }
}

Then pnpm install.

Configuration / 配置

Add to the profile's cordis.patch.yml:

- id: dsh-long-plugins
  config:
    priority: -10
    trustedHosts: !!js ctx.webRuntime.trustedHosts
    skillsRoot: /volume1/homes/dsh/skills   # override the default <DSH_HOME>/skills
  • trustedHosts — required for the browser trust fence (same as the built-in Web API).
  • skillsRoot — root directory browsed by the「技能文档」section. Defaults to <DSH_HOME>/skills.

Server routes / 服务端路由

/api/dsh-uploads/workspace               output files (grouped by folder)
/api/dsh-uploads/workspace-file          preview / download
/api/dsh-uploads/workspace-file/delete   delete (POST)
/api/dsh-uploads/workspace-file/save     save edited content (POST)
/dsh-skill-docs/skill-docs               skill docs list (grouped by skill)
/dsh-skill-docs/skill-doc                preview / download
/dsh-skill-docs/skill-doc/save           save (POST)
/dsh-token-usage/balance                 DeepSeek account balance proxy

Plus the upload manager's core routes (/api/dsh-uploads, download, preview).

Important / 注意

  • The web server must be started with --expose-internals (the bundled start.sh already does) so the plugin can be resolved from the profile.
  • The bundle patch declares inject: [webRuntime] so trustedHosts is evaluated only after the web runtime mounts.

License

MIT

저장소 정보

언어
JavaScript
라이선스
보고되지 않음
마지막 업데이트
2026. 8. 18. AM 12:02

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.