Skip to content

Releases: ttthree/tokmon

v0.2.6

29 Apr 02:25
ccd2bcc

Choose a tag to compare

Added

  • Request-time usageEvents attribution 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

22 Apr 09:32

Choose a tag to compare

Release v0.2.5

v0.2.4

20 Apr 08:36
3f57d3c

Choose a tag to compare

Release v0.2.4

v0.2.3

19 Apr 13:03
aa462fa

Choose a tag to compare

Release v0.2.3

v0.2.2

18 Apr 22:50
603b2c2

Choose a tag to compare

Release v0.2.2

v0.2.1

18 Apr 14:33
65e1669

Choose a tag to compare

Fixed

  • Eureka SDK token loss for dotted sdkCwdencodeClaudeProjectPath()
    now also replaces . with - (mirroring Claude Code's on-disk
    encoding). Previously, sessions whose sdkCwd contained 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 mirror collect()'s keyed map. Without this,
    workspaces reachable from two overlapping eureka source paths (legacy
    .craft-agent/workspaces and new .eureka/workspaces) were
    double-counted in the goldens but not at runtime.
  • mars-e2e test timeout bumped from 20s to 60s, and fs.rm cleanup
    now uses maxRetries: 5, retryDelay: 100 to tolerate Windows
    file-handle locking.

v0.2.0

18 Apr 13:07
dd9d6df

Choose a tag to compare

Added

  • Machine filter in the dashboard header (renders only when ≥2
    machines exist), threaded through session / totals / project filters.
  • New shared IconDropdown portal-popover component used by the header
    filters and (now) the theme picker.
  • npm run dev:web (Vite) and npm 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), tags v<version>, and creates a
    matching GitHub Release.

Changed

  • Header collapses into a single h-8 row: agent / machine / time
    selectors, tabs, and refresh share one bar; the standalone "Token
    Monitor" title is removed (the TOKMON v0.x.y eyebrow stays).
  • ThemePicker migrated onto IconDropdown, removing ~140 lines of
    duplicated portal/menu code.

Fixed

  • selectedProject now 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/tokmon self-dependency that pinned the package to a
    pkg.pr.new preview URL.