Repository navigation
Releases
v0.4.1
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Thoth v0.4.0
Highlights
- Project filter. A chip in the popover header picks one project or
"All projects". Every number follows it: today, periods, activity, models,
trends, the ranking and the heatmap. The menu is ordered by estimated cost,
shows the top 10 directly and the rest under "More". The choice is kept
between launches, and switching re-sums what is already in memory instead
of re-reading files. - Know how fresh the numbers are. The footer shows when the history was
last read ("Updated 2 min ago"). Reading for the first time, no history,
a folder that can't be read and a partial read each get their own notice,
so a failed read never looks like a real zero. - Approximate prices are marked. A model priced from the closest known
version of its family shows "≈" and the reference rates. A model from an
unknown family is counted in tokens and calls, marked "no known price",
and left out of the cost total, with a note saying so. - How activity is inferred. An info button in the activity section
explains that categories come from the tools each turn used, in which
order they are checked, and that they are not a measure of time or intent.
Fixes
- Resumed or forked sessions copy responses into another transcript file.
Each response is now counted once across all files (about 0.03% of the
cost on a real history), and always in the file where it first appears,
whatever the read order. - Timestamps without fractional seconds were not read, so those responses
were left out of the full scan. - A response without
message.idwas counted once per line; it now falls
back to the request id. - Cache writes reported only as the
cache_creationbreakdown counted as 0. - Responses without a timestamp are left out everywhere and counted as
skipped lines, instead of counting as today in one view only. - Sessions started in temporary folders (
/tmp,/var/folders, scratchpads)
and tool worktrees whose origin can't be told are grouped under
"Temporary folders" instead of each showing as a project.
Under the hood
- Log format compatibility tests: synthetic transcripts with malformed and
truncated lines, missing and unknown fields, unknown record types and
models, streaming repeats, subagents, compaction summaries, cache variants
and growing files, each read whole, in chunks and incrementally. - The README shows the popover (light and dark), rendered from synthetic
data withscripts/screenshots/capture.sh. docs/NOTARIZATION.mdrecords why the app is not notarised for now.
Performance
Synthetic benchmark (600 files, 946 MB), release build: the full cold scan,
the today summary and the incremental scans stay within 1% of v0.3.0.
Switching the project filter takes about 0.4 ms.
Compatibility
Unchanged: Universal app (Apple silicon and Intel), macOS 14 or later. The
app is still not notarised; the first launch needs the same steps as before.
Thoth v0.3.0
Thoth v0.3.0
Highlights
- New look. A monochrome redesign: dark greys with hairline borders,
monospaced labels and numbers, and colour only where it carries
information. Light mode follows the system. All colours, type and spacing
live in one place (Theme.swift). - New mark. The Thoth mark replaces the gauge in the menu bar, the
popover header (symbol and THOTH wordmark) and the app icon. - Quieter menu bar. The mark is full while Claude Code is working and
dimmed while it sleeps. It no longer pulses, so it costs nothing between
state changes. - Accurate output tokens. Each response is counted with its final output
tokens (see Fixes). Costs shown for past periods go up accordingly. - Lighter in the background. Idle CPU drops from about 5% to 0.5% of a
core, and the memory peak at launch is about 40% lower on a large history.
Fixes
- Claude Code streams a response over several lines with the same
message.id, and only the last one has the finaloutput_tokens. Thoth
counted the first line, so output tokens were undercounted by about 38% on
a real history (4.6-7.1% of the cost, depending on the period). Each
response now counts its final values, also when the lines arrive across
two reads. - The project ranking listed every git worktree, Horus parallel worktree,
<repo>-worktreesfolder and Claude Code scratchpad as a project of its
own. They now count under the project they belong to. A session is grouped
by its firstcwd, not the one in its last chunk. - Days, windows and the heatmap are rebuilt after a time zone change, and
daylight-saving days (23 h and 25 h) are tested. - The popover's scroll area had no fixed height and could shrink to a line
and a half; the turns column no longer truncates. - The interface is English-only, dates included.
Performance
Release build, real history (about 3,400 transcript files):
| v0.2.1 | v0.3.0 | |
|---|---|---|
| Idle CPU (one core) | ~5% | ~0.5% |
| Memory peak at launch | ~215 MB | ~116-136 MB |
| Today summary, per tick | 0.21 s | 0.005 s |
- The today summary walks the projects tree at most once a minute; in
between it only re-checks the files already written today. - The 5-minute scan reads only what was appended to a file that grew, instead
of re-reading it whole. - Transcripts are read in 256 KB chunks and listed with their attributes in
one pass per folder.
Compatibility
Unchanged: Universal app (Apple silicon and Intel), macOS 14 or later. Launch
at login keeps working; its login item is now named after the app's bundle
identifier, which is the same as before for Thoth.
Thoth v0.2.1
Thoth v0.2.1
Changes
- Menu bar icon matches the app icon. The menu bar now shows an open-arc
gauge (gauge.open.with.lines.needle.33percent) instead of the old sparkle,
so it matches the Thoth app icon. It still pulses while Claude Code is
active.
Compatibility
Unchanged from v0.2.0: Universal app (Apple silicon and Intel, no Rosetta
needed), macOS 14 or later.
Thoth v0.2.0
Thoth v0.2.0
Highlights
- Universal app. One download runs natively on Apple silicon and Intel Macs.
- Official prices, Claude 5 included. The built-in rate card now follows
Anthropic's API list prices (checked 2026-10-23) for Fable/Mythos 5 and 5.1,
Opus 4 to 5.5, Sonnet 4 to 5.5 and Haiku 3.5, 4.5 and 5.5, with separate
5-minute and 1-hour cache-write rates and the Haiku 5.5 long-prompt tier. - Each response counted once. Cost, tokens and calls are no longer
inflated by Claude Code's one-line-per-content-block logs. - Much faster scans. A cold scan of a large history drops from about 27 s
to under 2 s.
Fixes
- Claude Code repeats the same
message.idand usage on every content block
(thinking, text, tool use). Thoth summed all of them, inflating cost, tokens
and calls by about 1.9x on a real history. Each response is now counted once,
and the activity breakdown classifies a response by the tools on all of its
lines. - Every
claude-opus-4*model (4.5 to 4.8) was charged at Opus 4 rates
($15/$75 per MTok), about 3x the official $5/$25.claude-haiku-4*used
Haiku 3.5 rates instead of $1/$5. - Claude 5 model ids matched no price and showed as $0. Model ids are now
parsed into family and version; a version newer than the table uses the
closest known version of its family. - Incremental reads (today summary, active-session poll) skipped a line that
was still being written, losing that response for the day. - Sessions in folders with spaces, dots or underscores never updated live or
fed the burn rate. - "7 Days" and "15 Days" covered 8 and 16 calendar days; they now count today
as day one, like the 30-day window. The month-end projection no longer drops
day 1 on the 31st. - Thread-safety fixes in the background scan state.
Performance
Synthetic benchmark (600 files, 946 MB, 240k responses; Apple M4, release build):
| Scan | v0.1.2 | v0.2.0 |
|---|---|---|
| Full scan, cold | 26.9 s | 1.83 s |
| Full scan, 10 files grew | 530 ms | 64 ms |
| Today summary, cold | 2.59 s | 0.51 s |
| Today summary, append | 415 ms | 101 ms |
| Full scan, warm | 34 ms | 34 ms |
With four 118 MB files, the cold scan goes from 13.5 s to 0.93 s and the scan's
extra memory from +190 MB to +32 MB.
How: only lines that carry usage are JSON-decoded, files are read in 4 MB
chunks, timestamps are parsed directly, and changed files are parsed in
parallel on a cold start. Reproduce with
THOTH_BENCH=1 swift test -c release -Xswiftc -enable-testing --filter ScanBenchmark.
Compatibility
- Universal binary (
arm64+x86_64): runs natively on Macs with Apple
silicon and on Intel-based Macs, with no need for Rosetta. In Finder's Get
Info it shows as made for both a Mac with Apple silicon and a Mac with an
Intel processor (see Apple: If you need to install Rosetta on your
Mac). v0.1.x was Apple silicon only. - Requires macOS 14 Sonoma or later.
- Still not notarised: on first launch, allow it in System Settings >
Privacy & Security > Open Anyway (macOS 15+) or right-click > Open
(macOS 14). See the README.
Upgrade notes
- Costs shown will be lower than in v0.1.x. Responses are no longer
counted about twice, and Opus 4.5 to 4.8 usage is priced at the official
rates (about a third of what v0.1.x used). Your history did not change; the old
numbers were overstated. Usage of models v0.1.x didn't recognise (Claude 5)
now has a cost instead of $0, and Haiku 4.x is slightly higher. - Costs are API-equivalent estimates, not what a Claude subscription bills you.
- "7 Days" and "15 Days" are now exactly 7 and 15 days, including today.
- Replace the old app: quit Thoth, drag the new
Thoth.appto
/Applicationsand confirm the replacement.
v0.1.2
v0.1.1
v0.1.0
Full Changelog: https://github.com/carloscostadev/thoth/commits/v0.1.0