omdsh-dev/dsh-pet-corner
DSH宠物角:一个浮动宠物、免按键宠物图片代理、收藏夹,以及插件自有设置API
Project Overview项目介绍
DSH Pet Corner is a lightweight desktop plugin for the DSH web profile, centered on a draggable cat widget in the bottom-right corner with source toggles, favorites, and auto-refresh; the panel opens cat, dog, and fox images plus cat facts. It targets DSH rc.3 on Node.js 22.19+ and uses the webServer route name. Caveat: upstream pet services are not prewarmed until the panel opens, and non-2xx responses are converted to HTTP 200 with bundled fallbacks.
DSH 宠物角是面向 web 桌面的轻量摸鱼插件,核心是右下角可拖动的猫咪挂件,附图源开关、收藏与自动换图;点击进入面板浏览猫狗狐图片与猫知识。适用于 DSH rc.3、Node 22.19+ 环境,需要 webServer 路由名。注意:未开启图片面板时不预热上游,非成功响应会被代理转为 HTTP 200 兼容回退。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-pet-corner(omdsh-dev/dsh-pet-corner)
仓库:https://github.com/omdsh-dev/dsh-pet-corner
本站详情页:https://www.yhbd.top/plugins/omdsh-dev-dsh-pet-corner/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 BSD-3-Clause · ⭐ 2 · 最近提交 2026-08-19 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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 @deepseek-ai/dsh-pet-corner@0.0.1-rc.3
把 omdsh-dev/dsh-pet-corner 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
@deepseek-ai/dsh-pet-corner
Author / Maintainer: @Zacklinkk
DSH 的轻量摸鱼角:右下角是一只可拖动的小猫,点击后可浏览猫、狗和狐狸图片、 猫咪知识与收藏。所有第三方请求都先经过宿主白名单代理,浏览器不会直接访问外站。
安装
# 已登录私有 npm registry
dsh plugin --profile web add @deepseek-ai/dsh-pet-corner@0.0.1-rc.3
# 本地开发 checkout
dsh plugin --profile web add link:/path/to/dsh-pet-corner
包内已经声明 dsh.bundle.patch;dsh plugin add 会自动维护 Profile Bundle。
不要手工修改 profile manifest,也不要重复插入 pet-corner loader row,否则会得到
duplicate loader entry id。
功能与网络边界
- 小猫挂件、来源开关、默认狗狗品种和自动换图周期;
- 收藏仅保存在当前浏览器的
localStorage; - 图片面板打开后才会通过宿主白名单代理访问 Cataas、Dog CEO、RandomFox、 TheCatAPI 和 Cat Facts;仅加载页面不会预热这些上游;
- 设置通过插件自有的
/plugins/dsh-pet-corner/api/settings读写,不依赖 DSH rc.3 配置面的 namespace allowlist;该端点仅接受 loopback 同源请求; - 插件不需要 API Key。上游不可用或返回非成功状态时,代理会以 HTTP 200 返回 包内图片或兼容 JSON,避免把预期的第三方故障暴露成浏览器 4xx/5xx;图片面板仍可重试。
兼容性
| 组件 | 支持范围 |
|---|---|
| DSH | >=0.1.0-rc.3 <0.2.0 |
| Node.js | >=22.19.0 |
| Profile | web |
宿主路由使用 rc.3 的 webServer 服务名;本版本不兼容 rc.1 的 httpServer 名称。
设置页使用现存的 settings.section slot,但持久化不经过通用 settings API。
开发
npm install --legacy-peer-deps
DSH_NODE_MODULES=/path/to/dsh-runtime/node_modules npm run setup:dsh-workspace
npm run typecheck
npm test
npm run build
npm pack
构建产出 lib/index.js(宿主)和 lib/client.js(浏览器 ModuleLoader 包)。测试和
smoke 不访问真实宠物上游;代理行为用本地替身验证。
License
BSD-3-Clause
PC2005-cloud/dsh-pet
zenstory-ai/oh-story-dsh
universe-st/dsh-game-material-master
Yuuhann1999/dsh-bloub-mood
aceice01/dsh-whale-pet
wycto/dsh-dock
Phant0Meow/femo-plugin
strawberry0321/dsh-gal