gpo.zugaina.org

Search Portage & Overlays:

dev-util/ccusage-bin

ccusage, a token usage and cost analyser for Claude Code and other agents

Screenshots

ChangeLog

commit 499a0becce08ec05a50c29b26dc28f6e0aed5609
Author: lucascouts <lucascs@protonmail.com>
Date: Sun Sep 27 16:48:35 2026 -0300

app-editors/zed, dev-util/ccusage-bin: bump; md5-cache cleanup

- app-editors/zed: 1.23.0_pre20260926-r1 -> 1.23.0_pre20260927
- dev-util/ccusage-bin: 20.0.24 -> 20.0.26
- dev-util/claude-agent-acp-plus: add the missing 0.21.0 md5-cache entry
- drop md5-cache entries left behind by these bumps

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

commit 80b4aaeabc056a03d587604bb7e47e82deed2768
Author: lucascouts <lucascs@protonmail.com>
Date: Mon Sep 21 11:45:50 2026 -0300

add(metadata/{md5-cache/dev-db/sqlitebrowser-3.13.99_p20260921, md5-cache/dev-util/ccusage-bin-20.0.24, md5-cache/dev-util/crush-bin-0.96.0, md5-cache/dev-util/kilocode-bin-7.7.6, md5-cache/dev-util/mesa_clc-26.3.0_pre20260921, md5-cache/mail-mta/proton-mail-bridge-3.27.0, md5-cache/media-libs/mesa-26.3.0_pre20260921, md5-cache/media-libs/vulkan-layers-1.4.363_p20260921, md5-cache/sci-ml/ik_llama-cpp-0_pre20260921}), mod(.autoupdate/packages.toml), up(dev-db/sqlitebrowser-3.13.99_p20260920 -> 3.13.99_p20260921, dev-util/{ccusage-bin-20.0.23 -> 20.0.24, crush-bin-0.95.0 -> 0.96.0, kilocode-bin-7.7.5 -> 7.7.6, mesa_clc-26.3.0_pre20260920 -> 26.3.0_pre20260921}, mail-mta/proton-mail-bridge-3.26.0 -> 3.27.0, media-libs/{mesa-26.3.0_pre20260920 -> 26.3.0_pre20260921, vulkan-layers-1.4.363_p20260920 -> 1.4.363_p20260921}, sci-ml/ik_llama-cpp-0_pre20260920 -> 0_pre20260921)

commit 14d7823bd90004bfa2ffdc73920a7574443badad
Author: lucascouts <lucascs@protonmail.com>
Date: Fri Sep 18 16:40:22 2026 -0300

