安装
npx @deepseek-ai/dsh plugin --profile web add -w .此命令根据 GitHub 仓库地址生成。运行前请检查上游 README 与源代码;需要可复现安装时,请固定 release 或 commit。
README
维护者编写的文档快照。
web-background
DeepSeek Harness web background settings plugin with solid color, image, and opacity controls.
功能
- 在 设置 → 通用 → 网页背景 中切换:无、纯色、图片。
- 纯色模式支持颜色选择器。
- 图片模式使用本地上传图片(自动压缩为 data URL)。
- 支持 0–100% 背景不透明度。
- 支持一键恢复默认背景。
- 设置保存在浏览器
localStorage,刷新后自动恢复。 - 多个标签页之间自动同步背景设置。
安装
# git 源安装(构建产物入库)
dsh plugin --profile web add "github:lndyzwdxhs/web-background#main"
# 或本地目录
cd /path/to/web-background
pnpm install
pnpm run bundle
dsh plugin --profile web add .
如果本地 dsh plugin add 报 ERR_PNPM_ADDING_TO_ROOT,加 -w:
dsh plugin --profile web add -w .
如果本机没有全局 dsh,也可以用 npx 运行:
npx @deepseek-ai/dsh plugin --profile web add -w .
npx @deepseek-ai/dsh web
重启 web 生效。
开发
pnpm install
pnpm run bundle
pnpm run gates
pnpm run watch
- 客户端源码在
src/client/index.ts;构建后生成lib/client.js。
架构
项目文件与信号
以下项目是目录快照中检测到的公开仓库信号。
仓库信息
- 开发语言
- JavaScript
- 许可证
- MIT
- 最后更新
- 2026年8月17日 14:36
谨慎安装
请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。