T
dsh-flash
tcgbp/dsh-flash
DSH Web용 Quick Control 패널의 핵심입니다. 독립형 플로팅 바로가기 패널을 제공하며 다른 플러그인은 quickControl 서비스로 스위치를 등록합니다. 스킨 시스템과 zh/en i18n을 포함합니다. dock-base Workbench 연동은 별도 dock-flash 어댑터로 제공됩니다.
설치
dsh plugin --profile web add github:tcgbp/dsh-flashREADME
dsh-flash
Quick Control panel core for the DSH web UI — the floating quick-control panel with an extensible switch registry other plugins register their own controls into, the skin system, zh/en i18n and the alert surfaces.
Features
Core capabilities
- 🧩 Dynamic Discovery — Other plugins register their own switches through the
quickControlservice; the panel auto-renders them - 🌐 Internationalization — Full Chinese/English localization, following the DSH language setting through its official
localeservice - 🎨 Skin System — Multi-layer discovery + categorized switching (CSS / Managed / Excluded)
- 🛡️ Error Boundaries — All panel components are wrapped so a render error cannot crash the host that mounted the panel
- 🔌 Standalone Mode — Works with no host at all: a ⚡ trigger injected into the configured conversation slot opens a floating popup panel
- 🩺 Connection Diagnostics — (moved to the
dsh-flash-proxyplugin) — NO_PROXY policy, connection test, and diagnostics log - 🧮 Reorderable and hideable Panel — A ⇅ icon in the Workbench and Extensions tab headers opens a reorder mode: ▲▼ move groups and switches, and the result is saved in your DSH profile, so it follows you to another browser or machine. Beside it, a ◉ icon opens a visibility mode with a ●/○ box on every row: untick a switch you never use and it disappears from the panel, while staying listed here so you can bring it back. Both configuration pages list every registered control, including any a plugin is standing down right now — those rows are dimmed with the reason on hover, so a control that does not apply at the moment can still be ordered or hidden. The two modes are mutually exclusive and each has its own ↺ reset. Switches that declare a
clustermove as one unit with a fixed internal order and are drawn as one card whose members fold
Development
pnpm install
pnpm run build # tsc → dist/index.js
pnpm run typecheck # type check only
pnpm run check:docs # instruction-file budget + link resolution
pnpm run check:overlay # overlay trigger behavioural checks
For development rules, critical constraints, and testing conventions, see AGENTS.md. For what changed in each release and why, see CHANGELOG.md.
Dependencies
| Dependency | Type | Description |
|---|---|---|
@deepseek-ai/schemastery | dependency | Settings schema for the host half |