DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

dsh-window-drag-probe

Window Drag Probe

窗口拖动:窗口一加载就在顶部自动装好一条可拖拽带(本机 macOS 拖不动窗口的解法),并从插件页提供按钮打开面板读取 computed app-region、recall 标记与窗口位移(deepseek-harness discussion #9112)。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-window-drag-probe@0.7.2
README兼容性版本

兼容性与来源证明

Window Drag Probe 以 dsh-window-drag-probe 发布,当前版本为 0.7.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/10/9

版本

0.7.2stable
2026/10/9
0.7.1stable
2026/10/9
0.7.0stable
2026/10/8

相关插件

正在加载相关插件…

最新版
0.7.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
55 kB
文件数
10
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
0
最近提交
2026/10/9
查看源码 ↗
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 配置层Ab Chartdsh-ab-chart带有绘制其调用的浏览器卡片的图表渲染工具,封装在一个可发布的插件包中Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义

README

dsh-window-drag-probe

English | 中文

A DSH plugin that restores window dragging on macOS DSH Desktop and diagnoses why it broke — from inside the running window.

Upstream report: deepseek-ai/deepseek-harness discussion #9112


Why this exists

On macOS, DSH Desktop is a hiddenInset window with no native title bar, so dragging depends entirely on -webkit-app-region: drag boxes declared by the page. The shell marks its chrome rows with data-window-drag, and ui-web's base.css turns that mark into the one drag rule.

In practice those rows are not draggable: the interactive no-drag selector in the same sheet matches thousands of boxes in the real DOM (buttons, [tabindex] focus containers, ARIA-role widgets), and any one of them that overlaps a chrome row later in document order subtracts that overlap. What is left of the chrome band is a sliver a few pixels tall, so pressing anywhere that looks like a title bar does nothing.

The plugin does not patch any official file. It adds:

  1. A 16 px drag band across the top of the window, appended to document.body last with an inline app-region: drag — document order is what wins in Electron's composition, so the band cannot be subtracted by earlier no-drag boxes.
  2. A diagnostic panel that reports the evidence from the live window: the platform marker, the computed app-region of the chrome rows, the recall mark, every app-region box, a draggability matrix, and window movement read from window.screenX/screenY.

Requirements

Verified against DSH Desktop 0.2.0-rc.2 / Electron 44.0.0 — see Verified on.

The DSH client API is not forward-compatible across host releases: a client half built for a different API does not degrade gracefully, it crashes the view (the typical symptom is TypeError: useConversation is not a function). 0.7.1 is the first published release, so there is no older line to fall back to — if your host differs from the verified build above, check dsh --version first and open an issue with it before installing.

The plugin declares no hard service dependency (inject: []): it looks slots and locale up optionally and falls back to a plain DOM overlay with Chinese copy when either is missing, so it can never park the shell waiting for a service.


Install

A. From the plugin page (recommended on DSH Desktop)

DSH Desktop manages its own profile exclusively, so the CLI refuses it — install through the UI:

  1. Sidebar → Plugins → Add plugin → open the arrow menu → Install a third-party plugin

  2. Paste the repository address:

    https://github.com/adamcjm/dsh-window-drag-probe
    
  3. Install, then choose Enable now

  4. Quit DSH Desktop completely (⌘Q) and reopen it — the client bundle is assembled once at host boot, so a window close is not enough

B. CLI — from npm (profiles managed from the command line)

dsh plugin --profile <profile> add dsh-window-drag-probe

Pin the exact release when you need reproducibility:

dsh plugin --profile <profile> add dsh-window-drag-probe@0.7.1

The GitHub track resolves the default-branch HEAD instead of a published version:

dsh plugin --profile <profile> add github:adamcjm/dsh-window-drag-probe

Then restart that host.

C. Local checkout (development)

git clone https://github.com/adamcjm/dsh-window-drag-probe
dsh plugin --profile <profile> add "$PWD/dsh-window-drag-probe"

A local directory install is linked, not copied, so edits take effect on the next host restart.


Usage

Drag band

After the host restarts, the top 16 px of the window is the drag strip: fully transparent at rest, so the window shows through and nothing gets tinted. Press anywhere inside it and drag: the window moves.

  • Invisible at rest; a faint blue cue appears only while the pointer is over those 16 px (a draggable region swallows pointer events, so no other affordance is available).
  • Everything below the band behaves normally; the band does not intercept clicks outside its 16 px.
  • Only one band exists per window; re-arming is idempotent.

Diagnostic panel

Plugins → open Window Drag → press Open the “Window Drag” panel (the button this plugin registers on its own page, and only on that page).

The panel is draggable by its header, collapsible with ▾, remembers its position, and reports:

There is only ever one panel: pressing the opener again reuses the open one and flashes its outline, and any duplicates left by an older revision are collapsed on the next open.

Panel copy follows the DSH language: a Chinese UI shows Chinese, an English UI shows English (an open panel is relabelled in place). The plugin name and description in the plugin list follow the language too (locale/en.json → Window Drag, locale/zh.json → 窗口拖动).

RowMeaning
platformThe data-platform marker. darwin is the only value where any drag rule exists.
computed app-region · body / first rowThe raw computed values. drag on the row means the cascade is fine and the loss happens in composition.
recall 标记当前Whether the shell's data-window-drag-recall pulse is stuck on. A stuck mark subtracts the whole surface.
窗口位置 / 窗口移动记录Live window.screenX/screenY — the only in-page witness of a native window move.
drag 行Every [data-window-drag] element with its box and computed value.
app-region 盒子Every box whose computed app-region is not none, in document order.
顶部可拖性矩阵A ■/· matrix over the top band, decided by the project's own model (last containing box in document order wins).
采样点命中链For each sample point, the boxes containing it and which one decides.

Panel buttons: 重新采集 (re-collect), 插入/移除顶部拖拽带, 复位位置, 隐藏面板.


Uninstall

  • Plugin page: open the plugin card → 卸载 (Uninstall).
  • CLI: dsh plugin --profile <profile> remove dsh-window-drag-probe
  • Manual installs: remove the dsh-window-drag-probe symlink from the profile's node_modules, then restore package.json / cordis.patch.yml from your backups.

Uninstalling removes the band; after a restart the window is back to its previous (undraggable) state.


Verified on

DSH Desktop0.2.0-rc.2
Electron44.0.0
macOS27.0.1 (26A434, Apple Silicon)

The band is armed unconditionally, but the app-region rules it compensates for only exist under html[data-platform='darwin']. On other platforms the plugin still loads and the panel still reports, with platform showing the actual marker.

Limits

  • This is a workaround plus a probe, not an upstream fix. If the matrix shows drag at a point yet the window still does not move there, the cause is outside the page and only the upstream fix (see the discussion) will help.
  • The plugin appends one div to document.body and registers one button in the plugin page. It reads DOM state and screenX/screenY; it sends nothing anywhere.
  • The panel is intentionally a plain DOM overlay rather than a slot decoration: it must be positionable over the whole viewport, and the drag band must be last in document order.

License

MIT