Bundle
dsh-nba-pets
Unofficial basketball desktop pets for DeepSeek Harness
- Source
- lijian-888
- stars
- 2 stars
- License
- MIT
- Updated
- Updated 22 hours ago
Readme
# 🏀 dsh-nba-pets [English](#english) · [简体中文](#chinese) · [中文独立版](./README.zh.md) [](https://www.npmjs.com/package/dsh-nba-pets) [](https://github.com/deepseek-ai/deepseek-harness) [](./LICENSE) > Bring the energy of the court to DeepSeek Harness. Watch Curry 30 shoot while idle, switch to King 23 in one click, and understand what your AI tasks need just by looking at your pet. > > 把篮球赛场带进 DeepSeek Harness:让 Curry 30 在待机时练习投篮,一键切换 King 23,用宠物动作直观掌握 AI 任务状态。 --- <a id="english"></a> ## English `dsh-nba-pets` is an animated basketball desktop-pet collection built specifically for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness). It adds personality without replacing the conversation, sidebar, or input area. ### Why install it? - **Two switchable characters** — Curry 30 and the original King 23 tribute character. - **Your task status at a glance** — distinct animations for Needs input, Blocked, Ready, Running, and Idle. - **More than a decoration** — click the pet to inspect active tasks and jump directly to the matching DSH session. - **Feels at home on your desktop** — drag it anywhere, remember its position and character, or tuck it away and wake it later. - **Rich animation** — idle shooting, running, waving, jumping, waiting, blocked, working, review, and 16-direction pointer tracking. - **Accessible by design** — honors the system's reduced-motion preference. ### Install in under a minute Requirements: Node.js 22+, DeepSeek Harness `0.1.0-rc.5` to `<0.2.0`, and a DSH `web` profile. The profile is created automatically on first install. #### 1. npm — easiest and recommended If the `dsh` command is available, run: ```sh dsh plugin --profile web add dsh-nba-pets ``` This installs the tested, prebuilt package from the public npm registry. It is the best option for most users. #### 2. DSH source checkout — easiest for DSH developers If you run DSH directly from its source repository and do not have a global `dsh` command: ```sh cd /path/to/deepseek-harness corepack pnpm dsh plugin --profile web add dsh-nba-pets ``` Windows example: ```powershell cd D:\IDEA-Project\deepseek-harness corepack pnpm dsh plugin --profile web add dsh-nba-pets ``` #### 3. GitHub — install the latest repository source ```sh dsh plugin --profile web add github:lijian-888/dsh-nba-pets ``` GitHub installs build from source. With pnpm 10 or newer, the first attempt may ask you to allow the package build. Add the package to the profile's `pnpm-workspace.yaml`, then run the install command again: ```yaml allowBuilds: dsh-nba-pets: true ``` For reproducible installs, pin a trusted commit: ```sh dsh plugin --profile web add github:lijian-888/dsh-nba-pets#<commit-sha> ``` ### Start and verify Restart DSH after installation so it reloads the profile, then start the Web profile: ```sh dsh --profile web ``` Refresh the DSH page. Curry 30 should appear as a floating pet. Click it to switch characters or inspect task activity. To verify the plugin configuration: ```sh dsh --profile web --dump-config ``` The output should contain `# == dsh-nba-pets` and `id: nba-pets`. If your npm mirror has not synchronized the package yet, install from the official registry: ```sh dsh plugin --profile web add dsh-nba-pets --registry=https://registry.npmjs.org ``` ### Uninstall ```sh dsh plugin --profile web remove dsh-nba-pets ``` ### Develop locally ```sh git clone https://github.com/lijian-888/dsh-nba-pets.git cd dsh-nba-pets npm install npm run check dsh plugin --profile web add . ``` Useful commands: ```sh npm run build npm test npm run check ``` The build embeds both 1536×2288 RGBA WebP v2 atlases in the DSH client bundle, so installed pets do not depend on local asset paths or an extra HTTP server. ### Status behavior Task priority follows Codex Pets semantics: | DSH state | Pet behavior | Priority | |---|---|---:| | `pendingInteraction` | Waits for user input | 1 | | `lastAgentError` | Shows a blocked/error animation | 2 | | `completed` | Shows the ready/review animation | 3 | | `running` | Shows the working animation | 4 | | No activity | Shoots or looks toward the pointer | 5 | ### Notice This is an unofficial fan project and is not affiliated with or endorsed by the NBA, any team, or any player. NBA and team logos are excluded. King 23 is an original tribute character, not an exact portrait. See [THIRD_PARTY_NOTICES.md](./THIRD_PARTY_NOTICES.md). The pet floats inside the DSH Web application window. A browser plugin cannot create an operating-system-wide always-on-top window. --- <a id="chinese"></a> ## 简体中文 `dsh-nba-pets` 是专为 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 打造的篮球桌面宠物合集。它不会替换会话、侧栏或输入区,只是在 DSH 中增加一个能表达任务状态、也能陪你工作的篮球伙伴。 ### 为什么值得安装? - **两个角色随时切换**:Curry 30 与原创 King 23 致敬形象。 - **一眼看懂 AI 进度**:需要输入、受阻、已就绪、执行中和待机分别使用不同动作。 - **不只是装饰**:点击宠物即可查看活动任务,并直接进入对应 DSH 会话。 - **真正适合长期陪伴**:支持自由拖动、角色与位置记忆、收起和唤醒。 - **丰富篮球动作**:待机投篮、跑步、招手、跳跃、等待、受阻、工作、审阅及 16 向光标追踪。 - **尊重系统设置**:开启“减少动态效果”后自动改用静态帧。 ### 一分钟安装 环境要求:Node.js 22+、DeepSeek Harness `0.1.0-rc.5` 至 `<0.2.0`。首次安装时会自动创建 DSH `web` profile。 #### 方式一:npm 一键安装——最简单、最推荐 已经可以使用 `dsh` 命令的用户,只需执行: ```powershell dsh plugin --profile web add dsh-nba-pets ``` 这会从公共 npm 仓库安装已经构建和测试过的版本,适合绝大多数用户。 #### 方式二:从 DSH 源码目录安装——适合 DSH 开发者 如果你直接从 DeepSeek Harness 源码运行,没有全局 `dsh` 命令: ```powershell cd D:\IDEA-Project\deepseek-harness corepack pnpm dsh plugin --profile web add dsh-nba-pets ``` #### 方式三:从 GitHub 安装——体验仓库最新代码 ```powershell dsh plugin --profile web add github:lijian-888/dsh-nba-pets ``` GitHub 安装会在本地构建源码。pnpm 10 及以上版本首次可能要求放行构建:把下面内容加入 profile 的 `pnpm-workspace.yaml`,再重新执行安装命令。 ```yaml allowBuilds: dsh-nba-pets: true ``` 如需稳定复现,建议固定可信提交: ```powershell dsh plugin --profile web add github:lijian-888/dsh-nba-pets#<commit-sha> ``` ### 启动与验证 安装后重启 DSH,让它重新读取 profile,然后启动 Web profile: ```powershell dsh --profile web ``` 刷新 DSH 页面后,Curry 30 会出现在页面上。点击宠物即可切换角色或查看任务动态。 验证插件是否写入配置: ```powershell dsh --profile web --dump-config ``` 输出中应包含 `# == dsh-nba-pets` 和 `id: nba-pets`。 如果 npm 镜像尚未同步新版本,可直接指定官方源: ```powershell dsh plugin --profile web add dsh-nba-pets --registry=https://registry.npmjs.org ``` ### 卸载 ```powershell dsh plugin --profile web remove dsh-nba-pets ``` ### 本地开发安装 ```powershell git clone https://github.com/lijian-888/dsh-nba-pets.git cd dsh-nba-pets npm install npm run check dsh plugin --profile web add . ``` 常用开发命令: ```powershell npm run build npm test npm run check ``` 构建过程会把两套 1536×2288 RGBA WebP v2 动画图集直接嵌入 DSH 客户端包,安装后不依赖本地素材路径或额外的 HTTP 服务。 ### 状态规则 任务优先级遵循 Codex Pets 的状态语义: | DSH 状态 | 宠物表现 | 优先级 | |---|---|---:| | `pendingInteraction` | 等待用户输入 | 1 | | `lastAgentError` | 显示受阻或错误动作 | 2 | | `completed` | 显示已就绪或审阅动作 | 3 | | `running` | 显示任务执行动作 | 4 | | 无活动 | 投篮待机或看向光标 | 5 | ### 声明 这是非官方粉丝项目,与 NBA、任何球队或球员本人无隶属或背书关系。插件不包含 NBA 或球队标志。King 23 是原创致敬形象,并非真人精确肖像。详细说明见 [THIRD_PARTY_NOTICES.md](./THIRD_PARTY_NOTICES.md)。 宠物浮动在 DSH Web 应用窗口内;浏览器插件无法创建跨操作系统窗口的全局置顶宠物。 --- If this project makes your DSH workspace more fun, consider giving it a ⭐. 如果这个插件让你的 DSH 工作区更有趣,欢迎点一个 ⭐。
Install
dsh plugin --profile web add github:lijian-888/dsh-nba-pets#e25c546e22137763ee21f8606a77c94a87788725
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-nba-pets from the hub
- This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.