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).
17 lines
577 B
YAML
17 lines
577 B
YAML
# @based-dsh-diving/dsh-plugin
|
|
#
|
|
# A client-side bundle layer for the web profile: it inserts a browser plugin
|
|
# that watches the chat turn status and replaces the static "Deep diving..."
|
|
# label with rotating, chronically online loading text while a turn is running.
|
|
# The elapsed-time clock beside the label is preserved.
|
|
#
|
|
# Later layers (profile cordis.patch.yml, $DSH_HOME/cordis.patch.yml, --patch)
|
|
# can re-patch or disable this row with:
|
|
#
|
|
# - id: based-dsh-diving
|
|
# disabled: true
|
|
|
|
- insert:
|
|
- id: based-dsh-diving
|
|
name: '@based-dsh-diving/dsh-plugin'
|