Repository navigation
v0.4.0 — Bot / ADE switch, bilingual UI + compat probe
dsh-bot-toggle v0.4.0
A floating Bot / ADE switch for the DSH web UI: one click between ds-bot's Bot surface and the
classic DSH interface, while ds-bot stays loaded.
What's in this release
- Bilingual UI — Chinese / English, following the page or browser language.
- ds-bot compatibility probe — reports whether ds-bot is loaded and, when obtainable, its
version; if ds-bot's controls are missing the capsule turns amber with an explanation instead of
silently disappearing (__botToggle.status().dsBot). - Tests + CI — 5 DOM-stub smoke tests (
node --test, no dependencies), GitHub Actions
syntax + test workflow. - Docs & icon — English and Chinese READMEs, changelog, PNG/SVG icon.
Install
- DSH → Settings → Plugins → add plugin →
github:JackWoods-code/dsh-bot-toggle, or - download
dsh-bot-toggle-0.4.0.tgzbelow and add it from the same page.
Requires DSH Desktop 0.2.1-rc.2/0.2.1-rc.3 and ds-bot installed + enabled (tested with 0.2.2).
Checksum
sha256 24101044f46c6130e272ee13475d09807cb74d9e5bafc0c6eb26228897f430cb dsh-bot-toggle-0.4.0.tgz
Known limitation
Surface switch only: ds-bot stays loaded, so ordinary sessions still see ds-bot's tools. Switching
relies on ds-bot's own DOM and may need adaptation after a ds-bot upgrade.