dsh-pet-corner
Manifest valid★ 3DSH Pet Corner: a floating pet, keyless pet-image proxy, favorites, and plugin-owned settings API
@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
Comments
Loading…
Similar plugins
by sereinmono
A plugin that adds a desktop pet to your DeepSeek Harness, supporting the Codex pet format.
★ 6
TypeScript
Sep 11, 2026
dsh plugin --profile web add dsh-desktop-petby YangShen-SWE
A Windows desktop pet for official DeepSeek API balance, usage, and animated reactions in DSH.
★ 8
NOASSERTION
PowerShell
Oct 21, 2026
dsh plugin --profile web add dsh-plugin-simple-petby MichengAI
An in-page pet for DSH Web with multi-session task notifications and controls to open tasks, stop turns, and respond to supported approval and question requests.
★ 6
↓ 3.9k/wk
Apache-2.0
TypeScript
Oct 27, 2026
dsh plugin --profile web add @michengai/dsh-codex-petby bo961386926
Cute desktop pet for DeepSeek Harness - custom name, upload your own pet image, or generate one with AI. DSH 桌面宠物插件
★ 0
MIT
JavaScript
Aug 26, 2026
dsh plugin --profile web add dolphin-pet-pluginby hellosz
Codex Pets-style floating pixel pet with 10 built-in Petdex-compatible pets, a 9-state agent-status engine (idle/running/waiting/review/failed plus client-side waving/jumping/directions), draggable ov
★ 6
↓ 175/wk
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add @hellosz/dsh-petsby youzhoujiMrLiu
Codex-compatible desktop pet for the DeepSeek Harness web GUI: animated pets that follow the agent state|兼容 Codex 格式的 DSH 桌面宠物:随智能体状态变化的动画宠物
★ 0
MIT
TypeScript
Aug 16, 2026
dsh plugin --profile web add dsh-codex-compatible-pet