add(metadata/{md5-cache/app-editors/cursor-3.21.13, md5-cache/app-editors/vim-9.2.1119, md5-cache/app-editors/vim-core-9.2.1119, md5-cache/app-editors/zed-1.22.0_pre20260918, md5-cache/app-misc/claude-desktop-bin-2.2553.1, md5-cache/app-text/calibre-9.15.0, md5-cache/dev-python/openai-3.16.0, md5-cache/dev-python/tavily-python-0.8.4, md5-cache/dev-python/uv-bin-0.12.16, md5-cache/dev-util/ccusage-bin-20.0.23, md5-cache/dev-util/claude-code-2.1.277, md5-cache/dev-util/codex-0.155.0, md5-cache/dev-util/codex-bin-0.155.0, md5-cache/dev-util/codex-desktop-bin-26.915.31945, md5-cache/dev-util/copilot-cli-bin-1.0.86, md5-cache/dev-util/glslang-1.4.357.0_p20260918, md5-cache/dev-util/kilocode-bin-7.7.5, md5-cache/dev-util/mesa_clc-26.3.0_pre20260918, md5-cache/dev-util/openchamber-bin-1.24.1, md5-cache/dev-util/reviewdog-0.21.2, md5-cache/dev-util/spirv-headers-1.4.357.0_p20260917, md5-cache/dev-util/spirv-tools-1.4.357.0_p20260918, md5-cache/dev-util/vulkan-headers-1.4.363_p20260918, md5-cache/dev-util/vulkan-tools-1.4.363_p20260918, md5-cache/dev-util/vulkan-utility-libraries-1.4.363, md5-cache/media-libs/mesa-26.3.0_pre20260918, md5-cache/media-libs/vulkan-layers-1.4.363_p20260918, md5-cache/media-libs/vulkan-loader-1.4.363_p20260918, md5-cache/net-misc/postman-bin-12.28.6, md5-cache/sci-ml/ik_llama-cpp-0_pre20260918, md5-cache/sci-ml/localai-4.10.0, md5-cache/sci-ml/ollama-0.34.2, md5-cache/sci-ml/ollama-bin-0.34.2, md5-cache/www-client/brave-browser-1.95.104, md5-cache/www-client/chromium-153.0.8010.52}), mod(.autoupdate/packages.toml), up(app-editors/{cursor-3.20.21 -> 3.21.13, vim-9.2.1117 -> 9.2.1119, vim-core-9.2.1117 -> 9.2.1119, zed-1.22.0_pre20260917-r1 -> 1.22.0_pre20260918}, app-misc/claude-desktop-bin-2.110.1 -> 2.2553.1, app-text/calibre-9.14.0 -> 9.15.0, dev-python/{openai-3.14.1 -> 3.16.0, tavily-python-0.8.3 -> 0.8.4, uv-bin-0.12.15 -> 0.12.16}, dev-util/codex{,-bin}-0.154.0 -> 0.155.0, media-libs/{mesa-26.3.0_pre20260917 -> 26.3.0_pre20260918, vulkan-layers-1.4.362_p20260917 -> 1.4.363_p20260918, vulkan-loader-1.4.362_p20260915 -> 1.4.363_p20260918}, net-misc/postman-bin-12.28.3 -> 12.28.6, sci-ml/ollama{,-bin}-0.34.1 -> 0.34.2, www-client/{brave-browser-1.95.102 -> 1.95.104, chromium-153.0.8010.47 -> 153.0.8010.52})

commit cc5bb86636f61f6b58a0b053e599e5f7c6793cbb
Author: lucascouts <lucascs@protonmail.com>
Date: Thu Sep 17 22:25:23 2026 -0300

bump 24 packages; fix the tlottie/telegram-desktop static-link pin

Batch autoupdate sweep, plus three things the applier could not have done
on its own.

tlottie/telegram-desktop -- the proposed bump was wrong.
The autoupdate offered tlottie 0.1.0_pre20260908. Telegram v7.2.9's
prepare.py pins commit 31f1b542f8, dated 2026-09-11, and v7.2.9 newly
applies tlottie.patch from desktop-app/patches (pinned there at
519aaa0846). tlottie is linked STATICALLY into the Telegram binary, so a
wrong pin is an ABI mismatch with no soname to catch it. Bumped to
0.1.0_pre20260911 with files/tlottie-tdesktop-compat.patch (six hunks over
three files; verified with both `git apply --check` and eapply's own flag
set against a real checkout of the pinned commit), and revbumped
telegram-desktop to 7.2.9-r1 with the matching floor.

check-tlottie-pin.sh had a false negative.
Its detector anchored the category right after leading whitespace, so any
version-range prefix made the atom invisible and it reported "declares no
dependency on media-libs/tlottie". Widened the detector rather than
dropping the floor: the floor is the only thing that forces a rebuild on
someone who already has the old archive installed, precisely because the
linkage is static. Self-test grew 17 -> 23 assertions covering bare,
floored and slotted atoms as matches, and comment, blocker and
prefix-lookalike as non-matches.

