@deepseek-ai/dsh-subagent-acp 0.2.1-alpha.2 → 0.2.1-alpha.4

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
@@ -18,8 +18,8 @@
18
18
  en: 78623be74507229d
19
19
  zh: b0ed9c9d0c6eb040
20
20
  /deepseek-ai-dsh-subagent-acp/use-this-package/when-to-choose-it:
21
- en: 56946ab7637bb8f9
22
- zh: c54c4da98092dd9c
21
+ en: d18adbe82d4a362d
22
+ zh: 3b9c0cca1f67a587
23
23
  /deepseek-ai-dsh-subagent-acp/use-this-package/configuration:
24
24
  en: 8d725f040ad14301
25
25
  zh: 379664b42a38b3e5
@@ -57,8 +57,8 @@
57
57
  en: 05e6180f1498fdf9
58
58
  zh: 2b05d2b97bfa67da
59
59
  /deepseek-ai-dsh-subagent-acp/model-experience/child-agent-request/what-the-model-sees:
60
- en: f7f619ca78d74c6f
61
- zh: f642dc7b4ff69a10
60
+ en: 5d8a1acb2e0510ce
61
+ zh: 34b446c2770f35ff
62
62
  /deepseek-ai-dsh-subagent-acp/model-experience/child-agent-request/token-effect:
63
63
  en: c0b78d334d5d0a9c
64
64
  zh: d54bf504933e132d
@@ -78,8 +78,8 @@
78
78
  en: f5d5f97a153f7c70
79
79
  zh: 3d6bc05b9eadfbc2
80
80
  /deepseek-ai-dsh-subagent-acp/known-limitations-and-deferred-work:
81
- en: 53a0e7fb49fe6e23
82
- zh: 51096d4eb51fb4ba
81
+ en: eb44a9bebc00b3f7
82
+ zh: 6e65866e85086207
83
83
  /deepseek-ai-dsh-subagent-acp/known-limitations-and-deferred-work/dev-note:
84
84
  en: d8323b3200db6ac9
85
85
  zh: f8a5273b887b9552
package/README.md CHANGED
@@ -29,7 +29,7 @@ Mount this provider when a composition needs a fully isolated, out-of-process ch
29
29
 
30
30
  ### When to choose it
31
31
 
32
- Choose this backend when the child must run with its own runtime, model, and tools in a separate process — for example an ACP agent from another project — or when you want delegation that cannot touch the parent harness. Choose an in-process backend when the child must share the parent's composition or honor parent-enforced capabilities: this provider advertises no optional start-time capabilities, so the seam rejects requests for `agentOptions`, structured output, depth caps, tool filters, or personas rather than silently omitting them.
32
+ Choose this backend when the child must run with its own runtime, model, and tools in a separate process — for example an ACP agent from another project — or when you want delegation that cannot touch the parent harness. Choose an in-process backend when the child must share the parent's composition or honor parent-enforced capabilities: this provider advertises no optional start-time capabilities, so the seam rejects requests for `agentPreset`, `agentOptions`, structured output, or depth caps rather than silently omitting them.
33
33
 
34
34
  ### Configuration
35
35
 
@@ -124,7 +124,7 @@ Read these pages when the package-level contract is not enough. They move from t
124
124
 
125
125
  #### What the model sees
126
126
 
127
- The remote child receives the standalone task content through ACP plus its own process's configured system prompt, tools, and fresh session. It receives no parent conversation. This provider advertises no optional start-time capabilities, so the local service rejects requests for `agentOptions`, persona, tool filtering, depth enforcement, or structured output instead of silently omitting them.
127
+ The remote child receives the standalone task content through ACP plus its own process's configured system prompt, tools, and fresh session. It receives no parent conversation. This provider advertises no optional start-time capabilities, so the local service rejects requests for `agentPreset`, `agentOptions`, depth enforcement, or structured output instead of silently omitting them.
128
128
 
129
129
  #### Token effect
130
130
 
@@ -157,7 +157,7 @@ These limits define when this backend is a poor fit or needs special operational
157
157
 
158
158
  - **A fresh process per run** — there is no process pooling; each delegation pays the full spawn and ACP handshake cost.
159
159
  - **Local workspaces only** — the resolved working directory is a local path handed to a child on the same machine; remote workspace mapping is not designed.
160
- - **No optional start-time capabilities** — this provider cannot apply `agentOptions`, `outputSchema`, a depth cap, a tool filter, or a persona inside the remote process, so the seam rejects requests that require them.
160
+ - **No optional start-time capabilities** — this provider cannot apply `agentPreset`, `agentOptions`, `outputSchema`, or a depth cap inside the remote process, so the seam rejects requests that require them.
161
161
  - **Only committed `agent_message_chunk` text is collected** — the automation server keeps reasoning, tool activity, plans, and other trace data in the child session log rather than emitting them on ACP.
