swaylq/dsh-digipet 预览 preview

swaylq/dsh-digipet

在DeepSeek Harness里孵一只数码兽:吃你的真实工作长大,数码宝贝式分支进化,零token、模型不知道它存在 | 数码兽式养成游戏,专为DSH设计——以你的真实工作为食,零token消耗。

Project Overview项目介绍

dsh-digipet is a native plugin built exclusively for DeepSeek Harness (DSH) that brings a Tamagotchi-style digital pet breeding experience to the DSH environment. To install the plugin, you can run the terminal command dsh plugin --profile web add github:swaylq/dsh-digipet, then restart your DSH instance. Once restarted, open any DSH session and run the slash command /pet hatch to start hatching your digital pet from an egg. The plugin tracks different types of work activity to add experience points (XP) to your pet, with different activities granting different XP values.

The pet evolves through seven distinct life stages, starting from a digital egg and ending at the ultimate level. Evolution direction is determined by the type of work you do: writing files and running commands leads to the dragon lineage, reading code and searching leads to the sage lineage, frequent chatting leads to the angel lineage, and lots of errors leads to the virus lineage. There are 22 total collectible forms including 3 hidden forms that can only be obtained under specific conditions. Users can interact with their pet through multiple slash commands to check status, rename, view collected forms, and review the pet's full growth history.

The plugin is released under the open source MIT license, has no external dependencies, and adds zero extra token overhead to your DSH sessions. It does not read any of your code or personal work content, only tracks the type of activity that occurred, and only writes to its own state file stored in $DSH_HOME/digipet/state.json. Known limitations include one pet per DSH home directory, shared across all profiles and sessions, and that the last write wins when multiple DSH processes are running at the same time. It has been fully tested on DSH version 0.1.0-rc.6 running on macOS.

这是一个专为 DeepSeek Harness(DSH)开发的原生插件,提供了类似初代电子宠物的养成玩法。它会监听你的工作活动,根据你写代码、读文档、报错等不同行为给宠物增加经验值,宠物的进化方向由你的实际工作方式决定。安装方式为运行dsh plugin --profile web add github:swaylq/dsh-digipet,重启 DSH 后输入/pet hatch即可开始孵蛋。

该插件完全对齐初代电子宠物的生命周期结构,从数码蛋到究极体共分为 7 个阶段,包含 4 条进化系谱和 3 个隐藏形态,总共有 22 种可收集形态。用户可以通过一系列斜杠命令查看宠物状态、修改名字、浏览图鉴、查看成长大事记。它适合想要给日常开发工作增加一点趣味的 DSH 用户使用。

本插件采用 MIT 许可开源,无额外依赖,也不会产生多余的 token 开销,它仅读取和写入自己的状态文件,不会读取用户的代码或工作内容,也不会请求网络。目前已知限制包括每个 DSH 家目录只能养一只宠物,所有配置文件共享同一只,多进程同时运行时后写入的存档会覆盖之前的。它已经在 DSH 0.1.0-rc.6 版本完成完整测试。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
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:swaylq/dsh-digipet

把 swaylq/dsh-digipet 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-digipet · 数码搭子

在 DeepSeek Harness 里孵一只数码兽 —— 它吃你的真实工作长大,数码宝贝式分支进化。

你写代码,它变成龙;你翻文档,它成为贤者;你天天报错……它会变成一条在一千万个进程里同时存在的东西。

license dsh-plugin deps tokens tests

中文 | English

蛋壳裂开了 ——

    ▗▄▚▚▄▖
   ▐ ◉  ◉ ▌
    ▝▚▄▄▞▘  。o

✨ 数码蛋 进化为 比特泡 Bitpop(幼年期Ⅰ)
「一颗刚立了 flag 的比特,还不知道自己要变成什么。」

进化仪式

30 秒上手

dsh plugin --profile web add github:swaylq/dsh-digipet
# 重启 dsh,然后在任意会话里:
/pet hatch

然后正常干活就行。每个完成的回合 +5 XP、你每条消息 +2、每次工具调用 +3、连报错都 +4。/pet 随时看它,/pet evolve 见证进化仪式。

它会变成什么,取决于你怎么干活

生命周期完整对齐初代育成机的正统结构:数码蛋 → 幼年期Ⅰ → 幼年期Ⅱ → 成长期 → 成熟期 → 完全体 → 究极体。从成长期起,每次进化都重新读一遍「这一阶段你实际怎么干活」来选系谱:

系谱 喂出它的方式 究极体
🐉 龙之系谱 写文件、跑命令 战铠龙皇 Wardrake Sovereign
📜 贤者系谱 读代码、查资料 天书贤神 Codex Deva
🕊️ 圣翼系谱 一句一句聊天 炽天使皇 Seraph Prime
👾 病毒系谱 在报错和事故里泡大 末日蛛皇 Doomweaver —— kill -9 只会让它分裂

3 个共通幼年形态 + 4 条系谱 × 4 阶段 + 3 个隐藏形态 = 22 格图鉴。系谱不锁死 —— 上一阶段是龙、这一阶段疯狂报错,它就转职病毒系谱。你的宠物最终长成什么样,就是你这段时间工作方式的镜子。

至于那三个隐藏形态,图鉴里只有一句谣传:

「谣传:吃撑的时候进化,会出事。」

初代玩家都知道这句话什么意思。有的错误能被爱救赎,有的错误会层层堆叠、越滚越高,最终成为某种祖传的存在(立绘的最后一行是 // 别动。)。

图鉴

命令

命令 作用
/pet 状态卡:立绘、XP、饱食度、心情、四维属性、累计吞食
/pet hatch 孵蛋(每个 DSH home 一只;蛋可进化时也可当仪式触发器)
/pet evolve 进化仪式
/pet name <名字> 起名(16 字以内)
/pet dex 图鉴(未见过的形态显示 ???,隐藏形态只给谣传)
/pet story 一生的大事记
/pet about 机制说明与信任立场

从 0.1.x 升级:旧存档(海洋生物图鉴)会在下次启动时自动无损迁移 —— 阶段、经验、四维、图鉴、大事记全部保留,历史形态一并映射到新图鉴。

为什么做这个

DSH 生态已经有二十多个桌宠插件(whale-girl、各家鲸鱼、Clippy、Live2D……),它们几乎都是状态镜像:agent 在思考,宠物做思考动作;任务完成,宠物欢呼。做得最深的 whale-girl 有资历等级和称号,但形象不会变,而且只活在 Web GUI 里。

没有一个是养成:没有孵化、没有阶段进化、没有「你的工作方式决定它长成什么」。dsh-digipet 补的是这一格 —— 初代育成机式的成长循环,宿主是你的 harness,饲料是你的真实工作。

吃撑了会犯困(饱食度 > 90% 时经验收益降到 15%),睡一会儿消化掉再继续吃 —— 这是天然的防刷机制。但老玩家都知道:撑着肚子的时候,千万别按进化。

原理

整个插件是四个事件监听 + 一个斜杠命令:

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

← 上一个 Prev dsh-plugin-meta-memory 下一个 Next dsh-plugin-security-review →