DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-friends-plugin

O

dsh-friends-plugin

Manifest valid

Installable package for the DSH friends plugin (market index source)

UI (client)hasBundlePatch

DSH 好友浮窗、聊天与个人资料 · 0.8.2

DSH 内的浮动好友列表与多标签一对一文字聊天。标题可拖动、角落可缩放,可最小化或关闭;切换页面保留,重新加载重置布局。

需要另行运行好友服务(只有 API,没有网页界面),所有界面都在本插件的浮窗里。

配置与安装

在 DSH 插件页安装该目录或 npm tarball,确认 Host 信任提示。目标 DSH >=0.2.1-rc.5 <0.3.0,依赖 DSH 自带 Schema、React、connection 和 credentials,不需要编译。

  • serviceUrl:默认 http://127.0.0.1:8787,指 Host 可访问的好友服务 origin。远程必须 HTTPS,不允许路径/query/账号密码。
  • autoAwayMinutes:默认 10,0 禁用自动离开。

服务数据库自动迁移,0.2.x 身份保留。升级后必须重启 DSH 才能加载新的 Host 代码;state RPC 的 version 应为 0.8.2,磁盘包版本不代表运行中代码已更新。0.1.x 浏览器 localStorage 身份不能自动迁移。

使用与隐私

侧栏底部「好友」行或右下角「好友」按钮会直接弹出浮窗,不切换 DSH 页面。个人资料可上传头像(客户端压成 96px JPEG)、写 140 字签名,并把「在线/离开/忙碌」换成自己的词条。换电脑时在「换电脑」里出码:迁移码=搬家(旧机器退出),多端共享码=两台同时在线(权限完全相同)。浮窗还会显示「在跑任务 / 使用中 / 空闲」(同样可自定义词条)、今日 token 用量,以及本轮任务已跑多久——依据是 DSH 会话日志最近是否在写,不读取对话内容。点击好友的聊天按钮;Enter 发送、Shift+Enter 换行,支持输入法、离线留言、未读数、新消息提醒和已读回执。每条最多 2000 个 Unicode 字符,服务器每段会话保存最近 1000 条。失败后由用户手动重试,同一次请求使用同一标识避免重复。

聊天明文保存在自部署服务器,管理员能读,不是端到端加密。删好友会连聊天一起清掉。界面上没有注销账号和忘记身份的入口,需要时直接调服务端接口。隐身只藏在线状态,主动发消息或已读回执照样会暴露你在动。

身份令牌仅在 DSH 凭据库,按服务 origin 哈希区分。浏览器只能调用 owner 鉴权的固定 RPC,不能获得令牌或指定上游 URL。不读取 DSH 会话、文件、模型或任务。

实现与验证

index.js 注册 owner 鉴权 RPC;host.mjs 管理身份/心跳/自动离开;chat.mjs 处理消息投影与可取消长轮询;stream.mjs 订阅 SSE 并退避重连;client.js 为 React-only lazy factory,注册管理页、侧栏与 overlay,使用 DSH 主题 token 和中英字典。

85 项自动化测试通过,含真实临时服务的双 Host 聊天和安全竞态回归。浮窗与聊天已在当前 DSH 真实浏览器中截图核对;事件测试使用轻量 React stub。完整 DSH 重启、开机自启、公网部署与 Docker 构建不在本次已验证范围。

npm pack --ignore-scripts

Comments

Loading…

Similar plugins

dsh-client-plugin-store

by shiyi-0x7f

Community plugin store panel for the DeepSeek Harness Web UI (browse/search dshplugin.org index, copyable pinned install commands)

Manifest valid

★ 0

MIT

JavaScript

Aug 18, 2026

dsh plugin --profile web add dsh-client-plugin-store

by LX2000WASD

Companion to the official DSH plugin manager: pre-install quality gate, environment diagnostics, marketplace, and upgrades.

Manifest valid

★ 7

↓ 154/wk

MIT

TypeScript

Sep 20, 2026

dsh plugin --profile web add dsh-plugin-manager-companion

by Scorp1o117

Browse and search GitHub dsh-plugin repositories from Web UI Settings, sort by stars, and install plugins through the DSH CLI.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 2

↓ 2.3k/wk

MIT

JavaScript

Oct 31, 2026

dsh plugin --profile web add dsh-plugin-marketplace

by ARFCON

dsh-hub — DSH 插件中枢

Manifest valid

★ 3

↓ 14/wk

MIT

JavaScript

Aug 22, 2026

dsh plugin --profile web add dsh-hub

by qinyre

给 dsh 设置页加「安装」标签页,按包名安装任意第三方插件。

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 4

↓ 805/wk

MIT

TypeScript

Oct 16, 2026

dsh plugin --profile web add dsh-plugin-install

by jamesct

a dsh plugin for file manager in current sidebar

Manifest valid

★ 0

MIT

JavaScript

Oct 5, 2026

dsh plugin --profile web add dsh-file-manager