@deepseek-ai/dsh-sdk-protocol 0.1.0-rc.8 → 0.1.1-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 +1 -1
- package/README.zh.md +3 -3
- package/package.json +9 -9
package/README.i18n.yaml
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/sdk/protocol/README.md
|
|
5
5
|
README.md: 9024f9ca34a5467aff1b83cb9cd864c1ec06e56b
|
|
6
|
-
README.zh.md:
|
|
6
|
+
README.zh.md: 28372bf3dcd57a817225a2769ef969d6f0c10936
|
package/README.zh.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | 中文
|
|
4
4
|
|
|
5
|
-
DeepSeek Harness SDK 运行时的共享协议格式(wire format):一个按换行分帧的 JSON-RPC 2.0 传输类,加上协议两端共同使用的具名请求、结果与通知类型。包根枚举协议消费方接口;源模块不支持深层导入。服务端是 [`dsh-sdk-jsonrpc-server`](../server/README.md) 插件;客户端是 [`dsh-sdk-client`](../client/README.md)(TypeScript)与 [Python SDK](../../../python/README.md)(后者复现这些结构但不导入它们)。纯库——无插件、无 Config、无注册。
|
|
5
|
+
DeepSeek Harness SDK 运行时的共享协议格式(wire format):一个按换行分帧的 JSON-RPC 2.0 传输类,加上协议两端共同使用的具名请求、结果与通知类型。包根枚举协议消费方接口;源模块不支持深层导入。服务端是 [`dsh-sdk-jsonrpc-server`](../server/README.zh.md) 插件;客户端是 [`dsh-sdk-client`](../client/README.zh.md)(TypeScript)与 [Python SDK](../../../python/README.zh.md)(后者复现这些结构但不导入它们)。纯库——无插件、无 Config、无注册。
|
|
6
6
|
|
|
7
7
|
## 传输
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@ DeepSeek Harness SDK 运行时的共享协议格式(wire format):一个按
|
|
|
26
26
|
|
|
27
27
|
## 模型体验
|
|
28
28
|
|
|
29
|
-
无,因为此包定义面向客户端的协议格式;模型可见接口属于组合在对外服务入口 [`dsh-sdk-jsonrpc-server`](../server/README.md) 后方的运行时插件。
|
|
29
|
+
无,因为此包定义面向客户端的协议格式;模型可见接口属于组合在对外服务入口 [`dsh-sdk-jsonrpc-server`](../server/README.zh.md) 后方的运行时插件。
|
|
30
30
|
|
|
31
31
|
#### KV Cache 影响
|
|
32
32
|
|
|
@@ -35,5 +35,5 @@ DeepSeek Harness SDK 运行时的共享协议格式(wire format):一个按
|
|
|
35
35
|
## 已知限制与暂缓事项
|
|
36
36
|
|
|
37
37
|
- **无协议版本协商**——握手只携带 `serverInfo.version`(`0.0.1`,客户端不校验);处于预发布阶段,无兼容承诺。
|
|
38
|
-
- **无取消与会话关闭方法**——客户端放弃轮次的方式是关闭运行时进程;见 [`dsh-sdk-jsonrpc-server` README](../server/README.md)。
|
|
38
|
+
- **无取消与会话关闭方法**——客户端放弃轮次的方式是关闭运行时进程;见 [`dsh-sdk-jsonrpc-server` README](../server/README.zh.md)。
|
|
39
39
|
- **server→client 请求是未使用的功能**——传输层支持,但服务器从不发送;Python SDK 的应答接口为未来审批流程预留。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-sdk-protocol",
|
|
3
3
|
"description": "Shared wire protocol for the DeepSeek Harness SDK runtime: the newline-delimited JSON-RPC stdio transport and the named request, result, and notification types spoken between the runtime server and SDK clients",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
],
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@deepseek-ai/dsh-invariants": "^0.1.
|
|
35
|
-
"@deepseek-ai/dsh-
|
|
36
|
-
"@deepseek-ai/dsh-
|
|
37
|
-
"@deepseek-ai/dsh-subagent": "^0.1.
|
|
34
|
+
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
35
|
+
"@deepseek-ai/dsh-session": "^0.1.1-rc.2",
|
|
36
|
+
"@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
|
|
37
|
+
"@deepseek-ai/dsh-subagent": "^0.1.1-rc.2",
|
|
38
38
|
"@deepseek-ai/cordis": "^4.0.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@deepseek-ai/dsh-invariants": "^0.1.
|
|
42
|
-
"@deepseek-ai/dsh-llm": "^0.1.
|
|
43
|
-
"@deepseek-ai/dsh-session": "^0.1.
|
|
44
|
-
"@deepseek-ai/dsh-subagent": "^0.1.
|
|
41
|
+
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
42
|
+
"@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
|
|
43
|
+
"@deepseek-ai/dsh-session": "^0.1.1-rc.2",
|
|
44
|
+
"@deepseek-ai/dsh-subagent": "^0.1.1-rc.2",
|
|
45
45
|
"@deepseek-ai/cordis": "^4.0.1"
|
|
46
46
|
}
|
|
47
47
|
}
|