@deepseek-ai/dsh-session-format-v2-to-v3 0.2.0-rc.2 → 0.2.1-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
@@ -51,8 +51,8 @@
51
51
  en: 2f9127759a38289f
52
52
  zh: d3c7b539f5e3c670
53
53
  /deepseek-ai-dsh-session-format-v2-to-v3/understand-the-implementation:
54
- en: 6d630626cd7a5017
55
- zh: 8312cc7bd3abcab6
54
+ en: 65a3f3ea2eeecc3e
55
+ zh: 5f3b0d5cd55c6baa
56
56
  /deepseek-ai-dsh-session-format-v2-to-v3/further-exploration:
57
57
  en: 2c07a2d0f6157c4a
58
58
  zh: db4910ffa738dd72
package/README.md CHANGED
@@ -155,7 +155,7 @@ Input already marked V3 does not run V2-to-V3. Native catalog reads with `valida
155
155
  <details>
156
156
  <summary>Implementation internals — click to expand</summary>
157
157
 
158
- The [stage](src/migration.ts) owns synchronous per-artifact sequence maps, message identity sets, and prompt/lifecycle state. Compact runs expand incrementally. The [codec](src/codec.ts) reuses frozen V2 framing; the [restorer](src/validation.ts) validates V3 structure before giving frozen ordinary relationship validation a private system/PTC/repair-id and endpoint view. That view retains the actual target generation for delivery checks and never escapes: restoration returns the original V3 artifact and identities. Frozen V0-to-V1 and V1-to-V2 semantics remain unchanged. No runtime invariant companion is published because this library owns no independently observable registrations or state replicas.
158
+ The [stage](src/migration.ts) owns synchronous per-artifact sequence maps, message identity sets, and prompt/lifecycle state. Compact runs expand incrementally. The [codec](src/codec.ts) reuses frozen V2 framing; the [restorer](src/validation.ts) validates V3 structure before giving frozen ordinary relationship validation a private system/PTC/repair-id and endpoint view. That view retains the actual target generation for delivery checks and never escapes: restoration returns the original V3 artifact and identities. Frozen V0-to-V1 and V1-to-V2 semantics remain unchanged.
159
159
 
160
160
  [Combined catalog tests](tests/combined-migration.spec.ts) exercise transformation composition and native reopen; [migration tests](tests/migration.spec.ts) and [canonical tests](tests/canonical-envelopes.spec.ts) pin preservation and refusal. [Persistence integration](../session-persistence-jsonl/tests/v2-ptc-migration.spec.ts) owns publication evidence. The [released-format decision](../../../.agents/notes/implemented/architecture/2026-08-31-released-session-format-migrations.md) owns the rationale for testing adjacent composition separately from native admission.
161
161
 
package/README.zh.md CHANGED
@@ -155,7 +155,7 @@ V2 `session-log-deepseek/delivery-accepted` 若携带 `data.sessionFormatVersion
155
155
  <details>
156
156
  <summary>实现细节 — 点击展开</summary>
157
157
 
158
- [阶段](src/migration.ts)拥有每份产物独立的同步序列映射、消息身份集合和提示词/生命周期状态。紧凑事件段增量展开。[编解码器](src/codec.ts)复用冻结的 V2 分帧;[恢复器](src/validation.ts)先校验 V3 结构,再向冻结的普通关系校验提供私有 system/PTC/修复标识与端点视图。该视图为投递检查保留实际目标代次,且绝不对外返回:恢复返回原始 V3 产物与身份。冻结的 V0 到 V1 和 V1 到 V2 语义保持不变。本库不拥有可独立观察的注册或状态副本,因此不发布运行时不变量伴随入口。
158
+ [阶段](src/migration.ts)拥有每份产物独立的同步序列映射、消息身份集合和提示词/生命周期状态。紧凑事件段增量展开。[编解码器](src/codec.ts)复用冻结的 V2 分帧;[恢复器](src/validation.ts)先校验 V3 结构,再向冻结的普通关系校验提供私有 system/PTC/修复标识与端点视图。该视图为投递检查保留实际目标代次,且绝不对外返回:恢复返回原始 V3 产物与身份。冻结的 V0 到 V1 和 V1 到 V2 语义保持不变。
159
159
 
160
160
  [组合目录测试](tests/combined-migration.spec.ts)验证转换组合与原生重新打开;[迁移测试](tests/migration.spec.ts)和[规范测试](tests/canonical-envelopes.spec.ts)固定保留与拒绝规则。[持久化集成](../session-persistence-jsonl/tests/v2-ptc-migration.spec.ts)负责发布证据。[已发布格式决策](../../../.agents/notes/implemented/architecture/2026-08-31-released-session-format-migrations.zh.md)负责将相邻组合测试与原生准入测试分开的依据。
161
161
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-session-format-v2-to-v3",
3
3
  "description": "Streaming system-prompt, canonical-envelope and PTC migration into V3",
4
- "version": "0.2.0-rc.2",
4
+ "version": "0.2.1-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -39,14 +39,14 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@deepseek-ai/dsh-session-format": "0.2.0-rc.2",
43
- "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.0-rc.2",
44
- "@deepseek-ai/dsh-session-format-v1-to-v2": "0.2.0-rc.2"
42
+ "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.1-alpha.1",
43
+ "@deepseek-ai/dsh-session-format": "0.2.1-alpha.1",
44
+ "@deepseek-ai/dsh-session-format-v1-to-v2": "0.2.1-alpha.1"
45
45
  },
46
46
  "peerDependencies": {
47
- "@deepseek-ai/cordis": "~4.0.4"
47
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@deepseek-ai/cordis": "~4.0.4"
50
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1"
51
51
  }
52
52
  }