@skein-code/cli 0.3.17 → 0.3.18

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.16`.
12
+ - Current repository version: `0.3.18`.
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.16.tgz`. The verifier writes
45
- its SHA-256 to `artifacts/package/skein-code-cli-0.3.16.tgz.sha256`, and CI
44
+ The latest verified package is `skein-code-cli-0.3.18.tgz`. The verifier writes
45
+ its SHA-256 to `artifacts/package/skein-code-cli-0.3.18.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,6 +54,24 @@ short-height case. The current full-suite count is recorded from the latest
54
54
 
55
55
  ## Recommended Order
56
56
 
57
+ ### P0-E: Token Economy measurement and bounded schema disclosure
58
+
59
+ Version `0.3.18` adds the repository-owned `token-economy-benchmark-v1`
60
+ deterministic replay. Its seven retrieval, large-output, CJK, and repeated
61
+ zero-hit fixtures compare the legacy ceilings with the adaptive budget and
62
+ firewall policies while requiring complete evidence and recovery coverage.
63
+ The replay reports a 36.7% estimated-input reduction; this is a deterministic
64
+ budget measurement, not a provider billing or task-success claim.
65
+
66
+ MCP tool definitions are now marked for progressive disclosure. Catalogs of
67
+ eight or fewer eligible tools remain fully visible; larger catalogs disclose a
68
+ deterministically ranked maximum of eight schemas. Selected schemas retain
69
+ their registry order and remain loaded for the current run, and Token Ledger
70
+ receipts record the deferred count. MCP tools remain `network` operations and
71
+ hidden tool calls remain rejected by the existing boundary. This release does
72
+ not defer MCP connection or remote `listTools` discovery and does not claim the
73
+ provider-cache or Context Compaction 2.0 follow-up work is complete.
74
+
57
75
  ### P0-D: Repository reuse and calibrated duplication enforcement
58
76
 
59
77
  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.17",
3
+ "version": "0.3.18",
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
+ "Large MCP catalogs now disclose at most eight request-relevant schemas per run while preserving network permissions",
20
+ "Token Ledger receipts report deferred progressive schemas and selected definitions remain stable across tool turns",
21
+ "A deterministic Token Economy replay benchmark guards evidence, output-firewall, and no-progress invariants",
19
22
  "Calibrated Type-1/2 duplication matches now block completion until reuse or exact audited suppression",
20
23
  "Type-3 duplication remains warning-only and Type-4 semantic equivalence remains explicitly unsupported",
21
24
  "Duplication benchmark fixtures report deterministic recall, precision, false-positive rate, and latency",
@@ -58,6 +61,7 @@
58
61
  "test:pty": "sh test/pty/run-visual.sh",
59
62
  "benchmark:context": "tsx scripts/benchmark-local-index.ts",
60
63
  "benchmark:duplication": "tsx scripts/benchmark-duplication.ts",
64
+ "benchmark:token-economy": "tsx scripts/benchmark-token-economy.ts",
61
65
  "verify:package": "node scripts/verify-package.mjs",
62
66
  "release:verify": "npm run check && npm run verify:package --",
63
67
  "typecheck": "tsc --noEmit",