@deepseek-ai/dsh-client-ui-plan 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 +1 -1
- package/README.zh.md +6 -6
- package/package.json +12 -12
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/client/ui-plan/README.md
|
|
5
5
|
README.md: 4ff275834ec069315580c205b8fd0bf0dee9cfeb
|
|
6
|
-
README.zh.md:
|
|
6
|
+
README.zh.md: 588698b273bc52b1e601c7010516c24a9248e543
|
package/README.zh.md
CHANGED
|
@@ -29,7 +29,7 @@ kind: "package-reference"
|
|
|
29
29
|
|
|
30
30
|
### 徽章显示什么
|
|
31
31
|
|
|
32
|
-
当有效目标为 plan 模式时,该座位渲染 warn 色「Plan ×」状态按钮,执行 `/plan off`。否则座位保持为空:未组合 plan-mode 的宿主,或尚无会话的 Draft,都不显示任何内容。plan 模式为有效目标期间,composer 文本框的 placeholder 切换为 plan 任务提示——「describe your task to generate plan
|
|
32
|
+
当有效目标为 plan 模式时,该座位渲染 warn 色「Plan ×」状态按钮,执行 `/plan off`。否则座位保持为空:未组合 plan-mode 的宿主,或尚无会话的 Draft,都不显示任何内容。plan 模式为有效目标期间,composer 文本框的 placeholder 切换为 plan 任务提示——「describe your task to generate plan」——除非所属 surface 提供自己的 placeholder。
|
|
33
33
|
|
|
34
34
|
### 失败
|
|
35
35
|
|
|
@@ -43,7 +43,7 @@ kind: "package-reference"
|
|
|
43
43
|
<details>
|
|
44
44
|
<summary>实现细节——点击展开</summary>
|
|
45
45
|
|
|
46
|
-
徽章占据 conversation 声明的 `conversation.input.plan` 单实例座位;node 半部是空 apply(roster
|
|
46
|
+
徽章占据 conversation 声明的 `conversation.input.plan` 单实例座位;node 半部是空 apply(roster 行)。读取经 standard-kit 的 `useProjection` 走通用投影对:有效目标是 `pending ? !active : active`——折叠的宿主值而非客户端乐观态,因此到达的帧无论哪个方向都会纠正徽章。座位注入面携带一个动词 `exitPlanMode`,经 `ctx.remote.commands.execute` 执行 `/plan off`,并把准入失败映射为一行内联错误。placeholder 与提示文案位于 ui-conversation 的 `conversation` locale 命名空间,与已认领 `/plan` 命令的提示逐字共用。无障碍描述是「Plan mode on, press to turn off」。
|
|
47
47
|
|
|
48
48
|
</details>
|
|
49
49
|
|
|
@@ -52,7 +52,7 @@ kind: "package-reference"
|
|
|
52
52
|
<a id="further-exploration"></a>
|
|
53
53
|
## 进一步探索
|
|
54
54
|
|
|
55
|
-
当 plan
|
|
55
|
+
当 plan surface 不够用时阅读以下页面。它们从徽章进入 plan 模式领域与 composer 外壳。
|
|
56
56
|
|
|
57
57
|
- [dsh-plan-mode](../../plan/plan-mode/README.zh.md)——拥有 plan 模式、`/plan` 命令、投影与 policy 段。
|
|
58
58
|
- [ui-conversation](../ui-conversation/README.zh.md)——声明 composer 的 `conversation.input.plan` 座位与 placeholder locale 键。
|
|
@@ -78,8 +78,8 @@ kind: "package-reference"
|
|
|
78
78
|
这些限制界定了当前 plan 徽章。它们是当前包约束,不是 plan 模式对比或任务积压。
|
|
79
79
|
|
|
80
80
|
- **Plan 模式是引导而非执行沙箱**——需要强制只读规划的部署必须组合独立的沙箱与审批策略。
|
|
81
|
-
- **徽章属于默认 composer
|
|
82
|
-
-
|
|
81
|
+
- **徽章属于默认 composer**——待处理的涉及整个 composer 的交互(如 plan 评审)会临时取代 InputBar 及其徽章。
|
|
82
|
+
- **未激活时无 plan 控件**——入口使用共享 Command source;有能力但模式未激活的会话在工具行不显示 plan 入口。
|
|
83
83
|
|
|
84
84
|
<a id="dev-note"></a>
|
|
85
85
|
### 开发备注
|
|
@@ -91,4 +91,4 @@ kind: "package-reference"
|
|
|
91
91
|
|
|
92
92
|
</details>
|
|
93
93
|
|
|
94
|
-
**运行时不变式:** 不发布伴生入口。plan state 与 boundary
|
|
94
|
+
**运行时不变式:** 不发布伴生入口。plan state 与 boundary 的所有权由 dsh-plan-mode 审计;本包的 control 是一种 slot effect,其声明、注册与清理由本包执行。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-plan",
|
|
3
3
|
"description": "Plan-mode composer control: the conversation.input.plan seat over the plan projection and the /plan command channel",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/react": "~18.3.1",
|
|
44
44
|
"react": "^18.2.0",
|
|
45
|
-
"@deepseek-ai/dsh-api-remotes": "^0.1.
|
|
46
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.
|
|
47
|
-
"@deepseek-ai/dsh-client-test-runtime": "^0.1.
|
|
48
|
-
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.
|
|
49
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.
|
|
50
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.
|
|
51
|
-
"@deepseek-ai/dsh-
|
|
52
|
-
"@deepseek-ai/
|
|
53
|
-
"@deepseek-ai/dsh-
|
|
54
|
-
"@deepseek-ai/dsh-
|
|
55
|
-
"@deepseek-ai/
|
|
45
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.6-alpha.1",
|
|
46
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.6-alpha.1",
|
|
47
|
+
"@deepseek-ai/dsh-client-test-runtime": "^0.1.6-alpha.1",
|
|
48
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.6-alpha.1",
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.6-alpha.1",
|
|
50
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.6-alpha.1",
|
|
51
|
+
"@deepseek-ai/dsh-plan-mode": "^0.1.6-alpha.1",
|
|
52
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
53
|
+
"@deepseek-ai/dsh-session": "^0.1.6-alpha.1",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.6-alpha.1",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-session": "^0.1.6-alpha.1"
|
|
56
56
|
},
|
|
57
57
|
"files": [
|
|
58
58
|
"lib/index.js",
|