@deepseek-ai/dsh-subagent-dsh-sdk 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/subagent/subagent-dsh-sdk/README.md
5
- README.md: 7189daa8c47cf260dab55571466350381b160ebd
6
- README.zh.md: d82185194c53c853c3526abb785ca0608004d89b
5
+ README.md: 95ce5ef080fe1505fc1676e5b48316280cdb007e
6
+ README.zh.md: 99f72f3a61780a1c1490302d1a9919bace430a28
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-subagent-dsh-sdk` runs each delegated child as a complete DeepSeek Harness runtime in a fresh subprocess, driven over stdio JSON-RPC through the TypeScript SDK client. It is the second out-of-process backend beside the ACP provider, differing in the wire and the child contract: the child is a full peer harness with its own `cordis.yml`-decided composition, session persistence, model route, and tools. Each run spawns the child runtime (the resolved `@deepseek-ai/dsh` CLI under Node, or the configured `dshBin`), completes an `initialize` handshake with the configured provider and model route, submits the task, and reads the answer from the child's session events. The parent receives only the child's final assistant text or a safe error — no intermediate messages or tool traffic crosses the boundary. Choose it when the child should be a genuine Harness runtime, fully isolated from the parent harness.
12
+ `dsh-subagent-dsh-sdk` runs each delegated task in a fresh DeepSeek Harness subprocess with its own profile, session, model route, and tools. The parent provides the task and working directory, while each child uses its configured runtime and remains isolated from the parent conversation. The parent receives the child's final assistant text or a safe error; intermediate messages and tool traffic stay inside the child process. Choose this backend when delegation needs a complete Harness runtime rather than shared in-process state, and accept the cost of starting a new process for every run.
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-subagent-dsh-sdk` 在全新的子进程中把每个被委派的子 agent(智能体)作为完整的 DeepSeek Harness 运行时运行,并经由 TypeScript SDK 客户端通过 stdio JSON-RPC 驱动。它是 ACP 提供方之外的第二个进程外后端,差异在协议格式(wire format)与子进程约定:子进程是完整的对等 harness,拥有由 `cordis.yml` 决定的组合、会话持久化、模型路由与工具。每次运行都会 spawn 子运行时(Node 下解析出的 `@deepseek-ai/dsh` CLI,或配置的 `dshBin`),以配置的提供方与模型路由完成 `initialize` 握手、提交任务,并从子进程的会话事件中读取答案。父级只收到子进程最终的 assistant 文本或安全错误——中间消息与工具流量不会跨越边界。当子进程应该是与父 harness 完全隔离的真实 Harness 运行时时,选择它。
12
+ `dsh-subagent-dsh-sdk` 在全新的 DeepSeek Harness 子进程中运行每个委派任务,子进程拥有自己的 profile、会话、模型路由与工具。父级提供任务与工作目录,每个子进程使用其已配置的运行时,并与父级对话保持隔离。父级只会收到子进程最终的 assistant 文本或安全错误;中间消息与工具流量保留在子进程内。当委派需要完整的 Harness 运行时而不是共享进程内状态时,选择此后端,并接受每次运行都要启动新进程的成本。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-subagent-dsh-sdk",
3
3
  "description": "Out-of-process SDK subagent backend: drives a child DeepSeek Harness runtime subprocess over stdio JSON-RPC through the TypeScript SDK client",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -28,36 +28,36 @@
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
30
  "@deepseek-ai/cordis": "^4.0.2",
31
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
32
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
33
- "@deepseek-ai/dsh-sdk-client": "^0.1.3-alpha.2",
34
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
35
- "@deepseek-ai/dsh-subagent": "^0.1.3-alpha.2",
36
- "@deepseek-ai/dsh-subprocess": "^0.1.3-alpha.2"
31
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.1",
32
+ "@deepseek-ai/dsh-sdk-client": "^0.1.5-alpha.1",
33
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
34
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
35
+ "@deepseek-ai/dsh-subagent": "^0.1.5-alpha.1",
36
+ "@deepseek-ai/dsh-subprocess": "^0.1.5-alpha.1"
37
37
  },
38
38
  "dependencies": {
39
39
  "@deepseek-ai/schemastery": "^3.18.2",
40
- "@deepseek-ai/dsh-brand": "^0.1.3-alpha.2"
40
+ "@deepseek-ai/dsh-brand": "^0.1.5-alpha.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
44
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
45
- "@deepseek-ai/dsh-agent-instructions": "^0.1.3-alpha.2",
46
43
  "@deepseek-ai/cordis": "^4.0.2",
47
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
48
- "@deepseek-ai/dsh-llm-deepseek": "^0.1.3-alpha.2",
49
- "@deepseek-ai/dsh-loader-smoke": "^0.1.3-alpha.2",
50
- "@deepseek-ai/dsh-sdk-client": "^0.1.3-alpha.2",
51
- "@deepseek-ai/dsh-sdk-protocol": "^0.1.3-alpha.2",
52
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
53
- "@deepseek-ai/dsh-session-checkpoint-policy": "^0.1.3-alpha.2",
54
- "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.3-alpha.2",
55
- "@deepseek-ai/dsh-app-boot": "^0.1.3-alpha.2",
56
- "@deepseek-ai/dsh-subagent": "^0.1.3-alpha.2",
57
- "@deepseek-ai/dsh-subprocess": "^0.1.3-alpha.2",
58
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
59
- "@deepseek-ai/dsh-skill-filesystem": "^0.1.3-alpha.2",
60
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2",
61
- "@deepseek-ai/dsh-tool-subagent": "^0.1.3-alpha.2"
44
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.1",
45
+ "@deepseek-ai/dsh-agent-instructions": "^0.1.5-alpha.1",
46
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
47
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
48
+ "@deepseek-ai/dsh-app-boot": "^0.1.5-alpha.1",
49
+ "@deepseek-ai/dsh-llm-deepseek": "^0.1.5-alpha.1",
50
+ "@deepseek-ai/dsh-loader-smoke": "^0.1.5-alpha.1",
51
+ "@deepseek-ai/dsh-sdk-client": "^0.1.5-alpha.1",
52
+ "@deepseek-ai/dsh-sdk-protocol": "^0.1.5-alpha.1",
53
+ "@deepseek-ai/dsh-session-checkpoint-policy": "^0.1.5-alpha.1",
54
+ "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.5-alpha.1",
55
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.1",
56
+ "@deepseek-ai/dsh-skill-filesystem": "^0.1.5-alpha.1",
57
+ "@deepseek-ai/dsh-subagent": "^0.1.5-alpha.1",
58
+ "@deepseek-ai/dsh-subprocess": "^0.1.5-alpha.1",
59
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.1",
60
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
61
+ "@deepseek-ai/dsh-tool-subagent": "^0.1.5-alpha.1"
62
62
  }
63
63
  }