dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
DSH plugin: section navigation rail and local chapter bookmarks for DeepSeek Harness chat answers
A DeepSeek Harness plugin that brings the Section Nav for ChatGPT experience to the DSH web client: a lightweight section rail beside the current assistant answer, with chapter bookmarks stored locally in the browser.
This is a DSH port of Section-Nav-for-ChatGPT by scandishoper (MIT). The ChatGPT extension adapter and manifest were replaced with a DSH adapter and a
dshbundle manifest. SeeNOTICEandLICENSE.
localStorage under dshSectionNav.bookmarks.v1; nothing is uploaded.The plugin targets the DSH web client's chat DOM contract:
[data-chat-flow-kind="assistant-step"][data-chat-flow]data-chat-anchor-key / data-chat-flow-keydata-chat-turnh1, h2, h3 inside the answer, excluding reasoning disclosuresIt is a pure browser-side plugin. The host half only mounts the Loader seat; every feature lives in lib/client.js.
The implementation has been smoke-tested against the packaged Oh-DSH 0.1.12 runtime (@deepseek-ai/dsh 0.1.2-alpha.3) and follows the current DSH client contracts used by 0.1.x web/desktop releases.
Open Plugins in the DSH sidebar and use Add plugin with:
github:jolaaa999/dsh-section-nav
dsh plugin --profile web add github:jolaaa999/dsh-section-nav
The package commits its built lib/ artifacts, so a git install does not need a build step or an install-script approval.
dsh plugin --profile web add .
Run that command from this repository's root. The package manifest declares dsh.bundle.patch, so the profile adds dsh-section-nav as a layer automatically.
#, ##, or ### headings.Escape, a click outside, or the close button to close the drawer.pnpm install
pnpm run typecheck
pnpm run build
pnpm run build first emits the ESM host half to lib/index.js, then builds the browser half to lib/client.js and lib/client.js.map.
src/index.ts — host half; a Loader seat with no host-side behavior.src/client/index.tsx — Cordis client entry, service injection, and lifecycle.src/client/sectionNav.tsx — controller: rail mount, trackers, bookmarks, route/session reset, and cleanup.src/core/adapter.ts — DSH chat DOM adapter; the only file with DSH selectors.src/core/* — adapted section parser, answer tracker, section tracker, rail positioning, bookmark service/resolver/recovery, and mutation watching.src/client/components/* — React rail and bookmark drawer components.cordis.patch.yml — DSH bundle layer that registers the plugin row.lib/ — committed build artifacts used by git and tarball installs.There are no DSH config fields. The plugin intentionally follows the original extension's behavior and persists only bookmarks:
localStorage['dshSectionNav.bookmarks.v1']
Recommended GitHub repository topics:
dsh
deepseek-harness
dsh-plugin
plugin
ui
sidebar
navigation
bookmarks
The repository is intended to be discoverable by DSH plugin catalogs that scan GitHub for dsh-plugin / deepseek-harness topics and package manifests.
MIT. This port retains the original project's copyright and license notice; see LICENSE and NOTICE.