dsh-web-ui
zhu1090093659
Plugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:condaThinker/dsh-left-sidebar-collapse
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Auto-collapse / fully-collapse the DSH left sidebar when you select a
conversation. A standalone, installable DSH plugin (pure client, no
ui-layout framework changes).
Two independent preferences appear in Settings → General:
ctx.layout and reads the stable data-sidebar-collapsed
frame signal, holding against the layout's own feedback so it never
double-toggles.The preferences are persisted in localStorage (process-local browser
preference), so the toggles are always writable and survive reloads.
Requires DSH (DeepSeek Harness) dsh CLI.
dsh plugin --profile web add git+https://github.com/condaThinker/dsh-left-sidebar-collapse
Then restart the profile:
dsh --profile web
# or whatever your run command is for the profile you installed into
After install, open Settings → General and toggle Auto-collapse sidebar (and optionally Fully collapse).
prepare buildThis plugin ships a self-contained prepare build script (tsdown), per the
DSH plugin distribution convention. When installed by git, pnpm runs that
script to build lib/ in the profile, so it needs network access to resolve
the DSH peer/dev dependencies and the profile must allow the build script:
add dsh-left-sidebar-collapse to the profile's allowBuilds (see pnpm ≥10
allowBuilds/strictDepBuilds), then re-run the dsh plugin add. For a
zero-build alternative, a maintainer may instead commit a freshly built lib/
into the repo and drop prepare — but the recommended path is prepare.
pnpm install
pnpm build
pnpm test
ctx.sessions.list notices when the
current session moves to a different real session; the
AutoCollapseMachine then collapses the
sidebar via ctx.layout.toggleSidebar() only while the frame renders it
expanded (reading data-sidebar-collapsed), and suppresses further flips
until the frame confirms the collapse — no double-toggle, no flip-back.shell.overlay occupant (FullCollapseButton)
reactively watches data-sidebar-collapsed; when collapsed and
"fully collapse" is on it injects a tiny grid-template-columns: 0 minmax(0,1fr) 0 !important override (so the sidebar track → 0 and the
center reclaims the width) and shows the single expand button.The client bundle respects DSH's module-table purity: only platform modules
(ui-primitives, the documented dsh-client-runtime exemption) are
value-imported; everything else is a type-only contract pull.
None, as the plugin only moves the browser layout column and never enters the append-only Session log, the model context, or telemetry.
None; the collapse gesture does not touch the history tail.
dsh-better-sidebar coexistence — both plugins manage sidebar state
independently; if the toggle looks like it fires without the flag on, check
whether another sidebar plugin (e.g. dsh-better-sidebar) is also
collapsing. This plugin is strictly off when its toggle is off.ctx.layout exposes only toggleSidebar(), the plugin keeps the state
machine above to avoid double-toggling, but it cannot move the layout store
directly.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: sidebar、ui。