chu557/douyin-plugin-dsh-plugin
在使用dsh等待的过程中刷抖音
Project Overview项目介绍
This is a command plugin built exclusively for DeepSeek Harness (DSH), which adds a new global /douyin command to the DSH web client environment. Once installed, the command can be accessed either by typing /douyin directly into any DSH session input box or selecting it from DSH’s built-in / command menu. Triggering the command will immediately open the official web version of Douyin in the user’s default system browser, no additional user steps or waiting for model response rounds are required to complete the action.
The plugin registers itself as a host-side command using DSH’s ctx.commands interface from the official @deepseek-ai/dsh-commands package. It automatically shows up in the command menu of the DSH web client with no extra configuration needed after proper installation. It leverages DSH’s native runNativeCommand utility to open the URL via system-native calls, so it works correctly across all major desktop operating systems, including Windows, macOS, and Linux. It does not accept any input arguments, and will return a clear usage prompt if users accidentally pass extra parameters.
The standard installation method requires copying the plugin directory directly into the profiles/node_modules folder of your local DSH installation, then adding a plugin entry to the cordis.patch.yml configuration file for the DSH web profile. After making these changes, you must restart the DSH web service for the plugin to load, because DSH does not support hot loading of new plugin bundles while running. There is an alternative installation method using the official dsh plugin add command, but this can sometimes cause ESM module resolution errors, so the manual copy method is recommended. The plugin is released under the open source MIT license, with no usage costs or extra third-party dependencies.
这是一个专为DeepSeek Harness(DSH)开发的原生插件,为DSH新增了/douyin全局命令。安装完成后,用户可以在任意会话输入框中输入/douyin,或是从DSH的/命令菜单中选中该命令,执行后就会自动在默认浏览器中打开抖音网页版,整个过程不需要等待模型生成响应回合,使用非常直接便捷。
该插件通过DSH的ctx.commands接口注册全局命令,可被DSH Web客户端的/命令菜单自动发现。它调用系统原生接口打开浏览器链接,同时支持Windows、macOS和Linux三大桌面平台,不接受任何输入参数,如果传入参数会返回用法提示。它适合需要在DSH会话中快速打开抖音网页版的用户使用。
安装需要将插件目录复制到DSH的profiles/node_modules目录下,再修改DSH Web配置文件cordis.patch.yml添加插件条目,之后必须重启DSH Web服务才能生效。也可以使用dsh plugin add命令安装,但可能会遇到ESM模块解析问题。该插件采用MIT许可证开源,无使用成本,没有额外的第三方依赖需求。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:douyin-plugin-dsh-plugin(chu557/douyin-plugin-dsh-plugin)
仓库:https://github.com/chu557/douyin-plugin-dsh-plugin
本站详情页:https://www.yhbd.top/plugins/chu557-douyin-plugin-dsh-plugin/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-08-14 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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:chu557/douyin-plugin-dsh-plugin
把 chu557/douyin-plugin-dsh-plugin 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-command-douyin
DSH 插件:注册 /douyin 命令,在默认浏览器中打开网页版抖音(https://www.douyin.com/?recommend=1)。
在任意会话输入框输入 /douyin 并回车(或在 / 菜单中选择),命令直接执行、无需模型回合,浏览器会自动打开抖音网页版。
工作原理
- 宿主端命令插件:通过
ctx.commands(@deepseek-ai/dsh-commands)注册全局命令,Web 客户端的/菜单自动发现。 - 打开浏览器使用
@deepseek-ai/dsh-native-command的runNativeCommand(无 shell 的execFile):- Windows:
rundll32 url.dll,FileProtocolHandler <url> - macOS:
open <url> - Linux:
xdg-open <url>
- Windows:
- 无参数;带参数返回
Usage: /douyin (no arguments)。
安装(web profile)
把本插件包以真实目录复制到共享 node_modules(Node ESM 会按真实路径解析依赖,junction/符号链接会导致
@deepseek-ai/dsh-native-command解析失败):Copy-Item -Recurse -Force "<本目录>" "$env:DSH_HOME\profiles\node_modules\dsh-command-douyin"在
$env:DSH_HOME\profiles\web\cordis.patch.yml中加入:- insert: - id: command-douyin name: 'dsh-command-douyin'重启
dsh web(补丁层在启动时合成;运行中的实例不会热挂载新 bundle/补丁行)。验证:
dsh --profile web --dump-config # 树中应出现 id: command-douyin 一行启动后在输入框输入
/douyin并回车即可。
备选:正式 bundle 安装(需要 pnpm 可用,且同样需重启)
dsh plugin --profile web add link:<本目录的绝对路径>
该命令会在 profile 的 package.json 中登记依赖并把 dsh-command-douyin 追加进 dsh.profile.bundles。注意:link: 依赖经 pnpm 安装为链接形式,同样存在 ESM 按真实路径解析的问题;如遇加载失败,改用上面的真实目录复制方式。
bowenliang123/dsh-context
cocofhu/anime-find
dingyi222666/dsh-session-notification
guo6x/dsh-pilot
TOBYCAI/dsh-sessions-manager
Nono-neko/dsh-browser