keleus/deepseek-pet 预览 preview

keleus/deepseek-pet

Plugin插件 Native原生 ⭐ 49 MIT Pets & Fun桌宠与娱乐

在你的deepseek-harness上养一只吃白饭的大蓝鲸

Project Overview项目介绍

DeepSeek Pet is a native interactive desktop pet plugin built exclusively for the DeepSeek Harness (DSH) web interface. It automatically switches DeepSeek-themed expressions based on current task status, tool calls, context usage and active session count, and delivers a smooth Live2D-style experience with breathing, bouncing and other animations. You can install it directly from GitHub via the global DSH CLI or use npx if you don’t have the CLI installed globally, or clone the source code and build it locally for installation and debugging. Both installation methods add the plugin directly to your DSH web profile, and you only need to refresh the DSH web page after installation to activate it.

After installation, you can interact with the pet directly on the DSH web interface without any extra configuration. You can drag the pet to adjust its position, scroll the mouse wheel to resize it between 65% and 140% of its original size, click it to get a status-related text response, and double-click it to minimize it to the bottom right corner of the viewport. You can also approve or reject tool requests and respond to user prompts directly from the pet’s status bubble, which adds a fun visual layer to your DSH workflow. It is designed for all DSH web interface users who want a more playful interactive experience.

This plugin is released under the open source MIT license, which means you can use, modify and distribute it freely as long as you retain the original copyright notice. To develop or modify the plugin locally, you need Node.js 22.19 or newer, the pnpm package manager, and Python 3 with Pillow installed for processing expression assets. It supports narrow screen layouts and respects system preferences for reduced motion, and you can configure the display mode and toggle specific actions in the DSH settings panel for free with no locked features.

DeepSeek Pet是专为DeepSeek Harness(DSH)网页端开发的交互式桌宠原生插件,它会根据DSH当前的任务进度、工具调用状态、上下文占用率和活跃会话数量自动切换DeepSeek形象的表情,还通过呼吸、弹跳、倾斜等多种动画效果呈现Live2D风格的交互体验。安装方式简单,既可以通过全局dsh CLI或npx直接从GitHub拉取安装到网页配置文件,也可以克隆源码本地构建后安装调试。

安装完成后刷新网页即可启用,用户可拖动桌宠调整显示位置,滚动鼠标滚轮在65%到140%范围内调整尺寸,单击触发对应状态的互动反馈、双击最小化到右下角,还能直接在桌宠的气泡中批准或拒绝工具调用请求,直接响应用户问题。它面向所有使用DSH网页端的用户,为枯燥的编码助手交互增添趣味互动感,同时还能直观展示当前任务和上下文的状态。

该插件采用MIT许可证开源,开发依赖Node.js 22.19及以上版本、pnpm包管理器,处理表情素材还需要Python 3和Pillow库。它支持窄屏布局和系统偏好的减少动效设置,用户可在DSH设置面板配置桌宠的展示模式和动作开关,所有功能完全免费使用,没有额外的隐藏收费或功能限制。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 49 stars - an early-stage project星标 49,属于早期项目
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 github:keleus/deepseek-pet

把 keleus/deepseek-pet 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DeepSeek Pet 插件

DeepSeek Pet 是一个嵌入 DeepSeek Harness 网页的交互式桌宠插件。它会跟随当前任务、 工具调用、上下文占用和活跃会话自动切换 DeepSeek 表情,并通过呼吸、弹跳、倾斜、 视差和淡入动画呈现 Live2D 风格效果。

角色使用完整表情图切换,不拆分头部、手脚或五官图层,避免部件错位和表情突变。

DeepSeek Pet 网页内运行效果

功能

  • 角色上方用与 Pet 等宽的气泡轮播状态短句,并以单行横向打字机效果跟随最新输出;无任务活动时 10 秒后自动隐藏;
  • 角色下方用横条显示聚焦会话并以亮边标记,正在执行的会话向下排列,超过三个时自动层叠收起;
  • 多个会话并行执行时进入“忙疯了”状态;
  • 根据分析、回答、编码、网络搜索、子 Agent、完成和失败等场景切换表情;回答阶段轮换敲电脑、思考和认真核对等工作形象,思考阶段轮换不同状态标签;
  • 工具等待批准时,可直接在气泡中允许或拒绝;
  • 用户问题支持选项、自定义输入、提交和拒绝;
  • reasoning 中疑问较多时显示困惑或压力表情;
  • 用户指出回答有误时显示道歉表情;
  • 上下文达到 62% 时提示“还可以再吃一点”,达到 82% 时显示“吃饱了”;
  • 图片输入时显示蒙眼状态;
  • 无任务 10 分钟显示饿了,30 分钟抱枕犯困,1 小时后睡觉;
  • 待机、思考、回复、成功、等待、错误和干饭等动作按累计时间稳定轮换,不会因重渲染随机跳图;
  • 设置页可按动作组启用或停用具体图片,每组至少保留一张;思考和执行工具时会在工作与白米饭动作间稳定交替;
  • 根据本地时间显示早上、中午、下午和晚上的问候,23 点后犯困,凌晨进入睡觉状态;
  • 鼠标移入角色时,在角色脚下显示“−”最小化按钮;
  • 支持拖动角色、单击互动、双击折叠;鼠标悬停角色时可用滚轮缩放,并记住位置和尺寸;
  • 支持窄屏布局和 prefers-reduced-motion;
  • 设置面板新增「桌宠设置」页(界面样式与页面设计系统一致),可配置动作图片,并提供两种展示模式:
    • 默认:保持当前展示方式不变;
    • 页面置顶:桌宠固定在视口右下角,悬浮在当前网页所有内容(包括弹窗)之上。

兼容性

本插件面向当前的 DeepSeek Harness Web 客户端(DSH 0.1.7 系列及以上)。 Harness 把会话数据拆到了多个客户端面上,插件按新的分工读取:

  • 聚焦会话 = 会话列表里被主视图保留的那一行(retainedBy.mainView),不再读取已移除的 sessions.list.current;
  • 会话正文(用户消息、assistant 流式输出、执行中的工具调用)来自 Conversation 的 chat 目标:uiConversation.binding(id).target('chat') 的 legacy 切片;
  • 等待确认 / 提问来自 uiSession.sessionStatus 的 pendingInteraction(approval / plan-review / question);
  • 点击会话改用 uiWorkspace.openSession(id),不再调用已移除的 sessions.open。

服务不可用时会自动降级(例如没有 uiConversation 时只显示状态、不显示正文),不会抛错。 升级 Harness 后请重新安装本插件,确保拉到的是匹配当前客户端 API 的版本。

安装

安装需要 Node.js 和 pnpm。如果已经全局安装 dsh,运行:

dsh plugin --profile web add github:keleus/deepseek-pet

没有全局 dsh 命令时,无需额外安装 CLI,直接通过 npx 执行:

npx @deepseek-ai/dsh plugin --profile web add github:keleus/deepseek-pet

两种命令效果相同,都会从 GitHub 拉取插件并安装到 Web profile。

安装完成后启动或重新启动网页。全局 CLI:

dsh web

npx:

npx @deepseek-ai/dsh web

如果网页已经打开,请刷新页面。

拉取源码后安装

git clone https://github.com/keleus/deepseek-pet.git
cd deepseek-pet
npm install
npm run build
dsh plugin --profile web add .

如果没有全局 CLI,将最后一条命令替换为:

npx @deepseek-ai/dsh plugin --profile web add .

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev ax-feishu-bridge 下一个 Next dsh-nested-followups →