@deepseek-ai/dsh-client-ui-goal 0.1.5-rc.2 → 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 +2 -2
- package/README.md +1 -1
- package/README.zh.md +8 -8
- package/package.json +15 -15
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/client/ui-goal/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 4a2c0c18f41cd4965ee8170ec7a93843d7427769
|
|
6
|
+
README.zh.md: 1d3d6dd7aef4a2b37c273a7a43e09bed05d33f9d
|
package/README.md
CHANGED
|
@@ -88,4 +88,4 @@ None.
|
|
|
88
88
|
|
|
89
89
|
</details>
|
|
90
90
|
|
|
91
|
-
**Runtime invariant:** No companion is published.
|
|
91
|
+
**Runtime invariant:** No companion is published. There is a single GoalBar dock registration whose disposal is proven by the HMR-safety spec — durable state arrives on the goal projection, process-local activation arrives through the entry's private hook source, and that source subscribes only while the framework hook observes it.
|
package/README.zh.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Web GUI 的 goal
|
|
2
|
+
description: "Web GUI 的 goal 界面:显示当前目标并支持编辑、暂停、恢复或清除的 composer 上下文条带;供 goal 体验的用户与维护者阅读。"
|
|
3
3
|
kind: "package-reference"
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -9,7 +9,7 @@ kind: "package-reference"
|
|
|
9
9
|
|
|
10
10
|
## 概述
|
|
11
11
|
|
|
12
|
-
Web GUI 的 goal
|
|
12
|
+
Web GUI 的 goal 界面同时显示持久 goal 状态及当前的进程本地激活状态,供用户编辑、暂停、恢复或清除 goal;被拒绝的变更所产生的错误会内联显示。它把持久的 `/goal` 运行显示为 `Command input` 气泡,让用户或模型发出的命令在重新加载后仍然可见。goal 创建仍不归本包。除 `minimal` 外,随附的 Web preset 都会向 agent(智能体)提供 `/goal`。
|
|
13
13
|
|
|
14
14
|
## 目录
|
|
15
15
|
|
|
@@ -43,7 +43,7 @@ Web GUI 的 goal 表面同时显示持久 goal 状态及当前的进程本地激
|
|
|
43
43
|
<details>
|
|
44
44
|
<summary>实现细节——点击展开</summary>
|
|
45
45
|
|
|
46
|
-
持久 goal 经 `useProjection('goal')` 到达(由历史尾页播种、`session/projection`
|
|
46
|
+
持久 goal 经 `useProjection('goal')` 到达(由历史尾页播种、`session/projection` 帧更新)。注入面携带注册方私有的激活钩子源与四个变更动词。该源仅在框架钩子观察它时启动;启动后会读取 `ctx.remote.goals.get`、订阅 `goal/activation-changed`,并在 running 状态或连接重置时刷新。实时事件 epoch 会让在途读取失效,因此较旧的 HTTP 响应不能覆盖较新的 activation 变化;running 刷新会保留最后一次已知 activation,直到读取完成。条带不持有领域存储或跨插件缓存。每个变更在调用时从会话当前投影值读取 CAS ref,比较并交换(RPC 的 CAS)就是陈旧性护栏。由于 React 的 pending 渲染无法拦住同一帧内的点击,条带会同步为变更建立 single-flight 防护。指令输入投影是独立的 Conversation Definition,在通用命令结果 Node 之前构建 `command-input` Chat Node;它绝不创建 `user/message` 或模型轮次。
|
|
47
47
|
|
|
48
48
|
</details>
|
|
49
49
|
|
|
@@ -52,10 +52,10 @@ Web GUI 的 goal 表面同时显示持久 goal 状态及当前的进程本地激
|
|
|
52
52
|
<a id="further-exploration"></a>
|
|
53
53
|
## 进一步探索
|
|
54
54
|
|
|
55
|
-
当 goal
|
|
55
|
+
当 goal 界面不够用时阅读以下页面。它们从浏览器条带进入 goal 领域与它所填充的 slot。
|
|
56
56
|
|
|
57
|
-
- [dsh-goal](../../goal/goal/README.zh.md)
|
|
58
|
-
- [ui-conversation](../ui-conversation/README.zh.md)——声明 `conversation.input.dock`
|
|
57
|
+
- [dsh-goal](../../goal/goal/README.zh.md)——本界面读取并变更的 goal 领域、投影与 `/goal` 命令。
|
|
58
|
+
- [ui-conversation](../ui-conversation/README.zh.md)——声明 `conversation.input.dock` slot 并拥有 composer。
|
|
59
59
|
- [客户端包映射](../README.zh.md)——相邻的浏览器 UI 包。
|
|
60
60
|
|
|
61
61
|
-----
|
|
@@ -74,7 +74,7 @@ Web GUI 的 goal 表面同时显示持久 goal 状态及当前的进程本地激
|
|
|
74
74
|
<a id="known-limitations-and-deferred-work"></a>
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
这些限制界定了当前 goal
|
|
77
|
+
这些限制界定了当前 goal 界面。它们是当前包约束,不是 goal 领域对比或任务积压。
|
|
78
78
|
|
|
79
79
|
- **Host 状态与 preset 无关**——把活跃会话切换到 `minimal` 后,Host 拥有的 goal 仍会保留。`/goal` 与 goal 工具会消失,但该条带仍可编辑、暂停、恢复或清除 goal。
|
|
80
80
|
|
|
@@ -88,4 +88,4 @@ Web GUI 的 goal 表面同时显示持久 goal 状态及当前的进程本地激
|
|
|
88
88
|
|
|
89
89
|
</details>
|
|
90
90
|
|
|
91
|
-
**运行时不变式:** 不发布伴生入口。插件只注册一个 GoalBar dock
|
|
91
|
+
**运行时不变式:** 不发布伴生入口。插件只注册一个 GoalBar dock,其释放已由 HMR(热模块替换)安全性用例证明;持久状态来自 goal projection,进程本地 activation 来自入口私有钩子源,且该源只在框架钩子观察期间订阅。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-goal",
|
|
3
3
|
"description": "Session goal surface: GoalBar docked above the composer, read from the goal session projection",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -48,21 +48,21 @@
|
|
|
48
48
|
"@types/react": "~18.3.1",
|
|
49
49
|
"react": "^18.2.0",
|
|
50
50
|
"react-dom": "^18.2.0",
|
|
51
|
-
"@deepseek-ai/dsh-api-remotes": "^0.1.
|
|
52
|
-
"@deepseek-ai/dsh-api-session-controller": "^0.1.
|
|
53
|
-
"@deepseek-ai/dsh-client-
|
|
54
|
-
"@deepseek-ai/dsh-client-ui-chat": "^0.1.
|
|
55
|
-
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.
|
|
56
|
-
"@deepseek-ai/dsh-client-
|
|
57
|
-
"@deepseek-ai/dsh-client-
|
|
58
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.
|
|
59
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.
|
|
60
|
-
"@deepseek-ai/dsh-client-ui-session": "^0.1.
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/dsh-
|
|
51
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.6-alpha.2",
|
|
52
|
+
"@deepseek-ai/dsh-api-session-controller": "^0.1.6-alpha.2",
|
|
53
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.6-alpha.2",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-chat": "^0.1.6-alpha.2",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.6-alpha.2",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.6-alpha.2",
|
|
57
|
+
"@deepseek-ai/dsh-client-test-runtime": "^0.1.6-alpha.2",
|
|
58
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.6-alpha.2",
|
|
59
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.6-alpha.2",
|
|
60
|
+
"@deepseek-ai/dsh-client-ui-session": "^0.1.6-alpha.2",
|
|
61
|
+
"@deepseek-ai/dsh-goal": "^0.1.6-alpha.2",
|
|
62
|
+
"@deepseek-ai/dsh-session": "^0.1.6-alpha.2",
|
|
63
|
+
"@deepseek-ai/dsh-commands": "^0.1.6-alpha.2",
|
|
63
64
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/dsh-typert-protocol": "^0.1.5-rc.2"
|
|
65
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.6-alpha.2"
|
|
66
66
|
},
|
|
67
67
|
"files": [
|
|
68
68
|
"lib/index.js",
|