yaindrop/dsh-session-favorites--packages-dsh-session-favorites ↗★ 0
@dsh-external/dsh-session-favorites
Persistent favorites section for DeepSeek Harness: a sidebar.favorites list above Workspaces plus a per-session-row star toggle.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yaindrop/dsh-session-favorites#6111403c12578fceea10dbc3fc2b08342e382da2&path:packages/dsh-session-favorites说明文档
阅读完整 README ↗@dsh-external/dsh-session-favorites
A persistent Favorites section for the DeepSeek Harness web sidebar.
- Adds a "收藏 / Favorites" section above Workspaces in the left sidebar.
Rows reuse the workspace
SessionNodeItem, so they match the workspace session rows: status dot, title, relative time, hover card, a⋯menu with 取消收藏, and drag-to-reorder. - Adds a 收藏 / 取消收藏 item to each workspace session's
⋯menu. - A favorite is a reference, not a copy: the workspace still owns the session; this plugin keeps an ordered id list and re-renders those ids.
- Persists to the host settings document (namespace
session-favorites, fieldids) — the same durable, local store the locale preference and every other setting use, not browserlocalStorage.
Why three host forks?
DSH 0.1.0-rc.6 exposes none of the three seams this feature needs: no slot
above sidebar.workspaces, no session-row menu hole, and no way for a
third-party plugin to expose its own settings namespace. This plugin therefore
ships three minimal, documented forks, one per seam:
| fork package | adds |
|---|---|
@dsh-external/dsh-client-ui-sidebar-fav | sidebar.favorites |
@dsh-external/dsh-client-ui-workspace-fav | session.row.action (session ⋯ menu item) |
@dsh-external/dsh-host-apiproxy-fav | exposes the session-favorites settings namespace |
The forks are installed as dependencies and wired by this package's
cordis.patch.yml (disables the stock ui-sidebar / ui-workspace /
api-gateway rows and inserts the forks). See FORK.md for the
exact diffs.