@skein-code/cli 0.3.11 → 0.3.12
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 +11 -1
- package/dist/cli.js +484 -142
- package/dist/cli.js.map +1 -1
- package/docs/ARCHITECTURE.md +22 -4
- package/docs/NEXT_STEPS.md +9 -10
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -47,6 +47,10 @@ inspectable index for code retrieval and no retrieval service dependency.
|
|
|
47
47
|
model window. Skein keeps a token-budgeted head/tail receipt and, when the
|
|
48
48
|
producer captured the complete result, retains a redacted session-scoped
|
|
49
49
|
artifact for bounded readback.
|
|
50
|
+
- **Measurable token economy:** every model request records a privacy-safe
|
|
51
|
+
receipt for stable, dynamic, history, retrieval, tool-result, and tool-schema
|
|
52
|
+
estimates, alongside actual provider usage when available. Receipts retain
|
|
53
|
+
only counts and runtime decisions, never prompt or source content.
|
|
50
54
|
- **Reversible work:** Skein snapshots affected files before mutation without
|
|
51
55
|
touching your Git history.
|
|
52
56
|
- **Resumable by default:** conversations, tasks, usage, and changed files live
|
|
@@ -82,7 +86,7 @@ To build, verify, and install a local package artifact from this checkout:
|
|
|
82
86
|
|
|
83
87
|
```bash
|
|
84
88
|
npm run verify:package -- --output-dir artifacts/package
|
|
85
|
-
npm install -g ./artifacts/package/skein-code-cli-0.3.
|
|
89
|
+
npm install -g ./artifacts/package/skein-code-cli-0.3.12.tgz
|
|
86
90
|
```
|
|
87
91
|
|
|
88
92
|
To install the published package from npm:
|
|
@@ -404,6 +408,12 @@ are stale, moved, symlinked, binary, or outside the workspace. Retrieval is
|
|
|
404
408
|
evidence only: the model must still confirm factual claims with read or other
|
|
405
409
|
workspace tools.
|
|
406
410
|
|
|
411
|
+
Retrieval budgets are adaptive and treat `context.maxTokens` as a ceiling:
|
|
412
|
+
focused requests start at 2k estimated tokens, ordinary implementation/debug
|
|
413
|
+
work at 4k, cross-module work at 8k, and only explicit exhaustive repository
|
|
414
|
+
work can use 12k. The context receipt reports the chosen tier, reason, candidate
|
|
415
|
+
and selected hit counts, overlap drops, and evidence above the focused base.
|
|
416
|
+
|
|
407
417
|
To measure a local index change, run the reproducible benchmark with an explicit
|
|
408
418
|
query-to-relevant-file manifest:
|
|
409
419
|
|