
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
DSH Web GUI 内的桌面宠物(QQ 宠物形态)
右下角悬浮的积累型伙伴:可拖拽、可投喂/玩耍,陪伴你的工作台脉搏——
完成任务/会话/活跃陪伴时长积累成资历等级、称号与回忆。
官方 bundle 插件 格式(仓库根 package.json 的 dsh.bundle + dsh.client)。经官方 profile 管理:
dsh plugin --profile web add "github:vlln/whale-girl#main" # 推荐:git 源一行(构建产物已入库)
# 或本地目录:dsh plugin --profile web add <whale-girl 本地路径>
装完 重启 web(bundle 层在启动时合成),右下角出现宠物:点击弹出菜单(🍗 喂食 / 🎾 玩耍),拖拽可移动;hover 显示状态条(资历等级/任务数/最近共同回忆)。初始配置/欢迎页(onboarding)宠物隐藏。
更新插件时 dsh plugin --profile web update whale-girl(或换 git 源 ref),重启生效。
| 你做什么 / 发生什么 | 宠物表现 |
|---|---|
| 拖拽宠物 | 被斜向拉扯(drag) |
| 点击菜单 🍗 喂食 / 🎾 玩耍 | 啃咬/抛接球(eat/play)→ 开心(joy) |
| 空闲 ≥60s | 打盹(sleep);互动时醒过来(wake) |
| 任务完成 / 升级 / 称号 / 回合完成 | 举手欢呼(celebrate) |
| 任务失败 / 请求出错 | 惊吓(error)→ 失落(disappointed) |
| 新会话开始 | 挥手欢迎(welcome) |
| 任一会话运行/思考中 | 沉思陪伴(think,偶尔 working 工作姿态) |
| 等待批准 | 期待等待(wait) |
| 周期游走 | 散步(walk) |
| 常态 | 待机(idle,随机眨眼/转身) |
完整状态机(优先级/转换语义/触发源)见 docs/state-machine.md。
desktop/ 是独立桌面伴侣应用(Node 引擎 + Tauri 渲染壳,零运行时依赖),把鲸鱼娘渲染到操作系统桌面常驻。不随 dsh plugin 安装——想要桌宠的用户自行启用:
# 前置:Node ≥18;桌面渲染壳需 Rust 工具链(cargo)
cd desktop
npm install # 引擎零依赖(无第三方包)
cd src-tauri && cargo build --release # 首次编译约 5-15 分钟;产物 target/release/whale-girl-desktop(约 12MB)
./target/release/whale-girl-desktop # 启动透明置顶桌宠(默认连本机 DSH 3080)
# WHALE_GIRL_BASE_URL=http://IP:PORT 指向非本机 DSH
# 无窗模式:cd desktop && npm run start:headless # presence 心跳 + 状态轮询 + SSE
/state、/events、/presence、/interact、/config、/assets),不改动插件本体;运行期间网页端宠物自动隐藏(presence 契约),退出或崩溃(TTL 45s 过期)后恢复。npm i -D electron 后可用)。desktop/DESIGN.md、desktop/BUILD-RUN.md。| 状态 | 触发 | 预览 |
|---|---|---|
idle | 常态待机 | ![]() |
working | 会话思考期随机工作插曲 | ![]() |
celebrate | 任务完成/升级/称号/回合完成 | ![]() |
error | 任务失败/请求出错 | ![]() |
disappointed | 失败后短时失落 | ![]() |
joy | 投喂/玩耍后开心 | ![]() |
eat | 点击投喂 | ![]() |
play | 点击玩耍 | ![]() |
drag | 拖拽中 | ![]() |
walk | 周期游走 | ![]() |
sleep | 空闲 ≥60s | ![]() |
wake | 睡醒过渡 | ![]() |
welcome | 新会话 | ![]() |
think | 会话思考陪伴 | ![]() |
wait | 等待批准 | ![]() |
参数经宿主 settings 配置,<dshHome>/settings.yaml 的 whale-girl: section(或设置 UI)修改后热生效免重启:
whale-girl:
enabled: true # 网页端渲染开关(与桌面伴侣并存时设 false 关闭网页端宠物,避免双宠物)
size: 110 # 宠物尺寸 px(64–160)
opacity: 1 # 常态透明度(0.2–1)
walk:
enabled: true # 游走开关
sleepAfterMs: 60000
完整配置项清单与语义层(XP/称号)封闭说明见 lib/src/config.mjs。语义层不可配(改 XP/称号阈值会破坏积累账本一致性)。
菜单「🎭 换角色」循环切换角色(或设置 localStorage whale-girl:character);manifest 仅 1 个角色时按钮置灰(悬停提示「暂无其他角色」)。每个角色提供全部 15 状态素材(素材全量契约,见 docs/sprites-spec.md);贡献新角色指南见 docs/adding-a-character.md。
whale-girl 是官方 bundle 插件格式的完整范本(dsh.bundle + cordis.patch.yml + lib/ 布局,随官方机制演进)——开发新插件可对照:
lib/(入口/纯逻辑/client/素材)与 docs/decisions/scripts 分离,见根 AGENTS.mdscripts/gates/run.mjs)+ 决策记录 + 素材全量契约;开发引导见 plugin-registry 的 plugin-registry-create skill 与 cookbook,踩过的坑见 gotchas欢迎提交 issue 和建议——你的反馈直接决定宠物的下一步:
verify-assets 验收decisions/)、门禁自证、单一性质提交(见 docs/AGENTS.md 与根 AGENTS.md)角色形象由 ZipZipPipe 创作(《鲸鱼娘》表情包角色),sprites 基于其角色设定生成。
MIT License
FAQs
DSH Web GUI 内的桌面宠物(QQ 宠物形态)
The npm package whale-girl receives a total of 0 weekly downloads. As such, whale-girl popularity was classified as not popular.
We found that whale-girl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.