@codex-infinity/pi-infinity 0.62.1 → 0.62.2

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 CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ### Fixed
6
+
7
+ - Fixed RPC `get_session_stats` to expose `contextUsage`, so headless clients can read actual current context-window usage instead of deriving it from token totals ([#2550](https://github.com/badlogic/pi-mono/issues/2550))
8
+ - Fixed `pi update` for git packages to fetch only the tracked target branch with `--no-tags`, reducing unrelated branch and tag noise while preserving force-push-safe updates ([#2548](https://github.com/badlogic/pi-mono/issues/2548))
9
+
5
10
  ## [0.62.0] - 2026-03-23
6
11
 
7
12
  ### New Features
@@ -135,6 +135,7 @@ export interface SessionStats {
135
135
  total: number;
136
136
  };
137
137
  cost: number;
138
+ contextUsage?: ContextUsage;
138
139
  }
139
140
  export declare class AgentSession {
140
141
  readonly agent: Agent;