@skein-code/cli 0.3.7 → 0.3.8
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 +25 -1
- package/dist/cli.js +862 -188
- package/dist/cli.js.map +1 -1
- package/docs/ARCHITECTURE.md +38 -1
- package/docs/NEXT_STEPS.md +13 -12
- package/docs/PRODUCT.md +4 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -32,6 +32,11 @@ inspectable index for code retrieval and no retrieval service dependency.
|
|
|
32
32
|
|
|
33
33
|
- **Open automation:** text, quiet, JSON, and JSONL event modes are core
|
|
34
34
|
features, suitable for local scripts and CI.
|
|
35
|
+
- **Evidence-gated completion:** after a workspace edit, Skein only reports a
|
|
36
|
+
verified outcome when a current successful test, typecheck, lint, build,
|
|
37
|
+
configured check, or `git diff --check` tool result exists. Otherwise the
|
|
38
|
+
TUI and machine output say `unverified` or `verification_failed`, regardless
|
|
39
|
+
of what the model claims in prose.
|
|
35
40
|
- **Model ownership:** use four provider families without changing the agent or
|
|
36
41
|
session format.
|
|
37
42
|
- **Retrieval you control:** run the local BM25/path/symbol index, inspect its
|
|
@@ -73,7 +78,7 @@ To build, verify, and install a local package artifact from this checkout:
|
|
|
73
78
|
|
|
74
79
|
```bash
|
|
75
80
|
npm run verify:package -- --output-dir artifacts/package
|
|
76
|
-
npm install -g ./artifacts/package/skein-code-cli-0.3.
|
|
81
|
+
npm install -g ./artifacts/package/skein-code-cli-0.3.8.tgz
|
|
77
82
|
```
|
|
78
83
|
|
|
79
84
|
To install the published package from npm:
|
|
@@ -99,6 +104,13 @@ protocol or destination. OpenAI, Anthropic, and Gemini subscription logins are
|
|
|
99
104
|
not API credentials. Signed-in coding CLIs remain delegated tools rather than
|
|
100
105
|
primary model connections.
|
|
101
106
|
|
|
107
|
+
Before a new interactive session, Skein prepares the workspace before opening the composer. It
|
|
108
|
+
shows the real local index phases, reloads the persisted artifact, verifies its
|
|
109
|
+
generation and file/chunk counts, and only then enables chat. Later interactive
|
|
110
|
+
new sessions validate and reuse a current index or incrementally rebuild a stale one;
|
|
111
|
+
an empty workspace is a valid zero-file index, while failed validation offers
|
|
112
|
+
retry or exit instead of silently continuing.
|
|
113
|
+
|
|
102
114
|
For non-interactive setup, set credentials for one provider:
|
|
103
115
|
|
|
104
116
|
```bash
|
|
@@ -171,6 +183,13 @@ compacted session summary, and durable retrieval layer separately. Model-
|
|
|
171
183
|
suggested durable memories can be reviewed with `/memory candidates` and then
|
|
172
184
|
approved or rejected.
|
|
173
185
|
|
|
186
|
+
At 96 columns and wider, a fresh session uses a two-column welcome surface. The
|
|
187
|
+
left side keeps Skein's brand, workspace path, and next actions close to the
|
|
188
|
+
composer; the right side reports the actual model, mode, local index file/chunk
|
|
189
|
+
counts, permission posture, built-in tool count, Skills, MCP connections, and
|
|
190
|
+
memory state. Narrow terminals collapse to the same compact single-column flow,
|
|
191
|
+
and active team runs replace the workspace rail with Team Cockpit.
|
|
192
|
+
|
|
174
193
|
The default `/theme auto` follows
|
|
175
194
|
`SKEIN_APPEARANCE=light|dark` or a terminal `COLORFGBG` hint and otherwise uses
|
|
176
195
|
the dark-safe graphite palette. Cinder and Mono mirror the interactive prototype;
|
|
@@ -357,6 +376,11 @@ CJK token signals, then repacks verified spans under the configured token cap.
|
|
|
357
376
|
`skein index` is explicit and repeatable; `search`, `context`, and the agent
|
|
358
377
|
automatically load the local index and never start an external process.
|
|
359
378
|
|
|
379
|
+
Interactive startup additionally runs an explicit preparation gate: it checks
|
|
380
|
+
manifest freshness, performs an incremental build only when needed, reloads the
|
|
381
|
+
on-disk index, and verifies its generation and counts before the TUI accepts a
|
|
382
|
+
request. This is real progress rather than a decorative loading animation.
|
|
383
|
+
|
|
360
384
|
Index entries are constrained to configured workspace roots. Before a result is
|
|
361
385
|
packed into a prompt, Skein rechecks the current file and rejects entries that
|
|
362
386
|
are stale, moved, symlinked, binary, or outside the workspace. Retrieval is
|