@deepseek-ai/dsh-user-questions 0.1.6-alpha.1 → 0.1.6-alpha.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 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/user-questions/README.md
5
- README.md: 5558c1483937982aad791f9c90e81ef9b02b9d83
6
- README.zh.md: 17cf9c973c82e4854c2807d85ff09cb9751bca14
5
+ README.md: b7082f7b76ad974ecb75f48dc84f857784121fc9
6
+ README.zh.md: 81f1f3e72b569dcaac96add3f6ff73cbe9038965
package/README.md CHANGED
@@ -74,6 +74,8 @@ No direct invalidation; the named consumer owns any request-prefix changes.
74
74
 
75
75
  None.
76
76
 
77
+ The optional plan-review `callId` identifies the logged tool invocation for document navigation. It does not change the answer or its validation.
78
+
77
79
  </details>
78
80
 
79
81
  **Runtime invariant:** No companion is published. The answerer waterfall is resolved per request and returns directly to its caller; the seam publishes no independent request/answer audit stream.
package/README.zh.md CHANGED
@@ -74,6 +74,8 @@ kind: "package-reference"
74
74
 
75
75
  无。
76
76
 
77
+ 计划审批中可选的 `callId` 标识已记录的工具调用,供文档导航使用,不改变回答及其校验。
78
+
77
79
  </details>
78
80
 
79
81
  **运行时不变式:** 不发布伴生入口。answerer waterfall 按请求解析并把结果直接返回调用方;该 seam 不发布独立的请求/回答审计流。
@@ -1,6 +1,7 @@
1
1
  /** Client-safe question, answer, and event types. @module @deepseek-ai/dsh-user-questions/types */
2
2
  import type { Scoped } from '@deepseek-ai/dsh-scope';
3
3
  import type { Agent } from '@deepseek-ai/dsh-agent/types';
4
+ import type { ToolCallId } from '@deepseek-ai/dsh-llm/brand';
4
5
  /** One selectable answer offered to the user. */
5
6
  export interface AskUserQuestionOption {
6
7
  /** User-facing label. */
@@ -24,6 +25,8 @@ export type AskUserQuestionIntent = {
24
25
  * An `approve` naming no option of its own question is rejected at `ask()`.
25
26
  */
26
27
  approve: string;
28
+ /** Logged tool invocation whose arguments contain the reviewed plan. */
29
+ callId?: ToolCallId;
27
30
  };
28
31
  /** One question in a user-questions request. */
29
32
  export interface AskUserQuestionItem {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-user-questions",
3
3
  "description": "Abstract user-questions seam (ctx.userQuestions) for asking the human during agent runs",
4
- "version": "0.1.6-alpha.1",
4
+ "version": "0.1.6-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -32,15 +32,15 @@
32
32
  ],
33
33
  "license": "MIT",
34
34
  "peerDependencies": {
35
- "@deepseek-ai/dsh-agent": "^0.1.6-alpha.1",
36
- "@deepseek-ai/dsh-llm": "^0.1.6-alpha.1",
37
- "@deepseek-ai/dsh-scope": "^0.1.6-alpha.1",
35
+ "@deepseek-ai/dsh-agent": "^0.1.6-alpha.2",
36
+ "@deepseek-ai/dsh-llm": "^0.1.6-alpha.2",
37
+ "@deepseek-ai/dsh-scope": "^0.1.6-alpha.2",
38
38
  "@deepseek-ai/cordis": "^4.0.2"
39
39
  },
40
40
  "devDependencies": {
41
- "@deepseek-ai/dsh-agent": "^0.1.6-alpha.1",
42
- "@deepseek-ai/dsh-llm": "^0.1.6-alpha.1",
43
- "@deepseek-ai/dsh-scope": "^0.1.6-alpha.1",
41
+ "@deepseek-ai/dsh-agent": "^0.1.6-alpha.2",
42
+ "@deepseek-ai/dsh-llm": "^0.1.6-alpha.2",
43
+ "@deepseek-ai/dsh-scope": "^0.1.6-alpha.2",
44
44
  "@deepseek-ai/cordis": "^4.0.2"
45
45
  }
46
46
  }