DSH web-profile plugin bundle that replaces the static "Deep diving..." turn-status label with 96 rotating loading phrases. Entirely browser-side: it claims the [role="status"] label text node, re-asserts the claim when React reconciles the stock string back, and rotates phrases on a 2.2s timer so the label keeps moving even when streaming never re-renders it. The elapsed-time clock, aria-live, and shimmer styling are untouched. Includes a headless DOM-stub test covering initial claim, clock preservation, React revert, timer rotation, localized-label detection (Deep diving... / 深度求索中...), and clean disposal. Architecture inspired by ldgeng/dsh-claudecode-tips (MIT).
7 lines
309 B
JavaScript
7 lines
309 B
JavaScript
// Host-side half of @based-dsh-diving/dsh-plugin.
|
|
//
|
|
// This package is deliberately a no-op on the host: the plugin's entire job is
|
|
// to ship the browser-side `client.js` bundle to the web UI. The cordis row
|
|
// still needs a valid host module, so this stub satisfies the loader.
|
|
export function apply() {}
|