dsh-about-settings-pinned
已验证dsh-about-settings-pinned · v0.1.0 · MIT · 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.
安装
dsh plugin add dsh-about-settings-pinned 用 dsh --profile default --dump-config 确认 layer 已生效 —— 参见安装指南。
源码
发布到 npm 但没有公开仓库。安装前请检查包内容。
标签
作者
说明文档
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