Skip to content

Releases: shiyubao78/token-sprite

Token 小精灵 / Token Sprite v0.6.1

Choose a tag to compare

@shiyubao78 shiyubao78 released this 08 Oct 07:54

积压了一个月的六个修复,一起发出来。
Six fixes that had been sitting for a month.

🩹 修好的 / Fixed

桌宠「消失」了 / The sprite vanished
窗口位置以前不记录,每次重启都跑到「当前鼠标所在那块屏」的右下角。接了外接显示器的话,它可能出现在你没看的那块屏上,于是满屏幕找。现在记住你把它放在哪,重启回原处;外接屏拔了、原位置不存在了,才回退到默认角落。
Window position is now remembered across restarts, with a fallback if that display is gone.

更新提醒没完没了 / Update nagging
点「稍后」以前什么都不记,而它每 6 小时查一次、重启还查——只要不更新就永远弹。现在说过「稍后」,24 小时内不再自动提醒同一个版本;你自己点「检查更新」照常回应。
"Later" is now remembered for 24 hours. Manual checks still respond immediately.

蛋的界面挂着羁绊徽章 / Bond badge on an egg
一颗 0% 的新蛋下面写着「Lv.1 初识」,语义是错的——羁绊是你和已化形精灵的关系。
The bond badge no longer shows while an egg is incubating.

图鉴里点已获得的精灵没反应 / Tapping an owned species did nothing
只要还有蛋在孵,主界面就锁死显示蛋,点精灵存了状态但界面不动。现在点了就能让它回到桌面,蛋在孵化器里继续吃 token。
Now it actually comes back to your desktop while the egg keeps incubating.

✨ 新增 / New

成就显示「还差多少」 / Achievement progress
以前只有一个空方框,不知道离目标多远。现在显示进度条和数字:0.42B / 1B、2 / 3 天。
(注意:成就算的是装上小精灵之后新增的用量,装之前的历史不计入——不然一装上成就就全解锁了。)
Unachieved milestones now show a progress bar. Note they count usage since install, not your lifetime total.

用量自查命令 / Self-check command
觉得哪个工具没统计到,跑 npm run doctor:它会打印扫了哪些目录、识别到几个文件、各工具读到多少用量。设过 CODEX_HOME 的话也会专门提醒——桌宠是图形界面启动的,读不到终端里的环境变量。
npm run doctor prints which directories were scanned and how much each tool contributed.

⬆️ 怎么升级 / How to update

用 agent 装的:跟它说「帮我把 token-sprite 更新到最新版」,数据不会丢。
下载安装的:取下面的 .zip 解压,拖进「应用程序」覆盖旧的。

macOS 首次打开记得右键点图标 → 选「打开」(未签名,只需这一次)。

Token 小精灵 / Token Sprite v0.6.0

Choose a tag to compare

@shiyubao78 shiyubao78 released this 03 Sep 03:16

这一版把成长日记从「只服务装了 CLI 的开发者」打开到「所有在用 AI 的人」。
This release opens the Growth Journal to everyone using AI — not just CLI users.

✨ 网页版 AI 也能用了 / Works with web-based AI now

以前成长日记要靠本机的 Claude Code / Codex 来分析,没装就用不了——
只用网页版豆包、ChatGPT 的人被挡在门外。现在可以借你正在用的那个 AI:

  1. 成长日记里点 「复制指令」
  2. 粘到你正在聊的那个 AI
  3. 把它的回答复制回来,按 ⌘⇧V 或拖到桌宠身上

它的对话上下文里本来就有你今天聊的内容,所以你不用复制任何原始对话。

The journal used to require a local Claude Code / Codex to analyze your day — if you
only use web-based AI, you were locked out. Now you can borrow whatever AI you're
already talking to: copy one prompt, paste it there, bring its answer back.
Its context already holds today's conversation, so you never copy the chat itself.

🥢 随手投喂 / Feed it anything

看到值得记的东西,选中拖到桌宠身上,或复制后按 ⌘⇧V。它会先攒着,
下次生成小结时和当天的对话一起消化——喂进去是秒回的,不会卡。

Drag selected text onto the sprite, or copy and hit ⌘⇧V. It holds onto those until
the next recap, then digests them together with the day's chats.

快捷键只在你按下那一刻读剪贴板,不做后台监听。常驻读剪贴板意味着看到你
复制的每一个密码和私信——不值得。
The shortcut reads your clipboard only at the moment you press it, never in the background.

🩹 修好的 / Fixed

