@skein-code/cli 0.3.20 → 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.
- package/README.md +17 -11
- package/dist/cli.js +263 -85
- package/dist/cli.js.map +1 -1
- package/docs/NEXT_STEPS.md +29 -9
- package/package.json +8 -1
package/docs/NEXT_STEPS.md
CHANGED
|
@@ -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.
|
|
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.
|
|
45
|
-
its SHA-256 to `artifacts/package/skein-code-cli-0.3.
|
|
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.
|
|
@@ -54,7 +54,7 @@ short-height case. The current full-suite count is recorded from the latest
|
|
|
54
54
|
|
|
55
55
|
## Recommended Order
|
|
56
56
|
|
|
57
|
-
### P0-C: Local Context Engine v2 foundations
|
|
57
|
+
### P0-C: Local Context Engine v2 foundations (complete in 0.3.21)
|
|
58
58
|
|
|
59
59
|
Version `0.3.19` moves the persisted local index to schema v3 and records
|
|
60
60
|
TypeScript compiler AST definitions, calls, and relative import facts beside
|
|
@@ -76,9 +76,19 @@ expanded run failed its preselected useful-token threshold at `0.348`; the
|
|
|
76
76
|
implementation reached `0.729` while Recall@5/10/20 and MRR remained `1.0`,
|
|
77
77
|
stale-hit rate stayed `0`, warm p95 was below 10 ms, and incremental indexing
|
|
78
78
|
reused every fixture file. Git-recency is now a bounded, isolated tie-break
|
|
79
|
-
with exact HEAD-bound cache invalidation and non-Git degradation.
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
with exact HEAD-bound cache invalidation and non-Git degradation. Version
|
|
80
|
+
`0.3.21` completes the milestone with current-run diagnostics ranking, Python
|
|
81
|
+
absolute/relative module adjacency, and explicit diversity-packing coverage.
|
|
82
|
+
Diagnostics require real nonzero, non-truncated process output; they expire on
|
|
83
|
+
success or a new run, are never persisted, and cannot create a zero-relevance
|
|
84
|
+
hit. Python and SQL intentionally retain bounded offline syntax adapters rather
|
|
85
|
+
than claiming compiler-equivalent AST coverage.
|
|
86
|
+
|
|
87
|
+
An isolated full Skein corpus calibration covered 206 files and 2,457 chunks:
|
|
88
|
+
cold indexing took 558.826 ms, an unchanged incremental pass reused all 206
|
|
89
|
+
files in 54.508 ms, and five representative queries took 77.205–88.359 ms with
|
|
90
|
+
the intended module ranked first. This is a reproducible scale calibration for
|
|
91
|
+
the repository, not a universal latency claim for every production workspace.
|
|
82
92
|
|
|
83
93
|
### P0-E: Token Economy measurement and bounded schema disclosure
|
|
84
94
|
|
|
@@ -98,6 +108,15 @@ hidden tool calls remain rejected by the existing boundary. This release does
|
|
|
98
108
|
not defer MCP connection or remote `listTools` discovery and does not claim the
|
|
99
109
|
provider-cache or Context Compaction 2.0 follow-up work is complete.
|
|
100
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
|
+
|
|
101
120
|
### P0-D: Repository reuse and calibrated duplication enforcement
|
|
102
121
|
|
|
103
122
|
Version `0.3.14` added the prompt ladder and pre-write `ReuseReceipt`. Version
|
|
@@ -245,8 +264,9 @@ Implementation progress:
|
|
|
245
264
|
- Size/mtime/ctime reconciliation closes the direct-new-query zero-hit window;
|
|
246
265
|
repeated empty or unchanged searches stop through the recovery circuit.
|
|
247
266
|
- The v2 fixture is an enforced regression test, including a graph-only import
|
|
248
|
-
neighbor and a no-stale-hit gate.
|
|
249
|
-
|
|
267
|
+
neighbor and a no-stale-hit gate. Git recency, current-run diagnostics,
|
|
268
|
+
Python module adjacency, diversity packing, and repository-scale calibration
|
|
269
|
+
complete the P0-C acceptance scope in `0.3.21`.
|
|
250
270
|
|
|
251
271
|
### P1: Multi-Agent Scheduler And Team UX
|
|
252
272
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skein-code/cli",
|
|
3
|
-
"version": "0.3.
|
|
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,13 @@
|
|
|
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",
|
|
22
|
+
"Failed configured verification output yields bounded current-run diagnostic ranking without persisting paths",
|
|
23
|
+
"Diagnostic hints cannot create zero-relevance hits and are cleared on success or the next agent run",
|
|
24
|
+
"Python absolute and relative module imports now contribute deterministic offline graph adjacency",
|
|
25
|
+
"Context provenance exposes the diagnostic score alongside graph and isolated Git recency signals",
|
|
19
26
|
"Local index v3 records TypeScript AST definitions, calls, and relative import adjacency for graph-assisted retrieval",
|
|
20
27
|
"Context hits expose generation, content hash, matched terms, and bm25/path/symbol/phrase/graph score provenance",
|
|
21
28
|
"Context benchmark v2 locks multilingual recall, MRR, useful-token, stale-hit, incremental-index, and warm-latency gates",
|