@skein-code/cli 0.3.21 → 0.3.22

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.
@@ -9,7 +9,7 @@ one of the milestones below.
9
9
 
10
10
  - Product name: `Skein`; primary executable: `skein`.
11
11
  - Compatibility executables: `mosaic` and `mosaic-code`.
12
- - Current repository version: `0.3.21`.
12
+ - Current repository version: `0.3.22`.
13
13
  - Runtime requirement: Node.js `>=22.16.0` (the runtime uses unflagged
14
14
  `node:sqlite` with FTS5, and current CLI/build dependencies require this
15
15
  Node 22 baseline).
@@ -41,8 +41,8 @@ npm audit --omit=dev
41
41
  npm run release:verify -- --output-dir artifacts/package
42
42
  ```
43
43
 
44
- The latest verified package is `skein-code-cli-0.3.21.tgz`. The verifier writes
45
- its SHA-256 to `artifacts/package/skein-code-cli-0.3.21.tgz.sha256`, and CI
44
+ The latest verified package is `skein-code-cli-0.3.22.tgz`. The verifier writes
45
+ its SHA-256 to `artifacts/package/skein-code-cli-0.3.22.tgz.sha256`, and CI
46
46
  retains the checksum beside the package metadata. The checksum is deliberately
47
47
  not copied into this packaged document because doing so would change the
48
48
  archive it describes.
@@ -108,6 +108,15 @@ hidden tool calls remain rejected by the existing boundary. This release does
108
108
  not defer MCP connection or remote `listTools` discovery and does not claim the
109
109
  provider-cache or Context Compaction 2.0 follow-up work is complete.
110
110
 
111
+ Version `0.3.22` normalizes provider-reported cache and reasoning usage across
112
+ streaming and non-streaming OpenAI, Anthropic, and Gemini responses. Token
113
+ Ledger receipts, cumulative session usage, and JSON/JSONL events retain cached
114
+ input, cache-write input, and reasoning counts when present, including explicit
115
+ zero values. The session schema remains compatible with older records. This is
116
+ measurement plumbing only: it does not enable provider cache controls, define a
117
+ stable cache key, defer MCP connection/discovery, run paid same-model task A/B,
118
+ or complete Context Compaction 2.0.
119
+
111
120
  ### P0-D: Repository reuse and calibrated duplication enforcement
112
121
 
113
122
  Version `0.3.14` added the prompt ladder and pre-write `ReuseReceipt`. Version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skein-code/cli",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "description": "A context-first, model-agnostic coding agent with an auditable terminal workspace.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -16,6 +16,9 @@
16
16
  },
17
17
  "skein": {
18
18
  "releaseNotes": [
19
+ "OpenAI, Anthropic, and Gemini usage now normalizes cached input, cache-write input, and reasoning tokens when reported",
20
+ "Token Ledger, session totals, and structured usage events preserve provider cache and reasoning counts without prompt content",
21
+ "Streaming, non-streaming, explicit-zero, and legacy-session compatibility paths are covered without claiming cache activation",
19
22
  "Failed configured verification output yields bounded current-run diagnostic ranking without persisting paths",
20
23
  "Diagnostic hints cannot create zero-relevance hits and are cleared on success or the next agent run",
21
24
  "Python absolute and relative module imports now contribute deterministic offline graph adjacency",