swordordead/dsh-Veneer 预览 preview

swordordead/dsh-Veneer

Veneer 是 DeepSeek Harness(DSH)的可视化换肤插件。无需修改 CSS 或配置文件:在侧栏打开「编辑」,就能调整背景、图片、字体、颜色和细节样式;保存后,下次打开仍会保留。

catalog descriptioncatalog 简介 / catalog description:DIY你的小蓝鲸吧

Project Overview项目介绍

Veneer is a visual skinning plugin for DeepSeek Harness. It adds a sidebar Edit panel for adjusting backgrounds, images, fonts, text colors, borders, shadows, and other styles, with save, JSON export/import, a template library, and AI-driven theme generation from a short prompt. Install via the DSH CLI and restart dsh web once. Use it when you want a personalized interface without editing CSS. Caveat: cross-machine imports may break image references, and AI generation requires Harness model credentials.

Veneer 是 DeepSeek Harness 的可视化换肤插件,在侧栏「编辑」面板中即可调整背景、图片、字体、文字颜色和圆角/阴影等样式,并支持保存、导出导入 JSON、模板库与 AI 一句话生成主题。安装后首次重启 dsh web,适合希望定制界面外观、又不想手改 CSS 的用户。注意:跨机导入时图片引用可能失效,AI 生成依赖 Harness 模型凭据,服务异常时不会影响已保存主题。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

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

CLI Install命令行安装

dsh plugin --profile web add dsh-veneer

把 swordordead/dsh-Veneer 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

✨ Veneer:给 DeepSeek Harness 换一套你喜欢的界面

Veneer 是 DeepSeek Harness(DSH)的可视化换肤插件。无需修改 CSS 或配置文件:在侧栏打开「编辑」,就能调整背景、图片、字体、颜色和细节样式;保存后,下次打开仍会保留。

Veneer 换肤后的 DSH 界面

🎨 用法一眼看懂

  1. 在 DSH 左下角点击 「编辑」。
  2. 选择背景、字体、AI 主题或样式,边改边预览。
  3. 点击 「保存主题」,设置会自动保留。

Veneer 可视化编辑面板

🚀 安装

dsh plugin --profile web add github:swordordead/dsh-Veneer

安装完成后重启一次 dsh web,刷新网页,即可在侧栏底部找到 「编辑」。

也可以使用 npm 包安装(发布后):

dsh plugin --profile web add dsh-veneer

💡 这是一个 DSH 社区插件。 欢迎在 GitHub Issues 提交问题与建议。


🪄 能做什么

能力 说明
🎨 背景换肤 12 个背景面:侧边栏背景 / 主背景(消息气泡、输入框、各浮层) / Veneer 面板自身
🖼 背景图 每个背景可上传或拖放图片(自动识别真实格式)、设「变淡」透明度;可在预览中拖拽裁切焦点、用横纵滑块精调,或一键居中;轻点预览可收缩/展开
💾 保存/复制/重置 持久化到 DSH Host Settings(浏览器 localStorage 兼容快照兜底,Harness 更新不丢);可复制 CSS;每张字体卡片可单独「重置」,底部「重置全部设置」恢复背景、字体和文字颜色
🔤 字体与文字颜色 分别调整全局、侧边栏、主内容、输入区和 Veneer 面板的字体与文字颜色;每个位置都支持「✎ 自定义字体名」直接输入本机字体
📦 导出/导入主题 一键导出全部设置(含背景图 URL)为 JSON,可复制或下载;导入可完整恢复(同机),跨机器时图片引用可能失效
🤖 AI 生成主题 「AI 主题」标签页选模型(与对话共用 Harness 模型目录与凭据,零配置)+ 一句话描述(或选风格),复用对话同一模型运行时生成整套背景+字体主题,预览确认后再应用/放弃
✨ 样式精调 「样式」标签页微调圆角 / 边框 / 阴影 / 强调色(真实存在的 CSS 变量才开放),改完自动保存,支持单组恢复默认
🗂 模板库 「样式」标签页顶部内置 8 套主题模板(莫兰迪/赛博/暖棕/极简/深空/森林/海洋/复古纸),点选即预览,应用一键切换整套主题

🧩 架构

  • host 半区(lib/index.js):图片上传 API + 图片静态服务(嗅探真实图片格式,不信任扩展名) + AI 生成代理(POST /api/dsh-veneer/ai/generate,优先走 Harness 的 ctx.llm 统一运行时复用对话模型目录与凭据;仅当请求方显式携带 apiKey 时才直连 DeepSeek,且只允许 api.deepseek.com 上游) + 模型目录接口(GET /api/dsh-veneer/ai/models)
  • client 半区(lib/client.js):侧栏按钮 + 浮动面板 + 背景/字体/样式编辑逻辑
  • 主题存储(lib/theme-storage.js):Host Settings 命名空间 dsh-veneer(唯一字段 theme)+ localStorage 兼容快照的双写协调、读取优先级与迁移决策(Host 合法 → Host 优先并刷新快照;Host 空 → boot 时迁移旧本地主题一次;Host 不可用/非法 → 本地兜底且不覆盖 Host)
  • 设置契约:host 端用设置命名空间 dsh-veneer 注册 Schema(直接传字符串——@deepseek-ai/dsh-settings 自 0.1.5 起移除了 settingsNamespace() 导出;旧版里该函数也只是校验格式后原样返回的恒等函数,故裸字符串在两个版本上行为一致);settings 服务未挂载时 client 退回 localStorage,但 Harness 仍须提供静态模块 @deepseek-ai/dsh-settings / @deepseek-ai/schemastery(zip 安装器会预检);client 端经动态可选 settingsScope 读写订阅,重置使用 unset 清空字段而非写 null
  • 入口:package.json 的 dsh.client 声明 + ctx.slots.inject("sidebar.footer.action", …) 把按钮挂进侧栏底栏

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev session-export 下一个 Next dsh-projectless-session →