dsh-about-settings-pinned
Đã xác minhdsh-about-settings-pinned · v0.1.0 · MIT · Giao diện web
DeepSeek Harness profile bundle: adds an 关于 (About) settings page, pinned to the very bottom of the settings sidebar, showing the current dsh version and install path.
Cài đặt
dsh plugin add dsh-about-settings-pinned Xác nhận layer đã áp bằng dsh --profile default --dump-config — xem hướng dẫn cài plugin.
Mã nguồn
Phát hành lên npm mà không có repository công khai. Hãy kiểm tra nội dung package trước khi cài.
Thẻ
Tác giả
Readme
dsh-about-settings-pinned
A DeepSeek Harness profile bundle that adds an 关于 (About) settings page. The entry is pinned to the very bottom of the settings sidebar (order: Number.MAX_SAFE_INTEGER), so sections added later by other plugins always render above it.
The page shows the current harness version, npm package name, install path, and the automatic-update note.
How it works
cordis.patch.ymlinserts one composition row (about-settings) that loads this package as a profile layer.lib/index.js(host) registers an exact HTTP route/_dsh/about/version. The handler derives the npm install root from a live client-module path (clientModules.clientPath) and reads@deepseek-ai/dsh/package.json(or a sibling dsh package) through thefsservice — no hardcoded user paths (one last-resort fallback included).lib/client.js(browser,window.__ModuleLoader__bundle) registers into thesettings.sectionslot with idabout, label关于, and the maximum sort order, then fetches the version route on open.
Install
As a profile bundle (persistent across restarts):
dsh plugin --profile web add dsh-about-settings-pinned
# restart dsh web to activate
Or from a local checkout:
dsh plugin --profile web add /path/to/dsh-about-settings-pinned
The user's own data ($DSH_HOME settings, credentials, sessions, plugins) is never touched.
Uninstall
dsh plugin --profile web remove dsh-about-settings-pinned
Publish
npm pack --dry-run # inspect the published file set
npm publish # requires an npm account (npm login)
License
MIT