@link-assistant/hive-mind 1.25.0 → 1.25.1

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 (2) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @link-assistant/hive-mind
2
2
 
3
+ ## 1.25.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 2a87d56: tests: expand unit tests for token accumulation logic (Issue #1313)
8
+
9
+ Added comprehensive unit tests for the token accumulation fix (Issue #1250)
10
+ that resolved the "Token usage: 0 input, 0 output" bug reported in Issue #1313.
11
+
12
+ New test coverage includes:
13
+ - End-to-end token display pipeline (accumulation → display format)
14
+ - Large token count handling (millions of tokens across many steps)
15
+ - NDJSON boundary cases (CRLF line endings, arrays, extra fields)
16
+ - Accumulator state isolation (independent accumulators)
17
+ - Exact reproduction of the Issue #1313 bug scenario
18
+ - Demonstration of why the streaming fix was necessary (concatenated JSON)
19
+
20
+ Total: 44 tests covering both `parseAgentTokenUsage` and streaming accumulation.
21
+
3
22
  ## 1.25.0
4
23
 
5
24
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@link-assistant/hive-mind",
3
- "version": "1.25.0",
3
+ "version": "1.25.1",
4
4
  "description": "AI-powered issue solver and hive mind for collaborative problem solving",
5
5
  "main": "src/hive.mjs",
6
6
  "type": "module",