Dbi-Eshuh/dsh-thinking-status-customizer 预览 preview

Dbi-Eshuh/dsh-thinking-status-customizer

插件Plugin 原生Native ⭐ 5 MIT 视觉VisualWeb 界面Web UI

使用自定义流动文本、动画GIF/APNG/WebP或图文组合模式,定制DSH Web思考状态。

项目介绍Project Overview

DSH 思考状态自定义器是仅用 CSS 实现的 DSH Web 插件,替换可见的运行状态,支持自定义流动文字、GIF/APNG/WebP 动画或左图右文组合,无需改动 DSH 源码。适用于想让状态提示更具个性或品牌化的用户。设置界面支持明暗主题与实时预览,可调节 2 至 5 种颜色、四种流向及连续或往返运动,图片模式提供约 12 秒透明背景示例,也支持 HTTPS、Data URL 或本地文件(上限 20 MB)。注意:依赖 DSH Web 0.1.0-rc.6 的特定语义选择器,若 DSH 升级更改该选择器,可视化替换可能失效,插件仍会加载并在面板中提示等待匹配状态。

DSH Thinking Status Customizer is a CSS-only DSH Web plugin that replaces the visible running status with custom flowing text, a GIF/APNG/WebP animation, or a left-image/right-text combination, without modifying DSH source. Use it to personalize or brand the thinking indicator. The settings panel supports light and dark themes, live previews, two to five colors, four flow directions, continuous or back-and-forth motion, and a roughly 12-second transparent dance GIF; HTTPS, Data URL, or local images up to 20 MB are accepted. Settings persist in browser localStorage. Caveat: it depends on a specific semantic selector in DSH Web 0.1.0-rc.6; if DSH changes that selector, the visual replacement may stop while the plugin remains loaded and reports a waiting state.

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

命令行安装CLI Install

dsh plugin --profile web add github:Dbi-Eshuh/dsh-thinking-status-customizer#v0.2.2

Dbi-Eshuh/dsh-thinking-status-customizer 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Thinking Status Customizer

中文

A CSS-only DSH Web plugin that replaces the visible running status with custom flowing text, a GIF/APNG/WebP animation, or a combined image-and-text display without modifying DSH source or rewriting the status DOM.

Preview

Dark theme

DSH Web dark theme with the thinking status settings open

Light theme

DSH Web light theme with the thinking status settings open

Settings panel

Thinking status settings

Install

Install the tagged release into a Web profile, inspect the resolved configuration, then restart DSH Web:

dsh plugin --profile web add github:Dbi-Eshuh/dsh-thinking-status-customizer#v0.2.2
dsh --profile web --dump-config

Open the floating Thinking status button after restart. Click the same button again, use the close button, or press Escape to close the panel. The plugin follows the active DSH language setting and updates its English or Chinese interface immediately without discarding unsaved form values; user-authored custom text is preserved verbatim. The dialog can enable or disable the visual replacement and switch among custom text with a flow effect, an animated image, and a left-image/right-text combination. Text modes support two to five custom colors, four flow directions, and continuous or back-and-forth movement. Image modes include a roughly 12-second dance GIF with a transparent background and also accept an HTTPS/Data URL or a local GIF, APNG, or WebP up to 20 MB. Local files above 2 MB remain uncompressed and use a temporary object URL, so they work only in the current tab and must be selected again after a reload.

The settings panel inherits DSH Web's light or dark theme tokens and previews text, color count, colors, flow direction, movement pattern, animation, and size edits before they are saved.

Remove the plugin and restart DSH Web to restore the built-in presentation:

dsh plugin --profile web remove dsh-thinking-status-customizer

Behavior and privacy

The default mode is the custom text 正在吃饭中... with a flow effect. Settings and Data URL images up to about 3 MB are stored only in browser localStorage under dsh-thinking-status-customizer:v1; larger local images use a temporary object URL and are not persisted. The plugin does not upload settings, status text, images, or model interaction. When an HTTPS image URL is configured, the browser requests that URL directly. Missing, corrupt, or unavailable storage resolves to defaults without stopping the page.

The stylesheet targets only [data-conversation-scroll] [role="status"][aria-live="polite"]. It adds a layout-participating pseudo-element and plugin-owned CSS properties; it does not observe the page, replace textContent, or target other live-status elements. Disabling or unloading the plugin removes its style, controls, attributes, CSS properties, and event listeners.

The original DSH status remains in the accessibility tree. This plugin therefore changes visual copy only; assistive technology continues to receive the built-in status text.

Compatibility

The current release is tested with DSH Web 0.1.0-rc.6. It relies on the semantic selector above because ui-conversation does not expose a running-status text provider in that release. A DSH update that changes the selector can make the visual replacement inactive; the plugin remains loaded and its dialog reports that it is waiting for a matching status.

This package uses only the public DSH bundle, client-module loading declarations, and client locale service. It does not patch ui-conversation or depend on private DSH build helpers.

Develop and verify

npm install
npm run verify

lib/index.js and lib/client.js are committed so GitHub installation does not require an install-time build. npm run verify type-checks, tests, rebuilds, confirms the committed bundles match the source, and previews the package contents.

Model Experience

None. The plugin adds no tool, prompt, model-visible input or output, session event, or model behavior. It changes only browser-local presentation of an existing running status.

上一个 Prev dsh-native-playbook 下一个 Next dsh4vscode