Skip to content

Decaf 0.2.0 — Claude Code + Codex, one daily brew

Choose a tag to compare

@AlanY1an AlanY1an released this 10 Sep 01:13
· 21 commits to main since this release

Codex token-count fix: update to v0.2.1. It rebuilds affected history from retained local logs after upgrading and reopening. No cache deletion needed.

Codex 漏算修复已在 0.2.1 提供。 升级并重新打开后会自动重算本机保留的日志,无需删除缓存。

Keep your Mac awake while Claude Code or Codex works, then see what your day — or month — brewed.

New in 0.2.0

  • Codex keep-awake, alongside Claude Code. Each tool holds independently; the menu identifies approximate detection.
  • Daily and monthly token statistics across both tools, with per-tool filters, cache details and import status.
  • Your brew: a local profile, recorded activity and monthly coffee cards. Profile cards hide token quantities by default.
  • Clearer updates: an Updates… entry with the installed version, release download and copyable Homebrew commands.
  • Accounting corrections, backups before history rebuilds, and native Apple Silicon + Intel app/helper binaries.

Upgrade from 0.1.0

First quit Decaf from its menu.

Homebrew:

brew update
brew upgrade --cask AlanY1an/decaf/decaf

Then open Decaf from Applications.

DMG: download Decaf-0.2.0.dmg below, open it, replace Decaf in Applications, and reopen the app. The DMG and enclosed app are signed, notarized and stapled. Requires macOS 14 or later.

Your settings, integration paths and existing left-click behavior stay in place. No uninstall is needed. First launch may rebuild statistics from available local logs; old usage stores are backed up first. Corrected counts can differ, and missing source logs cannot be restored. Do not clear application data or use uninstall --zap when upgrading.

0.1.0 cannot notify you about this update inside the app. Updates remain manual, without background requests. For future notifications, choose Watch → Custom → Releases on this repository.

Boundaries

Token totals include cached tokens and available local history; they are not account-wide billing or subscription limits. Codex activity detection remains approximate, including a file-activity grace window after a task ends. Lid closure and battery safeguards still apply.

Usage and upgrade guide · 中文使用与升级指南


中文升级说明

这次加入 Codex 自动保活、Claude Code + Codex 每日/每月统计,以及 Your brew 个人页和月卡。

先退出 Decaf。Homebrew 用户运行上面的两条命令;DMG 用户下载下方 Decaf-0.2.0.dmg,替换「应用程序」里的旧版,再重新打开。无需卸载,原有设置和集成会保留。首次导入会先备份旧用量文件,再重建可用历史,修正后的数字可能变化。

旧版没有自动更新通道,这次需要手动升级。以后可通过 GitHub 的 Watch → Custom → Releases 订阅新版本。