yaindrop/dsh-session-favorites--packages-dsh-session-favorites0

@dsh-external/dsh-session-favorites

为 DeepSeek Harness 提供侧边栏收藏夹及会话行快速星标切换的持久化收藏插件

AI 分析

核心用途是提供会话收藏管理。适合会话繁多、需要将高频或重要会话固定在工作区上方,并支持拖拽排序和持久化保存至主机配置文件的用户。

包名
@dsh-external/dsh-session-favorites
版本
0.1.0
最近更新
2026年8月14日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yaindrop/dsh-session-favorites#6111403c12578fceea10dbc3fc2b08342e382da2&path:packages/dsh-session-favorites

@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, field ids) — the same durable, local store the locale preference and every other setting use, not browser localStorage.

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 packageadds
@dsh-external/dsh-client-ui-sidebar-favsidebar.favorites
@dsh-external/dsh-client-ui-workspace-favsession.row.action (session menu item)
@dsh-external/dsh-host-apiproxy-favexposes 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.

Install

dsh plugin --profile web add 

dsh web

Uninstall

dsh plugin --profile web remove @dsh-external/dsh-session-favorites

License

MIT