DSH Plugins Marketplace

DSH Plugins

Plugins

/

Just for Fun

/

dsh-pet-android-community

d

dsh-pet-android-community

Identified

Android shell patch for dsh-pet that fixes the unfocusable overlay window (keyboard never opens), broken chat requests, and clipped replies. Requires upstream dsh-pet >=0.3.7, a separately installed s

dsh-pet-android(社区补丁版)

把 dsh-pet 的桌宠放到安卓桌面上的插件 + 壳 App 组合。 本仓库是 dsh-pet-android 的社区补丁分支,修掉了原版在真机上「看得见、用不了」的三个问题。

上游:dsh-pet(MIT,© PC2005-cloud)· dsh-pet-android kit(MIT,© dsh-pet-android contributors) 本分支:MIT,保留上述版权声明。

修了什么

#现象根因修法
1点桌宠的输入框,键盘死活弹不出来壳(com.dsh.petframe)把悬浮窗建成了 FLAG_NOT_FOCUSABLE;壳里那个 setInteractive() 桥方法是空实现给壳打补丁:setInteractive(true/false) 临时切换窗口能否聚焦;页面在聊天弹窗打开/关闭时调用
2打字了、点发送,报「对话响应非法」3080 代理用 fetch(undici) 转发 POST:要么缺 duplex,要么被上游掐连接;且 DSH 的压缩中间件在客户端声明 gzip/br 时会断连代理改用 node:http 管道转发,并统一强制 accept-encoding: identity
3发出去了、什么也看不到回复靠头顶气泡展示,而气泡画在宠物头顶的透明余量区;壳的窗口只比宠物大一圈,气泡超出就被裁掉安卓壳里回复直接显示在聊天弹窗内(不依赖气泡),可连续追问

附带:聊天弹窗加了「取消 / 粘贴 / 发送」三个按钮(中文输入法回车会被吃掉,光靠回车发不出去),并在打开时临时把窗口撑高,避免按钮被下边缘切掉。

安装

见 INSTALL.md。一句话版:

dsh plugin --profile web add @flyinghouse-ma/dsh-pet-android

外加一个打过补丁的壳 APK(见 Release 附件)。插件和壳必须成对使用:只装插件不换壳,问题 1 依然存在。

已知限制

  • 壳 APK 是自签名的,安装需要允许「未知来源」;与官方壳签名不同,必须先卸载旧版。
  • 宠物贴在屏幕最上沿时,头顶气泡仍可能被屏幕边缘裁掉(物理空间不够)。这也是为什么回复改成在弹窗里显示。
  • 只支持 Android(壳依赖 TYPE_APPLICATION_OVERLAY)。
  • 壳只连 127.0.0.1,不向外发任何数据。

目录

src/                 插件本体(路由 + 桌面渲染器页面)
scripts/pet-proxy.mjs 3080→38019 转发(修复 2 就在这里)
patches/             壳 APK 的 smali 补丁说明与复现步骤
docs/                排障手册
apk/                 正式签名 APK 输出位置(不进 npm 包)

许可证

MIT。必须在再分发时保留上游与本分支的版权声明。

Comments

Loading…

Similar plugins

dsh-pet-android

by Tongyu3

dsh-pet 的 Android 上层显示衍生插件:多载体自动探测(DSHA 文本悬浮条 / 宿主悬浮窗契约),不含上游代码,MIT

Manifest valid

★ 4

JavaScript

Oct 18, 2026

dsh plugin --profile web add dsh-pet-android

DeepSeek App-style mobile shell for the DSH Web UI with drawer navigation, app-like composer and settings; best paired with the dsh-android app, which supplies the native Android back key (standalone

UI & ExperienceManifest valid

★ 0

dsh plugin --profile web add dsh-mobile-shell

by 1985899182

Adds ChatGPT-style stop, edit-and-resend, native quote annotations, and an independent sidebar follow-up chat with model and image input for DeepSeek Harness Desktop.

UI & ExperienceTerminal & ClientsManifest valid

★ 8

MIT

JavaScript

Nov 2, 2026

dsh plugin --profile web add dsh-harness-chat-control

by Dcmwfg

DeepSeek web chat inside the DeepSeek Harness sidebar: one row opens it in the right pane, fullscreen on demand, login survives restarts.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-deepseek-sidebar

by cyh3436332528

把 DSH 的侧边对话弹出来,变成一个能压在所有应用之上的独立置顶浮窗:自带四态外观(浅色/深色/跟随 DSH/跟随 Windows)、不透明度、窗口几何记忆、即用即焚与缓存清理。Windows 专属(WinForms + WebView2)。

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 1

MIT

C#

Sep 30, 2026

dsh plugin --profile web add dsh-float-chat

by better-er

「DSH·手机适配」:窄屏下把侧栏收成悬浮小方块,点会话自动收起,并压掉切会话时的自动聚焦,免得软键盘把页面顶起。纯客户端插件。

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 2

MIT

TypeScript

Nov 4, 2026

dsh plugin --profile web add dsh-mobile-drawer