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. 8. 15.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 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。