Releases: ttthree/tokmon
Releases · ttthree/tokmon
v0.2.6
Added
- Request-time
usageEventsattribution for Claude Code, Codex, and
Eureka fallback token sources, enabling long sessions to be counted on
the days their model requests actually occurred.
Changed
- Dashboard date filters, timelines, burn clock, project activity, and
model-cost breakdowns now use request-level usage events instead of
session start time. - Corpus golden snapshots now include request-level token/cost events and
updated aggregate totals.
Fixed
- Parser cursor schema invalidation now forces unchanged files to be
re-read after request-level attribution changes, backfilling event data
without manual cache clearing.
v0.2.5
Release v0.2.5
v0.2.4
Release v0.2.4
v0.2.3
Release v0.2.3
v0.2.2
Release v0.2.2
v0.2.1
Fixed
- Eureka SDK token loss for dotted
sdkCwd—encodeClaudeProjectPath()
now also replaces.with-(mirroring Claude Code's on-disk
encoding). Previously, sessions whosesdkCwdcontained a dotted
segment (e.g..craft-agent/...) silently logged 0 tokens / $0 on
incremental collects because the constructed CC jsonl path didn't
exist on disk. - Corpus golden generator (
parseAllPure) now dedupes by
${source}:${id}to mirrorcollect()'s keyed map. Without this,
workspaces reachable from two overlapping eureka source paths (legacy
.craft-agent/workspacesand new.eureka/workspaces) were
double-counted in the goldens but not at runtime. mars-e2etest timeout bumped from 20s to 60s, andfs.rmcleanup
now usesmaxRetries: 5, retryDelay: 100to tolerate Windows
file-handle locking.
v0.2.0
Added
- Machine filter in the dashboard header (renders only when ≥2
machines exist), threaded through session / totals / project filters. - New shared
IconDropdownportal-popover component used by the header
filters and (now) the theme picker. npm run dev:web(Vite) andnpm run dev:all(concurrent API + Vite)
scripts for HMR'd development of the dashboard.- Automated release workflow: merging a version-bump PR to
main
publishes to npm (with provenance), tagsv<version>, and creates a
matching GitHub Release.
Changed
- Header collapses into a single
h-8row: agent / machine / time
selectors, tabs, and refresh share one bar; the standalone "Token
Monitor" title is removed (theTOKMON v0.x.yeyebrow stays). ThemePickermigrated ontoIconDropdown, removing ~140 lines of
duplicated portal/menu code.
Fixed
selectedProjectnow resets against the filtered project set, so a
project that disappears under the current agent/machine combination
cannot silently keep narrowing the visible session list.
Removed
- Stray
@ttthree/tokmonself-dependency that pinned the package to a
pkg.pr.newpreview URL.