dsh-settings-ui
在终端中运行以下命令:
dsh plugin install KaramachiA217/dsh-settings-ui
将以下提示词粘贴到 DeepSeek Harness 对话框中:
打开终端执行 dsh plugin install KaramachiA217/dsh-settings-ui,插件源码位于 https://github.com/KaramachiA217/dsh-settings-ui ,安装后刷新宿主即可在 ctx.settingsUi 中使用设置页与面板 API。
插件介绍
Building a DeepSeek Harness plugin that needs a settings page or a floating panel usually means hand-rolling form components, tuning CSS variables from scratch, wiring up a load/save/busy/error state machine, and defending against revision conflicts. Across a growing plugin family the visual drift and maintenance burden add up fast.
dsh-settings-ui exposes a ctx.settingsUi service with three API tiers: pluginCard for the rc7 official Plugins-tab card, section for classic settings-page cards, and overlay for free-form floating panels with drag, minimize, z-order, and position persistence. A full atomic component family and a declarative form system (createSettingsStore + useSettings) handle load, save, busy, error, saved-flash, and revision-conflict out of the box, all aligned to the official --dsw-* semantic tokens—no hand-written CSS or state logic required.
It is aimed at DeepSeek Harness plugin authors who need to ship settings pages or overlay panels and want a single, consistent visual language across their plugin family without repeating boilerplate.
使用场景
- 为 DeepSeek Harness 插件添加一致的设置页卡片,无需手写表单与状态逻辑
- 构建可拖拽、可最小化、跨标签页同步的浮动面板
- 在多个插件之间保持统一的视觉语言与交互风格
适合人员
- 需要为插件提供设置界面的 DeepSeek Harness 开发者
- 维护多个插件、希望统一 UI 风格的小团队
- 不想手写 CSS 和状态机、追求开箱即用的插件作者