dsh-whale-companion
界面增强 活跃维护

dsh-whale-companion

LeemanCheung/dsh-whale-companion

提供成长体系、成就系统与多款可选皮肤的原生桌面伴生工具,所有使用进度均本地加密存储,无隐私泄露风险,支持实时同步操作数据。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
1.7 MB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:LeemanCheung/dsh-whale-companion
git clone https://github.com/LeemanCheung/dsh-whale-companion.git
git clone git@github.com:LeemanCheung/dsh-whale-companion.git
README.md main

dsh-whale-companion

English | 中文

A local-first DSH companion that turns privacy-safe session activity metadata into a draggable whale, levels, streaks, statistics, twelve achievements, and six skins.

Screenshot

Whale Companion dashboard

Generated with GPT Image from the implemented Client layout and feature set; runtime appearance follows the active DSH theme and viewport.

Features

  • shell.overlay whale with persisted normalized position, viewport clamping, edge snapping, pointer drag, keyboard movement (arrow keys; Shift accelerates), and five-second live refresh.
  • Settings → Whale Home offers Chinese-localized level progress, statistics, all twelve locked/unlocked achievements, six skin swatches, clear busy/error notices, export, strict import, and reset.
  • Durable storageDomain state with serialized mutations and bounded idempotency checkpoints.
  • Six visual skins: ocean, coral, midnight, aurora, sunset, and nebula.
  • Semantic DSH theme tokens, reduced-motion support, and local packaged assets only.

Turns grant 10 XP, tool results grant 5 XP, and session starts grant 20 XP. Only user/message counts as a turn. Levels derive from XP and streaks from UTC session-start dates; Early Bird is earned before 06:00 UTC (not on a particular day of the month).

Privacy

The Host reads only session id, sequence, event type, and timestamp. It never reads, stores, exports, or renders prompt text, assistant output, code, paths, tool arguments, or tool results. Exported backups contain only the validated whale/v1 progress record.

Install

Install directly from GitHub into the DSH Web profile:

dsh plugin --profile web add github:LeemanCheung/dsh-whale-companion

Restart the existing DSH Web process and refresh its page.

Model Experience

This plugin adds no model prompt, tools, messages, token usage, or KV-cache content. It observes committed session event metadata on the Host and exposes browser UI only.

Known limitations

Progress is local to one DSH storage backend and is not synchronized between devices. The overlay polls every five seconds rather than receiving a dedicated progress event.

Development

From the repository root run corepack pnpm typecheck, corepack pnpm test, corepack pnpm build, and corepack pnpm pack:check.

MIT. See LICENSE.