DSH Plugins
返回列表
🖥️

dsh-bouncing-squares-example

客户端 更新于 2026.08.27

在终端中运行以下命令:

dsh plugin install joao-paulo-santos/dsh-bouncing-squares-example

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 中执行 dsh plugin install joao-paulo-santos/dsh-bouncing-squares-example 即可安装该插件,源码地址为 https://github.com/joao-paulo-santos/dsh-bouncing-squares-example。

插件介绍

The dsh-granular-settings plugin introduces three settings scopes—session, workspace, and global—but an abstract hierarchy is hard to internalize from documentation alone. This example plugin paints the three scopes on your screen in real time: a blue square bound to session, an amber square bound to workspace, and a green square bound to global. Every settings change becomes visible motion, color shift, or disappearance, making the boundaries between scopes immediately concrete.

Each scope registers the same four base keys (show, color, text, speed) and then exercises additional control types such as enum, multiselect, and number. You can open two sessions with different session colors, switch workspaces to see which squares follow the new context, and close every session to watch the green square keep bouncing—turning the scope model into instinct rather than theory.

It is aimed at developers learning the DeepSeek Harness plugin ecosystem who want a hands-on way to understand the granular-settings scope model, and at engineers who need a visual aid to explain to a team how the same setting key behaves differently across scopes. The plugin is a terminal example in itself; it has no downstream dependents and requires only dsh-granular-settings and dsh-event-relay upstream.

使用场景

  • 学习 granular-settings 三级作用域模型时,用弹跳方块直观理解 session、workspace、global 的边界
  • 向团队演示同一设定键在不同 scope 下行为差异时,用可视化方式替代纯文字说明
  • 验证 enum、multiselect、number 等控件类型在各级 scope 下是否按预期工作

适合人员

  • 初次接触 DeepSeek Harness 插件生态的开发者
  • 需要向团队讲解 granular-settings 作用域模型的工程师
  • 编写或审查 granular-settings 配置项的插件开发者