bryanchen463/dsh-desktop-pet1

dsh-desktop-pet

一只紫色圆球桌宠:眼睛始终盯着鼠标,可拖动,点击眨眼,空闲时随机做小动作。DSH 动态 Cordis 插件 + 无依赖网页版。

包名
dsh-desktop-pet
版本
1.1.1
许可证
MIT
最近更新
2026年9月11日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

在其他 DSH 部署中使用

三种引入方式,按「要不要让它一直存在」选:

方式适用场景生命周期
一、profile 插件自己长期用、给团队装机、随 dsh 一起启动跟进程走,重启后仍在
二、动态 Cordis 插件临时试玩、改一行就想立刻看到效果只在当前进程,重启即消失
三、无依赖网页版非 DSH 的网页项目页面级

方式一:安装到任意 DSH 部署(推荐,重启后仍在)

前置条件

  • 目标是 DSH 的 Web 界面dsh --profile web),实测版本 0.1.2-rc.1
  • 有权限写入 ${DSH_HOME:-~/.dsh}/profiles/(Windows 是 %USERPROFILE%\.dsh\profiles\);
  • 只需要重启该 profile —— 不用改 host 组合、也不用动 agent preset:桌宠是纯浏览器 UI,落在 profile 补丁层 cordis.patch.yml 里的一行客户端插件上。

第 1 步 · 找到 profile 目录

echo "${DSH_HOME:-$HOME/.dsh}"                 # Windows: echo $env:USERPROFILE\.dsh
ls   "${DSH_HOME:-$HOME/.dsh}/profiles"        # Web 界面的 profile 通常叫 web
ls   "${DSH_HOME:-$HOME/.dsh}/profiles/web"    # 里面应有 cordis.yml / cordis.patch.yml / plugins/

profile 名不一定是 web,以目录里同时存在 cordis.ymlcordis.patch.yml 的那个为准。

第 2 步 · 把插件包放进 profile 的 plugins/ 目录

A. 已经 clone 了本仓库 —— 复制 profile-plugin/