Skip to content

Commit 3dfa33c

Browse files
committed
chore(release): v0.8.0
Claude-Session: https://claude.ai/code/session_019u3RKiNJY1sRknveHJy9iJ
1 parent 14ffec8 commit 3dfa33c

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## v0.8.0
2+
3+
[v0.7.7...v0.8.0](https://github.com/codetime-dev/codetime-cli/compare/v0.7.7...v0.8.0)
4+
5+
### :sparkles: Features
6+
7+
- **cli**: add Kimi Code (`~/.kimi`, `~/.kimi-code`) as a backfill source — reads both wire schemas (the newer `usage.record` lines and the older StatusUpdate payload), counts only turn-scoped records so cumulative session totals are not double-counted, and discovers `wire.jsonl` at both nesting depths - By [Jianqi Pan](mailto:jannchie@gmail.com) in [14ffec8](https://github.com/codetime-dev/codetime-cli/commit/14ffec8)
8+
9+
### :adhesive_bandage: Fixes
10+
11+
- **cli**: match a forked Codex rollout's replayed history against its parent's own usage stream instead of the same-second heuristic, which missed replays spanning several seconds and nested forks — the parent's usage (cached input especially) was being counted once per forked file (ccusage parity, #1435) - By [Jianqi Pan](mailto:jannchie@gmail.com) in [b575203](https://github.com/codetime-dev/codetime-cli/commit/b575203)
12+
- **cli**: count Claude `advisor_message` iteration tokens — an advisor call bills at its own model's rate and is not part of the enclosing `message.usage`, so those tokens were dropped entirely (ccusage parity, #1423) - By [Jianqi Pan](mailto:jannchie@gmail.com) in [22c9f80](https://github.com/codetime-dev/codetime-cli/commit/22c9f80)
13+
- **cli**: drop a re-emitted Codex `last_token_usage` snapshot when the cumulative `total_token_usage` did not advance — the previous dedup only caught consecutive repeats - By [Jianqi Pan](mailto:jannchie@gmail.com) in [137fe2a](https://github.com/codetime-dev/codetime-cli/commit/137fe2a)
14+
- **cli**: bump backfill state schema to v9 so the Codex/Claude token fixes re-apply to already-uploaded history on next sync (non-destructive re-parse + replace; Codex fork-heavy history will get *smaller*, which is the correction) - By [Jianqi Pan](mailto:jannchie@gmail.com) in [ff37d6d](https://github.com/codetime-dev/codetime-cli/commit/ff37d6d)
15+
116
## v0.7.7
217

318
[v0.7.6...v0.7.7](https://github.com/codetime-dev/codetime-cli/compare/v0.7.6...v0.7.7)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codetime-cli-workspace",
33
"type": "module",
4-
"version": "0.7.7",
4+
"version": "0.8.0",
55
"private": true,
66
"packageManager": "pnpm@11.1.2",
77
"scripts": {

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codetime-cli",
33
"type": "module",
4-
"version": "0.7.7",
4+
"version": "0.8.0",
55
"description": "codetime CLI — install AI-agent hooks (Claude Code, Codex, OpenCode, Pi) and report activity to codetime.dev.",
66
"license": "MIT",
77
"publishConfig": {

0 commit comments

Comments
 (0)