dsh-section-nav: DeepSeek Harness Section Navigation and Local Bookmark Plugin

Introduction

The DeepSeek Harness (DSH) plugin ecosystem aims to enrich the client’s interaction capabilities. In long conversations, when the assistant outputs lengthy text containing hierarchical structures (such as #, ##, ###), quickly locating and remembering key sections often requires manual scrolling. dsh-section-nav is a plugin that ports the “Section Nav for ChatGPT” experience to the DSH Web client. It provides a sidebar navigation for the current assistant response and supports local section bookmarks.

Plugin Positioning

  • Developer: jolaaa999
  • Function: Provides section navigation rail and local bookmark management for the DSH chat window.
  • Core Value: Addresses the navigation pain point of long answers, offers a native-app-like sidebar experience, and runs completely locally without server dependency.

Core Capabilities

This plugin runs on the browser side and primarily includes the following features:

  1. Section Navigation Rail: Always displays a rail on the right side of the assistant’s response text, listing sections with headings in the current conversation. The rail width adapts to window size, with title truncation occurring at minimum width.
  2. Reading Position Tracking: As users scroll through the conversation, the navigation rail automatically highlights the current section.
  3. Click-to-Jump and Hover: Clicking a rail entry scrolls to the corresponding heading and highlights it; hovering displays a two-part tooltip card containing summaries of the user request and model response.
  4. Local Bookmarks: Clicking the star icon next to a rail entry bookmarks that section. Clicking the star/count button at the rail’s header opens a bookmark drawer for quick navigation.
  5. Page Transition Stability and History Loading:
    • When browsing older history, the view doesn’t jump during page transitions, and navigation automatically restores to the target section.
    • Default loads the latest 8 conversation turns; supports loading more history via the top control or scrolling up.
  6. Theme Adaptation: The rail automatically reads the host page’s text and surface colors, adapting to DSH’s dark/light themes.
  7. Session Caching: Each visited session directory is cached in memory, enabling faster rendering when switching sessions.

Installation and Activation

Install the plugin via command line:

dsh plugin --profile web add github:jolaaa999/dsh-section-nav

After installation, the plugin mounts as a pure browser-side plugin to the DSH client without additional configuration.

Usage

  1. Open a DSH conversation containing headings (#, ##, ###).
  2. Observe the navigation rail appearing on the right, which is always visible.
  3. Click an entry in the rail to scroll to the corresponding heading.
  4. Click the star icon next to an entry to add that section to local bookmarks.
  5. Click the star/count button at the rail’s header to open the bookmark drawer.
  6. In the drawer, click a bookmark, or press Escape, click outside the drawer, or click the close button to close it.
  7. When the rail only shows the latest 8 conversation turns, click the load control at the top of the list or continue scrolling up to load older history page by page.

Notes and Limitations

  • Data Source: Navigation directory entries originate from user conversation records; the current version does not re-parse the assistant’s heading content.
  • History Limit: Pagination stops when the host has no more pages to return or the directory is fully loaded, preventing access to earlier records.
  • Bookmark Location: If a bookmark points to a section outside the currently rendered window, the plugin loads history as needed to reach the target position.
  • Content Filtering: Headings inside reasoning disclosures are ignored; sections belong to the assistant’s response text.
  • Storage and Sync: Bookmarks are saved only in the browser’s localStorage under the key dshSectionNav.bookmarks.v1, with no cross-device sync support and no server storage usage.

Summary

dsh-section-nav focuses on enhancing the interaction experience of long texts in the DSH Web client. It implements lightweight navigation and bookmarking through local storage and browser DOM operations, suitable for developers who need to repeatedly reference specific sections in long conversations.

  • Plugin Directory: https://www.skillhub.cn/plugins/jolaaa999/dsh-section-nav
  • Source Repository: https://github.com/jolaaa999/dsh-section-nav
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye