Codex-style session archiving: hovering a sidebar conversation row reveals an Archive icon at the far right; one click archives the session via the official workspace archive API.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:zhifengjiang/dsh-hover-archive
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Codex-style hover archive for DeepSeek Harness Web.
Hover a sidebar conversation row and an Archive icon appears at the far right; one click archives the session. No menus, no dialogs.
Features
- Hover → Archive icon at the far right of the session row, exactly like the Codex conversation list.
- One click archives through the official
workspaces.archiveSessionAPI — the same face the built-in "…" menu uses, so archived sessions land in the same place and obey the same rules. - Blank rows untouched: the "New Session" placeholder row never gets a button.
- zh / en labels follow the app locale and re-label live on locale switch.
- Keyboard accessible: the button is a real
<button>; it reveals on:focus-withinand fires on Enter/Space. - Busy / error states: the icon dims while archiving and flashes the error color with the failure message as a tooltip if the call fails.
- Zero dependencies, zero build step: plain JavaScript, installs from source without any
allowBuildsapproval. - Self-tests:
npm testruns syntax checks plus a dependency-free DOM smoke test.
Install
dsh plugin --profile web add github:zhifengjiang/dsh-hover-archive
Then restart dsh web (or your desktop client) and refresh the page.
Uninstall:
dsh plugin --profile web remove dsh-hover-archive
How it works
- A pure client plugin (
dsh.client, platformweb) that injects a button into every actionable sidebar session row — the elements carryingdata-session-id. - The button is appended as the row's last child, so it renders to the right of the stock "…" row menu and is revealed purely by CSS on
:hover(and:focus-within). - A
MutationObserverre-decorates rows across React re-renders; decoration is idempotent (one button per row, blank rows skipped). - The click is intercepted in the capture phase (
stopPropagation+preventDefault), so archiving never opens the session. - Archiving calls
ctx.workspaces.archiveSession(id); the stock projection then removes the row from the list, and archiving the current session falls back to the same sweep the built-in action uses.
Why a button instead of a menu item
The stock row already archives in two clicks (hover → "…" → Archive). This plugin restores the Codex-style one-hover-one-click affordance. DeepSeek Harness 0.1.0-rc.6 exposes no public slot for extra session-row actions, so the button is injected into the row DOM — the same workaround community plugins such as dsh-session-manager and dsh-plugin-session-delete rely on.
Compatibility
- Built against DeepSeek Harness
0.1.0-rc.6(the@deepseek-ai/dsh-client-runtimeworkspaces face). - Platform: DSH Web. Any shell that renders the upstream web sidebar shows the button; a shell that replaces the sidebar with a native list may not.
- Older harness builds without
workspaces.archiveSessionare detected at runtime — the plugin logs a warning and disables itself instead of breaking the UI. - Coexists with
dsh-session-manager,dsh-plugin-session-deleteand the built-in "…" menu: this plugin adds one more affordance on the same row and calls the same official API.
License
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8526
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 8526
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 4281
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
ccch1mneyyy/dsh-TUI★ 4199
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 4062
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1438
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.