@deepseek-ai/dsh-tool-ask-user 0.1.5-rc.1 → 0.1.6-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/interaction/tool-ask-user/README.md
5
- README.md: e68aaf89d6c272d14e49685f8002dd5b48391d30
6
- README.zh.md: 6d4c1fc82aa14c0478d1350498c0fbc314000149
5
+ README.md: 8987d3a60c7913c617f1eb1359d161b17ee2c83a
6
+ README.zh.md: d82cc59fc3a975e08aacc43c28b76256244c66de
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `ask_user_question` lets a model pause work and ask the human for confirmation, a choice, or missing information. It accepts one or more questions and returns their answers as compact JSON. The call waits until an answer is accepted or the turn is cancelled; if no answer handler accepts it, the model receives an error. Runtime-owned child agents cannot call this tool and must report unresolved questions in their final result. The package does not render or collect input, so callers must provide a compatible user interaction surface.
12
+ `ask_user_question` lets a model pause work and ask the human for confirmation, a choice, or missing information. It accepts one or more questions and returns their answers as compact JSON. The call waits until an answer is accepted or the turn is cancelled; if no answer handler accepts it, the model receives an error. A live child agent owned by another agent cannot call this tool and must report unresolved questions in its final result. The package does not render or collect input, so callers must provide a compatible user interaction surface.
13
13
 
14
14
  ## Table of Contents
15
15
 
package/README.zh.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: "基于用户交互 seam 的模型侧 ask_user_question 工具;供组合或排查交互式 agent 表面的用户与维护者阅读。"
2
+ description: "基于 user-questions seam 的模型侧 ask_user_question 工具;供组合或排查交互式 agent(智能体)表面的用户与维护者阅读。"
3
3
  kind: "package-reference"
4
4
  ---
5
5
 
@@ -74,11 +74,11 @@ kind: "package-reference"
74
74
  | 文件 | 职责 |
75
75
  |---|---|
76
76
  | [`src/index.ts`](src/index.ts) | 工具注册:`ask_user_question` schema、执行路径、结果渲染 |
77
- | — | 不发布运行时不变式伴生入口;执行关系由 seam 拥有。 |
77
+ | — | 不发布运行时不变式伴生入口;此模型侧适配器没有独立的生命周期流;执行关系由其调用的能力 seam 负责。 |
78
78
 
79
- ### Consumer 角色
79
+ ### 消费方角色
80
80
 
81
- 该插件以 `['tools', 'userQuestions']` 注入,在 `ctx.tools` 上注册一个 `defineTool` 条目。`execute` 把模型参数映射为 `AskUserQuestionRequest`,转发确切的调用 agent 与当前轮次的信号,并把接受的回答映射回规范的 `answers` 数组。身份检查、意图校验、waterfall 分派与错误分类由 seam 拥有;本包只做转换。
81
+ 该插件以 `['tools', 'userQuestions']` 注入,在 `ctx.tools` 上注册一个 `defineTool` 条目。`execute` 把模型参数映射为 `AskUserQuestionRequest`,转发确切的调用 agent 与当前轮次的信号,并把接受的回答映射回规范的 `answers` 数组。身份检查、意图校验、waterfall(瀑布式事件)分派与错误分类由 seam 拥有;本包只做转换。
82
82
 
83
83
  ### 结果渲染
84
84
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-ask-user",
3
3
  "description": "Model-facing ask_user_question tool over the ctx.userQuestions seam",
4
- "version": "0.1.5-rc.1",
4
+ "version": "0.1.6-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,17 +27,17 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/dsh-tools": "^0.1.5-rc.1",
31
- "@deepseek-ai/dsh-agent": "^0.1.5-rc.1",
32
- "@deepseek-ai/dsh-user-questions": "^0.1.5-rc.1",
30
+ "@deepseek-ai/dsh-agent": "^0.1.6-alpha.1",
31
+ "@deepseek-ai/dsh-tools": "^0.1.6-alpha.1",
32
+ "@deepseek-ai/dsh-user-questions": "^0.1.6-alpha.1",
33
33
  "@deepseek-ai/cordis": "^4.0.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@deepseek-ai/dsh-agent": "^0.1.5-rc.1",
37
- "@deepseek-ai/dsh-llm": "^0.1.5-rc.1",
38
- "@deepseek-ai/dsh-system-prompt": "^0.1.5-rc.1",
39
- "@deepseek-ai/dsh-tools": "^0.1.5-rc.1",
40
- "@deepseek-ai/dsh-user-questions": "^0.1.5-rc.1",
36
+ "@deepseek-ai/dsh-agent": "^0.1.6-alpha.1",
37
+ "@deepseek-ai/dsh-llm": "^0.1.6-alpha.1",
38
+ "@deepseek-ai/dsh-tools": "^0.1.6-alpha.1",
39
+ "@deepseek-ai/dsh-user-questions": "^0.1.6-alpha.1",
40
+ "@deepseek-ai/dsh-system-prompt": "^0.1.6-alpha.1",
41
41
  "@deepseek-ai/cordis": "^4.0.2"
42
42
  }
43
43
  }