@deepseek-ai/dsh-session-format-v3-to-v4 0.1.7-alpha.2 → 0.1.7-rc.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 +90 -5
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +3 -3
package/README.i18n.yaml
CHANGED
|
@@ -1,6 +1,91 @@
|
|
|
1
|
-
# Bilingual-pair consistency record (docs/i18n/README.md):
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
|
|
2
|
+
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
3
|
+
# After editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/session/session-format-v3-to-v4/README.md
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/:
|
|
6
|
+
en: a24b02a97921b07a
|
|
7
|
+
zh: 92428dfee88d27fd
|
|
8
|
+
/deepseek-ai-dsh-session-format-v3-to-v4:
|
|
9
|
+
en: f27dbda33d994f9b
|
|
10
|
+
zh: 209b0ad95219767a
|
|
11
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/summary:
|
|
12
|
+
en: 0162a0e7e6493e0a
|
|
13
|
+
zh: 4107af760c449097
|
|
14
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/table-of-contents:
|
|
15
|
+
en: b501b06f4b21cc31
|
|
16
|
+
zh: bd67928bedf6c786
|
|
17
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/use-this-package:
|
|
18
|
+
en: e3e7a08fb807c750
|
|
19
|
+
zh: 9550a2094e203551
|
|
20
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/v3-to-v4-specification:
|
|
21
|
+
en: d3463f5e222c44a2
|
|
22
|
+
zh: ec932eb4acac30f4
|
|
23
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/v3-to-v4-specification/header-and-physical-framing:
|
|
24
|
+
en: 69f24696bd941ceb
|
|
25
|
+
zh: bc51ca330a4aa361
|
|
26
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/v3-to-v4-specification/tool-result-representation:
|
|
27
|
+
en: 32b845f1e1867195
|
|
28
|
+
zh: 3e4e046dbc36478e
|
|
29
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/v3-to-v4-specification/extension-data:
|
|
30
|
+
en: 3e7af0248b029e9a
|
|
31
|
+
zh: b73ddd133db65d05
|
|
32
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/v3-to-v4-specification/message-source-conversion:
|
|
33
|
+
en: 83df80655a2ea5ab
|
|
34
|
+
zh: be1dd03bc0464fce
|
|
35
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/v3-to-v4-specification/parent-catalog-prerequisites:
|
|
36
|
+
en: 06093e37658e414b
|
|
37
|
+
zh: 2480e78d405af862
|
|
38
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/v3-to-v4-specification/sequence-references-and-inheritance:
|
|
39
|
+
en: 8543a15b3c24cd43
|
|
40
|
+
zh: 5eacb6ffd009d1bc
|
|
41
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/v3-to-v4-specification/delivery-generations:
|
|
42
|
+
en: 1af75967fd8296c7
|
|
43
|
+
zh: 4efd2a3a3a288610
|
|
44
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/v3-to-v4-specification/source-audit-and-refusal:
|
|
45
|
+
en: bfc56afb05348d19
|
|
46
|
+
zh: 21afbb4ced91e87f
|
|
47
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/native-v4-admission:
|
|
48
|
+
en: 7c2a1375c98e9b9f
|
|
49
|
+
zh: 39a57a82df56a2d4
|
|
50
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/native-v4-admission/header-messages-and-surface-metadata:
|
|
51
|
+
en: 610f35b8c44538a2
|
|
52
|
+
zh: 17e5c07f09783106
|
|
53
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/native-v4-admission/lifecycle-and-reference-relationships:
|
|
54
|
+
en: 74f51036958ba3bc
|
|
55
|
+
zh: 6eeb65f15bb33e56
|
|
56
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/native-v4-admission/developer-changes-and-deferred-schemas:
|
|
57
|
+
en: 471f0e087806057a
|
|
58
|
+
zh: 76b2ee1f58118d71
|
|
59
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/native-v4-admission/fork-generated-results:
|
|
60
|
+
en: db82b002989ac151
|
|
61
|
+
zh: da80b797bf321c3f
|
|
62
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/native-v4-admission/validation-entry-points-and-recovery:
|
|
63
|
+
en: 1d6db95cf7a82846
|
|
64
|
+
zh: 837c690fe87f47db
|
|
65
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/understand-the-implementation:
|
|
66
|
+
en: d27e081c4e2ecd86
|
|
67
|
+
zh: 0dd639484f67dba9
|
|
68
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/further-exploration:
|
|
69
|
+
en: d54326f96c09a0a0
|
|
70
|
+
zh: 862147d701ce9049
|
|
71
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/model-experience:
|
|
72
|
+
en: 215e7ba838619b7b
|
|
73
|
+
zh: a311da3843709f90
|
|
74
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/model-experience/historical-restoration:
|
|
75
|
+
en: e63dd8ef6de7cf7c
|
|
76
|
+
zh: f1e356f01b601079
|
|
77
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/model-experience/historical-restoration/what-the-model-sees:
|
|
78
|
+
en: 8885a0ae5f305b88
|
|
79
|
+
zh: 2064d2d02dd1b303
|
|
80
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/model-experience/historical-restoration/token-effect:
|
|
81
|
+
en: adb2bef43125d1df
|
|
82
|
+
zh: 02f8d1d6a25d57ab
|
|
83
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/model-experience/historical-restoration/kv-cache-effect:
|
|
84
|
+
en: 143ddba012e03d0c
|
|
85
|
+
zh: 93dfdb806bf9a697
|
|
86
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/known-limitations-and-deferred-work:
|
|
87
|
+
en: c5a232c1f0b8a5a5
|
|
88
|
+
zh: 5634f98f97060c7c
|
|
89
|
+
/deepseek-ai-dsh-session-format-v3-to-v4/known-limitations-and-deferred-work/dev-note:
|
|
90
|
+
en: e67f633dc6fe7773
|
|
91
|
+
zh: 8ec3e73528ddb1a6
|
package/README.md
CHANGED
|
@@ -259,7 +259,7 @@ An event containing additions must have `headerSeq`; it selects an earlier known
|
|
|
259
259
|
|
|
260
260
|
Tool-change blocks in ordinary messages, inbox/title input, compaction summary/raw output, or embedded assistant block-start/block-end records are refused. A present `request/header.header.tools[].deferLoading` must be exactly true; it is independent of whether any developer addition exists. Empty developer nodes retain surface positions, produce no model message, and cannot replace the protected system head. Unknown ignorable developer payloads are deferred until the reader knows that event type.
|
|
261
261
|
|
|
262
|
-
Native format support
|
|
262
|
+
Native format support validates and preserves developer history. The [LLM runtime](../../llm/llm/README.md) projects tool updates for each route and omits developer messages on unsupported routes; Chat and Trajectory render tool-change notices. These consumers use the accepted representation without adding a new format.
|
|
263
263
|
|
|
264
264
|
<a id="fork-results"></a>
|
|
265
265
|
### Fork-generated results
|
package/README.zh.md
CHANGED
|
@@ -259,7 +259,7 @@ System image 接纳要求非空 attachment id、PNG/JPEG/WebP/GIF MIME 类
|
|
|
259
259
|
|
|
260
260
|
普通消息、inbox/title 输入、compaction summary/raw output 以及内嵌 assistant block-start/block-end 记录中的工具变更块均被拒绝。存在的 `request/header.header.tools[].deferLoading` 必须恰好为 true;它与是否存在 developer 添加事件无关。空 developer 节点保留表面位置,不产生模型消息,也不能替换 protected system head。未知 ignorable developer 载荷推迟到读取器知道该事件类型时校验。
|
|
261
261
|
|
|
262
|
-
|
|
262
|
+
原生格式支持校验并保留 developer 历史。[LLM 运行时](../../llm/llm/README.zh.md) 按路由投影工具更新,并在不支持的路由上省略 developer 消息;Chat 和 Trajectory 渲染工具变更通知。这些消费者使用已接受的表示,不新增格式。
|
|
263
263
|
|
|
264
264
|
<a id="fork-results"></a>
|
|
265
265
|
### Fork 生成的结果
|
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.1.7-
|
|
4
|
+
"version": "0.1.7-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@deepseek-ai/dsh-session-format
|
|
43
|
-
"@deepseek-ai/dsh-session-format": "0.1.7-
|
|
42
|
+
"@deepseek-ai/dsh-session-format": "0.1.7-rc.2",
|
|
43
|
+
"@deepseek-ai/dsh-session-format-v2-to-v3": "0.1.7-rc.2"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@deepseek-ai/cordis": "~4.0.4"
|