@skein-code/cli 0.3.9 → 0.3.11

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 CHANGED
@@ -43,6 +43,10 @@ inspectable index for code retrieval and no retrieval service dependency.
43
43
  source spans, and rebuild it explicitly when needed.
44
44
  - **Visible trust:** per-category permissions, deny rules, hooks, workspace path
45
45
  enforcement, changed-file telemetry, and persisted tool results.
46
+ - **Bounded tool context:** large tool results cannot crowd the task out of the
47
+ model window. Skein keeps a token-budgeted head/tail receipt and, when the
48
+ producer captured the complete result, retains a redacted session-scoped
49
+ artifact for bounded readback.
46
50
  - **Reversible work:** Skein snapshots affected files before mutation without
47
51
  touching your Git history.
48
52
  - **Resumable by default:** conversations, tasks, usage, and changed files live
@@ -78,7 +82,7 @@ To build, verify, and install a local package artifact from this checkout:
78
82
 
79
83
  ```bash
80
84
  npm run verify:package -- --output-dir artifacts/package
81
- npm install -g ./artifacts/package/skein-code-cli-0.3.9.tgz
85
+ npm install -g ./artifacts/package/skein-code-cli-0.3.11.tgz
82
86
  ```
83
87
 
84
88
  To install the published package from npm:
@@ -183,6 +187,19 @@ compacted session summary, and durable retrieval layer separately. Model-
183
187
  suggested durable memories can be reviewed with `/memory candidates` and then
184
188
  approved or rejected.
185
189
 
190
+ Tool output has three explicit boundaries. Shell capture is bounded while the
191
+ process runs; completed MCP responses are reduced to a 5 MiB adapter result
192
+ before entering the runner. This MCP boundary limits transcript amplification,
193
+ but it is not a process sandbox or a streaming transport limit. The runner then
194
+ uses the remaining session/context headroom to expose at most 1,024–8,192
195
+ estimated tokens to the model. An oversized result becomes a head/tail receipt
196
+ that preserves completion or failure state, exit code, changed files, original
197
+ size, and a SHA-256-bound `read_tool_artifact` continuation when the complete
198
+ captured result is available. Artifacts are redacted before persistence, belong
199
+ only to the originating session, expire after seven days, and are removed when
200
+ that session is deleted. A receipt marked `source-truncated` is honest about
201
+ bytes already omitted by the producing tool; those bytes cannot be recovered.
202
+
186
203
  At 96 columns and wider, a fresh session uses a two-column welcome surface. The
187
204
  left side keeps Skein's brand, workspace path, and next actions close to the
188
205
  composer; the right side reports the actual model, mode, local index file/chunk
@@ -499,8 +516,11 @@ Add both `.mosaic/` and `.skein/` to `.gitignore` unless the team intentionally
499
516
  shares a sanitized configuration file elsewhere.
500
517
 
501
518
  Session JSON also keeps a bounded audit trail of permission decisions, tool
502
- outcomes, changed files, and checkpoint ids. `skein session export` includes
503
- that trail in the Markdown export.
519
+ outcomes, changed files, checkpoint ids, and artifact receipts, never artifact
520
+ contents. `skein session export` includes the audit trail in the Markdown
521
+ export. Oversized result contents live separately under the active project
522
+ namespace's `tool-artifacts/` directory and are governed by session deletion,
523
+ expiry, per-item size, total-storage, and integrity checks.
504
524
 
505
525
  ## Development
506
526