162
162
  - **Permission prompts are auto-answered** (`permission: allow | reject`) — no human is surfaced a child's `session/request_permission`.
163
163
 
package/README.zh.md CHANGED
@@ -29,7 +29,7 @@ kind: "package-reference"
29
29
 
30
30
  ### 何时选择
31
31
 
32
- 当子 agent 必须在独立进程中运行、拥有自己的运行时、模型和工具时选择此后端——例如来自其他项目的 ACP agent——或者你希望委派完全无法触及父 harness 时。当子 agent 必须共享父级组合或遵守父级强制执行的能力约束时,请选择进程内后端:本提供方不声明任何可选启动时能力,因此 seam 会拒绝要求 `agentOptions`、结构化输出、深度上限、工具过滤或 persona 的请求,而不是静默省略。
32
+ 当子 agent 必须在独立进程中运行、拥有自己的运行时、模型和工具时选择此后端——例如来自其他项目的 ACP agent——或者你希望委派完全无法触及父 harness 时。当子 agent 必须共享父级组合或遵守父级强制执行的能力约束时,请选择进程内后端:本提供方不声明任何可选启动时能力,因此 seam 会拒绝要求 `agentPreset`、`agentOptions`、结构化输出或深度上限 的请求,而不是静默省略。
33
33
 
34
34
  ### 配置
35
35
 
@@ -124,7 +124,7 @@ spawn、初始化或新建会话失败会在发布前拒绝,通常先证明 ma
124
124
 
125
125
  #### 模型看到什么
126
126
 
127
- 远程子 agent 通过 ACP 接收独立任务内容,并使用其自身进程配置的系统提示词、工具和全新会话。它不接收父级对话。本提供方不声明可选启动时能力,因此本地服务会拒绝要求 `agentOptions`、persona、工具过滤、深度强制或结构化输出的请求,而不是静默省略。
127
+ 远程子 agent 通过 ACP 接收独立任务内容,并使用其自身进程配置的系统提示词、工具和全新会话。它不接收父级对话。本提供方不声明可选启动时能力,因此本地服务会拒绝要求 `agentPreset`、`agentOptions`、深度强制或结构化输出的请求,而不是静默省略。
128
128
 
129
129
  #### Token 影响
130
130
 
@@ -157,7 +157,7 @@ spawn、初始化或新建会话失败会在发布前拒绝,通常先证明 ma
157
157
 
158
158
  - **每次运行使用全新进程**——没有进程池;每次委派都要付出完整的 spawn 与 ACP 握手成本。
159
159
  - **仅支持本地工作区**——解析后的工作目录是交给同一台机器上子进程的本地路径;远程工作区映射尚未设计。
160
- - **不支持可选启动时能力**——本提供方无法在远程进程内应用 `agentOptions`、`outputSchema`、深度上限、工具过滤器或 persona,因此 seam 会拒绝需要它们的请求。
160
+ - **不支持可选启动时能力**——本提供方无法在远程进程内应用 `agentPreset`、`agentOptions`、`outputSchema` 或深度上限,因此 seam 会拒绝需要它们的请求。
161
161
  - **只收集已提交的 `agent_message_chunk` 文本**——自动化服务器把推理(reasoning)、工具活动、计划和其他 trace 数据保留在子 agent 会话日志中,不通过 ACP 发出。
162
162
  - **权限提示自动应答**(`permission: allow | reject`)——不会把子 agent 的 `session/request_permission` 呈现给人。
163
163
 
package/lib/index.js CHANGED
@@ -454,8 +454,8 @@ function assertPositiveFinite(name, value) {
454
454
  }
455
455
  /**
456
456
  * The ACP provider. Advertises NO start-time capabilities: an out-of-process
457
- * child cannot honor `agentOptions`/`outputSchema`/`maxDepth`/`toolFilter`/
458
- * `persona` (the service rejects a request needing any before `start` runs).
457
+ * child cannot honor `agentOptions`/`agentPreset`/`outputSchema`/`maxDepth`.
458
+ * The service rejects a request needing any before execution starts.
459
459
  */
