usagebench 0.2.0 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +20 -5
  2. package/dist/anon.js +3 -2
  3. package/dist/audit.js +110 -64
  4. package/dist/cli.js +22 -4
  5. package/dist/compare.d.ts +2 -2
  6. package/dist/compare.js +19 -8
  7. package/dist/diff.js +9 -3
  8. package/dist/doctor.js +33 -4
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.js +17 -7
  11. package/dist/logs.js +20 -3
  12. package/dist/repro.js +6 -1
  13. package/dist/secrets.js +2 -2
  14. package/fixtures/claude/2.1.321_compaction-zeroed-usage.continued.expected.json +21 -0
  15. package/fixtures/claude/2.1.321_compaction-zeroed-usage.continued.jsonl +3 -0
  16. package/fixtures/claude/2.1.321_compaction-zeroed-usage.original.expected.json +21 -0
  17. package/fixtures/claude/2.1.321_compaction-zeroed-usage.original.jsonl +2 -0
  18. package/fixtures/claude/2.1.334_main.expected.json +21 -21
  19. package/fixtures/claude/2.1.334_main.jsonl +162 -162
  20. package/fixtures/claude/2.1.335_sidechain.expected.json +21 -21
  21. package/fixtures/claude/2.1.335_sidechain.jsonl +60 -60
  22. package/fixtures/claude/2.1.335_stream-abort-tool-error.expected.json +21 -21
  23. package/fixtures/claude/2.1.335_stream-abort-tool-error.jsonl +200 -200
  24. package/fixtures/claude/synthetic_duplicate-id-partial-usage.expected.json +22 -22
  25. package/fixtures/codex/0.160.0_compacted.expected.json +38 -38
  26. package/fixtures/codex/0.160.0_compacted.jsonl +200 -200
  27. package/fixtures/codex/0.171.0-alpha.13.2_subagent-forked.expected.json +38 -38
  28. package/fixtures/codex/0.171.0-alpha.13.2_subagent-forked.jsonl +154 -154
  29. package/fixtures/codex/0.173.0-alpha.4.1_basic.expected.json +38 -38
  30. package/fixtures/codex/0.173.0-alpha.4.1_basic.jsonl +200 -200
  31. package/fixtures/codex/synthetic_total-reset.expected.json +39 -39
  32. package/package.json +16 -2
@@ -1,38 +1,38 @@
1
- {
2
- "agent": "codex",
3
- "is_sidechain": true,
4
- "parent_session": true,
5
- "usage_lines": 8,
6
- "unique_messages": 8,
7
- "compacted_copies": 0,
8
- "rule": "codex_record_by_response_id",
9
- "token_count_events": 8,
10
- "token_count_naive": {
11
- "input": 623956,
12
- "output": 997,
13
- "cache_write": 0,
14
- "cache_read": 618496,
15
- "reasoning": 0
16
- },
17
- "token_count_dedup": {
18
- "input": 623956,
19
- "output": 997,
20
- "cache_write": 0,
21
- "cache_read": 618496,
22
- "reasoning": 0
23
- },
24
- "naive": {
25
- "input": 623956,
26
- "output": 997,
27
- "cache_write": 0,
28
- "cache_read": 618496,
29
- "reasoning": 0
30
- },
31
- "dedup": {
32
- "input": 623956,
33
- "output": 997,
34
- "cache_write": 0,
35
- "cache_read": 618496,
36
- "reasoning": 0
37
- }
38
- }
1
+ {
2
+ "agent": "codex",
3
+ "is_sidechain": true,
4
+ "parent_session": true,
5
+ "usage_lines": 8,
6
+ "unique_messages": 8,
7
+ "compacted_copies": 0,
8
+ "rule": "codex_record_by_response_id",
9
+ "token_count_events": 8,
10
+ "token_count_naive": {
11
+ "input": 623956,
12
+ "output": 997,
13
+ "cache_write": 0,
14
+ "cache_read": 618496,
15
+ "reasoning": 0
16
+ },
17
+ "token_count_dedup": {
18
+ "input": 623956,
19
+ "output": 997,
20
+ "cache_write": 0,
21
+ "cache_read": 618496,
22
+ "reasoning": 0
23
+ },
24
+ "naive": {
25
+ "input": 623956,
26
+ "output": 997,
27
+ "cache_write": 0,
28
+ "cache_read": 618496,
29
+ "reasoning": 0
30
+ },
31
+ "dedup": {
32
+ "input": 623956,
33
+ "output": 997,
34
+ "cache_write": 0,
35
+ "cache_read": 618496,
36
+ "reasoning": 0
37
+ }
38
+ }