DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
I

@cabeta/dsh-image-theme

Image Theme

受 Warp 启发的图像转主题插件,适用于 DeepSeek Harness Web 客户端。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Carpon39038/dsh-image-theme#25c70fcd31b0cf36f8a0ff57b0413223daaf5d27
README兼容性版本
DSH Image Theme preview

兼容性与来源证明

Image Theme 以 @cabeta/dsh-image-theme 发布,当前版本为 0.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/7

版本

0.1.1stable
2026/9/7
0.1.0stable
2026/8/21

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 2
周下载
0
最近提交
2026/9/7
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

DSH Image Theme

A Warp-inspired image theme plugin for the DeepSeek Harness web client.

Upload or drag in a picture and the plugin will:

  1. extract five dominant colors in CIE Lab space;
  2. derive translucent light and dark glass surfaces from the darkest image color;
  3. let you choose one extracted color as the DSH accent;
  4. correct text and accent contrast before applying theme tokens;
  5. use the original image as the full-window background.

DSH Image Theme preview

Features

  • Full-bleed background image with adjustable dark overlay, blur, saturation, and position.
  • Deterministic five-color Lab k-means palette extraction in the browser.
  • Live DSH token overrides through ctx.theme.overrideTokens()—no hard-coded edits to the host UI.
  • A dedicated Settings → Image theme section with drag-and-drop upload and palette controls.
  • Browser-local privacy: the image is stored as a Blob in IndexedDB and settings are stored in localStorage; nothing is uploaded.
  • The plugin can be disabled without losing the selected image or settings.
  • Responsive settings UI and reduced-motion support.

Install

The repository includes prebuilt lib/ artifacts, so a DSH profile can install it directly from GitHub:

dsh plugin --profile <profile-name> add github:Carpon39038/dsh-image-theme

Use DSH 0.1.2-rc.1 with this plugin version. To upgrade the CLI:

npm install --global @deepseek-ai/dsh@0.1.2-rc.1
dsh --version

Restart or refresh the DSH web client, then open Settings → Image theme. Start the default Web profile with dsh web.

To install a local checkout while developing:

pnpm install
pnpm build
dsh plugin --profile <profile-name> add link:$PWD

The included .npmrc disables automatic peer installation: DSH supplies Cordis, React, and the client UI services at runtime. Development dependencies pin the official DSH 0.1.2-rc.1 packages so TypeScript checks the actual published APIs.

How it works

Palette extraction

The browser downsamples the image to at most 96 × 96, samples at most 6,000 opaque pixels, converts RGB to CIE Lab, and runs deterministic k-means with farthest-point seeding. Five clusters are sorted by population.

This follows the same broad model as Warp's open-source theme creator, which uses Lab-space Hamerly k-means with k = 5. This implementation is written independently for the browser and uses deterministic seeding so the same pixels always produce the same palette.

Theme mapping

The plugin keeps the image, the dark surface color, the foreground, and the accent as separate roles:

image → five-color palette → darkest color → light/dark glass surfaces
                           ↘ selected color → contrast-safe accent

It overrides DSH's public alias tokens, including:

  • --dsw-alias-bg-base
  • --dsw-alias-bg-layer-1
  • --dsw-alias-bg-layer-2
  • --dsw-alias-bg-overlay
  • --dsw-alias-border-l1 / --dsw-alias-border-l2
  • --dsw-alias-brand-primary
  • --dsw-alias-label-primary / --dsw-alias-label-secondary
  • --dsw-specific-sidebar-fill

Every override contains separate light and dark values, as required by the DSH theme runtime. Light mode uses a pale surface and dark text; dark mode uses a dark surface and light text. System mode follows the active host palette.

Background rendering

A plugin-owned fixed backdrop sits behind the DSH root. The application tokens stay translucent, allowing the image to show through while the overlay and surface opacity protect readability. Unloading or disabling the plugin disposes the token layer and removes the backdrop cleanly.

Development

Requirements: Node.js 22+ and pnpm 10+.

pnpm install
pnpm typecheck
pnpm test

pnpm test rebuilds the distributable first, then runs palette tests and integration checks against the published DSH ThemeRuntime, LocaleRuntime, and SlotRegistry. The integration checks load the actual lib/client.js wrapper in a simulated DOM, restore an existing saved wallpaper, mount the settings component, and exercise locale changes, theme updates, disabling/re-enabling, settings-slot remounts, and plugin disposal. These checks do not start a Web server or replace a visual browser review.

The interactive design preview is in playground/:

cd playground
npm install
npm run dev

The preview imports the same palette and role-mapping modules used by the real plugin. Its generated concert background is a clean demonstration asset, not a copy of Warp UI.

Project layout

src/client/palette.ts          Lab conversion and deterministic k-means
src/client/theme.ts            DSH token and contrast mapping
src/client/controller.ts       lifecycle, persistence, backdrop, token disposal
src/client/storage.ts          IndexedDB image + localStorage settings
src/client/ImageThemeSection.tsx
                               DSH settings page
playground/                    runnable interactive visual preview

Compatibility

Plugin 0.1.1 targets DeepSeek Harness 0.1.2-rc.1 and Cordis 4.0.2. Client contexts now come from @deepseek-ai/cordis, and the slots service comes from @deepseek-ai/dsh-client-ui-renderer; the removed dsh-client-runtime package is no longer requested. Only packages with a browser plugin entry appear in dsh.client.inject. DSH is still moving quickly; verify the published client APIs before upgrading further.

Existing version-1 image settings and IndexedDB images are retained. The earlier light-mode contrast fix is included.

The plugin is web-only. Images and preferences are local to each browser profile and are not synchronized between devices.

Credits

  • DeepSeek Harness for the plugin, settings-slot, and theme-token APIs.
  • Warp for the open-source theme-creator reference and the separation of image, background, foreground, accent, and opacity roles.

License

MIT

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundle新的用户提示到达时刷新会话标题。Personalized Recommendations@deepseek-ai/dsh-personalized-recommendations回答下方以卡片形式提供个性化页面和内置插件推荐Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义