460
460
  var AcpProvider = class {
461
461
  name;
@@ -463,10 +463,9 @@ var AcpProvider = class {
463
463
  config;
464
464
  capabilities = {
465
465
  agentOptions: false,
466
+ agentPreset: false,
466
467
  outputSchema: false,
467
- depthLimit: false,
468
- toolFilter: false,
469
- persona: false
468
+ depthLimit: false
470
469
  };
471
470
  inheritsParentContext = false;
472
471
  constructor(name, ctx, config) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-subagent-acp",
3
3
  "description": "Out-of-process ACP subagent backend: drives a child agent in a spawned subprocess over the Agent Client Protocol",
4
- "version": "0.2.1-alpha.2",
4
+ "version": "0.2.1-alpha.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,34 +27,34 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/cordis": "~4.0.5-alpha.1",
31
- "@deepseek-ai/dsh-agent": "0.2.1-alpha.2",
32
- "@deepseek-ai/dsh-llm": "0.2.1-alpha.2",
33
- "@deepseek-ai/dsh-session": "0.2.1-alpha.2",
34
- "@deepseek-ai/dsh-subagent": "0.2.1-alpha.2",
35
- "@deepseek-ai/dsh-subprocess": "0.2.1-alpha.2",
36
- "@deepseek-ai/dsh-timeout": "0.2.1-alpha.2"
30
+ "@deepseek-ai/cordis": "~4.0.5-alpha.2",
31
+ "@deepseek-ai/dsh-agent": "0.2.1-alpha.4",
32
+ "@deepseek-ai/dsh-llm": "0.2.1-alpha.4",
33
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.4",
34
+ "@deepseek-ai/dsh-subagent": "0.2.1-alpha.4",
35
+ "@deepseek-ai/dsh-subprocess": "0.2.1-alpha.4",
36
+ "@deepseek-ai/dsh-timeout": "0.2.1-alpha.4"
37
37
  },
38
38
  "dependencies": {
39
39
  "@agentclientprotocol/sdk": "1.4.0",
40
- "@deepseek-ai/dsh-brand": "0.2.1-alpha.2",
41
- "@deepseek-ai/schemastery": "~3.18.5-alpha.1"
40
+ "@deepseek-ai/dsh-brand": "0.2.1-alpha.4",
41
+ "@deepseek-ai/schemastery": "~3.18.5-alpha.2"
42
42
  },
43
43
  "devDependencies": {
44
- "@deepseek-ai/cordis": "~4.0.5-alpha.1",
45
- "@deepseek-ai/cordis-plugin-loader": "~1.0.6-alpha.1",
46
- "@deepseek-ai/dsh-agent": "0.2.1-alpha.2",
47
- "@deepseek-ai/dsh-app-boot": "0.2.1-alpha.2",
48
- "@deepseek-ai/dsh-llm": "0.2.1-alpha.2",
49
- "@deepseek-ai/dsh-loader-smoke": "0.2.1-alpha.2",
50
- "@deepseek-ai/dsh-session": "0.2.1-alpha.2",
51
- "@deepseek-ai/dsh-session-checkpoint-policy": "0.2.1-alpha.2",
52
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-alpha.2",
53
- "@deepseek-ai/dsh-session-projection": "0.2.1-alpha.2",
54
- "@deepseek-ai/dsh-subagent": "0.2.1-alpha.2",
55
- "@deepseek-ai/dsh-subprocess": "0.2.1-alpha.2",
56
- "@deepseek-ai/dsh-subprocess-local": "0.2.1-alpha.2",
57
- "@deepseek-ai/dsh-timeout": "0.2.1-alpha.2",
58
- "@deepseek-ai/dsh-tool-subagent": "0.2.1-alpha.2"
44
+ "@deepseek-ai/cordis": "~4.0.5-alpha.2",
45
+ "@deepseek-ai/cordis-plugin-loader": "~1.0.6-alpha.2",
46
+ "@deepseek-ai/dsh-agent": "0.2.1-alpha.4",
47
+ "@deepseek-ai/dsh-app-boot": "0.2.1-alpha.4",
48
+ "@deepseek-ai/dsh-llm": "0.2.1-alpha.4",
49
+ "@deepseek-ai/dsh-loader-smoke": "0.2.1-alpha.4",
50
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.4",
51
+ "@deepseek-ai/dsh-session-checkpoint-policy": "0.2.1-alpha.4",
52
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-alpha.4",
53
+ "@deepseek-ai/dsh-session-projection": "0.2.1-alpha.4",
54
+ "@deepseek-ai/dsh-subagent": "0.2.1-alpha.4",
55
+ "@deepseek-ai/dsh-subprocess": "0.2.1-alpha.4",
56
+ "@deepseek-ai/dsh-subprocess-local": "0.2.1-alpha.4",
57
+ "@deepseek-ai/dsh-timeout": "0.2.1-alpha.4",
58
+ "@deepseek-ai/dsh-tool-subagent": "0.2.1-alpha.4"
59
59
  }
60
60
  }