Preface¶
When developing agents or long-running conversations in DeepSeek Harness (DSH), the sidebar session list tends to pile up: a single train of thought can fork into multiple branches, and finding important conversations often requires scrolling through the list or recalling specific titles. While the host itself provides a session list and fork capabilities, it lacks a panel for centralized archiving, annotation, and viewing derivation relationships “like a browser bookmark manager.” Here, we introduce the community plugin @weibaohui/dsh-favorites (Category: Memory), published by maintainer weibaohui. It integrates any session into a bookmark-style management interface, supporting folders, notes, continuation, forking, statistics, and a fork relationship graph.
What is this¶
Session Favorites Plugin: Collect any session into a browser-bookmark-style management panel—categorize with folders, add notes, customize display names, continue sessions, fork new sessions, view basic statistics, plus a relationship graph visualizing the fork derivation relationships between sessions.
- Package Name:
@weibaohui/dsh-favorites - Source Code & Documentation: GitHub - weibaohui/dsh-favorites
- Community Directory Page: skillhub.cn/plugins/weibaohui/dsh-favorites
- License: MIT
- Current
package.jsonversion is 0.1.1; the README version compatibility table records 0.1.0 has been verified on real hardware with@deepseek-ai/dsh@0.2.0-rc.2;engines.dshdeclares minimum support >=0.2.0-rc.2
The DSH ecosystem philosophy is “Everything is a plugin”; community directories like SkillHub are independent sites and have no official affiliation with DeepSeek / High-Flyer.
Core Features¶
The capabilities listed in the documentation are as follows (all derived from the project README).
Favorites Entry & Sync
- Adds “Add to Favorites / Remove from Favorites” to the
⋯menu of every session - A ☆ star button appears on row hover for one-click toggling
- Favorite status syncs to the Favorites panel in real-time (optimistic updates, rollback on failure, toast notifications)
Folders & Items
- Create / rename / delete folders; move favorites in and out
- Deleting a folder automatically moves its favorites back to “Uncategorized”; no items are lost
Session Operations
- Continue Session: One-click switch back to the session within the panel (uses host
uiWorkspace.openSession, consistent with clicking the sidebar) - Fork New Session: Derive a new session from the favorited one and auto-open it; disabled with a prompt for blank sessions (uses host
sessions.forkAPI) - Two Renaming Modes: “Display Name” only changes the display within Favorites (can override the session title, original title shown as a subtitle); “Rename Session” uses the host API to change the actual session title, affecting it globally
- Notes: Write free-form notes for each favorite; preview in the list, edit and save instantly in the modal
Statistics & Relationship Graph
- Basic Statistics: Turns, steps, output tokens, model duration, number of forked sub-sessions, last activity time—reads from the host
sessionStatsprojection, does not activate the session - Fork Relationship Graph: A hierarchical flowchart rooted at the favorited session; solid stars indicate favorites, solid lines indicate derivation edges, and dashed boxes indicate related but un-favorited sessions; click a node to open the session; subagent sessions are not included
Others
- Sessions deleted in the host are marked “Invalid” and can be removed with one click
- Light/dark themes follow the host
--dsw-*tokens - Text supports zh / en (follows host locale)
Installation & Activation¶
The installation command must follow the README original (targeting the web profile):
dsh plugin --profile web add @weibaohui/dsh-favorites -w
Restart dsh web after installation to take effect. The plugin declares dsh.client.platform as web; Node requires >=22.15.
Typical Usage¶
Follow the reproducible steps in the README.
- Favorite a Session: Hover over any session row in the left session list and click the ☆ at the end; or open the session
⋯menu and click “Add to Favorites” - Open Favorites: Click ⭐ Favorites in the “Global Panel” of the sidebar
- Categorize: Enter text in the input box at the bottom of the left folder column and press Enter to create new; use “Move to…” on an item to select a target folder or “Uncategorized”; hover over a folder row to rename / delete
- Add Notes / Change Display Name: Use “Edit Name & Notes” on an item; if the display name is empty, the session title is shown
- Change Real Session Name: Use “Rename Session” on an item, the sidebar title syncs
- Continue / Fork: “Continue Session” switches back; “Fork New Session” derives and opens a new one, the child session will appear in the relationship graph
- View Graph: Switch to “Graph” at the top right of the panel, click nodes to open corresponding sessions
- Cleanup: “Remove Favorite”; deleting a folder moves items back to “Uncategorized”
Data is stored in the host storageDomain (domain dsh_favorites, tables folders + entries); uninstalling the plugin does not clear data, reinstalling can restore it.
Use Cases & Notes¶
Who is it for
- DSH users who need to keep “benchmark sessions” long-term and archive them by project or topic in folders
- Developers who frequently fork branches for trial and error and want to see the derivation chain clearly via the relationship graph
- Users who want to organize locally using display names and notes without touching the real title in the sidebar
Please note before use
- The plugin runs under the current dsh process permissions. The HTTP API (
/dsh-favorites/api/*) includes Host/Origin and browser authentication barriers; it is recommended to read the source code and MIT license before installation to ensure compliance with your environment policies - Only verified with the web client; please check the README compatibility table and
package.jsonengines.dshfor host version compatibility - The fork relationship graph depends on session lineage; the README explains that the field on the
sessions.listrow at runtime isparentId. After forking, asessions.refresh()may be needed, and the panel will actively refresh the host list after a successful fork
The maintainer’s README provides console diagnostics: window.__dshFavorites (services() / sessionsSnap() / graph()).
Conclusion¶
@weibaohui/dsh-favorites consolidates “Star + Folders + Notes + Continue/Fork + Statistics + Fork Graph” into a sidebar global panel, filling the gap in DSH session list archiving and derivation visualization. To install or view demo images, open the Directory Page or the GitHub Repository.