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

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/storage/storage/README.md
5
- README.md: 27034b7d3fa67216e777d31c54ceb96dc6c16338
6
- README.zh.md: 595070f2f2e5f7628063cfa442ea924becf3b4e8
5
+ README.md: edb833ad29d38df3225edad6296096ddbd69107f
6
+ README.zh.md: 1b39857099687a208f4644408ff9a9a3936a5847
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- Mount `dsh-storage` to give a composition durable, non-session storage: it is the hub where backends and data forms connect, so host packages can read and write typed records through `ctx.storageDomain`. The hub performs no IO itself — backends own the medium (a file-tree root, a database file), and data forms own semantics — so a composition pairs it with one or more backends and the domain form. It is optional and host-side only: it registers no tools, injects no prompts, and writes no session events, so the model and the agent loop never see it. Choose it whenever any package in the composition needs durable data that is not a session event log; a composition with no such data can omit the whole group.
12
+ Use `dsh-storage` to keep typed application data durable without adding it to session history. Mount it with a supported storage medium and domain configuration, then callers can access records through the public `ctx.storageDomain` API. Choose it for workspace records, session sidecars, or other application state that must survive restarts without becoming session events. It is available only to host code and has no model-visible effect; compositions that do not need such data can omit it.
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-storage` 即可为组合提供持久的非会话存储:它是后端与数据形式交汇的枢纽(hub),宿主包因此可以通过 `ctx.storageDomain` 读写类型化记录。枢纽自身不执行任何 IO——后端拥有介质(一个文件树根目录、一个数据库文件),数据形式拥有语义——因此组合会把它与一个或多个后端以及领域数据形式一起挂载。它是可选项,且只面向宿主侧:不注册工具、不注入提示词,也不写入会话事件,因此模型与 agent loop(智能体循环)永远不会看到它。只要组合中任何包需要会话事件日志以外的持久数据就选择它;没有任何此类数据的组合可以省略整个组。
12
+ 使用 `dsh-storage` 持久保存类型化应用数据,而不将其加入会话历史。将它与受支持的存储介质和领域配置一同挂载后,调用方即可通过公共 `ctx.storageDomain` API 访问记录。工作区记录、会话伴随数据或其他必须在重启后保留且不应成为会话事件的应用状态适合使用它。它仅供宿主代码使用,对模型没有可见影响;无需此类数据的组合可以省略它。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-storage",
3
3
  "description": "Storage hub (ctx.storage): named backend registry plus mounted data-form facilities for the DeepSeek Harness",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },