dsh-assistant-bubble: Adds adjustable bubble backgrounds for DSH assistant replies

Introduction

When using DeepSeek Harness (DSH) with wallpaper or skin plugins, a common practice is to adjust the “bubble opacity” or “glass transparency” to make the conversation area more readable. However, in the official conversation interface, bubbles with the ..._bubble style only apply to messages you send; assistant replies are rendered as plain text without a background, sitting directly on top of the wallpaper. Under dark wallpapers, assistant text easily blends into the background, and parameters on the skin side cannot manage this area.

dsh-assistant-bubble (maintainer: yutianliang, Community Category: Fun Customization) specifically addresses this gap: it adds a custom bubble background to assistant replies, with an optional liquid glass material, and syncs surrounding elements like toolbars, process lines, and statistic lines using the same set of parameters. The repository is on GitHub under the MIT license, with the current package version being 1.3.0.

What is this?

In short: A DSH Web-side UI plugin that injects via the client to draw adjustable backgrounds (including liquid glass) for assistant messages and related UI anchor points, providing an independent section “Assistant Reply Bubble” in the settings.

The background motivation comes from the README: when using skin plugins to import dark wallpapers from wallpaper engines, AI replies lack a background, rendering them unreadable. The plugin was completed through community collaboration. The README also mentions a minor issue with bubble spacing, which may have a slight impact on visual perception.

Core Features

The following summarizes capabilities already documented in the README, without exceeding the scope of the available information.

Assistant Replies & Materials

  • Assistant Reply Bubble: Rounded corners, adjustable background color; toggleable liquid glass (white glaze highlight, blur, thick glass refraction, drop shadow). The glass recipe aligns with the glass surface approach of the community plugin dsh-plugin-wallpaper-engine.
  • Surrounding Info Sync: Toolbar (Copy / Like / Share / Usage / Time), process collapse rows, process group headers (Running), thinking trigger bars, conversation statistics rows, context usage rings, and running rows share the same materials and parameters as the assistant bubble. Moving a slider in the settings changes them all together.
  • Draw Background Only for Elements with Content: Anchors first check for visible text (≥2 characters) or visible buttons/icons. Empty shells do not get a background, avoiding blank bubbles with only a background color and no text.
  • Work Step Display: Tool call rows (e.g., “Run Command”, “Web Fetch”) and “Thinking” rows also have bubbles; they appear as compact capsules when collapsed and maintain the host’s original large horizontal bars when expanded.
  • Persistent Action Bar: Cancels the host’s gating that requires hovering to show non-last messages.
  • Content-Width Following: Bubbles do not stretch to fill the entire row.
  • Wide Tables: The host originally bleeds wide tables across the screen as a scroll container; the plugin changes this to horizontal scrolling within the bubble.
  • Accessibility: Automatically removes blur and white glaze when the system “Reduce Transparency” is enabled.

Non-Conversation Pages

After skins make the AppFrame background token transparent, text on independent pages like “Plugins”, “Automation Tasks”, “Skill Center”, and “Context Insights” also sits directly on the wallpaper. The plugin uses a universal rule to apply backgrounds to pages registered to the main content slot (including third-party ones) while excluding the conversation slot, keeping the chat area as “bubbles floating on wallpaper”. Settings → Assistant Reply Bubble → The bottom collapsible group allows separate toggling and concentration adjustment.

Implementation Mount Scope (To Facilitate Understanding Behavior)

Styles are mounted on the host’s DOM semantic attributes and CSS Module class name suffixes, such as assistant body text, toolbars, process lines, thinking lines, statistics lines, running lines, wide tables, etc. (See the “Anchor Points” table in the repository README for the full selector list). In the worst case after a major host update, styles may silently fail; the README states this will not throw errors or affect other plugins.

When the thinking panel is expanded, the plugin changes the solid bottom background of the sticky header row to the same semi-transparent color while retaining the sticky position, avoiding a solid black band after expansion.

Installation & Activation

