返回目录
模型与 MCP 插件

dsh-plugins

sagedeng/dsh-plugins

DeepSeek Harness plugins: DeepSeek cost lens + GitHub operations

Stars
0
Forks
0
Issues
0
更新
19 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:sagedeng/dsh-plugins

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-plugins

本地自建的 DeepSeek Harness 插件集合。

插件 作用
dsh-cost-lens DeepSeek 余额、用量、官方峰谷单价与实时花费,显示在输入框下方一行
dsh-github-ops 十个通用 GitHub 工具:仓库状态、提交推送、PR、评审、CI 检查、issue

安装

三种方式等价,选一种:

# 1) 目录安装(开发,改动即时生效)
plugin_manager: { action: install_bundle, target: "<本仓库>/packages/dsh-cost-lens" }

# 2) 直接从 GitHub 装(无需 clone)
plugin_manager: { action: install_bundle, target: "github:sagedeng/dsh-plugins#path:/packages/dsh-cost-lens" }

# 3) 离线 tgz(./scripts/pack.sh 生成)
plugin_manager: { action: install_bundle, target: "<本仓库>/dist/dsh-cost-lens-0.1.0.tgz" }

安装不是 dsh plugin add:后者只装包,不会把 bundle 选进 dsh.profile.bundles。

依赖

  • DSH 带插件管理器的版本(plugin_manager 工具可用)
  • dsh-cost-lens:DeepSeek 账户登录,或配置 DEEPSEEK_API_KEY(余额走 /user/balance)
  • dsh-github-ops:gh CLI 已 gh auth login,插件不存储任何 token

仓库结构

packages/            一个插件一个包
plugins.json         清单:装什么、装在哪、装完怎么算成功
scripts/check.mjs    静态自检(清单/导出/图标/locale/语法/入口)
scripts/pack.sh      打 tgz 到 dist/
AGENT-SETUP.md       换机重装与排错手册(给代理读)

开发

node scripts/check.mjs     # 提交前必跑
./scripts/pack.sh          # 需要分发时

改动 Host 侧(index.js)后必须重启 DSH 才会重新加载模块;浏览器侧(client.js)会热更新。

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。