@deepseek-ai/dsh-session-format-v3-to-v4 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 +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +5 -5
package/README.i18n.yaml
CHANGED
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
en: 1d6db95cf7a82846
|
|
64
64
|
zh: 837c690fe87f47db
|
|
65
65
|
/deepseek-ai-dsh-session-format-v3-to-v4/understand-the-implementation:
|
|
66
|
-
en:
|
|
67
|
-
zh:
|
|
66
|
+
en: bd4d2271b5844ca1
|
|
67
|
+
zh: b5d00e78d6085a25
|
|
68
68
|
/deepseek-ai-dsh-session-format-v3-to-v4/further-exploration:
|
|
69
69
|
en: d54326f96c09a0a0
|
|
70
70
|
zh: 862147d701ce9049
|
package/README.md
CHANGED
|
@@ -294,7 +294,7 @@ Unknown required events are refused by vocabulary-aware restoration. Unknown ign
|
|
|
294
294
|
|
|
295
295
|
The migration declaration creates independent streaming stages. Compact runs expand as iterables without an intermediate event array. The V3-to-V4 stage rewrites historical message sources, lifts historical tool-result wrappers, and inserts evidenced interrupted turn endings while emitting V4 events. It retains one source-to-target sequence entry per source event for local reference remapping. The V4 codec uses the released V2 codec only for physical header and source-range framing, and validates native tool-role rows directly; it does not invoke the released V3 validator or source-conversion views. JSONL scanners call `assertV4RowAdmission` before suppressing recoverable rows and the shared mandatory relationship validator before returning the completed logical prefix.
|
|
296
296
|
|
|
297
|
-
The target restorer validates native fields and mandatory cross-event relationships, then returns the original artifact. Unknown ignorable events remain opaque, and unfinished inherited compactions expire at the end-seed marker.
|
|
297
|
+
The target restorer validates native fields and mandatory cross-event relationships, then returns the original artifact. Unknown ignorable events remain opaque, and unfinished inherited compactions expire at the end-seed marker.
|
|
298
298
|
|
|
299
299
|
</details>
|
|
300
300
|
|
package/README.zh.md
CHANGED
|
@@ -294,7 +294,7 @@ Fork 种子构造归核心 Session 所有,不属于此迁移。原生 V4 接
|
|
|
294
294
|
|
|
295
295
|
迁移声明创建相互独立的流式 Stage。紧凑事件段通过迭代器展开,不生成中间事件数组。V3 到 V4 Stage 在发出 V4 事件时重写历史消息来源、提升历史工具结果包装,并插入有明确证据的中断回合结束事件。它为每个源事件保留一个源到目标的序号映射项,用于本地引用重映射。V4 编解码器只为物理头部和源范围分帧使用已发布 V2 编解码器,并直接校验原生工具角色行;它不会调用已发布 V3 校验器或源转换视图。JSONL 扫描器在抑制可恢复行之前调用 `assertV4RowAdmission`,并在返回完整逻辑前缀之前调用共用的强制关系校验器。
|
|
296
296
|
|
|
297
|
-
目标恢复器校验原生字段和强制跨事件关系,然后返回原始产物。未知的可忽略事件保持不透明,未完成的继承压缩事务在 end-seed
|
|
297
|
+
目标恢复器校验原生字段和强制跨事件关系,然后返回原始产物。未知的可忽略事件保持不透明,未完成的继承压缩事务在 end-seed 标记处结束。
|
|
298
298
|
|
|
299
299
|
</details>
|
|
300
300
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-session-format-v3-to-v4",
|
|
3
3
|
"description": "Streaming tool-role migration and delivery validation from Session V3 to V4",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@deepseek-ai/dsh-session-format
|
|
43
|
-
"@deepseek-ai/dsh-session-format": "0.2.
|
|
42
|
+
"@deepseek-ai/dsh-session-format": "0.2.1-alpha.1",
|
|
43
|
+
"@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.1-alpha.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
46
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
49
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1"
|
|
50
50
|
}
|
|
51
51
|
}
|