@skein-code/cli 0.3.11 → 0.3.13
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 +19 -1
- package/dist/cli.js +764 -168
- package/dist/cli.js.map +1 -1
- package/docs/ARCHITECTURE.md +28 -4
- package/docs/NEXT_STEPS.md +23 -19
- 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.13.tgz
|
|
86
90
|
```
|
|
87
91
|
|
|
88
92
|
To install the published package from npm:
|
|
@@ -404,6 +408,20 @@ 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
|
+
When a Skein tool reports changed files, the runner immediately invalidates and
|
|
412
|
+
atomically refreshes only those local-index paths before the next model turn;
|
|
413
|
+
headless and TUI runs share this boundary. External edits are reconciled from
|
|
414
|
+
file set, size, mtime, and ctime before retrieval, so even a same-size update
|
|
415
|
+
whose mtime was restored cannot turn a stale zero-hit result into evidence.
|
|
416
|
+
Repeated identical empty or unchanged `search_code` calls open the existing
|
|
417
|
+
recovery circuit instead of spending additional turns without new evidence.
|
|
418
|
+
|
|
419
|
+
Retrieval budgets are adaptive and treat `context.maxTokens` as a ceiling:
|
|
420
|
+
focused requests start at 2k estimated tokens, ordinary implementation/debug
|
|
421
|
+
work at 4k, cross-module work at 8k, and only explicit exhaustive repository
|
|
422
|
+
work can use 12k. The context receipt reports the chosen tier, reason, candidate
|
|
423
|
+
and selected hit counts, overlap drops, and evidence above the focused base.
|
|
424
|
+
|
|
407
425
|
To measure a local index change, run the reproducible benchmark with an explicit
|
|
408
426
|
query-to-relevant-file manifest:
|
|
409
427
|
|