图鉴里点已获得的精灵没反应 —— 只要还有蛋在孵,主界面就锁死显示蛋,
点精灵虽然存了状态但界面纹丝不动。根因是一个字段同时管着「谁在吃 token」和
「主界面显示谁」,现在拆开了。
Tapping an owned species in the Collection did nothing while any egg was incubating.

点锁着的格子完全静默 —— 分不清是坏了还是还没获得。现在会告诉你
「这只还没孵出来——继续用 AI 干活,攒够 token 就能遇到」。
Locked cells now explain themselves instead of silently ignoring your tap.

⬆️ 怎么升级 / How to update

用 agent 装的:跟它说一句「帮我把 token-sprite 更新到最新版」,数据不会丢。
下载安装的:取下面的 .zip 解压,拖进「应用程序」覆盖旧的。

macOS 首次打开记得右键点图标 → 选「打开」(未签名,只需这一次)。
First launch needs right-click → Open (unsigned build, once).

Token 小精灵 / Token Sprite v0.5.0

Choose a tag to compare

@shiyubao78 shiyubao78 released this 01 Sep 02:16

距离上一版 v0.4.2 攒了 20 个提交,这次一起发出来。
20 commits since v0.4.2.

🩹 修好的 / Fixed

桌宠点不动了 / The sprite stopped responding
日志越多越卡:~/.codex 到几个 GB 时,每次扫描要十几秒,而这十几秒里主进程是死的——点它没反应。现在扫描搬到后台进程,界面随时跟手。用得越多越卡这件事,正好把最活跃的用户挡在门外,这版修掉了。
Usage scanning moved off the main process. Heavy users with multi-GB logs had the UI frozen for 10+ seconds at a time.

收不到更新 / Updates never arrived
v0.4.2 发布时漏传了更新描述文件,装了的人一直收不到新版提示。这版修好了,以后会正常提醒。
v0.4.2 shipped without its update metadata, so installed builds never saw new versions. Fixed.

✨ 新增 / New

收起后也能拖 / Drag it while collapsed
缩成侧边探头后可以自由拖动,松手吸附到最近的一边,并记住你停在哪边——下次收起还回那儿。
Free-drag the collapsed peek; it snaps to the nearest edge and remembers which side.

一句话让 agent 装好 / One line to your agent
跟 Claude Code / Codex 说「帮我安装并运行 github.com/shiyubao78/token-sprite」,它会读仓库里的 AGENTS.md,把小精灵装成常驻 app——关掉终端不会消失,也会开机自启。以前 agent 常用 npm start 交差,那是开发态,终端一关桌宠就没了。
Your agent now installs it as a real app that survives closing the terminal and starts on login.

更新也不用记步骤 / Updates install themselves
git pull + npm install 之后会自动重装,装好的那份跟着更新。
npm install now reinstalls the app automatically after a pull.

📝 其它 / Also

  • 羁绊等级说明改成真实存在的变化——之前写了「开始用昵称叫你」「纪念日特别反应」这些还没实现的功能。
    Bond level descriptions now reflect what actually happens, instead of promising unimplemented features.

⬆️ 怎么升级 / How to update

用 agent 装的 / Installed via agent — 跟它说一句就行,数据不会丢:

帮我把 token-sprite 更新到最新版

下载安装的 / Downloaded — 取下面的 .zip 解压,拖进「应用程序」覆盖旧的。成长数据存在 app 外面,覆盖不受影响。
Grab the .zip below and replace the old app. Your growth data lives outside the bundle and is preserved.

macOS 首次打开记得右键点图标 → 选「打开」(未签名,只需这一次)。
First launch needs right-click → Open (unsigned build, once).

Token 小精灵 / Token Sprite v0.4.2

Choose a tag to compare

@shiyubao78 shiyubao78 released this 12 Aug 02:09

成长日记 / Growth Journal

新增「🧠 成长小结」:进窗口自动把你今天在 Claude Code / Codex 里的对话,交给你本机的 AI 回顾,给出今日知识点(带讲解)+ 待办(可编辑、可清空、同类合并、编辑不被覆盖)+ 历史回看。全程本地,数据只去你已经在用的那个 AI,不上传第三方。

A new Growth Journal: on open it hands today's Claude Code / Codex chats to your local AI and gives you today's takeaways (explained), editable to-dos, and daily history — fully local, nothing sent to a third party.

macOS 通用包(Intel + Apple Silicon),未签名,首次右键→打开。

Token 小精灵 / Token Sprite v0.4.1