uutils-coreutils-bin 0.12.0 changed its documentation source.
Upstream dropped the architecture-independent docs.tar.zst and now ships a
`uudoc` binary beside the payload. The ebuild derives the applet list from
`coreutils --list` and renders man pages and completions through uudoc,
which means the build host must be able to execute the target binary --
src_install dies with an explicit message when it cannot. Verified by
running the payload: all 106 applets render a man page and bash, zsh and
fish completions with no failure, and the completion sed anchors still
match.

dev-db/redis returns as an ahead-of-::gentoo mirror.
It was removed on 2026-09-07 because the ::gentoo ebuild had gained a zstd
USE flag this copy lacked. That is no longer true: the ebuild here is
byte-identical to ::gentoo's 8.10.1, zstd included, one release ahead at
8.10.2. The record carries the condition that closes it again -- drop it
once ::gentoo ships >=8.10.2.

Carried forward deliberately, not re-derived from a stale base:
mt7927-dkms -r1 (MT6639 BT firmware ungated from USE=btmtk, needed because
the kernel's own btmtk wants it) and nvidia-cuda-toolkit -r1 (GCC_MAX 15
-> 16, CLANG_MAX 21 -> 22, two targets/ globs fixed to ${narch} for
arm64/sbsa).

Verification, all local:
- pkgcheck on the 20 touched packages: no finding that is not also present
on the previous version.
- check-tlottie-pin.sh exits 0 (was 1); check-slot-naming-contract.sh and
check-autoupdate-damage.sh exit 0.
- gentoo-parity.sh: 0 ALIGN, 0 packages behind ::gentoo, [missing] 0,
[digest] 0, [orphans] 4 (the documented floor), and [cache] back from 14
to 0 -- the stale entries were the killed applier's leftovers.
- md5-cache _md5_ matches the ebuild md5sum for all 25 new ebuilds.

Nothing was merged or compiled: this host has no sudo and Portage reads
/var/db/repos/bentoo, not the checkout. The evidence above is fetch-and-
hash, static analysis and running the uutils payload -- not a build.

Pre-existing and left alone, outside this batch's scope:
sys-power/upower-1.91.4 installs a systemd unit with no OpenRC counterpart
(check-openrc-coverage.sh FAIL, from commit 43e3f0617), and
mail-client/thunderbird{,-l10n}-156.0 account for the sweep's remaining
2 UNDOCUMENTED and 1 REDUNDANT rows.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

commit 060b99e1aa2c86e15a0bd3a9d01acc3bb06dd3a3
Author: lucascouts <lucascs@protonmail.com>
Date: Thu Sep 10 23:07:09 2026 -0300

add(dev-util/ccusage-bin-20.0.20), add(metadata/md5-cache/dev-util/ccusage-bin-20.0.20), mod(.autoupdate/packages.toml)

ccusage reports token usage and spend for Claude Code and other agents. Not in
::gentoo, and GitHub publishes no Linux asset for it.

This is the third distinct shape an npm "CLI" can take, and the three are not
interchangeable. cline and kilocode wrap a per-platform binary; gemini-cli is
a self-contained JavaScript bundle; ccusage is a wrapper that REFUSES to run
without its native dependency, printing "ccusage native binary is not
available for linux-x64" and exiting 1. So the 20 KB "ccusage" package is not
the thing to package -- @ccusage/ccusage-linux-{x64,arm64} is, and the
autoupdate record probes that per-platform package so a version can never be
claimed unless the distfile the ebuild fetches exists at it.

The binary turns out to be static-pie and fully self-contained: no Node, no
JavaScript wrapper, nothing to launch it through. It therefore installs
straight to /usr/bin instead of the /opt-plus-symlink layout the other
prebuilt packages here need. npm ships it mode 0644, so doexe restores the
executable bit -- dobin would have installed it unusable.

Verified, not assumed: pkgcheck reports 0 findings; the package completed
`ebuild ... clean install` without root; and the installed /usr/bin/ccusage is
mode 0755 and executes, printing "ccusage 20.0.20".

Not verified: no merge onto the live system, so ownership is untested.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>