leolee9086/dsh-sketchup
DeepSeek Harness 的 SketchUp 独立对接套装:Host 插件、Ruby 扩展、内嵌聊天与 CEF 兼容垫片。保留上游 fork 来源及 MIT 版权。
Project Overview项目介绍
dsh-sketchup is a bridge bundle packaged as a SketchUp Ruby extension plus a DeepSeek Harness Host plugin, joined by a local WebSocket on the default endpoint ws://127.0.0.1:3080/ext/sketchup. Distribution happens only through GitHub release attachments under the fixed npm name @leolee9086/dsh-sketchup, with three install paths: extracting the Windows ZIP and running install.ps1 with PowerShell, loading the RBZ through SketchUp's Extension Manager and triggering the bootstrapper, or registering the prebuilt TGZ with dsh plugin --profile web add --save-exact. The current artifact is v0.1.0-alpha.1, tagged as a prerelease that still needs wider compatibility confirmation.
The bridge reads model metadata, selections, the active editing path, bounded entity geometry, and audit events, then exposes structured actions such as creating boxes or cylinders, selecting or deleting entities, switching the active tag, and saving the file. Commands are dispatched to a specific SketchUp instance or the current session, and a disconnected binding raises an error instead of silently rerouting to another open model. Inside SketchUp an authenticated Harness chat panel is hosted, and the CEF shim injects core-js/stable before application modules load to supply Iterator helpers, Set operations, groupBy, structured copy, and similar standard APIs that the bundled Chromium lacks.
Required dependencies are Node.js 22.13 or newer, pnpm 11.7.0, SketchUp 2024 on Windows with Ruby 3.2.2, and access to GitHub plus npm. Host configuration ships with allowPluginWrite and allowPluginLoad disabled by default, and even when enabled each write or reload requires an explicit confirm flag. The 127.0.0.1 loopback check and the fixed sketchup://dsh-bridge Origin guard the browser side but cannot authenticate cooperating local processes, so usage is intended only on trusted machines. Other caveats include bounded per-instance event history without full disconnected-instance cleanup, queue and timeout limits that drop pending tasks on disconnect, the absence of bash-script support for Linux SketchUp, and a license file under MIT attributed to upstream Yuxiang Lin.
本仓库是 dsh-sketchup 桥接套装,定位为独立的 SketchUp Ruby 扩展加 DSH Host 插件,并通过本地 WebSocket 把 SketchUp API 与 Harness 内嵌聊天窗口连接起来。安装渠道有三条:解压 Windows 完整 ZIP 后运行 install.ps1、把 RBZ 装进 SketchUp 扩展管理器再调用引导脚本,或使用 dsh plugin --profile web add --save-exact 注册预编译 TGZ。包名固定为 @leolee9086/dsh-sketchup,仅通过 GitHub 发布附件分发,尚未推送 npm 软件源。
桥接读取模型信息、选择集、编辑路径与限量几何,并可执行长方体、圆柱体、选择、删除、标签切换、保存等结构化操作;指令按 SketchUp 实例绑定,断线即报错,不会跨模型转发。宿主侧默认关闭 allowPluginWrite 与 allowPluginLoad,开启后需 confirm 才会写入或重载 Ruby;回环检查与 sketchup://dsh-bridge Origin 不构成进程身份认证,应在可信本机使用。
依赖为 Node.js 22.13+、pnpm 11.7.0、SketchUp 2024(24.0.484,Ruby 3.2.2)及随带的 Chromium CEF;CEF 中提前加载 core-js/stable 补齐 Iterator、Set、分组与数组复制等标准 API,但无法修复 CSS、编解码器、浏览器权限或 Web Worker。事件历史有上限、断线后会丢弃未执行任务、绑定失败可能关闭共享连接;许可证为 MIT,v0.1.0-alpha.1 为预发布版,尚需进一步兼容性验证。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-sketchup(leolee9086/dsh-sketchup)
仓库:https://github.com/leolee9086/dsh-sketchup
本站详情页:https://www.yhbd.top/plugins/leolee9086-dsh-sketchup/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-09-12 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:leolee9086/dsh-sketchup
把 leolee9086/dsh-sketchup 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH SketchUp 对接套装
独立的 DeepSeek Harness Host 插件 + SketchUp Ruby 扩展,提供 SketchUp 内嵌聊天窗口,并为 SketchUp 2024 自带的 Chromium 补充所需的兼容垫片。
项目来源:独立衍生版本(fork)。 本项目从 leolee9086/dsh-browser 的 SketchUp 包中拆分,该仓库源自 Lum1104/dsh-browser。本项目不是 SketchUp 或 DeepSeek 官方产品。LICENSE 中保留了原始 Copyright (c) 2026 Yuxiang Lin 版权声明及 MIT 许可证,详见致谢。
下载与安装
请从 GitHub 发布页 下载对应版本的附件。v0.1.0-alpha.1 为预发布版,兼容性仍需进一步验证。
| 文件 | 用途 |
|---|---|
dsh-sketchup-0.1.0-alpha.1.zip |
Windows 完整安装套装,内含预编译 Host 包与 Ruby 扩展 |
dsh-sketchup-0.1.0-alpha.1.rbz |
通过 SketchUp 扩展管理器安装的扩展包 |
leolee9086-dsh-sketchup-0.1.0-alpha.1.tgz |
DSH 使用的预编译 Host 插件包 |
bootstrap.ps1 |
Ruby 安装菜单调用的 Windows 引导安装器,固定安装版本 |
SHA256SUMS |
发布附件的 SHA-256 校验和 |
包名为 @leolee9086/dsh-sketchup。本次通过 GitHub 发布附件分发,尚未发布到 npm 软件包仓库,请使用下载的 TGZ 安装。
使用 Windows 完整套装
解压 ZIP 后,在 PowerShell 中运行 install.ps1。脚本会把预编译 Host 包登记到 DSH profile,并将 Ruby 扩展安装到 SketchUp 的 Plugins 目录。可通过参数指定安装路径,也可用 -DryRun 预览操作而不写入文件。
安装完成后,重启 DSH 以加载新的 Host 文件;保存模型并重启 SketchUp 以加载新的 Ruby 文件。安装器不会强制重启应用。
从 SketchUp 安装 Host
在 SketchUp 中通过扩展程序 → 扩展管理器 → 安装扩展程序安装 RBZ,然后选择扩展菜单中的 Install DSH Host for SketchUp...(为 SketchUp 安装 DSH Host)。安装过程会在独立的 PowerShell 窗口中运行。
引导安装器根据 SHA256SUMS 校验固定版本的安装套装。若本机缺少 DSH,则将固定版本安装到独立目录,不升级已有的全局安装。需要预先安装 Node.js 22.13+ 和 npm,并能够访问 GitHub 和 npm。
从 DSH 安装 Ruby 扩展
已有 DSH 时,可先登记下载的 Host 包:
dsh plugin --profile web add --save-exact ./leolee9086-dsh-sketchup-0.1.0-alpha.1.tgz
包内包含 Ruby 扩展及安装脚本。运行安装器即可将 Ruby 部分复制到 SketchUp;具体参数、备份位置和回滚方法见安装指南。安装脚本需要显式运行,没有隐藏的安装后自动执行步骤。
目前已在 Windows + SketchUp 2024(24.0.484,Ruby 3.2.2) 中验证桥接和内嵌聊天。其他版本尚未实测。提供 Bash 脚本并不代表 SketchUp 支持 Linux。
功能
- 读取模型信息、选择集、当前编辑路径、限量实体几何信息和审计事件。
- 执行结构化操作:创建长方体或圆柱体、选择或删除实体、切换活动标签、保存模型。
- 按明确指定的 SketchUp 实例或当前会话绑定分发指令。绑定的实例断线时会报错,不会悄悄转发到另一个已打开的模型。
- 在 SketchUp 内打开经过认证的 Harness 聊天界面。
- 在内嵌窗口的应用模块加载之前执行
core-js/stable垫片,补充 Iterator、Set 运算、分组、数组复制方法等标准 API;普通浏览器标签页和 Node Host 不受影响。详见 CEF 兼容说明。 - 按需启用指定 Plugins 子目录内的 Ruby 插件写入与重新加载,包含校验、备份和显式权限开关。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
LivXue/dsh-plugin-shop
flizzywine/dsh-tavern
weijiafu14/pi2dsh
Hilbert-beinghappy/seektty
Totoro-qaq/dsh-plugin-bridge
xiajiajun516/dsh-config-manager
Renzic-Stone/DSH-EasyRewrite