DeepSeek Harness Plugin

fabulousnm/HiFairy#dsh-host-probe

Stars ★ 0 Category Remote & Mobile Added 2026-11-27

Connects HiFairy mobile Agent to local DSH sessions and a mounted phone workspace.

Install

# from a prebuilt release tarball

dsh plugin --profile web add -w "https://github.com/fabulousnm/HiFairy/releases/download/v1.0.0/hifairy-dsh-bridge-0.1.0.tgz"

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:fabulousnm/HiFairy#path:/agent-pc/dsh-host-probe

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

DSH 插件,将当前电脑的会话、模式、工作区、审批和文件浏览接入 HiFairy 手机端,并为手机端手动挂载的工作区注册受限文件工具。本插件只监听 127.0.0.1:18765,不直接对公网开放。

安装

在 DSH Desktop 的“插件 → 添加插件”中安装 hifairy-dsh-bridge 的发布包,或在支持的 DSH profile 中执行:

dsh plugin --profile web add <发布包地址>

安装后重启 DSH。旧版 hifairy-dsh-host-probe 应先停用或移除,否则两个桥接器会争用同一端口。移除本插件时,DSH 的会话和工作区数据不会删除。

首次运行会在用户目录的 .hifairy/bridge.token 生成本机桥接令牌。HiFairy 电脑网关默认读取同一文件;可通过 HIFAIRY_BRIDGE_TOKEN_FILE 同时覆盖两端路径。令牌不要提交到仓库。

手机 Agent 的公网地址和独立访问令牌由 HiFairy 电脑启动脚本生成。完整步骤见项目 README。

能力边界

  • 手机当前会话的增量输出、最近 15 轮历史、模式和工作区选择、权限预设与审批。
  • 电脑文件抽屉;电脑工作区外的文件入口须由用户主动选择。
  • 手机工作区工具只在手机当前 Agent 会话接收请求时执行,受手机端手动挂载目录限制。
  • 不包含手机应用控制或无障碍服务。

npm test 运行桥接、历史折叠、文件路径和审批协议测试。

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.