deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
English | 简体中文
一组纯增量的 DeepSeek Harness 原生插件合集:便签、API 余额与费用、删除会话。
三个插件遵循同一原则:不改动 Harness 核心——全部通过官方插槽(slot)与独立 API 路由注入,卸载即完全还原。
| 插件 | 功能 | 界面位置 |
|---|---|---|
| :memo: dsh-note | 原生便签:新建 / 历史 / 拖拽窗口 / 自动草稿 | 输入框工具行(Full access 选择器右侧) |
| :moneybag: dsh-api-balance | API 余额 + 每轮对话费用(¥) | 会话头部操作行 + 每条回复操作行 |
| :wastebasket: dsh-session-delete | 「删除会话」,彻底清理会话数据 | 会话列表 ⋮ 菜单 |

输入框工具行的便签按钮与浮层(新建 / 历史 / 保存)、会话头部余额徽章与每条回复的本轮费用。

会话列表 ⋮ 菜单中的「删除会话」。
$DSH_HOME/storages/dsh-note.json(原子写入)¥xx.xx:取自 DeepSeek 官方余额接口(60 秒缓存,点击可刷新)¥x.xxxx,浏览器本地计价~/.dsh/.credentials.yaml 的 DEEPSEEK_API_KEY),Key 不进入浏览器session/disposed,最后删磁盘文件——不会留下损坏状态dsh-toolkit/
├── packages/
│ ├── dsh-note/ # 便签插件
│ ├── dsh-api-balance/ # 余额与费用插件
│ └── dsh-session-delete/ # 删除会话插件
├── pnpm-workspace.yaml # pnpm monorepo 聚合
└── README.md
三个包相互独立:可单独安装、单独更新、单独卸载,互不依赖。
要求:DeepSeek Harness v0.1.0-rc.6+(Web 界面,Windows 实测)。
# 1. 克隆仓库
git clone https://github.com/Vast-Unhurried/dsh-toolkit.git
cd dsh-toolkit
# 2. 安装插件(可只装需要的)
dsh plugin --profile web add file:./packages/dsh-note
dsh plugin --profile web add file:./packages/dsh-api-balance
dsh plugin --profile web add file:./packages/dsh-session-delete
--profile web按你的实际 profile 名调整;file:支持相对路径,从仓库根目录执行即可。
安装后需重启 dsh 服务(宿主路由 + 客户端 bundle 都需要重新加载),浏览器 Ctrl+Shift+R 硬刷新。
dsh plugin --profile web remove dsh-note
dsh plugin --profile web remove dsh-api-balance
dsh plugin --profile web remove dsh-session-delete
卸载即完全还原。便签数据文件($DSH_HOME/storages/dsh-note.json)默认保留,如需彻底清除手动删除该文件。
conversation.input.left、conversation.session.header.actions、conversation.chat.assistant-actions 等/plugins/dsh-note/api、/plugins/api-balance/api、/plugins/session-delete/api),不修改、不订阅任何核心状态CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。