Plugin directory / Developer / dsh-pet-corner
dsh-pet-corner
Unverified omdsh-dev
What it does
DSH Pet Corner: a floating pet, keyless pet-image proxy, favorites, and plugin-owned settings API
Unverified — not yet verified
DSH Pet Corner: a floating pet, keyless pet-image proxy, favorites, and plugin-owned settings API Not yet verified — install and test it yourself.
“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
@deepseek-ai/dsh-pet-corner
DSH 的轻量摸鱼角:右下角是一只可拖动的小猫,点击后可浏览猫、狗和狐狸图片、
猫咪知识与收藏。所有第三方请求都先经过宿主白名单代理,浏览器不会直接访问外站。
安装
# 已登录私有 npm registry
dsh plugin --profile web add @deepseek-ai/[email protected]
# 本地开发 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
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-pet-corner for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:omdsh-dev/dsh-pet-corner Headless (CLI) profile:
dsh plugin --profile headless add github:omdsh-dev/dsh-pet-corner Test report
Not yet L3-verified — see failure note below if we already ran it.
Note: 验证: install-fail (0.1.0-rc.6) Browse all pending failures →
When to use it
Extend the agent's coding surface — give it a new tool, workflow, or integration so it handles a dev task it couldn't before.
Who it's for
Developers who want dsh to behave like a teammate on real codebases — editing, running, and verifying changes rather than just answering.
For developers — extending it
The tool/command surface is the seam: expose more of the SDK, add smarter context wiring, or tighten the loop between code changes and verification.