@braingrid/cli 0.2.6 → 0.2.7
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.
- package/CHANGELOG.md +20 -0
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.2.7] - 2025-11-11
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **Claude Code status line token usage accuracy**
|
|
13
|
+
- Fixed token stats displaying "0k tokens" instead of actual context usage
|
|
14
|
+
- Now parses transcript JSONL file to extract real token counts from API responses
|
|
15
|
+
- Extracts token usage from last assistant message in conversation transcript
|
|
16
|
+
- Sums all Anthropic API token types: input_tokens, output_tokens, cache_creation_input_tokens, cache_read_input_tokens
|
|
17
|
+
- Uses 160K tokens (80% of 200K context limit) as auto-compact threshold for percentage calculation
|
|
18
|
+
- Color coding now accurately reflects context usage: cyan (0-80%), yellow (80-90%), red (90-100%)
|
|
19
|
+
- Provides real-time visibility into actual Claude Code context consumption
|
|
20
|
+
|
|
8
21
|
## [0.2.6] - 2025-11-11
|
|
9
22
|
|
|
10
23
|
### Added
|
|
@@ -41,6 +54,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
41
54
|
- Return message simplified to show only next steps
|
|
42
55
|
- Better spacing and formatting for IDE setup prompts
|
|
43
56
|
|
|
57
|
+
- **Status line token usage display**
|
|
58
|
+
- Fixed token stats showing "0k tokens" instead of actual usage
|
|
59
|
+
- Now parses transcript JSONL file to extract real token counts from API responses
|
|
60
|
+
- Sums all token types: input, output, cache_creation, cache_read
|
|
61
|
+
- Uses 160K tokens (80% of 200K) as auto-compact threshold for percentage calculation
|
|
62
|
+
- Color coding now works correctly based on actual context usage
|
|
63
|
+
|
|
44
64
|
## [0.2.5] - 2025-11-11
|
|
45
65
|
|
|
46
66
|
### Fixed
|
package/dist/cli.js
CHANGED
|
@@ -422,7 +422,7 @@ import axios3, { AxiosError as AxiosError2 } from "axios";
|
|
|
422
422
|
|
|
423
423
|
// src/build-config.ts
|
|
424
424
|
var BUILD_ENV = true ? "production" : process.env.NODE_ENV === "test" ? "development" : "production";
|
|
425
|
-
var CLI_VERSION = true ? "0.2.
|
|
425
|
+
var CLI_VERSION = true ? "0.2.7" : "0.0.0-test";
|
|
426
426
|
var PRODUCTION_CONFIG = {
|
|
427
427
|
apiUrl: "https://app.braingrid.ai",
|
|
428
428
|
workosAuthUrl: "https://sensitive-harvest-60.authkit.app",
|