Choose a tag to compare

@shiyubao78 shiyubao78 released this 11 Aug 14:39

🧠 成长日记 / Growth Journal

新增:不只烧 token,也帮你长本事。 打开「成长小结」,小精灵用你本机的 Claude / Codex 回顾今天和 AI 的对话,独立大窗口给你:知识点(把要点讲给你)、待办(你说过要做的事,可编辑/勾掉/清空,重新生成刷新但不覆盖你动过的)、每日回看(存本地,攒成成长轨迹)。

New: the Growth Journal. Your sprite reviews today's AI-coding chats through your own local AI and gives back takeaways to learn, editable to-dos it caught, and a daily history — all local, nothing uploaded to a third party.

macOS universal(Intel + Apple Silicon)。下载 zip 解压,未签名首次右键→打开。

Token 小精灵 / Token Sprite v0.4.0

Choose a tag to compare

@shiyubao78 shiyubao78 released this 07 Aug 09:55

English version 🌍 / 英文版

New: full English & 中文 bilingual. The whole app — panels, sprite lines, achievements, dialogs, even the tray menu — now speaks both. Switch anytime from the menu (Language / 语言); it follows your system language by default.

新增:整个应用中英双语。 界面、精灵台词、成就、弹窗、托盘菜单全都翻了。菜单里一键切「中文 / English」,默认跟随系统语言。

  • 6 English creature names: Sproutling · Shellkin · Emberling · Boltling · Frostwing · Cogbeast
  • Name follows your active creature; switching language never loses your custom name
  • English-first README for the overseas landing page

macOS universal build (Intel + Apple Silicon). Download the zip and unzip, or use the dmg. Unsigned — right-click → Open the first time.
未签名,首次打开右键→打开。

Token 小精灵 v0.3.9

Choose a tag to compare

@shiyubao78 shiyubao78 released this 07 Aug 06:47

本次更新

  • 🖼️ 界面一览焕新:README 里的界面总览图重做,淡绿渐变底 + 圆角截图 + 柔和投影,更精致
  • 🥚 孵化器展示更清晰:始终一颗蛋在养(绿框标记),其它蛋才显示「设为在养」按钮
  • 🐛 修复头部对齐:券徽章不再靠上,和「»」「⋯」在同一行居中

macOS 通用包(Intel + Apple Silicon)。下载 zip 解压,或用 dmg 拖入应用程序。未签名,首次打开右键→打开。

Token 小精灵 v0.3.8

Choose a tag to compare

@shiyubao78 shiyubao78 released this 07 Aug 05:49

Token 小精灵 v0.3.8(universal:Apple Silicon 与 Intel Mac 通用)

改进

  • 🥚 孵化器一键换养:孵化器首页里,每颗没在养的蛋下面直接有「设为在养」按钮,点一下就换过去养,不用再点进详情、滚到底。

安装:下载 zip → 解压 → 拖进「应用程序」。未签名,首次右键点图标 → 打开一次即可。已装旧版:菜单栏「检查更新」或下载覆盖,成长数据保留。

Token 小精灵 v0.3.7

Choose a tag to compare

@shiyubao78 shiyubao78 released this 06 Aug 09:06

Token 小精灵 v0.3.7

变更

  • 🧾 去掉「每日预算」提醒:大家都是订阅制,按 token 的预算 / 超支提醒没有意义。用量洞察里只保留 「约多少钱」 的花费估算(美元、粗略、单价可调),当作「你的用量值多少钱」的参考。
  • 🩹 用量面板改完单价后不再跳回顶部。

下载 zip → 解压 → 把「Token小精灵.app」拖进「应用程序」。未签名,首次打开请右键→打开。升级覆盖安装,成长数据保留。

Token 小精灵 v0.3.6

Choose a tag to compare

@shiyubao78 shiyubao78 released this 06 Aug 07:31

Token 小精灵 v0.3.6

在 v0.3.5「花费/额度」基础上的优化

  • 💵 花费改用美元显示:今日 / 近 7 天花费与每日预算都用 $(每百万 token 的单价可在面板里自己调,默认约 $1.3)
  • 📐 数字防折行:大额自动用 K / M 缩写(如 $11.1K),窄窗下花费卡片和设置行都单行整齐
  • 🧮 花费为粗略估算(输入/输出/缓存按混合价折算),仍是全本地、不联网

下载 zip → 解压 → 把「Token小精灵.app」拖进「应用程序」。未签名,首次打开请右键→打开。升级覆盖安装,成长数据保留。