The easiest way: Search for Assistant bubble or the author yutianliang in the dsh-market (Plugin Market) and click install.

You can also install the latest main from GitHub:

# Install from GitHub (latest main)
dsh plugin --profile web add github:yutianliang/dsh-assistant-bubble

Official Desktop Client: Sidebar Plugins → Add Plugin → Enter github:yutianliang/dsh-assistant-bubble.

For local development with code changes, you can use link:, e.g., dsh plugin --profile web add link:E:\path\to\dsh-assistant-bubble (adjust path to your actual local directory).

Uninstall:

dsh plugin --profile web remove dsh-assistant-bubble

The plugin declares dsh.client.platform as web and immediately: true in package.json. The client half does not declare dsh.client.inject, so the module loads unconditionally. slots / locale services are injected at runtime; if unavailable, only the settings page is lost. No engines / peerDependencies are declared, so installation and activation will not be blocked by version checks.

Typical Usage & Settings

After installation, open Settings → “Assistant Reply Bubble”. There are 10 controls. Parameters are written to the browser’s local localStorage["dsh-assistant-bubble:settings"]; clearing the cache will restore defaults.

Control Function Default
Liquid Glass White glaze highlight + blur + thick glass refraction; Off = plain solid bubble On
Surrounding Info Sync Whether the seven surrounding info elements share the same material On
Bubble Opacity Background concentration when Liquid Glass is off 60%
Glass Background Concentration Background concentration under the glass 50%
Frosting Glass blur radius 3px
Glass Color 6 presets + color picker #ffffff (Dark #12141a)
White Glaze Intensity Surface highlight and edge refraction, 0–200% 100%
Separate Dark Mode Settings Use a different set of the above four items for dark theme Off
Non-Conversation Page Background Apply background to independent pages (expandable group) On
Page Background Concentration Only affects non-conversation pages 60%

Style parameters take effect via CSS variables written on the body, such as --dab-solid-alpha, --dab-glass-alpha, --dab-glass-color, --dab-blur, --dab-sheen.

Typical workflow: Install and enable the plugin for the Web profile → If using wallpaper/skins, enable Liquid Glass in “Assistant Reply Bubble” first, then fine-tune “Glass Background Concentration”, “Frosting”, and “White Glaze Intensity” based on wallpaper brightness/darkness; if the assistant area is still too transparent, disable Liquid Glass and use “Bubble Opacity” instead. To keep lists like plugin pages and skill centers readable, keep “Non-Conversation Page Background” enabled and adjust “Page Background Concentration”.

Use Cases & Notes

Who is it for?

  • Users using dsh-plugin-wallpaper-engine or similar skins/wallpapers, primarily conversing on the Web end.
  • Those who want assistant replies, toolbars, process lines, and statistics to maintain the same glass or solid bubble style on top of wallpapers.

Recommendations before installation

  • The plugin runs on the browser side with the current DSH process permissions. Before installing, it is advisable to browse the repository source code and MIT license to confirm acceptance of its DOM injection and local storage behavior.
  • Compatibility depends on the host DOM structure; if it “looks like it’s not installed” after upgrading DSH, it is likely due to selector or class name misalignment. You need to watch the repository Issues or update the plugin version.
  • The README has explained that there are minor issues with bubble spacing, which is a known visual trade-off, not a configuration error.

The DSH ecosystem emphasizes “Everything is a plugin”; SkillHub and other community directories are independent sites and have no official affiliation with DeepSeek / High-Flyer. Market installation and GitHub installation are both community distribution paths.

Conclusion

dsh-assistant-bubble solves the problem of assistant replies having no background under wallpapers and being unmanaged by skin parameters, and incorporates the readability of surrounding conversation UI and non-conversation pages into the same set of settings. Directory Page: https://www.skillhub.cn/plugins/yutianliang/dsh-assistant-bubble; Source Code & Full Documentation: https://github.com/yutianliang/dsh-assistant-bubble. Implementation details and pitfalls can be found in docs/DEVELOPMENT.md in the repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye