pythonshiyi/dsh-plugin-whalefeed0

dsh-plugin-whalefeed

DeepSeek 鲸鱼娘 Token 喂养桌宠:每个会话独立一只鲸鱼娘,随 token 消耗自动进食、肚子变大、阶段成长 | Feed a per-session whale girl with your token usage in DeepSeek Harness web UI

AI 分析

在网页端提供一只随 Token 消耗而自动进食、成长的鲸鱼娘桌宠。适合想要以趣味化、可视化方式观测 Token 消耗的用户。

パッケージ
dsh-plugin-whalefeed
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/08/15

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

行级配置

- insert:
    - id: plugin-whalefeed
      name: "dsh-plugin-whalefeed"
      config:
        position: bottom-right # bottom-right | bottom-left | top-right | top-left | {x: 20, y: 20}
        size: 96 # 桌宠尺寸 px(32-256,默认 96)
        opacity: 0.92 # 不透明度(0.2-1,默认 0.92)
        showTokenBadge: true # 头顶显示当前会话累计 token
        showStageName: true # 显示当前阶段名
        catchUpOnFirstSeen: true # 首次接入时是否把会话已有消耗一次性补记
        feedRatio: 1 # 1 token = 1 鲸粮;可调成长速度
        resetOnNewSession: false # 新建/首次见到的会话是否强制从 0 开始
        draggable: true # 是否允许拖动桌宠
        hostPersistence: true # 是否启用 Host 文件持久化(不可用时自动回退 localStorage)
        historyLimit: 50 # 喂食历史条数上限
        stages: [] # 自定义阶段,见下方说明

自定义阶段

stages 为空时使用内置默认阶段:

[
  { threshold: 0, belly: 0.75 },
  { threshold: 5000, belly: 1.0 },
  { threshold: 20000, belly: 1.35 },
  { threshold: 80000, belly: 1.75 },
  { threshold: 300000, belly: 2.2 },
];

可传 { threshold, belly, label? } 覆盖。插件会自动按 threshold 排序,并保证第一个阈值是 0。