dshbase

插件目录 / UI & Skins / dsh-custom-workspace

dsh-custom-workspace

未验证 JeremyGuo

✓ 持续维护 基于 8 个官方 DSH 包 纯 TypeScript

查看 GitHub ↗ ← 返回插件目录

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

功能简介

DeepSeek Harness Web 的按工作区外观设置。

我们的评价
未验证 — 尚未实测

DeepSeek Harness Web 的按工作区外观设置。 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

dsh-custom-workspace

English | 中文

An external DeepSeek Harness Web plugin that gives each workspace its own background, chat font size, line height, Markdown block spacing, and font-rendering preference.

Features

  • Background color or image URL for the main workspace surface.
  • Independent Markdown body font size and line height.
  • Markdown block spacing for paragraphs, lists, headings, quotes, and code blocks.
  • Grayscale antialiasing toggle for Retina displays.
  • Per-workspace persistence in $DSH_HOME/settings.yaml.

The active appearance follows the workspace containing the current session and falls back to the most recently selected workspace. Workspaces without an override inherit the active DSH theme.

Examples

Theme defaults (font and spacing inherit from DSH):

Default workspace appearance

Compact reading — 13px font, 20px line height, 4px block spacing, #eef4ff background:

Compact workspace appearance with a blue background

Spacious reading — 20px font, 38px line height, 28px block spacing, #fff3e8 background:

Spacious workspace appearance with a warm background

Requirements

  • DeepSeek Harness 0.1.0-rc.6.
  • Node.js ^22.19.0 or >=24.0.0.
  • A loopback DSH Web session. The settings RPC intentionally rejects non-loopback browsers.

Install

Install the published package into the Web profile, then restart DSH:

dsh plugin --profile web add dsh-custom-workspace
dsh web

Open Settings → General Settings → Workspace Appearance to configure the selected workspace. Changes are saved immediately.

To remove the plugin:

dsh plugin --profile web remove dsh-custom-workspace

Develop

pnpm install
pnpm run verify
dsh plugin --profile web add link:$PWD
pnpm run watch

Host changes in src/index.ts require a DSH restart. Browser changes under src/client/ are rebuilt by the watcher and loaded through DSH client HMR.

Run the optional browser smoke test against a running Web profile after installing Playwright Chromium:

pnpm exec playwright install chromium
pnpm run verify:browser -- http://127.0.0.1:3081

Persistence and security

The Host half owns the custom-workspace settings namespace. DSH does not expose third-party namespaces through its generic settings API, so this plugin registers a dedicated /custom-workspace Connection RPC channel. The channel accepts loopback requests only and exposes no other settings namespace.

The browser half validates every response before publishing it to the presenter. Failed writes reload the Host value; a disconnected or non-loopback browser marks the scope unavailable.

Model Experience

None. Workspace appearance affects only browser presentation and never reaches a model request or session log.

Known Limitations

  • Settings are unavailable to browsers reached through a LAN hostname, even when the DSH Web server trusts that hostname.
  • Background images use the configured URL directly and depend on the browser's network and content-security policy.
  • This release targets DSH 0.1.0-rc.6; pre-release DSH APIs may change without compatibility shims.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

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

dsh plugin add dshbase-catalog

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

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

Web profile:

dsh plugin --profile web add github:JeremyGuo/dsh-custom-workspace

Headless(CLI)profile:

dsh plugin --profile headless add github:JeremyGuo/dsh-custom-workspace

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending
备注:验证: load-fail (0.1.0-rc.6) 浏览全部待验证失败 →

使用场景

改变 dsh 的外观或交互方式——一套主题、皮肤或新面板,重塑工作区。

适合谁

在 web UI 里一待几小时、想让它按自己的习惯好看又好用的人。

二次开发建议

皮肤、面板和主题 token 是扩展点——写新皮肤、加面板,或与上游配色同步 token。

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

分享徽章

UI & Skins 里更多

浏览全部 7795 个插件 →