Xinyi21yf/deepseek-harness-plugins

Personal DeepSeek Harness plugins, designs, and learning notes

项目介绍Project Overview

这是个人维护的 DSH 社区插件集合,当前含 dsh-font-colors,可按语义区域自定义 DSH Web 浅色/深色文字颜色、字体粗细和字号,并在设置页调整。需要个性化网页字体外观时使用。注意 DSH 仍处开发者预览,升级后需重新核对兼容性与实机表现。

This is a personal collection of community DSH plugins. The current plugin, dsh-font-colors, customizes DSH Web text colors, font weight, and font size by semantic area for light and dark modes, with settings under “字体样式”. Use it to personalize web typography. DSH remains in developer preview, so compatibility and browser behavior should be rechecked after upgrades.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add github:Xinyi21yf/deepseek-harness-plugins

Xinyi21yf/deepseek-harness-plugins 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DeepSeek Harness Plugins

个人开发的 DeepSeek Harness(DSH)插件集合。每个插件使用独立目录,目录本身就是可以构建、测试和链接安装的插件包。

插件目录

插件 版本 用途 状态
dsh-font-colors 0.4.0 按语义区域分别自定义 DSH Web 的浅色/深色文字颜色、字体粗细与字号 可用

安装 dsh-font-colors

先克隆本仓库:

git clone https://github.com/Xinyi21yf/deepseek-harness-plugins.git

然后把插件根目录链接进 Web profile:

dsh plugin --profile web add "link:C:\你的路径\deepseek-harness-plugins\dsh-font-colors"
dsh --profile web --dump-config
dsh web --no-open

浏览器按 F5 刷新后,进入“设置 → 字体样式”。完整功能、兼容性和卸载方法见 dsh-font-colors/README.md

开发与验证

每个插件在自己的目录中维护依赖和构建命令。以 dsh-font-colors 为例:

pnpm --dir dsh-font-colors install
pnpm --dir dsh-font-colors run check
pnpm --dir dsh-font-colors pack --dry-run

当前版本验证基线为 @deepseek-ai/dsh 0.1.1-rc.1。DSH 仍处于开发者预览阶段,升级 DSH 后应重新核对客户端清单、Slot API、宿主语义标记和浏览器实机表现。

学习资料

新增插件约定

以后每个自写插件放在独立的顶层目录中,并至少包含:

dsh-plugin-name/
├─ package.json
├─ cordis.patch.yml
├─ README.md
├─ LICENSE
├─ src/
├─ tests/
└─ lib/
  • 插件目录必须可以独立构建和测试。
  • 提交预构建 lib/,或在 README 中明确说明安装期构建和 allowBuilds 风险。
  • 不提交 API Key、Token、DSH 凭据、本机 Profile 或 node_modules
  • Web 插件的样式、监听器、观察器和 Slot 注册必须随 Cordis 生命周期清理。
  • 每个插件单独声明版本、兼容范围和许可证。

说明

本仓库是个人维护的社区插件集合,不属于 DeepSeek 官方项目。DeepSeek Harness 的名称和相关商标归其权利人所有。

上一个 Prev dsh-agent-driver-writehere 下一个 Next dsh-report-studio