@deepseek-ai/dsh-spill 0.1.3-alpha.2 → 0.1.5-alpha.2

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.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/spill/spill/README.md
5
- README.md: 27fef4a17aabf2eb9b55bd804ecdbf252353f539
6
- README.zh.md: 98c27ee70899fb1703284559c0056175420615b5
5
+ README.md: e05dad3f5ea8ed6956b426500f938ad7eba871e4
6
+ README.zh.md: 3bc9568bd22c9c3c80c11a7af187fb2c1791d809
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-spill` lets any plugin or tool save oversized text through `ctx.spillStore` and receive an opaque locator, the exact byte count, and retrieval guidance the model can act on. It defines what a spill backend does, not how it stores a deployment mounts a backend such as `dsh-spill-local` for real persistence, and the `dsh-spill-policy` plugin decides when a tool result is too large. Choose it when a deployment must keep oversized text retrievable without flooding the model's context. The service owns storage only: no retention policy, no tool-result replacement, and no retrieval or search API. A real storage failure rejects loudly, so the caller decides how to degrade.
12
+ `dsh-spill` lets plugins and tools save oversized text through the public `ctx.spillStore` API and receive an opaque locator, exact byte count, and retrieval guidance. Choose it when full results must remain retrievable without filling model context. Configure `dsh-spill-local` for local persistence, and add `dsh-spill-policy` when oversized tool results should become bounded previews. The API does not offer retention, replacement, retrieval, or search operations. A save rejects on storage failure, leaving the caller to keep the content inline or fail.
13
13
 
14
14
  ## Table of Contents
15
15
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- `dsh-spill` 让任何插件或工具都能通过 `ctx.spillStore` 保存过大的文本,并拿到一个不透明定位信息、精确的字节数与模型可以直接依据的取回指引。它定义 spill 后端做什么,而不规定如何存储——部署需要挂载 `dsh-spill-local` 之类的后端才能真正持久化,由 `dsh-spill-policy` 插件决定工具结果何时过大。当部署必须在不让模型上下文泛滥的前提下保留超大文本时,选择它。该服务只负责存储:没有保留策略、没有工具结果替换,也没有取回或搜索 API。真实存储故障会以拒绝结束,由调用方决定如何降级。
12
+ `dsh-spill` 让插件和工具通过公开的 `ctx.spillStore` API 保存超大文本,并取得不透明定位信息、精确字节数与取回指引。当完整结果必须保持可取回、同时又不能填满模型上下文时选择它。配置 `dsh-spill-local` 可获得本地持久化;当超大工具结果应变为有界预览时,再添加 `dsh-spill-policy`。该 API 不提供保留、替换、取回或搜索操作。存储故障会使保存操作拒绝,由调用方决定保留内联内容还是让操作失败。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-spill",
3
3
  "description": "Abstract spill storage seam (ctx.spillStore) for the DeepSeek Harness — save oversized tool text and return a retrieval locator",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,15 +27,15 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/dsh-brand": "^0.1.3-alpha.2",
31
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
32
- "@deepseek-ai/cordis": "^4.0.2",
33
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2"
30
+ "@deepseek-ai/dsh-brand": "^0.1.5-alpha.2",
31
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
32
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
33
+ "@deepseek-ai/cordis": "^4.0.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
37
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
38
- "@deepseek-ai/dsh-brand": "^0.1.3-alpha.2",
36
+ "@deepseek-ai/dsh-brand": "^0.1.5-alpha.2",
37
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
38
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
39
39
  "@deepseek-ai/cordis": "^4.0.2"
40
40
  }
41
41
  }