dshbase

插件目录 / Developer / deepseek-harness-background

deepseek-harness-background

已验证 · 实测可装 czzzlq

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
JavaScript语言
2026-08-15最近推送
跨平台平台

功能简介

deepseek-harness-background — DSH 插件(工具)

✅
我们的评价
可用 — 实测通过,早期项目

deepseek-harness-background — DSH 插件(工具) 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

DeepSeek Harness Background (Theme Pro)

A dynamic Cordis theme plugin for the DeepSeek Harness web UI. It adds background switching (gradient wallpapers / custom images), background opacity and blur, accent colors, light/dark/system mode, and persists settings across sessions.

简体中文

Features

  • Theme mode: light / dark / follow system (built on the official theme service).
  • Background switching: 7 built-in gradient wallpapers (default, ocean, sunset, forest, violet, midnight, aurora).
  • Custom background image: upload a local image (≤2MB) as wallpaper, replaceable anytime.
  • Background opacity: 0–100% slider controlling wallpaper opacity.
  • Background blur: 0–20px slider for a frosted-glass effect.
  • Accent color: 9 presets plus a custom color picker, live-updating --dsw-alias-brand-primary.
  • Persistence: settings are written to disk and restored when the plugin runs again.
  • One-click reset: restore the default configuration.

Directory structure

deepseek-harness-background/
├── host.js      # Host half: persists settings via the fs service, exposes load/save RPC
├── client.js    # Client half: theme UI + token overrides + wallpaper style injection
├── LICENSE      # MIT
└── README.md

Usage

This plugin ships as a DSH "dynamic Cordis plugin": the contents of host.js and client.js are the code.host and code.client for cordis_define (plain JavaScript function bodies returning a Cordis Plugin).

In the DSH web GUI:

  1. Use the dynamic Cordis plugin tool (cordis_define): paste the contents of host.js into code.host and the contents of client.js into code.client.
  2. Activate with cordis_run.
  3. Open the settings panel (bottom-left gear), then the new "Theme Pro" page.

Note: dynamic plugins are temporary (re-run after each process restart). To auto-load on every startup, rewrite it as a persistent web plugin in the repo (host composition's web bundle layer) and rebuild.

Persistence

Settings are written to a JSON file through the host-side fs service. It tries the following locations in order and uses the first writable one:

  1. C:/Users/33144/.dsh/theme-pro.json (the DSH_HOME directory on the dev machine)
  2. .dsh-theme-pro.json (workspace root, relative)

Update the paths array at the top of host.js to point at your own DSH_HOME directory (Windows: C:/Users/<you>/.dsh, macOS/Linux: ~/.dsh).

Dependencies

  • Client: theme (token overrides / color scheme), slots (settings.section), styles, host, React
  • Host: fs (persistence), harness (private RPC)

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 deepseek-harness-background」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:czzzlq/deepseek-harness-background

Headless(CLI)profile:

dsh plugin --profile headless add github:czzzlq/deepseek-harness-background

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。

适合谁

想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。

二次开发建议

工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7797 个插件 →