DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Granular Settings — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
G

dsh-granular-settings

Granular Settings

Granular Settings 平台:设置对话框中包含一个 Granular Settings 页面,并设有 Workspace/Session/Plugin 选项卡。插件注册三种作用域(workspace、session、global),使用命名空间存储,仅进行门铃式推送。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:joao-paulo-santos/dsh-granular-settings#f176d1c83108119a917ea073438d9d220053b53d
README兼容性版本
Plugin screenshot

兼容性与来源证明

Granular Settings 以 dsh-granular-settings 发布,当前版本为 0.17.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/31

版本

0.17.1stable
2026/8/31
0.17.0stable
2026/8/27
0.16.1stable
2026/8/27
查看其余 2 个版本收起版本
0.16.0stable
2026/8/27
0.15.0stable
2026/8/26

相关插件

正在加载相关插件…

最新版
0.17.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/8/31
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。

README

dsh-granular-settings

A DeepSeek Harness (DSH) plugin: install it into a profile alongside your own plugins.

Settings that other plugins contribute. Plugins need knobs at more than one granularity: a model choice for this session, a build flag for the whole workspace, an accent color for the entire install. This plugin is the shared platform for all of them. One registration API, eight control types, three scopes, and one Granular Settings page in the settings dialog that renders everything, grouped one box per plugin.

Every registration is namespaced by the owning plugin's package name, so enabled from dsh-foo and enabled from dsh-bar are different settings in different namespaces. Generic keys are safe; collisions cannot happen.

Not sure how to wire your own plugin? dsh-bouncing-squares-example is a small working example, built exactly for that: three bouncing squares, one per scope, driven entirely by registered settings. Copy it and go.

Three scopes, one page

image
scopevalue lives
sessionone value per session, in <workspace>/.dsh/settings/sessions/<sid>.json
workspaceone value per workspace, shared by its sessions, in <workspace>/.dsh/settings/workspace.json
globalplugin-wide, unrelated to any workspace, in ~/.dsh/settings/plugins/<namespace>.json

The page has three tabs, Workspace, Session, Plugin, one per scope. It works with no session open (the Plugin tab is the only scope that exists without one). A Granular Settings view tab can also sit beside Chat in each session, rendering the same page; its visibility is itself a plugin setting, default on. A Plugin-tab setting can also move session/workspace storage centrally under ~/.dsh/ instead of inside the workspace.

How to install

Requires a DeepSeek Harness checkout and a profile, here web. Clone both dependencies into a plugins folder:

mkdir -p ~/dsh-plugins && cd ~/dsh-plugins
git clone https://github.com/joao-paulo-santos/dsh-event-relay.git
git clone https://github.com/joao-paulo-santos/dsh-granular-settings.git

# from the harness checkout
pnpm dsh plugin --profile web add ~/dsh-plugins/dsh-event-relay
pnpm dsh plugin --profile web add ~/dsh-plugins/dsh-granular-settings

# verify the profile still composes
pnpm dsh --profile web --dump-config

Then restart the harness. The Granular Settings page appears in the settings dialog; nothing else to wire up.

How to use in my plugin

Host side: register controls (inject granularSettings):

const gs = ctx.get('granularSettings')
const s = gs.register({
  namespace: 'my-plugin',       // REQUIRED: your package name, [a-z][a-z0-9-]*
  scope: 'session',             // 'session' | 'workspace' | 'global'
  key: 'model',                 // [a-z][a-z0-9-]*, unique only within the namespace
  type: 'enum',
  label: 'Model',
  owner: 'My Plugin',           // display name for the settings box
  description: 'Which model this session uses',
  options: [{ value: 'a', label: 'Model A' }],   // enum and multiselect only
  defaultValue: 'a',
  onChange: (value, target) => {},                // optional, serialized after persist
})

await s.get(sessionIdOrWorkspacePath)   // sessionId, workspace path, or ignored for global
await s.set(sessionIdOrWorkspacePath, 'b')
s.dispose()

Control types and their metadata:

typevalueregistration extras
toggleboolean
textstring, max 4000 chars
colorhex string
numberfinite numberoptional min, max
slidernumberrequired min, max, step
enumone option valuerequired options or a provider function
multiselectarray of option valuesrequired options or a provider function
pathabsolute directory string

For enum and multiselect, options may instead be a zero-argument function evaluated at describe time, so an option list can track a live library without re-registration.

Browser side: one hook, same service name as the host (inject granularSettings; the browser and host planes never see each other):

const gs = ctx.get('granularSettings')

// inside any component:
const [model, setModel] = gs.useSetting('my-plugin', 'session', 'model')
const [speed, setSpeed] = gs.useSetting('my-plugin', 'workspace', 'speed')
const [accent, setAccent] = gs.useSetting('my-plugin', 'global', 'accent')   // works sessionless

useSetting derives the session context itself, subscribes to changes (doorbell, reconnect, window focus, write completion), serves the registration default while a context's truth loads, and writes optimistically through the host. With no session open, session and workspace values read as undefined and their writers are no-ops; global values keep working.

Whole tabs can be contributed too, when rows are not enough:

const off = gs.registerTab({ id: 'my-tab', label: 'My Plugin', order: 40 }, MyComponent)

The component renders inside the page's scroll area and receives the settings-section props, useSessions among them. The built-in tabs sit at order 10, 20, 30.

Debugging

Read what the page reads, from a terminal:

curl 'http://127.0.0.1:3080/granular-settings/describe'
curl 'http://127.0.0.1:3080/granular-settings/describe?session=<sid>'

Watch the doorbells live:

curl -N 'http://127.0.0.1:3080/relay/events?topics=granular-settings'

-N makes curl stream instead of buffering.

Dependencies

  • dsh-event-relay carries the change doorbells (hard dependency, both halves)

Plugins dependent on this

  • dsh-granular-prompt, the prompt-composition manager: registers persona and system-prompt settings and a Prompt tab
  • dsh-bouncing-squares-example, the tutorial example: three bouncing squares, one per scope, exercising seven control types
  • dsh-workspace-overview, the Workspace Overview tab: registers the global "GitHub pill in session header" toggle
  • dsh-workspace-history, the compaction journal: registers the per-session "Save compaction history" toggle